diff --git a/.buildkite/pull_requests.json b/.buildkite/pull_requests.json new file mode 100644 index 0000000000000..7f29f0aa11dc6 --- /dev/null +++ b/.buildkite/pull_requests.json @@ -0,0 +1,21 @@ +{ + "jobs": [ + { + "repoOwner": "elastic", + "repoName": "kibana", + "pipelineSlug": "kibana-pull-request", + + "enabled": true, + "allow_org_users": true, + "allowed_repo_permissions": ["admin", "write"], + "allowed_list": ["barlowm", "renovate[bot]"], + "set_commit_status": true, + "commit_status_context": "kibana-ci", + "build_on_commit": true, + "build_on_comment": true, + "trigger_comment_regex": "^(?:(?:buildkite\\W+)?(?:build|test)\\W+(?:this|it))", + "always_trigger_comment_regex": "^(?:(?:buildkite\\W+)?(?:build|test)\\W+(?:this|it))", + "labels": ["buildkite-ci"] + } + ] +} diff --git a/.buildkite/scripts/build_kibana_plugins.sh b/.buildkite/scripts/build_kibana_plugins.sh index 4891ef563dc04..1bd99a72933f4 100755 --- a/.buildkite/scripts/build_kibana_plugins.sh +++ b/.buildkite/scripts/build_kibana_plugins.sh @@ -8,8 +8,6 @@ node scripts/build_kibana_platform_plugins \ --scan-dir "$KIBANA_DIR/test/interpreter_functional/plugins" \ --scan-dir "$KIBANA_DIR/test/common/fixtures/plugins" \ --scan-dir "$KIBANA_DIR/examples" \ - --scan-dir "$KIBANA_DIR/test/plugin_functional/plugins" \ - --scan-dir "$KIBANA_DIR/test/common/fixtures/plugins" \ --scan-dir "$XPACK_DIR/test/plugin_functional/plugins" \ --scan-dir "$XPACK_DIR/test/functional_with_es_ssl/fixtures/plugins" \ --scan-dir "$XPACK_DIR/test/alerting_api_integration/plugins" \ diff --git a/.buildkite/scripts/lifecycle/post_command.sh b/.buildkite/scripts/lifecycle/post_command.sh index 0f98035f9f828..1f9a75c72b1cb 100755 --- a/.buildkite/scripts/lifecycle/post_command.sh +++ b/.buildkite/scripts/lifecycle/post_command.sh @@ -2,9 +2,12 @@ set -euo pipefail +node .buildkite/scripts/lifecycle/print_agent_links.js || true + IS_TEST_EXECUTION_STEP="$(buildkite-agent meta-data get "${BUILDKITE_JOB_ID}_is_test_execution_step" --default '')" if [[ "$IS_TEST_EXECUTION_STEP" == "true" ]]; then + echo "--- Upload Artifacts" buildkite-agent artifact upload 'target/junit/**/*' buildkite-agent artifact upload 'target/kibana-*' buildkite-agent artifact upload 'target/kibana-coverage/jest/**/*' @@ -22,6 +25,7 @@ if [[ "$IS_TEST_EXECUTION_STEP" == "true" ]]; then buildkite-agent artifact upload 'x-pack/test/functional/failure_debug/html/*.html' buildkite-agent artifact upload '.es/**/*.hprof' + echo "--- Run Failed Test Reporter" node scripts/report_failed_tests --build-url="${BUILDKITE_BUILD_URL}#${BUILDKITE_JOB_ID}" 'target/junit/**/*.xml' if [[ -d 'target/test_failures' ]]; then diff --git a/.buildkite/scripts/lifecycle/pre_command.sh b/.buildkite/scripts/lifecycle/pre_command.sh index d391bea1340a0..54ed8d575b5e0 100755 --- a/.buildkite/scripts/lifecycle/pre_command.sh +++ b/.buildkite/scripts/lifecycle/pre_command.sh @@ -4,12 +4,12 @@ set -euo pipefail source .buildkite/scripts/common/util.sh -node .buildkite/scripts/lifecycle/print_agent_links.js +node .buildkite/scripts/lifecycle/print_agent_links.js || true echo '--- Job Environment Setup' cd '.buildkite' -yarn install +retry 5 15 yarn install cd - BUILDKITE_TOKEN="$(retry 5 5 vault read -field=buildkite_token_all_jobs secret/kibana-issues/dev/buildkite-ci)" diff --git a/.buildkite/scripts/lifecycle/print_agent_links.js b/.buildkite/scripts/lifecycle/print_agent_links.js index e212b17e4ad6a..59613946c1db4 100644 --- a/.buildkite/scripts/lifecycle/print_agent_links.js +++ b/.buildkite/scripts/lifecycle/print_agent_links.js @@ -1,21 +1,38 @@ -const NOW = new Date(); -const TWO_HOURS = new Date(NOW.getTime() + 2 * 60 * 60 * 1000); +const { BuildkiteClient } = require('kibana-buildkite-library'); -const METRICS_URL = [ - `https://kibana-ops-buildkite-monitoring.kb.us-central1.gcp.cloud.es.io:9243`, - `/app/metrics/link-to/host-detail/${process.env.BUILDKITE_AGENT_NAME}`, - `?to=${TWO_HOURS.getTime()}`, - `&from=${NOW.getTime()}`, -].join(''); +(async () => { + try { + const client = new BuildkiteClient(); + const build = await client.getCurrentBuild(); -const LOGS_URL = [ - `https://kibana-ops-buildkite-monitoring.kb.us-central1.gcp.cloud.es.io:9243`, - `/app/logs/link-to/host-logs/${process.env.BUILDKITE_AGENT_NAME}`, - `?time=${NOW.getTime()}`, -].join(''); + const job = build.jobs.find((j) => j.id === process.env.BUILDKITE_JOB_ID); + const startTime = job ? new Date(job.started_at) : new Date().getTime() - 60 * 60 * 1000; + const twoHours = new Date(startTime.getTime() + 2 * 60 * 60 * 1000); -console.log('--- Agent Debug Links'); -console.log('Agent Metrics:'); -console.log('\u001b]1339;' + `url='${METRICS_URL}'\u0007`); -console.log('Agent Logs:'); -console.log('\u001b]1339;' + `url='${LOGS_URL}'\u0007`); + const METRICS_URL = [ + `https://kibana-ops-buildkite-monitoring.kb.us-central1.gcp.cloud.es.io:9243`, + `/app/metrics/link-to/host-detail/${process.env.BUILDKITE_AGENT_NAME}`, + `?to=${twoHours.getTime()}`, + `&from=${startTime.getTime()}`, + ].join(''); + + const LOGS_URL = [ + `https://kibana-ops-buildkite-monitoring.kb.us-central1.gcp.cloud.es.io:9243`, + `/app/logs/link-to/host-logs/${process.env.BUILDKITE_AGENT_NAME}`, + `?time=${startTime.getTime()}`, + ].join(''); + + console.log('--- Agent Debug Links'); + console.log('Agent Metrics:'); + console.log('\u001b]1339;' + `url='${METRICS_URL}'\u0007`); + console.log('Agent Logs:'); + console.log('\u001b]1339;' + `url='${LOGS_URL}'\u0007`); + } catch (ex) { + // Probably don't need to fail the build for this failure, just log it + console.error('Buildkite API Error', ex.message); + if (ex.response) { + console.error('HTTP Error Response Status', ex.response.status); + console.error('HTTP Error Response Body', ex.response.data); + } + } +})(); diff --git a/.buildkite/scripts/steps/storybooks/build_and_upload.js b/.buildkite/scripts/steps/storybooks/build_and_upload.js index 0fdf24d87ffad..89958fe08d6cc 100644 --- a/.buildkite/scripts/steps/storybooks/build_and_upload.js +++ b/.buildkite/scripts/steps/storybooks/build_and_upload.js @@ -8,6 +8,7 @@ const STORYBOOKS = [ 'canvas', 'codeeditor', 'ci_composite', + 'custom_integrations', 'url_template_editor', 'dashboard', 'dashboard_enhanced', diff --git a/.ci/.storybook/main.js b/.ci/.storybook/main.js index e399ec087e168..37f3391337308 100644 --- a/.ci/.storybook/main.js +++ b/.ci/.storybook/main.js @@ -11,6 +11,12 @@ const aliases = require('../../src/dev/storybook/aliases.ts').storybookAliases; config.refs = {}; +// Required due to https://github.com/storybookjs/storybook/issues/13834 +config.babel = async (options) => ({ + ...options, + plugins: ['@babel/plugin-transform-typescript', ...options.plugins], +}); + for (const alias of Object.keys(aliases).filter((a) => a !== 'ci_composite')) { // snake_case -> Title Case const title = alias diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 149f5cd74d8c0..244689025173f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -243,7 +243,6 @@ /packages/kbn-std/ @elastic/kibana-core /packages/kbn-config/ @elastic/kibana-core /packages/kbn-logging/ @elastic/kibana-core -/packages/kbn-legacy-logging/ @elastic/kibana-core /packages/kbn-crypto/ @elastic/kibana-core /packages/kbn-http-tools/ @elastic/kibana-core /src/plugins/saved_objects_management/ @elastic/kibana-core diff --git a/.i18nrc.json b/.i18nrc.json index 45016edc38dcd..46d2f8c6a23bf 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -5,6 +5,7 @@ "kbnConfig": "packages/kbn-config/src", "console": "src/plugins/console", "core": "src/core", + "customIntegrations": "src/plugins/custom_integrations", "discover": "src/plugins/discover", "bfetch": "src/plugins/bfetch", "dashboard": "src/plugins/dashboard", @@ -18,6 +19,7 @@ "home": "src/plugins/home", "flot": "packages/kbn-ui-shared-deps-src/src/flot_charts", "charts": "src/plugins/charts", + "customIntegrations": "src/plugins/custom_integrations", "esUi": "src/plugins/es_ui_shared", "devTools": "src/plugins/dev_tools", "expressions": "src/plugins/expressions", diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index eb93cb0c5944c..4d74f2838d3f9 100644 --- a/api_docs/actions.mdx +++ b/api_docs/actions.mdx @@ -1,7 +1,7 @@ --- id: kibActionsPluginApi -slug: /kibana-dev-docs/actionsPluginApi -title: actions +slug: /kibana-dev-docs/api/actions +title: "actions" image: https://source.unsplash.com/400x175/?github summary: API docs for the actions plugin date: 2020-11-16 diff --git a/api_docs/advanced_settings.mdx b/api_docs/advanced_settings.mdx index 99a905767621a..2dd45d7d3c5eb 100644 --- a/api_docs/advanced_settings.mdx +++ b/api_docs/advanced_settings.mdx @@ -1,7 +1,7 @@ --- id: kibAdvancedSettingsPluginApi -slug: /kibana-dev-docs/advancedSettingsPluginApi -title: advancedSettings +slug: /kibana-dev-docs/api/advancedSettings +title: "advancedSettings" image: https://source.unsplash.com/400x175/?github summary: API docs for the advancedSettings plugin date: 2020-11-16 diff --git a/api_docs/alerting.json b/api_docs/alerting.json index a851387510423..caf8894c3c8a5 100644 --- a/api_docs/alerting.json +++ b/api_docs/alerting.json @@ -25,7 +25,13 @@ "text": "Alert" }, ", \"enabled\" | \"id\" | \"name\" | \"tags\" | \"params\" | \"actions\" | \"throttle\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">) => string | ", - "JsonObject" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + } ], "path": "x-pack/plugins/alerting/public/alert_navigation_registry/types.ts", "deprecated": false, @@ -510,9 +516,21 @@ ", filterOpts: ", "AlertingAuthorizationFilterOpts", ") => Promise<{ filter?: ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, " | ", - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | undefined; ensureRuleTypeIsAuthorized: (ruleTypeId: string, consumer: string, auth: string) => void; logSuccessfulAuthorization: () => void; }>" ], "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", @@ -590,9 +608,21 @@ "text": "WriteOperations" }, ") => Promise<{ filter?: ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, " | ", - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | undefined; ensureRuleTypeIsAuthorized: (ruleTypeId: string, consumer: string, auth: string) => void; logSuccessfulAuthorization: () => void; }>" ], "path": "x-pack/plugins/alerting/server/authorization/alerting_authorization.ts", @@ -1537,6 +1567,19 @@ "description": [], "path": "x-pack/plugins/alerting/server/types.ts", "deprecated": false + }, + { + "parentPluginId": "alerting", + "id": "def-server.AlertType.ruleTaskTimeout", + "type": "string", + "tags": [], + "label": "ruleTaskTimeout", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "x-pack/plugins/alerting/server/types.ts", + "deprecated": false } ], "initialIsOpen": false @@ -3390,7 +3433,13 @@ "label": "state", "description": [], "signature": [ - "JsonObject" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + } ], "path": "x-pack/plugins/alerting/common/alert_navigation.ts", "deprecated": false diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index 845c2c53ff7fa..32a9195f2fd1d 100644 --- a/api_docs/alerting.mdx +++ b/api_docs/alerting.mdx @@ -1,7 +1,7 @@ --- id: kibAlertingPluginApi -slug: /kibana-dev-docs/alertingPluginApi -title: alerting +slug: /kibana-dev-docs/api/alerting +title: "alerting" image: https://source.unsplash.com/400x175/?github summary: API docs for the alerting plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting- | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 248 | 0 | 240 | 17 | +| 249 | 0 | 241 | 17 | ## Client diff --git a/api_docs/apm.json b/api_docs/apm.json index 616a79e6b7b9d..c2300232f9b8f 100644 --- a/api_docs/apm.json +++ b/api_docs/apm.json @@ -186,7 +186,7 @@ "APMPluginSetupDependencies", ", \"data\" | \"cloud\" | \"security\" | \"home\" | \"features\" | \"fleet\" | \"ml\" | \"actions\" | \"usageCollection\" | \"apmOss\" | \"licensing\" | \"observability\" | \"ruleRegistry\" | \"spaces\" | \"taskManager\" | \"alerting\">) => { config$: ", "Observable", - "<{ 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.maxServiceEnvironments': number; 'xpack.apm.maxServiceSelection': number; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", + "<{ 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", "SearchAggregatedTransactionSetting", "; 'xpack.apm.metricsInterval': number; 'xpack.apm.agent.migrations.enabled': boolean; }>; getApmIndices: () => Promise<", "ApmIndicesConfig", @@ -206,7 +206,11 @@ "InferSearchResponseOf", ">, ESSearchRequestOf, {}>>; }>; }" + ">, ESSearchRequestOf, {}>>; termsEnum(operationName: string, params: ", + "APMEventESTermsEnumRequest", + "): Promise<", + "TermsEnumResponse", + ">; }>; }" ], "path": "x-pack/plugins/apm/server/plugin.ts", "deprecated": false, @@ -327,7 +331,7 @@ "signature": [ "(apmOssConfig: Readonly<{} & { enabled: boolean; transactionIndices: string; spanIndices: string; errorIndices: string; metricsIndices: string; sourcemapIndices: string; onboardingIndices: string; indexPattern: string; fleetMode: boolean; }>, apmConfig: Readonly<{} & { enabled: boolean; serviceMapEnabled: boolean; serviceMapFingerprintBucketSize: number; serviceMapTraceIdBucketSize: number; serviceMapFingerprintGlobalBucketSize: number; serviceMapTraceIdGlobalBucketSize: number; serviceMapMaxTracesPerRequest: number; autocreateApmIndexPattern: boolean; ui: Readonly<{} & { enabled: boolean; transactionGroupBucketSize: number; maxTraceItems: number; }>; searchAggregatedTransactions: ", "SearchAggregatedTransactionSetting", - "; telemetryCollectionEnabled: boolean; metricsInterval: number; maxServiceEnvironments: number; maxServiceSelection: number; profilingEnabled: boolean; agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; }>) => { 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.maxServiceEnvironments': number; 'xpack.apm.maxServiceSelection': number; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", + "; telemetryCollectionEnabled: boolean; metricsInterval: number; profilingEnabled: boolean; agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; }>) => { 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", "SearchAggregatedTransactionSetting", "; 'xpack.apm.metricsInterval': number; 'xpack.apm.agent.migrations.enabled': boolean; }" ], @@ -358,7 +362,7 @@ "signature": [ "Readonly<{} & { enabled: boolean; serviceMapEnabled: boolean; serviceMapFingerprintBucketSize: number; serviceMapTraceIdBucketSize: number; serviceMapFingerprintGlobalBucketSize: number; serviceMapTraceIdGlobalBucketSize: number; serviceMapMaxTracesPerRequest: number; autocreateApmIndexPattern: boolean; ui: Readonly<{} & { enabled: boolean; transactionGroupBucketSize: number; maxTraceItems: number; }>; searchAggregatedTransactions: ", "SearchAggregatedTransactionSetting", - "; telemetryCollectionEnabled: boolean; metricsInterval: number; maxServiceEnvironments: number; maxServiceSelection: number; profilingEnabled: boolean; agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; }>" + "; telemetryCollectionEnabled: boolean; metricsInterval: number; profilingEnabled: boolean; agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; }>" ], "path": "x-pack/plugins/apm/server/index.ts", "deprecated": false, @@ -436,7 +440,7 @@ "label": "config", "description": [], "signature": [ - "{ 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.maxServiceEnvironments': number; 'xpack.apm.maxServiceSelection': number; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", + "{ 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", "SearchAggregatedTransactionSetting", "; 'xpack.apm.metricsInterval': number; 'xpack.apm.agent.migrations.enabled': boolean; }" ], @@ -451,7 +455,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/apm/server/routes/typings.ts", "deprecated": false @@ -787,7 +797,7 @@ "label": "APIEndpoint", "description": [], "signature": [ - "\"POST /api/apm/index_pattern/static\" | \"GET /api/apm/index_pattern/dynamic\" | \"GET /api/apm/environments\" | \"GET /api/apm/services/{serviceName}/errors\" | \"GET /api/apm/services/{serviceName}/errors/{groupId}\" | \"GET /api/apm/services/{serviceName}/errors/distribution\" | \"GET /api/apm/services/{serviceName}/metrics/charts\" | \"GET /api/apm/observability_overview\" | \"GET /api/apm/observability_overview/has_data\" | \"GET /api/apm/rum/client-metrics\" | \"GET /api/apm/rum-client/page-load-distribution\" | \"GET /api/apm/rum-client/page-load-distribution/breakdown\" | \"GET /api/apm/rum-client/page-view-trends\" | \"GET /api/apm/rum-client/services\" | \"GET /api/apm/rum-client/visitor-breakdown\" | \"GET /api/apm/rum-client/web-core-vitals\" | \"GET /api/apm/rum-client/long-task-metrics\" | \"GET /api/apm/rum-client/url-search\" | \"GET /api/apm/rum-client/js-errors\" | \"GET /api/apm/observability_overview/has_rum_data\" | \"GET /api/apm/service-map\" | \"GET /api/apm/service-map/service/{serviceName}\" | \"GET /api/apm/service-map/backend/{backendName}\" | \"GET /api/apm/services/{serviceName}/serviceNodes\" | \"GET /api/apm/services\" | \"GET /api/apm/services/detailed_statistics\" | \"GET /api/apm/services/{serviceName}/metadata/details\" | \"GET /api/apm/services/{serviceName}/metadata/icons\" | \"GET /api/apm/services/{serviceName}/agent\" | \"GET /api/apm/services/{serviceName}/transaction_types\" | \"GET /api/apm/services/{serviceName}/node/{serviceNodeName}/metadata\" | \"GET /api/apm/services/{serviceName}/annotation/search\" | \"POST /api/apm/services/{serviceName}/annotation\" | \"GET /api/apm/services/{serviceName}/error_groups/main_statistics\" | \"GET /api/apm/services/{serviceName}/error_groups/detailed_statistics\" | \"GET /api/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}\" | \"GET /api/apm/services/{serviceName}/throughput\" | \"GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics\" | \"GET /api/apm/services/{serviceName}/service_overview_instances/detailed_statistics\" | \"GET /api/apm/services/{serviceName}/dependencies\" | \"GET /api/apm/services/{serviceName}/dependencies/breakdown\" | \"GET /api/apm/services/{serviceName}/profiling/timeline\" | \"GET /api/apm/services/{serviceName}/profiling/statistics\" | \"GET /api/apm/services/{serviceName}/alerts\" | \"GET /api/apm/services/{serviceName}/infrastructure\" | \"GET /api/apm/traces/{traceId}\" | \"GET /api/apm/traces\" | \"GET /api/apm/traces/{traceId}/root_transaction\" | \"GET /api/apm/transactions/{transactionId}\" | \"GET /api/apm/services/{serviceName}/transactions/groups/main_statistics\" | \"GET /api/apm/services/{serviceName}/transactions/groups/detailed_statistics\" | \"GET /api/apm/services/{serviceName}/transactions/charts/latency\" | \"GET /api/apm/services/{serviceName}/transactions/traces/samples\" | \"GET /api/apm/services/{serviceName}/transaction/charts/breakdown\" | \"GET /api/apm/services/{serviceName}/transactions/charts/error_rate\" | \"GET /api/apm/alerts/chart_preview/transaction_error_rate\" | \"GET /api/apm/alerts/chart_preview/transaction_duration\" | \"GET /api/apm/alerts/chart_preview/transaction_error_count\" | \"GET /api/apm/settings/agent-configuration\" | \"GET /api/apm/settings/agent-configuration/view\" | \"DELETE /api/apm/settings/agent-configuration\" | \"PUT /api/apm/settings/agent-configuration\" | \"POST /api/apm/settings/agent-configuration/search\" | \"GET /api/apm/settings/agent-configuration/services\" | \"GET /api/apm/settings/agent-configuration/environments\" | \"GET /api/apm/settings/agent-configuration/agent_name\" | \"GET /api/apm/settings/anomaly-detection/jobs\" | \"POST /api/apm/settings/anomaly-detection/jobs\" | \"GET /api/apm/settings/anomaly-detection/environments\" | \"GET /api/apm/settings/apm-index-settings\" | \"GET /api/apm/settings/apm-indices\" | \"POST /api/apm/settings/apm-indices/save\" | \"GET /api/apm/settings/custom_links/transaction\" | \"GET /api/apm/settings/custom_links\" | \"POST /api/apm/settings/custom_links\" | \"PUT /api/apm/settings/custom_links/{id}\" | \"DELETE /api/apm/settings/custom_links/{id}\" | \"GET /api/apm/sourcemaps\" | \"POST /api/apm/sourcemaps\" | \"DELETE /api/apm/sourcemaps/{id}\" | \"GET /api/apm/fleet/has_data\" | \"GET /api/apm/fleet/agents\" | \"POST /api/apm/fleet/apm_server_schema\" | \"GET /api/apm/fleet/apm_server_schema/unsupported\" | \"GET /api/apm/fleet/migration_check\" | \"POST /api/apm/fleet/cloud_apm_package_policy\" | \"GET /api/apm/backends/top_backends\" | \"GET /api/apm/backends/{backendName}/upstream_services\" | \"GET /api/apm/backends/{backendName}/metadata\" | \"GET /api/apm/backends/{backendName}/charts/latency\" | \"GET /api/apm/backends/{backendName}/charts/throughput\" | \"GET /api/apm/backends/{backendName}/charts/error_rate\" | \"GET /api/apm/fallback_to_transactions\" | \"GET /api/apm/has_data\"" + "\"POST /api/apm/index_pattern/static\" | \"GET /api/apm/index_pattern/dynamic\" | \"GET /api/apm/environments\" | \"GET /api/apm/services/{serviceName}/errors\" | \"GET /api/apm/services/{serviceName}/errors/{groupId}\" | \"GET /api/apm/services/{serviceName}/errors/distribution\" | \"GET /api/apm/services/{serviceName}/metrics/charts\" | \"GET /api/apm/observability_overview\" | \"GET /api/apm/observability_overview/has_data\" | \"GET /api/apm/rum/client-metrics\" | \"GET /api/apm/rum-client/page-load-distribution\" | \"GET /api/apm/rum-client/page-load-distribution/breakdown\" | \"GET /api/apm/rum-client/page-view-trends\" | \"GET /api/apm/rum-client/services\" | \"GET /api/apm/rum-client/visitor-breakdown\" | \"GET /api/apm/rum-client/web-core-vitals\" | \"GET /api/apm/rum-client/long-task-metrics\" | \"GET /api/apm/rum-client/url-search\" | \"GET /api/apm/rum-client/js-errors\" | \"GET /api/apm/observability_overview/has_rum_data\" | \"GET /api/apm/service-map\" | \"GET /api/apm/service-map/service/{serviceName}\" | \"GET /api/apm/service-map/backend/{backendName}\" | \"GET /api/apm/services/{serviceName}/serviceNodes\" | \"GET /api/apm/services\" | \"GET /api/apm/services/detailed_statistics\" | \"GET /api/apm/services/{serviceName}/metadata/details\" | \"GET /api/apm/services/{serviceName}/metadata/icons\" | \"GET /api/apm/services/{serviceName}/agent\" | \"GET /api/apm/services/{serviceName}/transaction_types\" | \"GET /api/apm/services/{serviceName}/node/{serviceNodeName}/metadata\" | \"GET /api/apm/services/{serviceName}/annotation/search\" | \"POST /api/apm/services/{serviceName}/annotation\" | \"GET /api/apm/services/{serviceName}/error_groups/main_statistics\" | \"GET /api/apm/services/{serviceName}/error_groups/detailed_statistics\" | \"GET /api/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}\" | \"GET /api/apm/services/{serviceName}/throughput\" | \"GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics\" | \"GET /api/apm/services/{serviceName}/service_overview_instances/detailed_statistics\" | \"GET /api/apm/services/{serviceName}/dependencies\" | \"GET /api/apm/services/{serviceName}/dependencies/breakdown\" | \"GET /api/apm/services/{serviceName}/profiling/timeline\" | \"GET /api/apm/services/{serviceName}/profiling/statistics\" | \"GET /api/apm/services/{serviceName}/alerts\" | \"GET /api/apm/services/{serviceName}/infrastructure\" | \"GET /internal/apm/suggestions\" | \"GET /api/apm/traces/{traceId}\" | \"GET /api/apm/traces\" | \"GET /api/apm/traces/{traceId}/root_transaction\" | \"GET /api/apm/transactions/{transactionId}\" | \"GET /api/apm/services/{serviceName}/transactions/groups/main_statistics\" | \"GET /api/apm/services/{serviceName}/transactions/groups/detailed_statistics\" | \"GET /api/apm/services/{serviceName}/transactions/charts/latency\" | \"GET /api/apm/services/{serviceName}/transactions/traces/samples\" | \"GET /api/apm/services/{serviceName}/transaction/charts/breakdown\" | \"GET /api/apm/services/{serviceName}/transactions/charts/error_rate\" | \"GET /api/apm/alerts/chart_preview/transaction_error_rate\" | \"GET /api/apm/alerts/chart_preview/transaction_duration\" | \"GET /api/apm/alerts/chart_preview/transaction_error_count\" | \"GET /api/apm/settings/agent-configuration\" | \"GET /api/apm/settings/agent-configuration/view\" | \"DELETE /api/apm/settings/agent-configuration\" | \"PUT /api/apm/settings/agent-configuration\" | \"POST /api/apm/settings/agent-configuration/search\" | \"GET /api/apm/settings/agent-configuration/services\" | \"GET /api/apm/settings/agent-configuration/environments\" | \"GET /api/apm/settings/agent-configuration/agent_name\" | \"GET /api/apm/settings/anomaly-detection/jobs\" | \"POST /api/apm/settings/anomaly-detection/jobs\" | \"GET /api/apm/settings/anomaly-detection/environments\" | \"GET /api/apm/settings/apm-index-settings\" | \"GET /api/apm/settings/apm-indices\" | \"POST /api/apm/settings/apm-indices/save\" | \"GET /api/apm/settings/custom_links/transaction\" | \"GET /api/apm/settings/custom_links\" | \"POST /api/apm/settings/custom_links\" | \"PUT /api/apm/settings/custom_links/{id}\" | \"DELETE /api/apm/settings/custom_links/{id}\" | \"GET /api/apm/sourcemaps\" | \"POST /api/apm/sourcemaps\" | \"DELETE /api/apm/sourcemaps/{id}\" | \"GET /api/apm/fleet/has_data\" | \"GET /api/apm/fleet/agents\" | \"POST /api/apm/fleet/apm_server_schema\" | \"GET /api/apm/fleet/apm_server_schema/unsupported\" | \"GET /api/apm/fleet/migration_check\" | \"POST /api/apm/fleet/cloud_apm_package_policy\" | \"GET /api/apm/backends/top_backends\" | \"GET /api/apm/backends/{backendName}/upstream_services\" | \"GET /api/apm/backends/{backendName}/metadata\" | \"GET /api/apm/backends/{backendName}/charts/latency\" | \"GET /api/apm/backends/{backendName}/charts/throughput\" | \"GET /api/apm/backends/{backendName}/charts/error_rate\" | \"GET /api/apm/fallback_to_transactions\" | \"GET /api/apm/has_data\" | \"GET /api/apm/event_metadata/{processorEvent}/{id}\"" ], "path": "x-pack/plugins/apm/server/routes/get_global_apm_server_route_repository.ts", "deprecated": false, @@ -815,7 +825,7 @@ "label": "APMConfig", "description": [], "signature": [ - "{ 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.maxServiceEnvironments': number; 'xpack.apm.maxServiceSelection': number; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", + "{ 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", "SearchAggregatedTransactionSetting", "; 'xpack.apm.metricsInterval': number; 'xpack.apm.agent.migrations.enabled': boolean; }" ], @@ -831,7 +841,13 @@ "label": "APMServerRouteRepository", "description": [], "signature": [ - "ServerRouteRepository", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, "<", { "pluginId": "apm", @@ -843,7 +859,13 @@ ", ", "APMRouteCreateOptions", ", { \"POST /api/apm/index_pattern/static\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/index_pattern/static\", undefined, ", { "pluginId": "apm", @@ -855,7 +877,13 @@ ", { created: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/index_pattern/dynamic\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/index_pattern/dynamic\", undefined, ", { "pluginId": "apm", @@ -869,7 +897,13 @@ " | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/environments\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/environments\", ", "TypeC", "<{ query: ", @@ -895,7 +929,13 @@ ", { environments: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/errors\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/errors\", ", "TypeC", "<{ path: ", @@ -949,7 +989,13 @@ ", { errorGroups: { message: string; occurrenceCount: number; culprit: string | undefined; groupId: string; latestOccurrenceAt: string; handled: boolean | undefined; type: string | undefined; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/errors/{groupId}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/errors/{groupId}\", ", "TypeC", "<{ path: ", @@ -999,7 +1045,13 @@ "; occurrencesCount: number; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/errors/distribution\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/errors/distribution\", ", "TypeC", "<{ path: ", @@ -1047,7 +1099,13 @@ ", { noHits: boolean; buckets: { key: number; count: number; }[]; bucketSize: number; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/metrics/charts\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/metrics/charts\", ", "TypeC", "<{ path: ", @@ -1101,7 +1159,13 @@ ", ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/observability_overview\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/observability_overview\", ", "TypeC", "<{ query: ", @@ -1127,7 +1191,13 @@ ", { serviceCount: number; transactionPerMinute: { value: undefined; timeseries: never[]; } | { value: number; timeseries: { x: number; y: number | null; }[]; }; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/observability_overview/has_data\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/observability_overview/has_data\", undefined, ", { "pluginId": "apm", @@ -1141,7 +1211,13 @@ "; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum/client-metrics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum/client-metrics\", ", "TypeC", "<{ query: ", @@ -1173,7 +1249,13 @@ ", { pageViews: { value: number; }; totalPageLoadDuration: { value: number; }; backEnd: { value: number; }; frontEnd: { value: number; }; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum-client/page-load-distribution\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum-client/page-load-distribution\", ", "TypeC", "<{ query: ", @@ -1213,7 +1295,13 @@ ", { pageLoadDistribution: { pageLoadDistribution: { x: number; y: number; }[]; percentiles: Record | undefined; minDuration: number; maxDuration: number; } | null; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum-client/page-load-distribution/breakdown\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum-client/page-load-distribution/breakdown\", ", "TypeC", "<{ query: ", @@ -1257,7 +1345,13 @@ ", { pageLoadDistBreakdown: { name: string; data: { x: number; y: number; }[]; }[] | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum-client/page-view-trends\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum-client/page-view-trends\", ", "TypeC", "<{ query: ", @@ -1295,7 +1389,13 @@ ", { topItems: string[]; items: Record[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum-client/services\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum-client/services\", ", "TypeC", "<{ query: ", @@ -1321,7 +1421,13 @@ ", { rumServices: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum-client/visitor-breakdown\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum-client/visitor-breakdown\", ", "TypeC", "<{ query: ", @@ -1353,7 +1459,13 @@ ", { os: { count: number; name: string; }[]; browsers: { count: number; name: string; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum-client/web-core-vitals\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum-client/web-core-vitals\", ", "TypeC", "<{ query: ", @@ -1385,7 +1497,13 @@ ", { coreVitalPages: number; cls: number | null; fid: number | null | undefined; lcp: number | null | undefined; tbt: number; fcp: number | null | undefined; lcpRanks: number[]; fidRanks: number[]; clsRanks: number[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum-client/long-task-metrics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum-client/long-task-metrics\", ", "TypeC", "<{ query: ", @@ -1417,7 +1535,13 @@ ", { noOfLongTasks: number; sumOfLongTasks: number; longestLongTask: number; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum-client/url-search\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum-client/url-search\", ", "TypeC", "<{ query: ", @@ -1449,7 +1573,13 @@ ", { total: number; items: { url: string; count: number; pld: number; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/rum-client/js-errors\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/rum-client/js-errors\", ", "TypeC", "<{ query: ", @@ -1485,7 +1615,13 @@ ", { totalErrorPages: number; totalErrors: number; totalErrorGroups: number; items: { count: number; errorGroupId: React.ReactText; errorMessage: string; }[] | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/observability_overview/has_rum_data\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/observability_overview/has_rum_data\", ", "PartialC", "<{ query: ", @@ -1507,7 +1643,13 @@ ", { indices: string; hasData: boolean; serviceName: string | number | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/service-map\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/service-map\", ", "TypeC", "<{ query: ", @@ -1551,7 +1693,13 @@ " | undefined; label: string | undefined; id?: string | undefined; parent?: string | undefined; position?: cytoscape.Position | undefined; } | { 'span.destination.service.resource': string; 'span.type': string; 'span.subtype': string; label: string | undefined; id?: string | undefined; parent?: string | undefined; position?: cytoscape.Position | undefined; } | { id: string; source: string | undefined; target: string | undefined; label: string | undefined; bidirectional?: boolean | undefined; isInverseEdge?: boolean | undefined; } | undefined)[]; }; } | { data: { id: string; source: string; target: string; }; })[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/service-map/service/{serviceName}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/service-map/service/{serviceName}\", ", "TypeC", "<{ path: ", @@ -1591,7 +1739,13 @@ ", { avgMemoryUsage: number | null; avgCpuUsage: number | null; transactionStats: { avgTransactionDuration: number | null; avgRequestsPerMinute: number | null; }; avgErrorRate: number | null; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/service-map/backend/{backendName}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/service-map/backend/{backendName}\", ", "TypeC", "<{ path: ", @@ -1631,7 +1785,13 @@ ", { avgErrorRate: null; transactionStats: { avgRequestsPerMinute: null; avgTransactionDuration: null; }; } | { avgErrorRate: number; transactionStats: { avgRequestsPerMinute: number; avgTransactionDuration: number; }; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/serviceNodes\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/serviceNodes\", ", "TypeC", "<{ path: ", @@ -1675,7 +1835,13 @@ ", { serviceNodes: { name: string; cpu: number | null; heapMemory: number | null; hostName: string | null | undefined; nonHeapMemory: number | null; threadCount: number | null; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services\", ", "TypeC", "<{ query: ", @@ -1727,7 +1893,13 @@ "; }>; hasLegacyData: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/detailed_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/detailed_statistics\", ", "TypeC", "<{ query: ", @@ -1775,7 +1947,13 @@ ", { currentPeriod: _.Dictionary<{ serviceName: string; latency: { x: number; y: number | null; }[]; transactionErrorRate: { x: number; y: number; }[]; throughput: { x: number; y: number; }[]; }>; previousPeriod: _.Dictionary<{ serviceName: string; latency: { x: number; y: number | null; }[]; transactionErrorRate: { x: number; y: number; }[]; throughput: { x: number; y: number; }[]; }>; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/metadata/details\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/metadata/details\", ", "TypeC", "<{ path: ", @@ -1801,7 +1979,13 @@ ", ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/metadata/icons\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/metadata/icons\", ", "TypeC", "<{ path: ", @@ -1827,7 +2011,13 @@ ", ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/agent\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/agent\", ", "TypeC", "<{ path: ", @@ -1851,7 +2041,13 @@ ", { agentName?: undefined; runtimeName?: undefined; } | { agentName: string | undefined; runtimeName: string | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/transaction_types\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/transaction_types\", ", "TypeC", "<{ path: ", @@ -1875,7 +2071,13 @@ ", { transactionTypes: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/node/{serviceNodeName}/metadata\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/node/{serviceNodeName}/metadata\", ", "TypeC", "<{ path: ", @@ -1907,7 +2109,13 @@ ", { host: React.ReactText; containerId: React.ReactText; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/annotation/search\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/annotation/search\", ", "TypeC", "<{ path: ", @@ -1949,7 +2157,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/services/{serviceName}/annotation\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/services/{serviceName}/annotation\", ", "TypeC", "<{ path: ", @@ -1993,7 +2207,13 @@ "; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/error_groups/main_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/error_groups/main_statistics\", ", "TypeC", "<{ path: ", @@ -2041,7 +2261,13 @@ ", { is_aggregation_accurate: boolean; error_groups: { group_id: string; name: string; lastSeen: number; occurrences: number; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/error_groups/detailed_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/error_groups/detailed_statistics\", ", "TypeC", "<{ path: ", @@ -2101,7 +2327,13 @@ "[]; }>; previousPeriod: _.Dictionary<{ timeseries: { x: number; y: number | null | undefined; }[]; groupId: string; }>; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/service_overview_instances/details/{serviceNodeName}\", ", "TypeC", "<{ path: ", @@ -2149,7 +2381,13 @@ " | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/throughput\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/throughput\", ", "TypeC", "<{ path: ", @@ -2211,7 +2449,13 @@ "; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics\", ", "TypeC", "<{ path: ", @@ -2279,7 +2523,13 @@ ", { currentPeriod: { serviceNodeName: string; errorRate?: number | undefined; latency?: number | undefined; throughput?: number | undefined; cpuUsage?: number | null | undefined; memoryUsage?: number | null | undefined; }[]; previousPeriod: { serviceNodeName: string; errorRate?: number | undefined; latency?: number | undefined; throughput?: number | undefined; cpuUsage?: number | null | undefined; memoryUsage?: number | null | undefined; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/service_overview_instances/detailed_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/service_overview_instances/detailed_statistics\", ", "TypeC", "<{ path: ", @@ -2361,7 +2611,13 @@ "[] | undefined; }>; previousPeriod: _.Dictionary<{ cpuUsage: { x: number; y: number | null | undefined; }[]; errorRate: { x: number; y: number | null | undefined; }[]; latency: { x: number; y: number | null | undefined; }[]; memoryUsage: { x: number; y: number | null | undefined; }[]; throughput: { x: number; y: number | null | undefined; }[]; serviceNodeName: string; }>; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/dependencies\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/dependencies\", ", "TypeC", "<{ path: ", @@ -2427,7 +2683,13 @@ "; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/dependencies/breakdown\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/dependencies/breakdown\", ", "TypeC", "<{ path: ", @@ -2471,7 +2733,13 @@ ", { breakdown: { title: string; data: { x: number; y: number; }[]; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/profiling/timeline\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/profiling/timeline\", ", "TypeC", "<{ path: ", @@ -2515,7 +2783,13 @@ ", { profilingTimeline: { x: number; valueTypes: { wall_time: number; cpu_time: number; samples: number; alloc_objects: number; alloc_space: number; inuse_objects: number; inuse_space: number; unknown: number; }; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/profiling/statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/profiling/statistics\", ", "TypeC", "<{ path: ", @@ -2593,7 +2867,13 @@ ">; rootNodes: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/alerts\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/alerts\", ", "TypeC", "<{ path: ", @@ -2637,7 +2917,13 @@ ", { alerts: Partial>[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/infrastructure\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/infrastructure\", ", "TypeC", "<{ path: ", @@ -2680,8 +2966,40 @@ }, ", { serviceInfrastructure: { containerIds: string[]; hostNames: string[]; }; }, ", "APMRouteCreateOptions", + ">; } & { \"GET /internal/apm/suggestions\": ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, + "<\"GET /internal/apm/suggestions\", ", + "PartialC", + "<{ query: ", + "TypeC", + "<{ field: ", + "StringC", + "; string: ", + "StringC", + "; }>; }>, ", + { + "pluginId": "apm", + "scope": "server", + "docId": "kibApmPluginApi", + "section": "def-server.APMRouteHandlerResources", + "text": "APMRouteHandlerResources" + }, + ", { terms: string[]; }, ", + "APMRouteCreateOptions", ">; } & { \"GET /api/apm/traces/{traceId}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/traces/{traceId}\", ", "TypeC", "<{ path: ", @@ -2711,7 +3029,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/traces\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/traces\", ", "TypeC", "<{ query: ", @@ -2753,7 +3077,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/traces/{traceId}/root_transaction\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/traces/{traceId}/root_transaction\", ", "TypeC", "<{ path: ", @@ -2773,7 +3103,13 @@ "; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/transactions/{transactionId}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/transactions/{transactionId}\", ", "TypeC", "<{ path: ", @@ -2793,7 +3129,13 @@ "; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/transactions/groups/main_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/transactions/groups/main_statistics\", ", "TypeC", "<{ path: ", @@ -2855,7 +3197,13 @@ ", { transactionGroups: { transactionType: string; name: string; latency: number | null; throughput: number; errorRate: number; impact: number; }[]; isAggregationAccurate: boolean; bucketSize: number; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/transactions/groups/detailed_statistics\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/transactions/groups/detailed_statistics\", ", "TypeC", "<{ path: ", @@ -2933,7 +3281,13 @@ "[]; impact: number; }>; previousPeriod: _.Dictionary<{ errorRate: { x: number; y: number | null | undefined; }[]; throughput: { x: number; y: number | null | undefined; }[]; latency: { x: number; y: number | null | undefined; }[]; transactionName: string; impact: number; }>; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/transactions/charts/latency\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/transactions/charts/latency\", ", "TypeC", "<{ path: ", @@ -3007,7 +3361,13 @@ ", { currentPeriod: { overallAvgDuration: number | null; latencyTimeseries: { x: number; y: number | null; }[]; }; previousPeriod: { latencyTimeseries: { x: number; y: number | null | undefined; }[]; overallAvgDuration: number | null; }; anomalyTimeseries: { jobId: string; anomalyScore: { x0: number; x: number; y: number; }[]; anomalyBoundaries: { x: number; y0: number; y: number; }[]; } | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/transactions/traces/samples\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/transactions/traces/samples\", ", "TypeC", "<{ path: ", @@ -3067,7 +3427,13 @@ ", { noHits: boolean; traceSamples: { transactionId: string; traceId: string; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/transaction/charts/breakdown\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/transaction/charts/breakdown\", ", "TypeC", "<{ path: ", @@ -3119,7 +3485,13 @@ ", { timeseries: { title: string; color: string; type: string; data: { x: number; y: number | null; }[]; hideLegend: boolean; legendValue: string; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services/{serviceName}/transactions/charts/error_rate\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/services/{serviceName}/transactions/charts/error_rate\", ", "TypeC", "<{ path: ", @@ -3181,7 +3553,13 @@ "[]; average: number | null; }; previousPeriod: { transactionErrorRate: { x: number; y: number | null | undefined; }[]; noHits: boolean; average: number | null; }; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/alerts/chart_preview/transaction_error_rate\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/alerts/chart_preview/transaction_error_rate\", ", "TypeC", "<{ query: ", @@ -3235,7 +3613,13 @@ ", { errorRateChartPreview: { x: number; y: number; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/alerts/chart_preview/transaction_duration\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/alerts/chart_preview/transaction_duration\", ", "TypeC", "<{ query: ", @@ -3289,7 +3673,13 @@ ", { latencyChartPreview: { x: number; y: number | null; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/alerts/chart_preview/transaction_error_count\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/alerts/chart_preview/transaction_error_count\", ", "TypeC", "<{ query: ", @@ -3343,7 +3733,13 @@ ", { errorCountChartPreview: { x: number; y: number; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/agent-configuration\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/agent-configuration\", undefined, ", { "pluginId": "apm", @@ -3357,7 +3753,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/agent-configuration/view\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/agent-configuration/view\", ", "PartialC", "<{ query: ", @@ -3379,7 +3781,13 @@ ", ", "APMRouteCreateOptions", ">; } & { \"DELETE /api/apm/settings/agent-configuration\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"DELETE /api/apm/settings/agent-configuration\", ", "TypeC", "<{ body: ", @@ -3401,7 +3809,13 @@ ", { result: string; }, ", "APMRouteCreateOptions", ">; } & { \"PUT /api/apm/settings/agent-configuration\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"PUT /api/apm/settings/agent-configuration\", ", "IntersectionC", "<[", @@ -3449,7 +3863,13 @@ ", void, ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/settings/agent-configuration/search\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/settings/agent-configuration/search\", ", "TypeC", "<{ body: ", @@ -3480,10 +3900,16 @@ "SearchHit", "<", "AgentConfiguration", - ", undefined, undefined>, ", + ", undefined, undefined> | null, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/agent-configuration/services\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/agent-configuration/services\", undefined, ", { "pluginId": "apm", @@ -3495,7 +3921,13 @@ ", { serviceNames: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/agent-configuration/environments\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/agent-configuration/environments\", ", "PartialC", "<{ query: ", @@ -3513,7 +3945,13 @@ ", { environments: { name: string; alreadyConfigured: boolean; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/agent-configuration/agent_name\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/agent-configuration/agent_name\", ", "TypeC", "<{ query: ", @@ -3531,7 +3969,13 @@ ", { agentName: string | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/anomaly-detection/jobs\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/anomaly-detection/jobs\", undefined, ", { "pluginId": "apm", @@ -3543,7 +3987,13 @@ ", { jobs: { job_id: string; environment: string; }[]; hasLegacyJobs: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/settings/anomaly-detection/jobs\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/settings/anomaly-detection/jobs\", ", "TypeC", "<{ body: ", @@ -3563,7 +4013,13 @@ ", { jobCreated: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/anomaly-detection/environments\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/anomaly-detection/environments\", undefined, ", { "pluginId": "apm", @@ -3575,7 +4031,13 @@ ", { environments: string[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/apm-index-settings\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/apm-index-settings\", undefined, ", { "pluginId": "apm", @@ -3587,7 +4049,13 @@ ", { apmIndexSettings: { configurationName: \"apm_oss.sourcemapIndices\" | \"apm_oss.errorIndices\" | \"apm_oss.onboardingIndices\" | \"apm_oss.spanIndices\" | \"apm_oss.transactionIndices\" | \"apm_oss.metricsIndices\" | \"apmAgentConfigurationIndex\" | \"apmCustomLinkIndex\"; defaultValue: string; savedValue: string | undefined; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/apm-indices\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/apm-indices\", undefined, ", { "pluginId": "apm", @@ -3601,7 +4069,13 @@ ", ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/settings/apm-indices/save\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/settings/apm-indices/save\", ", "TypeC", "<{ body: ", @@ -3631,7 +4105,13 @@ "<{}>, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/custom_links/transaction\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/custom_links/transaction\", ", "PartialC", "<{ query: ", @@ -3657,7 +4137,13 @@ ", ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/settings/custom_links\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/settings/custom_links\", ", "PartialC", "<{ query: ", @@ -3683,7 +4169,13 @@ "[]; }, ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/settings/custom_links\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/settings/custom_links\", ", "TypeC", "<{ body: ", @@ -3729,7 +4221,13 @@ ", void, ", "APMRouteCreateOptions", ">; } & { \"PUT /api/apm/settings/custom_links/{id}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"PUT /api/apm/settings/custom_links/{id}\", ", "TypeC", "<{ path: ", @@ -3779,7 +4277,13 @@ ", void, ", "APMRouteCreateOptions", ">; } & { \"DELETE /api/apm/settings/custom_links/{id}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"DELETE /api/apm/settings/custom_links/{id}\", ", "TypeC", "<{ path: ", @@ -3797,7 +4301,13 @@ ", { result: string; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/sourcemaps\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/sourcemaps\", undefined, ", { "pluginId": "apm", @@ -3811,7 +4321,13 @@ "[]; } | undefined, ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/sourcemaps\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/sourcemaps\", ", "TypeC", "<{ body: ", @@ -3843,7 +4359,13 @@ " | undefined, ", "APMRouteCreateOptions", ">; } & { \"DELETE /api/apm/sourcemaps/{id}\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"DELETE /api/apm/sourcemaps/{id}\", ", "TypeC", "<{ path: ", @@ -3861,7 +4383,13 @@ ", void, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/fleet/has_data\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/fleet/has_data\", undefined, ", { "pluginId": "apm", @@ -3873,7 +4401,13 @@ ", { hasData: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/fleet/agents\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/fleet/agents\", undefined, ", { "pluginId": "apm", @@ -3885,7 +4419,13 @@ ", { cloudStandaloneSetup: { apmServerUrl: string | undefined; secretToken: string | undefined; } | undefined; isFleetEnabled: boolean; fleetAgents: { id: string; name: string; apmServerUrl: any; secretToken: any; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/fleet/apm_server_schema\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/fleet/apm_server_schema\", ", "TypeC", "<{ body: ", @@ -3907,7 +4447,13 @@ ", void, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/fleet/apm_server_schema/unsupported\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/fleet/apm_server_schema/unsupported\", undefined, ", { "pluginId": "apm", @@ -3919,7 +4465,13 @@ ", { unsupported: { key: string; value: any; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/fleet/migration_check\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/fleet/migration_check\", undefined, ", { "pluginId": "apm", @@ -3931,7 +4483,13 @@ ", { has_cloud_agent_policy: boolean; has_cloud_apm_package_policy: boolean; cloud_apm_migration_enabled: boolean; has_required_role: boolean | undefined; }, ", "APMRouteCreateOptions", ">; } & { \"POST /api/apm/fleet/cloud_apm_package_policy\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"POST /api/apm/fleet/cloud_apm_package_policy\", undefined, ", { "pluginId": "apm", @@ -3951,7 +4509,13 @@ "; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/backends/top_backends\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/backends/top_backends\", ", "IntersectionC", "<[", @@ -4021,7 +4585,13 @@ "; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/backends/{backendName}/upstream_services\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/backends/{backendName}/upstream_services\", ", "IntersectionC", "<[", @@ -4097,7 +4667,13 @@ "; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/backends/{backendName}/metadata\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/backends/{backendName}/metadata\", ", "TypeC", "<{ path: ", @@ -4121,7 +4697,13 @@ ", { metadata: { spanType: string | undefined; spanSubtype: string | undefined; }; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/backends/{backendName}/charts/latency\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/backends/{backendName}/charts/latency\", ", "TypeC", "<{ path: ", @@ -4169,7 +4751,13 @@ ", { currentTimeseries: { x: number; y: number; }[]; comparisonTimeseries: { x: number; y: number; }[] | null; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/backends/{backendName}/charts/throughput\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/backends/{backendName}/charts/throughput\", ", "TypeC", "<{ path: ", @@ -4217,7 +4805,13 @@ ", { currentTimeseries: { x: number; y: number | null; }[]; comparisonTimeseries: { x: number; y: number | null; }[] | null; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/backends/{backendName}/charts/error_rate\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/backends/{backendName}/charts/error_rate\", ", "TypeC", "<{ path: ", @@ -4265,7 +4859,13 @@ ", { currentTimeseries: { x: number; y: number; }[]; comparisonTimeseries: { x: number; y: number; }[] | null; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/fallback_to_transactions\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/fallback_to_transactions\", ", "PartialC", "<{ query: ", @@ -4291,7 +4891,13 @@ ", { fallbackToTransactions: boolean; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/has_data\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/apm/has_data\", undefined, ", { "pluginId": "apm", @@ -4302,6 +4908,52 @@ }, ", { hasData: boolean; }, ", "APMRouteCreateOptions", + ">; } & { \"GET /api/apm/event_metadata/{processorEvent}/{id}\": ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, + "<\"GET /api/apm/event_metadata/{processorEvent}/{id}\", ", + "TypeC", + "<{ path: ", + "TypeC", + "<{ processorEvent: ", + "UnionC", + "<[", + "LiteralC", + "<", + "ProcessorEvent", + ".transaction>, ", + "LiteralC", + "<", + "ProcessorEvent", + ".error>, ", + "LiteralC", + "<", + "ProcessorEvent", + ".metric>, ", + "LiteralC", + "<", + "ProcessorEvent", + ".span>, ", + "LiteralC", + "<", + "ProcessorEvent", + ".profile>]>; id: ", + "StringC", + "; }>; }>, ", + { + "pluginId": "apm", + "scope": "server", + "docId": "kibApmPluginApi", + "section": "def-server.APMRouteHandlerResources", + "text": "APMRouteHandlerResources" + }, + ", { metadata: Partial>; }, ", + "APMRouteCreateOptions", ">; }>" ], "path": "x-pack/plugins/apm/server/routes/get_global_apm_server_route_repository.ts", @@ -4318,7 +4970,7 @@ "signature": [ "{ readonly enabled: boolean; readonly serviceMapEnabled: boolean; readonly serviceMapFingerprintBucketSize: number; readonly serviceMapTraceIdBucketSize: number; readonly serviceMapFingerprintGlobalBucketSize: number; readonly serviceMapTraceIdGlobalBucketSize: number; readonly serviceMapMaxTracesPerRequest: number; readonly autocreateApmIndexPattern: boolean; readonly ui: Readonly<{} & { enabled: boolean; transactionGroupBucketSize: number; maxTraceItems: number; }>; readonly searchAggregatedTransactions: ", "SearchAggregatedTransactionSetting", - "; readonly telemetryCollectionEnabled: boolean; readonly metricsInterval: number; readonly maxServiceEnvironments: number; readonly maxServiceSelection: number; readonly profilingEnabled: boolean; readonly agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; }" + "; readonly telemetryCollectionEnabled: boolean; readonly metricsInterval: number; readonly profilingEnabled: boolean; readonly agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; }" ], "path": "x-pack/plugins/apm/server/index.ts", "deprecated": false, @@ -4345,7 +4997,7 @@ "description": [], "signature": [ "Observable", - "<{ 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.maxServiceEnvironments': number; 'xpack.apm.maxServiceSelection': number; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", + "<{ 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", "SearchAggregatedTransactionSetting", "; 'xpack.apm.metricsInterval': number; 'xpack.apm.agent.migrations.enabled': boolean; }>" ], @@ -4393,7 +5045,11 @@ "InferSearchResponseOf", ">, ESSearchRequestOf, {}>>; }>" + ">, ESSearchRequestOf, {}>>; termsEnum(operationName: string, params: ", + "APMEventESTermsEnumRequest", + "): Promise<", + "TermsEnumResponse", + ">; }>" ], "path": "x-pack/plugins/apm/server/types.ts", "deprecated": false, diff --git a/api_docs/apm.mdx b/api_docs/apm.mdx index 1ff46ab13b246..a3fb1df512fa5 100644 --- a/api_docs/apm.mdx +++ b/api_docs/apm.mdx @@ -1,7 +1,7 @@ --- id: kibApmPluginApi -slug: /kibana-dev-docs/apmPluginApi -title: apm +slug: /kibana-dev-docs/api/apm +title: "apm" image: https://source.unsplash.com/400x175/?github summary: API docs for the apm plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [APM UI](https://github.com/orgs/elastic/teams/apm-ui) for questions reg | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 42 | 0 | 42 | 36 | +| 42 | 0 | 42 | 37 | ## Client diff --git a/api_docs/apm_oss.mdx b/api_docs/apm_oss.mdx index 2189cd5b43edd..214147f9f4690 100644 --- a/api_docs/apm_oss.mdx +++ b/api_docs/apm_oss.mdx @@ -1,7 +1,7 @@ --- id: kibApmOssPluginApi -slug: /kibana-dev-docs/apmOssPluginApi -title: apmOss +slug: /kibana-dev-docs/api/apmOss +title: "apmOss" image: https://source.unsplash.com/400x175/?github summary: API docs for the apmOss plugin date: 2020-11-16 diff --git a/api_docs/banners.mdx b/api_docs/banners.mdx index d705cfc98e683..5f433b3f6f574 100644 --- a/api_docs/banners.mdx +++ b/api_docs/banners.mdx @@ -1,7 +1,7 @@ --- id: kibBannersPluginApi -slug: /kibana-dev-docs/bannersPluginApi -title: banners +slug: /kibana-dev-docs/api/banners +title: "banners" image: https://source.unsplash.com/400x175/?github summary: API docs for the banners plugin date: 2020-11-16 diff --git a/api_docs/bfetch.mdx b/api_docs/bfetch.mdx index d7f42be45a29a..25e77b7731790 100644 --- a/api_docs/bfetch.mdx +++ b/api_docs/bfetch.mdx @@ -1,7 +1,7 @@ --- id: kibBfetchPluginApi -slug: /kibana-dev-docs/bfetchPluginApi -title: bfetch +slug: /kibana-dev-docs/api/bfetch +title: "bfetch" image: https://source.unsplash.com/400x175/?github summary: API docs for the bfetch plugin date: 2020-11-16 diff --git a/api_docs/canvas.mdx b/api_docs/canvas.mdx index 3d27f41576824..6e52215267748 100644 --- a/api_docs/canvas.mdx +++ b/api_docs/canvas.mdx @@ -1,7 +1,7 @@ --- id: kibCanvasPluginApi -slug: /kibana-dev-docs/canvasPluginApi -title: canvas +slug: /kibana-dev-docs/api/canvas +title: "canvas" image: https://source.unsplash.com/400x175/?github summary: API docs for the canvas plugin date: 2020-11-16 diff --git a/api_docs/cases.mdx b/api_docs/cases.mdx index e2fee6ce12fe7..4d2c96b89917f 100644 --- a/api_docs/cases.mdx +++ b/api_docs/cases.mdx @@ -1,7 +1,7 @@ --- id: kibCasesPluginApi -slug: /kibana-dev-docs/casesPluginApi -title: cases +slug: /kibana-dev-docs/api/cases +title: "cases" image: https://source.unsplash.com/400x175/?github summary: API docs for the cases plugin date: 2020-11-16 diff --git a/api_docs/charts.json b/api_docs/charts.json index 2066e0f6cd9c8..642ae89e581e5 100644 --- a/api_docs/charts.json +++ b/api_docs/charts.json @@ -3003,7 +3003,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/charts/common/palette.ts", @@ -3061,7 +3067,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/charts/common/palette.ts", diff --git a/api_docs/charts.mdx b/api_docs/charts.mdx index 38c52bb1e44e2..c8159a3bc0dfa 100644 --- a/api_docs/charts.mdx +++ b/api_docs/charts.mdx @@ -1,7 +1,7 @@ --- id: kibChartsPluginApi -slug: /kibana-dev-docs/chartsPluginApi -title: charts +slug: /kibana-dev-docs/api/charts +title: "charts" image: https://source.unsplash.com/400x175/?github summary: API docs for the charts plugin date: 2020-11-16 diff --git a/api_docs/cloud.mdx b/api_docs/cloud.mdx index 393e9f27562df..eb9bad8024179 100644 --- a/api_docs/cloud.mdx +++ b/api_docs/cloud.mdx @@ -1,7 +1,7 @@ --- id: kibCloudPluginApi -slug: /kibana-dev-docs/cloudPluginApi -title: cloud +slug: /kibana-dev-docs/api/cloud +title: "cloud" image: https://source.unsplash.com/400x175/?github summary: API docs for the cloud plugin date: 2020-11-16 diff --git a/api_docs/console.json b/api_docs/console.json index b62897e6194cb..6bbad02c90940 100644 --- a/api_docs/console.json +++ b/api_docs/console.json @@ -146,7 +146,13 @@ "text": "ConsoleUILocatorParams" }, " extends ", - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/console/public/plugin.ts", "deprecated": false, diff --git a/api_docs/console.mdx b/api_docs/console.mdx index a29962083727d..48a1654296aff 100644 --- a/api_docs/console.mdx +++ b/api_docs/console.mdx @@ -1,7 +1,7 @@ --- id: kibConsolePluginApi -slug: /kibana-dev-docs/consolePluginApi -title: console +slug: /kibana-dev-docs/api/console +title: "console" image: https://source.unsplash.com/400x175/?github summary: API docs for the console plugin date: 2020-11-16 diff --git a/api_docs/core.json b/api_docs/core.json index 62fe04d0c3af9..8b64ef86dbf16 100644 --- a/api_docs/core.json +++ b/api_docs/core.json @@ -1652,9 +1652,6 @@ "tags": [], "label": "EnvironmentMode", "description": [], - "signature": [ - "EnvironmentMode" - ], "path": "node_modules/@kbn/config/target_types/types.d.ts", "deprecated": false, "children": [ @@ -2116,7 +2113,7 @@ "signature": [ "() => Readonly, \"type\" | \"options\" | \"description\" | \"name\" | \"order\" | \"value\" | \"category\" | \"metric\" | \"optionLabels\" | \"requiresPageReload\" | \"readonly\" | \"sensitive\" | \"deprecation\"> & ", + ", \"type\" | \"options\" | \"description\" | \"name\" | \"order\" | \"value\" | \"category\" | \"optionLabels\" | \"requiresPageReload\" | \"readonly\" | \"sensitive\" | \"deprecation\" | \"metric\"> & ", "UserProvidedValues", ">>" ], @@ -3924,9 +3921,6 @@ "tags": [], "label": "PackageInfo", "description": [], - "signature": [ - "PackageInfo" - ], "path": "node_modules/@kbn/config/target_types/types.d.ts", "deprecated": false, "children": [ @@ -4186,9 +4180,21 @@ "description": [], "signature": [ "{ mode: Readonly<", - "EnvironmentMode", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.EnvironmentMode", + "text": "EnvironmentMode" + }, ">; packageInfo: Readonly<", - "PackageInfo", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.PackageInfo", + "text": "PackageInfo" + }, ">; }" ], "path": "src/core/public/plugins/plugin_context.ts", @@ -6176,7 +6182,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "src/core/types/ui_settings.ts", @@ -6195,7 +6207,13 @@ ], "signature": [ "{ type: ", - "UiCounterMetricType", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, "; name: string; } | undefined" ], "path": "src/core/types/ui_settings.ts", @@ -6638,11 +6656,17 @@ "\nA sub-set of {@link UiSettingsParams} exposed to the client-side." ], "signature": [ - "{ type?: \"string\" | \"number\" | \"boolean\" | \"undefined\" | \"color\" | \"json\" | \"image\" | \"markdown\" | \"select\" | \"array\" | undefined; options?: string[] | undefined; description?: string | undefined; name?: string | undefined; order?: number | undefined; value?: unknown; category?: string[] | undefined; metric?: { type: ", - "UiCounterMetricType", - "; name: string; } | undefined; optionLabels?: Record | undefined; requiresPageReload?: boolean | undefined; readonly?: boolean | undefined; sensitive?: boolean | undefined; deprecation?: ", + "{ type?: \"string\" | \"number\" | \"boolean\" | \"undefined\" | \"color\" | \"json\" | \"image\" | \"markdown\" | \"select\" | \"array\" | undefined; options?: string[] | undefined; description?: string | undefined; name?: string | undefined; order?: number | undefined; value?: unknown; category?: string[] | undefined; optionLabels?: Record | undefined; requiresPageReload?: boolean | undefined; readonly?: boolean | undefined; sensitive?: boolean | undefined; deprecation?: ", "DeprecationSettings", - " | undefined; }" + " | undefined; metric?: { type: ", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, + "; name: string; } | undefined; }" ], "path": "src/core/types/ui_settings.ts", "deprecated": false, @@ -8266,9 +8290,6 @@ "description": [ "\nProvides helpers to generates the most commonly used {@link ConfigDeprecation}\nwhen invoking a {@link ConfigDeprecationProvider}.\n\nSee methods documentation for more detailed examples.\n" ], - "signature": [ - "ConfigDeprecationFactory" - ], "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", "deprecated": false, "children": [ @@ -10154,9 +10175,6 @@ "tags": [], "label": "EnvironmentMode", "description": [], - "signature": [ - "EnvironmentMode" - ], "path": "node_modules/@kbn/config/target_types/types.d.ts", "deprecated": false, "children": [ @@ -12858,7 +12876,7 @@ "signature": [ "() => Readonly, \"type\" | \"options\" | \"description\" | \"name\" | \"order\" | \"value\" | \"category\" | \"metric\" | \"optionLabels\" | \"requiresPageReload\" | \"readonly\" | \"sensitive\" | \"deprecation\">>>" + ", \"type\" | \"options\" | \"description\" | \"name\" | \"order\" | \"value\" | \"category\" | \"optionLabels\" | \"requiresPageReload\" | \"readonly\" | \"sensitive\" | \"deprecation\" | \"metric\">>>" ], "path": "src/core/server/ui_settings/types.ts", "deprecated": false, @@ -13151,9 +13169,6 @@ "description": [ "\nLogger exposes all the necessary methods to log any type of information and\nthis is the interface used by the logging consumers including plugins.\n" ], - "signature": [ - "Logger" - ], "path": "node_modules/@kbn/logging/target_types/logger.d.ts", "deprecated": false, "children": [ @@ -13168,9 +13183,21 @@ ], "signature": [ "(message: string, meta?: Meta | undefined) => void" ], "path": "node_modules/@kbn/logging/target_types/logger.d.ts", @@ -13222,9 +13249,21 @@ ], "signature": [ "(message: string, meta?: Meta | undefined) => void" ], "path": "node_modules/@kbn/logging/target_types/logger.d.ts", @@ -13276,9 +13315,21 @@ ], "signature": [ "(message: string, meta?: Meta | undefined) => void" ], "path": "node_modules/@kbn/logging/target_types/logger.d.ts", @@ -13330,9 +13381,21 @@ ], "signature": [ "(errorOrMessage: string | Error, meta?: Meta | undefined) => void" ], "path": "node_modules/@kbn/logging/target_types/logger.d.ts", @@ -13384,9 +13447,21 @@ ], "signature": [ "(errorOrMessage: string | Error, meta?: Meta | undefined) => void" ], "path": "node_modules/@kbn/logging/target_types/logger.d.ts", @@ -13438,9 +13513,21 @@ ], "signature": [ "(errorOrMessage: string | Error, meta?: Meta | undefined) => void" ], "path": "node_modules/@kbn/logging/target_types/logger.d.ts", @@ -13492,7 +13579,13 @@ ], "signature": [ "(...childContextPaths: string[]) => ", - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "node_modules/@kbn/logging/target_types/logger.d.ts", "deprecated": false, @@ -13583,9 +13676,6 @@ "description": [ "\nThe single purpose of `LoggerFactory` interface is to define a way to\nretrieve a context-based logger instance.\n" ], - "signature": [ - "LoggerFactory" - ], "path": "node_modules/@kbn/logging/target_types/logger_factory.d.ts", "deprecated": false, "children": [ @@ -13600,7 +13690,13 @@ ], "signature": [ "(...contextParts: string[]) => ", - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "node_modules/@kbn/logging/target_types/logger_factory.d.ts", "deprecated": false, @@ -14275,9 +14371,6 @@ "tags": [], "label": "PackageInfo", "description": [], - "signature": [ - "PackageInfo" - ], "path": "node_modules/@kbn/config/target_types/types.d.ts", "deprecated": false, "children": [ @@ -14523,7 +14616,13 @@ "\nProvider for the {@link ConfigDeprecation} to apply to the plugin configuration." ], "signature": [ - "ConfigDeprecationProvider", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationProvider", + "text": "ConfigDeprecationProvider" + }, " | undefined" ], "path": "src/core/server/plugins/types.ts", @@ -14554,7 +14653,13 @@ "\nSchema to use to validate the plugin configuration.\n\n{@link PluginConfigSchema}" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "src/core/server/plugins/types.ts", @@ -14629,9 +14734,21 @@ "description": [], "signature": [ "{ mode: ", - "EnvironmentMode", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.EnvironmentMode", + "text": "EnvironmentMode" + }, "; packageInfo: Readonly<", - "PackageInfo", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.PackageInfo", + "text": "PackageInfo" + }, ">; instanceUuid: string; configs: readonly string[]; }" ], "path": "src/core/server/plugins/types.ts", @@ -14647,7 +14764,13 @@ "\n{@link LoggerFactory | logger factory} instance already bound to the plugin's logging context\n" ], "signature": [ - "LoggerFactory" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LoggerFactory", + "text": "LoggerFactory" + } ], "path": "src/core/server/plugins/types.ts", "deprecated": false @@ -14665,17 +14788,53 @@ "{ legacy: { globalConfig$: ", "Observable", "; elasticsearch: Readonly<{ readonly requestTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly shardTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly pingTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; }>; path: Readonly<{ readonly data: string; }>; savedObjects: Readonly<{ readonly maxImportPayloadBytes: Readonly<{ isGreaterThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isLessThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isEqualTo: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; getValueInBytes: () => number; toString: (returnUnit?: \"b\" | \"kb\" | \"mb\" | \"gb\" | undefined) => string; }>; }>; }>>; get: () => Readonly<{ kibana: Readonly<{ readonly index: string; }>; elasticsearch: Readonly<{ readonly requestTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly shardTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly pingTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; }>; path: Readonly<{ readonly data: string; }>; savedObjects: Readonly<{ readonly maxImportPayloadBytes: Readonly<{ isGreaterThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isLessThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isEqualTo: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; getValueInBytes: () => number; toString: (returnUnit?: \"b\" | \"kb\" | \"mb\" | \"gb\" | undefined) => string; }>; }>; }>; }; create: () => ", "Observable", "; get: () => T; }" @@ -16274,7 +16433,13 @@ "label": "schema", "description": [], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "src/core/types/ui_settings.ts", @@ -16293,7 +16458,13 @@ ], "signature": [ "{ type: ", - "UiCounterMetricType", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, "; name: string; } | undefined" ], "path": "src/core/types/ui_settings.ts", @@ -16555,8 +16726,6 @@ " | ", "FileAppenderConfig", " | ", - "LegacyAppenderConfig", - " | ", "RewriteAppenderConfig", " | ", "RollingFileAppenderConfig" @@ -16672,7 +16841,13 @@ ], "signature": [ "(factory: ", - "ConfigDeprecationFactory", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationFactory", + "text": "ConfigDeprecationFactory" + }, ") => ", "ConfigDeprecation", "[]" @@ -16689,7 +16864,13 @@ "label": "factory", "description": [], "signature": [ - "ConfigDeprecationFactory" + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationFactory", + "text": "ConfigDeprecationFactory" + } ], "path": "node_modules/@kbn/config/target_types/deprecation/types.d.ts", "deprecated": false @@ -16734,10 +16915,14 @@ "EcsCloud", " | undefined; container?: ", "EcsContainer", + " | undefined; data_stream?: ", + "EcsDataStream", " | undefined; destination?: ", "EcsDestination", " | undefined; dns?: ", "EcsDns", + " | undefined; email?: ", + "EcsEmail", " | undefined; error?: ", "EcsError", " | undefined; event?: ", @@ -16756,6 +16941,8 @@ "EcsNetwork", " | undefined; observer?: ", "EcsObserver", + " | undefined; orchestrator?: ", + "EcsOrchestrator", " | undefined; organization?: ", "EcsOrganization", " | undefined; package?: ", @@ -17883,7 +18070,13 @@ "\nDedicated type for plugin configuration schema.\n" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "src/core/server/plugins/types.ts", @@ -18001,11 +18194,17 @@ "\nA sub-set of {@link UiSettingsParams} exposed to the client-side." ], "signature": [ - "{ type?: \"string\" | \"number\" | \"boolean\" | \"undefined\" | \"color\" | \"json\" | \"image\" | \"markdown\" | \"select\" | \"array\" | undefined; options?: string[] | undefined; description?: string | undefined; name?: string | undefined; order?: number | undefined; value?: unknown; category?: string[] | undefined; metric?: { type: ", - "UiCounterMetricType", - "; name: string; } | undefined; optionLabels?: Record | undefined; requiresPageReload?: boolean | undefined; readonly?: boolean | undefined; sensitive?: boolean | undefined; deprecation?: ", + "{ type?: \"string\" | \"number\" | \"boolean\" | \"undefined\" | \"color\" | \"json\" | \"image\" | \"markdown\" | \"select\" | \"array\" | undefined; options?: string[] | undefined; description?: string | undefined; name?: string | undefined; order?: number | undefined; value?: unknown; category?: string[] | undefined; optionLabels?: Record | undefined; requiresPageReload?: boolean | undefined; readonly?: boolean | undefined; sensitive?: boolean | undefined; deprecation?: ", "DeprecationSettings", - " | undefined; }" + " | undefined; metric?: { type: ", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, + "; name: string; } | undefined; }" ], "path": "src/core/types/ui_settings.ts", "deprecated": false, @@ -18104,11 +18303,29 @@ "description": [], "signature": [ "{ readonly kibana: Readonly<{ readonly index: string; }>; readonly elasticsearch: Readonly<{ readonly requestTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly shardTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; readonly pingTimeout: Readonly<{ clone: () => moment.Duration; humanize: { (argWithSuffix?: boolean | undefined, argThresholds?: moment.argThresholdOpts | undefined): string; (argThresholds?: moment.argThresholdOpts | undefined): string; }; abs: () => moment.Duration; as: (units: moment.unitOfTime.Base) => number; get: (units: moment.unitOfTime.Base) => number; milliseconds: () => number; asMilliseconds: () => number; seconds: () => number; asSeconds: () => number; minutes: () => number; asMinutes: () => number; hours: () => number; asHours: () => number; days: () => number; asDays: () => number; weeks: () => number; asWeeks: () => number; months: () => number; asMonths: () => number; years: () => number; asYears: () => number; add: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; subtract: (inp?: moment.DurationInputArg1, unit?: \"year\" | \"years\" | \"y\" | \"month\" | \"months\" | \"M\" | \"week\" | \"weeks\" | \"w\" | \"day\" | \"days\" | \"d\" | \"hour\" | \"hours\" | \"h\" | \"minute\" | \"minutes\" | \"m\" | \"second\" | \"seconds\" | \"s\" | \"millisecond\" | \"milliseconds\" | \"ms\" | \"quarter\" | \"quarters\" | \"Q\" | undefined) => moment.Duration; locale: { (): string; (locale: moment.LocaleSpecifier): moment.Duration; }; localeData: () => moment.Locale; toISOString: () => string; toJSON: () => string; isValid: () => boolean; lang: { (locale: moment.LocaleSpecifier): moment.Moment; (): moment.Locale; }; toIsoString: () => string; }>; }>; readonly path: Readonly<{ readonly data: string; }>; readonly savedObjects: Readonly<{ readonly maxImportPayloadBytes: Readonly<{ isGreaterThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isLessThan: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; isEqualTo: (other: ", - "ByteSizeValue", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, ") => boolean; getValueInBytes: () => number; toString: (returnUnit?: \"b\" | \"kb\" | \"mb\" | \"gb\" | undefined) => string; }>; }>; }" ], "path": "src/core/server/plugins/types.ts", diff --git a/api_docs/core.mdx b/api_docs/core.mdx index 35687c4d182d5..856db3cf8871b 100644 --- a/api_docs/core.mdx +++ b/api_docs/core.mdx @@ -1,7 +1,7 @@ --- id: kibCorePluginApi -slug: /kibana-dev-docs/corePluginApi -title: core +slug: /kibana-dev-docs/api/core +title: "core" image: https://source.unsplash.com/400x175/?github summary: API docs for the core plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2293 | 27 | 1020 | 30 | +| 2293 | 27 | 1020 | 29 | ## Client diff --git a/api_docs/core_application.json b/api_docs/core_application.json index 575da4549e482..71e4244af778b 100644 --- a/api_docs/core_application.json +++ b/api_docs/core_application.json @@ -2263,7 +2263,7 @@ "section": "def-public.App", "text": "App" }, - ", \"status\" | \"id\" | \"title\" | \"order\" | \"category\" | \"navLinkStatus\" | \"defaultPath\" | \"capabilities\" | \"chromeless\" | \"appRoute\" | \"exactRoute\" | \"tooltip\" | \"euiIconType\" | \"icon\"> & { status: ", + ", \"status\" | \"id\" | \"title\" | \"order\" | \"capabilities\" | \"category\" | \"navLinkStatus\" | \"defaultPath\" | \"chromeless\" | \"appRoute\" | \"exactRoute\" | \"tooltip\" | \"euiIconType\" | \"icon\"> & { status: ", { "pluginId": "core", "scope": "public", diff --git a/api_docs/core_application.mdx b/api_docs/core_application.mdx index b313070824bfd..bf9e610a24b78 100644 --- a/api_docs/core_application.mdx +++ b/api_docs/core_application.mdx @@ -1,7 +1,7 @@ --- id: kibCoreApplicationPluginApi -slug: /kibana-dev-docs/core.applicationPluginApi -title: core.application +slug: /kibana-dev-docs/api/core-application +title: "core.application" image: https://source.unsplash.com/400x175/?github summary: API docs for the core.application plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2293 | 27 | 1020 | 30 | +| 2293 | 27 | 1020 | 29 | ## Client diff --git a/api_docs/core_chrome.mdx b/api_docs/core_chrome.mdx index 24245b16b8fed..c217d2ae66f73 100644 --- a/api_docs/core_chrome.mdx +++ b/api_docs/core_chrome.mdx @@ -1,7 +1,7 @@ --- id: kibCoreChromePluginApi -slug: /kibana-dev-docs/core.chromePluginApi -title: core.chrome +slug: /kibana-dev-docs/api/core-chrome +title: "core.chrome" image: https://source.unsplash.com/400x175/?github summary: API docs for the core.chrome plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2293 | 27 | 1020 | 30 | +| 2293 | 27 | 1020 | 29 | ## Client diff --git a/api_docs/core_http.json b/api_docs/core_http.json index 5a20607b2ad84..f6345d6f6e933 100644 --- a/api_docs/core_http.json +++ b/api_docs/core_http.json @@ -2248,9 +2248,21 @@ ], "signature": [ "{ readonly path: string; readonly method: ", - "RecursiveReadonly", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonly", + "text": "RecursiveReadonly" + }, "; readonly options: ", - "RecursiveReadonly", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonly", + "text": "RecursiveReadonly" + }, "<", { "pluginId": "core", @@ -2469,7 +2481,13 @@ "text": "RouteValidationError" }, " extends ", - "SchemaTypeError" + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.SchemaTypeError", + "text": "SchemaTypeError" + } ], "path": "src/core/server/http/router/validator/validator_error.ts", "deprecated": false, @@ -8150,9 +8168,21 @@ "\nValidation logic for the URL params" ], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, " | ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "

| ", { "pluginId": "core", @@ -8176,9 +8206,21 @@ "\nValidation logic for the Query params" ], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, " | ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, " | ", { "pluginId": "core", @@ -8202,9 +8244,21 @@ "\nValidation logic for the body payload" ], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, " | ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, " | ", { "pluginId": "core", @@ -12515,9 +12569,21 @@ "\nAllowed property validation options: either @kbn/config-schema validations or custom validation functions\n\nSee {@link RouteValidationFunction} for custom validation.\n" ], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, " | ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, " | ", { "pluginId": "core", diff --git a/api_docs/core_http.mdx b/api_docs/core_http.mdx index 27a2fd33190d7..739916c56ecfc 100644 --- a/api_docs/core_http.mdx +++ b/api_docs/core_http.mdx @@ -1,7 +1,7 @@ --- id: kibCoreHttpPluginApi -slug: /kibana-dev-docs/core.httpPluginApi -title: core.http +slug: /kibana-dev-docs/api/core-http +title: "core.http" image: https://source.unsplash.com/400x175/?github summary: API docs for the core.http plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2293 | 27 | 1020 | 30 | +| 2293 | 27 | 1020 | 29 | ## Client diff --git a/api_docs/core_saved_objects.json b/api_docs/core_saved_objects.json index 8aab160aab114..f5b601e346dec 100644 --- a/api_docs/core_saved_objects.json +++ b/api_docs/core_saved_objects.json @@ -4885,7 +4885,13 @@ "label": "#log", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "src/core/server/saved_objects/export/saved_objects_exporter.ts", "deprecated": false @@ -5313,7 +5319,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "src/core/server/saved_objects/export/saved_objects_exporter.ts", "deprecated": false @@ -13454,9 +13466,21 @@ "description": [], "signature": [ "(msg: string, meta: Meta) => void" ], "path": "src/core/server/saved_objects/migrations/core/migration_logger.ts", diff --git a/api_docs/core_saved_objects.mdx b/api_docs/core_saved_objects.mdx index cbb490a31e28b..66d66b3d41c18 100644 --- a/api_docs/core_saved_objects.mdx +++ b/api_docs/core_saved_objects.mdx @@ -1,7 +1,7 @@ --- id: kibCoreSavedObjectsPluginApi -slug: /kibana-dev-docs/core.savedObjectsPluginApi -title: core.savedObjects +slug: /kibana-dev-docs/api/core-savedObjects +title: "core.savedObjects" image: https://source.unsplash.com/400x175/?github summary: API docs for the core.savedObjects plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2293 | 27 | 1020 | 30 | +| 2293 | 27 | 1020 | 29 | ## Client diff --git a/api_docs/custom_integrations.json b/api_docs/custom_integrations.json index 5ec54f112b8cf..7cf82e84cfafc 100644 --- a/api_docs/custom_integrations.json +++ b/api_docs/custom_integrations.json @@ -2,7 +2,163 @@ "id": "customIntegrations", "client": { "classes": [], - "functions": [], + "functions": [ + { + "parentPluginId": "customIntegrations", + "id": "def-public.filterCustomIntegrations", + "type": "Function", + "tags": [], + "label": "filterCustomIntegrations", + "description": [ + "\nFilter a set of integrations by eprPackageName, and/or shipper." + ], + "signature": [ + "(integrations: ", + { + "pluginId": "customIntegrations", + "scope": "common", + "docId": "kibCustomIntegrationsPluginApi", + "section": "def-common.CustomIntegration", + "text": "CustomIntegration" + }, + "[], { eprPackageName, shipper }?: FindParams) => ", + { + "pluginId": "customIntegrations", + "scope": "common", + "docId": "kibCustomIntegrationsPluginApi", + "section": "def-common.CustomIntegration", + "text": "CustomIntegration" + }, + "[]" + ], + "path": "src/plugins/custom_integrations/public/services/find.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "customIntegrations", + "id": "def-public.filterCustomIntegrations.$1", + "type": "Array", + "tags": [], + "label": "integrations", + "description": [], + "signature": [ + { + "pluginId": "customIntegrations", + "scope": "common", + "docId": "kibCustomIntegrationsPluginApi", + "section": "def-common.CustomIntegration", + "text": "CustomIntegration" + }, + "[]" + ], + "path": "src/plugins/custom_integrations/public/services/find.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "customIntegrations", + "id": "def-public.filterCustomIntegrations.$2", + "type": "Object", + "tags": [], + "label": "{ eprPackageName, shipper }", + "description": [], + "signature": [ + "FindParams" + ], + "path": "src/plugins/custom_integrations/public/services/find.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-public.LazyReplacementCard", + "type": "Function", + "tags": [], + "label": "LazyReplacementCard", + "description": [], + "signature": [ + "React.ExoticComponent<", + "Props", + "> & { readonly _result: ({ eprPackageName }: ", + "Props", + ") => JSX.Element | null; }" + ], + "path": "src/plugins/custom_integrations/public/components/index.tsx", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "customIntegrations", + "id": "def-public.LazyReplacementCard.$1", + "type": "Uncategorized", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-public.withSuspense", + "type": "Function", + "tags": [], + "label": "withSuspense", + "description": [ + "\nA HOC which supplies React.Suspense with a fallback component, and a `EuiErrorBoundary` to contain errors." + ], + "signature": [ + "

(Component: React.ComponentType

, fallback?: React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | null) => React.ForwardRefExoticComponent & React.RefAttributes>" + ], + "path": "src/plugins/custom_integrations/public/components/index.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "customIntegrations", + "id": "def-public.withSuspense.$1", + "type": "CompoundType", + "tags": [], + "label": "Component", + "description": [ + "A component deferred by `React.lazy`" + ], + "signature": [ + "React.ComponentType

" + ], + "path": "src/plugins/custom_integrations/public/components/index.tsx", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "customIntegrations", + "id": "def-public.withSuspense.$2", + "type": "CompoundType", + "tags": [], + "label": "fallback", + "description": [ + "A fallback component to render while things load; default is `EuiLoadingSpinner`" + ], + "signature": [ + "React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> | null" + ], + "path": "src/plugins/custom_integrations/public/components/index.tsx", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], "interfaces": [], "enums": [], "misc": [], @@ -39,6 +195,29 @@ "deprecated": false, "children": [], "returnComment": [] + }, + { + "parentPluginId": "customIntegrations", + "id": "def-public.CustomIntegrationsSetup.getReplacementCustomIntegrations", + "type": "Function", + "tags": [], + "label": "getReplacementCustomIntegrations", + "description": [], + "signature": [ + "() => Promise<", + { + "pluginId": "customIntegrations", + "scope": "common", + "docId": "kibCustomIntegrationsPluginApi", + "section": "def-common.CustomIntegration", + "text": "CustomIntegration" + }, + "[]>" + ], + "path": "src/plugins/custom_integrations/public/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] } ], "lifecycle": "setup", @@ -53,7 +232,50 @@ "description": [], "path": "src/plugins/custom_integrations/public/types.ts", "deprecated": false, - "children": [], + "children": [ + { + "parentPluginId": "customIntegrations", + "id": "def-public.CustomIntegrationsStart.ContextProvider", + "type": "Function", + "tags": [], + "label": "ContextProvider", + "description": [], + "signature": [ + "React.FunctionComponent<{}>" + ], + "path": "src/plugins/custom_integrations/public/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "customIntegrations", + "id": "def-public.CustomIntegrationsStart.ContextProvider.$1", + "type": "CompoundType", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P & { children?: React.ReactNode; }" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-public.CustomIntegrationsStart.ContextProvider.$2", + "type": "Any", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/@types/react/index.d.ts", + "deprecated": false + } + ] + } + ], "lifecycle": "start", "initialIsOpen": true } @@ -62,42 +284,6 @@ "classes": [], "functions": [], "interfaces": [ - { - "parentPluginId": "customIntegrations", - "id": "def-server.CategoryCount", - "type": "Interface", - "tags": [], - "label": "CategoryCount", - "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "customIntegrations", - "id": "def-server.CategoryCount.count", - "type": "number", - "tags": [], - "label": "count", - "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", - "deprecated": false - }, - { - "parentPluginId": "customIntegrations", - "id": "def-server.CategoryCount.id", - "type": "CompoundType", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"updates_available\"" - ], - "path": "src/plugins/custom_integrations/common/index.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, { "parentPluginId": "customIntegrations", "id": "def-server.CustomIntegration", @@ -179,7 +365,14 @@ "label": "icons", "description": [], "signature": [ - "{ src: string; type: string; }[]" + { + "pluginId": "customIntegrations", + "scope": "common", + "docId": "kibCustomIntegrationsPluginApi", + "section": "def-common.CustomIntegrationIcon", + "text": "CustomIntegrationIcon" + }, + "[]" ], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false @@ -192,7 +385,7 @@ "label": "categories", "description": [], "signature": [ - "(\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"updates_available\")[]" + "(\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"language_client\" | \"updates_available\")[]" ], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false @@ -206,6 +399,55 @@ "description": [], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-server.CustomIntegration.eprOverlap", + "type": "string", + "tags": [], + "label": "eprOverlap", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-server.IntegrationCategoryCount", + "type": "Interface", + "tags": [], + "label": "IntegrationCategoryCount", + "description": [], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "customIntegrations", + "id": "def-server.IntegrationCategoryCount.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-server.IntegrationCategoryCount.id", + "type": "CompoundType", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"language_client\" | \"updates_available\"" + ], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false } ], "initialIsOpen": false @@ -215,13 +457,13 @@ "misc": [ { "parentPluginId": "customIntegrations", - "id": "def-server.Category", + "id": "def-server.IntegrationCategory", "type": "Type", "tags": [], - "label": "Category", + "label": "IntegrationCategory", "description": [], "signature": [ - "\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"updates_available\"" + "\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"language_client\" | \"updates_available\"" ], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false, @@ -255,7 +497,7 @@ "section": "def-common.CustomIntegration", "text": "CustomIntegration" }, - ", \"id\" | \"title\" | \"description\" | \"uiInternalPath\" | \"isBeta\" | \"icons\" | \"categories\" | \"shipper\">) => void" + ", \"shipper\" | \"id\" | \"title\" | \"description\" | \"uiInternalPath\" | \"isBeta\" | \"icons\" | \"categories\" | \"eprOverlap\">) => void" ], "path": "src/plugins/custom_integrations/server/types.ts", "deprecated": false, @@ -276,7 +518,7 @@ "section": "def-common.CustomIntegration", "text": "CustomIntegration" }, - ", \"id\" | \"title\" | \"description\" | \"uiInternalPath\" | \"isBeta\" | \"icons\" | \"categories\" | \"shipper\">" + ", \"shipper\" | \"id\" | \"title\" | \"description\" | \"uiInternalPath\" | \"isBeta\" | \"icons\" | \"categories\" | \"eprOverlap\">" ], "path": "src/plugins/custom_integrations/server/types.ts", "deprecated": false, @@ -330,42 +572,6 @@ "classes": [], "functions": [], "interfaces": [ - { - "parentPluginId": "customIntegrations", - "id": "def-common.CategoryCount", - "type": "Interface", - "tags": [], - "label": "CategoryCount", - "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "customIntegrations", - "id": "def-common.CategoryCount.count", - "type": "number", - "tags": [], - "label": "count", - "description": [], - "path": "src/plugins/custom_integrations/common/index.ts", - "deprecated": false - }, - { - "parentPluginId": "customIntegrations", - "id": "def-common.CategoryCount.id", - "type": "CompoundType", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"updates_available\"" - ], - "path": "src/plugins/custom_integrations/common/index.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, { "parentPluginId": "customIntegrations", "id": "def-common.CustomIntegration", @@ -447,7 +653,14 @@ "label": "icons", "description": [], "signature": [ - "{ src: string; type: string; }[]" + { + "pluginId": "customIntegrations", + "scope": "common", + "docId": "kibCustomIntegrationsPluginApi", + "section": "def-common.CustomIntegrationIcon", + "text": "CustomIntegrationIcon" + }, + "[]" ], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false @@ -460,7 +673,7 @@ "label": "categories", "description": [], "signature": [ - "(\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"updates_available\")[]" + "(\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"language_client\" | \"updates_available\")[]" ], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false @@ -474,6 +687,91 @@ "description": [], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-common.CustomIntegration.eprOverlap", + "type": "string", + "tags": [], + "label": "eprOverlap", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-common.CustomIntegrationIcon", + "type": "Interface", + "tags": [], + "label": "CustomIntegrationIcon", + "description": [], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "customIntegrations", + "id": "def-common.CustomIntegrationIcon.src", + "type": "string", + "tags": [], + "label": "src", + "description": [], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-common.CustomIntegrationIcon.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"eui\" | \"svg\"" + ], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-common.IntegrationCategoryCount", + "type": "Interface", + "tags": [], + "label": "IntegrationCategoryCount", + "description": [], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "customIntegrations", + "id": "def-common.IntegrationCategoryCount.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-common.IntegrationCategoryCount.id", + "type": "CompoundType", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"language_client\" | \"updates_available\"" + ], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false } ], "initialIsOpen": false @@ -483,13 +781,13 @@ "misc": [ { "parentPluginId": "customIntegrations", - "id": "def-common.Category", + "id": "def-common.IntegrationCategory", "type": "Type", "tags": [], - "label": "Category", + "label": "IntegrationCategory", "description": [], "signature": [ - "\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"updates_available\"" + "\"custom\" | \"aws\" | \"azure\" | \"cloud\" | \"config_management\" | \"containers\" | \"crm\" | \"datastore\" | \"elastic_stack\" | \"google_cloud\" | \"kubernetes\" | \"languages\" | \"message_queue\" | \"monitoring\" | \"network\" | \"notification\" | \"os_system\" | \"productivity\" | \"security\" | \"sample_data\" | \"support\" | \"ticketing\" | \"version_control\" | \"web\" | \"upload_file\" | \"language_client\" | \"updates_available\"" ], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false, @@ -525,10 +823,21 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.ROUTES_ADDABLECUSTOMINTEGRATIONS", + "id": "def-common.ROUTES_APPEND_CUSTOM_INTEGRATIONS", + "type": "string", + "tags": [], + "label": "ROUTES_APPEND_CUSTOM_INTEGRATIONS", + "description": [], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-common.ROUTES_REPLACEMENT_CUSTOM_INTEGRATIONS", "type": "string", "tags": [], - "label": "ROUTES_ADDABLECUSTOMINTEGRATIONS", + "label": "ROUTES_REPLACEMENT_CUSTOM_INTEGRATIONS", "description": [], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false, @@ -538,27 +847,29 @@ "objects": [ { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY", "type": "Object", "tags": [], - "label": "CATEGORY_DISPLAY", + "label": "INTEGRATION_CATEGORY_DISPLAY", "description": [], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false, "children": [ { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.aws", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.aws", "type": "string", "tags": [], "label": "aws", - "description": [], + "description": [ + "// Known EPR" + ], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.azure", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.azure", "type": "string", "tags": [], "label": "azure", @@ -568,7 +879,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.cloud", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.cloud", "type": "string", "tags": [], "label": "cloud", @@ -578,7 +889,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.config_management", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.config_management", "type": "string", "tags": [], "label": "config_management", @@ -588,7 +899,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.containers", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.containers", "type": "string", "tags": [], "label": "containers", @@ -598,7 +909,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.crm", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.crm", "type": "string", "tags": [], "label": "crm", @@ -608,7 +919,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.custom", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.custom", "type": "string", "tags": [], "label": "custom", @@ -618,7 +929,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.datastore", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.datastore", "type": "string", "tags": [], "label": "datastore", @@ -628,7 +939,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.elastic_stack", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.elastic_stack", "type": "string", "tags": [], "label": "elastic_stack", @@ -638,7 +949,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.google_cloud", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.google_cloud", "type": "string", "tags": [], "label": "google_cloud", @@ -648,7 +959,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.kubernetes", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.kubernetes", "type": "string", "tags": [], "label": "kubernetes", @@ -658,7 +969,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.languages", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.languages", "type": "string", "tags": [], "label": "languages", @@ -668,7 +979,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.message_queue", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.message_queue", "type": "string", "tags": [], "label": "message_queue", @@ -678,7 +989,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.monitoring", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.monitoring", "type": "string", "tags": [], "label": "monitoring", @@ -688,7 +999,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.network", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.network", "type": "string", "tags": [], "label": "network", @@ -698,7 +1009,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.notification", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.notification", "type": "string", "tags": [], "label": "notification", @@ -708,7 +1019,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.os_system", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.os_system", "type": "string", "tags": [], "label": "os_system", @@ -718,7 +1029,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.productivity", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.productivity", "type": "string", "tags": [], "label": "productivity", @@ -728,7 +1039,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.security", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.security", "type": "string", "tags": [], "label": "security", @@ -738,7 +1049,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.sample_data", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.sample_data", "type": "string", "tags": [], "label": "sample_data", @@ -748,7 +1059,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.support", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.support", "type": "string", "tags": [], "label": "support", @@ -758,7 +1069,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.ticketing", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.ticketing", "type": "string", "tags": [], "label": "ticketing", @@ -768,7 +1079,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.version_control", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.version_control", "type": "string", "tags": [], "label": "version_control", @@ -778,7 +1089,7 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.web", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.web", "type": "string", "tags": [], "label": "web", @@ -788,21 +1099,35 @@ }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.upload_file", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.upload_file", "type": "string", "tags": [], "label": "upload_file", + "description": [ + "// Kibana added" + ], + "path": "src/plugins/custom_integrations/common/index.ts", + "deprecated": false + }, + { + "parentPluginId": "customIntegrations", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.language_client", + "type": "string", + "tags": [], + "label": "language_client", "description": [], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false }, { "parentPluginId": "customIntegrations", - "id": "def-common.CATEGORY_DISPLAY.updates_available", + "id": "def-common.INTEGRATION_CATEGORY_DISPLAY.updates_available", "type": "string", "tags": [], "label": "updates_available", - "description": [], + "description": [ + "// Internal" + ], "path": "src/plugins/custom_integrations/common/index.ts", "deprecated": false } diff --git a/api_docs/custom_integrations.mdx b/api_docs/custom_integrations.mdx index 5b8de40465ce5..378d3b16c57fa 100644 --- a/api_docs/custom_integrations.mdx +++ b/api_docs/custom_integrations.mdx @@ -1,7 +1,7 @@ --- id: kibCustomIntegrationsPluginApi -slug: /kibana-dev-docs/customIntegrationsPluginApi -title: customIntegrations +slug: /kibana-dev-docs/api/customIntegrations +title: "customIntegrations" image: https://source.unsplash.com/400x175/?github summary: API docs for the customIntegrations plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Fleet](https://github.com/orgs/elastic/teams/fleet) for questions regar | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 66 | 0 | 66 | 0 | +| 85 | 1 | 78 | 1 | ## Client @@ -28,6 +28,9 @@ Contact [Fleet](https://github.com/orgs/elastic/teams/fleet) for questions regar ### Start +### Functions + + ## Server ### Setup diff --git a/api_docs/dashboard.json b/api_docs/dashboard.json index 2ad90b2f10273..f43e6e3923ca9 100644 --- a/api_docs/dashboard.json +++ b/api_docs/dashboard.json @@ -1291,7 +1291,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/dashboard/public/types.ts", @@ -1736,7 +1742,13 @@ "description": [], "signature": [ "() => ", - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts", "deprecated": false, @@ -1752,7 +1764,13 @@ "description": [], "signature": [ "() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts", @@ -1875,7 +1893,13 @@ "\nOptionally apply filers. NOTE: if given and used in conjunction with `dashboardId`, and the\nsaved dashboard has filters saved with it, this will _replace_ those filters." ], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "src/plugins/dashboard/public/url_generator.ts", @@ -1891,7 +1915,13 @@ "\nOptionally set a query. NOTE: if given and used in conjunction with `dashboardId`, and the\nsaved dashboard has a query saved with it, this will _replace_ that query." ], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/dashboard/public/url_generator.ts", @@ -2091,9 +2121,21 @@ "text": "RefreshInterval" }, " | undefined; filters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined; useHash?: boolean | undefined; preserveSavedFilters?: boolean | undefined; viewMode?: ", { "pluginId": "embeddable", @@ -2460,7 +2502,13 @@ "text": "SavedObjectsRepository" }, ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"deleteByNamespace\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"incrementCounter\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\">, \"find\">, embeddableType: string) => Promise<{ [key: string]: ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, "; }[]>" ], "path": "src/plugins/dashboard/server/usage/find_by_value_embeddables.ts", @@ -2590,7 +2638,13 @@ "text": "SavedDashboardPanel630" }, ")[], version: string, useMargins: boolean, uiState: { [key: string]: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "; } | undefined) => ", { "pluginId": "dashboard", diff --git a/api_docs/dashboard.mdx b/api_docs/dashboard.mdx index eb9ec6e8c1781..a1dd9651f17fb 100644 --- a/api_docs/dashboard.mdx +++ b/api_docs/dashboard.mdx @@ -1,7 +1,7 @@ --- id: kibDashboardPluginApi -slug: /kibana-dev-docs/dashboardPluginApi -title: dashboard +slug: /kibana-dev-docs/api/dashboard +title: "dashboard" image: https://source.unsplash.com/400x175/?github summary: API docs for the dashboard plugin date: 2020-11-16 diff --git a/api_docs/dashboard_enhanced.json b/api_docs/dashboard_enhanced.json index 01640b10df3ea..9712b25f7377a 100644 --- a/api_docs/dashboard_enhanced.json +++ b/api_docs/dashboard_enhanced.json @@ -610,7 +610,13 @@ "; navigate(options: ", "RedirectOptions", "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">): void; }" ], "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", @@ -709,7 +715,13 @@ "; navigate(options: ", "RedirectOptions", "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">): void; }" ], "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", diff --git a/api_docs/dashboard_enhanced.mdx b/api_docs/dashboard_enhanced.mdx index 51c37c177c4cd..e14d138cb43ae 100644 --- a/api_docs/dashboard_enhanced.mdx +++ b/api_docs/dashboard_enhanced.mdx @@ -1,7 +1,7 @@ --- id: kibDashboardEnhancedPluginApi -slug: /kibana-dev-docs/dashboardEnhancedPluginApi -title: dashboardEnhanced +slug: /kibana-dev-docs/api/dashboardEnhanced +title: "dashboardEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the dashboardEnhanced plugin date: 2020-11-16 diff --git a/api_docs/data.json b/api_docs/data.json index 104d39b72e4c1..31d0a919b2d44 100644 --- a/api_docs/data.json +++ b/api_docs/data.json @@ -241,7 +241,13 @@ "description": [], "signature": [ "Pick & Pick<{ type: ", { "pluginId": "data", @@ -608,7 +614,13 @@ "description": [], "signature": [ "() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -629,7 +641,13 @@ "description": [], "signature": [ "() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -940,9 +958,9 @@ "signature": [ "() => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" } @@ -1159,9 +1177,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" } @@ -1270,9 +1288,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" } @@ -1290,7 +1308,13 @@ "description": [], "signature": [ "Pick & Pick<{ type: string | ", { "pluginId": "data", @@ -1529,7 +1553,13 @@ "text": "AggConfig" }, ">(params: Pick & Pick<{ type: string | ", { "pluginId": "data", @@ -1560,7 +1590,13 @@ "description": [], "signature": [ "Pick & Pick<{ type: string | ", { "pluginId": "data", @@ -1991,7 +2027,13 @@ "description": [], "signature": [ "(forceNow?: Date | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, "[] | { meta: { index: string | undefined; params: {}; alias: string; disabled: boolean; negate: boolean; }; query: { bool: { should: { bool: { filter: { range: { [x: string]: { gte: string; lte: string; }; }; }[]; }; }[]; minimum_should_match: number; }; }; }[]" ], "path": "src/plugins/data/common/search/aggs/agg_configs.ts", @@ -2291,7 +2333,13 @@ "description": [], "signature": [ "(agg: TAggConfig, state?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined) => TAggConfig" ], "path": "src/plugins/data/common/search/aggs/param_types/agg.ts", @@ -2320,7 +2368,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/param_types/agg.ts", @@ -2563,7 +2617,7 @@ "section": "def-public.CoreStart", "text": "CoreStart" }, - ", { uiActions, fieldFormats }: ", + ", { uiActions, fieldFormats, dataViews }: ", "DataStartDependencies", ") => ", { @@ -2602,7 +2656,7 @@ "id": "def-public.DataPublicPlugin.start.$2", "type": "Object", "tags": [], - "label": "{ uiActions, fieldFormats }", + "label": "{ uiActions, fieldFormats, dataViews }", "description": [], "signature": [ "DataStartDependencies" @@ -2641,15 +2695,15 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DuplicateDataViewError", "text": "DuplicateDataViewError" }, " extends Error" ], - "path": "src/plugins/data/common/data_views/errors/duplicate_index_pattern.ts", + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", "deprecated": false, "children": [ { @@ -2662,7 +2716,7 @@ "signature": [ "any" ], - "path": "src/plugins/data/common/data_views/errors/duplicate_index_pattern.ts", + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", "deprecated": false, "children": [ { @@ -2675,7 +2729,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/errors/duplicate_index_pattern.ts", + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", "deprecated": false, "isRequired": true } @@ -2696,24 +2750,28 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, " extends ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" } ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" @@ -3196,31 +3254,31 @@ }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" }, { "plugin": "dataVisualizer", @@ -3230,6 +3288,14 @@ "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, { "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" @@ -3422,6 +3488,14 @@ "plugin": "maps", "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, { "plugin": "infra", "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" @@ -3702,6 +3776,18 @@ "plugin": "discover", "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, { "plugin": "lens", "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" @@ -3726,26 +3812,6 @@ "plugin": "savedObjects", "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" - }, { "plugin": "discover", "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" @@ -3990,6 +4056,26 @@ "plugin": "discover", "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, { "plugin": "visualizations", "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" @@ -4322,14 +4408,6 @@ "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, { "plugin": "ml", "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" @@ -5593,6 +5671,22 @@ { "plugin": "discover", "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" } ], "children": [], @@ -5609,24 +5703,284 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternField", "text": "IndexPatternField" }, " extends ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" } ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, { "plugin": "indexPatternFieldEditor", "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" @@ -6155,14 +6509,6 @@ "plugin": "maps", "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, { "plugin": "maps", "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" @@ -6763,221 +7109,53 @@ "plugin": "discover", "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" } ], "children": [], @@ -6994,24 +7172,28 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternsService", "text": "IndexPatternsService" }, " extends ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewsService", "text": "DataViewsService" } ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" @@ -7144,6 +7326,10 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" @@ -8187,7 +8373,13 @@ "description": [], "signature": [ "(esType: string) => ", - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/data/common/kbn_field_types/index.ts", "deprecated": true, @@ -8282,22 +8474,22 @@ "signature": [ "(specs?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, "[], shortDotsEnable?: boolean) => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPatternFieldList", "text": "IIndexPatternFieldList" } ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", + "path": "src/plugins/data_views/common/fields/field_list.ts", "deprecated": false, "children": [ { @@ -8309,15 +8501,15 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, "[]" ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", + "path": "src/plugins/data_views/common/fields/field_list.ts", "deprecated": false, "isRequired": true }, @@ -8331,7 +8523,7 @@ "signature": [ "boolean" ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", + "path": "src/plugins/data_views/common/fields/field_list.ts", "deprecated": false, "isRequired": true } @@ -8348,7 +8540,13 @@ "description": [], "signature": [ "(config: KibanaConfig) => ", - "EsQueryConfig" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + } ], "path": "src/plugins/data/common/es_query/get_es_query_config.ts", "deprecated": false, @@ -8507,9 +8705,9 @@ "signature": [ "(indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -8522,9 +8720,21 @@ "text": "TimeRange" }, ", options: { forceNow?: Date | undefined; fieldName?: string | undefined; } | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined" @@ -8541,9 +8751,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -8792,7 +9002,13 @@ "description": [], "signature": [ "(x: unknown) => x is ", - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/common/es_query/index.ts", "deprecated": true, @@ -8827,7 +9043,13 @@ "description": [], "signature": [ "(x: unknown) => x is ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -8918,7 +9140,13 @@ "description": [], "signature": [ "(x: unknown) => x is ", - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/data/common/query/is_query.ts", "deprecated": false, @@ -9097,7 +9325,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_query\", ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "> | undefined; }, \"filter\" | \"geo_bounding_box\"> & Pick<{ geo_bounding_box?: ({ type: \"geo_bounding_box\"; } & GeoBox) | ({ type: \"geo_bounding_box\"; } & { top_left: ", { "pluginId": "data", @@ -9139,7 +9373,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_query\", ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "> | undefined; }, never>, \"enabled\" | \"id\" | \"filter\" | \"schema\" | \"geo_bounding_box\" | \"json\" | \"customLabel\" | \"timeShift\">, ", "AggExpressionType", ", ", @@ -9159,7 +9399,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9241,7 +9487,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9291,7 +9543,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9405,7 +9663,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9487,7 +9751,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9569,7 +9839,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9619,7 +9895,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9733,7 +10015,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9815,7 +10103,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9929,7 +10223,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -9983,7 +10283,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10033,7 +10339,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10091,7 +10403,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10149,7 +10467,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10207,7 +10531,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10265,7 +10595,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10323,7 +10659,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10373,7 +10715,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10423,7 +10771,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10477,7 +10831,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10531,7 +10891,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10581,7 +10947,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10631,7 +11003,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10681,7 +11059,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10731,7 +11115,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10781,7 +11171,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10831,7 +11227,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10885,7 +11287,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10935,7 +11343,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -10985,7 +11399,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -11039,7 +11459,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -11089,7 +11515,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -11139,7 +11571,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -11189,7 +11627,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -11293,7 +11737,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/actions/apply_filter_action.ts", @@ -11364,7 +11814,13 @@ "({ data, negate, }: ", "ValueClickDataContext", ") => Promise<", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]>" ], "path": "src/plugins/data/public/types.ts", @@ -11397,7 +11853,13 @@ "(event: ", "RangeSelectDataContext", ") => Promise<", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]>" ], "path": "src/plugins/data/public/types.ts", @@ -11502,7 +11964,7 @@ "tags": [], "label": "GetFieldsOptions", "description": [], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false, "children": [ { @@ -11512,7 +11974,7 @@ "tags": [], "label": "pattern", "description": [], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -11525,7 +11987,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -11538,7 +12000,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -11551,7 +12013,7 @@ "signature": [ "string[] | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -11564,7 +12026,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -11577,7 +12039,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false } ], @@ -11822,19 +12284,101 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " extends ", - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": true, "removeBy": "8.1", "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" + }, { "plugin": "fleet", "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" @@ -12246,6 +12790,26 @@ { "plugin": "stackAlerts", "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/utils.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/utils.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/fields.mocks.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/fields.mocks.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/fields.mocks.ts" } ], "children": [ @@ -12259,7 +12823,7 @@ "signature": [ "number | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12272,7 +12836,7 @@ "signature": [ "string[] | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12285,7 +12849,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12298,7 +12862,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12311,7 +12875,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12324,7 +12888,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12337,7 +12901,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12350,7 +12914,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12363,7 +12927,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12376,7 +12940,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12389,7 +12953,7 @@ "signature": [ "any" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -12402,25 +12966,25 @@ "signature": [ "((options?: { getFormatterForField?: ((field: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, @@ -12434,15 +12998,15 @@ }, ") | undefined; } | undefined) => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, ") | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false, "children": [ { @@ -12452,7 +13016,7 @@ "tags": [], "label": "options", "description": [], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false, "children": [ { @@ -12465,25 +13029,25 @@ "signature": [ "((field: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, @@ -12497,7 +13061,7 @@ }, ") | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false } ] @@ -12519,18 +13083,36 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, " extends ", - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, { "plugin": "timelines", "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" @@ -13372,7 +13954,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -13384,15 +13966,15 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, "[]" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -13407,7 +13989,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -13420,7 +14002,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -13433,15 +14015,15 @@ "signature": [ "(() => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " | undefined) | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false, "children": [], "returnComment": [] @@ -13464,7 +14046,7 @@ }, " | undefined> | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -13479,25 +14061,25 @@ "signature": [ "((field: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, @@ -13511,7 +14093,7 @@ }, ") | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false, "children": [ { @@ -13523,30 +14105,30 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" } ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false, "isRequired": true } @@ -13861,9 +14443,9 @@ ], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -14131,7 +14713,13 @@ "\n{@link Query}" ], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/data/common/search/search_source/types.ts", @@ -14147,13 +14735,37 @@ "\n{@link Filter}" ], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | (() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined) | undefined" ], "path": "src/plugins/data/common/search/search_source/types.ts", @@ -14396,9 +15008,9 @@ ], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -14483,7 +15095,7 @@ "tags": [], "label": "TypeMeta", "description": [], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false, "children": [ { @@ -14496,7 +15108,7 @@ "signature": [ "Record> | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false }, { @@ -14509,7 +15121,7 @@ "signature": [ "{ rollup_index: string; } | undefined" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false } ], @@ -14535,9 +15147,6 @@ "tags": [], "label": "ES_FIELD_TYPES", "description": [], - "signature": [ - "ES_FIELD_TYPES" - ], "path": "node_modules/@kbn/field-types/target_types/types.d.ts", "deprecated": false, "initialIsOpen": false @@ -14551,9 +15160,14 @@ ], "label": "IndexPatternType", "description": [], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": true, - "references": [], + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + } + ], "initialIsOpen": false }, { @@ -14563,9 +15177,6 @@ "tags": [], "label": "KBN_FIELD_TYPES", "description": [], - "signature": [ - "KBN_FIELD_TYPES" - ], "path": "node_modules/@kbn/field-types/target_types/types.d.ts", "deprecated": false, "initialIsOpen": false @@ -14625,7 +15236,13 @@ "text": "IAggType" }, "; enabled?: boolean | undefined; id?: string | undefined; schema?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -14641,7 +15258,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -14701,7 +15324,7 @@ "signature": [ "{ [x: string]: { agg?: string | undefined; interval?: number | undefined; fixed_interval?: string | undefined; calendar_interval?: string | undefined; delay?: string | undefined; time_zone?: string | undefined; }; }" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false, "initialIsOpen": false }, @@ -14715,7 +15338,7 @@ "signature": [ "{ [x: string]: { agg?: string | undefined; interval?: number | undefined; fixed_interval?: string | undefined; calendar_interval?: string | undefined; delay?: string | undefined; time_zone?: string | undefined; }; }" ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": false, "initialIsOpen": false }, @@ -14747,9 +15370,9 @@ }, ") => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -14779,14 +15402,20 @@ }, ") => boolean; }; createAggConfigs: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, ", configStates?: Pick & Pick<{ type: string | ", { "pluginId": "data", @@ -14844,9 +15473,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -14865,33 +15506,33 @@ "signature": [ "{ get: (id: string) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; find: (search: string, size?: number) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, @@ -14899,9 +15540,9 @@ "EnsureDefaultDataView", "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewListItem", "text": "DataViewListItem" }, @@ -14909,81 +15550,81 @@ "SavedObject", ">[] | null | undefined>; getDefault: () => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.GetFieldsOptions", "text": "GetFieldsOptions" }, ") => Promise; getFieldsForIndexPattern: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", options?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.GetFieldsOptions", "text": "GetFieldsOptions" }, " | undefined) => Promise; refreshFields: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ") => Promise; fieldArrayToMap: (fields: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, "[], fieldAttrs?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldAttrs", "text": "FieldAttrs" }, " | undefined) => Record) => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, "; createAndSave: (spec: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", override?: boolean, skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; createSavedObject: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ", override?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; updateSavedObject: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": false, "initialIsOpen": false }, @@ -15097,7 +15738,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts", @@ -15114,9 +15761,21 @@ "label": "EsQueryConfig", "description": [], "signature": [ - "KueryQueryOptions", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, " & { allowLeadingWildcards: boolean; queryStringOptions: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "; ignoreFilterIfFieldNotInIndex: boolean; }" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -15181,11 +15840,29 @@ "description": [], "signature": [ "{ filters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[] | undefined; timeRange?: ", { "pluginId": "data", @@ -15210,9 +15887,21 @@ "label": "ExistsFilter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " & { meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; exists?: { field: string; } | undefined; }" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -15384,9 +16073,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -16925,18 +17626,6 @@ "plugin": "visualize", "path": "src/plugins/visualize/target/types/public/application/types.d.ts" }, - { - "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" - }, - { - "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" - }, - { - "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" - }, { "plugin": "discover", "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" @@ -17408,9 +18097,6 @@ ], "label": "IFieldSubType", "description": [], - "signature": [ - "IFieldSubType" - ], "path": "src/plugins/data/common/es_query/index.ts", "deprecated": true, "removeBy": "8.1", @@ -17457,99 +18143,53 @@ }, { "parentPluginId": "data", - "id": "def-public.INDEX_PATTERN_SAVED_OBJECT_TYPE", - "type": "string", + "id": "def-public.IndexPatternAttributes", + "type": "Type", "tags": [ "deprecated" ], - "label": "INDEX_PATTERN_SAVED_OBJECT_TYPE", + "label": "IndexPatternAttributes", "description": [], "signature": [ - "\"index-pattern\"" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + } ], - "path": "src/plugins/data/common/constants.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": true, "references": [ { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/deprecations/scripted_fields.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/deprecations/scripted_fields.ts" }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternAttributes", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IndexPatternAttributes", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": true, - "references": [ { "plugin": "discover", "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" @@ -17688,16 +18328,24 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewListItem", "text": "DataViewListItem" } ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_views.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, { "plugin": "indexPatternManagement", "path": "src/plugins/index_pattern_management/public/components/utils.ts" @@ -17765,10 +18413,16 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], - "path": "src/plugins/data/common/data_views/expressions/load_index_pattern.ts", + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", "deprecated": false, "initialIsOpen": false }, @@ -17784,33 +18438,33 @@ "signature": [ "{ get: (id: string) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; find: (search: string, size?: number) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, @@ -17818,9 +18472,9 @@ "EnsureDefaultDataView", "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewListItem", "text": "DataViewListItem" }, @@ -17828,81 +18482,81 @@ "SavedObject", ">[] | null | undefined>; getDefault: () => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.GetFieldsOptions", "text": "GetFieldsOptions" }, ") => Promise; getFieldsForIndexPattern: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", options?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.GetFieldsOptions", "text": "GetFieldsOptions" }, " | undefined) => Promise; refreshFields: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ") => Promise; fieldArrayToMap: (fields: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, "[], fieldAttrs?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldAttrs", "text": "FieldAttrs" }, " | undefined) => Record) => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, "; createAndSave: (spec: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", override?: boolean, skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; createSavedObject: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ", override?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; updateSavedObject: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, { "plugin": "discover", "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" @@ -18061,6 +18719,10 @@ "plugin": "discover", "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, { "plugin": "savedObjects", "path": "src/plugins/saved_objects/public/types.ts" @@ -18531,16 +19193,28 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" } ], - "path": "src/plugins/data/common/data_views/types.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/routes/create_index_pattern.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/routes/create_index_pattern.ts" + }, { "plugin": "observability", "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" @@ -18898,9 +19572,6 @@ ], "label": "KueryNode", "description": [], - "signature": [ - "KueryNode" - ], "path": "src/plugins/data/common/es_query/index.ts", "deprecated": true, "removeBy": "8.1", @@ -19118,7 +19789,13 @@ "label": "MatchAllFilter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " & { meta: ", "MatchAllFilterMeta", "; match_all: ", @@ -19140,7 +19817,13 @@ "description": [], "signature": [ "{ value: number; unit: ", - "Unit", + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, "; type: \"calendar\" | \"fixed\"; }" ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts", @@ -19157,7 +19840,13 @@ "label": "PhraseFilter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " & { meta: ", "PhraseFilterMeta", "; query: { match_phrase?: Record ", - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20044,13 +20780,31 @@ "description": [], "signature": [ "(field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ", params: ", "PhraseFilterValue", "[], indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ") => ", - "PhrasesFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhrasesFilter", + "text": "PhrasesFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20064,7 +20818,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", "deprecated": false @@ -20091,7 +20851,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", "deprecated": false @@ -20107,11 +20873,29 @@ "description": [], "signature": [ "(field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ", indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ") => ", - "ExistsFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ExistsFilter", + "text": "ExistsFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20125,7 +20909,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", "deprecated": false @@ -20138,7 +20928,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", "deprecated": false @@ -20154,15 +20950,39 @@ "description": [], "signature": [ "(field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ", value: ", "PhraseFilterValue", ", indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ") => ", - "PhraseFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, " | ", - "ScriptedPhraseFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedPhraseFilter", + "text": "ScriptedPhraseFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20176,7 +20996,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", "deprecated": false @@ -20202,7 +21028,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", "deprecated": false @@ -20218,7 +21050,13 @@ "description": [], "signature": [ "(query: (Record & { query_string?: { query: string; } | undefined; }) | undefined, index: string, alias: string) => ", - "QueryStringFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.QueryStringFilter", + "text": "QueryStringFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20268,15 +21106,45 @@ "description": [], "signature": [ "(field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ", params: ", - "RangeFilterParams", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + }, ", indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ", formattedValue?: string | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter" ], @@ -20292,7 +21160,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", "deprecated": false @@ -20305,7 +21179,13 @@ "label": "params", "description": [], "signature": [ - "RangeFilterParams" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", "deprecated": false @@ -20318,7 +21198,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", "deprecated": false @@ -20347,9 +21233,21 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => filter is ", - "PhraseFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20364,9 +21262,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", @@ -20383,9 +21293,21 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => filter is ", - "ExistsFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ExistsFilter", + "text": "ExistsFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20400,9 +21322,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", @@ -20419,9 +21353,21 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => filter is ", - "PhrasesFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhrasesFilter", + "text": "PhrasesFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20436,9 +21382,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", @@ -20455,9 +21413,21 @@ "description": [], "signature": [ "(filter?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | undefined) => filter is ", - "RangeFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20471,7 +21441,13 @@ "label": "filter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", @@ -20488,9 +21464,21 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => filter is ", - "MatchAllFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.MatchAllFilter", + "text": "MatchAllFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20505,9 +21493,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/match_all_filter.d.ts", @@ -20524,9 +21524,21 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => filter is ", - "MissingFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.MissingFilter", + "text": "MissingFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20541,9 +21553,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/missing_filter.d.ts", @@ -20560,9 +21584,21 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => filter is ", - "QueryStringFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.QueryStringFilter", + "text": "QueryStringFilter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20577,9 +21613,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", @@ -20596,7 +21644,13 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => boolean | undefined" ], "path": "src/plugins/data/public/deprecated.ts", @@ -20612,9 +21666,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", @@ -20631,9 +21697,21 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => { meta: { negate: boolean; alias?: string | null | undefined; disabled?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; query?: Record | undefined; }" ], "path": "src/plugins/data/public/deprecated.ts", @@ -20649,9 +21727,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", @@ -20668,9 +21758,21 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => ", - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -20685,9 +21787,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", @@ -20704,7 +21818,13 @@ "description": [], "signature": [ "(filter: ", - "PhraseFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, ") => string" ], "path": "src/plugins/data/public/deprecated.ts", @@ -20719,7 +21839,13 @@ "label": "filter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " & { meta: ", "PhraseFilterMeta", "; query: { match_phrase?: Record ", "PhraseFilterValue" ], @@ -20760,9 +21898,21 @@ "label": "filter", "description": [], "signature": [ - "PhraseFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, " | ", - "ScriptedPhraseFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedPhraseFilter", + "text": "ScriptedPhraseFilter" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", "deprecated": false @@ -20778,12 +21928,18 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ", indexPatterns: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -20802,9 +21958,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts", @@ -20819,9 +21987,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -20841,15 +22009,45 @@ "description": [], "signature": [ "(first: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], second: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], comparatorOptions?: ", - "FilterCompareOptions", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, " | undefined) => boolean" ], "path": "src/plugins/data/public/deprecated.ts", @@ -20864,9 +22062,21 @@ "label": "first", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", @@ -20880,9 +22090,21 @@ "label": "second", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", @@ -20896,7 +22118,13 @@ "label": "comparatorOptions", "description": [], "signature": [ - "FilterCompareOptions", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", @@ -20912,7 +22140,13 @@ "label": "COMPARE_ALL_OPTIONS", "description": [], "signature": [ - "FilterCompareOptions" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false @@ -20935,14 +22169,20 @@ }, ", field: string | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, ", values: any, operation: string, index: string) => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/deprecated.ts", @@ -20978,9 +22218,9 @@ "signature": [ "string | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" } @@ -21032,9 +22272,21 @@ "description": [], "signature": [ "(newFilters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined, oldFilters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined) => boolean" ], "path": "src/plugins/data/public/deprecated.ts", @@ -21049,7 +22301,13 @@ "label": "newFilters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "node_modules/@kbn/es-query/target_types/filters/helpers/only_disabled.d.ts", @@ -21063,7 +22321,13 @@ "label": "oldFilters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "node_modules/@kbn/es-query/target_types/filters/helpers/only_disabled.d.ts", @@ -21082,7 +22346,13 @@ "(timeFilter: Pick<", "Timefilter", ", \"isTimeRangeSelectorEnabled\" | \"isAutoRefreshSelectorEnabled\" | \"isTimeTouched\" | \"getEnabledUpdated$\" | \"getTimeUpdate$\" | \"getRefreshIntervalUpdate$\" | \"getAutoRefreshFetch$\" | \"getFetch$\" | \"getTime\" | \"getAbsoluteTime\" | \"setTime\" | \"getRefreshInterval\" | \"setRefreshInterval\" | \"createFilter\" | \"createRelativeFilter\" | \"getBounds\" | \"calculateBounds\" | \"getActiveBounds\" | \"enableTimeRangeSelector\" | \"disableTimeRangeSelector\" | \"enableAutoRefreshSelector\" | \"disableAutoRefreshSelector\" | \"getTimeDefaults\" | \"getRefreshIntervalDefaults\">, filter: ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, ") => void" ], "path": "src/plugins/data/public/deprecated.ts", @@ -21151,9 +22421,9 @@ }, ">) => void; createFilter: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -21166,16 +22436,28 @@ "text": "TimeRange" }, " | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined; createRelativeFilter: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -21188,9 +22470,21 @@ "text": "TimeRange" }, " | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined; getBounds: () => ", @@ -21254,11 +22548,29 @@ "label": "filter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " & { meta: ", - "RangeFilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterMeta", + "text": "RangeFilterMeta" + }, "; range: { [key: string]: ", - "RangeFilterParams", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + }, "; }; }" ], "path": "src/plugins/data/public/query/timefilter/lib/change_time_filter.ts", @@ -21275,7 +22587,13 @@ "description": [], "signature": [ "(filter: ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, ") => ", { "pluginId": "data", @@ -21297,11 +22615,29 @@ "label": "filter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " & { meta: ", - "RangeFilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterMeta", + "text": "RangeFilterMeta" + }, "; range: { [key: string]: ", - "RangeFilterParams", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + }, "; }; }" ], "path": "src/plugins/data/public/query/timefilter/lib/change_time_filter.ts", @@ -21318,9 +22654,21 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]) => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/deprecated.ts", @@ -21335,7 +22683,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.ts", @@ -21352,11 +22706,29 @@ "description": [], "signature": [ "(timeFieldName: string, filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]) => { restOfFilters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; timeRangeFilter: ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | undefined; }" ], "path": "src/plugins/data/public/deprecated.ts", @@ -21381,7 +22753,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts", @@ -21398,9 +22776,21 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], timeFieldName?: string | undefined) => { restOfFilters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; timeRange?: ", { "pluginId": "data", @@ -21423,7 +22813,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts", @@ -21592,7 +22988,13 @@ ", parseOptions?: Partial<", "KueryParseOptions", "> | undefined) => ", - "KueryNode" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -21638,11 +23040,29 @@ "description": [], "signature": [ "(node: ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, ", indexPattern?: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined, config?: ", - "KueryQueryOptions", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, " | undefined, context?: Record | undefined) => ", "QueryDslQueryContainer" ], @@ -21658,7 +23078,13 @@ "label": "node", "description": [], "signature": [ - "KueryNode" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } ], "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", "deprecated": false @@ -21671,7 +23097,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", @@ -21685,7 +23117,13 @@ "label": "config", "description": [], "signature": [ - "KueryQueryOptions", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", @@ -22045,19 +23483,61 @@ "description": [], "signature": [ "(indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined, queries: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[], filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], config?: ", - "EsQueryConfig", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + }, " | undefined) => { bool: ", - "BoolQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, "; }" ], "path": "src/plugins/data/public/deprecated.ts", @@ -22072,7 +23552,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", @@ -22086,9 +23572,21 @@ "label": "queries", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[]" ], "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", @@ -22102,9 +23600,21 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", @@ -22118,7 +23628,13 @@ "label": "config", "description": [], "signature": [ - "EsQueryConfig", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", @@ -22135,7 +23651,13 @@ "description": [], "signature": [ "(config: KibanaConfig) => ", - "EsQueryConfig" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -22165,11 +23687,29 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined, indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined, ignoreFilterIfFieldNotInIndex?: boolean | undefined) => ", - "BoolQuery" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + } ], "path": "src/plugins/data/public/deprecated.ts", "deprecated": false, @@ -22183,7 +23723,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", @@ -22197,7 +23743,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", @@ -22262,7 +23814,13 @@ "(query: ", "QueryDslQueryContainer", ", queryStringOptions: string | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ", dateFormatTZ?: string | undefined) => ", "QueryDslQueryContainer" ], @@ -22292,7 +23850,13 @@ "description": [], "signature": [ "string | ", - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", "deprecated": false @@ -22543,9 +24107,9 @@ "signature": [ "(field: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, @@ -22564,14 +24128,14 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" } ], - "path": "src/plugins/data/common/data_views/fields/utils.ts", + "path": "src/plugins/data_views/common/fields/utils.ts", "deprecated": false } ] @@ -22586,9 +24150,9 @@ "signature": [ "(field: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, @@ -22607,14 +24171,14 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" } ], - "path": "src/plugins/data/common/data_views/fields/utils.ts", + "path": "src/plugins/data_views/common/fields/utils.ts", "deprecated": false } ] @@ -22640,7 +24204,7 @@ "tags": [], "label": "indexPattern", "description": [], - "path": "src/plugins/data/common/data_views/lib/validate_data_view.ts", + "path": "src/plugins/data_views/common/lib/validate_data_view.ts", "deprecated": false } ] @@ -22655,9 +24219,9 @@ "signature": [ "(dataView: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, @@ -22676,14 +24240,14 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" } ], - "path": "src/plugins/data/common/data_views/data_views/flatten_hit.ts", + "path": "src/plugins/data_views/common/data_views/flatten_hit.ts", "deprecated": false }, { @@ -22696,7 +24260,7 @@ "signature": [ "{}" ], - "path": "src/plugins/data/common/data_views/data_views/flatten_hit.ts", + "path": "src/plugins/data_views/common/data_views/flatten_hit.ts", "deprecated": false }, { @@ -22709,7 +24273,7 @@ "signature": [ "WeakMap" ], - "path": "src/plugins/data/common/data_views/data_views/flatten_hit.ts", + "path": "src/plugins/data_views/common/data_views/flatten_hit.ts", "deprecated": false } ] @@ -23107,7 +24671,13 @@ "description": [], "signature": [ "(interval: string) => { value: number; unit: ", - "Unit", + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, "; type: \"calendar\" | \"fixed\"; }" ], "path": "src/plugins/data/public/index.ts", @@ -23754,33 +25324,33 @@ "signature": [ "{ get: (id: string) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; find: (search: string, size?: number) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, @@ -23788,9 +25358,9 @@ "EnsureDefaultDataView", "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewListItem", "text": "DataViewListItem" }, @@ -23798,81 +25368,81 @@ "SavedObject", ">[] | null | undefined>; getDefault: () => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.GetFieldsOptions", "text": "GetFieldsOptions" }, ") => Promise; getFieldsForIndexPattern: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", options?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.GetFieldsOptions", "text": "GetFieldsOptions" }, " | undefined) => Promise; refreshFields: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ") => Promise; fieldArrayToMap: (fields: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, "[], fieldAttrs?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldAttrs", "text": "FieldAttrs" }, " | undefined) => Record) => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, "; createAndSave: (spec: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", override?: boolean, skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; createSavedObject: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ", override?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; updateSavedObject: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, @@ -23953,33 +25523,33 @@ "signature": [ "{ get: (id: string) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; find: (search: string, size?: number) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, @@ -23987,9 +25557,9 @@ "EnsureDefaultDataView", "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewListItem", "text": "DataViewListItem" }, @@ -23997,81 +25567,81 @@ "SavedObject", ">[] | null | undefined>; getDefault: () => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.GetFieldsOptions", "text": "GetFieldsOptions" }, ") => Promise; getFieldsForIndexPattern: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", options?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.GetFieldsOptions", "text": "GetFieldsOptions" }, " | undefined) => Promise; refreshFields: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ") => Promise; fieldArrayToMap: (fields: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, "[], fieldAttrs?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldAttrs", "text": "FieldAttrs" }, " | undefined) => Record) => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, "; createAndSave: (spec: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" }, ", override?: boolean, skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; createSavedObject: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ", override?: boolean) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, ">; updateSavedObject: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, @@ -24849,7 +26419,13 @@ ], "signature": [ "{ addToQueryLog: (appName: string, { language, query }: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => void; filterManager: ", { "pluginId": "data", @@ -24890,9 +26466,9 @@ "TimefilterSetup", "; getEsQuery: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -24905,7 +26481,13 @@ "text": "TimeRange" }, " | undefined) => { bool: ", - "BoolQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, "; }; }" ], "path": "src/plugins/data/public/types.ts", @@ -25146,7 +26728,7 @@ "section": "def-server.CoreStart", "text": "CoreStart" }, - ", { fieldFormats }: ", + ", { fieldFormats, dataViews }: ", "DataPluginStartDependencies", ") => { fieldFormats: ", { @@ -25156,31 +26738,15 @@ "section": "def-server.FieldFormatsStart", "text": "FieldFormatsStart" }, - "; indexPatterns: { indexPatternsServiceFactory: (savedObjectsClient: Pick<", + "; indexPatterns: ", { - "pluginId": "core", + "pluginId": "dataViews", "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsClient", - "text": "SavedObjectsClient" - }, - ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">, elasticsearchClient: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.ElasticsearchClient", - "text": "ElasticsearchClient" + "docId": "kibDataViewsPluginApi", + "section": "def-server.DataViewsServerPluginStart", + "text": "DataViewsServerPluginStart" }, - ") => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IndexPatternsService", - "text": "IndexPatternsService" - }, - ">; }; search: ", + "; search: ", "ISearchStart", "<", { @@ -25228,7 +26794,7 @@ "id": "def-server.DataServerPlugin.start.$2", "type": "Object", "tags": [], - "label": "{ fieldFormats }", + "label": "{ fieldFormats, dataViews }", "description": [], "signature": [ "DataPluginStartDependencies" @@ -25267,22 +26833,22 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" }, " implements ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" } ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -25295,7 +26861,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25305,7 +26871,7 @@ "tags": [], "label": "title", "description": [], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25318,7 +26884,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25332,15 +26898,15 @@ ], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.TypeMeta", "text": "TypeMeta" }, " | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25352,23 +26918,23 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPatternFieldList", "text": "IIndexPatternFieldList" }, " & { toSpec: () => Record; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25381,7 +26947,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25396,10 +26962,31 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": true, "removeBy": "8.1", - "references": [] + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/routes/update_index_pattern.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/routes/update_index_pattern.ts" + } + ] }, { "parentPluginId": "data", @@ -25413,7 +27000,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25426,7 +27013,7 @@ "signature": [ "{ (hit: Record, type?: string | undefined): any; formatField: FormatFieldFn; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "returnComment": [], "children": [ @@ -25440,7 +27027,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25453,7 +27040,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false } ] @@ -25468,7 +27055,7 @@ "signature": [ "(hit: Record, fieldName: string) => any" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "returnComment": [], "children": [ @@ -25482,7 +27069,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25492,7 +27079,7 @@ "tags": [], "label": "fieldName", "description": [], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false } ] @@ -25507,7 +27094,7 @@ "signature": [ "(hit: Record, deep?: boolean | undefined) => Record" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "returnComment": [], "children": [ @@ -25521,7 +27108,7 @@ "signature": [ "{ [x: string]: any; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25534,7 +27121,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false } ] @@ -25549,7 +27136,7 @@ "signature": [ "string[]" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25564,7 +27151,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25576,15 +27163,15 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.SourceFilter", "text": "SourceFilter" }, "[] | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25596,7 +27183,7 @@ "description": [ "\nprevents errors when index pattern exists before indices" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { @@ -25609,7 +27196,7 @@ "signature": [ "any" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -25622,7 +27209,7 @@ "signature": [ "DataViewDeps" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -25641,7 +27228,7 @@ "signature": [ "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; intervalName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -25658,7 +27245,7 @@ "signature": [ "() => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -25673,15 +27260,15 @@ "signature": [ "() => { [x: string]: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldAttrSet", "text": "FieldAttrSet" }, "; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -25698,15 +27285,15 @@ "ScriptField", ">; docvalueFields: { field: string; format: string; }[]; runtimeFields: Record; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -25723,14 +27310,14 @@ "signature": [ "() => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewSpec", "text": "DataViewSpec" } ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -25747,7 +27334,7 @@ "signature": [ "() => { excludes: string[]; }" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -25766,10 +27353,19 @@ "signature": [ "(name: string, script: string, fieldType?: string) => Promise" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": true, "removeBy": "8.1", - "references": [], + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + } + ], "children": [ { "parentPluginId": "data", @@ -25783,7 +27379,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true }, @@ -25799,7 +27395,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true }, @@ -25813,7 +27409,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -25834,7 +27430,7 @@ "signature": [ "(fieldName: string) => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": true, "removeBy": "8.1", "references": [ @@ -25845,6 +27441,10 @@ { "plugin": "indexPatternManagement", "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" } ], "children": [ @@ -25858,7 +27458,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -25879,15 +27479,15 @@ "signature": [ "() => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, "[]" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": true, "removeBy": "8.1", "references": [ @@ -25927,6 +27527,10 @@ "plugin": "indexPatternManagement", "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts" @@ -25949,21 +27553,65 @@ "signature": [ "() => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, "[]" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": true, "removeBy": "8.1", "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_views.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/register_index_pattern_usage_collection.ts" + }, { "plugin": "indexPatternManagement", "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" } ], "children": [], @@ -25979,7 +27627,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -25994,7 +27642,7 @@ "signature": [ "() => boolean" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -26009,15 +27657,15 @@ "signature": [ "() => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, " | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -26032,15 +27680,15 @@ "signature": [ "(name: string) => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, " | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26053,7 +27701,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26070,7 +27718,7 @@ "signature": [ "() => Record> | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -26087,14 +27735,14 @@ "signature": [ "() => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewAttributes", "text": "DataViewAttributes" } ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [], "returnComment": [] @@ -26111,25 +27759,25 @@ "signature": [ "(field: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, @@ -26142,7 +27790,7 @@ "text": "FieldFormat" } ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26154,30 +27802,30 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" } ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26196,15 +27844,15 @@ "signature": [ "(name: string, runtimeField: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.RuntimeField", "text": "RuntimeField" }, ") => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26219,7 +27867,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true }, @@ -26234,14 +27882,14 @@ ], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.RuntimeField", "text": "RuntimeField" } ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26260,7 +27908,7 @@ "signature": [ "(name: string) => boolean" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26273,7 +27921,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26292,15 +27940,15 @@ "signature": [ "(name: string) => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.RuntimeField", "text": "RuntimeField" }, " | null" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26313,7 +27961,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26332,15 +27980,15 @@ "signature": [ "(newFields: Record) => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26353,15 +28001,15 @@ "signature": [ "Record" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26380,7 +28028,7 @@ "signature": [ "(name: string) => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26395,7 +28043,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26422,7 +28070,7 @@ }, " | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26435,7 +28083,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26452,15 +28100,15 @@ "signature": [ "(fieldName: string, attrName: K, value: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldAttrSet", "text": "FieldAttrSet" }, "[K]) => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26473,7 +28121,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true }, @@ -26487,7 +28135,7 @@ "signature": [ "K" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true }, @@ -26500,15 +28148,15 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldAttrSet", "text": "FieldAttrSet" }, "[K]" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26525,7 +28173,7 @@ "signature": [ "(fieldName: string, customLabel: string | null | undefined) => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26538,7 +28186,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true }, @@ -26552,7 +28200,7 @@ "signature": [ "string | null | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": false } @@ -26569,7 +28217,7 @@ "signature": [ "(fieldName: string, count: number | null | undefined) => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26582,7 +28230,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true }, @@ -26596,7 +28244,7 @@ "signature": [ "number | null | undefined" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": false } @@ -26621,7 +28269,7 @@ }, ">) => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26634,7 +28282,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true }, @@ -26655,7 +28303,7 @@ }, ">" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26672,7 +28320,7 @@ "signature": [ "(fieldName: string) => void" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { @@ -26685,7 +28333,7 @@ "signature": [ "string" ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "isRequired": true } @@ -26706,24 +28354,28 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, " extends ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataView", "text": "DataView" } ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" @@ -27206,31 +28858,31 @@ }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" }, { "plugin": "dataVisualizer", @@ -27240,6 +28892,14 @@ "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, { "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" @@ -27432,6 +29092,14 @@ "plugin": "maps", "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, { "plugin": "infra", "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" @@ -27712,6 +29380,18 @@ "plugin": "discover", "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, { "plugin": "lens", "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" @@ -27736,26 +29416,6 @@ "plugin": "savedObjects", "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" - }, { "plugin": "discover", "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" @@ -28000,6 +29660,26 @@ "plugin": "discover", "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, { "plugin": "visualizations", "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" @@ -28332,14 +30012,6 @@ "plugin": "dataVisualizer", "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, { "plugin": "ml", "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" @@ -29603,6 +31275,22 @@ { "plugin": "discover", "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" } ], "children": [], @@ -29619,24 +31307,284 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternField", "text": "IndexPatternField" }, " extends ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" } ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, { "plugin": "indexPatternFieldEditor", "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" @@ -30165,14 +32113,6 @@ "plugin": "maps", "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, { "plugin": "maps", "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" @@ -30773,224 +32713,348 @@ "plugin": "discover", "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" }, { "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher", + "type": "Class", + "tags": [], + "label": "IndexPatternsFetcher", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.Unnamed.$1", + "type": "CompoundType", + "tags": [], + "label": "elasticsearchClient", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.Unnamed.$2", + "type": "boolean", + "tags": [], + "label": "allowNoIndices", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard", + "type": "Function", + "tags": [ + "property", + "property", + "return" + ], + "label": "getFieldsForWildcard", + "description": [ + "\n Get a list of field objects for an index pattern that may contain wildcards\n" + ], + "signature": [ + "(options: { pattern: string | string[]; metaFields?: string[] | undefined; fieldCapsOptions?: { allow_no_indices: boolean; } | undefined; type?: string | undefined; rollupIndex?: string | undefined; }) => Promise<", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.FieldDescriptor", + "text": "FieldDescriptor" + }, + "[]>" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.pattern", + "type": "CompoundType", + "tags": [], + "label": "pattern", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.fieldCapsOptions", + "type": "Object", + "tags": [], + "label": "fieldCapsOptions", + "description": [], + "signature": [ + "{ allow_no_indices: boolean; } | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.rollupIndex", + "type": "string", + "tags": [], + "label": "rollupIndex", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern", + "type": "Function", + "tags": [ + "property", + "property", + "property", + "return" + ], + "label": "getFieldsForTimePattern", + "description": [ + "\n Get a list of field objects for a time pattern\n" + ], + "signature": [ + "(options: { pattern: string; metaFields: string[]; lookBack: number; interval: string; }) => Promise<", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.FieldDescriptor", + "text": "FieldDescriptor" + }, + "[]>" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.pattern", + "type": "string", + "tags": [], + "label": "pattern", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.lookBack", + "type": "number", + "tags": [], + "label": "lookBack", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.interval", + "type": "string", + "tags": [], + "label": "interval", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.validatePatternListActive", + "type": "Function", + "tags": [ + "return" + ], + "label": "validatePatternListActive", + "description": [ + "\n Returns an index pattern list of only those index pattern strings in the given list that return indices\n" + ], + "signature": [ + "(patternList: string[]) => Promise" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsFetcher.validatePatternListActive.$1", + "type": "Array", + "tags": [], + "label": "patternList", + "description": [ + "string[]" + ], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] } ], - "children": [], "initialIsOpen": false }, { @@ -31004,24 +33068,28 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternsService", "text": "IndexPatternsService" }, " extends ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewsService", "text": "DataViewsService" } ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" @@ -31154,6 +33222,10 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" @@ -31201,24 +33273,28 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternsService", "text": "IndexPatternsService" }, " extends ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewsService", "text": "DataViewsService" } ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": true, "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" @@ -31351,6 +33427,10 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, { "plugin": "visTypeTimeseries", "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" @@ -31400,7 +33480,13 @@ "description": [], "signature": [ "(esType: string) => ", - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/data/common/kbn_field_types/index.ts", "deprecated": true, @@ -31430,6 +33516,37 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "data", + "id": "def-server.getCapabilitiesForRollupIndices", + "type": "Function", + "tags": [], + "label": "getCapabilitiesForRollupIndices", + "description": [], + "signature": [ + "(indices: Record) => { [key: string]: any; }" + ], + "path": "src/plugins/data_views/server/fetcher/lib/map_capabilities.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.getCapabilitiesForRollupIndices.$1", + "type": "Object", + "tags": [], + "label": "indices", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/server/fetcher/lib/map_capabilities.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-server.getEsQueryConfig", @@ -31439,7 +33556,13 @@ "description": [], "signature": [ "(config: KibanaConfig) => ", - "EsQueryConfig" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + } ], "path": "src/plugins/data/common/es_query/get_es_query_config.ts", "deprecated": false, @@ -31472,9 +33595,9 @@ "signature": [ "(indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -31487,9 +33610,21 @@ "text": "TimeRange" }, ", options: { forceNow?: Date | undefined; fieldName?: string | undefined; } | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined" @@ -31506,9 +33641,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -31610,9 +33745,156 @@ ], "returnComment": [], "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-server.shouldReadFieldFromDocValues", + "type": "Function", + "tags": [], + "label": "shouldReadFieldFromDocValues", + "description": [], + "signature": [ + "(aggregatable: boolean, esType: string) => boolean" + ], + "path": "src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.shouldReadFieldFromDocValues.$1", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-server.shouldReadFieldFromDocValues.$2", + "type": "string", + "tags": [], + "label": "esType", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false } ], "interfaces": [ + { + "parentPluginId": "data", + "id": "def-server.FieldDescriptor", + "type": "Interface", + "tags": [], + "label": "FieldDescriptor", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.FieldDescriptor.aggregatable", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.FieldDescriptor.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.FieldDescriptor.readFromDocValues", + "type": "boolean", + "tags": [], + "label": "readFromDocValues", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.FieldDescriptor.searchable", + "type": "boolean", + "tags": [], + "label": "searchable", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.FieldDescriptor.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.FieldDescriptor.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.FieldDescriptor.subType", + "type": "Object", + "tags": [], + "label": "subType", + "description": [], + "signature": [ + "FieldSubType | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-server.FieldDescriptor.metadata_field", + "type": "CompoundType", + "tags": [], + "label": "metadata_field", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-server.IEsSearchRequest", @@ -31676,19 +33958,101 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " extends ", - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": true, "removeBy": "8.1", "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" + }, { "plugin": "fleet", "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" @@ -32100,6 +34464,26 @@ { "plugin": "stackAlerts", "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/utils.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/utils.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/fields.mocks.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/fields.mocks.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/fields.mocks.ts" } ], "children": [ @@ -32113,7 +34497,7 @@ "signature": [ "number | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32126,7 +34510,7 @@ "signature": [ "string[] | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32139,7 +34523,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32152,7 +34536,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32165,7 +34549,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32178,7 +34562,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32191,7 +34575,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32204,7 +34588,7 @@ "signature": [ "boolean | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32217,7 +34601,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32230,7 +34614,7 @@ "signature": [ "string | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32243,7 +34627,7 @@ "signature": [ "any" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false }, { @@ -32256,25 +34640,25 @@ "signature": [ "((options?: { getFormatterForField?: ((field: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, @@ -32288,15 +34672,15 @@ }, ") | undefined; } | undefined) => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, ") | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false, "children": [ { @@ -32306,7 +34690,7 @@ "tags": [], "label": "options", "description": [], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false, "children": [ { @@ -32319,25 +34703,25 @@ "signature": [ "((field: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.FieldSpec", "text": "FieldSpec" }, " | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, @@ -32351,7 +34735,7 @@ }, ") | undefined" ], - "path": "src/plugins/data/common/data_views/fields/types.ts", + "path": "src/plugins/data_views/common/fields/types.ts", "deprecated": false } ] @@ -32473,9 +34857,9 @@ ], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -32532,9 +34916,6 @@ "tags": [], "label": "ES_FIELD_TYPES", "description": [], - "signature": [ - "ES_FIELD_TYPES" - ], "path": "node_modules/@kbn/field-types/target_types/types.d.ts", "deprecated": false, "initialIsOpen": false @@ -32546,9 +34927,6 @@ "tags": [], "label": "KBN_FIELD_TYPES", "description": [], - "signature": [ - "KBN_FIELD_TYPES" - ], "path": "node_modules/@kbn/field-types/target_types/types.d.ts", "deprecated": false, "initialIsOpen": false @@ -32566,6 +34944,20 @@ } ], "misc": [ + { + "parentPluginId": "data", + "id": "def-server.DATA_VIEW_SAVED_OBJECT_TYPE", + "type": "string", + "tags": [], + "label": "DATA_VIEW_SAVED_OBJECT_TYPE", + "description": [], + "signature": [ + "\"index-pattern\"" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-server.ES_SEARCH_STRATEGY", @@ -32590,9 +34982,21 @@ "label": "EsQueryConfig", "description": [], "signature": [ - "KueryQueryOptions", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, " & { allowLeadingWildcards: boolean; queryStringOptions: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "; ignoreFilterIfFieldNotInIndex: boolean; }" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -32621,9 +35025,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -34162,18 +36578,6 @@ "plugin": "visualize", "path": "src/plugins/visualize/target/types/public/application/types.d.ts" }, - { - "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" - }, - { - "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" - }, - { - "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" - }, { "plugin": "discover", "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" @@ -34557,9 +36961,6 @@ ], "label": "IFieldSubType", "description": [], - "signature": [ - "IFieldSubType" - ], "path": "src/plugins/data/common/es_query/index.ts", "deprecated": true, "removeBy": "8.1", @@ -34577,99 +36978,53 @@ }, { "parentPluginId": "data", - "id": "def-server.INDEX_PATTERN_SAVED_OBJECT_TYPE", - "type": "string", + "id": "def-server.IndexPatternAttributes", + "type": "Type", "tags": [ "deprecated" ], - "label": "INDEX_PATTERN_SAVED_OBJECT_TYPE", + "label": "IndexPatternAttributes", "description": [], "signature": [ - "\"index-pattern\"" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + } ], - "path": "src/plugins/data/common/constants.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": true, "references": [ { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/deprecations/scripted_fields.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/deprecations/scripted_fields.ts" }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternAttributes", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IndexPatternAttributes", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": true, - "references": [ { "plugin": "discover", "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" @@ -34797,6 +37152,26 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternsServiceStart", + "type": "Type", + "tags": [], + "label": "IndexPatternsServiceStart", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.DataViewsServerPluginStart", + "text": "DataViewsServerPluginStart" + } + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-server.KueryNode", @@ -34806,9 +37181,6 @@ ], "label": "KueryNode", "description": [], - "signature": [ - "KueryNode" - ], "path": "src/plugins/data/common/es_query/index.ts", "deprecated": true, "removeBy": "8.1", @@ -35025,7 +37397,13 @@ "description": [], "signature": [ "{ value: number; unit: ", - "Unit", + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, "; type: \"calendar\" | \"fixed\"; }" ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts", @@ -35081,7 +37459,13 @@ "description": [], "signature": [ "(query: (Record & { query_string?: { query: string; } | undefined; }) | undefined, index: string, alias: string) => ", - "QueryStringFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.QueryStringFilter", + "text": "QueryStringFilter" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -35133,9 +37517,21 @@ "(indexPatternString: string, queryDsl: ", "QueryDslQueryContainer", ", disabled: boolean, negate: boolean, alias: string | null, store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, ") => ", - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -35205,7 +37601,13 @@ "label": "store", "description": [], "signature": [ - "FilterStateStore" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", "deprecated": false @@ -35221,7 +37623,13 @@ "description": [], "signature": [ "(isPinned: boolean, index?: string | undefined) => ", - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -35261,11 +37669,29 @@ "description": [], "signature": [ "(field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ", indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ") => ", - "ExistsFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ExistsFilter", + "text": "ExistsFilter" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -35279,7 +37705,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", "deprecated": false @@ -35292,7 +37724,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", "deprecated": false @@ -35308,17 +37746,53 @@ "description": [], "signature": [ "(indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ", field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ", type: ", - "FILTERS", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FILTERS", + "text": "FILTERS" + }, ", negate: boolean, disabled: boolean, params: ", - "Serializable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, ", alias: string | null, store?: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, " | undefined) => ", - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -35332,7 +37806,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", "deprecated": false @@ -35345,7 +37825,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", "deprecated": false @@ -35358,7 +37844,13 @@ "label": "type", "description": [], "signature": [ - "FILTERS" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FILTERS", + "text": "FILTERS" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", "deprecated": false @@ -35392,7 +37884,13 @@ "description": [], "signature": [ "string | number | boolean | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | ", "SerializableArray", " | null | undefined" @@ -35421,7 +37919,13 @@ "label": "store", "description": [], "signature": [ - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", @@ -35438,15 +37942,39 @@ "description": [], "signature": [ "(field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ", value: ", "PhraseFilterValue", ", indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ") => ", - "PhraseFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, " | ", - "ScriptedPhraseFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedPhraseFilter", + "text": "ScriptedPhraseFilter" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -35460,7 +37988,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", "deprecated": false @@ -35486,7 +38020,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", "deprecated": false @@ -35502,13 +38042,31 @@ "description": [], "signature": [ "(field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ", params: ", "PhraseFilterValue", "[], indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ") => ", - "PhrasesFilter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhrasesFilter", + "text": "PhrasesFilter" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -35522,7 +38080,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", "deprecated": false @@ -35549,7 +38113,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", "deprecated": false @@ -35565,15 +38135,45 @@ "description": [], "signature": [ "(field: ", - "DataViewFieldBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, ", params: ", - "RangeFilterParams", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + }, ", indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, ", formattedValue?: string | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter" ], @@ -35589,7 +38189,13 @@ "label": "field", "description": [], "signature": [ - "DataViewFieldBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", "deprecated": false @@ -35602,7 +38208,13 @@ "label": "params", "description": [], "signature": [ - "RangeFilterParams" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", "deprecated": false @@ -35615,7 +38227,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", "deprecated": false @@ -35644,7 +38262,13 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => boolean" ], "path": "src/plugins/data/server/deprecated.ts", @@ -35660,9 +38284,21 @@ "description": [], "signature": [ "{ $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; }" ], "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", @@ -35709,7 +38345,13 @@ ", parseOptions?: Partial<", "KueryParseOptions", "> | undefined) => ", - "KueryNode" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -35755,11 +38397,29 @@ "description": [], "signature": [ "(node: ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, ", indexPattern?: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined, config?: ", - "KueryQueryOptions", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, " | undefined, context?: Record | undefined) => ", "QueryDslQueryContainer" ], @@ -35775,7 +38435,13 @@ "label": "node", "description": [], "signature": [ - "KueryNode" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } ], "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", "deprecated": false @@ -35788,7 +38454,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", @@ -35802,7 +38474,13 @@ "label": "config", "description": [], "signature": [ - "KueryQueryOptions", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", @@ -35845,11 +38523,29 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined, indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined, ignoreFilterIfFieldNotInIndex?: boolean | undefined) => ", - "BoolQuery" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -35863,7 +38559,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", @@ -35877,7 +38579,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", @@ -35907,7 +38615,13 @@ "description": [], "signature": [ "(config: KibanaConfig) => ", - "EsQueryConfig" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + } ], "path": "src/plugins/data/server/deprecated.ts", "deprecated": false, @@ -35937,19 +38651,61 @@ "description": [], "signature": [ "(indexPattern: ", - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined, queries: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[], filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], config?: ", - "EsQueryConfig", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + }, " | undefined) => { bool: ", - "BoolQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, "; }" ], "path": "src/plugins/data/server/deprecated.ts", @@ -35964,7 +38720,13 @@ "label": "indexPattern", "description": [], "signature": [ - "DataViewBase", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", @@ -35978,9 +38740,21 @@ "label": "queries", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[]" ], "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", @@ -35994,9 +38768,21 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", @@ -36010,7 +38796,13 @@ "label": "config", "description": [], "signature": [ - "EsQueryConfig", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + }, " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", @@ -36397,11 +39189,11 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "server", - "docId": "kibDataDataViewsPluginApi", - "section": "def-server.IndexPatternsServiceStart", - "text": "IndexPatternsServiceStart" + "docId": "kibDataViewsPluginApi", + "section": "def-server.DataViewsServerPluginStart", + "text": "DataViewsServerPluginStart" } ], "path": "src/plugins/data/server/plugin.ts", @@ -36416,5062 +39208,19711 @@ "classes": [ { "parentPluginId": "data", - "id": "def-common.KbnFieldType", + "id": "def-common.DataView", "type": "Class", "tags": [], - "label": "KbnFieldType", + "label": "DataView", "description": [], "signature": [ - "KbnFieldType" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " implements ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" + } ], - "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, "children": [ { "parentPluginId": "data", - "id": "def-common.KbnFieldType.name", + "id": "def-common.DataView.id", "type": "string", "tags": [], - "label": "name", + "label": "id", "description": [], - "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.KbnFieldType.sortable", - "type": "boolean", + "id": "def-common.DataView.title", + "type": "string", "tags": [], - "label": "sortable", + "label": "title", "description": [], - "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.KbnFieldType.filterable", - "type": "boolean", + "id": "def-common.DataView.fieldFormatMap", + "type": "Object", "tags": [], - "label": "filterable", + "label": "fieldFormatMap", "description": [], - "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.KbnFieldType.esTypes", + "id": "def-common.DataView.typeMeta", "type": "Object", "tags": [], - "label": "esTypes", - "description": [], + "label": "typeMeta", + "description": [ + "\nOnly used by rollup indices, used by rollup specific endpoint to load field list" + ], "signature": [ - "readonly ", - "ES_FIELD_TYPES", - "[]" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.TypeMeta", + "text": "TypeMeta" + }, + " | undefined" ], - "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.KbnFieldType.Unnamed", - "type": "Function", + "id": "def-common.DataView.fields", + "type": "CompoundType", "tags": [], - "label": "Constructor", + "label": "fields", "description": [], "signature": [ - "any" - ], - "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", - "deprecated": false, - "children": [ { - "parentPluginId": "data", - "id": "def-common.KbnFieldType.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - "Partial<", - "KbnFieldTypeOptions", - "> | undefined" - ], - "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", - "deprecated": false, - "isRequired": false - } + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + }, + " & { toSpec: () => Record; }" ], - "returnComment": [] - } - ], - "initialIsOpen": false - } - ], - "functions": [ - { - "parentPluginId": "data", - "id": "def-common.buildCustomFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildCustomFilter", - "description": [], - "signature": [ - "(indexPatternString: string, queryDsl: ", - "QueryDslQueryContainer", - ", disabled: boolean, negate: boolean, alias: string | null, store: ", - "FilterStateStore", - ") => ", - "Filter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, { "parentPluginId": "data", - "id": "def-common.buildCustomFilter.$1", + "id": "def-common.DataView.timeFieldName", "type": "string", "tags": [], - "label": "indexPatternString", + "label": "timeFieldName", "description": [], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.buildCustomFilter.$2", - "type": "Object", - "tags": [], - "label": "queryDsl", + "id": "def-common.DataView.intervalName", + "type": "string", + "tags": [ + "deprecated" + ], + "label": "intervalName", "description": [], "signature": [ - "QueryDslQueryContainer" + "string | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/routes/update_index_pattern.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/routes/update_index_pattern.ts" + } + ] }, { "parentPluginId": "data", - "id": "def-common.buildCustomFilter.$3", - "type": "boolean", + "id": "def-common.DataView.type", + "type": "string", "tags": [], - "label": "disabled", - "description": [], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", + "label": "type", + "description": [ + "\nType is used to identify rollup index patterns" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.buildCustomFilter.$4", - "type": "boolean", + "id": "def-common.DataView.formatHit", + "type": "Function", "tags": [], - "label": "negate", + "label": "formatHit", "description": [], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", - "deprecated": false + "signature": [ + "{ (hit: Record, type?: string | undefined): any; formatField: FormatFieldFn; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.formatHit.$1", + "type": "Object", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.formatHit.$2", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + } + ] }, { "parentPluginId": "data", - "id": "def-common.buildCustomFilter.$5", - "type": "CompoundType", + "id": "def-common.DataView.formatField", + "type": "Function", "tags": [], - "label": "alias", + "label": "formatField", "description": [], "signature": [ - "string | null" + "(hit: Record, fieldName: string) => any" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.formatField.$1", + "type": "Object", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.formatField.$2", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + } + ] }, { "parentPluginId": "data", - "id": "def-common.buildCustomFilter.$6", - "type": "Enum", + "id": "def-common.DataView.flattenHit", + "type": "Function", "tags": [], - "label": "store", + "label": "flattenHit", "description": [], "signature": [ - "FilterStateStore" + "(hit: Record, deep?: boolean | undefined) => Record" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.buildEmptyFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildEmptyFilter", - "description": [], - "signature": [ - "(isPinned: boolean, index?: string | undefined) => ", - "Filter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.flattenHit.$1", + "type": "Object", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.flattenHit.$2", + "type": "CompoundType", + "tags": [], + "label": "deep", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + } + ] + }, { "parentPluginId": "data", - "id": "def-common.buildEmptyFilter.$1", - "type": "boolean", + "id": "def-common.DataView.metaFields", + "type": "Array", "tags": [], - "label": "isPinned", + "label": "metaFields", "description": [], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_empty_filter.d.ts", + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.buildEmptyFilter.$2", + "id": "def-common.DataView.version", "type": "string", "tags": [], - "label": "index", - "description": [], + "label": "version", + "description": [ + "\nSavedObject version" + ], "signature": [ "string | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_empty_filter.d.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.buildEsQuery", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildEsQuery", - "description": [], - "signature": [ - "(indexPattern: ", - "DataViewBase", - " | undefined, queries: ", - "Query", - " | ", - "Query", - "[], filters: ", - "Filter", - " | ", - "Filter", - "[], config?: ", - "EsQueryConfig", - " | undefined) => { bool: ", - "BoolQuery", - "; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.buildEsQuery.$1", - "type": "Object", + "id": "def-common.DataView.sourceFilters", + "type": "Array", "tags": [], - "label": "indexPattern", + "label": "sourceFilters", "description": [], "signature": [ - "DataViewBase", - " | undefined" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SourceFilter", + "text": "SourceFilter" + }, + "[] | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.buildEsQuery.$2", - "type": "CompoundType", + "id": "def-common.DataView.allowNoIndex", + "type": "boolean", "tags": [], - "label": "queries", - "description": [], - "signature": [ - "Query", - " | ", - "Query", - "[]" + "label": "allowNoIndex", + "description": [ + "\nprevents errors when index pattern exists before indices" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.buildEsQuery.$3", - "type": "CompoundType", + "id": "def-common.DataView.Unnamed", + "type": "Function", "tags": [], - "label": "filters", + "label": "Constructor", "description": [], "signature": [ - "Filter", - " | ", - "Filter", - "[]" + "any" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "{ spec = {}, fieldFormats, shortDotsEnable = false, metaFields = [] }", + "description": [], + "signature": [ + "DataViewDeps" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildEsQuery.$4", - "type": "CompoundType", + "id": "def-common.DataView.getOriginalSavedObjectBody", + "type": "Function", "tags": [], - "label": "config", - "description": [], + "label": "getOriginalSavedObjectBody", + "description": [ + "\nGet last saved saved object fields" + ], "signature": [ - "EsQueryConfig", - " | undefined" + "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; intervalName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.buildExistsFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildExistsFilter", - "description": [], - "signature": [ - "(field: ", - "DataViewFieldBase", - ", indexPattern: ", - "DataViewBase", - ") => ", - "ExistsFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.buildExistsFilter.$1", - "type": "Object", + "id": "def-common.DataView.resetOriginalSavedObjectBody", + "type": "Function", "tags": [], - "label": "field", - "description": [], + "label": "resetOriginalSavedObjectBody", + "description": [ + "\nReset last saved saved object fields. used after saving" + ], "signature": [ - "DataViewFieldBase" + "() => void" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildExistsFilter.$2", - "type": "Object", + "id": "def-common.DataView.getFieldAttrs", + "type": "Function", "tags": [], - "label": "indexPattern", + "label": "getFieldAttrs", "description": [], "signature": [ - "DataViewBase" + "() => { [x: string]: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "; }" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.buildFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildFilter", - "description": [], - "signature": [ - "(indexPattern: ", - "DataViewBase", - ", field: ", - "DataViewFieldBase", - ", type: ", - "FILTERS", - ", negate: boolean, disabled: boolean, params: ", - "Serializable", - ", alias: string | null, store?: ", - "FilterStateStore", - " | undefined) => ", - "Filter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.buildFilter.$1", - "type": "Object", + "id": "def-common.DataView.getComputedFields", + "type": "Function", "tags": [], - "label": "indexPattern", + "label": "getComputedFields", "description": [], "signature": [ - "DataViewBase" + "() => { storedFields: string[]; scriptFields: Record; docvalueFields: { field: string; format: string; }[]; runtimeFields: Record; }" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildFilter.$2", - "type": "Object", + "id": "def-common.DataView.toSpec", + "type": "Function", "tags": [], - "label": "field", - "description": [], + "label": "toSpec", + "description": [ + "\nCreate static representation of index pattern" + ], "signature": [ - "DataViewFieldBase" + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildFilter.$3", - "type": "Enum", + "id": "def-common.DataView.getSourceFiltering", + "type": "Function", "tags": [], - "label": "type", - "description": [], + "label": "getSourceFiltering", + "description": [ + "\nGet the source filtering configuration for that index." + ], "signature": [ - "FILTERS" + "() => { excludes: string[]; }" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.buildFilter.$4", - "type": "boolean", - "tags": [], - "label": "negate", - "description": [], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildFilter.$5", - "type": "boolean", - "tags": [], - "label": "disabled", - "description": [], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", - "deprecated": false + "id": "def-common.DataView.addScriptedField", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "addScriptedField", + "description": [ + "\nAdd scripted field to field list\n" + ], + "signature": [ + "(name: string, script: string, fieldType?: string) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + } + ], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.addScriptedField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "field name" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.addScriptedField.$2", + "type": "string", + "tags": [], + "label": "script", + "description": [ + "script code" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.addScriptedField.$3", + "type": "string", + "tags": [], + "label": "fieldType", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildFilter.$6", - "type": "CompoundType", - "tags": [], - "label": "params", - "description": [], + "id": "def-common.DataView.removeScriptedField", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "removeScriptedField", + "description": [ + "\nRemove scripted field from field list" + ], "signature": [ - "string | number | boolean | ", - "SerializableRecord", - " | ", - "SerializableArray", - " | null | undefined" + "(fieldName: string) => void" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + } + ], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.removeScriptedField.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildFilter.$7", - "type": "CompoundType", - "tags": [], - "label": "alias", - "description": [], + "id": "def-common.DataView.getNonScriptedFields", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getNonScriptedFields", + "description": [ + "\n" + ], "signature": [ - "string | null" + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts" + } + ], + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildFilter.$8", - "type": "CompoundType", - "tags": [], - "label": "store", - "description": [], + "id": "def-common.DataView.getScriptedFields", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getScriptedFields", + "description": [ + "\n" + ], "signature": [ - "FilterStateStore", - " | undefined" + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.buildPhraseFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildPhraseFilter", - "description": [], - "signature": [ - "(field: ", - "DataViewFieldBase", - ", value: ", - "PhraseFilterValue", - ", indexPattern: ", - "DataViewBase", - ") => ", - "PhraseFilter", - " | ", - "ScriptedPhraseFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_views.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/register_index_pattern_usage_collection.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + } + ], + "children": [], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.buildPhraseFilter.$1", - "type": "Object", + "id": "def-common.DataView.isTimeBased", + "type": "Function", "tags": [], - "label": "field", + "label": "isTimeBased", "description": [], "signature": [ - "DataViewFieldBase" + "() => boolean" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildPhraseFilter.$2", - "type": "CompoundType", + "id": "def-common.DataView.isTimeNanosBased", + "type": "Function", "tags": [], - "label": "value", + "label": "isTimeNanosBased", "description": [], "signature": [ - "string | number | boolean" + "() => boolean" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildPhraseFilter.$3", - "type": "Object", + "id": "def-common.DataView.getTimeField", + "type": "Function", "tags": [], - "label": "indexPattern", + "label": "getTimeField", "description": [], "signature": [ - "DataViewBase" + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.buildPhrasesFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildPhrasesFilter", - "description": [], - "signature": [ - "(field: ", - "DataViewFieldBase", - ", params: ", - "PhraseFilterValue", - "[], indexPattern: ", - "DataViewBase", - ") => ", - "PhrasesFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.buildPhrasesFilter.$1", - "type": "Object", + "id": "def-common.DataView.getFieldByName", + "type": "Function", "tags": [], - "label": "field", + "label": "getFieldByName", "description": [], "signature": [ - "DataViewFieldBase" + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.getFieldByName.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildPhrasesFilter.$2", - "type": "Array", + "id": "def-common.DataView.getAggregationRestrictions", + "type": "Function", "tags": [], - "label": "params", + "label": "getAggregationRestrictions", "description": [], "signature": [ - "PhraseFilterValue", - "[]" + "() => Record> | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildPhrasesFilter.$3", - "type": "Object", + "id": "def-common.DataView.getAsSavedObjectBody", + "type": "Function", "tags": [], - "label": "indexPattern", - "description": [], + "label": "getAsSavedObjectBody", + "description": [ + "\nReturns index pattern as saved object body for saving" + ], "signature": [ - "DataViewBase" + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + } ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.buildQueryFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildQueryFilter", - "description": [], - "signature": [ - "(query: (Record & { query_string?: { query: string; } | undefined; }) | undefined, index: string, alias: string) => ", - "QueryStringFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.buildQueryFilter.$1", - "type": "CompoundType", + "id": "def-common.DataView.getFormatterForField", + "type": "Function", "tags": [], - "label": "query", - "description": [], + "label": "getFormatterForField", + "description": [ + "\nProvide a field, get its formatter" + ], "signature": [ - "(Record & { query_string?: { query: string; } | undefined; }) | undefined" + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + } ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.getFormatterForField.$1", + "type": "CompoundType", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildQueryFilter.$2", - "type": "string", + "id": "def-common.DataView.addRuntimeField", + "type": "Function", "tags": [], - "label": "index", - "description": [], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", - "deprecated": false + "label": "addRuntimeField", + "description": [ + "\nAdd a runtime field - Appended to existing mapped field or a new field is\ncreated as appropriate" + ], + "signature": [ + "(name: string, runtimeField: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.addRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "Field name" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.addRuntimeField.$2", + "type": "Object", + "tags": [], + "label": "runtimeField", + "description": [ + "Runtime field definition" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildQueryFilter.$3", - "type": "string", + "id": "def-common.DataView.hasRuntimeField", + "type": "Function", "tags": [], - "label": "alias", - "description": [], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.buildQueryFromFilters", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildQueryFromFilters", - "description": [], - "signature": [ - "(filters: ", - "Filter", - "[] | undefined, indexPattern: ", - "DataViewBase", - " | undefined, ignoreFilterIfFieldNotInIndex?: boolean | undefined) => ", - "BoolQuery" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "label": "hasRuntimeField", + "description": [ + "\nChecks if runtime field exists" + ], + "signature": [ + "(name: string) => boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.hasRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.buildQueryFromFilters.$1", - "type": "Array", + "id": "def-common.DataView.getRuntimeField", + "type": "Function", "tags": [], - "label": "filters", - "description": [], + "label": "getRuntimeField", + "description": [ + "\nReturns runtime field if exists" + ], "signature": [ - "Filter", - "[] | undefined" + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | null" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.getRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildQueryFromFilters.$2", - "type": "Object", + "id": "def-common.DataView.replaceAllRuntimeFields", + "type": "Function", "tags": [], - "label": "indexPattern", - "description": [], + "label": "replaceAllRuntimeFields", + "description": [ + "\nReplaces all existing runtime fields with new fields" + ], "signature": [ - "DataViewBase", - " | undefined" + "(newFields: Record) => void" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.replaceAllRuntimeFields.$1", + "type": "Object", + "tags": [], + "label": "newFields", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildQueryFromFilters.$3", - "type": "CompoundType", + "id": "def-common.DataView.removeRuntimeField", + "type": "Function", "tags": [], - "label": "ignoreFilterIfFieldNotInIndex", - "description": [], + "label": "removeRuntimeField", + "description": [ + "\nRemove a runtime field - removed from mapped field or removed unmapped\nfield as appropriate. Doesn't clear associated field attributes." + ], "signature": [ - "boolean | undefined" + "(name: string) => void" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.buildRangeFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "buildRangeFilter", - "description": [], - "signature": [ - "(field: ", - "DataViewFieldBase", - ", params: ", - "RangeFilterParams", - ", indexPattern: ", - "DataViewBase", - ", formattedValue?: string | undefined) => ", - "RangeFilter", - " | ", - "ScriptedRangeFilter", - " | ", - "MatchAllRangeFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.removeRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "- Field name to remove" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.buildRangeFilter.$1", - "type": "Object", + "id": "def-common.DataView.getFormatterForFieldNoDefault", + "type": "Function", "tags": [], - "label": "field", - "description": [], + "label": "getFormatterForFieldNoDefault", + "description": [ + "\nGet formatter for a given field name. Return undefined if none exists" + ], "signature": [ - "DataViewFieldBase" + "(fieldname: string) => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + " | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.getFormatterForFieldNoDefault.$1", + "type": "string", + "tags": [], + "label": "fieldname", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildRangeFilter.$2", - "type": "Object", + "id": "def-common.DataView.setFieldAttrs", + "type": "Function", "tags": [], - "label": "params", + "label": "setFieldAttrs", "description": [], "signature": [ - "RangeFilterParams" + "(fieldName: string, attrName: K, value: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "[K]) => void" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.setFieldAttrs.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.setFieldAttrs.$2", + "type": "Uncategorized", + "tags": [], + "label": "attrName", + "description": [], + "signature": [ + "K" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.setFieldAttrs.$3", + "type": "Uncategorized", + "tags": [], + "label": "value", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "[K]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildRangeFilter.$3", - "type": "Object", + "id": "def-common.DataView.setFieldCustomLabel", + "type": "Function", "tags": [], - "label": "indexPattern", + "label": "setFieldCustomLabel", "description": [], "signature": [ - "DataViewBase" + "(fieldName: string, customLabel: string | null | undefined) => void" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.setFieldCustomLabel.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.setFieldCustomLabel.$2", + "type": "CompoundType", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.buildRangeFilter.$4", - "type": "string", + "id": "def-common.DataView.setFieldCount", + "type": "Function", "tags": [], - "label": "formattedValue", + "label": "setFieldCount", "description": [], "signature": [ - "string | undefined" + "(fieldName: string, count: number | null | undefined) => void" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.castEsToKbnFieldTypeName", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "castEsToKbnFieldTypeName", - "description": [], - "signature": [ - "(esType: string) => ", - "KBN_FIELD_TYPES" - ], - "path": "src/plugins/data/common/kbn_field_types/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.setFieldCount.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.setFieldCount.$2", + "type": "CompoundType", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | null | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" - } - ], - "returnComment": [], - "children": [ { "parentPluginId": "data", - "id": "def-common.castEsToKbnFieldTypeName.$1", - "type": "string", + "id": "def-common.DataView.setFieldFormat", + "type": "Function", "tags": [], - "label": "esType", + "label": "setFieldFormat", "description": [], - "path": "node_modules/@kbn/field-types/target_types/kbn_field_types.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.cellHasFormulas", - "type": "Function", - "tags": [], - "label": "cellHasFormulas", - "description": [], - "signature": [ - "(val: string) => boolean" - ], - "path": "src/plugins/data/common/exports/formula_checks.ts", - "deprecated": false, - "children": [ + "signature": [ + "(fieldName: string, format: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + ">) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.setFieldFormat.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataView.setFieldFormat.$2", + "type": "Object", + "tags": [], + "label": "format", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.cellHasFormulas.$1", - "type": "string", + "id": "def-common.DataView.deleteFieldFormat", + "type": "Function", "tags": [], - "label": "val", + "label": "deleteFieldFormat", "description": [], "signature": [ - "string" + "(fieldName: string) => void" ], - "path": "src/plugins/data/common/exports/formula_checks.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": false, - "isRequired": true + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataView.deleteFieldFormat.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] } ], - "returnComment": [], "initialIsOpen": false }, { "parentPluginId": "data", - "id": "def-common.compareFilters", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "compareFilters", + "id": "def-common.DataViewField", + "type": "Class", + "tags": [], + "label": "DataViewField", "description": [], "signature": [ - "(first: ", - "Filter", - " | ", - "Filter", - "[], second: ", - "Filter", - " | ", - "Filter", - "[], comparatorOptions?: ", - "FilterCompareOptions", - " | undefined) => boolean" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " implements ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, "children": [ { "parentPluginId": "data", - "id": "def-common.compareFilters.$1", - "type": "CompoundType", + "id": "def-common.DataViewField.spec", + "type": "Object", "tags": [], - "label": "first", + "label": "spec", "description": [], "signature": [ - "Filter", - " | ", - "Filter", - "[]" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.compareFilters.$2", - "type": "CompoundType", + "id": "def-common.DataViewField.Unnamed", + "type": "Function", "tags": [], - "label": "second", + "label": "Constructor", "description": [], "signature": [ - "Filter", - " | ", - "Filter", - "[]" + "any" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewField.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.compareFilters.$3", - "type": "Object", + "id": "def-common.DataViewField.count", + "type": "number", "tags": [], - "label": "comparatorOptions", - "description": [], - "signature": [ - "FilterCompareOptions", - " | undefined" + "label": "count", + "description": [ + "\nCount is used for field popularity" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.createEscapeValue", - "type": "Function", - "tags": [], - "label": "createEscapeValue", - "description": [], - "signature": [ - "(quoteValues: boolean, escapeFormulas: boolean) => (val: RawValue) => string" - ], - "path": "src/plugins/data/common/exports/escape_value.ts", - "deprecated": false, - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.createEscapeValue.$1", - "type": "boolean", + "id": "def-common.DataViewField.count", + "type": "number", "tags": [], - "label": "quoteValues", + "label": "count", "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/exports/escape_value.ts", - "deprecated": false, - "isRequired": true + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.createEscapeValue.$2", - "type": "boolean", + "id": "def-common.DataViewField.runtimeField", + "type": "Object", "tags": [], - "label": "escapeFormulas", + "label": "runtimeField", "description": [], "signature": [ - "boolean" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | undefined" ], - "path": "src/plugins/data/common/exports/escape_value.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.datatableToCSV", - "type": "Function", - "tags": [], - "label": "datatableToCSV", - "description": [], - "signature": [ - "({ columns, rows }: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.Datatable", - "text": "Datatable" + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, - ", { csvSeparator, quoteValues, formatFactory, raw, escapeFormulaValues }: CSVOptions) => string" - ], - "path": "src/plugins/data/common/exports/export_csv.tsx", - "deprecated": false, - "children": [ { "parentPluginId": "data", - "id": "def-common.datatableToCSV.$1", + "id": "def-common.DataViewField.runtimeField", "type": "Object", "tags": [], - "label": "{ columns, rows }", + "label": "runtimeField", "description": [], "signature": [ { - "pluginId": "expressions", + "pluginId": "dataViews", "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.Datatable", - "text": "Datatable" - } + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | undefined" ], - "path": "src/plugins/data/common/exports/export_csv.tsx", - "deprecated": false, - "isRequired": true + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.datatableToCSV.$2", - "type": "Object", + "id": "def-common.DataViewField.script", + "type": "string", "tags": [], - "label": "{ csvSeparator, quoteValues, formatFactory, raw, escapeFormulaValues }", - "description": [], + "label": "script", + "description": [ + "\nScript field code" + ], "signature": [ - "CSVOptions" + "string | undefined" ], - "path": "src/plugins/data/common/exports/export_csv.tsx", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.decorateQuery", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "decorateQuery", - "description": [], - "signature": [ - "(query: ", - "QueryDslQueryContainer", - ", queryStringOptions: string | ", - "SerializableRecord", - ", dateFormatTZ?: string | undefined) => ", - "QueryDslQueryContainer" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, { "parentPluginId": "data", - "id": "def-common.decorateQuery.$1", - "type": "Object", + "id": "def-common.DataViewField.script", + "type": "string", "tags": [], - "label": "query", + "label": "script", "description": [], "signature": [ - "QueryDslQueryContainer" + "string | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.decorateQuery.$2", + "id": "def-common.DataViewField.lang", "type": "CompoundType", "tags": [], - "label": "queryStringOptions", - "description": [], + "label": "lang", + "description": [ + "\nScript field language" + ], "signature": [ - "string | ", - "SerializableRecord" + "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.decorateQuery.$3", - "type": "string", + "id": "def-common.DataViewField.lang", + "type": "CompoundType", "tags": [], - "label": "dateFormatTZ", + "label": "lang", "description": [], "signature": [ - "string | undefined" + "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.dedupFilters", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "dedupFilters", - "description": [], - "signature": [ - "(existingFilters: ", - "Filter", - "[], filters: ", - "Filter", - "[], comparatorOptions?: ", - "FilterCompareOptions", - " | undefined) => ", - "Filter", - "[]" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.dedupFilters.$1", - "type": "Array", + "id": "def-common.DataViewField.customLabel", + "type": "string", "tags": [], - "label": "existingFilters", + "label": "customLabel", "description": [], "signature": [ - "Filter", - "[]" + "string | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/dedup_filters.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.dedupFilters.$2", - "type": "Array", + "id": "def-common.DataViewField.customLabel", + "type": "string", "tags": [], - "label": "filters", + "label": "customLabel", "description": [], "signature": [ - "Filter", - "[]" + "string | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/dedup_filters.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.dedupFilters.$3", + "id": "def-common.DataViewField.conflictDescriptions", "type": "Object", "tags": [], - "label": "comparatorOptions", - "description": [], + "label": "conflictDescriptions", + "description": [ + "\nDescription of field type conflicts across different indices in the same index pattern" + ], "signature": [ - "FilterCompareOptions", - " | undefined" + "Record | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/dedup_filters.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.disableFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "disableFilter", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => ", - "Filter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.disableFilter.$1", + "id": "def-common.DataViewField.conflictDescriptions", "type": "Object", "tags": [], - "label": "filter", + "label": "conflictDescriptions", "description": [], "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "Record | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.enableFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "enableFilter", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => ", - "Filter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.enableFilter.$1", - "type": "Object", + "id": "def-common.DataViewField.name", + "type": "string", "tags": [], - "label": "filter", + "label": "name", "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.fromKueryExpression", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "fromKueryExpression", - "description": [], - "signature": [ - "(expression: string | ", - "QueryDslQueryContainer", - ", parseOptions?: Partial<", - "KueryParseOptions", - "> | undefined) => ", - "KueryNode" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.fromKueryExpression.$1", - "type": "CompoundType", + "id": "def-common.DataViewField.displayName", + "type": "string", "tags": [], - "label": "expression", + "label": "displayName", "description": [], - "signature": [ - "string | ", - "QueryDslQueryContainer" - ], - "path": "node_modules/@kbn/es-query/target_types/kuery/ast/ast.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.fromKueryExpression.$2", - "type": "Object", + "id": "def-common.DataViewField.type", + "type": "string", "tags": [], - "label": "parseOptions", + "label": "type", "description": [], - "signature": [ - "Partial<", - "KueryParseOptions", - "> | undefined" - ], - "path": "node_modules/@kbn/es-query/target_types/kuery/ast/ast.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.getEsQueryConfig", - "type": "Function", - "tags": [], - "label": "getEsQueryConfig", - "description": [], - "signature": [ - "(config: KibanaConfig) => ", - "EsQueryConfig" - ], - "path": "src/plugins/data/common/es_query/get_es_query_config.ts", - "deprecated": false, - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.getEsQueryConfig.$1", - "type": "Object", + "id": "def-common.DataViewField.esTypes", + "type": "Array", "tags": [], - "label": "config", + "label": "esTypes", "description": [], "signature": [ - "KibanaConfig" + "string[] | undefined" ], - "path": "src/plugins/data/common/es_query/get_es_query_config.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.getFilterableKbnTypeNames", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getFilterableKbnTypeNames", - "description": [], - "signature": [ - "() => string[]" - ], - "path": "src/plugins/data/common/kbn_field_types/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.getKbnFieldType", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getKbnFieldType", - "description": [], - "signature": [ - "(typeName: string) => ", - "KbnFieldType" - ], - "path": "src/plugins/data/common/kbn_field_types/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, { "parentPluginId": "data", - "id": "def-common.getKbnFieldType.$1", - "type": "string", + "id": "def-common.DataViewField.scripted", + "type": "boolean", "tags": [], - "label": "typeName", + "label": "scripted", "description": [], - "path": "node_modules/@kbn/field-types/target_types/kbn_field_types.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.getKbnTypeNames", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getKbnTypeNames", - "description": [], - "signature": [ - "() => string[]" - ], - "path": "src/plugins/data/common/kbn_field_types/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts" - } - ], - "returnComment": [], - "children": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.getPhraseFilterField", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getPhraseFilterField", - "description": [], - "signature": [ - "(filter: ", - "PhraseFilter", - ") => string" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "parentPluginId": "data", + "id": "def-common.DataViewField.searchable", + "type": "boolean", + "tags": [], + "label": "searchable", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, { "parentPluginId": "data", - "id": "def-common.getPhraseFilterField.$1", - "type": "CompoundType", + "id": "def-common.DataViewField.aggregatable", + "type": "boolean", "tags": [], - "label": "filter", + "label": "aggregatable", "description": [], - "signature": [ - "Filter", - " & { meta: ", - "PhraseFilterMeta", - "; query: { match_phrase?: Record | undefined; match?: Record | undefined; }; }" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.getPhraseFilterValue", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getPhraseFilterValue", - "description": [], - "signature": [ - "(filter: ", - "PhraseFilter", - " | ", - "ScriptedPhraseFilter", - ") => ", - "PhraseFilterValue" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.getPhraseFilterValue.$1", - "type": "CompoundType", + "id": "def-common.DataViewField.readFromDocValues", + "type": "boolean", "tags": [], - "label": "filter", + "label": "readFromDocValues", "description": [], - "signature": [ - "PhraseFilter", - " | ", - "ScriptedPhraseFilter" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isExistsFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isExistsFilter", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => filter is ", - "ExistsFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.isExistsFilter.$1", + "id": "def-common.DataViewField.subType", "type": "Object", "tags": [], - "label": "filter", + "label": "subType", "description": [], "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, + " | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isFilter", - "description": [], - "signature": [ - "(x: unknown) => x is ", - "Filter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.isFilter.$1", - "type": "Unknown", + "id": "def-common.DataViewField.isMapped", + "type": "CompoundType", "tags": [], - "label": "x", - "description": [], + "label": "isMapped", + "description": [ + "\nIs the field part of the index mapping?" + ], "signature": [ - "unknown" + "boolean | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isFilterDisabled", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isFilterDisabled", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => boolean" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + }, { "parentPluginId": "data", - "id": "def-common.isFilterDisabled.$1", - "type": "Object", + "id": "def-common.DataViewField.sortable", + "type": "boolean", "tags": [], - "label": "filter", + "label": "sortable", "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "path": "src/plugins/data_views/common/fields/data_view_field.ts", "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isFilterPinned", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isFilterPinned", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => boolean | undefined" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ + }, { - "plugin": "visualize", - "path": "src/plugins/visualize/common/locator.ts" + "parentPluginId": "data", + "id": "def-common.DataViewField.filterable", + "type": "boolean", + "tags": [], + "label": "filterable", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "visualize", - "path": "src/plugins/visualize/common/locator.ts" + "parentPluginId": "data", + "id": "def-common.DataViewField.visualizable", + "type": "boolean", + "tags": [], + "label": "visualizable", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false }, { - "plugin": "visualize", - "path": "src/plugins/visualize/common/locator.ts" - } - ], - "returnComment": [], - "children": [ + "parentPluginId": "data", + "id": "def-common.DataViewField.deleteCount", + "type": "Function", + "tags": [], + "label": "deleteCount", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.isFilterPinned.$1", - "type": "Object", + "id": "def-common.DataViewField.toJSON", + "type": "Function", "tags": [], - "label": "filter", + "label": "toJSON", "description": [], "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "() => { count: number; script: string | undefined; lang: \"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined; conflictDescriptions: Record | undefined; name: string; type: string; esTypes: string[] | undefined; scripted: boolean; searchable: boolean; aggregatable: boolean; readFromDocValues: boolean; subType: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, + " | undefined; customLabel: string | undefined; }" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewField.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [], + "signature": [ + "({ getFormatterForField, }?: { getFormatterForField?: ((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined; }) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewField.toSpec.$1", + "type": "Object", + "tags": [], + "label": "{\n getFormatterForField,\n }", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewField.toSpec.$1.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] } ], "initialIsOpen": false }, { "parentPluginId": "data", - "id": "def-common.isFilters", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isFilters", + "id": "def-common.DataViewSavedObjectConflictError", + "type": "Class", + "tags": [], + "label": "DataViewSavedObjectConflictError", "description": [], "signature": [ - "(x: unknown) => x is ", - "Filter", - "[]" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSavedObjectConflictError", + "text": "DataViewSavedObjectConflictError" }, - { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" - } + " extends Error" ], - "returnComment": [], + "path": "src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts", + "deprecated": false, "children": [ { "parentPluginId": "data", - "id": "def-common.isFilters.$1", - "type": "Unknown", + "id": "def-common.DataViewSavedObjectConflictError.Unnamed", + "type": "Function", "tags": [], - "label": "x", + "label": "Constructor", "description": [], "signature": [ - "unknown" + "any" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewSavedObjectConflictError.Unnamed.$1", + "type": "string", + "tags": [], + "label": "savedObjectId", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] } ], "initialIsOpen": false }, { "parentPluginId": "data", - "id": "def-common.isMatchAllFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isMatchAllFilter", + "id": "def-common.DataViewsService", + "type": "Class", + "tags": [], + "label": "DataViewsService", "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => filter is ", - "MatchAllFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, "children": [ { "parentPluginId": "data", - "id": "def-common.isMatchAllFilter.$1", - "type": "Object", + "id": "def-common.DataViewsService.ensureDefaultDataView", + "type": "Function", "tags": [], - "label": "filter", + "label": "ensureDefaultDataView", "description": [], "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "() => Promise | undefined" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/match_all_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isMissingFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isMissingFilter", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => filter is ", - "MissingFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "returnComment": [], + "children": [] + }, { "parentPluginId": "data", - "id": "def-common.isMissingFilter.$1", - "type": "Object", + "id": "def-common.DataViewsService.Unnamed", + "type": "Function", "tags": [], - "label": "filter", + "label": "Constructor", "description": [], "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "any" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/missing_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isPhraseFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isPhraseFilter", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => filter is ", - "PhraseFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.isPhraseFilter.$1", - "type": "Object", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "{\n uiSettings,\n savedObjectsClient,\n apiClient,\n fieldFormats,\n onNotification,\n onError,\n onRedirectNoIndexPattern = () => {},\n }", + "description": [], + "signature": [ + "IndexPatternsServiceDeps" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isPhrasesFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isPhrasesFilter", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => filter is ", - "PhrasesFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.isPhrasesFilter.$1", - "type": "Object", + "id": "def-common.DataViewsService.getIds", + "type": "Function", "tags": [], - "label": "filter", - "description": [], + "label": "getIds", + "description": [ + "\nGet list of index pattern ids" + ], "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "(refresh?: boolean) => Promise" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isQueryStringFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isQueryStringFilter", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => filter is ", - "QueryStringFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.getIds.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.isQueryStringFilter.$1", - "type": "Object", + "id": "def-common.DataViewsService.getTitles", + "type": "Function", "tags": [], - "label": "filter", - "description": [], + "label": "getTitles", + "description": [ + "\nGet list of index pattern titles" + ], "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "(refresh?: boolean) => Promise" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isRangeFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isRangeFilter", - "description": [], - "signature": [ - "(filter?: ", - "Filter", - " | undefined) => filter is ", - "RangeFilter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.getTitles.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.isRangeFilter.$1", - "type": "Object", + "id": "def-common.DataViewsService.find", + "type": "Function", "tags": [], - "label": "filter", - "description": [], + "label": "find", + "description": [ + "\nFind and load index patterns by title" + ], "signature": [ - "Filter", - " | undefined" + "(search: string, size?: number) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>" ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.luceneStringToDsl", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "luceneStringToDsl", - "description": [], - "signature": [ - "(query: string | ", - "QueryDslQueryContainer", - ") => ", - "QueryDslQueryContainer" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.find.$1", + "type": "string", + "tags": [], + "label": "search", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.find.$2", + "type": "number", + "tags": [], + "label": "size", + "description": [], + "signature": [ + "number" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPattern[]" + ] + }, { "parentPluginId": "data", - "id": "def-common.luceneStringToDsl.$1", - "type": "CompoundType", + "id": "def-common.DataViewsService.getIdsWithTitle", + "type": "Function", "tags": [], - "label": "query", - "description": [], + "label": "getIdsWithTitle", + "description": [ + "\nGet list of index pattern ids with titles" + ], "signature": [ - "string | ", - "QueryDslQueryContainer" + "(refresh?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]>" ], - "path": "node_modules/@kbn/es-query/target_types/es_query/lucene_string_to_dsl.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.onlyDisabledFiltersChanged", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "onlyDisabledFiltersChanged", - "description": [], - "signature": [ - "(newFilters?: ", - "Filter", - "[] | undefined, oldFilters?: ", - "Filter", - "[] | undefined) => boolean" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.getIdsWithTitle.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.onlyDisabledFiltersChanged.$1", - "type": "Array", + "id": "def-common.DataViewsService.clearCache", + "type": "Function", "tags": [], - "label": "newFilters", - "description": [], + "label": "clearCache", + "description": [ + "\nClear index pattern list cache" + ], "signature": [ - "Filter", - "[] | undefined" + "(id?: string | undefined) => void" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/only_disabled.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.clearCache.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "optionally clear a single id" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.onlyDisabledFiltersChanged.$2", - "type": "Array", + "id": "def-common.DataViewsService.getCache", + "type": "Function", "tags": [], - "label": "oldFilters", + "label": "getCache", "description": [], "signature": [ - "Filter", - "[] | undefined" + "() => Promise<", + "SavedObject", + ">[] | null | undefined>" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/only_disabled.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.pinFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "pinFilter", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => ", - "Filter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.pinFilter.$1", - "type": "Object", + "id": "def-common.DataViewsService.getDefault", + "type": "Function", "tags": [], - "label": "filter", - "description": [], + "label": "getDefault", + "description": [ + "\nGet default index pattern" + ], "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "() => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.shortenDottedString", - "type": "Function", - "tags": [ - "return" - ], - "label": "shortenDottedString", - "description": [ - "\nConvert a dot.notated.string into a short\nversion (d.n.string)\n" - ], - "signature": [ - "(input: any) => any" - ], - "path": "src/plugins/data/common/utils/shorten_dotted_string.ts", - "deprecated": false, - "children": [ + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "data", - "id": "def-common.shortenDottedString.$1", - "type": "Any", + "id": "def-common.DataViewsService.getDefaultId", + "type": "Function", "tags": [], - "label": "input", - "description": [], + "label": "getDefaultId", + "description": [ + "\nGet default index pattern id" + ], "signature": [ - "any" + "() => Promise" ], - "path": "src/plugins/data/common/utils/shorten_dotted_string.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.tableHasFormulas", - "type": "Function", - "tags": [], - "label": "tableHasFormulas", - "description": [], - "signature": [ - "(columns: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.DatatableColumn", - "text": "DatatableColumn" + "children": [], + "returnComment": [] }, - "[], rows: Record[]) => boolean" - ], - "path": "src/plugins/data/common/exports/formula_checks.ts", - "deprecated": false, - "children": [ { "parentPluginId": "data", - "id": "def-common.tableHasFormulas.$1", - "type": "Array", + "id": "def-common.DataViewsService.setDefault", + "type": "Function", "tags": [], - "label": "columns", - "description": [], + "label": "setDefault", + "description": [ + "\nOptionally set default index pattern, unless force = true" + ], "signature": [ + "(id: string | null, force?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.DatatableColumn", - "text": "DatatableColumn" + "parentPluginId": "data", + "id": "def-common.DataViewsService.setDefault.$1", + "type": "CompoundType", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string | null" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false }, - "[]" + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.setDefault.$2", + "type": "boolean", + "tags": [], + "label": "force", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } ], - "path": "src/plugins/data/common/exports/formula_checks.ts", - "deprecated": false, - "isRequired": true + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.tableHasFormulas.$2", - "type": "Array", + "id": "def-common.DataViewsService.hasUserDataView", + "type": "Function", "tags": [], - "label": "rows", - "description": [], + "label": "hasUserDataView", + "description": [ + "\nChecks if current user has a user created index pattern ignoring fleet's server default index patterns" + ], "signature": [ - "Record[]" + "() => Promise" ], - "path": "src/plugins/data/common/exports/formula_checks.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.toElasticsearchQuery", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "toElasticsearchQuery", - "description": [], - "signature": [ - "(node: ", - "KueryNode", - ", indexPattern?: ", - "DataViewBase", - " | undefined, config?: ", - "KueryQueryOptions", - " | undefined, context?: Record | undefined) => ", - "QueryDslQueryContainer" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.toElasticsearchQuery.$1", - "type": "Object", - "tags": [], - "label": "node", - "description": [], - "signature": [ - "KueryNode" - ], - "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", - "deprecated": false + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.toElasticsearchQuery.$2", - "type": "Object", + "id": "def-common.DataViewsService.getFieldsForWildcard", + "type": "Function", "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - "DataViewBase", - " | undefined" + "label": "getFieldsForWildcard", + "description": [ + "\nGet field list by providing { pattern }" ], - "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.toElasticsearchQuery.$3", - "type": "Object", - "tags": [], - "label": "config", - "description": [], "signature": [ - "KueryQueryOptions", - " | undefined" + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise" ], - "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.getFieldsForWildcard.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "FieldSpec[]" + ] }, { "parentPluginId": "data", - "id": "def-common.toElasticsearchQuery.$4", - "type": "Object", + "id": "def-common.DataViewsService.getFieldsForIndexPattern", + "type": "Function", "tags": [], - "label": "context", - "description": [], - "signature": [ - "Record | undefined" + "label": "getFieldsForIndexPattern", + "description": [ + "\nGet field list by providing an index patttern (or spec)" ], - "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.toggleFilterDisabled", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "toggleFilterDisabled", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => { meta: { disabled: boolean; alias?: string | null | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; $state?: { store: ", - "FilterStateStore", - "; } | undefined; query?: Record | undefined; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.toggleFilterDisabled.$1", - "type": "Object", - "tags": [], - "label": "filter", - "description": [], "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.toggleFilterNegated", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "toggleFilterNegated", - "description": [], - "signature": [ - "(filter: ", - "Filter", - ") => { meta: { negate: boolean; alias?: string | null | undefined; disabled?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; $state?: { store: ", - "FilterStateStore", - "; } | undefined; query?: Record | undefined; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.toggleFilterNegated.$1", - "type": "Object", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.getFieldsForIndexPattern.$1", + "type": "CompoundType", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.getFieldsForIndexPattern.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.uniqFilters", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "uniqFilters", - "description": [], - "signature": [ - "(filters: ", - "Filter", - "[], comparatorOptions?: ", - "FilterCompareOptions", - " | undefined) => ", - "Filter", - "[]" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "returnComment": [ + "FieldSpec[]" + ] + }, { "parentPluginId": "data", - "id": "def-common.uniqFilters.$1", - "type": "Array", + "id": "def-common.DataViewsService.refreshFields", + "type": "Function", "tags": [], - "label": "filters", - "description": [], + "label": "refreshFields", + "description": [ + "\nRefresh field list for a given index pattern" + ], "signature": [ - "Filter", - "[]" + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/uniq_filters.d.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.refreshFields.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.uniqFilters.$2", - "type": "Object", + "id": "def-common.DataViewsService.fieldArrayToMap", + "type": "Function", "tags": [], - "label": "comparatorOptions", - "description": [], + "label": "fieldArrayToMap", + "description": [ + "\nConverts field array to map" + ], "signature": [ - "FilterCompareOptions", - " | undefined" + "(fields: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => Record" ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/uniq_filters.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - } - ], - "interfaces": [ - { - "parentPluginId": "data", - "id": "def-common.FilterValueFormatter", - "type": "Interface", - "tags": [], - "label": "FilterValueFormatter", - "description": [], - "path": "src/plugins/data/common/types.ts", - "deprecated": false, - "children": [ + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.fieldArrayToMap.$1", + "type": "Array", + "tags": [], + "label": "fields", + "description": [ + ": FieldSpec[]" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.fieldArrayToMap.$2", + "type": "Object", + "tags": [], + "label": "fieldAttrs", + "description": [ + ": FieldAttrs" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "Record" + ] + }, { "parentPluginId": "data", - "id": "def-common.FilterValueFormatter.convert", + "id": "def-common.DataViewsService.savedObjectToSpec", "type": "Function", "tags": [], - "label": "convert", - "description": [], + "label": "savedObjectToSpec", + "description": [ + "\nConverts index pattern saved object to index pattern spec" + ], "signature": [ - "(value: any) => string" + "(savedObject: ", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } ], - "path": "src/plugins/data/common/types.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": false, - "returnComment": [], "children": [ { "parentPluginId": "data", - "id": "def-common.FilterValueFormatter.convert.$1", - "type": "Any", + "id": "def-common.DataViewsService.savedObjectToSpec.$1", + "type": "Object", "tags": [], - "label": "value", + "label": "savedObject", "description": [], "signature": [ - "any" + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">" ], - "path": "src/plugins/data/common/types.ts", - "deprecated": false + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true } + ], + "returnComment": [ + "IndexPatternSpec" ] }, { "parentPluginId": "data", - "id": "def-common.FilterValueFormatter.getConverterFor", + "id": "def-common.DataViewsService.get", "type": "Function", "tags": [], - "label": "getConverterFor", - "description": [], + "label": "get", + "description": [ + "\nGet an index pattern by id. Cache optimized" + ], "signature": [ - "(type: string) => FilterFormatterFunction" + "(id: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" ], - "path": "src/plugins/data/common/types.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": false, "children": [ { "parentPluginId": "data", - "id": "def-common.FilterValueFormatter.getConverterFor.$1", + "id": "def-common.DataViewsService.get.$1", "type": "string", "tags": [], - "label": "type", + "label": "id", "description": [], "signature": [ "string" ], - "path": "src/plugins/data/common/types.ts", + "path": "src/plugins/data_views/common/data_views/data_views.ts", "deprecated": false, "isRequired": true } ], "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.KbnFieldTypeOptions", - "type": "Interface", - "tags": [], - "label": "KbnFieldTypeOptions", - "description": [], - "signature": [ - "KbnFieldTypeOptions" - ], - "path": "node_modules/@kbn/field-types/target_types/types.d.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.KbnFieldTypeOptions.sortable", - "type": "boolean", - "tags": [], - "label": "sortable", - "description": [], - "path": "node_modules/@kbn/field-types/target_types/types.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.KbnFieldTypeOptions.filterable", - "type": "boolean", - "tags": [], - "label": "filterable", - "description": [], - "path": "node_modules/@kbn/field-types/target_types/types.d.ts", - "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.KbnFieldTypeOptions.name", - "type": "string", + "id": "def-common.DataViewsService.create", + "type": "Function", "tags": [], - "label": "name", - "description": [], - "path": "node_modules/@kbn/field-types/target_types/types.d.ts", - "deprecated": false + "label": "create", + "description": [ + "\nCreate a new index pattern instance" + ], + "signature": [ + "(spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.create.$1", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.create.$2", + "type": "boolean", + "tags": [], + "label": "skipFetchFields", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPattern" + ] }, { "parentPluginId": "data", - "id": "def-common.KbnFieldTypeOptions.esTypes", - "type": "Array", + "id": "def-common.DataViewsService.createAndSave", + "type": "Function", "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "ES_FIELD_TYPES", - "[]" - ], - "path": "node_modules/@kbn/field-types/target_types/types.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObject", - "type": "Interface", - "tags": [], - "label": "SavedObject", - "description": [], - "signature": [ - "SavedObject", - "" - ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObject.id", - "type": "string", - "tags": [], - "label": "id", - "description": [ - "The ID of this Saved Object, guaranteed to be unique for all objects of the same `type`" - ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObject.type", - "type": "string", - "tags": [], - "label": "type", - "description": [ - " The type of Saved Object. Each plugin can define it's own custom Saved Object types." - ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObject.version", - "type": "string", - "tags": [], - "label": "version", - "description": [ - "An opaque version number which changes on each successful write operation. Can be used for implementing optimistic concurrency control." - ], - "signature": [ - "string | undefined" - ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObject.updated_at", - "type": "string", - "tags": [], - "label": "updated_at", - "description": [ - "Timestamp of the last time this document had been updated." + "label": "createAndSave", + "description": [ + "\nCreate a new index pattern and save it right away" ], "signature": [ - "string | undefined" + "(spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObject.error", - "type": "Object", - "tags": [], - "label": "error", - "description": [], - "signature": [ - "SavedObjectError", - " | undefined" + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.createAndSave.$1", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.createAndSave.$2", + "type": "boolean", + "tags": [], + "label": "override", + "description": [ + "Overwrite if existing index pattern exists." + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.createAndSave.$3", + "type": "boolean", + "tags": [], + "label": "skipFetchFields", + "description": [ + "Whether to skip field refresh step." + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.SavedObject.attributes", - "type": "Uncategorized", + "id": "def-common.DataViewsService.createSavedObject", + "type": "Function", "tags": [], - "label": "attributes", + "label": "createSavedObject", "description": [ - "{@inheritdoc SavedObjectAttributes}" + "\nSave a new index pattern" ], "signature": [ - "T" - ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObject.references", - "type": "Array", - "tags": [], - "label": "references", - "description": [ - "{@inheritdoc SavedObjectReference}" + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", override?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" ], - "signature": [ - "SavedObjectReference", - "[]" + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.createSavedObject.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.createSavedObject.$2", + "type": "boolean", + "tags": [], + "label": "override", + "description": [ + "Overwrite if existing index pattern exists" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.SavedObject.migrationVersion", - "type": "Object", + "id": "def-common.DataViewsService.updateSavedObject", + "type": "Function", "tags": [], - "label": "migrationVersion", + "label": "updateSavedObject", "description": [ - "{@inheritdoc SavedObjectsMigrationVersion}" + "\nSave existing index pattern. Will attempt to merge differences if there are conflicts" ], "signature": [ - "SavedObjectsMigrationVersion", - " | undefined" - ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObject.coreMigrationVersion", - "type": "string", - "tags": [], - "label": "coreMigrationVersion", - "description": [ - "A semver value that is used when upgrading objects between Kibana versions." + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise" ], - "signature": [ - "string | undefined" + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.updateSavedObject.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.updateSavedObject.$2", + "type": "number", + "tags": [], + "label": "saveAttempts", + "description": [], + "signature": [ + "number" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.updateSavedObject.$3", + "type": "boolean", + "tags": [], + "label": "ignoreErrors", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-common.SavedObject.namespaces", - "type": "Array", + "id": "def-common.DataViewsService.delete", + "type": "Function", "tags": [], - "label": "namespaces", + "label": "delete", "description": [ - "\nSpace(s) that this saved object exists in. This attribute is not used for \"global\" saved object types which are registered with\n`namespaceType: 'agnostic'`." + "\nDeletes an index pattern from .kibana index" ], "signature": [ - "string[] | undefined" - ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObject.originId", - "type": "string", - "tags": [], - "label": "originId", - "description": [ - "\nThe ID of the saved object this originated from. This is set if this object's `id` was regenerated; that can happen during migration\nfrom a legacy single-namespace type, or during import. It is only set during migration or create operations. This is used during import\nto ensure that ID regeneration is deterministic, so saved objects will be overwritten if they are imported multiple times into a given\nspace." + "(indexPatternId: string) => Promise<{}>" ], - "signature": [ - "string | undefined" + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewsService.delete.$1", + "type": "string", + "tags": [], + "label": "indexPatternId", + "description": [ + ": Id of kibana Index Pattern to delete" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } ], - "path": "src/core/types/saved_objects.ts", - "deprecated": false + "returnComment": [] } ], "initialIsOpen": false - } - ], - "enums": [ - { - "parentPluginId": "data", - "id": "def-common.ES_FIELD_TYPES", - "type": "Enum", - "tags": [], - "label": "ES_FIELD_TYPES", - "description": [], - "signature": [ - "ES_FIELD_TYPES" - ], - "path": "node_modules/@kbn/field-types/target_types/types.d.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FilterStateStore", - "type": "Enum", - "tags": [], - "label": "FilterStateStore", - "description": [ - "\n Filter,\nAn enum to denote whether a filter is specific to an application's context or whether it should be applied globally." - ], - "signature": [ - "FilterStateStore" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/types.d.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.KBN_FIELD_TYPES", - "type": "Enum", - "tags": [], - "label": "KBN_FIELD_TYPES", - "description": [], - "signature": [ - "KBN_FIELD_TYPES" - ], - "path": "node_modules/@kbn/field-types/target_types/types.d.ts", - "deprecated": false, - "initialIsOpen": false - } - ], - "misc": [ - { - "parentPluginId": "data", - "id": "def-common.CSV_FORMULA_CHARS", - "type": "Array", - "tags": [], - "label": "CSV_FORMULA_CHARS", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data/common/exports/constants.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.CSV_MIME_TYPE", - "type": "string", - "tags": [], - "label": "CSV_MIME_TYPE", - "description": [], - "signature": [ - "\"text/plain;charset=utf-8\"" - ], - "path": "src/plugins/data/common/exports/export_csv.tsx", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.CustomFilter", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "CustomFilter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "initialIsOpen": false }, { "parentPluginId": "data", - "id": "def-common.DATA_VIEW_SAVED_OBJECT_TYPE", - "type": "string", + "id": "def-common.DuplicateDataViewError", + "type": "Class", "tags": [], - "label": "DATA_VIEW_SAVED_OBJECT_TYPE", + "label": "DuplicateDataViewError", "description": [], "signature": [ - "\"index-pattern\"" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DuplicateDataViewError", + "text": "DuplicateDataViewError" + }, + " extends Error" ], - "path": "src/plugins/data/common/constants.ts", + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.DEFAULT_QUERY_LANGUAGE", - "type": "string", - "tags": [], - "label": "DEFAULT_QUERY_LANGUAGE", - "description": [], - "signature": [ - "\"kuery\"" + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DuplicateDataViewError.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DuplicateDataViewError.Unnamed.$1", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } ], - "path": "src/plugins/data/common/constants.ts", - "deprecated": false, "initialIsOpen": false }, { "parentPluginId": "data", - "id": "def-common.EsQueryConfig", - "type": "Type", + "id": "def-common.IndexPattern", + "type": "Class", "tags": [ "deprecated" ], - "label": "EsQueryConfig", + "label": "IndexPattern", "description": [], "signature": [ - "KueryQueryOptions", - " & { allowLeadingWildcards: boolean; queryStringOptions: ", - "SerializableRecord", - "; ignoreFilterIfFieldNotInIndex: boolean; }" + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPattern", + "text": "IndexPattern" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } ], - "path": "src/plugins/data/common/es_query/index.ts", + "path": "src/plugins/data_views/common/data_views/data_view.ts", "deprecated": true, - "removeBy": "8.1", "references": [ { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/types.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/types.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/view_saved_search_action.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/view_saved_search_action.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/helpers.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/helpers.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/doc_table_wrapper.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/doc_table_wrapper.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_flyout.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_flyout.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/get_render_cell_value.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/get_render_cell_value.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/utils/sorting.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/utils/sorting.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/calc_field_counts.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/calc_field_counts.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_default_sort.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_default_sort.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/top_nav/get_top_nav_links.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/top_nav/get_top_nav_links.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/types.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternField", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPatternField", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPatternField", + "text": "IndexPatternField" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": true, + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.test.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternsService", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPatternsService", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPatternsService", + "text": "IndexPatternsService" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": true, + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/plugin.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/plugin.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.KbnFieldType", + "type": "Class", + "tags": [], + "label": "KbnFieldType", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.KbnFieldType.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.KbnFieldType.sortable", + "type": "boolean", + "tags": [], + "label": "sortable", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.KbnFieldType.filterable", + "type": "boolean", + "tags": [], + "label": "filterable", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.KbnFieldType.esTypes", + "type": "Object", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "readonly ", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, + "[]" + ], + "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.KbnFieldType.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.KbnFieldType.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Partial<", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KbnFieldTypeOptions", + "text": "KbnFieldTypeOptions" + }, + "> | undefined" + ], + "path": "node_modules/@kbn/field-types/target_types/kbn_field_type.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "data", + "id": "def-common.buildCustomFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildCustomFilter", + "description": [], + "signature": [ + "(indexPatternString: string, queryDsl: ", + "QueryDslQueryContainer", + ", disabled: boolean, negate: boolean, alias: string | null, store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildCustomFilter.$1", + "type": "string", + "tags": [], + "label": "indexPatternString", + "description": [], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildCustomFilter.$2", + "type": "Object", + "tags": [], + "label": "queryDsl", + "description": [], + "signature": [ + "QueryDslQueryContainer" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildCustomFilter.$3", + "type": "boolean", + "tags": [], + "label": "disabled", + "description": [], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildCustomFilter.$4", + "type": "boolean", + "tags": [], + "label": "negate", + "description": [], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildCustomFilter.$5", + "type": "CompoundType", + "tags": [], + "label": "alias", + "description": [], + "signature": [ + "string | null" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildCustomFilter.$6", + "type": "Enum", + "tags": [], + "label": "store", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/custom_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildEmptyFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildEmptyFilter", + "description": [], + "signature": [ + "(isPinned: boolean, index?: string | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildEmptyFilter.$1", + "type": "boolean", + "tags": [], + "label": "isPinned", + "description": [], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_empty_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildEmptyFilter.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_empty_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildEsQuery", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildEsQuery", + "description": [], + "signature": [ + "(indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined, queries: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, + "[], filters: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], config?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + }, + " | undefined) => { bool: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, + "; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildEsQuery.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildEsQuery.$2", + "type": "CompoundType", + "tags": [], + "label": "queries", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildEsQuery.$3", + "type": "CompoundType", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildEsQuery.$4", + "type": "CompoundType", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildExistsFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildExistsFilter", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ExistsFilter", + "text": "ExistsFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildExistsFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildExistsFilter.$2", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildFilter", + "description": [], + "signature": [ + "(indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ", field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", type: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FILTERS", + "text": "FILTERS" + }, + ", negate: boolean, disabled: boolean, params: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, + ", alias: string | null, store?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + " | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildFilter.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildFilter.$2", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildFilter.$3", + "type": "Enum", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FILTERS", + "text": "FILTERS" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildFilter.$4", + "type": "boolean", + "tags": [], + "label": "negate", + "description": [], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildFilter.$5", + "type": "boolean", + "tags": [], + "label": "disabled", + "description": [], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildFilter.$6", + "type": "CompoundType", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "string | number | boolean | ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + " | ", + "SerializableArray", + " | null | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildFilter.$7", + "type": "CompoundType", + "tags": [], + "label": "alias", + "description": [], + "signature": [ + "string | null" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildFilter.$8", + "type": "CompoundType", + "tags": [], + "label": "store", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildPhraseFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildPhraseFilter", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", value: ", + "PhraseFilterValue", + ", indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedPhraseFilter", + "text": "ScriptedPhraseFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildPhraseFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildPhraseFilter.$2", + "type": "CompoundType", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "string | number | boolean" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildPhraseFilter.$3", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildPhrasesFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildPhrasesFilter", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", params: ", + "PhraseFilterValue", + "[], indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhrasesFilter", + "text": "PhrasesFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildPhrasesFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildPhrasesFilter.$2", + "type": "Array", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "PhraseFilterValue", + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildPhrasesFilter.$3", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildQueryFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildQueryFilter", + "description": [], + "signature": [ + "(query: (Record & { query_string?: { query: string; } | undefined; }) | undefined, index: string, alias: string) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.QueryStringFilter", + "text": "QueryStringFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildQueryFilter.$1", + "type": "CompoundType", + "tags": [], + "label": "query", + "description": [], + "signature": [ + "(Record & { query_string?: { query: string; } | undefined; }) | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildQueryFilter.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildQueryFilter.$3", + "type": "string", + "tags": [], + "label": "alias", + "description": [], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildQueryFromFilters", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildQueryFromFilters", + "description": [], + "signature": [ + "(filters: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined, indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined, ignoreFilterIfFieldNotInIndex?: boolean | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildQueryFromFilters.$1", + "type": "Array", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildQueryFromFilters.$2", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildQueryFromFilters.$3", + "type": "CompoundType", + "tags": [], + "label": "ignoreFilterIfFieldNotInIndex", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildRangeFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "buildRangeFilter", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", params: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + }, + ", indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ", formattedValue?: string | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, + " | ", + "MatchAllRangeFilter" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.buildRangeFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildRangeFilter.$2", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildRangeFilter.$3", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.buildRangeFilter.$4", + "type": "string", + "tags": [], + "label": "formattedValue", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.castEsToKbnFieldTypeName", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "castEsToKbnFieldTypeName", + "description": [], + "signature": [ + "(esType: string) => ", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } + ], + "path": "src/plugins/data/common/kbn_field_types/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + } + ], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.castEsToKbnFieldTypeName.$1", + "type": "string", + "tags": [], + "label": "esType", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/kbn_field_types.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.cellHasFormulas", + "type": "Function", + "tags": [], + "label": "cellHasFormulas", + "description": [], + "signature": [ + "(val: string) => boolean" + ], + "path": "src/plugins/data/common/exports/formula_checks.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.cellHasFormulas.$1", + "type": "string", + "tags": [], + "label": "val", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data/common/exports/formula_checks.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.compareFilters", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "compareFilters", + "description": [], + "signature": [ + "(first: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], second: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], comparatorOptions?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, + " | undefined) => boolean" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.compareFilters.$1", + "type": "CompoundType", + "tags": [], + "label": "first", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.compareFilters.$2", + "type": "CompoundType", + "tags": [], + "label": "second", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.compareFilters.$3", + "type": "Object", + "tags": [], + "label": "comparatorOptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.createEscapeValue", + "type": "Function", + "tags": [], + "label": "createEscapeValue", + "description": [], + "signature": [ + "(quoteValues: boolean, escapeFormulas: boolean) => (val: RawValue) => string" + ], + "path": "src/plugins/data/common/exports/escape_value.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.createEscapeValue.$1", + "type": "boolean", + "tags": [], + "label": "quoteValues", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data/common/exports/escape_value.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.createEscapeValue.$2", + "type": "boolean", + "tags": [], + "label": "escapeFormulas", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data/common/exports/escape_value.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.datatableToCSV", + "type": "Function", + "tags": [], + "label": "datatableToCSV", + "description": [], + "signature": [ + "({ columns, rows }: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + }, + ", { csvSeparator, quoteValues, formatFactory, raw, escapeFormulaValues }: CSVOptions) => string" + ], + "path": "src/plugins/data/common/exports/export_csv.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.datatableToCSV.$1", + "type": "Object", + "tags": [], + "label": "{ columns, rows }", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + } + ], + "path": "src/plugins/data/common/exports/export_csv.tsx", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.datatableToCSV.$2", + "type": "Object", + "tags": [], + "label": "{ csvSeparator, quoteValues, formatFactory, raw, escapeFormulaValues }", + "description": [], + "signature": [ + "CSVOptions" + ], + "path": "src/plugins/data/common/exports/export_csv.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.decorateQuery", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "decorateQuery", + "description": [], + "signature": [ + "(query: ", + "QueryDslQueryContainer", + ", queryStringOptions: string | ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + ", dateFormatTZ?: string | undefined) => ", + "QueryDslQueryContainer" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.decorateQuery.$1", + "type": "Object", + "tags": [], + "label": "query", + "description": [], + "signature": [ + "QueryDslQueryContainer" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.decorateQuery.$2", + "type": "CompoundType", + "tags": [], + "label": "queryStringOptions", + "description": [], + "signature": [ + "string | ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.decorateQuery.$3", + "type": "string", + "tags": [], + "label": "dateFormatTZ", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.dedupFilters", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "dedupFilters", + "description": [], + "signature": [ + "(existingFilters: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], filters: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], comparatorOptions?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, + " | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.dedupFilters.$1", + "type": "Array", + "tags": [], + "label": "existingFilters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/dedup_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.dedupFilters.$2", + "type": "Array", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/dedup_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.dedupFilters.$3", + "type": "Object", + "tags": [], + "label": "comparatorOptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/dedup_filters.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.disableFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "disableFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.disableFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.enableFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "enableFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.enableFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.fieldList", + "type": "Function", + "tags": [], + "label": "fieldList", + "description": [], + "signature": [ + "(specs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], shortDotsEnable?: boolean) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.fieldList.$1", + "type": "Array", + "tags": [], + "label": "specs", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.fieldList.$2", + "type": "boolean", + "tags": [], + "label": "shortDotsEnable", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.fromKueryExpression", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "fromKueryExpression", + "description": [], + "signature": [ + "(expression: string | ", + "QueryDslQueryContainer", + ", parseOptions?: Partial<", + "KueryParseOptions", + "> | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.fromKueryExpression.$1", + "type": "CompoundType", + "tags": [], + "label": "expression", + "description": [], + "signature": [ + "string | ", + "QueryDslQueryContainer" + ], + "path": "node_modules/@kbn/es-query/target_types/kuery/ast/ast.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.fromKueryExpression.$2", + "type": "Object", + "tags": [], + "label": "parseOptions", + "description": [], + "signature": [ + "Partial<", + "KueryParseOptions", + "> | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/kuery/ast/ast.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.getEsQueryConfig", + "type": "Function", + "tags": [], + "label": "getEsQueryConfig", + "description": [], + "signature": [ + "(config: KibanaConfig) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + } + ], + "path": "src/plugins/data/common/es_query/get_es_query_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.getEsQueryConfig.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + "KibanaConfig" + ], + "path": "src/plugins/data/common/es_query/get_es_query_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.getFilterableKbnTypeNames", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getFilterableKbnTypeNames", + "description": [], + "signature": [ + "() => string[]" + ], + "path": "src/plugins/data/common/kbn_field_types/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.getIndexPatternLoadMeta", + "type": "Function", + "tags": [], + "label": "getIndexPatternLoadMeta", + "description": [], + "signature": [ + "() => Pick<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPatternLoadExpressionFunctionDefinition", + "text": "IndexPatternLoadExpressionFunctionDefinition" + }, + ", \"type\" | \"telemetry\" | \"inject\" | \"extract\" | \"migrations\" | \"name\" | \"disabled\" | \"help\" | \"inputTypes\" | \"args\" | \"aliases\" | \"context\">" + ], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.getKbnFieldType", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getKbnFieldType", + "description": [], + "signature": [ + "(typeName: string) => ", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KbnFieldType", + "text": "KbnFieldType" + } + ], + "path": "src/plugins/data/common/kbn_field_types/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.getKbnFieldType.$1", + "type": "string", + "tags": [], + "label": "typeName", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/kbn_field_types.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.getKbnTypeNames", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getKbnTypeNames", + "description": [], + "signature": [ + "() => string[]" + ], + "path": "src/plugins/data/common/kbn_field_types/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts" + } + ], + "returnComment": [], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.getPhraseFilterField", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getPhraseFilterField", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, + ") => string" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.getPhraseFilterField.$1", + "type": "CompoundType", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + "PhraseFilterMeta", + "; query: { match_phrase?: Record | undefined; match?: Record | undefined; }; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.getPhraseFilterValue", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getPhraseFilterValue", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedPhraseFilter", + "text": "ScriptedPhraseFilter" + }, + ") => ", + "PhraseFilterValue" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.getPhraseFilterValue.$1", + "type": "CompoundType", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedPhraseFilter", + "text": "ScriptedPhraseFilter" + } + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isExistsFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isExistsFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ExistsFilter", + "text": "ExistsFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isExistsFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isFilter", + "description": [], + "signature": [ + "(x: unknown) => x is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isFilter.$1", + "type": "Unknown", + "tags": [], + "label": "x", + "description": [], + "signature": [ + "unknown" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isFilterable", + "type": "Function", + "tags": [], + "label": "isFilterable", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + ") => boolean" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isFilterable.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isFilterDisabled", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isFilterDisabled", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => boolean" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isFilterDisabled.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isFilterPinned", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isFilterPinned", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => boolean | undefined" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "visualize", + "path": "src/plugins/visualize/common/locator.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/common/locator.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/common/locator.ts" + } + ], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isFilterPinned.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isFilters", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isFilters", + "description": [], + "signature": [ + "(x: unknown) => x is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "dashboardEnhanced", + "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + }, + { + "plugin": "dashboardEnhanced", + "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + } + ], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isFilters.$1", + "type": "Unknown", + "tags": [], + "label": "x", + "description": [], + "signature": [ + "unknown" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isMatchAllFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isMatchAllFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.MatchAllFilter", + "text": "MatchAllFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isMatchAllFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/match_all_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isMissingFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isMissingFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.MissingFilter", + "text": "MissingFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isMissingFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/missing_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isNestedField", + "type": "Function", + "tags": [], + "label": "isNestedField", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + ") => boolean" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isNestedField.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isPhraseFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isPhraseFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isPhraseFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isPhrasesFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isPhrasesFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhrasesFilter", + "text": "PhrasesFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isPhrasesFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isQueryStringFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isQueryStringFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.QueryStringFilter", + "text": "QueryStringFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isQueryStringFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isRangeFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isRangeFilter", + "description": [], + "signature": [ + "(filter?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | undefined) => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isRangeFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.luceneStringToDsl", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "luceneStringToDsl", + "description": [], + "signature": [ + "(query: string | ", + "QueryDslQueryContainer", + ") => ", + "QueryDslQueryContainer" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.luceneStringToDsl.$1", + "type": "CompoundType", + "tags": [], + "label": "query", + "description": [], + "signature": [ + "string | ", + "QueryDslQueryContainer" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/lucene_string_to_dsl.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.onlyDisabledFiltersChanged", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "onlyDisabledFiltersChanged", + "description": [], + "signature": [ + "(newFilters?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined, oldFilters?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined) => boolean" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.onlyDisabledFiltersChanged.$1", + "type": "Array", + "tags": [], + "label": "newFilters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/only_disabled.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.onlyDisabledFiltersChanged.$2", + "type": "Array", + "tags": [], + "label": "oldFilters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/only_disabled.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.pinFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "pinFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.pinFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.tableHasFormulas", + "type": "Function", + "tags": [], + "label": "tableHasFormulas", + "description": [], + "signature": [ + "(columns: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DatatableColumn", + "text": "DatatableColumn" + }, + "[], rows: Record[]) => boolean" + ], + "path": "src/plugins/data/common/exports/formula_checks.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.tableHasFormulas.$1", + "type": "Array", + "tags": [], + "label": "columns", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DatatableColumn", + "text": "DatatableColumn" + }, + "[]" + ], + "path": "src/plugins/data/common/exports/formula_checks.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.tableHasFormulas.$2", + "type": "Array", + "tags": [], + "label": "rows", + "description": [], + "signature": [ + "Record[]" + ], + "path": "src/plugins/data/common/exports/formula_checks.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.toElasticsearchQuery", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "toElasticsearchQuery", + "description": [], + "signature": [ + "(node: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, + ", indexPattern?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined, config?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, + " | undefined, context?: Record | undefined) => ", + "QueryDslQueryContainer" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.toElasticsearchQuery.$1", + "type": "Object", + "tags": [], + "label": "node", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } + ], + "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.toElasticsearchQuery.$2", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.toElasticsearchQuery.$3", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.toElasticsearchQuery.$4", + "type": "Object", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.toggleFilterDisabled", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "toggleFilterDisabled", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => { meta: { disabled: boolean; alias?: string | null | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; query?: Record | undefined; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.toggleFilterDisabled.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.toggleFilterNegated", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "toggleFilterNegated", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => { meta: { negate: boolean; alias?: string | null | undefined; disabled?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; query?: Record | undefined; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.toggleFilterNegated.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.uniqFilters", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "uniqFilters", + "description": [], + "signature": [ + "(filters: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], comparatorOptions?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, + " | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.uniqFilters.$1", + "type": "Array", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/uniq_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.uniqFilters.$2", + "type": "Object", + "tags": [], + "label": "comparatorOptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/uniq_filters.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes", + "type": "Interface", + "tags": [], + "label": "DataViewAttributes", + "description": [ + "\nInterface for an index pattern saved object" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.fields", + "type": "string", + "tags": [], + "label": "fields", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.typeMeta", + "type": "string", + "tags": [], + "label": "typeMeta", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.intervalName", + "type": "string", + "tags": [], + "label": "intervalName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.sourceFilters", + "type": "string", + "tags": [], + "label": "sourceFilters", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.fieldFormatMap", + "type": "string", + "tags": [], + "label": "fieldFormatMap", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.fieldAttrs", + "type": "string", + "tags": [], + "label": "fieldAttrs", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.runtimeFieldMap", + "type": "string", + "tags": [], + "label": "runtimeFieldMap", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.allowNoIndex", + "type": "CompoundType", + "tags": [], + "label": "allowNoIndex", + "description": [ + "\nprevents errors when index pattern exists before indices" + ], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewListItem", + "type": "Interface", + "tags": [], + "label": "DataViewListItem", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewListItem.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewListItem.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewListItem.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewListItem.typeMeta", + "type": "Object", + "tags": [], + "label": "typeMeta", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.TypeMeta", + "text": "TypeMeta" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec", + "type": "Interface", + "tags": [], + "label": "DataViewSpec", + "description": [ + "\nStatic index pattern format\nSerialized data object, representing index pattern attributes and state" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.id", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "\nsaved object id" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "\nsaved object version string" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.intervalName", + "type": "string", + "tags": [ + "deprecated" + ], + "label": "intervalName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_views.ts" + } + ] + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.sourceFilters", + "type": "Array", + "tags": [], + "label": "sourceFilters", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SourceFilter", + "text": "SourceFilter" + }, + "[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.fields", + "type": "Object", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.typeMeta", + "type": "Object", + "tags": [], + "label": "typeMeta", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.TypeMeta", + "text": "TypeMeta" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.fieldFormats", + "type": "Object", + "tags": [], + "label": "fieldFormats", + "description": [], + "signature": [ + "Record>> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.runtimeFieldMap", + "type": "Object", + "tags": [], + "label": "runtimeFieldMap", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.fieldAttrs", + "type": "Object", + "tags": [], + "label": "fieldAttrs", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.allowNoIndex", + "type": "CompoundType", + "tags": [], + "label": "allowNoIndex", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldAttrs", + "type": "Interface", + "tags": [ + "intenal" + ], + "label": "FieldAttrs", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.FieldAttrs.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldAttrSet", + "type": "Interface", + "tags": [], + "label": "FieldAttrSet", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.FieldAttrSet.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldAttrSet.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec", + "type": "Interface", + "tags": [], + "label": "FieldSpec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " extends ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.count", + "type": "number", + "tags": [], + "label": "count", + "description": [ + "\nPopularity count is used by discover" + ], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.conflictDescriptions", + "type": "Object", + "tags": [], + "label": "conflictDescriptions", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.format", + "type": "Object", + "tags": [], + "label": "format", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + "> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.searchable", + "type": "boolean", + "tags": [], + "label": "searchable", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.aggregatable", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.readFromDocValues", + "type": "CompoundType", + "tags": [], + "label": "readFromDocValues", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.indexed", + "type": "CompoundType", + "tags": [], + "label": "indexed", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.runtimeField", + "type": "Object", + "tags": [], + "label": "runtimeField", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.shortDotsEnable", + "type": "CompoundType", + "tags": [], + "label": "shortDotsEnable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.isMapped", + "type": "CompoundType", + "tags": [], + "label": "isMapped", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt", + "type": "Interface", + "tags": [], + "label": "FieldSpecExportFmt", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.script", + "type": "string", + "tags": [], + "label": "script", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.lang", + "type": "CompoundType", + "tags": [], + "label": "lang", + "description": [], + "signature": [ + "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.conflictDescriptions", + "type": "Object", + "tags": [], + "label": "conflictDescriptions", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.type", + "type": "Enum", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.scripted", + "type": "boolean", + "tags": [], + "label": "scripted", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.searchable", + "type": "boolean", + "tags": [], + "label": "searchable", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.aggregatable", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.readFromDocValues", + "type": "CompoundType", + "tags": [], + "label": "readFromDocValues", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.subType", + "type": "Object", + "tags": [], + "label": "subType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.format", + "type": "Object", + "tags": [], + "label": "format", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + "> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.indexed", + "type": "CompoundType", + "tags": [], + "label": "indexed", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FilterValueFormatter", + "type": "Interface", + "tags": [], + "label": "FilterValueFormatter", + "description": [], + "path": "src/plugins/data/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.FilterValueFormatter.convert", + "type": "Function", + "tags": [], + "label": "convert", + "description": [], + "signature": [ + "(value: any) => string" + ], + "path": "src/plugins/data/common/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.FilterValueFormatter.convert.$1", + "type": "Any", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data/common/types.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-common.FilterValueFormatter.getConverterFor", + "type": "Function", + "tags": [], + "label": "getConverterFor", + "description": [], + "signature": [ + "(type: string) => FilterFormatterFunction" + ], + "path": "src/plugins/data/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.FilterValueFormatter.getConverterFor.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions", + "type": "Interface", + "tags": [], + "label": "GetFieldsOptions", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions.pattern", + "type": "string", + "tags": [], + "label": "pattern", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions.lookBack", + "type": "CompoundType", + "tags": [], + "label": "lookBack", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions.rollupIndex", + "type": "string", + "tags": [], + "label": "rollupIndex", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions.allowNoIndex", + "type": "CompoundType", + "tags": [], + "label": "allowNoIndex", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptionsTimePattern", + "type": "Interface", + "tags": [], + "label": "GetFieldsOptionsTimePattern", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptionsTimePattern.pattern", + "type": "string", + "tags": [], + "label": "pattern", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptionsTimePattern.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptionsTimePattern.lookBack", + "type": "number", + "tags": [], + "label": "lookBack", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptionsTimePattern.interval", + "type": "string", + "tags": [], + "label": "interval", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IDataViewsApiClient", + "type": "Interface", + "tags": [], + "label": "IDataViewsApiClient", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IDataViewsApiClient.getFieldsForTimePattern", + "type": "Function", + "tags": [], + "label": "getFieldsForTimePattern", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptionsTimePattern", + "text": "GetFieldsOptionsTimePattern" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IDataViewsApiClient.getFieldsForTimePattern.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptionsTimePattern", + "text": "GetFieldsOptionsTimePattern" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IDataViewsApiClient.getFieldsForWildcard", + "type": "Function", + "tags": [], + "label": "getFieldsForWildcard", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IDataViewsApiClient.getFieldsForWildcard.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IDataViewsApiClient.hasUserIndexPattern", + "type": "Function", + "tags": [], + "label": "hasUserIndexPattern", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType", + "type": "Interface", + "tags": [ + "deprecated" + ], + "label": "IFieldType", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " extends ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/data_view_field.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/field_list.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/types.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/index.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/index.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/utils.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/utils.test.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/fields.mocks.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/fields.mocks.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/fields/fields.mocks.ts" + } + ], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IFieldType.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.aggregatable", + "type": "CompoundType", + "tags": [], + "label": "aggregatable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.filterable", + "type": "CompoundType", + "tags": [], + "label": "filterable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.searchable", + "type": "CompoundType", + "tags": [], + "label": "searchable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.sortable", + "type": "CompoundType", + "tags": [], + "label": "sortable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.visualizable", + "type": "CompoundType", + "tags": [], + "label": "visualizable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.readFromDocValues", + "type": "CompoundType", + "tags": [], + "label": "readFromDocValues", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.displayName", + "type": "string", + "tags": [], + "label": "displayName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.format", + "type": "Any", + "tags": [], + "label": "format", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [], + "signature": [ + "((options?: { getFormatterForField?: ((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined; } | undefined) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IFieldType.toSpec.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IFieldType.toSpec.$1.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern", + "type": "Interface", + "tags": [ + "deprecated" + ], + "label": "IIndexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" + }, + " extends ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_view.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/utils/kuery.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/utils/kuery.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/lib/kuery.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/lib/kuery.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/target/types/public/alerts/components/param_details_form/use_derived_index_pattern.d.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/target/types/public/alerts/components/param_details_form/use_derived_index_pattern.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" + } + ], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.fields", + "type": "Array", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + "[]" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.type", + "type": "string", + "tags": [], + "label": "type", + "description": [ + "\nType is used for identifying rollup indices, otherwise left undefined" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.getTimeField", + "type": "Function", + "tags": [], + "label": "getTimeField", + "description": [], + "signature": [ + "(() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | undefined) | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.fieldFormatMap", + "type": "Object", + "tags": [], + "label": "fieldFormatMap", + "description": [], + "signature": [ + "Record | undefined> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [ + "\nLook up a formatter for a given field" + ], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.getFormatterForField.$1", + "type": "CompoundType", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList", + "type": "Interface", + "tags": [], + "label": "IIndexPatternFieldList", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.add", + "type": "Function", + "tags": [], + "label": "add", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.add.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.getAll", + "type": "Function", + "tags": [], + "label": "getAll", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.getByName", + "type": "Function", + "tags": [], + "label": "getByName", + "description": [], + "signature": [ + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.getByName.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.getByType", + "type": "Function", + "tags": [], + "label": "getByType", + "description": [], + "signature": [ + "(type: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.getByType.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.remove.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.removeAll", + "type": "Function", + "tags": [], + "label": "removeAll", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.replaceAll", + "type": "Function", + "tags": [], + "label": "replaceAll", + "description": [], + "signature": [ + "(specs: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]) => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.replaceAll.$1", + "type": "Array", + "tags": [], + "label": "specs", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.update", + "type": "Function", + "tags": [], + "label": "update", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.update.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [], + "signature": [ + "(options?: { getFormatterForField?: ((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined; } | undefined) => Record" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.toSpec.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.toSpec.$1.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternExpressionType", + "type": "Interface", + "tags": [], + "label": "IndexPatternExpressionType", + "description": [], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IndexPatternExpressionType.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"index_pattern\"" + ], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternExpressionType.value", + "type": "Object", + "tags": [], + "label": "value", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.KbnFieldTypeOptions", + "type": "Interface", + "tags": [], + "label": "KbnFieldTypeOptions", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/types.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.KbnFieldTypeOptions.sortable", + "type": "boolean", + "tags": [], + "label": "sortable", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/types.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.KbnFieldTypeOptions.filterable", + "type": "boolean", + "tags": [], + "label": "filterable", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/types.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.KbnFieldTypeOptions.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/types.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.KbnFieldTypeOptions.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, + "[]" + ], + "path": "node_modules/@kbn/field-types/target_types/types.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.RuntimeField", + "type": "Interface", + "tags": [], + "label": "RuntimeField", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.RuntimeField.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"boolean\" | \"date\" | \"keyword\" | \"geo_point\" | \"ip\" | \"long\" | \"double\"" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.RuntimeField.script", + "type": "Object", + "tags": [], + "label": "script", + "description": [], + "signature": [ + "{ source: string; } | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject", + "type": "Interface", + "tags": [], + "label": "SavedObject", + "description": [], + "signature": [ + "SavedObject", + "" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObject.id", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "The ID of this Saved Object, guaranteed to be unique for all objects of the same `type`" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.type", + "type": "string", + "tags": [], + "label": "type", + "description": [ + " The type of Saved Object. Each plugin can define it's own custom Saved Object types." + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "An opaque version number which changes on each successful write operation. Can be used for implementing optimistic concurrency control." + ], + "signature": [ + "string | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.updated_at", + "type": "string", + "tags": [], + "label": "updated_at", + "description": [ + "Timestamp of the last time this document had been updated." + ], + "signature": [ + "string | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.error", + "type": "Object", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "SavedObjectError", + " | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.attributes", + "type": "Uncategorized", + "tags": [], + "label": "attributes", + "description": [ + "{@inheritdoc SavedObjectAttributes}" + ], + "signature": [ + "T" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.references", + "type": "Array", + "tags": [], + "label": "references", + "description": [ + "{@inheritdoc SavedObjectReference}" + ], + "signature": [ + "SavedObjectReference", + "[]" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.migrationVersion", + "type": "Object", + "tags": [], + "label": "migrationVersion", + "description": [ + "{@inheritdoc SavedObjectsMigrationVersion}" + ], + "signature": [ + "SavedObjectsMigrationVersion", + " | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.coreMigrationVersion", + "type": "string", + "tags": [], + "label": "coreMigrationVersion", + "description": [ + "A semver value that is used when upgrading objects between Kibana versions." + ], + "signature": [ + "string | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.namespaces", + "type": "Array", + "tags": [], + "label": "namespaces", + "description": [ + "\nSpace(s) that this saved object exists in. This attribute is not used for \"global\" saved object types which are registered with\n`namespaceType: 'agnostic'`." + ], + "signature": [ + "string[] | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObject.originId", + "type": "string", + "tags": [], + "label": "originId", + "description": [ + "\nThe ID of the saved object this originated from. This is set if this object's `id` was regenerated; that can happen during migration\nfrom a legacy single-namespace type, or during import. It is only set during migration or create operations. This is used during import\nto ensure that ID regeneration is deterministic, so saved objects will be overwritten if they are imported multiple times into a given\nspace." + ], + "signature": [ + "string | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon", + "type": "Interface", + "tags": [], + "label": "SavedObjectsClientCommon", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.find", + "type": "Function", + "tags": [], + "label": "find", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SavedObjectsClientCommonFindArgs", + "text": "SavedObjectsClientCommonFindArgs" + }, + ") => Promise<", + "SavedObject", + "[]>" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.find.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SavedObjectsClientCommonFindArgs", + "text": "SavedObjectsClientCommonFindArgs" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(type: string, id: string) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.get.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.get.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.update", + "type": "Function", + "tags": [], + "label": "update", + "description": [], + "signature": [ + "(type: string, id: string, attributes: Record, options: Record) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.update.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.update.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.update.$3", + "type": "Object", + "tags": [], + "label": "attributes", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.update.$4", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.create", + "type": "Function", + "tags": [], + "label": "create", + "description": [], + "signature": [ + "(type: string, attributes: Record, options: Record) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.create.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.create.$2", + "type": "Object", + "tags": [], + "label": "attributes", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.create.$3", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.delete", + "type": "Function", + "tags": [], + "label": "delete", + "description": [], + "signature": [ + "(type: string, id: string) => Promise<{}>" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.delete.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.delete.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommonFindArgs", + "type": "Interface", + "tags": [], + "label": "SavedObjectsClientCommonFindArgs", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommonFindArgs.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommonFindArgs.fields", + "type": "Array", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommonFindArgs.perPage", + "type": "number", + "tags": [], + "label": "perPage", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommonFindArgs.search", + "type": "string", + "tags": [], + "label": "search", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommonFindArgs.searchFields", + "type": "Array", + "tags": [], + "label": "searchFields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.SourceFilter", + "type": "Interface", + "tags": [], + "label": "SourceFilter", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SourceFilter.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.TypeMeta", + "type": "Interface", + "tags": [], + "label": "TypeMeta", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.TypeMeta.aggs", + "type": "Object", + "tags": [], + "label": "aggs", + "description": [], + "signature": [ + "Record> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.TypeMeta.params", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "{ rollup_index: string; } | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon", + "type": "Interface", + "tags": [], + "label": "UiSettingsCommon", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(key: string) => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.get.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.getAll", + "type": "Function", + "tags": [], + "label": "getAll", + "description": [], + "signature": [ + "() => Promise>" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.set", + "type": "Function", + "tags": [], + "label": "set", + "description": [], + "signature": [ + "(key: string, value: any) => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.set.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.set.$2", + "type": "Any", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "(key: string) => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.remove.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewType", + "type": "Enum", + "tags": [], + "label": "DataViewType", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.ES_FIELD_TYPES", + "type": "Enum", + "tags": [], + "label": "ES_FIELD_TYPES", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/types.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FilterStateStore", + "type": "Enum", + "tags": [], + "label": "FilterStateStore", + "description": [ + "\n Filter,\nAn enum to denote whether a filter is specific to an application's context or whether it should be applied globally." + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/types.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternType", + "type": "Enum", + "tags": [ + "deprecated" + ], + "label": "IndexPatternType", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.KBN_FIELD_TYPES", + "type": "Enum", + "tags": [], + "label": "KBN_FIELD_TYPES", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/types.d.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "misc": [ + { + "parentPluginId": "data", + "id": "def-common.AggregationRestrictions", + "type": "Type", + "tags": [], + "label": "AggregationRestrictions", + "description": [], + "signature": [ + "{ [x: string]: { agg?: string | undefined; interval?: number | undefined; fixed_interval?: string | undefined; calendar_interval?: string | undefined; delay?: string | undefined; time_zone?: string | undefined; }; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.CSV_FORMULA_CHARS", + "type": "Array", + "tags": [], + "label": "CSV_FORMULA_CHARS", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data/common/exports/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.CSV_MIME_TYPE", + "type": "string", + "tags": [], + "label": "CSV_MIME_TYPE", + "description": [], + "signature": [ + "\"text/plain;charset=utf-8\"" + ], + "path": "src/plugins/data/common/exports/export_csv.tsx", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.CustomFilter", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "CustomFilter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.DATA_VIEW_SAVED_OBJECT_TYPE", + "type": "string", + "tags": [], + "label": "DATA_VIEW_SAVED_OBJECT_TYPE", + "description": [], + "signature": [ + "\"index-pattern\"" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewFieldMap", + "type": "Type", + "tags": [], + "label": "DataViewFieldMap", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsContract", + "type": "Type", + "tags": [], + "label": "DataViewsContract", + "description": [], + "signature": [ + "{ get: (id: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; find: (search: string, size?: number) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>; ensureDefaultDataView: ", + "EnsureDefaultDataView", + "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", + "SavedObject", + ">[] | null | undefined>; getDefault: () => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise; getFieldsForIndexPattern: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise; refreshFields: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise; fieldArrayToMap: (fields: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => Record; savedObjectToSpec: (savedObject: ", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + "; createAndSave: (spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; createSavedObject: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", override?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; updateSavedObject: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.DEFAULT_QUERY_LANGUAGE", + "type": "string", + "tags": [], + "label": "DEFAULT_QUERY_LANGUAGE", + "description": [], + "signature": [ + "\"kuery\"" + ], + "path": "src/plugins/data/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.EsQueryConfig", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "EsQueryConfig", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, + " & { allowLeadingWildcards: boolean; queryStringOptions: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + "; ignoreFilterIfFieldNotInIndex: boolean; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.ExistsFilter", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "ExistsFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; exists?: { field: string; } | undefined; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldFormatMap", + "type": "Type", + "tags": [], + "label": "FieldFormatMap", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + ">; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecConflictDescriptions", + "type": "Type", + "tags": [], + "label": "FieldSpecConflictDescriptions", + "description": [], + "signature": [ + "{ [x: string]: string[]; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.Filter", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "Filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "discover", + "path": "src/plugins/discover/public/url_generator.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/url_generator.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/url_generator.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/locator.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/locator.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/locator.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/state/dashboard_state_slice.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/state/dashboard_state_slice.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/state/dashboard_state_slice.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_filter_state.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_filter_state.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_filter_state.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/locator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/locator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/locator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/locator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/state_management/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/state_management/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/fields_accordion.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/fields_accordion.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/common/types/timeline/store.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/common/types/timeline/store.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/store/t_grid/model.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/store/t_grid/model.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/body/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/body/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/hover_actions/utils.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/hover_actions/utils.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/hover_actions/utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/reducers/map/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/reducers/map/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/actions/map_actions.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/actions/map_actions.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/mb_map.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/mb_map.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/map_container/map_container.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/map_container/map_container.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/url_state/global_sync.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/url_state/global_sync.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/index.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/index.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/migrations/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/migrations/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/migrations/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/migrations/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/migrations/saved_object_migrations.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/migrations/saved_object_migrations.ts" + }, + { + "plugin": "dashboardEnhanced", + "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + }, + { + "plugin": "dashboardEnhanced", + "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + }, + { + "plugin": "discoverEnhanced", + "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.ts" + }, + { + "plugin": "discoverEnhanced", + "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/types/timeline/store.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/types/timeline/store.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/inputs/model.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/inputs/model.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/inputs/actions.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/inputs/actions.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/navigation/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/navigation/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/lib/cell_actions/default_cell_actions.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/lib/cell_actions/default_cell_actions.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/alerts_table.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/alerts_table.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/alerts_table.tsx" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.ExistsFilter", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "ExistsFilter", - "description": [], - "signature": [ - "Filter", - " & { meta: ", - "FilterMeta", - "; exists?: { field: string; } | undefined; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/alerts_query_tab_body.tsx" + }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/alerts_query_tab_body.tsx" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.Filter", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "Filter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + }, { - "plugin": "discover", - "path": "src/plugins/discover/public/url_generator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/url_generator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/url_generator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/locator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/signals_by_category/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/locator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/signals_by_category/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/locator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/hover_actions/actions/show_top_n.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/hover_actions/actions/show_top_n.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/helpers.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/helpers.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_count_panel/index.tsx" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_count_panel/index.tsx" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/navigation/tab_navigation/types.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/navigation/tab_navigation/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/state/dashboard_state_slice.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map_helpers.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/state/dashboard_state_slice.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map_helpers.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/state/dashboard_state_slice.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_filter_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_filter_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_filter_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/helpers.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/helpers.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/initialize_redux_by_url.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/initialize_redux_by_url.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/index.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/index.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/index.tsx" + }, + { + "plugin": "urlDrilldown", + "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/variables/context_variables.ts" + }, + { + "plugin": "urlDrilldown", + "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/variables/context_variables.ts" + }, + { + "plugin": "urlDrilldown", + "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/url_drilldown.tsx" + }, + { + "plugin": "urlDrilldown", + "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/url_drilldown.tsx" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + "path": "x-pack/plugins/lens/public/persistence/filter_references.test.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + "path": "x-pack/plugins/lens/public/persistence/filter_references.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/selectors/map_selectors.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/selectors/map_selectors.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + }, + { + "plugin": "discoverEnhanced", + "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + }, + { + "plugin": "discoverEnhanced", + "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + }, + { + "plugin": "discoverEnhanced", + "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + }, + { + "plugin": "urlDrilldown", + "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/test/data.ts" + }, + { + "plugin": "urlDrilldown", + "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/test/data.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/state_management/types.ts" + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/state_management/types.ts" + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx" + "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx" + "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/fields_accordion.tsx" + "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" }, { "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/fields_accordion.tsx" + "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/common/types/timeline/store.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/common/types/timeline/store.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/store/t_grid/model.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/vector_source/vector_source.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/store/t_grid/model.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/vector_source/vector_source.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/body/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/actions/map_actions.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/body/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/actions/map_actions.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/global_sync.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/global_sync.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/app_state_manager.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/app_state_manager.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/hover_actions/utils.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/app_state_manager.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/map_container/map_container.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/map_container/map_container.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/mb_map.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/mb_map.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/toolbar_overlay/toolbar_overlay.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/toolbar_overlay/toolbar_overlay.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_control.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_control.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_popover.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_popover.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/hover_actions/utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/hover_actions/utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/reducers/map/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/reducers/map/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/actions/map_actions.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/actions/map_actions.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.tsx" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.tsx" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/control.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/control.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/vis_controller.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/vis_controller.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/utils/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/utils/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/mb_map.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/mb_map.tsx" + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx" + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/timelion_vis_fn.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/map_container/map_container.tsx" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/timelion_vis_fn.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/map_container/map_container.tsx" + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/url_state/global_sync.ts" + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/url_state/global_sync.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/index.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/index.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/public/application/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/public/application/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/public/application/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.ts" + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/public/application/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/migrations/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/types.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/migrations/types.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/types.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/migrations/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/migrations/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/migrations/saved_object_migrations.ts" + "plugin": "timelines", + "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/migrations/saved_object_migrations.ts" + "plugin": "timelines", + "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" }, { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts" }, { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts" }, { - "plugin": "discoverEnhanced", - "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" }, { - "plugin": "discoverEnhanced", - "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/types/timeline/store.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/types/timeline/store.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/inputs/model.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/inputs/model.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/inputs/actions.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/inputs/actions.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_fn.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_fn.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/helpers.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/map_component.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/helpers.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/map_component.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/helpers.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/helpers.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/helpers.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/navigation/helpers.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/navigation/helpers.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/types.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/types.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/types.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + "path": "x-pack/plugins/security_solution/public/ueba/pages/navigation/types.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/helpers.ts" + "path": "x-pack/plugins/security_solution/public/ueba/pages/navigation/types.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/helpers.ts" + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/helpers.ts" + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/index.tsx" + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/lib/cell_actions/default_cell_actions.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/lib/cell_actions/default_cell_actions.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/types.ts" + "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.d.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/types.ts" + "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.d.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/alerts_table.tsx" + "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.d.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/alerts_table.tsx" + "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/alerts_table.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/common/locator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/alerts_query_tab_body.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/common/locator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/alerts_query_tab_body.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/common/locator.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/common/locator.d.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/helpers.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/helpers.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/reducer.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/signals_by_category/index.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/reducer.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/signals_by_category/index.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/hover_actions/actions/show_top_n.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/hover_actions/actions/show_top_n.tsx" + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/helpers.ts" + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/alerts_query_tab_body.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/helpers.ts" + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/alerts_query_tab_body.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.test.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" - }, + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.test.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FilterMeta", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "FilterMeta", + "description": [], + "signature": [ + "{ alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetConfigFn", + "type": "Type", + "tags": [], + "label": "GetConfigFn", + "description": [ + "\nIf a service is being shared on both the client and the server, and\nthe client code requires synchronous access to uiSettings, both client\nand server should wrap the core uiSettings services in a function\nmatching this signature.\n\nThis matches the signature of the public `core.uiSettings.get`, and\nshould only be used in scenarios where async access to uiSettings is\nnot possible." + ], + "signature": [ + "(key: string, defaultOverride?: T | undefined) => T" + ], + "path": "src/plugins/data/common/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + "parentPluginId": "data", + "id": "def-common.GetConfigFn.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "path": "src/plugins/data/common/types.ts", + "deprecated": false }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" - }, + "parentPluginId": "data", + "id": "def-common.GetConfigFn.$2", + "type": "Uncategorized", + "tags": [], + "label": "defaultOverride", + "description": [], + "signature": [ + "T | undefined" + ], + "path": "src/plugins/data/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldSubType", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IFieldSubType", + "description": [], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" + "plugin": "timelines", + "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" - }, + "plugin": "timelines", + "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternsApiClient", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IIndexPatternsApiClient", + "description": [], + "signature": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" - }, + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IDataViewsApiClient", + "text": "IDataViewsApiClient" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_count_panel/index.tsx" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_count_panel/index.tsx" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/index_patterns_api_client.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/navigation/tab_navigation/types.ts" - }, + "plugin": "dataViews", + "path": "src/plugins/data_views/server/index_patterns_api_client.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.INDEX_PATTERN_SAVED_OBJECT_TYPE", + "type": "string", + "tags": [ + "deprecated" + ], + "label": "INDEX_PATTERN_SAVED_OBJECT_TYPE", + "description": [], + "signature": [ + "\"index-pattern\"" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": true, + "references": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/navigation/tab_navigation/types.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx" + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx" + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map_helpers.tsx" + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map_helpers.tsx" + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" - }, + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternAttributes", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternAttributes", + "description": [], + "signature": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" - }, + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/deprecations/scripted_fields.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/deprecations/scripted_fields.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/helpers.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/helpers.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/index.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/initialize_redux_by_url.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/initialize_redux_by_url.tsx" + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx" + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx" + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts" }, { - "plugin": "urlDrilldown", - "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/variables/context_variables.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" }, { - "plugin": "urlDrilldown", - "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/variables/context_variables.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" }, { - "plugin": "urlDrilldown", - "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/url_drilldown.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" }, { - "plugin": "urlDrilldown", - "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/url_drilldown.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/persistence/filter_references.test.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/persistence/filter_references.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/selectors/map_selectors.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/selectors/map_selectors.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_app.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_app.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" }, { - "plugin": "discoverEnhanced", - "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" }, { - "plugin": "discoverEnhanced", - "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" }, { - "plugin": "discoverEnhanced", - "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/common/types/kibana.ts" }, { - "plugin": "urlDrilldown", - "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/test/data.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/common/types/kibana.ts" }, { - "plugin": "urlDrilldown", - "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/test/data.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/common/types/kibana.d.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" - }, + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/common/types/kibana.d.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternFieldMap", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternFieldMap", + "description": [], + "signature": [ + "{ [x: string]: ", { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, + "; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" - }, + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternListItem", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternListItem", + "description": [], + "signature": [ { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" - }, + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": true, + "references": [ { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/data_views/data_views.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/vector_source/vector_source.d.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/vector_source/vector_source.d.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/actions/map_actions.d.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/actions/map_actions.d.ts" - }, + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternLoadExpressionFunctionDefinition", + "type": "Type", + "tags": [], + "label": "IndexPatternLoadExpressionFunctionDefinition", + "description": [], + "signature": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/global_sync.d.ts" + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" }, + "<\"indexPatternLoad\", null, Arguments, Output, ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/global_sync.d.ts" + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" }, + "<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/app_state_manager.d.ts" + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" }, + ", ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/app_state_manager.d.ts" + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" }, + ">>" + ], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternsContract", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternsContract", + "description": [], + "signature": [ + "{ get: (id: string) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/app_state_manager.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + ", skipFetchFields?: boolean) => Promise<", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; find: (search: string, size?: number) => Promise<", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + "[]>; ensureDefaultDataView: ", + "EnsureDefaultDataView", + "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" }, + "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", + "SavedObject", + ">[] | null | undefined>; getDefault: () => Promise<", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" }, + ") => Promise; getFieldsForIndexPattern: (indexPattern: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/map_container/map_container.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + " | ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/map_container/map_container.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + ", options?: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/mb_map.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" }, + " | undefined) => Promise; refreshFields: (indexPattern: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/mb_map.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ") => Promise; fieldArrayToMap: (fields: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/toolbar_overlay/toolbar_overlay.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, + "[], fieldAttrs?: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/toolbar_overlay/toolbar_overlay.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" }, + " | undefined) => Record; savedObjectToSpec: (savedObject: ", + "SavedObject", + "<", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" }, + ">) => ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_control.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + "; createAndSave: (spec: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_control.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_popover.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; createSavedObject: (indexPattern: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_popover.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ", override?: boolean) => Promise<", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; updateSavedObject: (indexPattern: ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": true, + "references": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.d.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.d.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/public/index.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/control.ts" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/control.ts" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/vis_controller.tsx" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/vis_controller.tsx" + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/types.ts" + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/types.ts" + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/build_services.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/build_services.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/utils/utils.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/utils/utils.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/doc/components/doc.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/doc/components/doc.tsx" }, { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" }, { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" }, { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/timelion_vis_fn.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" }, { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/timelion_vis_fn.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" }, { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts" }, { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/target/types/public/application/types.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/target/types/public/application/types.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/target/types/public/application/types.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/target/types/public/application/types.d.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" }, { - "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" }, { - "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" }, { - "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/dependency_cache.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/dependency_cache.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/resolvers.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/resolvers.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/router.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/router.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/application.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/application.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_fn.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_fn.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/map_component.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/map_component.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx" + "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx" + "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx" + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_patterns.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx" + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_patterns.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx" + "path": "x-pack/plugins/ml/target/types/public/application/routing/router.d.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/types/index.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/types/index.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/types.ts" + "path": "x-pack/plugins/ml/target/types/public/application/routing/router.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/navigation/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/util/dependency_cache.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/navigation/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/util/dependency_cache.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.ts" + "plugin": "security", + "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.ts" + "plugin": "security", + "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.d.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.d.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.d.ts" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/helpers/plugin_services.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.d.ts" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/helpers/plugin_services.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/common/locator.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/build_services.d.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/common/locator.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/build_services.d.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/target/types/common/locator.d.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/target/types/common/locator.d.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/helpers.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/helpers.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/reducer.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/reducer.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/_stubs.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/navigation/alerts_query_tab_body.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/_stubs.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/navigation/alerts_query_tab_body.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/doc/components/doc.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/doc/components/doc.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.test.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FilterMeta", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "FilterMeta", - "description": [], - "signature": [ - "{ alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetConfigFn", - "type": "Type", - "tags": [], - "label": "GetConfigFn", - "description": [ - "\nIf a service is being shared on both the client and the server, and\nthe client code requires synchronous access to uiSettings, both client\nand server should wrap the core uiSettings services in a function\nmatching this signature.\n\nThis matches the signature of the public `core.uiSettings.get`, and\nshould only be used in scenarios where async access to uiSettings is\nnot possible." - ], - "signature": [ - "(key: string, defaultOverride?: T | undefined) => T" - ], - "path": "src/plugins/data/common/types.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.GetConfigFn.$1", - "type": "string", - "tags": [], - "label": "key", - "description": [], - "path": "src/plugins/data/common/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" }, { - "parentPluginId": "data", - "id": "def-common.GetConfigFn.$2", - "type": "Uncategorized", - "tags": [], - "label": "defaultOverride", - "description": [], - "signature": [ - "T | undefined" - ], - "path": "src/plugins/data/common/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" } ], "initialIsOpen": false }, { "parentPluginId": "data", - "id": "def-common.IFieldSubType", + "id": "def-common.IndexPatternSpec", "type": "Type", "tags": [ "deprecated" ], - "label": "IFieldSubType", + "label": "IndexPatternSpec", "description": [], "signature": [ - "IFieldSubType" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" - }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" } ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.INDEX_PATTERN_SAVED_OBJECT_TYPE", - "type": "string", - "tags": [ - "deprecated" - ], - "label": "INDEX_PATTERN_SAVED_OBJECT_TYPE", - "description": [], - "signature": [ - "\"index-pattern\"" - ], - "path": "src/plugins/data/common/constants.ts", + "path": "src/plugins/data_views/common/types.ts", "deprecated": true, "references": [ { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/common/index.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/routes/create_index_pattern.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" + "plugin": "dataViews", + "path": "src/plugins/data_views/server/routes/create_index_pattern.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" } ], "initialIsOpen": false @@ -41499,9 +58940,6 @@ ], "label": "KueryNode", "description": [], - "signature": [ - "KueryNode" - ], "path": "src/plugins/data/common/es_query/index.ts", "deprecated": true, "removeBy": "8.1", @@ -41719,7 +59157,13 @@ "label": "MatchAllFilter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " & { meta: ", "MatchAllFilterMeta", "; match_all: ", @@ -41732,6 +59176,20 @@ "references": [], "initialIsOpen": false }, + { + "parentPluginId": "data", + "id": "def-common.META_FIELDS", + "type": "string", + "tags": [], + "label": "META_FIELDS", + "description": [], + "signature": [ + "\"metaFields\"" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-common.MissingFilter", @@ -41742,9 +59200,21 @@ "label": "MissingFilter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " & { meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; missing: { field: string; }; }" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -41753,6 +59223,119 @@ "references": [], "initialIsOpen": false }, + { + "parentPluginId": "data", + "id": "def-common.OnError", + "type": "Type", + "tags": [], + "label": "OnError", + "description": [], + "signature": [ + "(error: Error, toastInputFields: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.ErrorToastOptions", + "text": "ErrorToastOptions" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.OnError.$1", + "type": "Object", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "Error" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.OnError.$2", + "type": "Object", + "tags": [], + "label": "toastInputFields", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.ErrorToastOptions", + "text": "ErrorToastOptions" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.OnNotification", + "type": "Type", + "tags": [], + "label": "OnNotification", + "description": [], + "signature": [ + "(toastInputFields: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.ToastInputFields", + "text": "ToastInputFields" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.OnNotification.$1", + "type": "CompoundType", + "tags": [], + "label": "toastInputFields", + "description": [], + "signature": [ + "Pick<", + "Toast", + ", \"children\" | \"onClick\" | \"onChange\" | \"color\" | \"onKeyDown\" | \"security\" | \"defaultChecked\" | \"defaultValue\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"className\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"hidden\" | \"lang\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"style\" | \"tabIndex\" | \"translate\" | \"radioGroup\" | \"role\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"aria-activedescendant\" | \"aria-atomic\" | \"aria-autocomplete\" | \"aria-busy\" | \"aria-checked\" | \"aria-colcount\" | \"aria-colindex\" | \"aria-colspan\" | \"aria-controls\" | \"aria-current\" | \"aria-describedby\" | \"aria-details\" | \"aria-disabled\" | \"aria-dropeffect\" | \"aria-errormessage\" | \"aria-expanded\" | \"aria-flowto\" | \"aria-grabbed\" | \"aria-haspopup\" | \"aria-hidden\" | \"aria-invalid\" | \"aria-keyshortcuts\" | \"aria-label\" | \"aria-labelledby\" | \"aria-level\" | \"aria-live\" | \"aria-modal\" | \"aria-multiline\" | \"aria-multiselectable\" | \"aria-orientation\" | \"aria-owns\" | \"aria-placeholder\" | \"aria-posinset\" | \"aria-pressed\" | \"aria-readonly\" | \"aria-relevant\" | \"aria-required\" | \"aria-roledescription\" | \"aria-rowcount\" | \"aria-rowindex\" | \"aria-rowspan\" | \"aria-selected\" | \"aria-setsize\" | \"aria-sort\" | \"aria-valuemax\" | \"aria-valuemin\" | \"aria-valuenow\" | \"aria-valuetext\" | \"dangerouslySetInnerHTML\" | \"onCopy\" | \"onCopyCapture\" | \"onCut\" | \"onCutCapture\" | \"onPaste\" | \"onPasteCapture\" | \"onCompositionEnd\" | \"onCompositionEndCapture\" | \"onCompositionStart\" | \"onCompositionStartCapture\" | \"onCompositionUpdate\" | \"onCompositionUpdateCapture\" | \"onFocus\" | \"onFocusCapture\" | \"onBlur\" | \"onBlurCapture\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onError\" | \"onErrorCapture\" | \"onKeyDownCapture\" | \"onKeyPress\" | \"onKeyPressCapture\" | \"onKeyUp\" | \"onKeyUpCapture\" | \"onAbort\" | \"onAbortCapture\" | \"onCanPlay\" | \"onCanPlayCapture\" | \"onCanPlayThrough\" | \"onCanPlayThroughCapture\" | \"onDurationChange\" | \"onDurationChangeCapture\" | \"onEmptied\" | \"onEmptiedCapture\" | \"onEncrypted\" | \"onEncryptedCapture\" | \"onEnded\" | \"onEndedCapture\" | \"onLoadedData\" | \"onLoadedDataCapture\" | \"onLoadedMetadata\" | \"onLoadedMetadataCapture\" | \"onLoadStart\" | \"onLoadStartCapture\" | \"onPause\" | \"onPauseCapture\" | \"onPlay\" | \"onPlayCapture\" | \"onPlaying\" | \"onPlayingCapture\" | \"onProgress\" | \"onProgressCapture\" | \"onRateChange\" | \"onRateChangeCapture\" | \"onSeeked\" | \"onSeekedCapture\" | \"onSeeking\" | \"onSeekingCapture\" | \"onStalled\" | \"onStalledCapture\" | \"onSuspend\" | \"onSuspendCapture\" | \"onTimeUpdate\" | \"onTimeUpdateCapture\" | \"onVolumeChange\" | \"onVolumeChangeCapture\" | \"onWaiting\" | \"onWaitingCapture\" | \"onAuxClick\" | \"onAuxClickCapture\" | \"onClickCapture\" | \"onContextMenu\" | \"onContextMenuCapture\" | \"onDoubleClick\" | \"onDoubleClickCapture\" | \"onDrag\" | \"onDragCapture\" | \"onDragEnd\" | \"onDragEndCapture\" | \"onDragEnter\" | \"onDragEnterCapture\" | \"onDragExit\" | \"onDragExitCapture\" | \"onDragLeave\" | \"onDragLeaveCapture\" | \"onDragOver\" | \"onDragOverCapture\" | \"onDragStart\" | \"onDragStartCapture\" | \"onDrop\" | \"onDropCapture\" | \"onMouseDown\" | \"onMouseDownCapture\" | \"onMouseEnter\" | \"onMouseLeave\" | \"onMouseMove\" | \"onMouseMoveCapture\" | \"onMouseOut\" | \"onMouseOutCapture\" | \"onMouseOver\" | \"onMouseOverCapture\" | \"onMouseUp\" | \"onMouseUpCapture\" | \"onSelect\" | \"onSelectCapture\" | \"onTouchCancel\" | \"onTouchCancelCapture\" | \"onTouchEnd\" | \"onTouchEndCapture\" | \"onTouchMove\" | \"onTouchMoveCapture\" | \"onTouchStart\" | \"onTouchStartCapture\" | \"onPointerDown\" | \"onPointerDownCapture\" | \"onPointerMove\" | \"onPointerMoveCapture\" | \"onPointerUp\" | \"onPointerUpCapture\" | \"onPointerCancel\" | \"onPointerCancelCapture\" | \"onPointerEnter\" | \"onPointerEnterCapture\" | \"onPointerLeave\" | \"onPointerLeaveCapture\" | \"onPointerOver\" | \"onPointerOverCapture\" | \"onPointerOut\" | \"onPointerOutCapture\" | \"onGotPointerCapture\" | \"onGotPointerCaptureCapture\" | \"onLostPointerCapture\" | \"onLostPointerCaptureCapture\" | \"onScroll\" | \"onScrollCapture\" | \"onWheel\" | \"onWheelCapture\" | \"onAnimationStart\" | \"onAnimationStartCapture\" | \"onAnimationEnd\" | \"onAnimationEndCapture\" | \"onAnimationIteration\" | \"onAnimationIterationCapture\" | \"onTransitionEnd\" | \"onTransitionEndCapture\" | \"data-test-subj\" | \"iconType\" | \"toastLifeTimeMs\" | \"onClose\"> & { title?: string | ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.MountPoint", + "text": "MountPoint" + }, + " | undefined; text?: string | ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.MountPoint", + "text": "MountPoint" + }, + " | undefined; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-common.PhraseFilter", @@ -41763,7 +59346,13 @@ "label": "PhraseFilter", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " & { meta: ", "PhraseFilterMeta", "; query: { match_phrase?: Record ", "FunctionTypeBuildNode", "; or: (nodes: ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, "[]) => ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, "; and: (nodes: ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, "[]) => ", - "KueryNode", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, "; }" ], "path": "src/plugins/data/common/es_query/index.ts", @@ -42277,6 +60020,20 @@ "references": [], "initialIsOpen": false }, + { + "parentPluginId": "data", + "id": "def-common.RUNTIME_FIELD_TYPES", + "type": "Object", + "tags": [], + "label": "RUNTIME_FIELD_TYPES", + "description": [], + "signature": [ + "readonly [\"keyword\", \"long\", \"double\", \"date\", \"ip\", \"boolean\", \"geo_point\"]" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-common.UI_SETTINGS", diff --git a/api_docs/data.mdx b/api_docs/data.mdx index 4c9e1b408de82..a8e983c6a6b24 100644 --- a/api_docs/data.mdx +++ b/api_docs/data.mdx @@ -1,7 +1,7 @@ --- id: kibDataPluginApi -slug: /kibana-dev-docs/dataPluginApi -title: data +slug: /kibana-dev-docs/api/data +title: "data" image: https://source.unsplash.com/400x175/?github summary: API docs for the data plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3186 | 44 | 2800 | 49 | +| 3181 | 43 | 2796 | 48 | ## Client diff --git a/api_docs/data_autocomplete.json b/api_docs/data_autocomplete.json index 98a728a61b060..4b56c3517f44d 100644 --- a/api_docs/data_autocomplete.json +++ b/api_docs/data_autocomplete.json @@ -148,9 +148,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" } @@ -190,9 +190,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, diff --git a/api_docs/data_autocomplete.mdx b/api_docs/data_autocomplete.mdx index d422f77dd317e..61c786d94839d 100644 --- a/api_docs/data_autocomplete.mdx +++ b/api_docs/data_autocomplete.mdx @@ -1,7 +1,7 @@ --- id: kibDataAutocompletePluginApi -slug: /kibana-dev-docs/data.autocompletePluginApi -title: data.autocomplete +slug: /kibana-dev-docs/api/data-autocomplete +title: "data.autocomplete" image: https://source.unsplash.com/400x175/?github summary: API docs for the data.autocomplete plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3186 | 44 | 2800 | 49 | +| 3181 | 43 | 2796 | 48 | ## Client diff --git a/api_docs/data_data_views.json b/api_docs/data_data_views.json deleted file mode 100644 index d3bffe3e0c86e..0000000000000 --- a/api_docs/data_data_views.json +++ /dev/null @@ -1,14047 +0,0 @@ -{ - "id": "data.dataViews", - "client": { - "classes": [], - "functions": [], - "interfaces": [], - "enums": [], - "misc": [], - "objects": [] - }, - "server": { - "classes": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher", - "type": "Class", - "tags": [], - "label": "IndexPatternsFetcher", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.Unnamed.$1", - "type": "CompoundType", - "tags": [], - "label": "elasticsearchClient", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.ElasticsearchClient", - "text": "ElasticsearchClient" - } - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.Unnamed.$2", - "type": "boolean", - "tags": [], - "label": "allowNoIndices", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard", - "type": "Function", - "tags": [ - "property", - "property", - "return" - ], - "label": "getFieldsForWildcard", - "description": [ - "\n Get a list of field objects for an index pattern that may contain wildcards\n" - ], - "signature": [ - "(options: { pattern: string | string[]; metaFields?: string[] | undefined; fieldCapsOptions?: { allow_no_indices: boolean; } | undefined; type?: string | undefined; rollupIndex?: string | undefined; }) => Promise<", - { - "pluginId": "data", - "scope": "server", - "docId": "kibDataDataViewsPluginApi", - "section": "def-server.FieldDescriptor", - "text": "FieldDescriptor" - }, - "[]>" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.pattern", - "type": "CompoundType", - "tags": [], - "label": "pattern", - "description": [], - "signature": [ - "string | string[]" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.metaFields", - "type": "Array", - "tags": [], - "label": "metaFields", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.fieldCapsOptions", - "type": "Object", - "tags": [], - "label": "fieldCapsOptions", - "description": [], - "signature": [ - "{ allow_no_indices: boolean; } | undefined" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.rollupIndex", - "type": "string", - "tags": [], - "label": "rollupIndex", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern", - "type": "Function", - "tags": [ - "property", - "property", - "property", - "return" - ], - "label": "getFieldsForTimePattern", - "description": [ - "\n Get a list of field objects for a time pattern\n" - ], - "signature": [ - "(options: { pattern: string; metaFields: string[]; lookBack: number; interval: string; }) => Promise<", - { - "pluginId": "data", - "scope": "server", - "docId": "kibDataDataViewsPluginApi", - "section": "def-server.FieldDescriptor", - "text": "FieldDescriptor" - }, - "[]>" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.pattern", - "type": "string", - "tags": [], - "label": "pattern", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.metaFields", - "type": "Array", - "tags": [], - "label": "metaFields", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.lookBack", - "type": "number", - "tags": [], - "label": "lookBack", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.interval", - "type": "string", - "tags": [], - "label": "interval", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.validatePatternListActive", - "type": "Function", - "tags": [ - "return" - ], - "label": "validatePatternListActive", - "description": [ - "\n Returns an index pattern list of only those index pattern strings in the given list that return indices\n" - ], - "signature": [ - "(patternList: string[]) => Promise" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.validatePatternListActive.$1", - "type": "Array", - "tags": [], - "label": "patternList", - "description": [ - "string[]" - ], - "signature": [ - "string[]" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - } - ], - "functions": [ - { - "parentPluginId": "data", - "id": "def-server.getCapabilitiesForRollupIndices", - "type": "Function", - "tags": [], - "label": "getCapabilitiesForRollupIndices", - "description": [], - "signature": [ - "(indices: Record) => { [key: string]: any; }" - ], - "path": "src/plugins/data/server/data_views/fetcher/lib/map_capabilities.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.getCapabilitiesForRollupIndices.$1", - "type": "Object", - "tags": [], - "label": "indices", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/server/data_views/fetcher/lib/map_capabilities.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-server.shouldReadFieldFromDocValues", - "type": "Function", - "tags": [], - "label": "shouldReadFieldFromDocValues", - "description": [], - "signature": [ - "(aggregatable: boolean, esType: string) => boolean" - ], - "path": "src/plugins/data/server/data_views/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.shouldReadFieldFromDocValues.$1", - "type": "boolean", - "tags": [], - "label": "aggregatable", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/server/data_views/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.shouldReadFieldFromDocValues.$2", - "type": "string", - "tags": [], - "label": "esType", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/server/data_views/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - } - ], - "interfaces": [ - { - "parentPluginId": "data", - "id": "def-server.FieldDescriptor", - "type": "Interface", - "tags": [], - "label": "FieldDescriptor", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.FieldDescriptor.aggregatable", - "type": "boolean", - "tags": [], - "label": "aggregatable", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.FieldDescriptor.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.FieldDescriptor.readFromDocValues", - "type": "boolean", - "tags": [], - "label": "readFromDocValues", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.FieldDescriptor.searchable", - "type": "boolean", - "tags": [], - "label": "searchable", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.FieldDescriptor.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.FieldDescriptor.esTypes", - "type": "Array", - "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.FieldDescriptor.subType", - "type": "Object", - "tags": [], - "label": "subType", - "description": [], - "signature": [ - "FieldSubType | undefined" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.FieldDescriptor.metadata_field", - "type": "CompoundType", - "tags": [], - "label": "metadata_field", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/server/data_views/fetcher/index_patterns_fetcher.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsServiceStart", - "type": "Interface", - "tags": [], - "label": "IndexPatternsServiceStart", - "description": [], - "path": "src/plugins/data/server/data_views/index_patterns_service.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsServiceStart.indexPatternsServiceFactory", - "type": "Function", - "tags": [], - "label": "indexPatternsServiceFactory", - "description": [], - "signature": [ - "(savedObjectsClient: Pick<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsClient", - "text": "SavedObjectsClient" - }, - ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">, elasticsearchClient: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.ElasticsearchClient", - "text": "ElasticsearchClient" - }, - ") => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IndexPatternsService", - "text": "IndexPatternsService" - }, - ">" - ], - "path": "src/plugins/data/server/data_views/index_patterns_service.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsServiceStart.indexPatternsServiceFactory.$1", - "type": "Object", - "tags": [], - "label": "savedObjectsClient", - "description": [], - "signature": [ - "Pick<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsClient", - "text": "SavedObjectsClient" - }, - ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">" - ], - "path": "src/plugins/data/server/data_views/index_patterns_service.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsServiceStart.indexPatternsServiceFactory.$2", - "type": "CompoundType", - "tags": [], - "label": "elasticsearchClient", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.ElasticsearchClient", - "text": "ElasticsearchClient" - } - ], - "path": "src/plugins/data/server/data_views/index_patterns_service.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - } - ], - "enums": [], - "misc": [], - "objects": [] - }, - "common": { - "classes": [ - { - "parentPluginId": "data", - "id": "def-common.DataView", - "type": "Class", - "tags": [], - "label": "DataView", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " implements ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IIndexPattern", - "text": "IIndexPattern" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.id", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.fieldFormatMap", - "type": "Object", - "tags": [], - "label": "fieldFormatMap", - "description": [], - "signature": [ - "{ [x: string]: any; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.typeMeta", - "type": "Object", - "tags": [], - "label": "typeMeta", - "description": [ - "\nOnly used by rollup indices, used by rollup specific endpoint to load field list" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.TypeMeta", - "text": "TypeMeta" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.fields", - "type": "CompoundType", - "tags": [], - "label": "fields", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IIndexPatternFieldList", - "text": "IIndexPatternFieldList" - }, - " & { toSpec: () => Record; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.intervalName", - "type": "string", - "tags": [ - "deprecated" - ], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.type", - "type": "string", - "tags": [], - "label": "type", - "description": [ - "\nType is used to identify rollup index patterns" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.formatHit", - "type": "Function", - "tags": [], - "label": "formatHit", - "description": [], - "signature": [ - "{ (hit: Record, type?: string | undefined): any; formatField: FormatFieldFn; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.formatHit.$1", - "type": "Object", - "tags": [], - "label": "hit", - "description": [], - "signature": [ - "{ [x: string]: any; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.formatHit.$2", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.formatField", - "type": "Function", - "tags": [], - "label": "formatField", - "description": [], - "signature": [ - "(hit: Record, fieldName: string) => any" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.formatField.$1", - "type": "Object", - "tags": [], - "label": "hit", - "description": [], - "signature": [ - "{ [x: string]: any; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.formatField.$2", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.flattenHit", - "type": "Function", - "tags": [], - "label": "flattenHit", - "description": [], - "signature": [ - "(hit: Record, deep?: boolean | undefined) => Record" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.flattenHit.$1", - "type": "Object", - "tags": [], - "label": "hit", - "description": [], - "signature": [ - "{ [x: string]: any; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.flattenHit.$2", - "type": "CompoundType", - "tags": [], - "label": "deep", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.metaFields", - "type": "Array", - "tags": [], - "label": "metaFields", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.version", - "type": "string", - "tags": [], - "label": "version", - "description": [ - "\nSavedObject version" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.sourceFilters", - "type": "Array", - "tags": [], - "label": "sourceFilters", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.SourceFilter", - "text": "SourceFilter" - }, - "[] | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.allowNoIndex", - "type": "boolean", - "tags": [], - "label": "allowNoIndex", - "description": [ - "\nprevents errors when index pattern exists before indices" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "{ spec = {}, fieldFormats, shortDotsEnable = false, metaFields = [] }", - "description": [], - "signature": [ - "DataViewDeps" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getOriginalSavedObjectBody", - "type": "Function", - "tags": [], - "label": "getOriginalSavedObjectBody", - "description": [ - "\nGet last saved saved object fields" - ], - "signature": [ - "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; intervalName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.resetOriginalSavedObjectBody", - "type": "Function", - "tags": [], - "label": "resetOriginalSavedObjectBody", - "description": [ - "\nReset last saved saved object fields. used after saving" - ], - "signature": [ - "() => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getFieldAttrs", - "type": "Function", - "tags": [], - "label": "getFieldAttrs", - "description": [], - "signature": [ - "() => { [x: string]: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldAttrSet", - "text": "FieldAttrSet" - }, - "; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getComputedFields", - "type": "Function", - "tags": [], - "label": "getComputedFields", - "description": [], - "signature": [ - "() => { storedFields: string[]; scriptFields: Record; docvalueFields: { field: string; format: string; }[]; runtimeFields: Record; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.toSpec", - "type": "Function", - "tags": [], - "label": "toSpec", - "description": [ - "\nCreate static representation of index pattern" - ], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getSourceFiltering", - "type": "Function", - "tags": [], - "label": "getSourceFiltering", - "description": [ - "\nGet the source filtering configuration for that index." - ], - "signature": [ - "() => { excludes: string[]; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.addScriptedField", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "addScriptedField", - "description": [ - "\nAdd scripted field to field list\n" - ], - "signature": [ - "(name: string, script: string, fieldType?: string) => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.addScriptedField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [ - "field name" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.addScriptedField.$2", - "type": "string", - "tags": [], - "label": "script", - "description": [ - "script code" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.addScriptedField.$3", - "type": "string", - "tags": [], - "label": "fieldType", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.removeScriptedField", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "removeScriptedField", - "description": [ - "\nRemove scripted field from field list" - ], - "signature": [ - "(fieldName: string) => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - } - ], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.removeScriptedField.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getNonScriptedFields", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getNonScriptedFields", - "description": [ - "\n" - ], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - "[]" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts" - } - ], - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getScriptedFields", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getScriptedFields", - "description": [ - "\n" - ], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - "[]" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" - } - ], - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.isTimeBased", - "type": "Function", - "tags": [], - "label": "isTimeBased", - "description": [], - "signature": [ - "() => boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.isTimeNanosBased", - "type": "Function", - "tags": [], - "label": "isTimeNanosBased", - "description": [], - "signature": [ - "() => boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getTimeField", - "type": "Function", - "tags": [], - "label": "getTimeField", - "description": [], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getFieldByName", - "type": "Function", - "tags": [], - "label": "getFieldByName", - "description": [], - "signature": [ - "(name: string) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.getFieldByName.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getAggregationRestrictions", - "type": "Function", - "tags": [], - "label": "getAggregationRestrictions", - "description": [], - "signature": [ - "() => Record> | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getAsSavedObjectBody", - "type": "Function", - "tags": [], - "label": "getAsSavedObjectBody", - "description": [ - "\nReturns index pattern as saved object body for saving" - ], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [ - "\nProvide a field, get its formatter" - ], - "signature": [ - "(field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.getFormatterForField.$1", - "type": "CompoundType", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.addRuntimeField", - "type": "Function", - "tags": [], - "label": "addRuntimeField", - "description": [ - "\nAdd a runtime field - Appended to existing mapped field or a new field is\ncreated as appropriate" - ], - "signature": [ - "(name: string, runtimeField: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - ") => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.addRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [ - "Field name" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.addRuntimeField.$2", - "type": "Object", - "tags": [], - "label": "runtimeField", - "description": [ - "Runtime field definition" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.hasRuntimeField", - "type": "Function", - "tags": [], - "label": "hasRuntimeField", - "description": [ - "\nChecks if runtime field exists" - ], - "signature": [ - "(name: string) => boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.hasRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getRuntimeField", - "type": "Function", - "tags": [], - "label": "getRuntimeField", - "description": [ - "\nReturns runtime field if exists" - ], - "signature": [ - "(name: string) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - " | null" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.getRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.replaceAllRuntimeFields", - "type": "Function", - "tags": [], - "label": "replaceAllRuntimeFields", - "description": [ - "\nReplaces all existing runtime fields with new fields" - ], - "signature": [ - "(newFields: Record) => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.replaceAllRuntimeFields.$1", - "type": "Object", - "tags": [], - "label": "newFields", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.removeRuntimeField", - "type": "Function", - "tags": [], - "label": "removeRuntimeField", - "description": [ - "\nRemove a runtime field - removed from mapped field or removed unmapped\nfield as appropriate. Doesn't clear associated field attributes." - ], - "signature": [ - "(name: string) => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.removeRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [ - "- Field name to remove" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.getFormatterForFieldNoDefault", - "type": "Function", - "tags": [], - "label": "getFormatterForFieldNoDefault", - "description": [ - "\nGet formatter for a given field name. Return undefined if none exists" - ], - "signature": [ - "(fieldname: string) => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.getFormatterForFieldNoDefault.$1", - "type": "string", - "tags": [], - "label": "fieldname", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldAttrs", - "type": "Function", - "tags": [], - "label": "setFieldAttrs", - "description": [], - "signature": [ - "(fieldName: string, attrName: K, value: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldAttrSet", - "text": "FieldAttrSet" - }, - "[K]) => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldAttrs.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldAttrs.$2", - "type": "Uncategorized", - "tags": [], - "label": "attrName", - "description": [], - "signature": [ - "K" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldAttrs.$3", - "type": "Uncategorized", - "tags": [], - "label": "value", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldAttrSet", - "text": "FieldAttrSet" - }, - "[K]" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldCustomLabel", - "type": "Function", - "tags": [], - "label": "setFieldCustomLabel", - "description": [], - "signature": [ - "(fieldName: string, customLabel: string | null | undefined) => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldCustomLabel.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldCustomLabel.$2", - "type": "CompoundType", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | null | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldCount", - "type": "Function", - "tags": [], - "label": "setFieldCount", - "description": [], - "signature": [ - "(fieldName: string, count: number | null | undefined) => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldCount.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldCount.$2", - "type": "CompoundType", - "tags": [], - "label": "count", - "description": [], - "signature": [ - "number | null | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldFormat", - "type": "Function", - "tags": [], - "label": "setFieldFormat", - "description": [], - "signature": [ - "(fieldName: string, format: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.SerializedFieldFormat", - "text": "SerializedFieldFormat" - }, - ">) => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldFormat.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.setFieldFormat.$2", - "type": "Object", - "tags": [], - "label": "format", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.SerializedFieldFormat", - "text": "SerializedFieldFormat" - }, - ">" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataView.deleteFieldFormat", - "type": "Function", - "tags": [], - "label": "deleteFieldFormat", - "description": [], - "signature": [ - "(fieldName: string) => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataView.deleteFieldFormat.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField", - "type": "Class", - "tags": [], - "label": "DataViewField", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - " implements ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - } - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewField.spec", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewField.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.count", - "type": "number", - "tags": [], - "label": "count", - "description": [ - "\nCount is used for field popularity" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.count", - "type": "number", - "tags": [], - "label": "count", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.runtimeField", - "type": "Object", - "tags": [], - "label": "runtimeField", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.runtimeField", - "type": "Object", - "tags": [], - "label": "runtimeField", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.script", - "type": "string", - "tags": [], - "label": "script", - "description": [ - "\nScript field code" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.script", - "type": "string", - "tags": [], - "label": "script", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.lang", - "type": "CompoundType", - "tags": [], - "label": "lang", - "description": [ - "\nScript field language" - ], - "signature": [ - "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.lang", - "type": "CompoundType", - "tags": [], - "label": "lang", - "description": [], - "signature": [ - "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.conflictDescriptions", - "type": "Object", - "tags": [], - "label": "conflictDescriptions", - "description": [ - "\nDescription of field type conflicts across different indices in the same index pattern" - ], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.conflictDescriptions", - "type": "Object", - "tags": [], - "label": "conflictDescriptions", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.displayName", - "type": "string", - "tags": [], - "label": "displayName", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.esTypes", - "type": "Array", - "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.scripted", - "type": "boolean", - "tags": [], - "label": "scripted", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.searchable", - "type": "boolean", - "tags": [], - "label": "searchable", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.aggregatable", - "type": "boolean", - "tags": [], - "label": "aggregatable", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.readFromDocValues", - "type": "boolean", - "tags": [], - "label": "readFromDocValues", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.subType", - "type": "Object", - "tags": [], - "label": "subType", - "description": [], - "signature": [ - "IFieldSubType", - " | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.isMapped", - "type": "CompoundType", - "tags": [], - "label": "isMapped", - "description": [ - "\nIs the field part of the index mapping?" - ], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.sortable", - "type": "boolean", - "tags": [], - "label": "sortable", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.filterable", - "type": "boolean", - "tags": [], - "label": "filterable", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.visualizable", - "type": "boolean", - "tags": [], - "label": "visualizable", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.deleteCount", - "type": "Function", - "tags": [], - "label": "deleteCount", - "description": [], - "signature": [ - "() => void" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.toJSON", - "type": "Function", - "tags": [], - "label": "toJSON", - "description": [], - "signature": [ - "() => { count: number; script: string | undefined; lang: \"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined; conflictDescriptions: Record | undefined; name: string; type: string; esTypes: string[] | undefined; scripted: boolean; searchable: boolean; aggregatable: boolean; readFromDocValues: boolean; subType: ", - "IFieldSubType", - " | undefined; customLabel: string | undefined; }" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewField.toSpec", - "type": "Function", - "tags": [], - "label": "toSpec", - "description": [], - "signature": [ - "({ getFormatterForField, }?: { getFormatterForField?: ((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined; }) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewField.toSpec.$1", - "type": "Object", - "tags": [], - "label": "{\n getFormatterForField,\n }", - "description": [], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewField.toSpec.$1.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [], - "signature": [ - "((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSavedObjectConflictError", - "type": "Class", - "tags": [], - "label": "DataViewSavedObjectConflictError", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSavedObjectConflictError", - "text": "DataViewSavedObjectConflictError" - }, - " extends Error" - ], - "path": "src/plugins/data/common/data_views/errors/data_view_saved_object_conflict.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewSavedObjectConflictError.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/data_views/errors/data_view_saved_object_conflict.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewSavedObjectConflictError.Unnamed.$1", - "type": "string", - "tags": [], - "label": "savedObjectId", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/errors/data_view_saved_object_conflict.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService", - "type": "Class", - "tags": [], - "label": "DataViewsService", - "description": [], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.ensureDefaultDataView", - "type": "Function", - "tags": [], - "label": "ensureDefaultDataView", - "description": [], - "signature": [ - "() => Promise | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "returnComment": [], - "children": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "{\n uiSettings,\n savedObjectsClient,\n apiClient,\n fieldFormats,\n onNotification,\n onError,\n onRedirectNoIndexPattern = () => {},\n }", - "description": [], - "signature": [ - "IndexPatternsServiceDeps" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getIds", - "type": "Function", - "tags": [], - "label": "getIds", - "description": [ - "\nGet list of index pattern ids" - ], - "signature": [ - "(refresh?: boolean) => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getIds.$1", - "type": "boolean", - "tags": [], - "label": "refresh", - "description": [ - "Force refresh of index pattern list" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getTitles", - "type": "Function", - "tags": [], - "label": "getTitles", - "description": [ - "\nGet list of index pattern titles" - ], - "signature": [ - "(refresh?: boolean) => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getTitles.$1", - "type": "boolean", - "tags": [], - "label": "refresh", - "description": [ - "Force refresh of index pattern list" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.find", - "type": "Function", - "tags": [], - "label": "find", - "description": [ - "\nFind and load index patterns by title" - ], - "signature": [ - "(search: string, size?: number) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - "[]>" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.find.$1", - "type": "string", - "tags": [], - "label": "search", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.find.$2", - "type": "number", - "tags": [], - "label": "size", - "description": [], - "signature": [ - "number" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "IndexPattern[]" - ] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getIdsWithTitle", - "type": "Function", - "tags": [], - "label": "getIdsWithTitle", - "description": [ - "\nGet list of index pattern ids with titles" - ], - "signature": [ - "(refresh?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewListItem", - "text": "DataViewListItem" - }, - "[]>" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getIdsWithTitle.$1", - "type": "boolean", - "tags": [], - "label": "refresh", - "description": [ - "Force refresh of index pattern list" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.clearCache", - "type": "Function", - "tags": [], - "label": "clearCache", - "description": [ - "\nClear index pattern list cache" - ], - "signature": [ - "(id?: string | undefined) => void" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.clearCache.$1", - "type": "string", - "tags": [], - "label": "id", - "description": [ - "optionally clear a single id" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getCache", - "type": "Function", - "tags": [], - "label": "getCache", - "description": [], - "signature": [ - "() => Promise<", - "SavedObject", - ">[] | null | undefined>" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getDefault", - "type": "Function", - "tags": [], - "label": "getDefault", - "description": [ - "\nGet default index pattern" - ], - "signature": [ - "() => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | null>" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getDefaultId", - "type": "Function", - "tags": [], - "label": "getDefaultId", - "description": [ - "\nGet default index pattern id" - ], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.setDefault", - "type": "Function", - "tags": [], - "label": "setDefault", - "description": [ - "\nOptionally set default index pattern, unless force = true" - ], - "signature": [ - "(id: string | null, force?: boolean) => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.setDefault.$1", - "type": "CompoundType", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string | null" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.setDefault.$2", - "type": "boolean", - "tags": [], - "label": "force", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.hasUserDataView", - "type": "Function", - "tags": [], - "label": "hasUserDataView", - "description": [ - "\nChecks if current user has a user created index pattern ignoring fleet's server default index patterns" - ], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getFieldsForWildcard", - "type": "Function", - "tags": [], - "label": "getFieldsForWildcard", - "description": [ - "\nGet field list by providing { pattern }" - ], - "signature": [ - "(options: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - ") => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getFieldsForWildcard.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "FieldSpec[]" - ] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getFieldsForIndexPattern", - "type": "Function", - "tags": [], - "label": "getFieldsForIndexPattern", - "description": [ - "\nGet field list by providing an index patttern (or spec)" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", options?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - " | undefined) => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getFieldsForIndexPattern.$1", - "type": "CompoundType", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.getFieldsForIndexPattern.$2", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [ - "FieldSpec[]" - ] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.refreshFields", - "type": "Function", - "tags": [], - "label": "refreshFields", - "description": [ - "\nRefresh field list for a given index pattern" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ") => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.refreshFields.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.fieldArrayToMap", - "type": "Function", - "tags": [], - "label": "fieldArrayToMap", - "description": [ - "\nConverts field array to map" - ], - "signature": [ - "(fields: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[], fieldAttrs?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined) => Record" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.fieldArrayToMap.$1", - "type": "Array", - "tags": [], - "label": "fields", - "description": [ - ": FieldSpec[]" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.fieldArrayToMap.$2", - "type": "Object", - "tags": [], - "label": "fieldAttrs", - "description": [ - ": FieldAttrs" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [ - "Record" - ] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.savedObjectToSpec", - "type": "Function", - "tags": [], - "label": "savedObjectToSpec", - "description": [ - "\nConverts index pattern saved object to index pattern spec" - ], - "signature": [ - "(savedObject: ", - "SavedObject", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - }, - ">) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.savedObjectToSpec.$1", - "type": "Object", - "tags": [], - "label": "savedObject", - "description": [], - "signature": [ - "SavedObject", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - }, - ">" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "IndexPatternSpec" - ] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.get", - "type": "Function", - "tags": [], - "label": "get", - "description": [ - "\nGet an index pattern by id. Cache optimized" - ], - "signature": [ - "(id: string) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.get.$1", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.create", - "type": "Function", - "tags": [], - "label": "create", - "description": [ - "\nCreate a new index pattern instance" - ], - "signature": [ - "(spec: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", skipFetchFields?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.create.$1", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.create.$2", - "type": "boolean", - "tags": [], - "label": "skipFetchFields", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "IndexPattern" - ] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.createAndSave", - "type": "Function", - "tags": [], - "label": "createAndSave", - "description": [ - "\nCreate a new index pattern and save it right away" - ], - "signature": [ - "(spec: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", override?: boolean, skipFetchFields?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.createAndSave.$1", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.createAndSave.$2", - "type": "boolean", - "tags": [], - "label": "override", - "description": [ - "Overwrite if existing index pattern exists." - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.createAndSave.$3", - "type": "boolean", - "tags": [], - "label": "skipFetchFields", - "description": [ - "Whether to skip field refresh step." - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.createSavedObject", - "type": "Function", - "tags": [], - "label": "createSavedObject", - "description": [ - "\nSave a new index pattern" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", override?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.createSavedObject.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.createSavedObject.$2", - "type": "boolean", - "tags": [], - "label": "override", - "description": [ - "Overwrite if existing index pattern exists" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.updateSavedObject", - "type": "Function", - "tags": [], - "label": "updateSavedObject", - "description": [ - "\nSave existing index pattern. Will attempt to merge differences if there are conflicts" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", saveAttempts?: number, ignoreErrors?: boolean) => Promise" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.updateSavedObject.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.updateSavedObject.$2", - "type": "number", - "tags": [], - "label": "saveAttempts", - "description": [], - "signature": [ - "number" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.updateSavedObject.$3", - "type": "boolean", - "tags": [], - "label": "ignoreErrors", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.delete", - "type": "Function", - "tags": [], - "label": "delete", - "description": [ - "\nDeletes an index pattern from .kibana index" - ], - "signature": [ - "(indexPatternId: string) => Promise<{}>" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewsService.delete.$1", - "type": "string", - "tags": [], - "label": "indexPatternId", - "description": [ - ": Id of kibana Index Pattern to delete" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.DuplicateDataViewError", - "type": "Class", - "tags": [], - "label": "DuplicateDataViewError", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DuplicateDataViewError", - "text": "DuplicateDataViewError" - }, - " extends Error" - ], - "path": "src/plugins/data/common/data_views/errors/duplicate_index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DuplicateDataViewError.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/data_views/errors/duplicate_index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DuplicateDataViewError.Unnamed.$1", - "type": "string", - "tags": [], - "label": "message", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/errors/duplicate_index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPattern", - "type": "Class", - "tags": [ - "deprecated" - ], - "label": "IndexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - " extends ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_view.ts", - "deprecated": true, - "references": [ - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" - }, - { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" - }, - { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/types.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/types.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/embeddables/types.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/embeddables/types.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/types/index.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/types/index.ts" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" - }, - { - "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/common/types/index_pattern.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/common/types/index_pattern.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/common/types/index_pattern.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/common/types/index_pattern.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.tsx" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/view_saved_search_action.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/view_saved_search_action.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/helpers.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/helpers.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/doc_table_wrapper.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/doc_table_wrapper.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_flyout.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_flyout.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/components/discover_grid/get_render_cell_value.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/components/discover_grid/get_render_cell_value.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/context/services/utils/sorting.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/context/services/utils/sorting.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/calc_field_counts.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/calc_field_counts.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_default_sort.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_default_sort.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/top_nav/get_top_nav_links.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/top_nav/get_top_nav_links.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/types.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/types.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/types.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/vis_types/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/utils.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/utils.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/utils.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/types/app_state.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/types/app_state.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/search_bar.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/search_bar.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/search_bar.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/search_bar.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/common/request.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/common/request.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/common/request.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/common/request.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" - }, - { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" - }, - { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" - }, - { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" - }, - { - "plugin": "uptime", - "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/mocks.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/mocks.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/types.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/types.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" - }, - { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" - }, - { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" - }, - { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" - }, - { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" - }, - { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" - }, - { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" - } - ], - "children": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternField", - "type": "Class", - "tags": [ - "deprecated" - ], - "label": "IndexPatternField", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " extends ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - } - ], - "path": "src/plugins/data/common/data_views/fields/data_view_field.ts", - "deprecated": true, - "references": [ - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" - }, - { - "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/table/table.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" - }, - { - "plugin": "visDefaultEditor", - "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" - }, - { - "plugin": "dataVisualizer", - "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/field_stats.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" - } - ], - "children": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternsService", - "type": "Class", - "tags": [ - "deprecated" - ], - "label": "IndexPatternsService", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IndexPatternsService", - "text": "IndexPatternsService" - }, - " extends ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewsService", - "text": "DataViewsService" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": true, - "references": [ - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/types.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/types.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/kibana_server_services.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/kibana_server_services.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/plugin.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/plugin.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" - } - ], - "children": [], - "initialIsOpen": false - } - ], - "functions": [ - { - "parentPluginId": "data", - "id": "def-common.fieldList", - "type": "Function", - "tags": [], - "label": "fieldList", - "description": [], - "signature": [ - "(specs?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[], shortDotsEnable?: boolean) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IIndexPatternFieldList", - "text": "IIndexPatternFieldList" - } - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.fieldList.$1", - "type": "Array", - "tags": [], - "label": "specs", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.fieldList.$2", - "type": "boolean", - "tags": [], - "label": "shortDotsEnable", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.getIndexPatternLoadMeta", - "type": "Function", - "tags": [], - "label": "getIndexPatternLoadMeta", - "description": [], - "signature": [ - "() => Pick<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IndexPatternLoadExpressionFunctionDefinition", - "text": "IndexPatternLoadExpressionFunctionDefinition" - }, - ", \"type\" | \"telemetry\" | \"inject\" | \"extract\" | \"migrations\" | \"name\" | \"disabled\" | \"help\" | \"inputTypes\" | \"args\" | \"aliases\" | \"context\">" - ], - "path": "src/plugins/data/common/data_views/expressions/load_index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isFilterable", - "type": "Function", - "tags": [], - "label": "isFilterable", - "description": [], - "signature": [ - "(field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - ") => boolean" - ], - "path": "src/plugins/data/common/data_views/fields/utils.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.isFilterable.$1", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - } - ], - "path": "src/plugins/data/common/data_views/fields/utils.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isNestedField", - "type": "Function", - "tags": [], - "label": "isNestedField", - "description": [], - "signature": [ - "(field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - ") => boolean" - ], - "path": "src/plugins/data/common/data_views/fields/utils.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.isNestedField.$1", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - } - ], - "path": "src/plugins/data/common/data_views/fields/utils.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - } - ], - "interfaces": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes", - "type": "Interface", - "tags": [], - "label": "DataViewAttributes", - "description": [ - "\nInterface for an index pattern saved object" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.fields", - "type": "string", - "tags": [], - "label": "fields", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.typeMeta", - "type": "string", - "tags": [], - "label": "typeMeta", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.intervalName", - "type": "string", - "tags": [], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.sourceFilters", - "type": "string", - "tags": [], - "label": "sourceFilters", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.fieldFormatMap", - "type": "string", - "tags": [], - "label": "fieldFormatMap", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.fieldAttrs", - "type": "string", - "tags": [], - "label": "fieldAttrs", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.runtimeFieldMap", - "type": "string", - "tags": [], - "label": "runtimeFieldMap", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewAttributes.allowNoIndex", - "type": "CompoundType", - "tags": [], - "label": "allowNoIndex", - "description": [ - "\nprevents errors when index pattern exists before indices" - ], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewListItem", - "type": "Interface", - "tags": [], - "label": "DataViewListItem", - "description": [], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewListItem.id", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewListItem.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewListItem.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewListItem.typeMeta", - "type": "Object", - "tags": [], - "label": "typeMeta", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.TypeMeta", - "text": "TypeMeta" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec", - "type": "Interface", - "tags": [], - "label": "DataViewSpec", - "description": [ - "\nStatic index pattern format\nSerialized data object, representing index pattern attributes and state" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.id", - "type": "string", - "tags": [], - "label": "id", - "description": [ - "\nsaved object id" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.version", - "type": "string", - "tags": [], - "label": "version", - "description": [ - "\nsaved object version string" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.intervalName", - "type": "string", - "tags": [ - "deprecated" - ], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": true, - "references": [] - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.sourceFilters", - "type": "Array", - "tags": [], - "label": "sourceFilters", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.SourceFilter", - "text": "SourceFilter" - }, - "[] | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.fields", - "type": "Object", - "tags": [], - "label": "fields", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.typeMeta", - "type": "Object", - "tags": [], - "label": "typeMeta", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.TypeMeta", - "text": "TypeMeta" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.fieldFormats", - "type": "Object", - "tags": [], - "label": "fieldFormats", - "description": [], - "signature": [ - "Record>> | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.runtimeFieldMap", - "type": "Object", - "tags": [], - "label": "runtimeFieldMap", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.fieldAttrs", - "type": "Object", - "tags": [], - "label": "fieldAttrs", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewSpec.allowNoIndex", - "type": "CompoundType", - "tags": [], - "label": "allowNoIndex", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldAttrs", - "type": "Interface", - "tags": [ - "intenal" - ], - "label": "FieldAttrs", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.FieldAttrs.Unnamed", - "type": "Any", - "tags": [], - "label": "Unnamed", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldAttrSet", - "type": "Interface", - "tags": [], - "label": "FieldAttrSet", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.FieldAttrSet.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldAttrSet.count", - "type": "number", - "tags": [], - "label": "count", - "description": [], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec", - "type": "Interface", - "tags": [], - "label": "FieldSpec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " extends ", - "DataViewFieldBase" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.count", - "type": "number", - "tags": [], - "label": "count", - "description": [ - "\nPopularity count is used by discover" - ], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.conflictDescriptions", - "type": "Object", - "tags": [], - "label": "conflictDescriptions", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.format", - "type": "Object", - "tags": [], - "label": "format", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.SerializedFieldFormat", - "text": "SerializedFieldFormat" - }, - "> | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.esTypes", - "type": "Array", - "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.searchable", - "type": "boolean", - "tags": [], - "label": "searchable", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.aggregatable", - "type": "boolean", - "tags": [], - "label": "aggregatable", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.readFromDocValues", - "type": "CompoundType", - "tags": [], - "label": "readFromDocValues", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.indexed", - "type": "CompoundType", - "tags": [], - "label": "indexed", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.runtimeField", - "type": "Object", - "tags": [], - "label": "runtimeField", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.shortDotsEnable", - "type": "CompoundType", - "tags": [], - "label": "shortDotsEnable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec.isMapped", - "type": "CompoundType", - "tags": [], - "label": "isMapped", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt", - "type": "Interface", - "tags": [], - "label": "FieldSpecExportFmt", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.count", - "type": "number", - "tags": [], - "label": "count", - "description": [], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.script", - "type": "string", - "tags": [], - "label": "script", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.lang", - "type": "CompoundType", - "tags": [], - "label": "lang", - "description": [], - "signature": [ - "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.conflictDescriptions", - "type": "Object", - "tags": [], - "label": "conflictDescriptions", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.type", - "type": "Enum", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "KBN_FIELD_TYPES" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.esTypes", - "type": "Array", - "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.scripted", - "type": "boolean", - "tags": [], - "label": "scripted", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.searchable", - "type": "boolean", - "tags": [], - "label": "searchable", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.aggregatable", - "type": "boolean", - "tags": [], - "label": "aggregatable", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.readFromDocValues", - "type": "CompoundType", - "tags": [], - "label": "readFromDocValues", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.subType", - "type": "Object", - "tags": [], - "label": "subType", - "description": [], - "signature": [ - "IFieldSubType", - " | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.format", - "type": "Object", - "tags": [], - "label": "format", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.SerializedFieldFormat", - "text": "SerializedFieldFormat" - }, - "> | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.indexed", - "type": "CompoundType", - "tags": [], - "label": "indexed", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions", - "type": "Interface", - "tags": [], - "label": "GetFieldsOptions", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions.pattern", - "type": "string", - "tags": [], - "label": "pattern", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions.lookBack", - "type": "CompoundType", - "tags": [], - "label": "lookBack", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions.metaFields", - "type": "Array", - "tags": [], - "label": "metaFields", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions.rollupIndex", - "type": "string", - "tags": [], - "label": "rollupIndex", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions.allowNoIndex", - "type": "CompoundType", - "tags": [], - "label": "allowNoIndex", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptionsTimePattern", - "type": "Interface", - "tags": [], - "label": "GetFieldsOptionsTimePattern", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptionsTimePattern.pattern", - "type": "string", - "tags": [], - "label": "pattern", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptionsTimePattern.metaFields", - "type": "Array", - "tags": [], - "label": "metaFields", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptionsTimePattern.lookBack", - "type": "number", - "tags": [], - "label": "lookBack", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptionsTimePattern.interval", - "type": "string", - "tags": [], - "label": "interval", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IDataViewsApiClient", - "type": "Interface", - "tags": [], - "label": "IDataViewsApiClient", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IDataViewsApiClient.getFieldsForTimePattern", - "type": "Function", - "tags": [], - "label": "getFieldsForTimePattern", - "description": [], - "signature": [ - "(options: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptionsTimePattern", - "text": "GetFieldsOptionsTimePattern" - }, - ") => Promise" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IDataViewsApiClient.getFieldsForTimePattern.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptionsTimePattern", - "text": "GetFieldsOptionsTimePattern" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IDataViewsApiClient.getFieldsForWildcard", - "type": "Function", - "tags": [], - "label": "getFieldsForWildcard", - "description": [], - "signature": [ - "(options: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - ") => Promise" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IDataViewsApiClient.getFieldsForWildcard.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IDataViewsApiClient.hasUserIndexPattern", - "type": "Function", - "tags": [], - "label": "hasUserIndexPattern", - "description": [], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType", - "type": "Interface", - "tags": [ - "deprecated" - ], - "label": "IFieldType", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " extends ", - "DataViewFieldBase" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" - }, - { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/index.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/index.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" - } - ], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IFieldType.count", - "type": "number", - "tags": [], - "label": "count", - "description": [], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.esTypes", - "type": "Array", - "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.aggregatable", - "type": "CompoundType", - "tags": [], - "label": "aggregatable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.filterable", - "type": "CompoundType", - "tags": [], - "label": "filterable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.searchable", - "type": "CompoundType", - "tags": [], - "label": "searchable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.sortable", - "type": "CompoundType", - "tags": [], - "label": "sortable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.visualizable", - "type": "CompoundType", - "tags": [], - "label": "visualizable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.readFromDocValues", - "type": "CompoundType", - "tags": [], - "label": "readFromDocValues", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.displayName", - "type": "string", - "tags": [], - "label": "displayName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.format", - "type": "Any", - "tags": [], - "label": "format", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType.toSpec", - "type": "Function", - "tags": [], - "label": "toSpec", - "description": [], - "signature": [ - "((options?: { getFormatterForField?: ((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined; } | undefined) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IFieldType.toSpec.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IFieldType.toSpec.$1.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [], - "signature": [ - "((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/types.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern", - "type": "Interface", - "tags": [ - "deprecated" - ], - "label": "IIndexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IIndexPattern", - "text": "IIndexPattern" - }, - " extends ", - "DataViewBase" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": true, - "references": [ - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" - }, - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" - }, - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" - }, - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" - }, - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/container/source/index.tsx" - }, - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/container/source/index.tsx" - }, - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/container/source/index.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/utils/kuery.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/utils/kuery.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/lib/kuery.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/public/lib/kuery.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" - }, - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" - }, - { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/target/types/public/alerts/components/param_details_form/use_derived_index_pattern.d.ts" - }, - { - "plugin": "monitoring", - "path": "x-pack/plugins/monitoring/target/types/public/alerts/components/param_details_form/use_derived_index_pattern.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" - } - ], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.fields", - "type": "Array", - "tags": [], - "label": "fields", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - "[]" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.type", - "type": "string", - "tags": [], - "label": "type", - "description": [ - "\nType is used for identifying rollup indices, otherwise left undefined" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.getTimeField", - "type": "Function", - "tags": [], - "label": "getTimeField", - "description": [], - "signature": [ - "(() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | undefined) | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.fieldFormatMap", - "type": "Object", - "tags": [], - "label": "fieldFormatMap", - "description": [], - "signature": [ - "Record | undefined> | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [ - "\nLook up a formatter for a given field" - ], - "signature": [ - "((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.getFormatterForField.$1", - "type": "CompoundType", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList", - "type": "Interface", - "tags": [], - "label": "IIndexPatternFieldList", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IIndexPatternFieldList", - "text": "IIndexPatternFieldList" - }, - " extends ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - "[]" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.add", - "type": "Function", - "tags": [], - "label": "add", - "description": [], - "signature": [ - "(field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => void" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.add.$1", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.getAll", - "type": "Function", - "tags": [], - "label": "getAll", - "description": [], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - "[]" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.getByName", - "type": "Function", - "tags": [], - "label": "getByName", - "description": [], - "signature": [ - "(name: string) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.getByName.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.getByType", - "type": "Function", - "tags": [], - "label": "getByType", - "description": [], - "signature": [ - "(type: string) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - "[]" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.getByType.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.remove", - "type": "Function", - "tags": [], - "label": "remove", - "description": [], - "signature": [ - "(field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - ") => void" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.remove.$1", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - } - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.removeAll", - "type": "Function", - "tags": [], - "label": "removeAll", - "description": [], - "signature": [ - "() => void" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.replaceAll", - "type": "Function", - "tags": [], - "label": "replaceAll", - "description": [], - "signature": [ - "(specs: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]) => void" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.replaceAll.$1", - "type": "Array", - "tags": [], - "label": "specs", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.update", - "type": "Function", - "tags": [], - "label": "update", - "description": [], - "signature": [ - "(field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => void" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.update.$1", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.toSpec", - "type": "Function", - "tags": [], - "label": "toSpec", - "description": [], - "signature": [ - "(options?: { getFormatterForField?: ((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined; } | undefined) => Record" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.toSpec.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.toSpec.$1.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [], - "signature": [ - "((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewField", - "text": "DataViewField" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined" - ], - "path": "src/plugins/data/common/data_views/fields/field_list.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternExpressionType", - "type": "Interface", - "tags": [], - "label": "IndexPatternExpressionType", - "description": [], - "path": "src/plugins/data/common/data_views/expressions/load_index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IndexPatternExpressionType.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "\"index_pattern\"" - ], - "path": "src/plugins/data/common/data_views/expressions/load_index_pattern.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternExpressionType.value", - "type": "Object", - "tags": [], - "label": "value", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - } - ], - "path": "src/plugins/data/common/data_views/expressions/load_index_pattern.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.RuntimeField", - "type": "Interface", - "tags": [], - "label": "RuntimeField", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.RuntimeField.type", - "type": "CompoundType", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "\"boolean\" | \"date\" | \"keyword\" | \"geo_point\" | \"ip\" | \"long\" | \"double\"" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.RuntimeField.script", - "type": "Object", - "tags": [], - "label": "script", - "description": [], - "signature": [ - "{ source: string; } | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon", - "type": "Interface", - "tags": [], - "label": "SavedObjectsClientCommon", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.find", - "type": "Function", - "tags": [], - "label": "find", - "description": [], - "signature": [ - "(options: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.SavedObjectsClientCommonFindArgs", - "text": "SavedObjectsClientCommonFindArgs" - }, - ") => Promise<", - "SavedObject", - "[]>" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.find.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.SavedObjectsClientCommonFindArgs", - "text": "SavedObjectsClientCommonFindArgs" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.get", - "type": "Function", - "tags": [], - "label": "get", - "description": [], - "signature": [ - "(type: string, id: string) => Promise<", - "SavedObject", - ">" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.get.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.get.$2", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.update", - "type": "Function", - "tags": [], - "label": "update", - "description": [], - "signature": [ - "(type: string, id: string, attributes: Record, options: Record) => Promise<", - "SavedObject", - ">" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.update.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.update.$2", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.update.$3", - "type": "Object", - "tags": [], - "label": "attributes", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.update.$4", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.create", - "type": "Function", - "tags": [], - "label": "create", - "description": [], - "signature": [ - "(type: string, attributes: Record, options: Record) => Promise<", - "SavedObject", - ">" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.create.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.create.$2", - "type": "Object", - "tags": [], - "label": "attributes", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.create.$3", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.delete", - "type": "Function", - "tags": [], - "label": "delete", - "description": [], - "signature": [ - "(type: string, id: string) => Promise<{}>" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.delete.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.delete.$2", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommonFindArgs", - "type": "Interface", - "tags": [], - "label": "SavedObjectsClientCommonFindArgs", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommonFindArgs.type", - "type": "CompoundType", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | string[]" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommonFindArgs.fields", - "type": "Array", - "tags": [], - "label": "fields", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommonFindArgs.perPage", - "type": "number", - "tags": [], - "label": "perPage", - "description": [], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommonFindArgs.search", - "type": "string", - "tags": [], - "label": "search", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommonFindArgs.searchFields", - "type": "Array", - "tags": [], - "label": "searchFields", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.SourceFilter", - "type": "Interface", - "tags": [], - "label": "SourceFilter", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SourceFilter.value", - "type": "string", - "tags": [], - "label": "value", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.TypeMeta", - "type": "Interface", - "tags": [], - "label": "TypeMeta", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.TypeMeta.aggs", - "type": "Object", - "tags": [], - "label": "aggs", - "description": [], - "signature": [ - "Record> | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.TypeMeta.params", - "type": "Object", - "tags": [], - "label": "params", - "description": [], - "signature": [ - "{ rollup_index: string; } | undefined" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon", - "type": "Interface", - "tags": [], - "label": "UiSettingsCommon", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.get", - "type": "Function", - "tags": [], - "label": "get", - "description": [], - "signature": [ - "(key: string) => Promise" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.get.$1", - "type": "string", - "tags": [], - "label": "key", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.getAll", - "type": "Function", - "tags": [], - "label": "getAll", - "description": [], - "signature": [ - "() => Promise>" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.set", - "type": "Function", - "tags": [], - "label": "set", - "description": [], - "signature": [ - "(key: string, value: any) => Promise" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.set.$1", - "type": "string", - "tags": [], - "label": "key", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.set.$2", - "type": "Any", - "tags": [], - "label": "value", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.remove", - "type": "Function", - "tags": [], - "label": "remove", - "description": [], - "signature": [ - "(key: string) => Promise" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.remove.$1", - "type": "string", - "tags": [], - "label": "key", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - } - ], - "enums": [ - { - "parentPluginId": "data", - "id": "def-common.DataViewType", - "type": "Enum", - "tags": [], - "label": "DataViewType", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternType", - "type": "Enum", - "tags": [ - "deprecated" - ], - "label": "IndexPatternType", - "description": [], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": true, - "references": [], - "initialIsOpen": false - } - ], - "misc": [ - { - "parentPluginId": "data", - "id": "def-common.AggregationRestrictions", - "type": "Type", - "tags": [], - "label": "AggregationRestrictions", - "description": [], - "signature": [ - "{ [x: string]: { agg?: string | undefined; interval?: number | undefined; fixed_interval?: string | undefined; calendar_interval?: string | undefined; delay?: string | undefined; time_zone?: string | undefined; }; }" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewFieldMap", - "type": "Type", - "tags": [], - "label": "DataViewFieldMap", - "description": [], - "signature": [ - "{ [x: string]: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "; }" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.DataViewsContract", - "type": "Type", - "tags": [], - "label": "DataViewsContract", - "description": [], - "signature": [ - "{ get: (id: string) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", skipFetchFields?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; find: (search: string, size?: number) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - "[]>; ensureDefaultDataView: ", - "EnsureDefaultDataView", - "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewListItem", - "text": "DataViewListItem" - }, - "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", - "SavedObject", - ">[] | null | undefined>; getDefault: () => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - ") => Promise; getFieldsForIndexPattern: (indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", options?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - " | undefined) => Promise; refreshFields: (indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ") => Promise; fieldArrayToMap: (fields: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[], fieldAttrs?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined) => Record; savedObjectToSpec: (savedObject: ", - "SavedObject", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - }, - ">) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - "; createAndSave: (spec: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", override?: boolean, skipFetchFields?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; createSavedObject: (indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", override?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; updateSavedObject: (indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldFormatMap", - "type": "Type", - "tags": [], - "label": "FieldFormatMap", - "description": [], - "signature": [ - "{ [x: string]: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.SerializedFieldFormat", - "text": "SerializedFieldFormat" - }, - ">; }" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecConflictDescriptions", - "type": "Type", - "tags": [], - "label": "FieldSpecConflictDescriptions", - "description": [], - "signature": [ - "{ [x: string]: string[]; }" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternsApiClient", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IIndexPatternsApiClient", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.IDataViewsApiClient", - "text": "IDataViewsApiClient" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": true, - "references": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternAttributes", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IndexPatternAttributes", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": true, - "references": [ - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/lib/es_service.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/lib/es_service.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/public/lib/es_service.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/discover_main_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/discover_main_app.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/common/types/kibana.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/common/types/kibana.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/common/types/kibana.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/common/types/kibana.d.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternFieldMap", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IndexPatternFieldMap", - "description": [], - "signature": [ - "{ [x: string]: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "; }" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": true, - "references": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternListItem", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IndexPatternListItem", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewListItem", - "text": "DataViewListItem" - } - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": true, - "references": [ - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternLoadExpressionFunctionDefinition", - "type": "Type", - "tags": [], - "label": "IndexPatternLoadExpressionFunctionDefinition", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"indexPatternLoad\", null, Arguments, Output, ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/data_views/expressions/load_index_pattern.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternsContract", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IndexPatternsContract", - "description": [], - "signature": [ - "{ get: (id: string) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", skipFetchFields?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; find: (search: string, size?: number) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - "[]>; ensureDefaultDataView: ", - "EnsureDefaultDataView", - "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewListItem", - "text": "DataViewListItem" - }, - "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", - "SavedObject", - ">[] | null | undefined>; getDefault: () => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - ") => Promise; getFieldsForIndexPattern: (indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", options?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - " | undefined) => Promise; refreshFields: (indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ") => Promise; fieldArrayToMap: (fields: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[], fieldAttrs?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined) => Record; savedObjectToSpec: (savedObject: ", - "SavedObject", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewAttributes", - "text": "DataViewAttributes" - }, - ">) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - "; createAndSave: (spec: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - }, - ", override?: boolean, skipFetchFields?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; createSavedObject: (indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", override?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ">; updateSavedObject: (indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataView", - "text": "DataView" - }, - ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" - ], - "path": "src/plugins/data/common/data_views/data_views/data_views.ts", - "deprecated": true, - "references": [ - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" - }, - { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/types.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/types.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" - }, - { - "plugin": "savedObjects", - "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/build_services.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/build_services.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/doc/components/doc.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/doc/components/doc.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/context.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" - }, - { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/utils.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/utils.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/dependency_cache.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/dependency_cache.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/routing/resolvers.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/routing/resolvers.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/routing/router.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/routing/router.tsx" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/application.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/application.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_patterns.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_patterns.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/routing/router.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/routing/router.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/util/dependency_cache.d.ts" - }, - { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/util/dependency_cache.d.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" - }, - { - "plugin": "security", - "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" - }, - { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.test.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.test.ts" - }, - { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/helpers/plugin_services.ts" - }, - { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/helpers/plugin_services.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/build_services.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/build_services.d.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" - }, - { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts" - }, - { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/_stubs.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/context/services/_stubs.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/doc/components/doc.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/doc/components/doc.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternSpec", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IndexPatternSpec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataDataViewsPluginApi", - "section": "def-common.DataViewSpec", - "text": "DataViewSpec" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": true, - "references": [ - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" - }, - { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx" - }, - { - "plugin": "indexPatternEditor", - "path": "src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" - }, - { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.OnError", - "type": "Type", - "tags": [], - "label": "OnError", - "description": [], - "signature": [ - "(error: Error, toastInputFields: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.ErrorToastOptions", - "text": "ErrorToastOptions" - }, - ") => void" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.OnError.$1", - "type": "Object", - "tags": [], - "label": "error", - "description": [], - "signature": [ - "Error" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.OnError.$2", - "type": "Object", - "tags": [], - "label": "toastInputFields", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.ErrorToastOptions", - "text": "ErrorToastOptions" - } - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.OnNotification", - "type": "Type", - "tags": [], - "label": "OnNotification", - "description": [], - "signature": [ - "(toastInputFields: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.ToastInputFields", - "text": "ToastInputFields" - }, - ") => void" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-common.OnNotification.$1", - "type": "CompoundType", - "tags": [], - "label": "toastInputFields", - "description": [], - "signature": [ - "Pick<", - "Toast", - ", \"children\" | \"onClick\" | \"onChange\" | \"color\" | \"onKeyDown\" | \"security\" | \"defaultChecked\" | \"defaultValue\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"className\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"hidden\" | \"lang\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"style\" | \"tabIndex\" | \"translate\" | \"radioGroup\" | \"role\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"aria-activedescendant\" | \"aria-atomic\" | \"aria-autocomplete\" | \"aria-busy\" | \"aria-checked\" | \"aria-colcount\" | \"aria-colindex\" | \"aria-colspan\" | \"aria-controls\" | \"aria-current\" | \"aria-describedby\" | \"aria-details\" | \"aria-disabled\" | \"aria-dropeffect\" | \"aria-errormessage\" | \"aria-expanded\" | \"aria-flowto\" | \"aria-grabbed\" | \"aria-haspopup\" | \"aria-hidden\" | \"aria-invalid\" | \"aria-keyshortcuts\" | \"aria-label\" | \"aria-labelledby\" | \"aria-level\" | \"aria-live\" | \"aria-modal\" | \"aria-multiline\" | \"aria-multiselectable\" | \"aria-orientation\" | \"aria-owns\" | \"aria-placeholder\" | \"aria-posinset\" | \"aria-pressed\" | \"aria-readonly\" | \"aria-relevant\" | \"aria-required\" | \"aria-roledescription\" | \"aria-rowcount\" | \"aria-rowindex\" | \"aria-rowspan\" | \"aria-selected\" | \"aria-setsize\" | \"aria-sort\" | \"aria-valuemax\" | \"aria-valuemin\" | \"aria-valuenow\" | \"aria-valuetext\" | \"dangerouslySetInnerHTML\" | \"onCopy\" | \"onCopyCapture\" | \"onCut\" | \"onCutCapture\" | \"onPaste\" | \"onPasteCapture\" | \"onCompositionEnd\" | \"onCompositionEndCapture\" | \"onCompositionStart\" | \"onCompositionStartCapture\" | \"onCompositionUpdate\" | \"onCompositionUpdateCapture\" | \"onFocus\" | \"onFocusCapture\" | \"onBlur\" | \"onBlurCapture\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onError\" | \"onErrorCapture\" | \"onKeyDownCapture\" | \"onKeyPress\" | \"onKeyPressCapture\" | \"onKeyUp\" | \"onKeyUpCapture\" | \"onAbort\" | \"onAbortCapture\" | \"onCanPlay\" | \"onCanPlayCapture\" | \"onCanPlayThrough\" | \"onCanPlayThroughCapture\" | \"onDurationChange\" | \"onDurationChangeCapture\" | \"onEmptied\" | \"onEmptiedCapture\" | \"onEncrypted\" | \"onEncryptedCapture\" | \"onEnded\" | \"onEndedCapture\" | \"onLoadedData\" | \"onLoadedDataCapture\" | \"onLoadedMetadata\" | \"onLoadedMetadataCapture\" | \"onLoadStart\" | \"onLoadStartCapture\" | \"onPause\" | \"onPauseCapture\" | \"onPlay\" | \"onPlayCapture\" | \"onPlaying\" | \"onPlayingCapture\" | \"onProgress\" | \"onProgressCapture\" | \"onRateChange\" | \"onRateChangeCapture\" | \"onSeeked\" | \"onSeekedCapture\" | \"onSeeking\" | \"onSeekingCapture\" | \"onStalled\" | \"onStalledCapture\" | \"onSuspend\" | \"onSuspendCapture\" | \"onTimeUpdate\" | \"onTimeUpdateCapture\" | \"onVolumeChange\" | \"onVolumeChangeCapture\" | \"onWaiting\" | \"onWaitingCapture\" | \"onAuxClick\" | \"onAuxClickCapture\" | \"onClickCapture\" | \"onContextMenu\" | \"onContextMenuCapture\" | \"onDoubleClick\" | \"onDoubleClickCapture\" | \"onDrag\" | \"onDragCapture\" | \"onDragEnd\" | \"onDragEndCapture\" | \"onDragEnter\" | \"onDragEnterCapture\" | \"onDragExit\" | \"onDragExitCapture\" | \"onDragLeave\" | \"onDragLeaveCapture\" | \"onDragOver\" | \"onDragOverCapture\" | \"onDragStart\" | \"onDragStartCapture\" | \"onDrop\" | \"onDropCapture\" | \"onMouseDown\" | \"onMouseDownCapture\" | \"onMouseEnter\" | \"onMouseLeave\" | \"onMouseMove\" | \"onMouseMoveCapture\" | \"onMouseOut\" | \"onMouseOutCapture\" | \"onMouseOver\" | \"onMouseOverCapture\" | \"onMouseUp\" | \"onMouseUpCapture\" | \"onSelect\" | \"onSelectCapture\" | \"onTouchCancel\" | \"onTouchCancelCapture\" | \"onTouchEnd\" | \"onTouchEndCapture\" | \"onTouchMove\" | \"onTouchMoveCapture\" | \"onTouchStart\" | \"onTouchStartCapture\" | \"onPointerDown\" | \"onPointerDownCapture\" | \"onPointerMove\" | \"onPointerMoveCapture\" | \"onPointerUp\" | \"onPointerUpCapture\" | \"onPointerCancel\" | \"onPointerCancelCapture\" | \"onPointerEnter\" | \"onPointerEnterCapture\" | \"onPointerLeave\" | \"onPointerLeaveCapture\" | \"onPointerOver\" | \"onPointerOverCapture\" | \"onPointerOut\" | \"onPointerOutCapture\" | \"onGotPointerCapture\" | \"onGotPointerCaptureCapture\" | \"onLostPointerCapture\" | \"onLostPointerCaptureCapture\" | \"onScroll\" | \"onScrollCapture\" | \"onWheel\" | \"onWheelCapture\" | \"onAnimationStart\" | \"onAnimationStartCapture\" | \"onAnimationEnd\" | \"onAnimationEndCapture\" | \"onAnimationIteration\" | \"onAnimationIterationCapture\" | \"onTransitionEnd\" | \"onTransitionEndCapture\" | \"data-test-subj\" | \"iconType\" | \"toastLifeTimeMs\" | \"onClose\"> & { title?: string | ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, - " | undefined; text?: string | ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.MountPoint", - "text": "MountPoint" - }, - " | undefined; }" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.RuntimeType", - "type": "Type", - "tags": [], - "label": "RuntimeType", - "description": [], - "signature": [ - "\"boolean\" | \"date\" | \"keyword\" | \"geo_point\" | \"ip\" | \"long\" | \"double\"" - ], - "path": "src/plugins/data/common/data_views/types.ts", - "deprecated": false, - "initialIsOpen": false - } - ], - "objects": [ - { - "parentPluginId": "data", - "id": "def-common.FLEET_ASSETS_TO_IGNORE", - "type": "Object", - "tags": [], - "label": "FLEET_ASSETS_TO_IGNORE", - "description": [ - "\nUsed to determine if the instance has any user created index patterns by filtering index patterns\nthat are created and backed only by Fleet server data\nShould be revised after https://github.com/elastic/kibana/issues/82851 is fixed\nFor more background see: https://github.com/elastic/kibana/issues/107020" - ], - "path": "src/plugins/data/common/data_views/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.FLEET_ASSETS_TO_IGNORE.LOGS_INDEX_PATTERN", - "type": "string", - "tags": [], - "label": "LOGS_INDEX_PATTERN", - "description": [], - "path": "src/plugins/data/common/data_views/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FLEET_ASSETS_TO_IGNORE.METRICS_INDEX_PATTERN", - "type": "string", - "tags": [], - "label": "METRICS_INDEX_PATTERN", - "description": [], - "path": "src/plugins/data/common/data_views/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FLEET_ASSETS_TO_IGNORE.LOGS_DATA_STREAM_TO_IGNORE", - "type": "string", - "tags": [], - "label": "LOGS_DATA_STREAM_TO_IGNORE", - "description": [], - "path": "src/plugins/data/common/data_views/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FLEET_ASSETS_TO_IGNORE.METRICS_DATA_STREAM_TO_IGNORE", - "type": "string", - "tags": [], - "label": "METRICS_DATA_STREAM_TO_IGNORE", - "description": [], - "path": "src/plugins/data/common/data_views/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.FLEET_ASSETS_TO_IGNORE.METRICS_ENDPOINT_INDEX_TO_IGNORE", - "type": "string", - "tags": [], - "label": "METRICS_ENDPOINT_INDEX_TO_IGNORE", - "description": [], - "path": "src/plugins/data/common/data_views/constants.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.RUNTIME_FIELD_TYPES", - "type": "Object", - "tags": [], - "label": "RUNTIME_FIELD_TYPES", - "description": [], - "signature": [ - "readonly [\"keyword\", \"long\", \"double\", \"date\", \"ip\", \"boolean\", \"geo_point\"]" - ], - "path": "src/plugins/data/common/data_views/constants.ts", - "deprecated": false, - "initialIsOpen": false - } - ] - } -} \ No newline at end of file diff --git a/api_docs/data_data_views.mdx b/api_docs/data_data_views.mdx deleted file mode 100644 index e17d8e9e0cb6c..0000000000000 --- a/api_docs/data_data_views.mdx +++ /dev/null @@ -1,53 +0,0 @@ ---- -id: kibDataDataViewsPluginApi -slug: /kibana-dev-docs/data.dataViewsPluginApi -title: data.dataViews -image: https://source.unsplash.com/400x175/?github -summary: API docs for the data.dataViews plugin -date: 2020-11-16 -tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.dataViews'] -warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. ---- -import dataDataViewsObj from './data_data_views.json'; - -Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. - -Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) for questions regarding this plugin. - -**Code health stats** - -| Public API count | Any count | Items lacking comments | Missing exports | -|-------------------|-----------|------------------------|-----------------| -| 3186 | 44 | 2800 | 49 | - -## Server - -### Functions - - -### Classes - - -### Interfaces - - -## Common - -### Objects - - -### Functions - - -### Classes - - -### Interfaces - - -### Enums - - -### Consts, variables and types - - diff --git a/api_docs/data_enhanced.mdx b/api_docs/data_enhanced.mdx index c1b30c5158d56..7da000f78f61d 100644 --- a/api_docs/data_enhanced.mdx +++ b/api_docs/data_enhanced.mdx @@ -1,7 +1,7 @@ --- id: kibDataEnhancedPluginApi -slug: /kibana-dev-docs/dataEnhancedPluginApi -title: dataEnhanced +slug: /kibana-dev-docs/api/dataEnhanced +title: "dataEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the dataEnhanced plugin date: 2020-11-16 diff --git a/api_docs/data_query.json b/api_docs/data_query.json index 10c27aa063ca7..e711d7c5bbb76 100644 --- a/api_docs/data_query.json +++ b/api_docs/data_query.json @@ -26,7 +26,13 @@ "text": "PersistableStateService" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -77,7 +83,13 @@ "description": [], "signature": [ "() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -94,7 +106,13 @@ "description": [], "signature": [ "() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -111,7 +129,13 @@ "description": [], "signature": [ "() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -178,9 +202,21 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], pinFilterStatus?: boolean) => void" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -194,9 +230,21 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -229,7 +277,13 @@ "description": [], "signature": [ "(newFilters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], pinFilterStatus?: boolean) => void" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -243,7 +297,13 @@ "label": "newFilters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -278,7 +338,13 @@ ], "signature": [ "(newGlobalFilters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]) => void" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -292,7 +358,13 @@ "label": "newGlobalFilters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -313,7 +385,13 @@ ], "signature": [ "(newAppFilters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]) => void" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -327,7 +405,13 @@ "label": "newAppFilters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -346,7 +430,13 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ") => void" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -360,7 +450,13 @@ "label": "filter", "description": [], "signature": [ - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", "deprecated": false, @@ -393,9 +489,21 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, ", shouldOverrideStore?: boolean) => void" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -409,7 +517,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -424,7 +538,13 @@ "label": "store", "description": [], "signature": [ - "FilterStateStore" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + } ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", "deprecated": false, @@ -482,7 +602,13 @@ "description": [], "signature": [ "(filters: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ", collector: unknown) => {}" ], "path": "src/plugins/data/public/query/filter_manager/filter_manager.ts", @@ -497,7 +623,13 @@ "label": "filters", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/data/common/query/persistable_state.ts", "deprecated": false @@ -686,7 +818,13 @@ "text": "QueryState" }, ">({ timefilter: { timefilter }, filterManager, queryString, state$, }: Pick<{ addToQueryLog: (appName: string, { language, query }: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => void; filterManager: ", { "pluginId": "data", @@ -727,9 +865,9 @@ "TimefilterSetup", "; getEsQuery: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -742,7 +880,13 @@ "text": "TimeRange" }, " | undefined) => { bool: ", - "BoolQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, "; }; } | { filterManager: ", { "pluginId": "data", @@ -782,7 +926,13 @@ "text": "BaseStateContainer" }, ", syncConfig: { time?: boolean | undefined; refreshInterval?: boolean | undefined; filters?: boolean | ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, " | undefined; query?: boolean | undefined; }) => () => void" ], "path": "src/plugins/data/public/query/state_sync/connect_to_query_state.ts", @@ -797,7 +947,13 @@ "description": [], "signature": [ "Pick<{ addToQueryLog: (appName: string, { language, query }: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => void; filterManager: ", { "pluginId": "data", @@ -838,9 +994,9 @@ "TimefilterSetup", "; getEsQuery: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -853,7 +1009,13 @@ "text": "TimeRange" }, " | undefined) => { bool: ", - "BoolQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, "; }; } | { filterManager: ", { "pluginId": "data", @@ -958,7 +1120,13 @@ "description": [], "signature": [ "boolean | ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, " | undefined" ], "path": "src/plugins/data/public/query/state_sync/connect_to_query_state.ts", @@ -1046,9 +1214,21 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], timeFieldName: string | undefined) => { restOfFilters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; timeRange?: ", { "pluginId": "data", @@ -1070,7 +1250,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts", @@ -1115,14 +1301,20 @@ }, ", field: string | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, ", values: any, operation: string, index: string) => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts", @@ -1162,9 +1354,9 @@ "signature": [ "string | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" } @@ -1271,12 +1463,18 @@ "description": [], "signature": [ "(filter: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ", indexPatterns: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -1293,7 +1491,13 @@ "label": "filter", "description": [], "signature": [ - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts", "deprecated": false, @@ -1308,9 +1512,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -1335,7 +1539,13 @@ ], "signature": [ "(query: Pick<{ addToQueryLog: (appName: string, { language, query }: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => void; filterManager: ", { "pluginId": "data", @@ -1376,9 +1586,9 @@ "TimefilterSetup", "; getEsQuery: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -1391,7 +1601,13 @@ "text": "TimeRange" }, " | undefined) => { bool: ", - "BoolQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, "; }; } | { filterManager: ", { "pluginId": "data", @@ -1444,7 +1660,13 @@ "description": [], "signature": [ "Pick<{ addToQueryLog: (appName: string, { language, query }: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => void; filterManager: ", { "pluginId": "data", @@ -1485,9 +1707,9 @@ "TimefilterSetup", "; getEsQuery: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -1500,7 +1722,13 @@ "text": "TimeRange" }, " | undefined) => { bool: ", - "BoolQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, "; }; } | { filterManager: ", { "pluginId": "data", @@ -1625,7 +1853,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "src/plugins/data/public/query/state_sync/types.ts", @@ -1639,7 +1873,13 @@ "label": "query", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/data/public/query/state_sync/types.ts", @@ -2008,7 +2248,13 @@ "description": [], "signature": [ "{ addToQueryLog: (appName: string, { language, query }: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => void; filterManager: ", { "pluginId": "data", @@ -2049,9 +2295,9 @@ "TimefilterSetup", "; getEsQuery: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -2064,7 +2310,13 @@ "text": "TimeRange" }, " | undefined) => { bool: ", - "BoolQuery", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, "; }; }" ], "path": "src/plugins/data/public/query/query_service.ts", @@ -2162,9 +2414,9 @@ }, ">) => void; createFilter: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -2177,16 +2429,28 @@ "text": "TimeRange" }, " | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined; createRelativeFilter: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -2199,9 +2463,21 @@ "text": "TimeRange" }, " | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined; getBounds: () => ", @@ -2455,9 +2731,9 @@ "signature": [ "(indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -2470,9 +2746,21 @@ "text": "TimeRange" }, ", options: { forceNow?: Date | undefined; fieldName?: string | undefined; } | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined" @@ -2489,9 +2777,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -2573,9 +2861,9 @@ "signature": [ "(indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -2588,9 +2876,21 @@ "text": "TimeRange" }, ", options: { forceNow?: Date | undefined; fieldName?: string | undefined; } | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined" @@ -2607,9 +2907,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -2690,7 +2990,13 @@ "description": [], "signature": [ "(x: unknown) => x is ", - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/data/common/query/is_query.ts", "deprecated": false, diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index 42a645c1087a3..cc5a593ab216b 100644 --- a/api_docs/data_query.mdx +++ b/api_docs/data_query.mdx @@ -1,7 +1,7 @@ --- id: kibDataQueryPluginApi -slug: /kibana-dev-docs/data.queryPluginApi -title: data.query +slug: /kibana-dev-docs/api/data-query +title: "data.query" image: https://source.unsplash.com/400x175/?github summary: API docs for the data.query plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3186 | 44 | 2800 | 49 | +| 3181 | 43 | 2796 | 48 | ## Client diff --git a/api_docs/data_search.json b/api_docs/data_search.json index b6c61bbd9b627..836984073c0e6 100644 --- a/api_docs/data_search.json +++ b/api_docs/data_search.json @@ -333,9 +333,9 @@ }, ") => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -365,14 +365,20 @@ }, ") => boolean; }; createAggConfigs: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, ", configStates?: Pick & Pick<{ type: string | ", { "pluginId": "data", @@ -2586,7 +2592,13 @@ "description": [], "signature": [ "Pick & Pick<{ type: ", { "pluginId": "data", @@ -2953,7 +2965,13 @@ "description": [], "signature": [ "() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -2974,7 +2992,13 @@ "description": [], "signature": [ "() => { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -3285,9 +3309,9 @@ "signature": [ "() => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" } @@ -3504,9 +3528,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" } @@ -3615,9 +3639,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" } @@ -3635,7 +3659,13 @@ "description": [], "signature": [ "Pick & Pick<{ type: string | ", { "pluginId": "data", @@ -3874,7 +3904,13 @@ "text": "AggConfig" }, ">(params: Pick & Pick<{ type: string | ", { "pluginId": "data", @@ -3905,7 +3941,13 @@ "description": [], "signature": [ "Pick & Pick<{ type: string | ", { "pluginId": "data", @@ -4336,7 +4378,13 @@ "description": [], "signature": [ "(forceNow?: Date | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, "[] | { meta: { index: string | undefined; params: {}; alias: string; disabled: boolean; negate: boolean; }; query: { bool: { should: { bool: { filter: { range: { [x: string]: { gte: string; lte: string; }; }; }[]; }; }[]; minimum_should_match: number; }; }; }[]" ], "path": "src/plugins/data/common/search/aggs/agg_configs.ts", @@ -4636,7 +4684,13 @@ "description": [], "signature": [ "(agg: TAggConfig, state?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined) => TAggConfig" ], "path": "src/plugins/data/common/search/aggs/param_types/agg.ts", @@ -4665,7 +4719,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/param_types/agg.ts", @@ -6665,9 +6725,21 @@ "label": "filterFieldTypes", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, " | \"*\" | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/data/common/search/aggs/param_types/field.ts", @@ -6733,9 +6805,9 @@ }, ") => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewField", "text": "DataViewField" }, @@ -6839,7 +6911,13 @@ "label": "unit", "description": [], "signature": [ - "Unit" + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + } ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/invalid_es_calendar_interval_error.ts", "deprecated": false, @@ -8303,9 +8381,9 @@ "signature": [ "(indexPatterns: Pick<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewsService", "text": "DataViewsService" }, @@ -8356,9 +8434,9 @@ "signature": [ "Pick<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewsService", "text": "DataViewsService" }, @@ -9310,9 +9388,9 @@ "signature": [ "(indexPatterns: Pick<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewsService", "text": "DataViewsService" }, @@ -9357,9 +9435,9 @@ "signature": [ "Pick<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.DataViewsService", "text": "DataViewsService" }, @@ -9598,9 +9676,21 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]) => ", { "pluginId": "expressions", @@ -9622,9 +9712,21 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/data/common/search/expressions/filters_to_ast.ts", @@ -9670,7 +9772,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => any" ], "path": "src/plugins/data/common/search/expressions/utils/function_wrapper.ts", @@ -11683,9 +11791,9 @@ }, ", indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -11723,9 +11831,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" } @@ -12472,7 +12580,13 @@ ], "signature": [ "(interval: string) => { value: number; unit: ", - "Unit", + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, "; type: \"calendar\" | \"fixed\"; }" ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts", @@ -12777,7 +12891,13 @@ "description": [], "signature": [ "(query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => ", { "pluginId": "expressions", @@ -12798,7 +12918,13 @@ "label": "query", "description": [], "signature": [ - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/data/common/search/expressions/query_to_ast.ts", "deprecated": false, @@ -12817,7 +12943,13 @@ "description": [], "signature": [ "(interval: string) => { value: number; unit: ", - "Unit", + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, "; } | null" ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_interval.ts", @@ -12939,9 +13071,9 @@ "SearchResponse", ", index?: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -12983,9 +13115,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -13297,7 +13429,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_query\", ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "> | undefined; }, \"filter\" | \"geo_bounding_box\"> & Pick<{ geo_bounding_box?: ({ type: \"geo_bounding_box\"; } & GeoBox) | ({ type: \"geo_bounding_box\"; } & { top_left: ", { "pluginId": "data", @@ -13339,7 +13477,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_query\", ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "> | undefined; }, never>, \"enabled\" | \"id\" | \"filter\" | \"schema\" | \"geo_bounding_box\" | \"json\" | \"customLabel\" | \"timeShift\">, ", "AggExpressionType", ", ", @@ -13359,7 +13503,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -13441,7 +13591,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -13491,7 +13647,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -13605,7 +13767,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -13687,7 +13855,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -13769,7 +13943,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -13819,7 +13999,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -13933,7 +14119,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14015,7 +14207,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14129,7 +14327,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14183,7 +14387,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14233,7 +14443,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14291,7 +14507,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14349,7 +14571,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14407,7 +14635,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14465,7 +14699,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14523,7 +14763,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14573,7 +14819,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14623,7 +14875,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14677,7 +14935,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14731,7 +14995,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14781,7 +15051,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14831,7 +15107,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14881,7 +15163,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14931,7 +15219,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -14981,7 +15275,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15031,7 +15331,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15085,7 +15391,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15135,7 +15447,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15185,7 +15503,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15239,7 +15563,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15289,7 +15619,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15339,7 +15675,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15389,7 +15731,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/aggs/types.ts", @@ -15539,7 +15887,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_avg.ts", @@ -15554,7 +15908,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_avg.ts", @@ -15593,7 +15953,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_max.ts", @@ -15608,7 +15974,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_max.ts", @@ -15647,7 +16019,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_min.ts", @@ -15662,7 +16040,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_min.ts", @@ -15701,7 +16085,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_sum.ts", @@ -15716,7 +16106,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/bucket_sum.ts", @@ -15802,7 +16198,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/cumulative_sum.ts", @@ -15855,9 +16257,9 @@ "signature": [ "string | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IFieldType", "text": "IFieldType" }, @@ -16139,7 +16541,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/derivative.ts", @@ -16280,7 +16688,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/filtered_metric.ts", @@ -16295,7 +16709,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/filtered_metric.ts", @@ -16994,7 +17414,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/moving_avg.ts", @@ -17207,7 +17633,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/serial_diff.ts", @@ -17464,7 +17896,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined" ], "path": "src/plugins/data/common/search/aggs/buckets/terms.ts", @@ -18210,9 +18648,21 @@ "label": "filterFieldTypes", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, " | \"*\" | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/data/common/search/aggs/buckets/bucket_agg_type.ts", @@ -19836,9 +20286,9 @@ ], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -20100,9 +20550,21 @@ "label": "filterFieldTypes", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, " | \"*\" | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/data/common/search/aggs/metrics/metric_agg_type.ts", @@ -21177,7 +21639,13 @@ "\n{@link Query}" ], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/data/common/search/search_source/types.ts", @@ -21193,13 +21661,37 @@ "\n{@link Filter}" ], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | (() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, " | ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined) | undefined" ], "path": "src/plugins/data/common/search/search_source/types.ts", @@ -21442,9 +21934,9 @@ ], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -21971,7 +22463,13 @@ "text": "IAggType" }, "; enabled?: boolean | undefined; id?: string | undefined; schema?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -21987,7 +22485,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_config.ts", @@ -22401,9 +22905,9 @@ }, ") => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -22433,14 +22937,20 @@ }, ") => boolean; }; createAggConfigs: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, ", configStates?: Pick & Pick<{ type: string | ", { "pluginId": "data", @@ -22629,7 +23139,13 @@ "text": "IAggType" }, "; enabled?: boolean | undefined; id?: string | undefined; schema?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/data/common/search/aggs/agg_configs.ts", @@ -22769,7 +23285,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts", @@ -22808,7 +23330,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/esdsl.ts", @@ -22913,11 +23441,29 @@ "description": [], "signature": [ "{ filters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "[] | undefined; timeRange?: ", { "pluginId": "data", @@ -22988,7 +23534,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/cidr.ts", @@ -23051,7 +23603,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/date_range.ts", @@ -23082,7 +23640,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_filter\", ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ">, ", { "pluginId": "expressions", @@ -23100,7 +23664,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/exists_filter.ts", @@ -23163,7 +23733,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/extended_bounds.ts", @@ -23195,9 +23771,9 @@ }, "<\"kibana_field\", ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternField", "text": "IndexPatternField" }, @@ -23218,7 +23794,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/field.ts", @@ -23273,7 +23855,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/geo_bounding_box.ts", @@ -23328,7 +23916,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/geo_point.ts", @@ -23391,7 +23985,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/ip_range.ts", @@ -23544,7 +24144,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_filter\", ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ">, ", { "pluginId": "expressions", @@ -23562,7 +24168,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/kibana_filter.ts", @@ -23625,7 +24237,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/timerange.ts", @@ -23656,7 +24274,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_query\", ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ">, ", { "pluginId": "expressions", @@ -23674,7 +24298,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/kql.ts", @@ -23705,7 +24335,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_query\", ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ">, ", { "pluginId": "expressions", @@ -23723,7 +24359,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/lucene.ts", @@ -23786,7 +24428,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/numerical_range.ts", @@ -23817,7 +24465,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_filter\", ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ">, ", { "pluginId": "expressions", @@ -23835,7 +24489,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/phrase_filter.ts", @@ -23890,7 +24550,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/query_filter.ts", @@ -23937,7 +24603,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/range.ts", @@ -23968,7 +24640,13 @@ "text": "ExpressionValueBoxed" }, "<\"kibana_filter\", ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, ">, ", { "pluginId": "expressions", @@ -23986,7 +24664,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/data/common/search/expressions/range_filter.ts", @@ -24043,9 +24727,21 @@ "label": "FieldTypes", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, " | \"*\" | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/data/common/search/aggs/param_types/field.ts", @@ -24981,9 +25677,9 @@ "signature": [ "{ type: \"kibana_field\"; } & ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternField", "text": "IndexPatternField" } @@ -25001,7 +25697,13 @@ "description": [], "signature": [ "{ type: \"kibana_filter\"; } & ", - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts", "deprecated": false, @@ -25016,7 +25718,13 @@ "description": [], "signature": [ "{ type: \"kibana_query\"; } & ", - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts", "deprecated": false, @@ -25098,7 +25806,13 @@ "description": [], "signature": [ "{ value: number; unit: ", - "Unit", + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, "; type: \"calendar\" | \"fixed\"; }" ], "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts", @@ -25893,9 +26607,21 @@ "description": [], "signature": [ "(input: null, args: Arguments) => { $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; type: \"kibana_filter\"; }" ], "path": "src/plugins/data/common/search/expressions/exists_filter.ts", @@ -26357,9 +27083,9 @@ }, "<\"kibana_field\", ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternField", "text": "IndexPatternField" }, @@ -28533,9 +29259,21 @@ "description": [], "signature": [ "{ scriptable?: boolean | undefined; filterFieldTypes?: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, " | \"*\" | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[] | undefined; makeAgg?: ((agg: ", { "pluginId": "data", @@ -28545,7 +29283,13 @@ "text": "IBucketAggConfig" }, ", state?: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; } | undefined) => ", { "pluginId": "data", @@ -29220,9 +29964,21 @@ "description": [], "signature": [ "(input: null, args: Arguments) => { $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; type: \"kibana_filter\"; }" ], "path": "src/plugins/data/common/search/expressions/phrase_filter.ts", @@ -29716,9 +30472,21 @@ "description": [], "signature": [ "(input: null, args: Arguments) => { $state?: { store: ", - "FilterStateStore", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, "; } | undefined; meta: ", - "FilterMeta", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, "; query?: Record | undefined; type: \"kibana_filter\"; }" ], "path": "src/plugins/data/common/search/expressions/range_filter.ts", diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index a19fccdcdfe0e..8b89cd491c166 100644 --- a/api_docs/data_search.mdx +++ b/api_docs/data_search.mdx @@ -1,7 +1,7 @@ --- id: kibDataSearchPluginApi -slug: /kibana-dev-docs/data.searchPluginApi -title: data.search +slug: /kibana-dev-docs/api/data-search +title: "data.search" image: https://source.unsplash.com/400x175/?github summary: API docs for the data.search plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3186 | 44 | 2800 | 49 | +| 3181 | 43 | 2796 | 48 | ## Client diff --git a/api_docs/data_ui.json b/api_docs/data_ui.json index cc959cd4a4176..b8acd6a7ee454 100644 --- a/api_docs/data_ui.json +++ b/api_docs/data_ui.json @@ -136,9 +136,9 @@ "signature": [ "(string | ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -289,7 +289,13 @@ "description": [], "signature": [ "((query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => void) | undefined" ], "path": "src/plugins/data/public/ui/query_string_input/query_string_input.tsx", @@ -303,7 +309,13 @@ "label": "query", "description": [], "signature": [ - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/data/public/ui/query_string_input/query_string_input.tsx", "deprecated": false, @@ -351,7 +363,13 @@ "description": [], "signature": [ "((query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, ") => void) | undefined" ], "path": "src/plugins/data/public/ui/query_string_input/query_string_input.tsx", @@ -365,7 +383,13 @@ "label": "query", "description": [], "signature": [ - "Query" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + } ], "path": "src/plugins/data/public/ui/query_string_input/query_string_input.tsx", "deprecated": false, diff --git a/api_docs/data_ui.mdx b/api_docs/data_ui.mdx index 941df66b2b733..87c9d2ce08af0 100644 --- a/api_docs/data_ui.mdx +++ b/api_docs/data_ui.mdx @@ -1,7 +1,7 @@ --- id: kibDataUiPluginApi -slug: /kibana-dev-docs/data.uiPluginApi -title: data.ui +slug: /kibana-dev-docs/api/data-ui +title: "data.ui" image: https://source.unsplash.com/400x175/?github summary: API docs for the data.ui plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3186 | 44 | 2800 | 49 | +| 3181 | 43 | 2796 | 48 | ## Client diff --git a/api_docs/data_views.json b/api_docs/data_views.json new file mode 100644 index 0000000000000..d3160ea108718 --- /dev/null +++ b/api_docs/data_views.json @@ -0,0 +1,26483 @@ +{ + "id": "dataViews", + "client": { + "classes": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView", + "type": "Class", + "tags": [], + "label": "DataView", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " implements ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.fieldFormatMap", + "type": "Object", + "tags": [], + "label": "fieldFormatMap", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.typeMeta", + "type": "Object", + "tags": [], + "label": "typeMeta", + "description": [ + "\nOnly used by rollup indices, used by rollup specific endpoint to load field list" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.TypeMeta", + "text": "TypeMeta" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.fields", + "type": "CompoundType", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + }, + " & { toSpec: () => Record; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.intervalName", + "type": "string", + "tags": [ + "deprecated" + ], + "label": "intervalName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.type", + "type": "string", + "tags": [], + "label": "type", + "description": [ + "\nType is used to identify rollup index patterns" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.formatHit", + "type": "Function", + "tags": [], + "label": "formatHit", + "description": [], + "signature": [ + "{ (hit: Record, type?: string | undefined): any; formatField: FormatFieldFn; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.formatHit.$1", + "type": "Object", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.formatHit.$2", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.formatField", + "type": "Function", + "tags": [], + "label": "formatField", + "description": [], + "signature": [ + "(hit: Record, fieldName: string) => any" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.formatField.$1", + "type": "Object", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.formatField.$2", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.flattenHit", + "type": "Function", + "tags": [], + "label": "flattenHit", + "description": [], + "signature": [ + "(hit: Record, deep?: boolean | undefined) => Record" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.flattenHit.$1", + "type": "Object", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.flattenHit.$2", + "type": "CompoundType", + "tags": [], + "label": "deep", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "\nSavedObject version" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.sourceFilters", + "type": "Array", + "tags": [], + "label": "sourceFilters", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SourceFilter", + "text": "SourceFilter" + }, + "[] | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.allowNoIndex", + "type": "boolean", + "tags": [], + "label": "allowNoIndex", + "description": [ + "\nprevents errors when index pattern exists before indices" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "{ spec = {}, fieldFormats, shortDotsEnable = false, metaFields = [] }", + "description": [], + "signature": [ + "DataViewDeps" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getOriginalSavedObjectBody", + "type": "Function", + "tags": [], + "label": "getOriginalSavedObjectBody", + "description": [ + "\nGet last saved saved object fields" + ], + "signature": [ + "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; intervalName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.resetOriginalSavedObjectBody", + "type": "Function", + "tags": [], + "label": "resetOriginalSavedObjectBody", + "description": [ + "\nReset last saved saved object fields. used after saving" + ], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getFieldAttrs", + "type": "Function", + "tags": [], + "label": "getFieldAttrs", + "description": [], + "signature": [ + "() => { [x: string]: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getComputedFields", + "type": "Function", + "tags": [], + "label": "getComputedFields", + "description": [], + "signature": [ + "() => { storedFields: string[]; scriptFields: Record; docvalueFields: { field: string; format: string; }[]; runtimeFields: Record; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [ + "\nCreate static representation of index pattern" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getSourceFiltering", + "type": "Function", + "tags": [], + "label": "getSourceFiltering", + "description": [ + "\nGet the source filtering configuration for that index." + ], + "signature": [ + "() => { excludes: string[]; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.addScriptedField", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "addScriptedField", + "description": [ + "\nAdd scripted field to field list\n" + ], + "signature": [ + "(name: string, script: string, fieldType?: string) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.addScriptedField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "field name" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.addScriptedField.$2", + "type": "string", + "tags": [], + "label": "script", + "description": [ + "script code" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.addScriptedField.$3", + "type": "string", + "tags": [], + "label": "fieldType", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.removeScriptedField", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "removeScriptedField", + "description": [ + "\nRemove scripted field from field list" + ], + "signature": [ + "(fieldName: string) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + } + ], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.removeScriptedField.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getNonScriptedFields", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getNonScriptedFields", + "description": [ + "\n" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts" + } + ], + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getScriptedFields", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getScriptedFields", + "description": [ + "\n" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + } + ], + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.isTimeBased", + "type": "Function", + "tags": [], + "label": "isTimeBased", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.isTimeNanosBased", + "type": "Function", + "tags": [], + "label": "isTimeNanosBased", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getTimeField", + "type": "Function", + "tags": [], + "label": "getTimeField", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getFieldByName", + "type": "Function", + "tags": [], + "label": "getFieldByName", + "description": [], + "signature": [ + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getFieldByName.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getAggregationRestrictions", + "type": "Function", + "tags": [], + "label": "getAggregationRestrictions", + "description": [], + "signature": [ + "() => Record> | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getAsSavedObjectBody", + "type": "Function", + "tags": [], + "label": "getAsSavedObjectBody", + "description": [ + "\nReturns index pattern as saved object body for saving" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [ + "\nProvide a field, get its formatter" + ], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getFormatterForField.$1", + "type": "CompoundType", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.addRuntimeField", + "type": "Function", + "tags": [], + "label": "addRuntimeField", + "description": [ + "\nAdd a runtime field - Appended to existing mapped field or a new field is\ncreated as appropriate" + ], + "signature": [ + "(name: string, runtimeField: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.addRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "Field name" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.addRuntimeField.$2", + "type": "Object", + "tags": [], + "label": "runtimeField", + "description": [ + "Runtime field definition" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.hasRuntimeField", + "type": "Function", + "tags": [], + "label": "hasRuntimeField", + "description": [ + "\nChecks if runtime field exists" + ], + "signature": [ + "(name: string) => boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.hasRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getRuntimeField", + "type": "Function", + "tags": [], + "label": "getRuntimeField", + "description": [ + "\nReturns runtime field if exists" + ], + "signature": [ + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | null" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.replaceAllRuntimeFields", + "type": "Function", + "tags": [], + "label": "replaceAllRuntimeFields", + "description": [ + "\nReplaces all existing runtime fields with new fields" + ], + "signature": [ + "(newFields: Record) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.replaceAllRuntimeFields.$1", + "type": "Object", + "tags": [], + "label": "newFields", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.removeRuntimeField", + "type": "Function", + "tags": [], + "label": "removeRuntimeField", + "description": [ + "\nRemove a runtime field - removed from mapped field or removed unmapped\nfield as appropriate. Doesn't clear associated field attributes." + ], + "signature": [ + "(name: string) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.removeRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "- Field name to remove" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getFormatterForFieldNoDefault", + "type": "Function", + "tags": [], + "label": "getFormatterForFieldNoDefault", + "description": [ + "\nGet formatter for a given field name. Return undefined if none exists" + ], + "signature": [ + "(fieldname: string) => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.getFormatterForFieldNoDefault.$1", + "type": "string", + "tags": [], + "label": "fieldname", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldAttrs", + "type": "Function", + "tags": [], + "label": "setFieldAttrs", + "description": [], + "signature": [ + "(fieldName: string, attrName: K, value: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "[K]) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldAttrs.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldAttrs.$2", + "type": "Uncategorized", + "tags": [], + "label": "attrName", + "description": [], + "signature": [ + "K" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldAttrs.$3", + "type": "Uncategorized", + "tags": [], + "label": "value", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "[K]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldCustomLabel", + "type": "Function", + "tags": [], + "label": "setFieldCustomLabel", + "description": [], + "signature": [ + "(fieldName: string, customLabel: string | null | undefined) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldCustomLabel.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldCustomLabel.$2", + "type": "CompoundType", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldCount", + "type": "Function", + "tags": [], + "label": "setFieldCount", + "description": [], + "signature": [ + "(fieldName: string, count: number | null | undefined) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldCount.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldCount.$2", + "type": "CompoundType", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | null | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldFormat", + "type": "Function", + "tags": [], + "label": "setFieldFormat", + "description": [], + "signature": [ + "(fieldName: string, format: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + ">) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldFormat.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.setFieldFormat.$2", + "type": "Object", + "tags": [], + "label": "format", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.deleteFieldFormat", + "type": "Function", + "tags": [], + "label": "deleteFieldFormat", + "description": [], + "signature": [ + "(fieldName: string) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataView.deleteFieldFormat.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsApiClient", + "type": "Class", + "tags": [], + "label": "DataViewsApiClient", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "public", + "docId": "kibDataViewsPluginApi", + "section": "def-public.DataViewsApiClient", + "text": "DataViewsApiClient" + }, + " implements ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IDataViewsApiClient", + "text": "IDataViewsApiClient" + } + ], + "path": "src/plugins/data_views/public/data_views/data_views_api_client.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsApiClient.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/public/data_views/data_views_api_client.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsApiClient.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCoreHttpPluginApi", + "section": "def-public.HttpSetup", + "text": "HttpSetup" + } + ], + "path": "src/plugins/data_views/public/data_views/data_views_api_client.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsApiClient.getFieldsForTimePattern", + "type": "Function", + "tags": [], + "label": "getFieldsForTimePattern", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptionsTimePattern", + "text": "GetFieldsOptionsTimePattern" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/public/data_views/data_views_api_client.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsApiClient.getFieldsForTimePattern.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptionsTimePattern", + "text": "GetFieldsOptionsTimePattern" + } + ], + "path": "src/plugins/data_views/public/data_views/data_views_api_client.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsApiClient.getFieldsForWildcard", + "type": "Function", + "tags": [], + "label": "getFieldsForWildcard", + "description": [], + "signature": [ + "({ pattern, metaFields, type, rollupIndex, allowNoIndex }: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/public/data_views/data_views_api_client.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsApiClient.getFieldsForWildcard.$1", + "type": "Object", + "tags": [], + "label": "{ pattern, metaFields, type, rollupIndex, allowNoIndex }", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + } + ], + "path": "src/plugins/data_views/public/data_views/data_views_api_client.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsApiClient.hasUserIndexPattern", + "type": "Function", + "tags": [], + "label": "hasUserIndexPattern", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/data_views/public/data_views/data_views_api_client.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPlugin", + "type": "Class", + "tags": [], + "label": "DataViewsPublicPlugin", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "public", + "docId": "kibDataViewsPluginApi", + "section": "def-public.DataViewsPublicPlugin", + "text": "DataViewsPublicPlugin" + }, + " implements ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.Plugin", + "text": "Plugin" + }, + "<", + { + "pluginId": "dataViews", + "scope": "public", + "docId": "kibDataViewsPluginApi", + "section": "def-public.DataViewsPublicPluginSetup", + "text": "DataViewsPublicPluginSetup" + }, + ", Pick<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultDataView\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"getDefaultId\" | \"setDefault\" | \"hasUserDataView\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">, ", + "DataViewsPublicSetupDependencies", + ", ", + "DataViewsPublicStartDependencies", + ">" + ], + "path": "src/plugins/data_views/public/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPlugin.setup", + "type": "Function", + "tags": [], + "label": "setup", + "description": [], + "signature": [ + "(core: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.CoreSetup", + "text": "CoreSetup" + }, + "<", + "DataViewsPublicStartDependencies", + ", Pick<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultDataView\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"getDefaultId\" | \"setDefault\" | \"hasUserDataView\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">>, { expressions }: ", + "DataViewsPublicSetupDependencies", + ") => ", + { + "pluginId": "dataViews", + "scope": "public", + "docId": "kibDataViewsPluginApi", + "section": "def-public.DataViewsPublicPluginSetup", + "text": "DataViewsPublicPluginSetup" + } + ], + "path": "src/plugins/data_views/public/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPlugin.setup.$1", + "type": "Object", + "tags": [], + "label": "core", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.CoreSetup", + "text": "CoreSetup" + }, + "<", + "DataViewsPublicStartDependencies", + ", Pick<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultDataView\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"getDefaultId\" | \"setDefault\" | \"hasUserDataView\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">>" + ], + "path": "src/plugins/data_views/public/plugin.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPlugin.setup.$2", + "type": "Object", + "tags": [], + "label": "{ expressions }", + "description": [], + "signature": [ + "DataViewsPublicSetupDependencies" + ], + "path": "src/plugins/data_views/public/plugin.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPlugin.start", + "type": "Function", + "tags": [], + "label": "start", + "description": [], + "signature": [ + "(core: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.CoreStart", + "text": "CoreStart" + }, + ", { fieldFormats }: ", + "DataViewsPublicStartDependencies", + ") => Pick<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultDataView\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"getDefaultId\" | \"setDefault\" | \"hasUserDataView\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">" + ], + "path": "src/plugins/data_views/public/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPlugin.start.$1", + "type": "Object", + "tags": [], + "label": "core", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.CoreStart", + "text": "CoreStart" + } + ], + "path": "src/plugins/data_views/public/plugin.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPlugin.start.$2", + "type": "Object", + "tags": [], + "label": "{ fieldFormats }", + "description": [], + "signature": [ + "DataViewsPublicStartDependencies" + ], + "path": "src/plugins/data_views/public/plugin.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPlugin.stop", + "type": "Function", + "tags": [], + "label": "stop", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/public/plugin.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService", + "type": "Class", + "tags": [], + "label": "DataViewsService", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.ensureDefaultDataView", + "type": "Function", + "tags": [], + "label": "ensureDefaultDataView", + "description": [], + "signature": [ + "() => Promise | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "returnComment": [], + "children": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "{\n uiSettings,\n savedObjectsClient,\n apiClient,\n fieldFormats,\n onNotification,\n onError,\n onRedirectNoIndexPattern = () => {},\n }", + "description": [], + "signature": [ + "IndexPatternsServiceDeps" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getIds", + "type": "Function", + "tags": [], + "label": "getIds", + "description": [ + "\nGet list of index pattern ids" + ], + "signature": [ + "(refresh?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getIds.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getTitles", + "type": "Function", + "tags": [], + "label": "getTitles", + "description": [ + "\nGet list of index pattern titles" + ], + "signature": [ + "(refresh?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getTitles.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.find", + "type": "Function", + "tags": [], + "label": "find", + "description": [ + "\nFind and load index patterns by title" + ], + "signature": [ + "(search: string, size?: number) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.find.$1", + "type": "string", + "tags": [], + "label": "search", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.find.$2", + "type": "number", + "tags": [], + "label": "size", + "description": [], + "signature": [ + "number" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPattern[]" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getIdsWithTitle", + "type": "Function", + "tags": [], + "label": "getIdsWithTitle", + "description": [ + "\nGet list of index pattern ids with titles" + ], + "signature": [ + "(refresh?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getIdsWithTitle.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.clearCache", + "type": "Function", + "tags": [], + "label": "clearCache", + "description": [ + "\nClear index pattern list cache" + ], + "signature": [ + "(id?: string | undefined) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.clearCache.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "optionally clear a single id" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getCache", + "type": "Function", + "tags": [], + "label": "getCache", + "description": [], + "signature": [ + "() => Promise<", + "SavedObject", + ">[] | null | undefined>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getDefault", + "type": "Function", + "tags": [], + "label": "getDefault", + "description": [ + "\nGet default index pattern" + ], + "signature": [ + "() => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getDefaultId", + "type": "Function", + "tags": [], + "label": "getDefaultId", + "description": [ + "\nGet default index pattern id" + ], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.setDefault", + "type": "Function", + "tags": [], + "label": "setDefault", + "description": [ + "\nOptionally set default index pattern, unless force = true" + ], + "signature": [ + "(id: string | null, force?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.setDefault.$1", + "type": "CompoundType", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string | null" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.setDefault.$2", + "type": "boolean", + "tags": [], + "label": "force", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.hasUserDataView", + "type": "Function", + "tags": [], + "label": "hasUserDataView", + "description": [ + "\nChecks if current user has a user created index pattern ignoring fleet's server default index patterns" + ], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getFieldsForWildcard", + "type": "Function", + "tags": [], + "label": "getFieldsForWildcard", + "description": [ + "\nGet field list by providing { pattern }" + ], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getFieldsForWildcard.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "FieldSpec[]" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getFieldsForIndexPattern", + "type": "Function", + "tags": [], + "label": "getFieldsForIndexPattern", + "description": [ + "\nGet field list by providing an index patttern (or spec)" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getFieldsForIndexPattern.$1", + "type": "CompoundType", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.getFieldsForIndexPattern.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "FieldSpec[]" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.refreshFields", + "type": "Function", + "tags": [], + "label": "refreshFields", + "description": [ + "\nRefresh field list for a given index pattern" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.refreshFields.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.fieldArrayToMap", + "type": "Function", + "tags": [], + "label": "fieldArrayToMap", + "description": [ + "\nConverts field array to map" + ], + "signature": [ + "(fields: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => Record" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.fieldArrayToMap.$1", + "type": "Array", + "tags": [], + "label": "fields", + "description": [ + ": FieldSpec[]" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.fieldArrayToMap.$2", + "type": "Object", + "tags": [], + "label": "fieldAttrs", + "description": [ + ": FieldAttrs" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "Record" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.savedObjectToSpec", + "type": "Function", + "tags": [], + "label": "savedObjectToSpec", + "description": [ + "\nConverts index pattern saved object to index pattern spec" + ], + "signature": [ + "(savedObject: ", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.savedObjectToSpec.$1", + "type": "Object", + "tags": [], + "label": "savedObject", + "description": [], + "signature": [ + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPatternSpec" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [ + "\nGet an index pattern by id. Cache optimized" + ], + "signature": [ + "(id: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.get.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.create", + "type": "Function", + "tags": [], + "label": "create", + "description": [ + "\nCreate a new index pattern instance" + ], + "signature": [ + "(spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.create.$1", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.create.$2", + "type": "boolean", + "tags": [], + "label": "skipFetchFields", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPattern" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.createAndSave", + "type": "Function", + "tags": [], + "label": "createAndSave", + "description": [ + "\nCreate a new index pattern and save it right away" + ], + "signature": [ + "(spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.createAndSave.$1", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.createAndSave.$2", + "type": "boolean", + "tags": [], + "label": "override", + "description": [ + "Overwrite if existing index pattern exists." + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.createAndSave.$3", + "type": "boolean", + "tags": [], + "label": "skipFetchFields", + "description": [ + "Whether to skip field refresh step." + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.createSavedObject", + "type": "Function", + "tags": [], + "label": "createSavedObject", + "description": [ + "\nSave a new index pattern" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", override?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.createSavedObject.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.createSavedObject.$2", + "type": "boolean", + "tags": [], + "label": "override", + "description": [ + "Overwrite if existing index pattern exists" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.updateSavedObject", + "type": "Function", + "tags": [], + "label": "updateSavedObject", + "description": [ + "\nSave existing index pattern. Will attempt to merge differences if there are conflicts" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.updateSavedObject.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.updateSavedObject.$2", + "type": "number", + "tags": [], + "label": "saveAttempts", + "description": [], + "signature": [ + "number" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.updateSavedObject.$3", + "type": "boolean", + "tags": [], + "label": "ignoreErrors", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.delete", + "type": "Function", + "tags": [], + "label": "delete", + "description": [ + "\nDeletes an index pattern from .kibana index" + ], + "signature": [ + "(indexPatternId: string) => Promise<{}>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsService.delete.$1", + "type": "string", + "tags": [], + "label": "indexPatternId", + "description": [ + ": Id of kibana Index Pattern to delete" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IndexPattern", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPattern", + "text": "IndexPattern" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/phrase_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/phrase_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/phrase_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/exists_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/exists_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/range_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/range_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/datatable_column_meta.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/datatable_column_meta.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/datatable_column_meta.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/aggs_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/aggs_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/aggs_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/types.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/types.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/view_saved_search_action.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/view_saved_search_action.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/helpers.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/helpers.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/doc_table_wrapper.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/doc_table_wrapper.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_flyout.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_flyout.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/get_render_cell_value.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/get_render_cell_value.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/utils/sorting.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/utils/sorting.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/calc_field_counts.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/calc_field_counts.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_default_sort.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_default_sort.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/top_nav/get_top_nav_links.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/top_nav/get_top_nav_links.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/errors/painless_error.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/errors/painless_error.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/errors/painless_error.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/query_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/query_service.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/types.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IndexPatternField", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPatternField", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPatternField", + "text": "IndexPatternField" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IndexPatternsService", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPatternsService", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPatternsService", + "text": "IndexPatternsService" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/plugin.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/plugin.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon", + "type": "Class", + "tags": [], + "label": "SavedObjectsClientPublicToCommon", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "public", + "docId": "kibDataViewsPluginApi", + "section": "def-public.SavedObjectsClientPublicToCommon", + "text": "SavedObjectsClientPublicToCommon" + }, + " implements ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SavedObjectsClientCommon", + "text": "SavedObjectsClientCommon" + } + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "savedObjectClient", + "description": [], + "signature": [ + "Pick<", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-public.SavedObjectsClient", + "text": "SavedObjectsClient" + }, + ", \"delete\" | \"create\" | \"find\" | \"resolve\" | \"update\">" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.find", + "type": "Function", + "tags": [], + "label": "find", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SavedObjectsClientCommonFindArgs", + "text": "SavedObjectsClientCommonFindArgs" + }, + ") => Promise<", + "SavedObject", + "[]>" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.find.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SavedObjectsClientCommonFindArgs", + "text": "SavedObjectsClientCommonFindArgs" + } + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(type: string, id: string) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.get.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.get.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.update", + "type": "Function", + "tags": [], + "label": "update", + "description": [], + "signature": [ + "(type: string, id: string, attributes: Record, options: Record) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.update.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.update.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.update.$3", + "type": "Object", + "tags": [], + "label": "attributes", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.update.$4", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.create", + "type": "Function", + "tags": [], + "label": "create", + "description": [], + "signature": [ + "(type: string, attributes: Record, options: Record) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.create.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.create.$2", + "type": "Object", + "tags": [], + "label": "attributes", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.create.$3", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.delete", + "type": "Function", + "tags": [], + "label": "delete", + "description": [], + "signature": [ + "(type: string, id: string) => Promise<{}>" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.delete.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.SavedObjectsClientPublicToCommon.delete.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/saved_objects_client_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon", + "type": "Class", + "tags": [], + "label": "UiSettingsPublicToCommon", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "public", + "docId": "kibDataViewsPluginApi", + "section": "def-public.UiSettingsPublicToCommon", + "text": "UiSettingsPublicToCommon" + }, + " implements ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.UiSettingsCommon", + "text": "UiSettingsCommon" + } + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "uiSettings", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.IUiSettingsClient", + "text": "IUiSettingsClient" + } + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(key: string) => Promise" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.get.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.getAll", + "type": "Function", + "tags": [], + "label": "getAll", + "description": [], + "signature": [ + "() => Promise, \"type\" | \"options\" | \"description\" | \"name\" | \"order\" | \"value\" | \"category\" | \"optionLabels\" | \"requiresPageReload\" | \"readonly\" | \"sensitive\" | \"deprecation\" | \"metric\"> & ", + "UserProvidedValues", + ">>" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.set", + "type": "Function", + "tags": [], + "label": "set", + "description": [], + "signature": [ + "(key: string, value: any) => Promise" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.set.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.set.$2", + "type": "Any", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "(key: string) => Promise" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.UiSettingsPublicToCommon.remove.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/public/ui_settings_wrapper.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "dataViews", + "id": "def-public.formatHitProvider", + "type": "Function", + "tags": [], + "label": "formatHitProvider", + "description": [], + "signature": [ + "(dataView: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", defaultFormat: any) => { (hit: Record, type?: string): any; formatField(hit: Record, fieldName: string): any; }" + ], + "path": "src/plugins/data_views/common/data_views/format_hit.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.formatHitProvider.$1", + "type": "Object", + "tags": [], + "label": "dataView", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/format_hit.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.formatHitProvider.$2", + "type": "Any", + "tags": [], + "label": "defaultFormat", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/data_views/format_hit.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.onRedirectNoIndexPattern", + "type": "Function", + "tags": [], + "label": "onRedirectNoIndexPattern", + "description": [], + "signature": [ + "(capabilities: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; navLinks: Readonly<{ [x: string]: boolean; }>; management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; catalogue: Readonly<{ [x: string]: boolean; }>; }>, navigateToApp: (appId: string, options?: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCoreApplicationPluginApi", + "section": "def-public.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, + " | undefined) => Promise, overlays: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.OverlayStart", + "text": "OverlayStart" + }, + ") => () => Promise" + ], + "path": "src/plugins/data_views/public/data_views/redirect_no_index_pattern.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.onRedirectNoIndexPattern.$1", + "type": "Object", + "tags": [], + "label": "capabilities", + "description": [], + "signature": [ + "Readonly<{ [x: string]: Readonly<{ [x: string]: boolean | Readonly<{ [x: string]: boolean; }>; }>; navLinks: Readonly<{ [x: string]: boolean; }>; management: Readonly<{ [x: string]: Readonly<{ [x: string]: boolean; }>; }>; catalogue: Readonly<{ [x: string]: boolean; }>; }>" + ], + "path": "src/plugins/data_views/public/data_views/redirect_no_index_pattern.tsx", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.onRedirectNoIndexPattern.$2", + "type": "Function", + "tags": [], + "label": "navigateToApp", + "description": [], + "signature": [ + "(appId: string, options?: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCoreApplicationPluginApi", + "section": "def-public.NavigateToAppOptions", + "text": "NavigateToAppOptions" + }, + " | undefined) => Promise" + ], + "path": "src/plugins/data_views/public/data_views/redirect_no_index_pattern.tsx", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-public.onRedirectNoIndexPattern.$3", + "type": "Object", + "tags": [], + "label": "overlays", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.OverlayStart", + "text": "OverlayStart" + } + ], + "path": "src/plugins/data_views/public/data_views/redirect_no_index_pattern.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.validateDataView", + "type": "Function", + "tags": [], + "label": "validateDataView", + "description": [], + "signature": [ + "(indexPattern: string) => { ILLEGAL_CHARACTERS?: string[] | undefined; CONTAINS_SPACES?: boolean | undefined; }" + ], + "path": "src/plugins/data_views/common/lib/validate_data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.validateDataView.$1", + "type": "string", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/lib/validate_data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList", + "type": "Interface", + "tags": [], + "label": "IIndexPatternFieldList", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.add", + "type": "Function", + "tags": [], + "label": "add", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.add.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.getAll", + "type": "Function", + "tags": [], + "label": "getAll", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.getByName", + "type": "Function", + "tags": [], + "label": "getByName", + "description": [], + "signature": [ + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.getByName.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.getByType", + "type": "Function", + "tags": [], + "label": "getByType", + "description": [], + "signature": [ + "(type: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.getByType.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.remove.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.removeAll", + "type": "Function", + "tags": [], + "label": "removeAll", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.replaceAll", + "type": "Function", + "tags": [], + "label": "replaceAll", + "description": [], + "signature": [ + "(specs: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]) => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.replaceAll.$1", + "type": "Array", + "tags": [], + "label": "specs", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.update", + "type": "Function", + "tags": [], + "label": "update", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.update.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [], + "signature": [ + "(options?: { getFormatterForField?: ((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined; } | undefined) => Record" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.toSpec.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.IIndexPatternFieldList.toSpec.$1.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.TypeMeta", + "type": "Interface", + "tags": [], + "label": "TypeMeta", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-public.TypeMeta.aggs", + "type": "Object", + "tags": [], + "label": "aggs", + "description": [], + "signature": [ + "Record> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.TypeMeta.params", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "{ rollup_index: string; } | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "dataViews", + "id": "def-public.CONTAINS_SPACES_KEY", + "type": "string", + "tags": [], + "label": "CONTAINS_SPACES_KEY", + "description": [], + "signature": [ + "\"CONTAINS_SPACES\"" + ], + "path": "src/plugins/data_views/common/lib/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.ILLEGAL_CHARACTERS", + "type": "Array", + "tags": [], + "label": "ILLEGAL_CHARACTERS", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/common/lib/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.ILLEGAL_CHARACTERS_KEY", + "type": "string", + "tags": [], + "label": "ILLEGAL_CHARACTERS_KEY", + "description": [], + "signature": [ + "\"ILLEGAL_CHARACTERS\"" + ], + "path": "src/plugins/data_views/common/lib/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-public.ILLEGAL_CHARACTERS_VISIBLE", + "type": "Array", + "tags": [], + "label": "ILLEGAL_CHARACTERS_VISIBLE", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/common/lib/types.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [], + "start": { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPluginStart", + "type": "Type", + "tags": [], + "label": "DataViewsPublicPluginStart", + "description": [ + "\nData plugin public Start contract" + ], + "signature": [ + "{ get: (id: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; find: (search: string, size?: number) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>; ensureDefaultDataView: ", + "EnsureDefaultDataView", + "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", + "SavedObject", + ">[] | null | undefined>; getDefault: () => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise; getFieldsForIndexPattern: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise; refreshFields: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise; fieldArrayToMap: (fields: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => Record; savedObjectToSpec: (savedObject: ", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + "; createAndSave: (spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; createSavedObject: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", override?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; updateSavedObject: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" + ], + "path": "src/plugins/data_views/public/types.ts", + "deprecated": false, + "lifecycle": "start", + "initialIsOpen": true + }, + "setup": { + "parentPluginId": "dataViews", + "id": "def-public.DataViewsPublicPluginSetup", + "type": "Interface", + "tags": [], + "label": "DataViewsPublicPluginSetup", + "description": [ + "\nData plugin public Setup contract" + ], + "path": "src/plugins/data_views/public/types.ts", + "deprecated": false, + "children": [], + "lifecycle": "setup", + "initialIsOpen": true + } + }, + "server": { + "classes": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin", + "type": "Class", + "tags": [], + "label": "DataViewsServerPlugin", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.DataViewsServerPlugin", + "text": "DataViewsServerPlugin" + }, + " implements ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.Plugin", + "text": "Plugin" + }, + "<", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.DataViewsServerPluginSetup", + "text": "DataViewsServerPluginSetup" + }, + ", ", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.DataViewsServerPluginStart", + "text": "DataViewsServerPluginStart" + }, + ", ", + "DataViewsServerPluginSetupDependencies", + ", ", + "DataViewsServerPluginStartDependencies", + ">" + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "initializerContext", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.PluginInitializerContext", + "text": "PluginInitializerContext" + }, + "" + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin.setup", + "type": "Function", + "tags": [], + "label": "setup", + "description": [], + "signature": [ + "(core: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, + "<", + "DataViewsServerPluginStartDependencies", + ", ", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.DataViewsServerPluginStart", + "text": "DataViewsServerPluginStart" + }, + ">, { expressions, usageCollection }: ", + "DataViewsServerPluginSetupDependencies", + ") => {}" + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin.setup.$1", + "type": "Object", + "tags": [], + "label": "core", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, + "<", + "DataViewsServerPluginStartDependencies", + ", ", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.DataViewsServerPluginStart", + "text": "DataViewsServerPluginStart" + }, + ">" + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin.setup.$2", + "type": "Object", + "tags": [], + "label": "{ expressions, usageCollection }", + "description": [], + "signature": [ + "DataViewsServerPluginSetupDependencies" + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin.start", + "type": "Function", + "tags": [], + "label": "start", + "description": [], + "signature": [ + "({ uiSettings }: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, + ", { fieldFormats }: ", + "DataViewsServerPluginStartDependencies", + ") => { indexPatternsServiceFactory: (savedObjectsClient: Pick<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClient", + "text": "SavedObjectsClient" + }, + ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">, elasticsearchClient: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, + ") => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ">; dataViewsServiceFactory: (savedObjectsClient: Pick<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClient", + "text": "SavedObjectsClient" + }, + ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">, elasticsearchClient: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, + ") => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ">; }" + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin.start.$1", + "type": "Object", + "tags": [], + "label": "{ uiSettings }", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + } + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin.start.$2", + "type": "Object", + "tags": [], + "label": "{ fieldFormats }", + "description": [], + "signature": [ + "DataViewsServerPluginStartDependencies" + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPlugin.stop", + "type": "Function", + "tags": [], + "label": "stop", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/server/plugin.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher", + "type": "Class", + "tags": [], + "label": "IndexPatternsFetcher", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.Unnamed.$1", + "type": "CompoundType", + "tags": [], + "label": "elasticsearchClient", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + } + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.Unnamed.$2", + "type": "boolean", + "tags": [], + "label": "allowNoIndices", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard", + "type": "Function", + "tags": [ + "property", + "property", + "return" + ], + "label": "getFieldsForWildcard", + "description": [ + "\n Get a list of field objects for an index pattern that may contain wildcards\n" + ], + "signature": [ + "(options: { pattern: string | string[]; metaFields?: string[] | undefined; fieldCapsOptions?: { allow_no_indices: boolean; } | undefined; type?: string | undefined; rollupIndex?: string | undefined; }) => Promise<", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.FieldDescriptor", + "text": "FieldDescriptor" + }, + "[]>" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.pattern", + "type": "CompoundType", + "tags": [], + "label": "pattern", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.fieldCapsOptions", + "type": "Object", + "tags": [], + "label": "fieldCapsOptions", + "description": [], + "signature": [ + "{ allow_no_indices: boolean; } | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.rollupIndex", + "type": "string", + "tags": [], + "label": "rollupIndex", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern", + "type": "Function", + "tags": [ + "property", + "property", + "property", + "return" + ], + "label": "getFieldsForTimePattern", + "description": [ + "\n Get a list of field objects for a time pattern\n" + ], + "signature": [ + "(options: { pattern: string; metaFields: string[]; lookBack: number; interval: string; }) => Promise<", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.FieldDescriptor", + "text": "FieldDescriptor" + }, + "[]>" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.pattern", + "type": "string", + "tags": [], + "label": "pattern", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.lookBack", + "type": "number", + "tags": [], + "label": "lookBack", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.interval", + "type": "string", + "tags": [], + "label": "interval", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.validatePatternListActive", + "type": "Function", + "tags": [ + "return" + ], + "label": "validatePatternListActive", + "description": [ + "\n Returns an index pattern list of only those index pattern strings in the given list that return indices\n" + ], + "signature": [ + "(patternList: string[]) => Promise" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.IndexPatternsFetcher.validatePatternListActive.$1", + "type": "Array", + "tags": [], + "label": "patternList", + "description": [ + "string[]" + ], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "dataViews", + "id": "def-server.dataViewsServiceFactory", + "type": "Function", + "tags": [], + "label": "dataViewsServiceFactory", + "description": [], + "signature": [ + "({ logger, uiSettings, fieldFormats, }: { logger: ", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, + "; uiSettings: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.UiSettingsServiceStart", + "text": "UiSettingsServiceStart" + }, + "; fieldFormats: ", + { + "pluginId": "fieldFormats", + "scope": "server", + "docId": "kibFieldFormatsPluginApi", + "section": "def-server.FieldFormatsStart", + "text": "FieldFormatsStart" + }, + "; }) => (savedObjectsClient: Pick<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClient", + "text": "SavedObjectsClient" + }, + ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">, elasticsearchClient: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, + ") => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ">" + ], + "path": "src/plugins/data_views/server/data_views_service_factory.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.dataViewsServiceFactory.$1", + "type": "Object", + "tags": [], + "label": "{\n logger,\n uiSettings,\n fieldFormats,\n }", + "description": [], + "path": "src/plugins/data_views/server/data_views_service_factory.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.dataViewsServiceFactory.$1.logger", + "type": "Object", + "tags": [], + "label": "logger", + "description": [], + "signature": [ + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } + ], + "path": "src/plugins/data_views/server/data_views_service_factory.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.dataViewsServiceFactory.$1.uiSettings", + "type": "Object", + "tags": [], + "label": "uiSettings", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.UiSettingsServiceStart", + "text": "UiSettingsServiceStart" + } + ], + "path": "src/plugins/data_views/server/data_views_service_factory.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.dataViewsServiceFactory.$1.fieldFormats", + "type": "Object", + "tags": [], + "label": "fieldFormats", + "description": [], + "signature": [ + { + "pluginId": "fieldFormats", + "scope": "server", + "docId": "kibFieldFormatsPluginApi", + "section": "def-server.FieldFormatsStart", + "text": "FieldFormatsStart" + } + ], + "path": "src/plugins/data_views/server/data_views_service_factory.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.findIndexPatternById", + "type": "Function", + "tags": [], + "label": "findIndexPatternById", + "description": [], + "signature": [ + "(savedObjectsClient: Pick<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClient", + "text": "SavedObjectsClient" + }, + ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">, index: string) => Promise<", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + "> | undefined>" + ], + "path": "src/plugins/data_views/server/utils.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.findIndexPatternById.$1", + "type": "Object", + "tags": [], + "label": "savedObjectsClient", + "description": [], + "signature": [ + "Pick<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClient", + "text": "SavedObjectsClient" + }, + ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">" + ], + "path": "src/plugins/data_views/server/utils.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-server.findIndexPatternById.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/server/utils.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.getCapabilitiesForRollupIndices", + "type": "Function", + "tags": [], + "label": "getCapabilitiesForRollupIndices", + "description": [], + "signature": [ + "(indices: Record) => { [key: string]: any; }" + ], + "path": "src/plugins/data_views/server/fetcher/lib/map_capabilities.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.getCapabilitiesForRollupIndices.$1", + "type": "Object", + "tags": [], + "label": "indices", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/server/fetcher/lib/map_capabilities.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.getFieldByName", + "type": "Function", + "tags": [], + "label": "getFieldByName", + "description": [], + "signature": [ + "(fieldName: string, indexPattern: ", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | undefined" + ], + "path": "src/plugins/data_views/server/utils.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.getFieldByName.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/server/utils.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-server.getFieldByName.$2", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">" + ], + "path": "src/plugins/data_views/server/utils.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.mergeCapabilitiesWithFields", + "type": "Function", + "tags": [], + "label": "mergeCapabilitiesWithFields", + "description": [], + "signature": [ + "(rollupIndexCapabilities: { [key: string]: any; }, fieldsFromFieldCapsApi: Record, previousFields?: ", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.FieldDescriptor", + "text": "FieldDescriptor" + }, + "[]) => ", + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.FieldDescriptor", + "text": "FieldDescriptor" + }, + "[]" + ], + "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.mergeCapabilitiesWithFields.$1", + "type": "Object", + "tags": [], + "label": "rollupIndexCapabilities", + "description": [], + "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.mergeCapabilitiesWithFields.$1.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-server.mergeCapabilitiesWithFields.$2", + "type": "Object", + "tags": [], + "label": "fieldsFromFieldCapsApi", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-server.mergeCapabilitiesWithFields.$3", + "type": "Array", + "tags": [], + "label": "previousFields", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "server", + "docId": "kibDataViewsPluginApi", + "section": "def-server.FieldDescriptor", + "text": "FieldDescriptor" + }, + "[]" + ], + "path": "src/plugins/data_views/server/fetcher/lib/merge_capabilities_with_fields.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.shouldReadFieldFromDocValues", + "type": "Function", + "tags": [], + "label": "shouldReadFieldFromDocValues", + "description": [], + "signature": [ + "(aggregatable: boolean, esType: string) => boolean" + ], + "path": "src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.shouldReadFieldFromDocValues.$1", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-server.shouldReadFieldFromDocValues.$2", + "type": "string", + "tags": [], + "label": "esType", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/server/fetcher/lib/field_capabilities/should_read_field_from_doc_values.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor", + "type": "Interface", + "tags": [], + "label": "FieldDescriptor", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.aggregatable", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.readFromDocValues", + "type": "boolean", + "tags": [], + "label": "readFromDocValues", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.searchable", + "type": "boolean", + "tags": [], + "label": "searchable", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.subType", + "type": "Object", + "tags": [], + "label": "subType", + "description": [], + "signature": [ + "FieldSubType | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.FieldDescriptor.metadata_field", + "type": "CompoundType", + "tags": [], + "label": "metadata_field", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/server/fetcher/index_patterns_fetcher.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [], + "objects": [], + "start": { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart", + "type": "Interface", + "tags": [], + "label": "DataViewsServerPluginStart", + "description": [], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.dataViewsServiceFactory", + "type": "Function", + "tags": [], + "label": "dataViewsServiceFactory", + "description": [], + "signature": [ + "(savedObjectsClient: Pick<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClient", + "text": "SavedObjectsClient" + }, + ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">, elasticsearchClient: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, + ") => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ">" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.dataViewsServiceFactory.$1", + "type": "Object", + "tags": [], + "label": "savedObjectsClient", + "description": [], + "signature": [ + "{ get: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + "SavedObject", + ">; delete: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsDeleteOptions", + "text": "SavedObjectsDeleteOptions" + }, + ") => Promise<{}>; create: (type: string, attributes: T, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, + " | undefined) => Promise<", + "SavedObject", + ">; bulkCreate: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkCreateObject", + "text": "SavedObjectsBulkCreateObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, + ">; checkConflicts: (objects?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCheckConflictsObject", + "text": "SavedObjectsCheckConflictsObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCheckConflictsResponse", + "text": "SavedObjectsCheckConflictsResponse" + }, + ">; find: (options: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, + ">; bulkGet: (objects?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkGetObject", + "text": "SavedObjectsBulkGetObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, + ">; bulkResolve: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResolveObject", + "text": "SavedObjectsBulkResolveObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResolveResponse", + "text": "SavedObjectsBulkResolveResponse" + }, + ">; resolve: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsResolveResponse", + "text": "SavedObjectsResolveResponse" + }, + ">; update: (type: string, id: string, attributes: Partial, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, + ">; collectMultiNamespaceReferences: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesObject", + "text": "SavedObjectsCollectMultiNamespaceReferencesObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesOptions", + "text": "SavedObjectsCollectMultiNamespaceReferencesOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesResponse", + "text": "SavedObjectsCollectMultiNamespaceReferencesResponse" + }, + ">; updateObjectsSpaces: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesObject", + "text": "SavedObjectsUpdateObjectsSpacesObject" + }, + "[], spacesToAdd: string[], spacesToRemove: string[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesOptions", + "text": "SavedObjectsUpdateObjectsSpacesOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesResponse", + "text": "SavedObjectsUpdateObjectsSpacesResponse" + }, + ">; bulkUpdate: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkUpdateObject", + "text": "SavedObjectsBulkUpdateObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkUpdateOptions", + "text": "SavedObjectsBulkUpdateOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkUpdateResponse", + "text": "SavedObjectsBulkUpdateResponse" + }, + ">; removeReferencesTo: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToOptions", + "text": "SavedObjectsRemoveReferencesToOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToResponse", + "text": "SavedObjectsRemoveReferencesToResponse" + }, + ">; openPointInTimeForType: (type: string | string[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeOptions", + "text": "SavedObjectsOpenPointInTimeOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeResponse", + "text": "SavedObjectsOpenPointInTimeResponse" + }, + ">; closePointInTime: (id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClosePointInTimeResponse", + "text": "SavedObjectsClosePointInTimeResponse" + }, + ">; createPointInTimeFinder: (findOptions: Pick<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, + ", \"type\" | \"filter\" | \"aggs\" | \"fields\" | \"perPage\" | \"sortField\" | \"sortOrder\" | \"search\" | \"searchFields\" | \"rootSearchFields\" | \"hasReference\" | \"hasReferenceOperator\" | \"defaultSearchOperator\" | \"namespaces\" | \"typeToNamespacesMap\" | \"preference\">, dependencies?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderDependencies", + "text": "SavedObjectsCreatePointInTimeFinderDependencies" + }, + " | undefined) => ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.ISavedObjectsPointInTimeFinder", + "text": "ISavedObjectsPointInTimeFinder" + }, + "; errors: typeof ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsErrorHelpers", + "text": "SavedObjectsErrorHelpers" + }, + "; }" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.dataViewsServiceFactory.$2", + "type": "CompoundType", + "tags": [], + "label": "elasticsearchClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", + "TransportRequestParams", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", unknown>>; }; }" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.indexPatternsServiceFactory", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "indexPatternsServiceFactory", + "description": [], + "signature": [ + "(savedObjectsClient: Pick<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClient", + "text": "SavedObjectsClient" + }, + ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"bulkResolve\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">, elasticsearchClient: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, + ") => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + }, + ">" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/server/search/aggs/aggs_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/search/expressions/esaggs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/search/search_service.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/plugin.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/server/services/log_entries/log_entries_search_strategy.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/server/services/log_entries/log_entry_search_strategy.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/plugin.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/indexing_routes.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/server/routes/run.ts" + } + ], + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.indexPatternsServiceFactory.$1", + "type": "Object", + "tags": [], + "label": "savedObjectsClient", + "description": [], + "signature": [ + "{ get: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + "SavedObject", + ">; delete: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsDeleteOptions", + "text": "SavedObjectsDeleteOptions" + }, + ") => Promise<{}>; create: (type: string, attributes: T, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, + " | undefined) => Promise<", + "SavedObject", + ">; bulkCreate: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkCreateObject", + "text": "SavedObjectsBulkCreateObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreateOptions", + "text": "SavedObjectsCreateOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, + ">; checkConflicts: (objects?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCheckConflictsObject", + "text": "SavedObjectsCheckConflictsObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCheckConflictsResponse", + "text": "SavedObjectsCheckConflictsResponse" + }, + ">; find: (options: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsFindResponse", + "text": "SavedObjectsFindResponse" + }, + ">; bulkGet: (objects?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkGetObject", + "text": "SavedObjectsBulkGetObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResponse", + "text": "SavedObjectsBulkResponse" + }, + ">; bulkResolve: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResolveObject", + "text": "SavedObjectsBulkResolveObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkResolveResponse", + "text": "SavedObjectsBulkResolveResponse" + }, + ">; resolve: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsResolveResponse", + "text": "SavedObjectsResolveResponse" + }, + ">; update: (type: string, id: string, attributes: Partial, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateOptions", + "text": "SavedObjectsUpdateOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateResponse", + "text": "SavedObjectsUpdateResponse" + }, + ">; collectMultiNamespaceReferences: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesObject", + "text": "SavedObjectsCollectMultiNamespaceReferencesObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesOptions", + "text": "SavedObjectsCollectMultiNamespaceReferencesOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCollectMultiNamespaceReferencesResponse", + "text": "SavedObjectsCollectMultiNamespaceReferencesResponse" + }, + ">; updateObjectsSpaces: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesObject", + "text": "SavedObjectsUpdateObjectsSpacesObject" + }, + "[], spacesToAdd: string[], spacesToRemove: string[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesOptions", + "text": "SavedObjectsUpdateObjectsSpacesOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsUpdateObjectsSpacesResponse", + "text": "SavedObjectsUpdateObjectsSpacesResponse" + }, + ">; bulkUpdate: (objects: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkUpdateObject", + "text": "SavedObjectsBulkUpdateObject" + }, + "[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkUpdateOptions", + "text": "SavedObjectsBulkUpdateOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBulkUpdateResponse", + "text": "SavedObjectsBulkUpdateResponse" + }, + ">; removeReferencesTo: (type: string, id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToOptions", + "text": "SavedObjectsRemoveReferencesToOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsRemoveReferencesToResponse", + "text": "SavedObjectsRemoveReferencesToResponse" + }, + ">; openPointInTimeForType: (type: string | string[], options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeOptions", + "text": "SavedObjectsOpenPointInTimeOptions" + }, + ") => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsOpenPointInTimeResponse", + "text": "SavedObjectsOpenPointInTimeResponse" + }, + ">; closePointInTime: (id: string, options?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsBaseOptions", + "text": "SavedObjectsBaseOptions" + }, + " | undefined) => Promise<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClosePointInTimeResponse", + "text": "SavedObjectsClosePointInTimeResponse" + }, + ">; createPointInTimeFinder: (findOptions: Pick<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsFindOptions", + "text": "SavedObjectsFindOptions" + }, + ", \"type\" | \"filter\" | \"aggs\" | \"fields\" | \"perPage\" | \"sortField\" | \"sortOrder\" | \"search\" | \"searchFields\" | \"rootSearchFields\" | \"hasReference\" | \"hasReferenceOperator\" | \"defaultSearchOperator\" | \"namespaces\" | \"typeToNamespacesMap\" | \"preference\">, dependencies?: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsCreatePointInTimeFinderDependencies", + "text": "SavedObjectsCreatePointInTimeFinderDependencies" + }, + " | undefined) => ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.ISavedObjectsPointInTimeFinder", + "text": "ISavedObjectsPointInTimeFinder" + }, + "; errors: typeof ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsErrorHelpers", + "text": "SavedObjectsErrorHelpers" + }, + "; }" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginStart.indexPatternsServiceFactory.$2", + "type": "CompoundType", + "tags": [], + "label": "elasticsearchClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", + "TransportRequestParams", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", unknown>>; }; }" + ], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false + } + ] + } + ], + "lifecycle": "start", + "initialIsOpen": true + }, + "setup": { + "parentPluginId": "dataViews", + "id": "def-server.DataViewsServerPluginSetup", + "type": "Interface", + "tags": [], + "label": "DataViewsServerPluginSetup", + "description": [], + "path": "src/plugins/data_views/server/types.ts", + "deprecated": false, + "children": [], + "lifecycle": "setup", + "initialIsOpen": true + } + }, + "common": { + "classes": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView", + "type": "Class", + "tags": [], + "label": "DataView", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " implements ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.fieldFormatMap", + "type": "Object", + "tags": [], + "label": "fieldFormatMap", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.typeMeta", + "type": "Object", + "tags": [], + "label": "typeMeta", + "description": [ + "\nOnly used by rollup indices, used by rollup specific endpoint to load field list" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.TypeMeta", + "text": "TypeMeta" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.fields", + "type": "CompoundType", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + }, + " & { toSpec: () => Record; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.intervalName", + "type": "string", + "tags": [ + "deprecated" + ], + "label": "intervalName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.type", + "type": "string", + "tags": [], + "label": "type", + "description": [ + "\nType is used to identify rollup index patterns" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.formatHit", + "type": "Function", + "tags": [], + "label": "formatHit", + "description": [], + "signature": [ + "{ (hit: Record, type?: string | undefined): any; formatField: FormatFieldFn; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.formatHit.$1", + "type": "Object", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.formatHit.$2", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.formatField", + "type": "Function", + "tags": [], + "label": "formatField", + "description": [], + "signature": [ + "(hit: Record, fieldName: string) => any" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.formatField.$1", + "type": "Object", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.formatField.$2", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.flattenHit", + "type": "Function", + "tags": [], + "label": "flattenHit", + "description": [], + "signature": [ + "(hit: Record, deep?: boolean | undefined) => Record" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.flattenHit.$1", + "type": "Object", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.flattenHit.$2", + "type": "CompoundType", + "tags": [], + "label": "deep", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "\nSavedObject version" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.sourceFilters", + "type": "Array", + "tags": [], + "label": "sourceFilters", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SourceFilter", + "text": "SourceFilter" + }, + "[] | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.allowNoIndex", + "type": "boolean", + "tags": [], + "label": "allowNoIndex", + "description": [ + "\nprevents errors when index pattern exists before indices" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "{ spec = {}, fieldFormats, shortDotsEnable = false, metaFields = [] }", + "description": [], + "signature": [ + "DataViewDeps" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getOriginalSavedObjectBody", + "type": "Function", + "tags": [], + "label": "getOriginalSavedObjectBody", + "description": [ + "\nGet last saved saved object fields" + ], + "signature": [ + "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; intervalName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.resetOriginalSavedObjectBody", + "type": "Function", + "tags": [], + "label": "resetOriginalSavedObjectBody", + "description": [ + "\nReset last saved saved object fields. used after saving" + ], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFieldAttrs", + "type": "Function", + "tags": [], + "label": "getFieldAttrs", + "description": [], + "signature": [ + "() => { [x: string]: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getComputedFields", + "type": "Function", + "tags": [], + "label": "getComputedFields", + "description": [], + "signature": [ + "() => { storedFields: string[]; scriptFields: Record; docvalueFields: { field: string; format: string; }[]; runtimeFields: Record; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [ + "\nCreate static representation of index pattern" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getSourceFiltering", + "type": "Function", + "tags": [], + "label": "getSourceFiltering", + "description": [ + "\nGet the source filtering configuration for that index." + ], + "signature": [ + "() => { excludes: string[]; }" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.addScriptedField", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "addScriptedField", + "description": [ + "\nAdd scripted field to field list\n" + ], + "signature": [ + "(name: string, script: string, fieldType?: string) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.addScriptedField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "field name" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.addScriptedField.$2", + "type": "string", + "tags": [], + "label": "script", + "description": [ + "script code" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.addScriptedField.$3", + "type": "string", + "tags": [], + "label": "fieldType", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.removeScriptedField", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "removeScriptedField", + "description": [ + "\nRemove scripted field from field list" + ], + "signature": [ + "(fieldName: string) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + } + ], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.removeScriptedField.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getNonScriptedFields", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getNonScriptedFields", + "description": [ + "\n" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts" + } + ], + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getScriptedFields", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getScriptedFields", + "description": [ + "\n" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + } + ], + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.isTimeBased", + "type": "Function", + "tags": [], + "label": "isTimeBased", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.isTimeNanosBased", + "type": "Function", + "tags": [], + "label": "isTimeNanosBased", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getTimeField", + "type": "Function", + "tags": [], + "label": "getTimeField", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFieldByName", + "type": "Function", + "tags": [], + "label": "getFieldByName", + "description": [], + "signature": [ + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFieldByName.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getAggregationRestrictions", + "type": "Function", + "tags": [], + "label": "getAggregationRestrictions", + "description": [], + "signature": [ + "() => Record> | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getAsSavedObjectBody", + "type": "Function", + "tags": [], + "label": "getAsSavedObjectBody", + "description": [ + "\nReturns index pattern as saved object body for saving" + ], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [ + "\nProvide a field, get its formatter" + ], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFormatterForField.$1", + "type": "CompoundType", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.addRuntimeField", + "type": "Function", + "tags": [], + "label": "addRuntimeField", + "description": [ + "\nAdd a runtime field - Appended to existing mapped field or a new field is\ncreated as appropriate" + ], + "signature": [ + "(name: string, runtimeField: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.addRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "Field name" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.addRuntimeField.$2", + "type": "Object", + "tags": [], + "label": "runtimeField", + "description": [ + "Runtime field definition" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.hasRuntimeField", + "type": "Function", + "tags": [], + "label": "hasRuntimeField", + "description": [ + "\nChecks if runtime field exists" + ], + "signature": [ + "(name: string) => boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.hasRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getRuntimeField", + "type": "Function", + "tags": [], + "label": "getRuntimeField", + "description": [ + "\nReturns runtime field if exists" + ], + "signature": [ + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | null" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.replaceAllRuntimeFields", + "type": "Function", + "tags": [], + "label": "replaceAllRuntimeFields", + "description": [ + "\nReplaces all existing runtime fields with new fields" + ], + "signature": [ + "(newFields: Record) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.replaceAllRuntimeFields.$1", + "type": "Object", + "tags": [], + "label": "newFields", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.removeRuntimeField", + "type": "Function", + "tags": [], + "label": "removeRuntimeField", + "description": [ + "\nRemove a runtime field - removed from mapped field or removed unmapped\nfield as appropriate. Doesn't clear associated field attributes." + ], + "signature": [ + "(name: string) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.removeRuntimeField.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "- Field name to remove" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFormatterForFieldNoDefault", + "type": "Function", + "tags": [], + "label": "getFormatterForFieldNoDefault", + "description": [ + "\nGet formatter for a given field name. Return undefined if none exists" + ], + "signature": [ + "(fieldname: string) => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.getFormatterForFieldNoDefault.$1", + "type": "string", + "tags": [], + "label": "fieldname", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldAttrs", + "type": "Function", + "tags": [], + "label": "setFieldAttrs", + "description": [], + "signature": [ + "(fieldName: string, attrName: K, value: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "[K]) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldAttrs.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldAttrs.$2", + "type": "Uncategorized", + "tags": [], + "label": "attrName", + "description": [], + "signature": [ + "K" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldAttrs.$3", + "type": "Uncategorized", + "tags": [], + "label": "value", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrSet", + "text": "FieldAttrSet" + }, + "[K]" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldCustomLabel", + "type": "Function", + "tags": [], + "label": "setFieldCustomLabel", + "description": [], + "signature": [ + "(fieldName: string, customLabel: string | null | undefined) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldCustomLabel.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldCustomLabel.$2", + "type": "CompoundType", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldCount", + "type": "Function", + "tags": [], + "label": "setFieldCount", + "description": [], + "signature": [ + "(fieldName: string, count: number | null | undefined) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldCount.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldCount.$2", + "type": "CompoundType", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | null | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldFormat", + "type": "Function", + "tags": [], + "label": "setFieldFormat", + "description": [], + "signature": [ + "(fieldName: string, format: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + ">) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldFormat.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.setFieldFormat.$2", + "type": "Object", + "tags": [], + "label": "format", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.deleteFieldFormat", + "type": "Function", + "tags": [], + "label": "deleteFieldFormat", + "description": [], + "signature": [ + "(fieldName: string) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataView.deleteFieldFormat.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField", + "type": "Class", + "tags": [], + "label": "DataViewField", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " implements ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.spec", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.count", + "type": "number", + "tags": [], + "label": "count", + "description": [ + "\nCount is used for field popularity" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.runtimeField", + "type": "Object", + "tags": [], + "label": "runtimeField", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.runtimeField", + "type": "Object", + "tags": [], + "label": "runtimeField", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.script", + "type": "string", + "tags": [], + "label": "script", + "description": [ + "\nScript field code" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.script", + "type": "string", + "tags": [], + "label": "script", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.lang", + "type": "CompoundType", + "tags": [], + "label": "lang", + "description": [ + "\nScript field language" + ], + "signature": [ + "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.lang", + "type": "CompoundType", + "tags": [], + "label": "lang", + "description": [], + "signature": [ + "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.conflictDescriptions", + "type": "Object", + "tags": [], + "label": "conflictDescriptions", + "description": [ + "\nDescription of field type conflicts across different indices in the same index pattern" + ], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.conflictDescriptions", + "type": "Object", + "tags": [], + "label": "conflictDescriptions", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.displayName", + "type": "string", + "tags": [], + "label": "displayName", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.scripted", + "type": "boolean", + "tags": [], + "label": "scripted", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.searchable", + "type": "boolean", + "tags": [], + "label": "searchable", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.aggregatable", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.readFromDocValues", + "type": "boolean", + "tags": [], + "label": "readFromDocValues", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.subType", + "type": "Object", + "tags": [], + "label": "subType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.isMapped", + "type": "CompoundType", + "tags": [], + "label": "isMapped", + "description": [ + "\nIs the field part of the index mapping?" + ], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.sortable", + "type": "boolean", + "tags": [], + "label": "sortable", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.filterable", + "type": "boolean", + "tags": [], + "label": "filterable", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.visualizable", + "type": "boolean", + "tags": [], + "label": "visualizable", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.deleteCount", + "type": "Function", + "tags": [], + "label": "deleteCount", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.toJSON", + "type": "Function", + "tags": [], + "label": "toJSON", + "description": [], + "signature": [ + "() => { count: number; script: string | undefined; lang: \"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined; conflictDescriptions: Record | undefined; name: string; type: string; esTypes: string[] | undefined; scripted: boolean; searchable: boolean; aggregatable: boolean; readFromDocValues: boolean; subType: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, + " | undefined; customLabel: string | undefined; }" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [], + "signature": [ + "({ getFormatterForField, }?: { getFormatterForField?: ((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined; }) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.toSpec.$1", + "type": "Object", + "tags": [], + "label": "{\n getFormatterForField,\n }", + "description": [], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewField.toSpec.$1.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSavedObjectConflictError", + "type": "Class", + "tags": [], + "label": "DataViewSavedObjectConflictError", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSavedObjectConflictError", + "text": "DataViewSavedObjectConflictError" + }, + " extends Error" + ], + "path": "src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSavedObjectConflictError.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSavedObjectConflictError.Unnamed.$1", + "type": "string", + "tags": [], + "label": "savedObjectId", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/errors/data_view_saved_object_conflict.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService", + "type": "Class", + "tags": [], + "label": "DataViewsService", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.ensureDefaultDataView", + "type": "Function", + "tags": [], + "label": "ensureDefaultDataView", + "description": [], + "signature": [ + "() => Promise | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "returnComment": [], + "children": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "{\n uiSettings,\n savedObjectsClient,\n apiClient,\n fieldFormats,\n onNotification,\n onError,\n onRedirectNoIndexPattern = () => {},\n }", + "description": [], + "signature": [ + "IndexPatternsServiceDeps" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getIds", + "type": "Function", + "tags": [], + "label": "getIds", + "description": [ + "\nGet list of index pattern ids" + ], + "signature": [ + "(refresh?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getIds.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getTitles", + "type": "Function", + "tags": [], + "label": "getTitles", + "description": [ + "\nGet list of index pattern titles" + ], + "signature": [ + "(refresh?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getTitles.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.find", + "type": "Function", + "tags": [], + "label": "find", + "description": [ + "\nFind and load index patterns by title" + ], + "signature": [ + "(search: string, size?: number) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.find.$1", + "type": "string", + "tags": [], + "label": "search", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.find.$2", + "type": "number", + "tags": [], + "label": "size", + "description": [], + "signature": [ + "number" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPattern[]" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getIdsWithTitle", + "type": "Function", + "tags": [], + "label": "getIdsWithTitle", + "description": [ + "\nGet list of index pattern ids with titles" + ], + "signature": [ + "(refresh?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getIdsWithTitle.$1", + "type": "boolean", + "tags": [], + "label": "refresh", + "description": [ + "Force refresh of index pattern list" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.clearCache", + "type": "Function", + "tags": [], + "label": "clearCache", + "description": [ + "\nClear index pattern list cache" + ], + "signature": [ + "(id?: string | undefined) => void" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.clearCache.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "optionally clear a single id" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getCache", + "type": "Function", + "tags": [], + "label": "getCache", + "description": [], + "signature": [ + "() => Promise<", + "SavedObject", + ">[] | null | undefined>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getDefault", + "type": "Function", + "tags": [], + "label": "getDefault", + "description": [ + "\nGet default index pattern" + ], + "signature": [ + "() => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getDefaultId", + "type": "Function", + "tags": [], + "label": "getDefaultId", + "description": [ + "\nGet default index pattern id" + ], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.setDefault", + "type": "Function", + "tags": [], + "label": "setDefault", + "description": [ + "\nOptionally set default index pattern, unless force = true" + ], + "signature": [ + "(id: string | null, force?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.setDefault.$1", + "type": "CompoundType", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string | null" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.setDefault.$2", + "type": "boolean", + "tags": [], + "label": "force", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.hasUserDataView", + "type": "Function", + "tags": [], + "label": "hasUserDataView", + "description": [ + "\nChecks if current user has a user created index pattern ignoring fleet's server default index patterns" + ], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getFieldsForWildcard", + "type": "Function", + "tags": [], + "label": "getFieldsForWildcard", + "description": [ + "\nGet field list by providing { pattern }" + ], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getFieldsForWildcard.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "FieldSpec[]" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getFieldsForIndexPattern", + "type": "Function", + "tags": [], + "label": "getFieldsForIndexPattern", + "description": [ + "\nGet field list by providing an index patttern (or spec)" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getFieldsForIndexPattern.$1", + "type": "CompoundType", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.getFieldsForIndexPattern.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "FieldSpec[]" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.refreshFields", + "type": "Function", + "tags": [], + "label": "refreshFields", + "description": [ + "\nRefresh field list for a given index pattern" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.refreshFields.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.fieldArrayToMap", + "type": "Function", + "tags": [], + "label": "fieldArrayToMap", + "description": [ + "\nConverts field array to map" + ], + "signature": [ + "(fields: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => Record" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.fieldArrayToMap.$1", + "type": "Array", + "tags": [], + "label": "fields", + "description": [ + ": FieldSpec[]" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.fieldArrayToMap.$2", + "type": "Object", + "tags": [], + "label": "fieldAttrs", + "description": [ + ": FieldAttrs" + ], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "Record" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.savedObjectToSpec", + "type": "Function", + "tags": [], + "label": "savedObjectToSpec", + "description": [ + "\nConverts index pattern saved object to index pattern spec" + ], + "signature": [ + "(savedObject: ", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.savedObjectToSpec.$1", + "type": "Object", + "tags": [], + "label": "savedObject", + "description": [], + "signature": [ + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPatternSpec" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [ + "\nGet an index pattern by id. Cache optimized" + ], + "signature": [ + "(id: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.get.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.create", + "type": "Function", + "tags": [], + "label": "create", + "description": [ + "\nCreate a new index pattern instance" + ], + "signature": [ + "(spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.create.$1", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.create.$2", + "type": "boolean", + "tags": [], + "label": "skipFetchFields", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "IndexPattern" + ] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createAndSave", + "type": "Function", + "tags": [], + "label": "createAndSave", + "description": [ + "\nCreate a new index pattern and save it right away" + ], + "signature": [ + "(spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createAndSave.$1", + "type": "Object", + "tags": [], + "label": "spec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createAndSave.$2", + "type": "boolean", + "tags": [], + "label": "override", + "description": [ + "Overwrite if existing index pattern exists." + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createAndSave.$3", + "type": "boolean", + "tags": [], + "label": "skipFetchFields", + "description": [ + "Whether to skip field refresh step." + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createSavedObject", + "type": "Function", + "tags": [], + "label": "createSavedObject", + "description": [ + "\nSave a new index pattern" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", override?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createSavedObject.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.createSavedObject.$2", + "type": "boolean", + "tags": [], + "label": "override", + "description": [ + "Overwrite if existing index pattern exists" + ], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.updateSavedObject", + "type": "Function", + "tags": [], + "label": "updateSavedObject", + "description": [ + "\nSave existing index pattern. Will attempt to merge differences if there are conflicts" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.updateSavedObject.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.updateSavedObject.$2", + "type": "number", + "tags": [], + "label": "saveAttempts", + "description": [], + "signature": [ + "number" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.updateSavedObject.$3", + "type": "boolean", + "tags": [], + "label": "ignoreErrors", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.delete", + "type": "Function", + "tags": [], + "label": "delete", + "description": [ + "\nDeletes an index pattern from .kibana index" + ], + "signature": [ + "(indexPatternId: string) => Promise<{}>" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsService.delete.$1", + "type": "string", + "tags": [], + "label": "indexPatternId", + "description": [ + ": Id of kibana Index Pattern to delete" + ], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DuplicateDataViewError", + "type": "Class", + "tags": [], + "label": "DuplicateDataViewError", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DuplicateDataViewError", + "text": "DuplicateDataViewError" + }, + " extends Error" + ], + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DuplicateDataViewError.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DuplicateDataViewError.Unnamed.$1", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/errors/duplicate_index_pattern.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPattern", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPattern", + "text": "IndexPattern" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data_views/common/data_views/data_view.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/phrase_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/phrase_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/phrase_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/exists_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/exists_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/range_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/range_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/datatable_column_meta.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/datatable_column_meta.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/datatable_column_meta.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/aggs_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/aggs_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/aggs_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/types.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/types.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/types/index.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.test.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/timeseries_visualization.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_configs.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/tabify/tabify_docs.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/view_saved_search_action.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/view_saved_search_action.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/helpers.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/helpers.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/doc_table_wrapper.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/doc_table_wrapper.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/request_handler.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_flyout.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/discover_grid_flyout.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/get_render_cell_value.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/components/discover_grid/get_render_cell_value.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/utils/sorting.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/utils/sorting.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/calc_field_counts.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/calc_field_counts.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/get_switch_index_pattern_app_state.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_default_sort.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/get_default_sort.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/top_nav/get_top_nav_links.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/top_nav/get_top_nav_links.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/lib/row_formatter.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/doc_table/components/table_header/table_header.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/errors/painless_error.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/errors/painless_error.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/errors/painless_error.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/query_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/query_service.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/types.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternField", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPatternField", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPatternField", + "text": "IndexPatternField" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data_views/common/fields/data_view_field.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/agg_config.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/terms.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/utils/infer_time_zone.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/param_types/field.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/top_values/top_values.tsx" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternsService", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPatternsService", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPatternsService", + "text": "IndexPatternsService" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/plugin.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/plugin.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + } + ], + "children": [], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "dataViews", + "id": "def-common.fieldList", + "type": "Function", + "tags": [], + "label": "fieldList", + "description": [], + "signature": [ + "(specs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], shortDotsEnable?: boolean) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.fieldList.$1", + "type": "Array", + "tags": [], + "label": "specs", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.fieldList.$2", + "type": "boolean", + "tags": [], + "label": "shortDotsEnable", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.getIndexPatternLoadMeta", + "type": "Function", + "tags": [], + "label": "getIndexPatternLoadMeta", + "description": [], + "signature": [ + "() => Pick<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IndexPatternLoadExpressionFunctionDefinition", + "text": "IndexPatternLoadExpressionFunctionDefinition" + }, + ", \"type\" | \"telemetry\" | \"inject\" | \"extract\" | \"migrations\" | \"name\" | \"disabled\" | \"help\" | \"inputTypes\" | \"args\" | \"aliases\" | \"context\">" + ], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.isFilterable", + "type": "Function", + "tags": [], + "label": "isFilterable", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + ") => boolean" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.isFilterable.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.isNestedField", + "type": "Function", + "tags": [], + "label": "isNestedField", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + ") => boolean" + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.isNestedField.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data_views/common/fields/utils.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes", + "type": "Interface", + "tags": [], + "label": "DataViewAttributes", + "description": [ + "\nInterface for an index pattern saved object" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.fields", + "type": "string", + "tags": [], + "label": "fields", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.typeMeta", + "type": "string", + "tags": [], + "label": "typeMeta", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.intervalName", + "type": "string", + "tags": [], + "label": "intervalName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.sourceFilters", + "type": "string", + "tags": [], + "label": "sourceFilters", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.fieldFormatMap", + "type": "string", + "tags": [], + "label": "fieldFormatMap", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.fieldAttrs", + "type": "string", + "tags": [], + "label": "fieldAttrs", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.runtimeFieldMap", + "type": "string", + "tags": [], + "label": "runtimeFieldMap", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewAttributes.allowNoIndex", + "type": "CompoundType", + "tags": [], + "label": "allowNoIndex", + "description": [ + "\nprevents errors when index pattern exists before indices" + ], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewListItem", + "type": "Interface", + "tags": [], + "label": "DataViewListItem", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewListItem.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewListItem.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewListItem.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewListItem.typeMeta", + "type": "Object", + "tags": [], + "label": "typeMeta", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.TypeMeta", + "text": "TypeMeta" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec", + "type": "Interface", + "tags": [], + "label": "DataViewSpec", + "description": [ + "\nStatic index pattern format\nSerialized data object, representing index pattern attributes and state" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.id", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "\nsaved object id" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "\nsaved object version string" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.intervalName", + "type": "string", + "tags": [ + "deprecated" + ], + "label": "intervalName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.sourceFilters", + "type": "Array", + "tags": [], + "label": "sourceFilters", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SourceFilter", + "text": "SourceFilter" + }, + "[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.fields", + "type": "Object", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.typeMeta", + "type": "Object", + "tags": [], + "label": "typeMeta", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.TypeMeta", + "text": "TypeMeta" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.fieldFormats", + "type": "Object", + "tags": [], + "label": "fieldFormats", + "description": [], + "signature": [ + "Record>> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.runtimeFieldMap", + "type": "Object", + "tags": [], + "label": "runtimeFieldMap", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.fieldAttrs", + "type": "Object", + "tags": [], + "label": "fieldAttrs", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewSpec.allowNoIndex", + "type": "CompoundType", + "tags": [], + "label": "allowNoIndex", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldAttrs", + "type": "Interface", + "tags": [ + "intenal" + ], + "label": "FieldAttrs", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.FieldAttrs.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldAttrSet", + "type": "Interface", + "tags": [], + "label": "FieldAttrSet", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.FieldAttrSet.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldAttrSet.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec", + "type": "Interface", + "tags": [], + "label": "FieldSpec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " extends ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.count", + "type": "number", + "tags": [], + "label": "count", + "description": [ + "\nPopularity count is used by discover" + ], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.conflictDescriptions", + "type": "Object", + "tags": [], + "label": "conflictDescriptions", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.format", + "type": "Object", + "tags": [], + "label": "format", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + "> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.searchable", + "type": "boolean", + "tags": [], + "label": "searchable", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.aggregatable", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.readFromDocValues", + "type": "CompoundType", + "tags": [], + "label": "readFromDocValues", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.indexed", + "type": "CompoundType", + "tags": [], + "label": "indexed", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.runtimeField", + "type": "Object", + "tags": [], + "label": "runtimeField", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.shortDotsEnable", + "type": "CompoundType", + "tags": [], + "label": "shortDotsEnable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpec.isMapped", + "type": "CompoundType", + "tags": [], + "label": "isMapped", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt", + "type": "Interface", + "tags": [], + "label": "FieldSpecExportFmt", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.script", + "type": "string", + "tags": [], + "label": "script", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.lang", + "type": "CompoundType", + "tags": [], + "label": "lang", + "description": [], + "signature": [ + "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.conflictDescriptions", + "type": "Object", + "tags": [], + "label": "conflictDescriptions", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.type", + "type": "Enum", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.scripted", + "type": "boolean", + "tags": [], + "label": "scripted", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.searchable", + "type": "boolean", + "tags": [], + "label": "searchable", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.aggregatable", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.readFromDocValues", + "type": "CompoundType", + "tags": [], + "label": "readFromDocValues", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.subType", + "type": "Object", + "tags": [], + "label": "subType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.format", + "type": "Object", + "tags": [], + "label": "format", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + "> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecExportFmt.indexed", + "type": "CompoundType", + "tags": [], + "label": "indexed", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptions", + "type": "Interface", + "tags": [], + "label": "GetFieldsOptions", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptions.pattern", + "type": "string", + "tags": [], + "label": "pattern", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptions.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptions.lookBack", + "type": "CompoundType", + "tags": [], + "label": "lookBack", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptions.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptions.rollupIndex", + "type": "string", + "tags": [], + "label": "rollupIndex", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptions.allowNoIndex", + "type": "CompoundType", + "tags": [], + "label": "allowNoIndex", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptionsTimePattern", + "type": "Interface", + "tags": [], + "label": "GetFieldsOptionsTimePattern", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptionsTimePattern.pattern", + "type": "string", + "tags": [], + "label": "pattern", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptionsTimePattern.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptionsTimePattern.lookBack", + "type": "number", + "tags": [], + "label": "lookBack", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.GetFieldsOptionsTimePattern.interval", + "type": "string", + "tags": [], + "label": "interval", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IDataViewsApiClient", + "type": "Interface", + "tags": [], + "label": "IDataViewsApiClient", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IDataViewsApiClient.getFieldsForTimePattern", + "type": "Function", + "tags": [], + "label": "getFieldsForTimePattern", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptionsTimePattern", + "text": "GetFieldsOptionsTimePattern" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IDataViewsApiClient.getFieldsForTimePattern.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptionsTimePattern", + "text": "GetFieldsOptionsTimePattern" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IDataViewsApiClient.getFieldsForWildcard", + "type": "Function", + "tags": [], + "label": "getFieldsForWildcard", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IDataViewsApiClient.getFieldsForWildcard.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IDataViewsApiClient.hasUserIndexPattern", + "type": "Function", + "tags": [], + "label": "hasUserIndexPattern", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType", + "type": "Interface", + "tags": [ + "deprecated" + ], + "label": "IFieldType", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " extends ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/value_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/value_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/value_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/value_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/date_histogram.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/aggs/buckets/date_histogram.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/phrase_suggestor.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/phrase_suggestor.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/range_value_input.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/range_value_input.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/kql_query_suggestion/field.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/kql_query_suggestion/field.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/kql_query_suggestion/field.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/kql_query_suggestion/field.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/kql_query_suggestion/value.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/kql_query_suggestion/value.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/actions/filters/create_filters_from_range_select.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/actions/filters/create_filters_from_range_select.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/index.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/index.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/autocomplete/terms_enum.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/autocomplete/terms_enum.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/autocomplete/terms_agg.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/autocomplete/terms_agg.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/autocomplete/terms_agg.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/autocomplete/terms_agg.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.test.ts" + } + ], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.aggregatable", + "type": "CompoundType", + "tags": [], + "label": "aggregatable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.filterable", + "type": "CompoundType", + "tags": [], + "label": "filterable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.searchable", + "type": "CompoundType", + "tags": [], + "label": "searchable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.sortable", + "type": "CompoundType", + "tags": [], + "label": "sortable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.visualizable", + "type": "CompoundType", + "tags": [], + "label": "visualizable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.readFromDocValues", + "type": "CompoundType", + "tags": [], + "label": "readFromDocValues", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.displayName", + "type": "string", + "tags": [], + "label": "displayName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.format", + "type": "Any", + "tags": [], + "label": "format", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [], + "signature": [ + "((options?: { getFormatterForField?: ((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined; } | undefined) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.toSpec.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IFieldType.toSpec.$1.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/types.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPattern", + "type": "Interface", + "tags": [ + "deprecated" + ], + "label": "IIndexPattern", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" + }, + " extends ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/query/timefilter/get_time.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/query/timefilter/get_time.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/query/timefilter/get_time.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/query/timefilter/get_time.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/get_index_pattern_from_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/get_index_pattern_from_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/get_index_pattern_from_filter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/timefilter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/timefilter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/timefilter.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/value_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/value_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/value_suggestion_provider.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/normalize_sort_request.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/normalize_sort_request.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/normalize_sort_request.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/search_bar/search_bar.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/search_bar/search_bar.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/phrase_suggestor.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/phrase_suggestor.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/kql_query_suggestion/value.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/autocomplete/providers/kql_query_suggestion/value.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/apply_filters/apply_filter_popover_content.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/apply_filters/apply_filter_popover_content.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/apply_filters/apply_filters_popover.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/apply_filters/apply_filters_popover.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_editor/index.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_item.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_item.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/query_string_input.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/query_string_input.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/query_string_input.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/query_string_input.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/query_string_input.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/query_bar_top_row.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/query_bar_top_row.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_bar.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/filter_bar/filter_bar.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/utils/kuery.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/utils/kuery.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/lib/kuery.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/public/lib/kuery.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/target/types/public/alerts/components/param_details_form/use_derived_index_pattern.d.ts" + }, + { + "plugin": "monitoring", + "path": "x-pack/plugins/monitoring/target/types/public/alerts/components/param_details_form/use_derived_index_pattern.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/query/timefilter/get_time.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/query/timefilter/get_time.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/query/timefilter/get_time.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/query/timefilter/get_time.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/query/timefilter/get_time.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/normalize_sort_request.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/normalize_sort_request.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.test.ts" + } + ], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPattern.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPattern.fields", + "type": "Array", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + "[]" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPattern.type", + "type": "string", + "tags": [], + "label": "type", + "description": [ + "\nType is used for identifying rollup indices, otherwise left undefined" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPattern.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPattern.getTimeField", + "type": "Function", + "tags": [], + "label": "getTimeField", + "description": [], + "signature": [ + "(() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | undefined) | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPattern.fieldFormatMap", + "type": "Object", + "tags": [], + "label": "fieldFormatMap", + "description": [], + "signature": [ + "Record | undefined> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPattern.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [ + "\nLook up a formatter for a given field" + ], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPattern.getFormatterForField.$1", + "type": "CompoundType", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList", + "type": "Interface", + "tags": [], + "label": "IIndexPatternFieldList", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + }, + " extends ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.add", + "type": "Function", + "tags": [], + "label": "add", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.add.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.getAll", + "type": "Function", + "tags": [], + "label": "getAll", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.getByName", + "type": "Function", + "tags": [], + "label": "getByName", + "description": [], + "signature": [ + "(name: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.getByName.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.getByType", + "type": "Function", + "tags": [], + "label": "getByType", + "description": [], + "signature": [ + "(type: string) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.getByType.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.remove.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.removeAll", + "type": "Function", + "tags": [], + "label": "removeAll", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.replaceAll", + "type": "Function", + "tags": [], + "label": "replaceAll", + "description": [], + "signature": [ + "(specs: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]) => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.replaceAll.$1", + "type": "Array", + "tags": [], + "label": "specs", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.update", + "type": "Function", + "tags": [], + "label": "update", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.update.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [], + "signature": [ + "(options?: { getFormatterForField?: ((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined; } | undefined) => Record" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.toSpec.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternFieldList.toSpec.$1.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [], + "signature": [ + "((field: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data_views/common/fields/field_list.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternExpressionType", + "type": "Interface", + "tags": [], + "label": "IndexPatternExpressionType", + "description": [], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternExpressionType.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"index_pattern\"" + ], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternExpressionType.value", + "type": "Object", + "tags": [], + "label": "value", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.RuntimeField", + "type": "Interface", + "tags": [], + "label": "RuntimeField", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.RuntimeField.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"boolean\" | \"date\" | \"keyword\" | \"geo_point\" | \"ip\" | \"long\" | \"double\"" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.RuntimeField.script", + "type": "Object", + "tags": [], + "label": "script", + "description": [], + "signature": [ + "{ source: string; } | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject", + "type": "Interface", + "tags": [], + "label": "SavedObject", + "description": [], + "signature": [ + "SavedObject", + "" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.id", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "The ID of this Saved Object, guaranteed to be unique for all objects of the same `type`" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.type", + "type": "string", + "tags": [], + "label": "type", + "description": [ + " The type of Saved Object. Each plugin can define it's own custom Saved Object types." + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "An opaque version number which changes on each successful write operation. Can be used for implementing optimistic concurrency control." + ], + "signature": [ + "string | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.updated_at", + "type": "string", + "tags": [], + "label": "updated_at", + "description": [ + "Timestamp of the last time this document had been updated." + ], + "signature": [ + "string | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.error", + "type": "Object", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "SavedObjectError", + " | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.attributes", + "type": "Uncategorized", + "tags": [], + "label": "attributes", + "description": [ + "{@inheritdoc SavedObjectAttributes}" + ], + "signature": [ + "T" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.references", + "type": "Array", + "tags": [], + "label": "references", + "description": [ + "{@inheritdoc SavedObjectReference}" + ], + "signature": [ + "SavedObjectReference", + "[]" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.migrationVersion", + "type": "Object", + "tags": [], + "label": "migrationVersion", + "description": [ + "{@inheritdoc SavedObjectsMigrationVersion}" + ], + "signature": [ + "SavedObjectsMigrationVersion", + " | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.coreMigrationVersion", + "type": "string", + "tags": [], + "label": "coreMigrationVersion", + "description": [ + "A semver value that is used when upgrading objects between Kibana versions." + ], + "signature": [ + "string | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.namespaces", + "type": "Array", + "tags": [], + "label": "namespaces", + "description": [ + "\nSpace(s) that this saved object exists in. This attribute is not used for \"global\" saved object types which are registered with\n`namespaceType: 'agnostic'`." + ], + "signature": [ + "string[] | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObject.originId", + "type": "string", + "tags": [], + "label": "originId", + "description": [ + "\nThe ID of the saved object this originated from. This is set if this object's `id` was regenerated; that can happen during migration\nfrom a legacy single-namespace type, or during import. It is only set during migration or create operations. This is used during import\nto ensure that ID regeneration is deterministic, so saved objects will be overwritten if they are imported multiple times into a given\nspace." + ], + "signature": [ + "string | undefined" + ], + "path": "src/core/types/saved_objects.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon", + "type": "Interface", + "tags": [], + "label": "SavedObjectsClientCommon", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.find", + "type": "Function", + "tags": [], + "label": "find", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SavedObjectsClientCommonFindArgs", + "text": "SavedObjectsClientCommonFindArgs" + }, + ") => Promise<", + "SavedObject", + "[]>" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.find.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.SavedObjectsClientCommonFindArgs", + "text": "SavedObjectsClientCommonFindArgs" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(type: string, id: string) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.get.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.get.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.update", + "type": "Function", + "tags": [], + "label": "update", + "description": [], + "signature": [ + "(type: string, id: string, attributes: Record, options: Record) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.update.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.update.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.update.$3", + "type": "Object", + "tags": [], + "label": "attributes", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.update.$4", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.create", + "type": "Function", + "tags": [], + "label": "create", + "description": [], + "signature": [ + "(type: string, attributes: Record, options: Record) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.create.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.create.$2", + "type": "Object", + "tags": [], + "label": "attributes", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.create.$3", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.delete", + "type": "Function", + "tags": [], + "label": "delete", + "description": [], + "signature": [ + "(type: string, id: string) => Promise<{}>" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.delete.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommon.delete.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommonFindArgs", + "type": "Interface", + "tags": [], + "label": "SavedObjectsClientCommonFindArgs", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommonFindArgs.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommonFindArgs.fields", + "type": "Array", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommonFindArgs.perPage", + "type": "number", + "tags": [], + "label": "perPage", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommonFindArgs.search", + "type": "string", + "tags": [], + "label": "search", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SavedObjectsClientCommonFindArgs.searchFields", + "type": "Array", + "tags": [], + "label": "searchFields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.SourceFilter", + "type": "Interface", + "tags": [], + "label": "SourceFilter", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.SourceFilter.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.TypeMeta", + "type": "Interface", + "tags": [], + "label": "TypeMeta", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.TypeMeta.aggs", + "type": "Object", + "tags": [], + "label": "aggs", + "description": [], + "signature": [ + "Record> | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.TypeMeta.params", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "{ rollup_index: string; } | undefined" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.UiSettingsCommon", + "type": "Interface", + "tags": [], + "label": "UiSettingsCommon", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.UiSettingsCommon.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(key: string) => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.UiSettingsCommon.get.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.UiSettingsCommon.getAll", + "type": "Function", + "tags": [], + "label": "getAll", + "description": [], + "signature": [ + "() => Promise>" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.UiSettingsCommon.set", + "type": "Function", + "tags": [], + "label": "set", + "description": [], + "signature": [ + "(key: string, value: any) => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.UiSettingsCommon.set.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "dataViews", + "id": "def-common.UiSettingsCommon.set.$2", + "type": "Any", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "dataViews", + "id": "def-common.UiSettingsCommon.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "(key: string) => Promise" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.UiSettingsCommon.remove.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [ + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewType", + "type": "Enum", + "tags": [], + "label": "DataViewType", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternType", + "type": "Enum", + "tags": [ + "deprecated" + ], + "label": "IndexPatternType", + "description": [], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + } + ], + "initialIsOpen": false + } + ], + "misc": [ + { + "parentPluginId": "dataViews", + "id": "def-common.AggregationRestrictions", + "type": "Type", + "tags": [], + "label": "AggregationRestrictions", + "description": [], + "signature": [ + "{ [x: string]: { agg?: string | undefined; interval?: number | undefined; fixed_interval?: string | undefined; calendar_interval?: string | undefined; delay?: string | undefined; time_zone?: string | undefined; }; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DATA_VIEW_SAVED_OBJECT_TYPE", + "type": "string", + "tags": [], + "label": "DATA_VIEW_SAVED_OBJECT_TYPE", + "description": [], + "signature": [ + "\"index-pattern\"" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewFieldMap", + "type": "Type", + "tags": [], + "label": "DataViewFieldMap", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.DataViewsContract", + "type": "Type", + "tags": [], + "label": "DataViewsContract", + "description": [], + "signature": [ + "{ get: (id: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; find: (search: string, size?: number) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>; ensureDefaultDataView: ", + "EnsureDefaultDataView", + "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", + "SavedObject", + ">[] | null | undefined>; getDefault: () => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise; getFieldsForIndexPattern: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise; refreshFields: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise; fieldArrayToMap: (fields: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => Record; savedObjectToSpec: (savedObject: ", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + "; createAndSave: (spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; createSavedObject: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", override?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; updateSavedObject: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldFormatMap", + "type": "Type", + "tags": [], + "label": "FieldFormatMap", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + ">; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FieldSpecConflictDescriptions", + "type": "Type", + "tags": [], + "label": "FieldSpecConflictDescriptions", + "description": [], + "signature": [ + "{ [x: string]: string[]; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IIndexPatternsApiClient", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IIndexPatternsApiClient", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.IDataViewsApiClient", + "text": "IDataViewsApiClient" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.INDEX_PATTERN_SAVED_OBJECT_TYPE", + "type": "string", + "tags": [ + "deprecated" + ], + "label": "INDEX_PATTERN_SAVED_OBJECT_TYPE", + "description": [], + "signature": [ + "\"index-pattern\"" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternAttributes", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternAttributes", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/index.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/common/types/kibana.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/common/types/kibana.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/common/types/kibana.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/common/types/kibana.d.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternFieldMap", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternFieldMap", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternListItem", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternListItem", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + } + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternLoadExpressionFunctionDefinition", + "type": "Type", + "tags": [], + "label": "IndexPatternLoadExpressionFunctionDefinition", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"indexPatternLoad\", null, Arguments, Output, ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + ">>" + ], + "path": "src/plugins/data_views/common/expressions/load_index_pattern.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternsContract", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternsContract", + "description": [], + "signature": [ + "{ get: (id: string) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; find: (search: string, size?: number) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>; ensureDefaultDataView: ", + "EnsureDefaultDataView", + "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", + "SavedObject", + ">[] | null | undefined>; getDefault: () => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserDataView: () => Promise; getFieldsForWildcard: (options: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise; getFieldsForIndexPattern: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise; refreshFields: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise; fieldArrayToMap: (fields: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => Record; savedObjectToSpec: (savedObject: ", + "SavedObject", + "<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + "; createAndSave: (spec: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; createSavedObject: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", override?: boolean) => Promise<", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; updateSavedObject: (indexPattern: ", + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" + ], + "path": "src/plugins/data_views/common/data_views/data_views.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/types.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/create_search_source.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source_service.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/common/search/search_source/search_source_service.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/expressions/esaggs.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/expressions/esaggs.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/search/expressions/esaggs.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/server/search/expressions/esaggs.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/services.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/services.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/index_pattern_select/index_pattern_select.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/index_pattern_select/index_pattern_select.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/index_pattern_select/create_index_pattern_select.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/index_pattern_select/create_index_pattern_select.tsx" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/aggs/aggs_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/aggs/aggs_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/fetch_index_patterns.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/ui/query_string_input/fetch_index_patterns.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/search_service.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/search/search_service.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/build_services.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/build_services.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/doc/components/doc.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/doc/components/doc.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/dependency_cache.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/dependency_cache.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/resolvers.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/resolvers.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/router.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/router.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/application.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/application.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_patterns.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_patterns.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/routing/router.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/routing/router.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/util/dependency_cache.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/util/dependency_cache.d.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.test.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/helpers/plugin_services.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/helpers/plugin_services.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/actions/filters/create_filters_from_range_select.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/actions/filters/create_filters_from_range_select.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/actions/filters/create_filters_from_value_click.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/actions/filters/create_filters_from_value_click.test.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/target/types/public/ui/index_pattern_select/index_pattern_select.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/target/types/public/ui/index_pattern_select/index_pattern_select.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/target/types/public/ui/index_pattern_select/create_index_pattern_select.d.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/target/types/public/ui/index_pattern_select/create_index_pattern_select.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/build_services.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/build_services.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/_stubs.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/_stubs.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/doc/components/doc.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/doc/components/doc.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.IndexPatternSpec", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternSpec", + "description": [], + "signature": [ + { + "pluginId": "dataViews", + "scope": "common", + "docId": "kibDataViewsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "data", + "path": "src/plugins/data/common/index.ts" + }, + { + "plugin": "data", + "path": "src/plugins/data/public/index.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.META_FIELDS", + "type": "string", + "tags": [], + "label": "META_FIELDS", + "description": [], + "signature": [ + "\"metaFields\"" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.OnError", + "type": "Type", + "tags": [], + "label": "OnError", + "description": [], + "signature": [ + "(error: Error, toastInputFields: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.ErrorToastOptions", + "text": "ErrorToastOptions" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.OnError.$1", + "type": "Object", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "Error" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.OnError.$2", + "type": "Object", + "tags": [], + "label": "toastInputFields", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.ErrorToastOptions", + "text": "ErrorToastOptions" + } + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.OnNotification", + "type": "Type", + "tags": [], + "label": "OnNotification", + "description": [], + "signature": [ + "(toastInputFields: ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.ToastInputFields", + "text": "ToastInputFields" + }, + ") => void" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.OnNotification.$1", + "type": "CompoundType", + "tags": [], + "label": "toastInputFields", + "description": [], + "signature": [ + "Pick<", + "Toast", + ", \"children\" | \"onClick\" | \"onChange\" | \"color\" | \"onKeyDown\" | \"security\" | \"defaultChecked\" | \"defaultValue\" | \"suppressContentEditableWarning\" | \"suppressHydrationWarning\" | \"accessKey\" | \"className\" | \"contentEditable\" | \"contextMenu\" | \"dir\" | \"draggable\" | \"hidden\" | \"lang\" | \"placeholder\" | \"slot\" | \"spellCheck\" | \"style\" | \"tabIndex\" | \"translate\" | \"radioGroup\" | \"role\" | \"about\" | \"datatype\" | \"inlist\" | \"prefix\" | \"property\" | \"resource\" | \"typeof\" | \"vocab\" | \"autoCapitalize\" | \"autoCorrect\" | \"autoSave\" | \"itemProp\" | \"itemScope\" | \"itemType\" | \"itemID\" | \"itemRef\" | \"results\" | \"unselectable\" | \"inputMode\" | \"is\" | \"aria-activedescendant\" | \"aria-atomic\" | \"aria-autocomplete\" | \"aria-busy\" | \"aria-checked\" | \"aria-colcount\" | \"aria-colindex\" | \"aria-colspan\" | \"aria-controls\" | \"aria-current\" | \"aria-describedby\" | \"aria-details\" | \"aria-disabled\" | \"aria-dropeffect\" | \"aria-errormessage\" | \"aria-expanded\" | \"aria-flowto\" | \"aria-grabbed\" | \"aria-haspopup\" | \"aria-hidden\" | \"aria-invalid\" | \"aria-keyshortcuts\" | \"aria-label\" | \"aria-labelledby\" | \"aria-level\" | \"aria-live\" | \"aria-modal\" | \"aria-multiline\" | \"aria-multiselectable\" | \"aria-orientation\" | \"aria-owns\" | \"aria-placeholder\" | \"aria-posinset\" | \"aria-pressed\" | \"aria-readonly\" | \"aria-relevant\" | \"aria-required\" | \"aria-roledescription\" | \"aria-rowcount\" | \"aria-rowindex\" | \"aria-rowspan\" | \"aria-selected\" | \"aria-setsize\" | \"aria-sort\" | \"aria-valuemax\" | \"aria-valuemin\" | \"aria-valuenow\" | \"aria-valuetext\" | \"dangerouslySetInnerHTML\" | \"onCopy\" | \"onCopyCapture\" | \"onCut\" | \"onCutCapture\" | \"onPaste\" | \"onPasteCapture\" | \"onCompositionEnd\" | \"onCompositionEndCapture\" | \"onCompositionStart\" | \"onCompositionStartCapture\" | \"onCompositionUpdate\" | \"onCompositionUpdateCapture\" | \"onFocus\" | \"onFocusCapture\" | \"onBlur\" | \"onBlurCapture\" | \"onChangeCapture\" | \"onBeforeInput\" | \"onBeforeInputCapture\" | \"onInput\" | \"onInputCapture\" | \"onReset\" | \"onResetCapture\" | \"onSubmit\" | \"onSubmitCapture\" | \"onInvalid\" | \"onInvalidCapture\" | \"onLoad\" | \"onLoadCapture\" | \"onError\" | \"onErrorCapture\" | \"onKeyDownCapture\" | \"onKeyPress\" | \"onKeyPressCapture\" | \"onKeyUp\" | \"onKeyUpCapture\" | \"onAbort\" | \"onAbortCapture\" | \"onCanPlay\" | \"onCanPlayCapture\" | \"onCanPlayThrough\" | \"onCanPlayThroughCapture\" | \"onDurationChange\" | \"onDurationChangeCapture\" | \"onEmptied\" | \"onEmptiedCapture\" | \"onEncrypted\" | \"onEncryptedCapture\" | \"onEnded\" | \"onEndedCapture\" | \"onLoadedData\" | \"onLoadedDataCapture\" | \"onLoadedMetadata\" | \"onLoadedMetadataCapture\" | \"onLoadStart\" | \"onLoadStartCapture\" | \"onPause\" | \"onPauseCapture\" | \"onPlay\" | \"onPlayCapture\" | \"onPlaying\" | \"onPlayingCapture\" | \"onProgress\" | \"onProgressCapture\" | \"onRateChange\" | \"onRateChangeCapture\" | \"onSeeked\" | \"onSeekedCapture\" | \"onSeeking\" | \"onSeekingCapture\" | \"onStalled\" | \"onStalledCapture\" | \"onSuspend\" | \"onSuspendCapture\" | \"onTimeUpdate\" | \"onTimeUpdateCapture\" | \"onVolumeChange\" | \"onVolumeChangeCapture\" | \"onWaiting\" | \"onWaitingCapture\" | \"onAuxClick\" | \"onAuxClickCapture\" | \"onClickCapture\" | \"onContextMenu\" | \"onContextMenuCapture\" | \"onDoubleClick\" | \"onDoubleClickCapture\" | \"onDrag\" | \"onDragCapture\" | \"onDragEnd\" | \"onDragEndCapture\" | \"onDragEnter\" | \"onDragEnterCapture\" | \"onDragExit\" | \"onDragExitCapture\" | \"onDragLeave\" | \"onDragLeaveCapture\" | \"onDragOver\" | \"onDragOverCapture\" | \"onDragStart\" | \"onDragStartCapture\" | \"onDrop\" | \"onDropCapture\" | \"onMouseDown\" | \"onMouseDownCapture\" | \"onMouseEnter\" | \"onMouseLeave\" | \"onMouseMove\" | \"onMouseMoveCapture\" | \"onMouseOut\" | \"onMouseOutCapture\" | \"onMouseOver\" | \"onMouseOverCapture\" | \"onMouseUp\" | \"onMouseUpCapture\" | \"onSelect\" | \"onSelectCapture\" | \"onTouchCancel\" | \"onTouchCancelCapture\" | \"onTouchEnd\" | \"onTouchEndCapture\" | \"onTouchMove\" | \"onTouchMoveCapture\" | \"onTouchStart\" | \"onTouchStartCapture\" | \"onPointerDown\" | \"onPointerDownCapture\" | \"onPointerMove\" | \"onPointerMoveCapture\" | \"onPointerUp\" | \"onPointerUpCapture\" | \"onPointerCancel\" | \"onPointerCancelCapture\" | \"onPointerEnter\" | \"onPointerEnterCapture\" | \"onPointerLeave\" | \"onPointerLeaveCapture\" | \"onPointerOver\" | \"onPointerOverCapture\" | \"onPointerOut\" | \"onPointerOutCapture\" | \"onGotPointerCapture\" | \"onGotPointerCaptureCapture\" | \"onLostPointerCapture\" | \"onLostPointerCaptureCapture\" | \"onScroll\" | \"onScrollCapture\" | \"onWheel\" | \"onWheelCapture\" | \"onAnimationStart\" | \"onAnimationStartCapture\" | \"onAnimationEnd\" | \"onAnimationEndCapture\" | \"onAnimationIteration\" | \"onAnimationIterationCapture\" | \"onTransitionEnd\" | \"onTransitionEndCapture\" | \"data-test-subj\" | \"iconType\" | \"toastLifeTimeMs\" | \"onClose\"> & { title?: string | ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.MountPoint", + "text": "MountPoint" + }, + " | undefined; text?: string | ", + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.MountPoint", + "text": "MountPoint" + }, + " | undefined; }" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.RuntimeType", + "type": "Type", + "tags": [], + "label": "RuntimeType", + "description": [], + "signature": [ + "\"boolean\" | \"date\" | \"keyword\" | \"geo_point\" | \"ip\" | \"long\" | \"double\"" + ], + "path": "src/plugins/data_views/common/types.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "dataViews", + "id": "def-common.FLEET_ASSETS_TO_IGNORE", + "type": "Object", + "tags": [], + "label": "FLEET_ASSETS_TO_IGNORE", + "description": [ + "\nUsed to determine if the instance has any user created index patterns by filtering index patterns\nthat are created and backed only by Fleet server data\nShould be revised after https://github.com/elastic/kibana/issues/82851 is fixed\nFor more background see: https://github.com/elastic/kibana/issues/107020" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataViews", + "id": "def-common.FLEET_ASSETS_TO_IGNORE.LOGS_INDEX_PATTERN", + "type": "string", + "tags": [], + "label": "LOGS_INDEX_PATTERN", + "description": [], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FLEET_ASSETS_TO_IGNORE.METRICS_INDEX_PATTERN", + "type": "string", + "tags": [], + "label": "METRICS_INDEX_PATTERN", + "description": [], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FLEET_ASSETS_TO_IGNORE.LOGS_DATA_STREAM_TO_IGNORE", + "type": "string", + "tags": [], + "label": "LOGS_DATA_STREAM_TO_IGNORE", + "description": [], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FLEET_ASSETS_TO_IGNORE.METRICS_DATA_STREAM_TO_IGNORE", + "type": "string", + "tags": [], + "label": "METRICS_DATA_STREAM_TO_IGNORE", + "description": [], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.FLEET_ASSETS_TO_IGNORE.METRICS_ENDPOINT_INDEX_TO_IGNORE", + "type": "string", + "tags": [], + "label": "METRICS_ENDPOINT_INDEX_TO_IGNORE", + "description": [], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "dataViews", + "id": "def-common.RUNTIME_FIELD_TYPES", + "type": "Object", + "tags": [], + "label": "RUNTIME_FIELD_TYPES", + "description": [], + "signature": [ + "readonly [\"keyword\", \"long\", \"double\", \"date\", \"ip\", \"boolean\", \"geo_point\"]" + ], + "path": "src/plugins/data_views/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/data_views.mdx b/api_docs/data_views.mdx new file mode 100644 index 0000000000000..373587de6f284 --- /dev/null +++ b/api_docs/data_views.mdx @@ -0,0 +1,79 @@ +--- +id: kibDataViewsPluginApi +slug: /kibana-dev-docs/api/dataViews +title: "dataViews" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the dataViews plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', 'dataViews'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import dataViewsObj from './data_views.json'; + +Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. + +Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 671 | 6 | 531 | 5 | + +## Client + +### Setup + + +### Start + + +### Functions + + +### Classes + + +### Interfaces + + +### Consts, variables and types + + +## Server + +### Setup + + +### Start + + +### Functions + + +### Classes + + +### Interfaces + + +## Common + +### Objects + + +### Functions + + +### Classes + + +### Interfaces + + +### Enums + + +### Consts, variables and types + + diff --git a/api_docs/data_visualizer.json b/api_docs/data_visualizer.json index f0c4ff72f94af..6e46a32aabda7 100644 --- a/api_docs/data_visualizer.json +++ b/api_docs/data_visualizer.json @@ -23,9 +23,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" } @@ -348,7 +348,39 @@ }, "common": { "classes": [], - "functions": [], + "functions": [ + { + "parentPluginId": "dataVisualizer", + "id": "def-common.isSavedSearchSavedObject", + "type": "Function", + "tags": [], + "label": "isSavedSearchSavedObject", + "description": [], + "signature": [ + "(arg: unknown) => boolean" + ], + "path": "x-pack/plugins/data_visualizer/common/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "dataVisualizer", + "id": "def-common.isSavedSearchSavedObject.$1", + "type": "Unknown", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + "unknown" + ], + "path": "x-pack/plugins/data_visualizer/common/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], "interfaces": [ { "parentPluginId": "dataVisualizer", @@ -1082,329 +1114,6 @@ "deprecated": false, "initialIsOpen": false }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS", - "type": "Object", - "tags": [], - "label": "JOB_FIELD_TYPES_OPTIONS", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.BOOLEAN", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.BOOLEAN]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.BOOLEAN.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.BOOLEAN.icon", - "type": "string", - "tags": [], - "label": "icon", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.DATE", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.DATE]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.DATE.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.DATE.icon", - "type": "string", - "tags": [], - "label": "icon", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.GEO_POINT", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.GEO_POINT]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.GEO_POINT.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.GEO_POINT.icon", - "type": "string", - "tags": [], - "label": "icon", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.GEO_SHAPE", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.GEO_SHAPE]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.GEO_SHAPE.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.GEO_SHAPE.icon", - "type": "string", - "tags": [], - "label": "icon", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.IP", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.IP]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.IP.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.IP.icon", - "type": "string", - "tags": [], - "label": "icon", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.KEYWORD", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.KEYWORD]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.KEYWORD.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.KEYWORD.icon", - "type": "string", - "tags": [], - "label": "icon", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.NUMBER", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.NUMBER]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.NUMBER.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.NUMBER.icon", - "type": "string", - "tags": [], - "label": "icon", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.TEXT", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.TEXT]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.TEXT.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.TEXT.icon", - "type": "string", - "tags": [], - "label": "icon", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.HISTOGRAM", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.HISTOGRAM]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.HISTOGRAM.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.HISTOGRAM.icon", - "type": "string", - "tags": [], - "label": "icon", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.UNKNOWN", - "type": "Object", - "tags": [], - "label": "[JOB_FIELD_TYPES.UNKNOWN]", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dataVisualizer", - "id": "def-common.JOB_FIELD_TYPES_OPTIONS.JOB_FIELD_TYPES.UNKNOWN.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "x-pack/plugins/data_visualizer/common/constants.ts", - "deprecated": false - } - ] - } - ], - "initialIsOpen": false - }, { "parentPluginId": "dataVisualizer", "id": "def-common.NON_AGGREGATABLE_FIELD_TYPES", diff --git a/api_docs/data_visualizer.mdx b/api_docs/data_visualizer.mdx index 428d1cd518b33..d2fe5cb5e7097 100644 --- a/api_docs/data_visualizer.mdx +++ b/api_docs/data_visualizer.mdx @@ -1,7 +1,7 @@ --- id: kibDataVisualizerPluginApi -slug: /kibana-dev-docs/dataVisualizerPluginApi -title: dataVisualizer +slug: /kibana-dev-docs/api/dataVisualizer +title: "dataVisualizer" image: https://source.unsplash.com/400x175/?github summary: API docs for the dataVisualizer plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) for q | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 108 | 5 | 108 | 0 | +| 80 | 5 | 80 | 0 | ## Client @@ -36,6 +36,9 @@ Contact [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) for q ### Objects +### Functions + + ### Interfaces diff --git a/api_docs/deprecations_by_api.mdx b/api_docs/deprecations_by_api.mdx index c2938b4085de1..5e3c38eb354c1 100644 --- a/api_docs/deprecations_by_api.mdx +++ b/api_docs/deprecations_by_api.mdx @@ -1,6 +1,6 @@ --- id: kibDevDocsDeprecationsByApi -slug: /kibana-dev-docs/deprecated-api-list-by-api +slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-api title: Deprecated API usage by API summary: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. date: 2021-07-27 @@ -14,37 +14,48 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Referencing plugin(s) | Remove By | | ---------------|-----------|-----------| | | securitySolution | - | -| | visTypeTimeseries, reporting, discover, observability, infra, maps, dataVisualizer, ml, apm, lens, osquery, securitySolution, transform, savedObjects, visualizations, indexPatternFieldEditor, dashboard, graph, stackAlerts, uptime, indexPatternEditor, indexPatternManagement, inputControlVis, savedObjectsManagement, visualize, visDefaultEditor, visTypeVega | - | -| | indexPatternFieldEditor, discover, maps, dataVisualizer, securitySolution, indexPatternEditor, indexPatternManagement, inputControlVis, visDefaultEditor, visTypeTimeseries, lens | - | -| | timelines, infra, ml, monitoring, securitySolution, indexPatternManagement, stackAlerts, transform | - | +| | dataViews, visTypeTimeseries, reporting, discover, observability, infra, maps, dataVisualizer, ml, apm, lens, osquery, securitySolution, transform, savedObjects, indexPatternFieldEditor, visualizations, dashboard, graph, stackAlerts, uptime, indexPatternEditor, indexPatternManagement, inputControlVis, savedObjectsManagement, visualize, visDefaultEditor, visTypeVega, data | - | +| | dataViews, discover, maps, dataVisualizer, lens, indexPatternFieldEditor, securitySolution, indexPatternEditor, indexPatternManagement, inputControlVis, visDefaultEditor, visTypeTimeseries, data | - | +| | dataViews, timelines, infra, ml, monitoring, securitySolution, indexPatternManagement, stackAlerts, transform | - | | | home, savedObjects, security, fleet, indexPatternFieldEditor, discover, visualizations, dashboard, lens, observability, maps, fileUpload, dataVisualizer, ml, infra, apm, graph, monitoring, osquery, securitySolution, stackAlerts, transform, upgradeAssistant, uptime, indexPatternEditor, indexPatternManagement, inputControlVis, kibanaOverview, savedObjectsManagement, visualize, visTypeTimelion, visTypeTimeseries, visTypeVega | - | -| | visTypeTimeseries, reporting, discover, observability, infra, maps, dataVisualizer, ml, apm, lens, osquery, securitySolution, transform, savedObjects, visualizations, indexPatternFieldEditor, dashboard, graph, stackAlerts, uptime, indexPatternEditor, indexPatternManagement, inputControlVis, savedObjectsManagement, visualize, visDefaultEditor, visTypeVega | - | -| | indexPatternFieldEditor, discover, maps, dataVisualizer, securitySolution, indexPatternEditor, indexPatternManagement, inputControlVis, visDefaultEditor, visTypeTimeseries, lens | - | -| | timelines, infra, ml, monitoring, securitySolution, indexPatternManagement, stackAlerts, transform | - | -| | indexPatternFieldEditor, discover, maps, dataVisualizer, securitySolution, indexPatternEditor, indexPatternManagement, inputControlVis, visDefaultEditor, visTypeTimeseries, lens | - | -| | visTypeTimeseries, reporting, discover, observability, infra, maps, dataVisualizer, ml, apm, lens, osquery, securitySolution, transform, savedObjects, visualizations, indexPatternFieldEditor, dashboard, graph, stackAlerts, uptime, indexPatternEditor, indexPatternManagement, inputControlVis, savedObjectsManagement, visualize, visDefaultEditor, visTypeVega | - | +| | dataViews, timelines, infra, ml, monitoring, securitySolution, indexPatternManagement, stackAlerts, transform, data | - | +| | dataViews, discover, maps, dataVisualizer, lens, indexPatternFieldEditor, securitySolution, indexPatternEditor, indexPatternManagement, inputControlVis, visDefaultEditor, visTypeTimeseries, data | - | +| | dataViews, visTypeTimeseries, reporting, discover, observability, infra, maps, dataVisualizer, ml, apm, lens, osquery, securitySolution, transform, savedObjects, indexPatternFieldEditor, visualizations, dashboard, graph, stackAlerts, uptime, indexPatternEditor, indexPatternManagement, inputControlVis, savedObjectsManagement, visualize, visDefaultEditor, visTypeVega, data | - | +| | dataViews, discover, maps, dataVisualizer, lens, indexPatternFieldEditor, securitySolution, indexPatternEditor, indexPatternManagement, inputControlVis, visDefaultEditor, visTypeTimeseries | - | +| | dataViews, visTypeTimeseries, reporting, discover, observability, infra, maps, dataVisualizer, ml, apm, lens, osquery, securitySolution, transform, savedObjects, indexPatternFieldEditor, visualizations, dashboard, graph, stackAlerts, uptime, indexPatternEditor, indexPatternManagement, inputControlVis, savedObjectsManagement, visualize, visDefaultEditor, visTypeVega | - | | | apm, security, securitySolution | - | | | apm, security, securitySolution | - | | | reporting, encryptedSavedObjects, actions, ml, dataEnhanced, logstash, securitySolution | - | | | dashboard, lens, maps, ml, securitySolution, security, visualize | - | | | securitySolution | - | -| | visTypeTimeseries, maps, lens, discover | - | +| | dataViews, visTypeTimeseries, maps, lens, discover, data | - | +| | dataViews, discover, infra, observability, savedObjects, security, visualizations, dashboard, lens, maps, ml, graph, stackAlerts, transform, indexPatternManagement, inputControlVis, savedObjectsManagement, visTypeTimelion, data | - | +| | dataViews, discover, ml, transform, canvas | - | +| | dataViews, observability, indexPatternEditor, apm | - | +| | dataViews | - | +| | dataViews, indexPatternManagement | - | +| | dataViews, discover, ml, transform, canvas, data | - | +| | dataViews, data | - | +| | dataViews, data | - | +| | dataViews | - | +| | dataViews, observability, indexPatternEditor, apm, data | - | +| | dataViews, visualizations, dashboard, data | - | +| | dataViews, data | - | +| | dataViews, visTypeTimeseries, maps, lens, discover, data | - | +| | dataViews, discover, infra, observability, savedObjects, security, visualizations, dashboard, lens, maps, ml, graph, stackAlerts, transform, indexPatternManagement, inputControlVis, savedObjectsManagement, visTypeTimelion, data | - | +| | dataViews, indexPatternManagement, data | - | +| | dataViews, discover, ml, transform, canvas | - | +| | dataViews, visTypeTimeseries, maps, lens, discover | - | | | fleet, indexPatternFieldEditor, discover, dashboard, lens, ml, stackAlerts, indexPatternManagement, visTypeMetric, visTypePie, visTypeTable, visTypeTimeseries, visTypeXy, visTypeVislib | - | -| | visTypeTimeseries, maps, lens, discover | - | -| | visTypeTimeseries, maps, lens, discover | - | | | reporting, visTypeTimeseries | - | -| | discover, infra, observability, savedObjects, security, visualizations, dashboard, lens, maps, ml, graph, stackAlerts, transform, indexPatternManagement, inputControlVis, savedObjectsManagement, visTypeTimelion | - | -| | discover, infra, observability, savedObjects, security, visualizations, dashboard, lens, maps, ml, graph, stackAlerts, transform, indexPatternManagement, inputControlVis, savedObjectsManagement, visTypeTimelion | - | +| | data, lens, visTypeTimeseries, infra, maps, visTypeTimelion | - | | | dashboard, maps, graph, visualize | - | | | spaces, security, reporting, actions, alerting, ml, fleet, remoteClusters, graph, indexLifecycleManagement, maps, painlessLab, rollup, searchprofiler, snapshotRestore, transform, upgradeAssistant | - | | | lens, dashboard | - | -| | discover, ml, transform, canvas | - | | | discover | - | -| | discover, ml, transform, canvas | - | | | discover | - | -| | discover, ml, transform, canvas | - | -| | embeddable, discover, presentationUtil, dashboard, graph | - | -| | visualizations, discover, dashboard | - | +| | embeddable, presentationUtil, discover, dashboard, graph | - | +| | discover, visualizations, dashboard | - | | | discover, savedObjectsTaggingOss, visualizations, dashboard, visualize, visDefaultEditor | - | | | discover, visualizations, dashboard | - | | | data, discover, embeddable | - | @@ -52,25 +63,18 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | advancedSettings, discover | - | | | ml, infra, reporting, ingestPipelines | - | | | ml, infra, reporting, ingestPipelines | - | -| | observability, indexPatternEditor, apm | - | -| | observability, indexPatternEditor, apm | - | +| | observability, osquery | - | | | security | - | | | security | - | | | security, licenseManagement, ml, fleet, apm, reporting, crossClusterReplication, logstash, painlessLab, searchprofiler, watcher | - | | | management, fleet, security, kibanaOverview | - | -| | visualizations, dashboard | - | -| | visualizations, dashboard | - | -| | visualizations, dashboard | - | | | actions, ml, enterpriseSearch, savedObjectsTagging | - | | | ml | - | -| | indexPatternManagement | - | -| | indexPatternManagement | - | | | spaces, savedObjectsManagement | - | | | spaces, savedObjectsManagement | - | | | reporting | - | | | reporting | - | | | cloud, apm | - | -| | osquery | - | | | visTypeVega | - | | | monitoring, visTypeVega | - | | | monitoring, kibanaUsageCollection | - | @@ -93,30 +97,37 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | security | 7.16 | | | discover, visualizations, dashboard, lens, observability, maps, dashboardEnhanced, discoverEnhanced, securitySolution, visualize, presentationUtil | 8.1 | | | lens, timelines, infra, securitySolution, stackAlerts, transform, indexPatternManagement, visTypeTimelion, visTypeVega | 8.1 | -| | discover, visualizations, dashboard, lens, observability, timelines, maps, infra, dashboardEnhanced, discoverEnhanced, securitySolution, urlDrilldown, inputControlVis, visualize, visTypeTimelion, visTypeVega, presentationUtil, ml, visTypeTimeseries | 8.1 | -| | discover, visualizations, dashboard, lens, observability, timelines, maps, infra, dashboardEnhanced, discoverEnhanced, securitySolution, urlDrilldown, inputControlVis, visualize, visTypeTimelion, visTypeVega, presentationUtil, ml, visTypeTimeseries | 8.1 | -| | discover, visualizations, dashboard, lens, observability, timelines, maps, infra, dashboardEnhanced, discoverEnhanced, securitySolution, urlDrilldown, inputControlVis, visualize, visTypeTimelion, visTypeVega, presentationUtil, ml, visTypeTimeseries | 8.1 | +| | discover, visualizations, dashboard, lens, observability, timelines, maps, infra, dashboardEnhanced, discoverEnhanced, securitySolution, urlDrilldown, inputControlVis, visualize, visTypeTimelion, visTypeVega, ml, visTypeTimeseries | 8.1 | +| | discover, visualizations, dashboard, lens, observability, timelines, maps, infra, dashboardEnhanced, discoverEnhanced, securitySolution, urlDrilldown, inputControlVis, visualize, visTypeTimelion, visTypeVega, ml, visTypeTimeseries | 8.1 | +| | discover, visualizations, dashboard, lens, observability, timelines, maps, infra, dashboardEnhanced, discoverEnhanced, securitySolution, urlDrilldown, inputControlVis, visualize, visTypeTimelion, visTypeVega, ml, visTypeTimeseries | 8.1 | +| | dataViews, fleet, ml, infra, monitoring, stackAlerts, indexPatternManagement | 8.1 | +| | dataViews, fleet, ml, infra, monitoring, stackAlerts, indexPatternManagement, data | 8.1 | +| | dataViews | 8.1 | +| | dataViews | 8.1 | +| | indexPatternManagement, dataViews | 8.1 | +| | visTypeTimeseries, graph, indexPatternManagement, dataViews | 8.1 | +| | dataViews, indexPatternManagement | 8.1 | +| | dataViews, fleet, ml, infra, monitoring, stackAlerts, indexPatternManagement | 8.1 | +| | dataViews | 8.1 | +| | dataViews | 8.1 | +| | indexPatternManagement, dataViews | 8.1 | +| | visTypeTimeseries, graph, indexPatternManagement, dataViews | 8.1 | +| | dataViews, indexPatternManagement | 8.1 | | | visTypeTimeseries | 8.1 | | | visTypeTimeseries | 8.1 | -| | visTypeTimeseries, graph, indexPatternManagement | 8.1 | -| | visTypeTimeseries, graph, indexPatternManagement | 8.1 | | | visTypeTimeseries | 8.1 | +| | visTypeTimeseries, graph, indexPatternManagement | 8.1 | | | discover, maps, inputControlVis | 8.1 | | | discover, maps, inputControlVis | 8.1 | | | lens, infra, apm, graph, monitoring, stackAlerts, transform | 8.1 | -| | fleet, ml, infra, monitoring, stackAlerts, indexPatternManagement | 8.1 | -| | fleet, ml, infra, monitoring, stackAlerts, indexPatternManagement | 8.1 | -| | fleet, ml, infra, monitoring, stackAlerts, indexPatternManagement | 8.1 | | | observability | 8.1 | | | observability | 8.1 | | | visualizations, visDefaultEditor | 8.1 | | | visualizations, visDefaultEditor | 8.1 | | | indexPatternManagement | 8.1 | -| | indexPatternManagement | 8.1 | -| | indexPatternManagement | 8.1 | | | indexPatternManagement | 8.1 | -| | indexPatternManagement | 8.1 | -| | indexPatternManagement | 8.1 | +| | indexPatternManagement | 8.1 | +| | indexPatternManagement | 8.1 | | | visTypeTimelion | 8.1 | | | visTypeTimelion | 8.1 | | | indexPatternFieldEditor | 8.1 | @@ -144,7 +155,6 @@ Safe to remove. | ---------------| | | | | -| | | | | | | | @@ -195,17 +205,14 @@ Safe to remove. | | | | | | -| | -| | -| | -| | -| | -| | | | | | -| | -| | | | +| | +| | +| | +| | +| | | | | | | | @@ -230,4 +237,6 @@ Safe to remove. | | | | | | -| | \ No newline at end of file +| | +| | +| | \ No newline at end of file diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index ebd62165b395d..3714161b6c426 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -1,6 +1,6 @@ --- id: kibDevDocsDeprecationsByPlugin -slug: /kibana-dev-docs/deprecated-api-list-by-plugin +slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-plugin title: Deprecated API usage by plugin summary: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. date: 2021-05-02 @@ -48,12 +48,12 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern) | - | +| | [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern)+ 4 more | - | | | [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec) | - | | | [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=indexPatterns) | - | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=esKuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=esKuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=esKuery) | 8.1 | -| | [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern) | - | -| | [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec) | - | +| | [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec) | - | +| | [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern)+ 4 more | - | | | [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/plugin.ts#:~:text=environment) | - | | | [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode)+ 2 more | - | @@ -69,7 +69,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| | | [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes) | - | -| | [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes) | - | +| | [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes) | - | | | [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes) | - | | | [filters.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/functions/filters.ts#:~:text=context), [escount.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts#:~:text=context), [esdocs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts#:~:text=context), [essql.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/essql.ts#:~:text=context), [neq.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts#:~:text=context) | - | | | [setup_expressions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/setup_expressions.ts#:~:text=getFunction) | - | @@ -123,18 +123,16 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract) | - | -| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern) | - | -| | [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | +| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract)+ 2 more | - | +| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern)+ 6 more | - | | | [dashboard_router.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/dashboard_router.tsx#:~:text=indexPatterns), [dashboard_router.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/dashboard_router.tsx#:~:text=indexPatterns) | - | | | [export_csv_action.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/actions/export_csv_action.tsx#:~:text=fieldFormats) | - | | | [save_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/save_dashboard.ts#:~:text=esFilters), [save_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/save_dashboard.ts#:~:text=esFilters), [diff_dashboard_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts#:~:text=esFilters), [diff_dashboard_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts#:~:text=esFilters), [diff_dashboard_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts#:~:text=esFilters), [diff_dashboard_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts#:~:text=esFilters), [sync_dashboard_container_input.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts#:~:text=esFilters), [sync_dashboard_container_input.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts#:~:text=esFilters), [sync_dashboard_container_input.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts#:~:text=esFilters), [plugin.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/plugin.tsx#:~:text=esFilters)+ 15 more | 8.1 | | | [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [saved_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts#:~:text=Filter), [saved_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter)+ 25 more | 8.1 | -| | [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | +| | [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | +| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract)+ 2 more | - | +| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern)+ 6 more | - | | | [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [saved_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts#:~:text=Filter), [saved_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter)+ 25 more | 8.1 | -| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract) | - | -| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern) | - | -| | [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | | | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern) | - | | | [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [saved_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts#:~:text=Filter), [saved_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter)+ 25 more | 8.1 | | | [saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/services/saved_objects.ts#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/top_nav/save_modal.tsx#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/top_nav/save_modal.tsx#:~:text=SavedObjectSaveModal) | - | @@ -164,6 +162,24 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternField), [kibana_context_type.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/expressions/kibana_context_type.ts#:~:text=IndexPatternField), [kibana_context_type.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/expressions/kibana_context_type.ts#:~:text=IndexPatternField), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPatternField), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPatternField), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPatternField), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/index.ts#:~:text=IndexPatternField), [agg_config.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/aggs/agg_config.test.ts#:~:text=IndexPatternField), [agg_config.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/aggs/agg_config.test.ts#:~:text=IndexPatternField), [_terms_other_bucket_helper.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts#:~:text=IndexPatternField)+ 11 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/index.ts#:~:text=IndexPatternsService) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternsContract), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/create_search_source.ts#:~:text=IndexPatternsContract), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/create_search_source.ts#:~:text=IndexPatternsContract), [search_source_service.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source_service.ts#:~:text=IndexPatternsContract), [search_source_service.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source_service.ts#:~:text=IndexPatternsContract), [esaggs_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts#:~:text=IndexPatternsContract), [esaggs_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/search/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/search/types.ts#:~:text=IndexPatternsContract), [create_search_source.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/create_search_source.test.ts#:~:text=IndexPatternsContract)+ 29 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/types.ts#:~:text=IndexPattern), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPattern), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPattern), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPattern), [tabify_docs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/tabify/tabify_docs.ts#:~:text=IndexPattern), [tabify_docs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/tabify/tabify_docs.ts#:~:text=IndexPattern)+ 88 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IFieldType), [filter_editor_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts#:~:text=IFieldType), [filter_editor_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts#:~:text=IFieldType), [filter_editor_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts#:~:text=IFieldType), [generate_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts#:~:text=IFieldType), [generate_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts#:~:text=IFieldType), [generate_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts#:~:text=IFieldType), [generate_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts#:~:text=IFieldType), [query_suggestion_provider.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts#:~:text=IFieldType), [query_suggestion_provider.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts#:~:text=IFieldType)+ 36 more | 8.1 | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternField), [kibana_context_type.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/expressions/kibana_context_type.ts#:~:text=IndexPatternField), [kibana_context_type.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/expressions/kibana_context_type.ts#:~:text=IndexPatternField), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPatternField), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPatternField), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPatternField), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/index.ts#:~:text=IndexPatternField), [agg_config.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/aggs/agg_config.test.ts#:~:text=IndexPatternField), [agg_config.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/aggs/agg_config.test.ts#:~:text=IndexPatternField), [_terms_other_bucket_helper.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/aggs/buckets/_terms_other_bucket_helper.test.ts#:~:text=IndexPatternField)+ 11 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IIndexPattern), [get_time.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/query/timefilter/get_time.ts#:~:text=IIndexPattern), [get_time.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/query/timefilter/get_time.ts#:~:text=IIndexPattern), [get_time.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/query/timefilter/get_time.ts#:~:text=IIndexPattern), [get_time.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/query/timefilter/get_time.ts#:~:text=IIndexPattern), [filter_editor_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts#:~:text=IIndexPattern), [filter_editor_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts#:~:text=IIndexPattern), [filter_editor_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts#:~:text=IIndexPattern), [filter_editor_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/ui/filter_bar/filter_editor/lib/filter_editor_utils.ts#:~:text=IIndexPattern), [generate_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts#:~:text=IIndexPattern)+ 64 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternAttributes), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/index.ts#:~:text=IndexPatternAttributes), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/index.ts#:~:text=IndexPatternAttributes) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IIndexPatternsApiClient) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternFieldMap) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternSpec), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/index.ts#:~:text=IndexPatternSpec) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternType), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/index.ts#:~:text=IndexPatternType) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/index.ts#:~:text=IndexPatternsService) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternsContract), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/create_search_source.ts#:~:text=IndexPatternsContract), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/create_search_source.ts#:~:text=IndexPatternsContract), [search_source_service.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source_service.ts#:~:text=IndexPatternsContract), [search_source_service.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source_service.ts#:~:text=IndexPatternsContract), [esaggs_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts#:~:text=IndexPatternsContract), [esaggs_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/search/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/search/types.ts#:~:text=IndexPatternsContract), [create_search_source.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/create_search_source.test.ts#:~:text=IndexPatternsContract)+ 29 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/types.ts#:~:text=IndexPattern), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPattern), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPattern), [search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/search_source/search_source.ts#:~:text=IndexPattern), [tabify_docs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/tabify/tabify_docs.ts#:~:text=IndexPattern), [tabify_docs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/search/tabify/tabify_docs.ts#:~:text=IndexPattern)+ 88 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/common/index.ts#:~:text=IndexPatternListItem), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/index.ts#:~:text=IndexPatternListItem) | - | +| | [aggs_service.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/search/aggs/aggs_service.ts#:~:text=indexPatternsServiceFactory), [esaggs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/search/expressions/esaggs.ts#:~:text=indexPatternsServiceFactory), [search_service.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data/server/search/search_service.ts#:~:text=indexPatternsServiceFactory) | - | | | [data_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/utils/table_inspector_view/components/data_table.tsx#:~:text=executeTriggerActions), [data_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/data/public/utils/table_inspector_view/components/data_table.tsx#:~:text=executeTriggerActions) | - | @@ -180,17 +196,63 @@ warning: This document is auto-generated and is meant to be viewed inside our ex +## dataViews + +| Deprecated API | Reference location(s) | Remove By | +| ---------------|-----------|-----------| +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPatternsService) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPatternsContract) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPattern), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPattern), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternField), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPatternField), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPatternField)+ 2 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IIndexPattern), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=IIndexPattern), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=IIndexPattern) | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/utils.ts#:~:text=IFieldType), [data_view_field.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.ts#:~:text=IFieldType), [data_view_field.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/types.ts#:~:text=IFieldType)+ 14 more | 8.1 | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [scripted_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/deprecations/scripted_fields.ts#:~:text=IndexPatternAttributes), [scripted_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/deprecations/scripted_fields.ts#:~:text=IndexPatternAttributes) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternSpec), [create_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/create_index_pattern.ts#:~:text=IndexPatternSpec), [create_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/create_index_pattern.ts#:~:text=IndexPatternSpec) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternType) | - | +| | [data_views.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_views.ts#:~:text=IndexPatternListItem), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternListItem) | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/utils.ts#:~:text=IFieldType), [data_view_field.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.ts#:~:text=IFieldType), [data_view_field.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/types.ts#:~:text=IFieldType)+ 14 more | 8.1 | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IIndexPattern), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=IIndexPattern), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=IIndexPattern) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [scripted_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/deprecations/scripted_fields.ts#:~:text=IndexPatternAttributes), [scripted_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/deprecations/scripted_fields.ts#:~:text=IndexPatternAttributes) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IIndexPatternsApiClient), [index_patterns_api_client.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/index_patterns_api_client.ts#:~:text=IIndexPatternsApiClient), [index_patterns_api_client.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/index_patterns_api_client.ts#:~:text=IIndexPatternsApiClient) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternFieldMap) | - | +| | [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=intervalName), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=intervalName), [data_views.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_views.ts#:~:text=intervalName) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternSpec), [create_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/create_index_pattern.ts#:~:text=IndexPatternSpec), [create_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/create_index_pattern.ts#:~:text=IndexPatternSpec) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternField), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPatternField), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPatternField)+ 2 more | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternType) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPatternsService) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPatternsContract) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPattern), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPattern), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern) | - | +| | [data_views.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_views.ts#:~:text=IndexPatternListItem), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternListItem) | - | +| | [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=intervalName), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=intervalName), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=intervalName), [update_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/update_index_pattern.ts#:~:text=intervalName), [update_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/update_index_pattern.ts#:~:text=intervalName) | 8.1 | +| | [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=addScriptedField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=addScriptedField) | 8.1 | +| | [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=removeScriptedField) | 8.1 | +| | [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getNonScriptedFields) | 8.1 | +| | [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=getScriptedFields), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=getScriptedFields), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=getScriptedFields), [data_views.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_views.ts#:~:text=getScriptedFields), [register_index_pattern_usage_collection.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/register_index_pattern_usage_collection.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields)+ 1 more | 8.1 | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternField), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPatternField), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPatternField), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPatternField)+ 2 more | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/utils.ts#:~:text=IFieldType), [data_view_field.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.ts#:~:text=IFieldType), [data_view_field.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/field_list.ts#:~:text=IFieldType), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/types.ts#:~:text=IFieldType)+ 14 more | 8.1 | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/utils.ts#:~:text=IndexPatternAttributes), [scripted_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/deprecations/scripted_fields.ts#:~:text=IndexPatternAttributes), [scripted_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/deprecations/scripted_fields.ts#:~:text=IndexPatternAttributes) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPattern), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPattern), [data_view_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/fields/data_view_field.test.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=IndexPattern) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/index.ts#:~:text=IndexPatternsService), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/public/index.ts#:~:text=IndexPatternsService) | - | +| | [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=intervalName), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=intervalName), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=intervalName), [update_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/update_index_pattern.ts#:~:text=intervalName), [update_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/routes/update_index_pattern.ts#:~:text=intervalName) | 8.1 | +| | [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=addScriptedField), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=addScriptedField) | 8.1 | +| | [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=removeScriptedField) | 8.1 | +| | [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getNonScriptedFields) | 8.1 | +| | [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=getScriptedFields), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=getScriptedFields), [data_view.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.ts#:~:text=getScriptedFields), [data_views.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_views.ts#:~:text=getScriptedFields), [register_index_pattern_usage_collection.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/server/register_index_pattern_usage_collection.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields), [data_view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/data_views/common/data_views/data_view.test.ts#:~:text=getScriptedFields)+ 1 more | 8.1 | + + + ## dataVisualizer | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern)+ 23 more | - | -| | [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField) | - | +| | [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern)+ 60 more | - | +| | [field_data_row.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts#:~:text=IndexPatternField), [field_data_row.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPatternField), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPatternField), [search_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx#:~:text=IndexPatternField), [search_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField)+ 16 more | - | | | [file_data_visualizer.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx#:~:text=indexPatterns), [index_data_visualizer.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx#:~:text=indexPatterns) | - | -| | [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern)+ 23 more | - | -| | [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField) | - | -| | [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField) | - | -| | [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern)+ 23 more | - | +| | [field_data_row.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts#:~:text=IndexPatternField), [field_data_row.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPatternField), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPatternField), [search_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx#:~:text=IndexPatternField), [search_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField)+ 16 more | - | +| | [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern)+ 60 more | - | +| | [field_data_row.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts#:~:text=IndexPatternField), [field_data_row.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/stats_table/types/field_data_row.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPatternField), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPatternField), [search_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx#:~:text=IndexPatternField), [search_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField)+ 3 more | - | +| | [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [lens_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [geo_point_content_with_map.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern), [index_based_expanded_row.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx#:~:text=IndexPattern)+ 25 more | - | @@ -198,10 +260,10 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService) | - | -| | [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract)+ 20 more | - | -| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern)+ 172 more | - | -| | [field_name.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/field_name/field_name.tsx#:~:text=IndexPatternField), [field_name.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/field_name/field_name.tsx#:~:text=IndexPatternField), [table_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table_cell_actions.tsx#:~:text=IndexPatternField), [table_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table_cell_actions.tsx#:~:text=IndexPatternField), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table.tsx#:~:text=IndexPatternField), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField), [discover_field_details.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx#:~:text=IndexPatternField)+ 91 more | - | +| | [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService)+ 6 more | - | +| | [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract)+ 50 more | - | +| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern)+ 354 more | - | +| | [discover_grid_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx#:~:text=IndexPatternField), [discover_grid_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=IndexPatternField), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=IndexPatternField), [context_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/context_app.tsx#:~:text=IndexPatternField), [context_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/context_app.tsx#:~:text=IndexPatternField), [discover_field_visualize.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx#:~:text=IndexPatternField), [discover_field_visualize.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx#:~:text=IndexPatternField)+ 192 more | - | | | [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes)+ 3 more | - | | | [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=create), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=create) | - | | | [anchor.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/services/anchor.ts#:~:text=fetch), [fetch_hits_in_interval.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/services/utils/fetch_hits_in_interval.ts#:~:text=fetch) | 8.1 | @@ -209,15 +271,15 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [histogram.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/chart/histogram.tsx#:~:text=fieldFormats) | - | | | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=esFilters), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=esFilters), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=esFilters), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=esFilters), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=esFilters), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=esFilters), [get_context_url.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/get_context_url.tsx#:~:text=esFilters), [get_context_url.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/get_context_url.tsx#:~:text=esFilters), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=esFilters), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=esFilters)+ 17 more | 8.1 | | | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=Filter)+ 21 more | 8.1 | -| | [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes)+ 3 more | - | +| | [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes)+ 16 more | - | +| | [discover_grid_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx#:~:text=IndexPatternField), [discover_grid_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=IndexPatternField), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=IndexPatternField), [context_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/context_app.tsx#:~:text=IndexPatternField), [context_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/context_app.tsx#:~:text=IndexPatternField), [discover_field_visualize.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx#:~:text=IndexPatternField), [discover_field_visualize.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx#:~:text=IndexPatternField)+ 192 more | - | +| | [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService)+ 6 more | - | +| | [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract)+ 50 more | - | +| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern)+ 354 more | - | | | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=Filter)+ 21 more | 8.1 | -| | [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService) | - | -| | [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/helpers/use_data_grid_columns.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/utils/resolve_index_pattern.d.ts#:~:text=IndexPatternsContract)+ 20 more | - | -| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern)+ 172 more | - | -| | [field_name.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/field_name/field_name.tsx#:~:text=IndexPatternField), [field_name.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/field_name/field_name.tsx#:~:text=IndexPatternField), [table_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table_cell_actions.tsx#:~:text=IndexPatternField), [table_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table_cell_actions.tsx#:~:text=IndexPatternField), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table.tsx#:~:text=IndexPatternField), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField), [discover_field_details.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx#:~:text=IndexPatternField)+ 91 more | - | | | [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=create), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=create) | - | | | [anchor.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/services/anchor.ts#:~:text=fetch), [fetch_hits_in_interval.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/services/utils/fetch_hits_in_interval.ts#:~:text=fetch) | 8.1 | -| | [field_name.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/field_name/field_name.tsx#:~:text=IndexPatternField), [field_name.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/field_name/field_name.tsx#:~:text=IndexPatternField), [table_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table_cell_actions.tsx#:~:text=IndexPatternField), [table_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table_cell_actions.tsx#:~:text=IndexPatternField), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table.tsx#:~:text=IndexPatternField), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField), [discover_field_details.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx#:~:text=IndexPatternField)+ 91 more | - | +| | [discover_grid_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx#:~:text=IndexPatternField), [discover_grid_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=IndexPatternField), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=IndexPatternField), [context_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/context_app.tsx#:~:text=IndexPatternField), [context_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/context_app.tsx#:~:text=IndexPatternField), [discover_field_visualize.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx#:~:text=IndexPatternField), [discover_field_visualize.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx#:~:text=IndexPatternField)+ 91 more | - | | | [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes)+ 3 more | - | | | [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [discover_grid_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [get_render_cell_value.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern), [discover_grid_columns.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx#:~:text=IndexPattern)+ 172 more | - | | | [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService)+ 6 more | - | @@ -286,7 +348,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType) | 8.1 | | | [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=indexPatterns), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=indexPatterns), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=indexPatterns), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=indexPatterns) | - | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/data_stream/list_page/index.tsx#:~:text=fieldFormats) | - | -| | [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType) | 8.1 | +| | [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType)+ 2 more | 8.1 | | | [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType) | 8.1 | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/plugin.ts#:~:text=license%24) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/server/plugin.ts#:~:text=license%24) | - | @@ -299,15 +361,16 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract), [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract) | - | -| | [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern)+ 17 more | - | +| | [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract), [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract), [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract), [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract) | - | +| | [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern)+ 44 more | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/plugin.ts#:~:text=indexPatterns) | - | | | [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=esKuery), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=esKuery), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=esKuery) | 8.1 | -| | [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract), [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract) | - | -| | [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern)+ 17 more | - | -| | [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=getNonScriptedFields), [datasource.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields) | 8.1 | +| | [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract), [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract), [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract), [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract) | - | +| | [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern)+ 44 more | - | +| | [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=getNonScriptedFields), [datasource.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=getNonScriptedFields), [datasource.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields) | 8.1 | | | [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern)+ 17 more | - | | | [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=getNonScriptedFields), [datasource.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields) | 8.1 | +| | [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=getNonScriptedFields), [datasource.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields) | 8.1 | | | [save_modal.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/save_modal.tsx#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/save_modal.tsx#:~:text=SavedObjectSaveModal) | - | | | [listing_route.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/apps/listing_route.tsx#:~:text=settings), [listing_route.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/apps/listing_route.tsx#:~:text=settings) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/server/plugin.ts#:~:text=license%24) | - | @@ -334,13 +397,13 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern) | - | -| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField) | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern), [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern)+ 4 more | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField)+ 2 more | - | | | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx#:~:text=IndexPatternSpec), [index_pattern_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx#:~:text=IndexPatternSpec) | - | | | [plugin.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/plugin.tsx#:~:text=indexPatterns), [plugin.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/plugin.tsx#:~:text=indexPatterns) | - | -| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern) | - | -| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField) | - | -| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx#:~:text=IndexPatternSpec), [index_pattern_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx#:~:text=IndexPatternSpec) | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx#:~:text=IndexPatternSpec), [index_pattern_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx#:~:text=IndexPatternSpec), [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec)+ 2 more | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField)+ 2 more | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern), [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern)+ 4 more | - | | | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField) | - | | | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern) | - | @@ -350,13 +413,13 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [delete_field_provider.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx#:~:text=IndexPattern)+ 9 more | - | -| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField) | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [delete_field_provider.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx#:~:text=IndexPattern)+ 28 more | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPatternField)+ 8 more | - | | | [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=castEsToKbnFieldTypeName), [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=castEsToKbnFieldTypeName) | 8.1 | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/plugin.ts#:~:text=indexPatterns), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/plugin.ts#:~:text=indexPatterns) | - | | | [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=fieldFormats), [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=fieldFormats), [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=fieldFormats), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=fieldFormats), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=fieldFormats), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/plugin.ts#:~:text=fieldFormats), [field_format_editor.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts#:~:text=fieldFormats), [setup_environment.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/__jest__/client_integration/helpers/setup_environment.tsx#:~:text=fieldFormats) | - | -| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [delete_field_provider.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx#:~:text=IndexPattern)+ 9 more | - | -| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField) | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPatternField)+ 8 more | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [delete_field_provider.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx#:~:text=IndexPattern)+ 28 more | - | | | [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=castEsToKbnFieldTypeName), [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=castEsToKbnFieldTypeName) | 8.1 | | | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField) | - | | | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [delete_field_provider.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx#:~:text=IndexPattern)+ 9 more | - | @@ -368,9 +431,9 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract) | - | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern)+ 36 more | - | -| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField)+ 16 more | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract)+ 2 more | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern)+ 82 more | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField)+ 42 more | - | | | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [index_header.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx#:~:text=IIndexPattern), [index_header.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx#:~:text=IIndexPattern), [index_header.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts#:~:text=IIndexPattern), [index_header.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts#:~:text=IIndexPattern) | - | | | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType) | 8.1 | | | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem) | - | @@ -378,15 +441,15 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=indexPatterns), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=indexPatterns), [edit_index_pattern_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx#:~:text=indexPatterns), [edit_index_pattern_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx#:~:text=indexPatterns), [create_edit_field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx#:~:text=indexPatterns), [create_edit_field_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx#:~:text=indexPatterns), [create_edit_field_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx#:~:text=indexPatterns) | - | | | [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=fieldFormats), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=fieldFormats), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=fieldFormats), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=fieldFormats), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=fieldFormats), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=fieldFormats) | - | | | [test_script.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx#:~:text=esQuery), [test_script.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx#:~:text=esQuery), [test_script.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx#:~:text=esQuery) | 8.1 | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract) | - | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern)+ 36 more | - | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem) | - | -| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=removeScriptedField), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=removeScriptedField) | 8.1 | -| | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields) | 8.1 | -| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=getScriptedFields) | 8.1 | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType) | 8.1 | -| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField)+ 16 more | - | -| | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [index_header.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx#:~:text=IIndexPattern), [index_header.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx#:~:text=IIndexPattern), [index_header.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts#:~:text=IIndexPattern), [index_header.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts#:~:text=IIndexPattern) | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType) | 8.1 | +| | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [index_header.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx#:~:text=IIndexPattern), [index_header.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx#:~:text=IIndexPattern), [index_header.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts#:~:text=IIndexPattern), [index_header.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern)+ 6 more | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField)+ 42 more | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract)+ 2 more | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern)+ 82 more | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem)+ 6 more | - | +| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=removeScriptedField), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=removeScriptedField), [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=removeScriptedField), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=removeScriptedField) | 8.1 | +| | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields) | 8.1 | +| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=getScriptedFields), [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=getScriptedFields) | 8.1 | | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts#:~:text=getKbnTypeNames), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts#:~:text=getKbnTypeNames) | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField)+ 16 more | - | | | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType) | 8.1 | @@ -394,6 +457,9 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=removeScriptedField), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=removeScriptedField) | 8.1 | | | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields) | 8.1 | | | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=getScriptedFields) | 8.1 | +| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=removeScriptedField), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=removeScriptedField) | 8.1 | +| | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields) | 8.1 | +| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=getScriptedFields) | 8.1 | @@ -401,22 +467,23 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPatternsContract)+ 1 more | - | -| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern)+ 2 more | - | +| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPatternsContract)+ 12 more | - | +| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern)+ 14 more | - | | | [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=IIndexPattern), [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=IIndexPattern), [toolbar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx#:~:text=IIndexPattern), [toolbar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=IIndexPattern), [use_metrics_explorer_data.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts#:~:text=IIndexPattern), [use_metrics_explorer_data.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts#:~:text=IIndexPattern)+ 34 more | - | | | [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType)+ 46 more | 8.1 | | | [editor.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx#:~:text=indexPatterns), [log_stream.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream.tsx#:~:text=indexPatterns), [log_stream.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream.tsx#:~:text=indexPatterns), [logs_overview_fetchers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/logs_overview_fetchers.ts#:~:text=indexPatterns), [redirect_to_node_logs.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/link_to/redirect_to_node_logs.tsx#:~:text=indexPatterns), [use_kibana_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/hooks/use_kibana_index_patterns.ts#:~:text=indexPatterns), [page_providers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/page_providers.tsx#:~:text=indexPatterns), [logs_overview_fetches.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/logs_overview_fetches.test.ts#:~:text=indexPatterns) | - | | | [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=esKuery), [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=esKuery), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=esKuery), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=esKuery), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=esKuery), [use_waffle_filters.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts#:~:text=esKuery), [use_waffle_filters.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts#:~:text=esKuery) | 8.1 | | | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_stream/index.ts#:~:text=esQuery), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_stream/index.ts#:~:text=esQuery), [log_filter_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts#:~:text=esQuery), [log_filter_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts#:~:text=esQuery), [log_filter_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts#:~:text=esQuery) | 8.1 | | | [log_stream_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx#:~:text=Filter), [log_stream_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter) | 8.1 | +| | [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType)+ 102 more | 8.1 | +| | [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=IIndexPattern), [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=IIndexPattern), [toolbar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx#:~:text=IIndexPattern), [toolbar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=IIndexPattern), [use_metrics_explorer_data.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts#:~:text=IIndexPattern), [use_metrics_explorer_data.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts#:~:text=IIndexPattern)+ 78 more | - | +| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPatternsContract)+ 12 more | - | +| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern)+ 14 more | - | | | [log_stream_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx#:~:text=Filter), [log_stream_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter) | 8.1 | -| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPatternsContract)+ 1 more | - | -| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern)+ 2 more | - | -| | [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType)+ 46 more | 8.1 | -| | [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=IIndexPattern), [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=IIndexPattern), [toolbar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx#:~:text=IIndexPattern), [toolbar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=IIndexPattern), [use_metrics_explorer_data.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts#:~:text=IIndexPattern), [use_metrics_explorer_data.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts#:~:text=IIndexPattern)+ 34 more | - | | | [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType)+ 46 more | 8.1 | | | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern)+ 2 more | - | | | [log_stream_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx#:~:text=Filter), [log_stream_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter) | 8.1 | +| | [kibana_framework_adapter.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts#:~:text=indexPatternsServiceFactory), [log_entries_search_strategy.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/services/log_entries/log_entries_search_strategy.ts#:~:text=indexPatternsServiceFactory), [log_entry_search_strategy.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/services/log_entries/log_entry_search_strategy.ts#:~:text=indexPatternsServiceFactory) | - | | | [module_list_card.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list_card.tsx#:~:text=getUrl) | - | | | [module_list_card.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/logging/log_analysis_setup/setup_flyout/module_list_card.tsx#:~:text=getUrl) | - | | | [kibana_framework_adapter.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts#:~:text=spacesService), [kibana_framework_adapter.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts#:~:text=spacesService), [kibana_framework_adapter.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts#:~:text=spacesService), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/plugin.ts#:~:text=spacesService) | 7.16 | @@ -437,16 +504,16 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract)+ 4 more | - | -| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern)+ 22 more | - | -| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [list_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx#:~:text=IndexPatternField)+ 2 more | - | +| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract)+ 18 more | - | +| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern)+ 54 more | - | +| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [list_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx#:~:text=IndexPatternField)+ 14 more | - | | | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=fetch), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=fetch) | 8.1 | | | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=indexPatterns), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=indexPatterns), [controls_tab.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/controls_tab.tsx#:~:text=indexPatterns) | - | | | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [control.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/control.ts#:~:text=Filter), [control.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/control.ts#:~:text=Filter), [vis_controller.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/vis_controller.tsx#:~:text=Filter), [vis_controller.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/vis_controller.tsx#:~:text=Filter), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=Filter), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=Filter)+ 4 more | 8.1 | +| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [list_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx#:~:text=IndexPatternField)+ 14 more | - | +| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract)+ 18 more | - | +| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern)+ 54 more | - | | | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [control.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/control.ts#:~:text=Filter), [control.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/control.ts#:~:text=Filter), [vis_controller.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/vis_controller.tsx#:~:text=Filter), [vis_controller.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/vis_controller.tsx#:~:text=Filter), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=Filter), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=Filter)+ 4 more | 8.1 | -| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract)+ 4 more | - | -| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern)+ 22 more | - | -| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [list_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx#:~:text=IndexPatternField)+ 2 more | - | | | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=fetch), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=fetch) | 8.1 | | | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [list_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx#:~:text=IndexPatternField)+ 2 more | - | | | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern)+ 22 more | - | @@ -475,25 +542,26 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService) | - | -| | [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract)+ 5 more | - | -| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPattern), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPattern)+ 13 more | - | -| | [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField) | - | +| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService) | - | +| | [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract)+ 20 more | - | +| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPattern), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPattern)+ 36 more | - | +| | [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField)+ 8 more | - | | | [datapanel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx#:~:text=indexPatterns), [datapanel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx#:~:text=indexPatterns), [datapanel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx#:~:text=indexPatterns), [datapanel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx#:~:text=indexPatterns), [indexpattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/indexpattern.tsx#:~:text=indexPatterns), [lens_top_nav.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx#:~:text=indexPatterns), [lens_top_nav.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx#:~:text=indexPatterns), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/plugin.ts#:~:text=indexPatterns), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/plugin.ts#:~:text=indexPatterns) | - | | | [ranges.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/ranges/ranges.tsx#:~:text=fieldFormats), [droppable.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/droppable/droppable.test.ts#:~:text=fieldFormats) | - | -| | [save_modal_container.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/save_modal_container.tsx#:~:text=esFilters), [save_modal_container.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/save_modal_container.tsx#:~:text=esFilters), [mocks.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/mocks.tsx#:~:text=esFilters), [mocks.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/mocks.tsx#:~:text=esFilters), [time_range_middleware.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/time_range_middleware.test.ts#:~:text=esFilters), [time_range_middleware.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/time_range_middleware.test.ts#:~:text=esFilters) | 8.1 | +| | [save_modal_container.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/save_modal_container.tsx#:~:text=esFilters), [save_modal_container.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/save_modal_container.tsx#:~:text=esFilters), [mocks.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/mocks.tsx#:~:text=esFilters), [mocks.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/mocks.tsx#:~:text=esFilters) | 8.1 | | | [validation.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts#:~:text=esKuery), [validation.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts#:~:text=esKuery), [validation.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts#:~:text=esKuery) | 8.1 | | | [validation.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts#:~:text=esQuery), [validation.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/terms/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/terms/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/terms/index.tsx#:~:text=esQuery), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=esQuery), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=esQuery), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=esQuery), [datapanel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx#:~:text=esQuery), [datapanel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx#:~:text=esQuery)+ 1 more | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/types.ts#:~:text=Filter), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=Filter), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=Filter)+ 16 more | 8.1 | +| | [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField)+ 8 more | - | +| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService) | - | +| | [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract)+ 20 more | - | +| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPattern), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPattern)+ 36 more | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/types.ts#:~:text=Filter), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=Filter), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=Filter)+ 16 more | 8.1 | -| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService) | - | -| | [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract)+ 5 more | - | -| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPattern), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPattern)+ 13 more | - | -| | [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField) | - | | | [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField) | - | | | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPattern), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPattern)+ 13 more | - | | | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService) | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/types.ts#:~:text=Filter), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=Filter), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=Filter)+ 16 more | 8.1 | +| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=indexPatternsServiceFactory), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=indexPatternsServiceFactory) | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/types.ts#:~:text=onAppLeave), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/types.ts#:~:text=onAppLeave), [mounter.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/mounter.tsx#:~:text=onAppLeave) | - | | | [saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/migrations/saved_object_migrations.ts#:~:text=warning), [saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/migrations/saved_object_migrations.ts#:~:text=warning) | - | @@ -528,24 +596,25 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService) | - | -| | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract) | - | -| | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern)+ 98 more | - | -| | [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IndexPatternField), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField)+ 129 more | - | +| | [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern)+ 206 more | - | +| | [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPatternField), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPatternField), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPatternField), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPatternField), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPatternField), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField)+ 268 more | - | | | [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=fetch), [es_search_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=fetch), [es_search_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=fetch) | 8.1 | | | [kibana_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/kibana_services.ts#:~:text=indexPatterns) | - | | | [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=esFilters), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=esFilters), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=esFilters), [es_search_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=esFilters), [es_search_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=esFilters), [es_geo_line_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx#:~:text=esFilters), [es_geo_line_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx#:~:text=esFilters), [es_geo_line_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx#:~:text=esFilters), [app_sync.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/routes/map_page/url_state/app_sync.ts#:~:text=esFilters), [app_sync.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/routes/map_page/url_state/app_sync.ts#:~:text=esFilters)+ 9 more | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/reducers/map/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/reducers/map/types.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [vector_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx#:~:text=Filter), [vector_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx#:~:text=Filter), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=Filter), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=Filter)+ 115 more | 8.1 | +| | [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPatternField), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPatternField), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPatternField), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPatternField), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPatternField), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField)+ 268 more | - | +| | [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern)+ 206 more | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/reducers/map/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/reducers/map/types.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [vector_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx#:~:text=Filter), [vector_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx#:~:text=Filter), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=Filter), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=Filter)+ 115 more | 8.1 | -| | [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService) | - | -| | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract) | - | -| | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern)+ 98 more | - | -| | [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IndexPatternField), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField)+ 129 more | - | | | [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=fetch), [es_search_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=fetch), [es_search_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=fetch) | 8.1 | -| | [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IndexPatternField), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField)+ 129 more | - | +| | [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPatternField), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPatternField), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPatternField), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPatternField), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPatternField), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField)+ 129 more | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [agg_field_types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [percentile_agg_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern), [es_geo_grid_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx#:~:text=IndexPattern)+ 98 more | - | | | [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService) | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/reducers/map/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/reducers/map/types.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [vector_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx#:~:text=Filter), [vector_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx#:~:text=Filter), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=Filter), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=Filter)+ 115 more | 8.1 | +| | [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=indexPatternsServiceFactory), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/plugin.ts#:~:text=indexPatternsServiceFactory), [indexing_routes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/indexing_routes.ts#:~:text=indexPatternsServiceFactory) | - | | | [maps_list_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/routes/list_page/maps_list_view.tsx#:~:text=settings), [maps_list_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/routes/list_page/maps_list_view.tsx#:~:text=settings), [maps_list_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/routes/list_page/maps_list_view.tsx#:~:text=settings) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/plugin.ts#:~:text=license%24) | - | | | [render_app.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/render_app.tsx#:~:text=onAppLeave), [map_app.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx#:~:text=onAppLeave), [map_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/routes/map_page/map_page.tsx#:~:text=onAppLeave), [render_app.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/render_app.d.ts#:~:text=onAppLeave), [map_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/routes/map_page/map_page.d.ts#:~:text=onAppLeave), [map_app.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/routes/map_page/map_app/map_app.d.ts#:~:text=onAppLeave) | - | @@ -556,20 +625,20 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IndexPatternsContract)+ 11 more | - | -| | [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [field_format_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/field_format_service.ts#:~:text=IndexPattern)+ 60 more | - | +| | [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IndexPatternsContract)+ 32 more | - | +| | [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [field_format_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/field_format_service.ts#:~:text=IndexPattern)+ 130 more | - | | | [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IIndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IIndexPattern), [new_job_capabilities_service_analytics.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts#:~:text=IIndexPattern), [new_job_capabilities_service_analytics.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts#:~:text=IIndexPattern), [data_recognizer.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts#:~:text=IIndexPattern), [data_recognizer.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts#:~:text=IIndexPattern), [new_job_capabilities_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts#:~:text=IIndexPattern), [new_job_capabilities_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts#:~:text=IIndexPattern), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IIndexPattern), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IIndexPattern)+ 24 more | - | | | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType) | 8.1 | | | [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [kibana.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/common/types/kibana.ts#:~:text=IndexPatternAttributes)+ 3 more | - | | | [index_data_visualizer.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/datavisualizer/index_based/index_data_visualizer.tsx#:~:text=indexPatterns), [file_datavisualizer.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/datavisualizer/file_based/file_datavisualizer.tsx#:~:text=indexPatterns), [app.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/app.tsx#:~:text=indexPatterns), [app.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/app.tsx#:~:text=indexPatterns), [import_jobs_flyout.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/import_jobs_flyout.tsx#:~:text=indexPatterns), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=indexPatterns) | - | | | [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=fieldFormats), [app.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/app.tsx#:~:text=fieldFormats), [dependency_cache.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/target/types/public/application/util/dependency_cache.d.ts#:~:text=fieldFormats) | - | | | [apply_influencer_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx#:~:text=Filter), [apply_influencer_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx#:~:text=Filter), [apply_entity_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx#:~:text=Filter), [apply_entity_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx#:~:text=Filter) | 8.1 | -| | [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [kibana.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/common/types/kibana.ts#:~:text=IndexPatternAttributes)+ 3 more | - | +| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType)+ 8 more | 8.1 | +| | [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IIndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IIndexPattern), [new_job_capabilities_service_analytics.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts#:~:text=IIndexPattern), [new_job_capabilities_service_analytics.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts#:~:text=IIndexPattern), [data_recognizer.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts#:~:text=IIndexPattern), [data_recognizer.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts#:~:text=IIndexPattern), [new_job_capabilities_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts#:~:text=IIndexPattern), [new_job_capabilities_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts#:~:text=IIndexPattern), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IIndexPattern), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IIndexPattern)+ 58 more | - | +| | [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [kibana.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/common/types/kibana.ts#:~:text=IndexPatternAttributes)+ 16 more | - | +| | [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IndexPatternsContract)+ 32 more | - | +| | [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [field_format_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/field_format_service.ts#:~:text=IndexPattern)+ 130 more | - | | | [apply_influencer_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx#:~:text=Filter), [apply_influencer_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx#:~:text=Filter), [apply_entity_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx#:~:text=Filter), [apply_entity_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx#:~:text=Filter) | 8.1 | -| | [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IndexPatternsContract)+ 11 more | - | -| | [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [field_format_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/field_format_service.ts#:~:text=IndexPattern)+ 60 more | - | -| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType) | 8.1 | -| | [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IIndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IIndexPattern), [new_job_capabilities_service_analytics.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts#:~:text=IIndexPattern), [new_job_capabilities_service_analytics.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts#:~:text=IIndexPattern), [data_recognizer.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts#:~:text=IIndexPattern), [data_recognizer.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts#:~:text=IIndexPattern), [new_job_capabilities_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts#:~:text=IIndexPattern), [new_job_capabilities_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts#:~:text=IIndexPattern), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IIndexPattern), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IIndexPattern)+ 24 more | - | | | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType) | 8.1 | | | [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [kibana.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/common/types/kibana.ts#:~:text=IndexPatternAttributes)+ 3 more | - | | | [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/types.ts#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [field_format_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/field_format_service.ts#:~:text=IndexPattern)+ 60 more | - | @@ -593,8 +662,8 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType), [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType) | 8.1 | | | [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=indexPatterns), [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=indexPatterns) | - | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx#:~:text=esKuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx#:~:text=esKuery), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/lib/kuery.ts#:~:text=esKuery), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/lib/kuery.ts#:~:text=esKuery), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/lib/kuery.ts#:~:text=esKuery) | 8.1 | -| | [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType), [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType) | 8.1 | -| | [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IIndexPattern), [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IIndexPattern), [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/lib/kuery.ts#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/lib/kuery.ts#:~:text=IIndexPattern), [with_kuery_autocompletion.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts#:~:text=IIndexPattern), [with_kuery_autocompletion.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts#:~:text=IIndexPattern)+ 2 more | - | +| | [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType), [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType), [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType), [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType) | 8.1 | +| | [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IIndexPattern), [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IIndexPattern), [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/lib/kuery.ts#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/lib/kuery.ts#:~:text=IIndexPattern), [with_kuery_autocompletion.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts#:~:text=IIndexPattern), [with_kuery_autocompletion.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/target/types/public/components/kuery_bar/with_kuery_autocompletion.d.ts#:~:text=IIndexPattern)+ 14 more | - | | | [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType), [use_derived_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx#:~:text=IFieldType) | 8.1 | | | [legacy_shims.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/public/legacy_shims.ts#:~:text=injectedMetadata) | - | | | [bulk_uploader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts#:~:text=process) | - | @@ -605,20 +674,21 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract) | - | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern)+ 14 more | - | +| | [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract) | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern)+ 38 more | - | | | [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec) | - | | | [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=indexPatterns), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=indexPatterns), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=indexPatterns), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/pages/alerts/index.tsx#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns)+ 5 more | - | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters) | 8.1 | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters) | 8.1 | | | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=ExistsFilter), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=ExistsFilter) | 8.1 | | | [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter) | 8.1 | +| | [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec) | - | +| | [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract) | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern)+ 38 more | - | | | [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter) | 8.1 | | | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=ExistsFilter), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=ExistsFilter) | 8.1 | -| | [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract) | - | -| | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern)+ 14 more | - | -| | [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec) | - | | | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern)+ 14 more | - | | | [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter) | 8.1 | +| | [use_discover_link.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_discover_link.tsx#:~:text=urlGenerator) | - | @@ -626,9 +696,9 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern) | - | +| | [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern)+ 2 more | - | | | [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=indexPatterns), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=indexPatterns) | - | -| | [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern) | - | +| | [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern)+ 2 more | - | | | [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern) | - | | | [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=urlGenerator), [use_discover_link.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/common/hooks/use_discover_link.tsx#:~:text=urlGenerator) | - | @@ -647,10 +717,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [options_list_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_embeddable.tsx#:~:text=esFilters), [options_list_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_embeddable.tsx#:~:text=esFilters) | 8.1 | -| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts#:~:text=Filter) | 8.1 | -| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts#:~:text=Filter) | 8.1 | -| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts#:~:text=Filter) | 8.1 | +| | [options_list_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable.tsx#:~:text=esFilters), [options_list_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable.tsx#:~:text=esFilters) | 8.1 | | | [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal), [saved_object_save_modal_dashboard.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx#:~:text=SavedObjectSaveModal) | - | @@ -667,9 +734,9 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern) | - | +| | [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern) | - | | | [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=fieldsFromSource), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=fieldsFromSource) | - | -| | [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern) | - | +| | [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern) | - | | | [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=fieldsFromSource), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=fieldsFromSource) | - | | | [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/plugin.ts#:~:text=fieldFormats) | - | @@ -695,11 +762,11 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract) | - | -| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/plugin.ts#:~:text=indexPatterns), [saved_object.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=indexPatterns), [saved_object.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=indexPatterns) | - | -| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract) | - | -| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern) | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern) | - | @@ -708,11 +775,11 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract) | - | -| | [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern) | - | +| | [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract) | - | +| | [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern) | - | | | [saved_objects_table_page.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/saved_objects_table_page.tsx#:~:text=indexPatterns) | - | -| | [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract) | - | -| | [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern) | - | +| | [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract) | - | +| | [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern) | - | | | [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern) | - | | | [resolve_import_errors.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_import_errors.ts#:~:text=createNewCopy) | - | | | [resolve_import_errors.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_import_errors.ts#:~:text=createNewCopy) | - | @@ -748,9 +815,9 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract) | - | +| | [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract) | - | | | [roles_management_app.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/roles_management_app.tsx#:~:text=indexPatterns) | - | -| | [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract) | - | +| | [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract) | - | | | [disable_ui_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/authorization/disable_ui_capabilities.ts#:~:text=requiredRoles) | - | | | [disable_ui_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/authorization/disable_ui_capabilities.ts#:~:text=requiredRoles) | - | | | [license_service.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode), [license_service.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode), [license_service.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode) | - | @@ -770,22 +837,22 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/overview/containers/overview_cti_links/index.tsx#:~:text=dashboardUrlGenerator), [use_risky_hosts_dashboard_button_href.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_risky_hosts_dashboard_button_href.ts#:~:text=dashboardUrlGenerator), [use_risky_hosts_dashboard_links.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_risky_hosts_dashboard_links.tsx#:~:text=dashboardUrlGenerator) | - | -| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern)+ 10 more | - | -| | [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField) | - | +| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern)+ 30 more | - | +| | [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField) | - | | | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts#:~:text=IIndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts#:~:text=IIndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts#:~:text=IIndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts#:~:text=IIndexPattern), [action.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts#:~:text=IIndexPattern), [action.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx#:~:text=IIndexPattern)+ 76 more | - | | | [middleware.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts#:~:text=indexPatterns), [plugin.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/plugin.tsx#:~:text=indexPatterns), [dependencies_start_mock.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/mock/endpoint/dependencies_start_mock.ts#:~:text=indexPatterns) | - | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx#:~:text=esFilters), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters)+ 15 more | 8.1 | | | [expandable_network.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/side_panel/network_details/expandable_network.tsx#:~:text=esQuery), [expandable_network.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/side_panel/network_details/expandable_network.tsx#:~:text=esQuery), [events_viewer.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx#:~:text=esQuery), [events_viewer.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/top_n/index.tsx#:~:text=esQuery)+ 30 more | 8.1 | | | [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter)+ 163 more | 8.1 | +| | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts#:~:text=IIndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts#:~:text=IIndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts#:~:text=IIndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts#:~:text=IIndexPattern), [action.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts#:~:text=IIndexPattern), [action.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx#:~:text=IIndexPattern)+ 162 more | - | +| | [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField) | - | +| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern)+ 30 more | - | | | [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter)+ 163 more | 8.1 | -| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern)+ 10 more | - | -| | [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField) | - | -| | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts#:~:text=IIndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts#:~:text=IIndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts#:~:text=IIndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts#:~:text=IIndexPattern), [action.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts#:~:text=IIndexPattern), [action.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx#:~:text=IIndexPattern)+ 76 more | - | | | [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField) | - | | | [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern)+ 10 more | - | | | [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter)+ 163 more | 8.1 | -| | [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode)+ 2 more | - | -| | [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode)+ 2 more | - | +| | [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode)+ 4 more | - | +| | [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode)+ 4 more | - | | | [create_signals_migration_route.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/create_signals_migration_route.ts#:~:text=authc), [delete_signals_migration_route.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/delete_signals_migration_route.ts#:~:text=authc), [finalize_signals_migration_route.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/finalize_signals_migration_route.ts#:~:text=authc), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/lib/timeline/utils/common.ts#:~:text=authc) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/plugin.ts#:~:text=spacesService), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/plugin.ts#:~:text=spacesService) | 7.16 | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/plugin.ts#:~:text=getSpaceId), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/plugin.ts#:~:text=getSpaceId) | 7.16 | @@ -816,18 +883,18 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract) | - | -| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern) | - | +| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract) | - | +| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern) | - | | | [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern)+ 1 more | - | | | [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType)+ 16 more | 8.1 | | | [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=indexPatterns), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=indexPatterns), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=indexPatterns), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=indexPatterns), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=indexPatterns) | - | | | [expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/threshold/expression.tsx#:~:text=fieldFormats) | - | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=esKuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=esKuery) | 8.1 | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=esQuery) | 8.1 | -| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract) | - | -| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern) | - | -| | [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType)+ 16 more | 8.1 | -| | [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern)+ 1 more | - | +| | [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType)+ 42 more | 8.1 | +| | [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern)+ 12 more | - | +| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract) | - | +| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern) | - | | | [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType)+ 16 more | 8.1 | | | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern) | - | @@ -841,9 +908,9 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/columns/index.tsx#:~:text=IFieldSubType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/columns/index.tsx#:~:text=IFieldSubType) | 8.1 | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx#:~:text=esQuery) | 8.1 | | | [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/store.ts#:~:text=Filter), [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/store.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/store/t_grid/model.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/store/t_grid/model.ts#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/body/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/body/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx#:~:text=Filter)+ 5 more | 8.1 | +| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/helpers.tsx#:~:text=IIndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/helpers.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/container/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/container/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/container/source/index.tsx#:~:text=IIndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/mock/index_pattern.ts#:~:text=IIndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/mock/index_pattern.ts#:~:text=IIndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/helpers.tsx#:~:text=IIndexPattern)+ 8 more | - | | | [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/store.ts#:~:text=Filter), [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/store.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/store/t_grid/model.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/store/t_grid/model.ts#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/body/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/body/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx#:~:text=Filter)+ 5 more | 8.1 | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/columns/index.tsx#:~:text=IFieldSubType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/columns/index.tsx#:~:text=IFieldSubType) | 8.1 | -| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/helpers.tsx#:~:text=IIndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/helpers.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/container/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/container/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/container/source/index.tsx#:~:text=IIndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/mock/index_pattern.ts#:~:text=IIndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/mock/index_pattern.ts#:~:text=IIndexPattern) | - | | | [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/store.ts#:~:text=Filter), [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/store.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/store/t_grid/model.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/store/t_grid/model.ts#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/body/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/body/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx#:~:text=Filter), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx#:~:text=Filter)+ 5 more | 8.1 | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/columns/index.tsx#:~:text=IFieldSubType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/timelines/common/types/timeline/columns/index.tsx#:~:text=IFieldSubType) | 8.1 | @@ -853,17 +920,17 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract) | - | -| | [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern)+ 10 more | - | +| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract) | - | +| | [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern)+ 30 more | - | | | [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern) | - | | | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes) | - | | | [step_create_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/step_create_form.tsx#:~:text=indexPatterns), [step_details_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx#:~:text=indexPatterns), [use_search_items.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/use_search_items.ts#:~:text=indexPatterns), [use_clone_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/transform_management/components/action_clone/use_clone_action.tsx#:~:text=indexPatterns), [use_action_discover.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/use_action_discover.tsx#:~:text=indexPatterns), [edit_transform_flyout_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/transform_management/components/edit_transform_flyout/edit_transform_flyout_form.tsx#:~:text=indexPatterns), [use_edit_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/transform_management/components/action_edit/use_edit_action.tsx#:~:text=indexPatterns) | - | | | [use_search_bar.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts#:~:text=esKuery), [use_search_bar.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts#:~:text=esKuery), [use_search_bar.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts#:~:text=esKuery) | 8.1 | | | [use_search_bar.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts#:~:text=esQuery), [use_search_bar.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts#:~:text=esQuery), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=esQuery), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=esQuery), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=esQuery) | 8.1 | -| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes) | - | -| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract) | - | -| | [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern)+ 10 more | - | -| | [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern) | - | +| | [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern), [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern) | - | +| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes) | - | +| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract) | - | +| | [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern)+ 30 more | - | | | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes) | - | | | [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern)+ 10 more | - | | | [license.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/services/license.ts#:~:text=license%24) | - | @@ -883,9 +950,9 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern) | - | +| | [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern) | - | | | [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=indexPatterns) | - | -| | [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern) | - | +| | [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern) | - | | | [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [uptime_index_pattern_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/contexts/uptime_index_pattern_context.tsx#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern) | - | @@ -904,11 +971,11 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_params.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params.tsx#:~:text=IndexPattern)+ 7 more | - | -| | [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [top_field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/top_field.tsx#:~:text=IndexPatternField)+ 14 more | - | +| | [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_params.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params.tsx#:~:text=IndexPattern)+ 24 more | - | +| | [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [top_field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/top_field.tsx#:~:text=IndexPatternField)+ 38 more | - | | | [reducers.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts#:~:text=toJSON), [reducers.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts#:~:text=toJSON), [reducers.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts#:~:text=toJSON), [sidebar.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/sidebar.tsx#:~:text=toJSON) | 8.1 | -| | [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_params.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params.tsx#:~:text=IndexPattern)+ 7 more | - | -| | [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [top_field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/top_field.tsx#:~:text=IndexPatternField)+ 14 more | - | +| | [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [top_field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/top_field.tsx#:~:text=IndexPatternField)+ 38 more | - | +| | [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_params.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params.tsx#:~:text=IndexPattern)+ 24 more | - | | | [reducers.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts#:~:text=toJSON), [reducers.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts#:~:text=toJSON), [reducers.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts#:~:text=toJSON), [sidebar.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/sidebar.tsx#:~:text=toJSON) | 8.1 | | | [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [top_field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/top_field.tsx#:~:text=IndexPatternField)+ 14 more | - | | | [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_params.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params.tsx#:~:text=IndexPattern)+ 7 more | - | @@ -945,15 +1012,16 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract) | - | +| | [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract), [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/plugin.ts#:~:text=indexPatterns) | - | | | [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_vis_component.tsx#:~:text=RangeFilterParams), [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_vis_component.tsx#:~:text=RangeFilterParams), [timelion_vis_renderer.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_renderer.tsx#:~:text=RangeFilterParams), [timelion_vis_renderer.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_renderer.tsx#:~:text=RangeFilterParams), [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/legacy/timelion_vis_component.tsx#:~:text=RangeFilterParams), [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/legacy/timelion_vis_component.tsx#:~:text=RangeFilterParams) | 8.1 | | | [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts#:~:text=esQuery), [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts#:~:text=esQuery), [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts#:~:text=esQuery) | 8.1 | | | [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts#:~:text=Filter), [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts#:~:text=Filter), [timelion_vis_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_fn.ts#:~:text=Filter), [timelion_vis_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_fn.ts#:~:text=Filter) | 8.1 | +| | [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract), [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract) | - | | | [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts#:~:text=Filter), [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts#:~:text=Filter), [timelion_vis_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_fn.ts#:~:text=Filter), [timelion_vis_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_fn.ts#:~:text=Filter) | 8.1 | | | [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_vis_component.tsx#:~:text=RangeFilterParams), [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_vis_component.tsx#:~:text=RangeFilterParams), [timelion_vis_renderer.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_renderer.tsx#:~:text=RangeFilterParams), [timelion_vis_renderer.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_renderer.tsx#:~:text=RangeFilterParams), [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/legacy/timelion_vis_component.tsx#:~:text=RangeFilterParams), [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/legacy/timelion_vis_component.tsx#:~:text=RangeFilterParams) | 8.1 | -| | [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract) | - | | | [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts#:~:text=Filter), [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/helpers/timelion_request_handler.ts#:~:text=Filter), [timelion_vis_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_fn.ts#:~:text=Filter), [timelion_vis_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/public/timelion_vis_fn.ts#:~:text=Filter) | 8.1 | +| | [run.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timelion/server/routes/run.ts#:~:text=indexPatternsServiceFactory) | - | @@ -961,19 +1029,19 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService)+ 17 more | - | -| | [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern)+ 15 more | - | -| | [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField) | - | +| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService)+ 44 more | - | +| | [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern)+ 40 more | - | +| | [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField)+ 2 more | - | | | [fetch_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts#:~:text=indexPatterns), [combo_box_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx#:~:text=indexPatterns), [query_bar_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/query_bar_wrapper.tsx#:~:text=indexPatterns), [annotation_row.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/annotation_row.tsx#:~:text=indexPatterns), [metrics_type.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/metrics_type.ts#:~:text=indexPatterns), [convert_series_to_datatable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.ts#:~:text=indexPatterns), [timeseries_vis_renderer.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/timeseries_vis_renderer.tsx#:~:text=indexPatterns) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/plugin.ts#:~:text=fieldFormats) | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts#:~:text=EsQueryConfig), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts#:~:text=EsQueryConfig) | 8.1 | | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=Filter), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=Filter) | 8.1 | +| | [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField)+ 2 more | - | +| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService)+ 44 more | - | +| | [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern)+ 40 more | - | +| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=getNonScriptedFields), [fetch_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts#:~:text=getNonScriptedFields), [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=getNonScriptedFields), [fetch_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts#:~:text=getNonScriptedFields) | 8.1 | | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=Filter), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=Filter) | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts#:~:text=EsQueryConfig), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts#:~:text=EsQueryConfig) | 8.1 | -| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService)+ 17 more | - | -| | [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern)+ 15 more | - | -| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=getNonScriptedFields), [fetch_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts#:~:text=getNonScriptedFields) | 8.1 | -| | [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField) | - | | | [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField) | - | | | [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern)+ 15 more | - | | | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/types.ts#:~:text=IndexPatternsService)+ 44 more | - | @@ -981,6 +1049,8 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/plugin.ts#:~:text=fieldFormats) | - | | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=Filter), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/common/types/index.ts#:~:text=Filter) | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts#:~:text=EsQueryConfig), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/table/types.ts#:~:text=EsQueryConfig) | 8.1 | +| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=getNonScriptedFields), [fetch_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/public/application/lib/fetch_fields.ts#:~:text=getNonScriptedFields) | 8.1 | +| | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/timeseries/server/plugin.ts#:~:text=indexPatternsServiceFactory) | - | @@ -988,12 +1058,12 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern) | - | +| | [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern) | - | | | [search_api.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/data_model/search_api.ts#:~:text=indexPatterns), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=indexPatterns), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=indexPatterns), [search_api.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/data_model/search_api.test.ts#:~:text=indexPatterns), [search_api.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/data_model/search_api.test.ts#:~:text=indexPatterns), [search_api.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/data_model/search_api.test.ts#:~:text=indexPatterns), [view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_view/vega_map_view/view.test.ts#:~:text=indexPatterns) | - | | | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=esQuery), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=esQuery), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=esQuery) | 8.1 | | | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter) | 8.1 | +| | [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern) | - | | | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter) | 8.1 | -| | [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern) | - | | | [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern) | - | | | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter) | 8.1 | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/plugin.ts#:~:text=injectedMetadata) | - | @@ -1025,19 +1095,17 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract) | - | -| | [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern) | - | -| | [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | +| | [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract) | - | +| | [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern)+ 10 more | - | | | [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=toJSON) | 8.1 | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/plugin.ts#:~:text=indexPatterns) | - | | | [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=esFilters), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=esFilters) | 8.1 | | | [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter) | 8.1 | -| | [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | +| | [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE)+ 8 more | - | +| | [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract) | - | +| | [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern)+ 10 more | - | | | [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter) | 8.1 | -| | [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract) | - | -| | [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern) | - | | | [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=toJSON) | 8.1 | -| | [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | | | [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern) | - | | | [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter) | 8.1 | | | [find_list_items.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/find_list_items.ts#:~:text=SavedObjectLoader), [find_list_items.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/find_list_items.ts#:~:text=SavedObjectLoader), [saved_visualizations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualizations.ts#:~:text=SavedObjectLoader), [saved_visualizations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualizations.ts#:~:text=SavedObjectLoader), [saved_visualizations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualizations.ts#:~:text=SavedObjectLoader), [services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/services.ts#:~:text=SavedObjectLoader), [services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/services.ts#:~:text=SavedObjectLoader) | - | @@ -1050,13 +1118,13 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern) | - | +| | [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern) | - | | | [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=indexPatterns), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=indexPatterns), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/plugin.ts#:~:text=indexPatterns), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/plugin.ts#:~:text=indexPatterns) | - | | | [use_visualize_app_state.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_visualize_app_state.tsx#:~:text=esFilters), [use_visualize_app_state.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_visualize_app_state.tsx#:~:text=esFilters), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/plugin.ts#:~:text=esFilters), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/plugin.ts#:~:text=esFilters), [get_visualize_list_item_link.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/get_visualize_list_item_link.test.ts#:~:text=esFilters), [get_visualize_list_item_link.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/get_visualize_list_item_link.test.ts#:~:text=esFilters) | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter)+ 6 more | 8.1 | +| | [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern) | - | | | [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/common/locator.ts#:~:text=isFilterPinned), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/common/locator.ts#:~:text=isFilterPinned), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/common/locator.ts#:~:text=isFilterPinned) | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter)+ 6 more | 8.1 | -| | [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern) | - | | | [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern) | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter)+ 6 more | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=SavedObject), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=SavedObject), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=SavedObject), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=SavedObject), [get_visualization_instance.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/get_visualization_instance.ts#:~:text=SavedObject), [get_visualization_instance.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/get_visualization_instance.ts#:~:text=SavedObject), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=SavedObject), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=SavedObject), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=SavedObject), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=SavedObject)+ 3 more | - | diff --git a/api_docs/dev_tools.mdx b/api_docs/dev_tools.mdx index 25f56d10ec220..5f44f6e6f31b0 100644 --- a/api_docs/dev_tools.mdx +++ b/api_docs/dev_tools.mdx @@ -1,7 +1,7 @@ --- id: kibDevToolsPluginApi -slug: /kibana-dev-docs/devToolsPluginApi -title: devTools +slug: /kibana-dev-docs/api/devTools +title: "devTools" image: https://source.unsplash.com/400x175/?github summary: API docs for the devTools plugin date: 2020-11-16 diff --git a/api_docs/discover.json b/api_docs/discover.json index 4daa43c322117..bab87863a903b 100644 --- a/api_docs/discover.json +++ b/api_docs/discover.json @@ -77,7 +77,13 @@ "text": "DiscoverAppLocatorParams" }, " extends ", - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/discover/public/locator.ts", "deprecated": false, @@ -153,7 +159,13 @@ "text": "RefreshInterval" }, " & ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") | undefined" ], "path": "src/plugins/discover/public/locator.ts", @@ -169,7 +181,13 @@ "\nOptionally apply filters." ], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "src/plugins/discover/public/locator.ts", @@ -185,7 +203,13 @@ "\nOptionally set a query." ], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/discover/public/locator.ts", @@ -262,7 +286,13 @@ ], "signature": [ "(string[][] & ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") | undefined" ], "path": "src/plugins/discover/public/locator.ts", @@ -380,7 +410,13 @@ "\nOptionally apply filters." ], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "src/plugins/discover/public/url_generator.ts", @@ -396,7 +432,13 @@ "\nOptionally set a query. NOTE: if given and used in conjunction with `dashboardId`, and the\nsaved dashboard has a query saved with it, this will _replace_ that query." ], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/discover/public/url_generator.ts", @@ -890,7 +932,13 @@ "label": "query", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/discover/public/application/embeddable/types.ts", @@ -904,7 +952,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "src/plugins/discover/public/application/embeddable/types.ts", @@ -1119,6 +1173,10 @@ "path": "src/plugins/discover/public/plugin.tsx", "deprecated": true, "references": [ + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_discover_link.tsx" + }, { "plugin": "osquery", "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" diff --git a/api_docs/discover.mdx b/api_docs/discover.mdx index ee34b0c54dccf..aee0f4b9724c6 100644 --- a/api_docs/discover.mdx +++ b/api_docs/discover.mdx @@ -1,7 +1,7 @@ --- id: kibDiscoverPluginApi -slug: /kibana-dev-docs/discoverPluginApi -title: discover +slug: /kibana-dev-docs/api/discover +title: "discover" image: https://source.unsplash.com/400x175/?github summary: API docs for the discover plugin date: 2020-11-16 diff --git a/api_docs/discover_enhanced.json b/api_docs/discover_enhanced.json index 2825446d88a53..6b305f6cc1d6a 100644 --- a/api_docs/discover_enhanced.json +++ b/api_docs/discover_enhanced.json @@ -582,19 +582,6 @@ "path": "x-pack/plugins/discover_enhanced/public/plugin.ts", "deprecated": false }, - { - "parentPluginId": "discoverEnhanced", - "id": "def-public.DiscoverEnhancedSetupDependencies.kibanaLegacy", - "type": "Object", - "tags": [], - "label": "kibanaLegacy", - "description": [], - "signature": [ - "{} | undefined" - ], - "path": "x-pack/plugins/discover_enhanced/public/plugin.ts", - "deprecated": false - }, { "parentPluginId": "discoverEnhanced", "id": "def-public.DiscoverEnhancedSetupDependencies.share", @@ -713,19 +700,6 @@ "path": "x-pack/plugins/discover_enhanced/public/plugin.ts", "deprecated": false }, - { - "parentPluginId": "discoverEnhanced", - "id": "def-public.DiscoverEnhancedStartDependencies.kibanaLegacy", - "type": "Object", - "tags": [], - "label": "kibanaLegacy", - "description": [], - "signature": [ - "{ loadFontAwesome: () => Promise; loadAngularBootstrap: () => Promise; } | undefined" - ], - "path": "x-pack/plugins/discover_enhanced/public/plugin.ts", - "deprecated": false - }, { "parentPluginId": "discoverEnhanced", "id": "def-public.DiscoverEnhancedStartDependencies.share", diff --git a/api_docs/discover_enhanced.mdx b/api_docs/discover_enhanced.mdx index e3a5dd501c076..aa026d4a3f902 100644 --- a/api_docs/discover_enhanced.mdx +++ b/api_docs/discover_enhanced.mdx @@ -1,7 +1,7 @@ --- id: kibDiscoverEnhancedPluginApi -slug: /kibana-dev-docs/discoverEnhancedPluginApi -title: discoverEnhanced +slug: /kibana-dev-docs/api/discoverEnhanced +title: "discoverEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the discoverEnhanced plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Data Discovery](https://github.com/orgs/elastic/teams/kibana-data-disco | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 39 | 0 | 37 | 2 | +| 37 | 0 | 35 | 2 | ## Client diff --git a/api_docs/elastic_datemath.json b/api_docs/elastic_datemath.json new file mode 100644 index 0000000000000..166f816481b33 --- /dev/null +++ b/api_docs/elastic_datemath.json @@ -0,0 +1,578 @@ +{ + "id": "@elastic/datemath", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.parse", + "type": "Function", + "tags": [], + "label": "parse", + "description": [], + "signature": [ + "(input: string, options: { roundUp?: boolean | undefined; momentInstance?: typeof moment | undefined; forceNow?: Date | undefined; }) => moment.Moment | undefined" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.parse.$1", + "type": "string", + "tags": [], + "label": "input", + "description": [], + "signature": [ + "string" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.parse.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.parse.$2.roundUp", + "type": "CompoundType", + "tags": [], + "label": "roundUp", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.parse.$2.momentInstance", + "type": "Function", + "tags": [], + "label": "momentInstance", + "description": [], + "signature": [ + "typeof moment | undefined" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.parse.$2.forceNow", + "type": "Object", + "tags": [], + "label": "forceNow", + "description": [], + "signature": [ + "Date | undefined" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.Unit", + "type": "Type", + "tags": [], + "label": "Unit", + "description": [], + "signature": [ + "\"y\" | \"M\" | \"w\" | \"d\" | \"h\" | \"m\" | \"s\" | \"ms\"" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.units", + "type": "Array", + "tags": [], + "label": "units", + "description": [], + "signature": [ + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, + "[]" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsAsc", + "type": "Array", + "tags": [], + "label": "unitsAsc", + "description": [], + "signature": [ + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, + "[]" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsDesc", + "type": "Array", + "tags": [], + "label": "unitsDesc", + "description": [], + "signature": [ + { + "pluginId": "@elastic/datemath", + "scope": "server", + "docId": "kibElasticDatemathPluginApi", + "section": "def-server.Unit", + "text": "Unit" + }, + "[]" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.UnitsMap", + "type": "Type", + "tags": [], + "label": "UnitsMap", + "description": [], + "signature": [ + "{ y: { weight: number; type: \"calendar\" | \"fixed\" | \"mixed\"; base: number; }; M: { weight: number; type: \"calendar\" | \"fixed\" | \"mixed\"; base: number; }; w: { weight: number; type: \"calendar\" | \"fixed\" | \"mixed\"; base: number; }; d: { weight: number; type: \"calendar\" | \"fixed\" | \"mixed\"; base: number; }; h: { weight: number; type: \"calendar\" | \"fixed\" | \"mixed\"; base: number; }; m: { weight: number; type: \"calendar\" | \"fixed\" | \"mixed\"; base: number; }; s: { weight: number; type: \"calendar\" | \"fixed\" | \"mixed\"; base: number; }; ms: { weight: number; type: \"calendar\" | \"fixed\" | \"mixed\"; base: number; }; }" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap", + "type": "Object", + "tags": [], + "label": "unitsMap", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.ms", + "type": "Object", + "tags": [], + "label": "ms", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.ms.weight", + "type": "number", + "tags": [], + "label": "weight", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.ms.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"fixed\"" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.ms.base", + "type": "number", + "tags": [], + "label": "base", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.s", + "type": "Object", + "tags": [], + "label": "s", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.s.weight", + "type": "number", + "tags": [], + "label": "weight", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.s.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"fixed\"" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.s.base", + "type": "number", + "tags": [], + "label": "base", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.m", + "type": "Object", + "tags": [], + "label": "m", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.m.weight", + "type": "number", + "tags": [], + "label": "weight", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.m.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"mixed\"" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.m.base", + "type": "number", + "tags": [], + "label": "base", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.h", + "type": "Object", + "tags": [], + "label": "h", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.h.weight", + "type": "number", + "tags": [], + "label": "weight", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.h.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"mixed\"" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.h.base", + "type": "number", + "tags": [], + "label": "base", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.d", + "type": "Object", + "tags": [], + "label": "d", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.d.weight", + "type": "number", + "tags": [], + "label": "weight", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.d.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"mixed\"" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.d.base", + "type": "number", + "tags": [], + "label": "base", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.w", + "type": "Object", + "tags": [], + "label": "w", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.w.weight", + "type": "number", + "tags": [], + "label": "weight", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.w.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"calendar\"" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.w.base", + "type": "number", + "tags": [], + "label": "base", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.M", + "type": "Object", + "tags": [], + "label": "M", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.M.weight", + "type": "number", + "tags": [], + "label": "weight", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.M.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"calendar\"" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.M.base", + "type": "number", + "tags": [], + "label": "base", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.y", + "type": "Object", + "tags": [], + "label": "y", + "description": [ + "// q: { weight: 8, type: 'calendar' }, // TODO: moment duration does not support quarter" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.y.weight", + "type": "number", + "tags": [], + "label": "weight", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.y.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"calendar\"" + ], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@elastic/datemath", + "id": "def-server.unitsMap.y.base", + "type": "number", + "tags": [], + "label": "base", + "description": [], + "path": "packages/elastic-datemath/src/index.ts", + "deprecated": false + } + ] + } + ], + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/elastic_datemath.mdx b/api_docs/elastic_datemath.mdx new file mode 100644 index 0000000000000..eb7c18e47b9ea --- /dev/null +++ b/api_docs/elastic_datemath.mdx @@ -0,0 +1,33 @@ +--- +id: kibElasticDatemathPluginApi +slug: /kibana-dev-docs/api/elastic-datemath +title: "@elastic/datemath" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @elastic/datemath plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@elastic/datemath'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import elasticDatemathObj from './elastic_datemath.json'; + +elasticsearch datemath parser, used in kibana + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 44 | 0 | 43 | 0 | + +## Server + +### Objects + + +### Functions + + +### Consts, variables and types + + diff --git a/api_docs/embeddable.json b/api_docs/embeddable.json index a100ab4069cb2..0baa18a0640a4 100644 --- a/api_docs/embeddable.json +++ b/api_docs/embeddable.json @@ -268,7 +268,13 @@ "description": [], "signature": [ "((appName: string, type: ", - "UiCounterMetricType", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, ", eventNames: string | string[], count?: number | undefined) => void) | undefined" ], "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/add_panel_action.ts", @@ -5026,7 +5032,13 @@ "text": "NotificationsStart" }, "; SavedObjectFinder: React.ComponentType; showCreateNewMenu?: boolean | undefined; reportUiCounter?: ((appName: string, type: ", - "UiCounterMetricType", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, ", eventNames: string | string[], count?: number | undefined) => void) | undefined; }) => ", { "pluginId": "core", @@ -5307,7 +5319,13 @@ "description": [], "signature": [ "((appName: string, type: ", - "UiCounterMetricType", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, ", eventNames: string | string[], count?: number | undefined) => void) | undefined" ], "path": "src/plugins/embeddable/public/lib/panel/panel_header/panel_actions/add_panel/open_add_panel_flyout.tsx", @@ -8312,7 +8330,13 @@ "text": "ViewMode" }, " | undefined; title?: string | undefined; id: string; lastReloadRequestTime?: number | undefined; hidePanelTitles?: boolean | undefined; enhancements?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; disabledActions?: string[] | undefined; disableTriggers?: boolean | undefined; searchSessionId?: string | undefined; syncColors?: boolean | undefined; executionContext?: ", "KibanaExecutionContext", " | undefined; }" @@ -8724,7 +8748,13 @@ "text": "EnhancementRegistryDefinition" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => void" ], "path": "src/plugins/embeddable/public/plugin.tsx", @@ -8746,7 +8776,13 @@ "text": "EnhancementRegistryDefinition" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/embeddable/public/plugin.tsx", @@ -9395,7 +9431,13 @@ "text": "EnhancementRegistryDefinition" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => void" ], "path": "src/plugins/embeddable/server/plugin.ts", @@ -9417,7 +9459,13 @@ "text": "EnhancementRegistryDefinition" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/embeddable/server/plugin.ts", @@ -10000,7 +10048,13 @@ "text": "PersistableState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "> & { isContainerType: boolean; }" ], "path": "src/plugins/embeddable/common/types.ts", @@ -10040,7 +10094,13 @@ "text": "PersistableState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/embeddable/common/types.ts", @@ -10184,7 +10244,13 @@ "text": "ViewMode" }, " | undefined; title?: string | undefined; id: string; lastReloadRequestTime?: number | undefined; hidePanelTitles?: boolean | undefined; enhancements?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; disabledActions?: string[] | undefined; disableTriggers?: boolean | undefined; searchSessionId?: string | undefined; syncColors?: boolean | undefined; executionContext?: ", "KibanaExecutionContext", " | undefined; }" @@ -10252,9 +10318,21 @@ "description": [], "signature": [ "(state: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ", version: string) => ", - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/embeddable/common/lib/migrate.ts", "deprecated": false, @@ -10268,7 +10346,13 @@ "label": "state", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/embeddable/common/lib/migrate.ts", "deprecated": false diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index 60b15f305bac9..3b6afd48b7d38 100644 --- a/api_docs/embeddable.mdx +++ b/api_docs/embeddable.mdx @@ -1,7 +1,7 @@ --- id: kibEmbeddablePluginApi -slug: /kibana-dev-docs/embeddablePluginApi -title: embeddable +slug: /kibana-dev-docs/api/embeddable +title: "embeddable" image: https://source.unsplash.com/400x175/?github summary: API docs for the embeddable plugin date: 2020-11-16 diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index 4963a62296358..cc4881a2d6ecb 100644 --- a/api_docs/embeddable_enhanced.mdx +++ b/api_docs/embeddable_enhanced.mdx @@ -1,7 +1,7 @@ --- id: kibEmbeddableEnhancedPluginApi -slug: /kibana-dev-docs/embeddableEnhancedPluginApi -title: embeddableEnhanced +slug: /kibana-dev-docs/api/embeddableEnhanced +title: "embeddableEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the embeddableEnhanced plugin date: 2020-11-16 diff --git a/api_docs/encrypted_saved_objects.mdx b/api_docs/encrypted_saved_objects.mdx index c872427012c2d..45cdba9bec0c6 100644 --- a/api_docs/encrypted_saved_objects.mdx +++ b/api_docs/encrypted_saved_objects.mdx @@ -1,7 +1,7 @@ --- id: kibEncryptedSavedObjectsPluginApi -slug: /kibana-dev-docs/encryptedSavedObjectsPluginApi -title: encryptedSavedObjects +slug: /kibana-dev-docs/api/encryptedSavedObjects +title: "encryptedSavedObjects" image: https://source.unsplash.com/400x175/?github summary: API docs for the encryptedSavedObjects plugin date: 2020-11-16 diff --git a/api_docs/enterprise_search.json b/api_docs/enterprise_search.json index 970a81c330376..4de69e72b978a 100644 --- a/api_docs/enterprise_search.json +++ b/api_docs/enterprise_search.json @@ -38,21 +38,69 @@ "label": "configSchema", "description": [], "signature": [ - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ host: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; enabled: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; accessCheckTimeout: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; accessCheckTimeoutWarning: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; ssl: ", - "ObjectType", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, "<{ certificateAuthorities: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "; verificationMode: ", - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "<\"none\" | \"certificate\" | \"full\">; }>; }>" ], "path": "x-pack/plugins/enterprise_search/server/index.ts", diff --git a/api_docs/enterprise_search.mdx b/api_docs/enterprise_search.mdx index 1e675b571993f..dd823394e221c 100644 --- a/api_docs/enterprise_search.mdx +++ b/api_docs/enterprise_search.mdx @@ -1,7 +1,7 @@ --- id: kibEnterpriseSearchPluginApi -slug: /kibana-dev-docs/enterpriseSearchPluginApi -title: enterpriseSearch +slug: /kibana-dev-docs/api/enterpriseSearch +title: "enterpriseSearch" image: https://source.unsplash.com/400x175/?github summary: API docs for the enterpriseSearch plugin date: 2020-11-16 diff --git a/api_docs/es_ui_shared.json b/api_docs/es_ui_shared.json index bbc5d7b83f0e8..83d71b321cfcf 100644 --- a/api_docs/es_ui_shared.json +++ b/api_docs/es_ui_shared.json @@ -610,7 +610,8 @@ "label": "useAuthorizationContext", "description": [], "signature": [ - "() => Authorization" + "() => ", + "Authorization" ], "path": "src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/authorization_provider.tsx", "deprecated": false, @@ -732,6 +733,62 @@ } ], "interfaces": [ + { + "parentPluginId": "esUiShared", + "id": "def-public.Authorization", + "type": "Interface", + "tags": [], + "label": "Authorization", + "description": [], + "path": "src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/authorization_provider.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "esUiShared", + "id": "def-public.Authorization.isLoading", + "type": "boolean", + "tags": [], + "label": "isLoading", + "description": [], + "path": "src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/authorization_provider.tsx", + "deprecated": false + }, + { + "parentPluginId": "esUiShared", + "id": "def-public.Authorization.apiError", + "type": "CompoundType", + "tags": [], + "label": "apiError", + "description": [], + "signature": [ + "Error", + " | null" + ], + "path": "src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/authorization_provider.tsx", + "deprecated": false + }, + { + "parentPluginId": "esUiShared", + "id": "def-public.Authorization.privileges", + "type": "Object", + "tags": [], + "label": "privileges", + "description": [], + "signature": [ + { + "pluginId": "esUiShared", + "scope": "common", + "docId": "kibEsUiSharedPluginApi", + "section": "def-common.Privileges", + "text": "Privileges" + } + ], + "path": "src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/authorization_provider.tsx", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "esUiShared", "id": "def-public.Error", @@ -1465,7 +1522,9 @@ "label": "AuthorizationContext", "description": [], "signature": [ - "React.Context" + "React.Context<", + "Authorization", + ">" ], "path": "src/plugins/es_ui_shared/__packages_do_not_import__/authorization/components/authorization_provider.tsx", "deprecated": false, diff --git a/api_docs/es_ui_shared.mdx b/api_docs/es_ui_shared.mdx index b8a715c593c91..977d88d0c66d9 100644 --- a/api_docs/es_ui_shared.mdx +++ b/api_docs/es_ui_shared.mdx @@ -1,7 +1,7 @@ --- id: kibEsUiSharedPluginApi -slug: /kibana-dev-docs/esUiSharedPluginApi -title: esUiShared +slug: /kibana-dev-docs/api/esUiShared +title: "esUiShared" image: https://source.unsplash.com/400x175/?github summary: API docs for the esUiShared plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-ma | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 106 | 5 | 102 | 1 | +| 110 | 5 | 106 | 3 | ## Client diff --git a/api_docs/event_log.json b/api_docs/event_log.json index 1a5e1554628cf..95ab6b473a0d3 100644 --- a/api_docs/event_log.json +++ b/api_docs/event_log.json @@ -951,21 +951,6 @@ "path": "x-pack/plugins/event_log/server/types.ts", "deprecated": false, "children": [ - { - "parentPluginId": "eventLog", - "id": "def-server.IEventLogService.isEnabled", - "type": "Function", - "tags": [], - "label": "isEnabled", - "description": [], - "signature": [ - "() => boolean" - ], - "path": "x-pack/plugins/event_log/server/types.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, { "parentPluginId": "eventLog", "id": "def-server.IEventLogService.isLoggingEntries", diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index c9e45f99cf3c7..6e25f1ddfa019 100644 --- a/api_docs/event_log.mdx +++ b/api_docs/event_log.mdx @@ -1,7 +1,7 @@ --- id: kibEventLogPluginApi -slug: /kibana-dev-docs/eventLogPluginApi -title: eventLog +slug: /kibana-dev-docs/api/eventLog +title: "eventLog" image: https://source.unsplash.com/400x175/?github summary: API docs for the eventLog plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting- | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 81 | 0 | 81 | 4 | +| 80 | 0 | 80 | 4 | ## Server diff --git a/api_docs/expression_error.mdx b/api_docs/expression_error.mdx index b4abd70146d97..dd67f48e03025 100644 --- a/api_docs/expression_error.mdx +++ b/api_docs/expression_error.mdx @@ -1,7 +1,7 @@ --- id: kibExpressionErrorPluginApi -slug: /kibana-dev-docs/expressionErrorPluginApi -title: expressionError +slug: /kibana-dev-docs/api/expressionError +title: "expressionError" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionError plugin date: 2020-11-16 diff --git a/api_docs/expression_image.json b/api_docs/expression_image.json index d7b1e7b652d6c..f92cd0d258e1d 100644 --- a/api_docs/expression_image.json +++ b/api_docs/expression_image.json @@ -323,7 +323,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_image/common/types/expression_functions.ts", diff --git a/api_docs/expression_image.mdx b/api_docs/expression_image.mdx index 54d93d97c3287..bf829509f83bd 100644 --- a/api_docs/expression_image.mdx +++ b/api_docs/expression_image.mdx @@ -1,7 +1,7 @@ --- id: kibExpressionImagePluginApi -slug: /kibana-dev-docs/expressionImagePluginApi -title: expressionImage +slug: /kibana-dev-docs/api/expressionImage +title: "expressionImage" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionImage plugin date: 2020-11-16 diff --git a/api_docs/expression_metric.json b/api_docs/expression_metric.json index 3a971719e6c4e..4ffb80c5a0cec 100644 --- a/api_docs/expression_metric.json +++ b/api_docs/expression_metric.json @@ -427,7 +427,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_metric/common/types/expression_functions.ts", diff --git a/api_docs/expression_metric.mdx b/api_docs/expression_metric.mdx index 0ea5d24fc228b..b3b3b38228cc5 100644 --- a/api_docs/expression_metric.mdx +++ b/api_docs/expression_metric.mdx @@ -1,7 +1,7 @@ --- id: kibExpressionMetricPluginApi -slug: /kibana-dev-docs/expressionMetricPluginApi -title: expressionMetric +slug: /kibana-dev-docs/api/expressionMetric +title: "expressionMetric" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionMetric plugin date: 2020-11-16 diff --git a/api_docs/expression_repeat_image.json b/api_docs/expression_repeat_image.json index 7cd55f2d4d664..416a827e5bafb 100644 --- a/api_docs/expression_repeat_image.json +++ b/api_docs/expression_repeat_image.json @@ -365,7 +365,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_repeat_image/common/types/expression_functions.ts", diff --git a/api_docs/expression_repeat_image.mdx b/api_docs/expression_repeat_image.mdx index 9205aa8a1dfa3..512b185bfb49c 100644 --- a/api_docs/expression_repeat_image.mdx +++ b/api_docs/expression_repeat_image.mdx @@ -1,7 +1,7 @@ --- id: kibExpressionRepeatImagePluginApi -slug: /kibana-dev-docs/expressionRepeatImagePluginApi -title: expressionRepeatImage +slug: /kibana-dev-docs/api/expressionRepeatImage +title: "expressionRepeatImage" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionRepeatImage plugin date: 2020-11-16 diff --git a/api_docs/expression_reveal_image.mdx b/api_docs/expression_reveal_image.mdx index 8a6ecf0c34cb1..f438a6c7cf5b8 100644 --- a/api_docs/expression_reveal_image.mdx +++ b/api_docs/expression_reveal_image.mdx @@ -1,7 +1,7 @@ --- id: kibExpressionRevealImagePluginApi -slug: /kibana-dev-docs/expressionRevealImagePluginApi -title: expressionRevealImage +slug: /kibana-dev-docs/api/expressionRevealImage +title: "expressionRevealImage" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionRevealImage plugin date: 2020-11-16 diff --git a/api_docs/expression_shape.json b/api_docs/expression_shape.json index d0ebb9b78a6e0..018c438303cb0 100644 --- a/api_docs/expression_shape.json +++ b/api_docs/expression_shape.json @@ -1320,7 +1320,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_shape/common/types/expression_functions.ts", @@ -1370,7 +1376,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_shape/common/types/expression_functions.ts", @@ -2461,7 +2473,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_shape/common/types/expression_functions.ts", @@ -2511,7 +2529,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expression_shape/common/types/expression_functions.ts", diff --git a/api_docs/expression_shape.mdx b/api_docs/expression_shape.mdx index 99a8a33bac1db..b7670e75f615d 100644 --- a/api_docs/expression_shape.mdx +++ b/api_docs/expression_shape.mdx @@ -1,7 +1,7 @@ --- id: kibExpressionShapePluginApi -slug: /kibana-dev-docs/expressionShapePluginApi -title: expressionShape +slug: /kibana-dev-docs/api/expressionShape +title: "expressionShape" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionShape plugin date: 2020-11-16 diff --git a/api_docs/expression_tagcloud.mdx b/api_docs/expression_tagcloud.mdx index 26b10681ff75c..662b1658caafd 100644 --- a/api_docs/expression_tagcloud.mdx +++ b/api_docs/expression_tagcloud.mdx @@ -1,7 +1,7 @@ --- id: kibExpressionTagcloudPluginApi -slug: /kibana-dev-docs/expressionTagcloudPluginApi -title: expressionTagcloud +slug: /kibana-dev-docs/api/expressionTagcloud +title: "expressionTagcloud" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressionTagcloud plugin date: 2020-11-16 diff --git a/api_docs/expressions.json b/api_docs/expressions.json index f58eafb86c40a..5cb989ee85e61 100644 --- a/api_docs/expressions.json +++ b/api_docs/expressions.json @@ -72,7 +72,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>, ", { "pluginId": "expressions", @@ -106,7 +112,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>, {}>" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -145,7 +157,13 @@ "text": "ExecutionContext" }, "" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -187,7 +205,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -328,7 +352,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -373,7 +403,7 @@ "label": "invokeChain", "description": [], "signature": [ - "(chainArr: ", + "(chainArr: ", { "pluginId": "expressions", "scope": "common", @@ -383,7 +413,7 @@ }, "[], input: unknown) => ", "Observable", - "" + "" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -434,7 +464,7 @@ "label": "invokeFunction", "description": [], "signature": [ - "(fn: ", + ") => ", + ">(fn: Fn, input: unknown, args: Record) => ", "Observable", - "" + ">" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -452,18 +482,12 @@ { "parentPluginId": "expressions", "id": "def-public.Execution.invokeFunction.$1", - "type": "Object", + "type": "Uncategorized", "tags": [], "label": "fn", "description": [], "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunction", - "text": "ExpressionFunction" - } + "Fn" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -508,7 +532,7 @@ "label": "cast", "description": [], "signature": [ - "(value: any, toTypeNames?: string[] | undefined) => any" + "(value: unknown, toTypeNames?: string[] | undefined) => Type" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -516,12 +540,12 @@ { "parentPluginId": "expressions", "id": "def-public.Execution.cast.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "value", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -552,7 +576,7 @@ "label": "resolveArgs", "description": [], "signature": [ - "(fnDef: ", + " ", + ">(fnDef: Fn, input: unknown, argAsts: Record) => ", "Observable", - "" + ">" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -570,18 +602,12 @@ { "parentPluginId": "expressions", "id": "def-public.Execution.resolveArgs.$1", - "type": "Object", + "type": "Uncategorized", "tags": [], "label": "fnDef", "description": [], "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunction", - "text": "ExpressionFunction" - } + "Fn" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -604,12 +630,20 @@ { "parentPluginId": "expressions", "id": "def-public.Execution.resolveArgs.$3", - "type": "Any", + "type": "Object", "tags": [], "label": "argAsts", "description": [], "signature": [ - "any" + "Record" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -812,7 +846,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | Output>>" ], "path": "src/plugins/expressions/common/execution/execution_contract.ts", @@ -1475,7 +1515,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | Output>>" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -1770,7 +1816,7 @@ "section": "def-common.ExpressionAstExpression", "text": "ExpressionAstExpression" }, - ", telemetryData: Record) => Record" + ", telemetryData: Record) => Record" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -1803,7 +1849,7 @@ "label": "telemetryData", "description": [], "signature": [ - "Record" + "Record" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -1851,7 +1897,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => ", { "pluginId": "expressions", @@ -1880,7 +1932,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -2001,7 +2059,7 @@ "\nFunction to run function (context, args)" ], "signature": [ - "(input: any, params: Record, handlers: object) => any" + "(input: any, params: Record, handlers: object) => any" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false, @@ -2028,7 +2086,7 @@ "label": "params", "description": [], "signature": [ - "{ [x: string]: any; }" + "{ [x: string]: unknown; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false @@ -2114,7 +2172,7 @@ "section": "def-common.ExpressionAstArgument", "text": "ExpressionAstArgument" }, - "[]>, telemetryData: Record) => Record" + "[]>, telemetryData: Record) => Record" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false, @@ -2149,7 +2207,7 @@ "label": "telemetryData", "description": [], "signature": [ - "{ [x: string]: any; }" + "{ [x: string]: unknown; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false @@ -2289,9 +2347,21 @@ "description": [], "signature": [ "{ [key: string]: (state: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", @@ -2373,6 +2443,16 @@ "tags": [], "label": "ExpressionFunctionParameter", "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionParameter", + "text": "ExpressionFunctionParameter" + }, + "" + ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false, "children": [ @@ -2409,12 +2489,20 @@ { "parentPluginId": "expressions", "id": "def-public.ExpressionFunctionParameter.types", - "type": "Array", + "type": "CompoundType", "tags": [], "label": "types", "description": [], "signature": [ - "string[]" + "(string[] & (\"date\" | \"filter\" | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.KnownTypeToString", + "text": "KnownTypeToString" + }, + ")[]) | (string[] & (\"date\" | \"filter\" | ArrayTypeToArgumentString)[]) | (string[] & (\"date\" | \"filter\" | UnresolvedTypeToArgumentString)[]) | (string[] & (\"date\" | \"filter\" | UnresolvedArrayTypeToArgumentString)[]) | undefined" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false @@ -2422,12 +2510,12 @@ { "parentPluginId": "expressions", "id": "def-public.ExpressionFunctionParameter.default", - "type": "Any", + "type": "CompoundType", "tags": [], "label": "default", "description": [], "signature": [ - "any" + "string | T | undefined" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false @@ -2473,7 +2561,7 @@ "label": "options", "description": [], "signature": [ - "any[]" + "T[]" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false @@ -2520,7 +2608,7 @@ "section": "def-common.ArgumentType", "text": "ArgumentType" }, - "" + "" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false, @@ -3042,7 +3130,15 @@ "label": "render", "description": [], "signature": [ - "(value: any, uiState?: any) => Promise" + "(value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + ", uiState?: unknown) => Promise" ], "path": "src/plugins/expressions/public/render.ts", "deprecated": false, @@ -3050,12 +3146,18 @@ { "parentPluginId": "expressions", "id": "def-public.ExpressionRenderHandler.render.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "value", "description": [], "signature": [ - "any" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/expressions/public/render.ts", "deprecated": false, @@ -3064,12 +3166,12 @@ { "parentPluginId": "expressions", "id": "def-public.ExpressionRenderHandler.render.$2", - "type": "Any", + "type": "Unknown", "tags": [], "label": "uiState", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/public/render.ts", "deprecated": false, @@ -3183,7 +3285,15 @@ "label": "logAST", "description": [], "signature": [ - "(ast: any) => void" + "(ast: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstNode", + "text": "ExpressionAstNode" + }, + ") => void" ], "path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts", "deprecated": false, @@ -3191,12 +3301,18 @@ { "parentPluginId": "expressions", "id": "def-public.ExpressionsInspectorAdapter.logAST.$1", - "type": "Any", + "type": "CompoundType", "tags": [], "label": "ast", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstNode", + "text": "ExpressionAstNode" + } ], "path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts", "deprecated": false, @@ -3208,12 +3324,27 @@ { "parentPluginId": "expressions", "id": "def-public.ExpressionsInspectorAdapter.ast", - "type": "Any", + "type": "CompoundType", "tags": [], "label": "ast", "description": [], "signature": [ - "any" + "string | number | boolean | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + " | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstFunction", + "text": "ExpressionAstFunction" + } ], "path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts", "deprecated": false @@ -4300,7 +4431,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | Output>>" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -4383,7 +4520,7 @@ "section": "def-common.ExpressionAstExpression", "text": "ExpressionAstExpression" }, - ", telemetryData?: Record) => Record" + ", telemetryData?: Record) => Record" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", "deprecated": false, @@ -4418,7 +4555,7 @@ "label": "telemetryData", "description": [], "signature": [ - "Record" + "Record" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", "deprecated": false, @@ -4606,7 +4743,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => ", { "pluginId": "expressions", @@ -4635,7 +4778,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -4783,7 +4932,7 @@ "\nType validation, useful for checking function output." ], "signature": [ - "(type: any) => void | Error" + "(type: unknown) => void | Error" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false, @@ -4792,12 +4941,12 @@ { "parentPluginId": "expressions", "id": "def-public.ExpressionType.validate.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "type", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false @@ -4827,7 +4976,15 @@ "\nOptional serialization (used when passing context around client/server)." ], "signature": [ - "((value: any) => any) | undefined" + "((value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, + ") => unknown) | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false @@ -4840,7 +4997,15 @@ "label": "deserialize", "description": [], "signature": [ - "((serialized: any) => any) | undefined" + "((serialized: unknown[]) => ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, + ") | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false @@ -5218,7 +5383,7 @@ "section": "def-common.Executor", "text": "Executor" }, - "" + ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -5541,7 +5706,7 @@ "section": "def-common.Executor", "text": "Executor" }, - "" + ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -6081,7 +6246,7 @@ "\nType guard that checks whether a given value is an\n`ExpressionAstExpressionBuilder`. This is useful when working\nwith subexpressions, where you might be retrieving a function\nargument, and need to know whether it is an expression builder\ninstance which you can perform operations on.\n" ], "signature": [ - "(val: any) => boolean" + "(val: unknown) => boolean" ], "path": "src/plugins/expressions/common/ast/build_expression.ts", "deprecated": false, @@ -6089,14 +6254,14 @@ { "parentPluginId": "expressions", "id": "def-public.isExpressionAstBuilder.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "val", "description": [ "Value you want to check." ], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/ast/build_expression.ts", "deprecated": false, @@ -6556,6 +6721,66 @@ "deprecated": false, "children": [], "returnComment": [] + }, + { + "parentPluginId": "expressions", + "id": "def-public.ExecutionContext.logDatatable", + "type": "Function", + "tags": [], + "label": "logDatatable", + "description": [ + "\nLogs datatable." + ], + "signature": [ + "((name: string, datatable: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + }, + ") => void) | undefined" + ], + "path": "src/plugins/expressions/common/execution/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressions", + "id": "def-public.ExecutionContext.logDatatable.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/expressions/common/execution/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "expressions", + "id": "def-public.ExecutionContext.logDatatable.$2", + "type": "Object", + "tags": [], + "label": "datatable", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + } + ], + "path": "src/plugins/expressions/common/execution/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] } ], "initialIsOpen": false @@ -6585,7 +6810,7 @@ "section": "def-common.Executor", "text": "Executor" }, - "" + ">" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false @@ -7467,11 +7692,29 @@ "text": "KnownTypeToString" }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, "> | undefined" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -7711,7 +7954,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -7732,7 +7981,15 @@ "section": "def-common.ExpressionFunctionDefinition", "text": "ExpressionFunctionDefinition" }, - "<\"font\", null, Arguments, ", + "<\"font\", null, ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.FontArguments", + "text": "FontArguments" + }, + ", ", { "pluginId": "expressions", "scope": "common", @@ -7757,7 +8014,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -7795,7 +8058,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -7833,7 +8102,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -7854,7 +8129,7 @@ "section": "def-common.ExpressionFunctionDefinition", "text": "ExpressionFunctionDefinition" }, - "<\"theme\", null, Arguments, any, ", + "<\"theme\", null, Arguments, unknown, ", { "pluginId": "expressions", "scope": "common", @@ -7871,7 +8146,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -7933,7 +8214,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -7995,7 +8282,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8057,7 +8350,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8119,7 +8418,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -8342,42 +8647,6 @@ ], "initialIsOpen": false }, - { - "parentPluginId": "expressions", - "id": "def-public.ExpressionRendererEvent", - "type": "Interface", - "tags": [], - "label": "ExpressionRendererEvent", - "description": [], - "path": "src/plugins/expressions/public/render.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "expressions", - "id": "def-public.ExpressionRendererEvent.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "src/plugins/expressions/public/render.ts", - "deprecated": false - }, - { - "parentPluginId": "expressions", - "id": "def-public.ExpressionRendererEvent.data", - "type": "Any", - "tags": [], - "label": "data", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/expressions/public/render.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, { "parentPluginId": "expressions", "id": "def-public.ExpressionRenderError", @@ -8687,7 +8956,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | Output>>" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -8896,7 +9171,7 @@ "label": "validate", "description": [], "signature": [ - "((type: any) => void | Error) | undefined" + "((type: unknown) => void | Error) | undefined" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -8904,12 +9179,12 @@ { "parentPluginId": "expressions", "id": "def-public.ExpressionTypeDefinition.validate.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "type", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -9152,7 +9427,13 @@ "label": "searchContext", "description": [], "signature": [ - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined" ], "path": "src/plugins/expressions/public/types/index.ts", @@ -9179,7 +9460,7 @@ "label": "variables", "description": [], "signature": [ - "Record | undefined" + "Record | undefined" ], "path": "src/plugins/expressions/public/types/index.ts", "deprecated": false @@ -9483,7 +9764,15 @@ "label": "update", "description": [], "signature": [ - "(params: any) => void" + "(params: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderUpdateParams", + "text": "IInterpreterRenderUpdateParams" + }, + ") => void" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -9491,12 +9780,19 @@ { "parentPluginId": "expressions", "id": "def-public.IInterpreterRenderHandlers.update.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "params", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderUpdateParams", + "text": "IInterpreterRenderUpdateParams" + }, + "" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -9513,7 +9809,15 @@ "label": "event", "description": [], "signature": [ - "(event: any) => void" + "(event: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + ") => void" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -9521,12 +9825,19 @@ { "parentPluginId": "expressions", "id": "def-public.IInterpreterRenderHandlers.event.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "event", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + "" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -9543,7 +9854,15 @@ "label": "hasCompatibleActions", "description": [], "signature": [ - "((event: any) => Promise) | undefined" + "((event: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + ") => Promise) | undefined" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -9551,12 +9870,19 @@ { "parentPluginId": "expressions", "id": "def-public.IInterpreterRenderHandlers.hasCompatibleActions.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "event", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + "" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -10306,7 +10632,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -10328,7 +10660,7 @@ "section": "def-common.ExpressionTypeDefinition", "text": "ExpressionTypeDefinition" }, - "" + "" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -10617,6 +10949,27 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "expressions", + "id": "def-public.ExpressionRendererEvent", + "type": "Type", + "tags": [], + "label": "ExpressionRendererEvent", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + "" + ], + "path": "src/plugins/expressions/public/render.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "expressions", "id": "def-public.ExpressionValue", @@ -10653,7 +11006,15 @@ "label": "ExpressionValueConverter", "description": [], "signature": [ - "(input: I, availableTypes: Record) => O" + "(input: I, availableTypes: Record) => O" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -10680,7 +11041,15 @@ "label": "availableTypes", "description": [], "signature": [ - "{ [x: string]: any; }" + "{ [x: string]: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionType", + "text": "ExpressionType" + }, + "; }" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false @@ -10705,7 +11074,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -10847,7 +11222,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -11018,41 +11399,149 @@ ], "signature": [ "(T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends string ? \"string\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends boolean ? \"boolean\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends number ? \"number\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends null ? \"null\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends { type: string; } ? ({ type: string; } & (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, "))[\"type\"] : never" ], "path": "src/plugins/expressions/common/types/common.ts", @@ -11323,7 +11812,7 @@ "label": "render", "description": [], "signature": [ - "(element: HTMLElement, data: any, options?: ", + "(element: HTMLElement, data: unknown, options?: ", "ExpressionRenderHandlerParams", " | undefined) => ", { @@ -11354,12 +11843,12 @@ { "parentPluginId": "expressions", "id": "def-public.ExpressionsStart.render.$2", - "type": "Any", + "type": "Unknown", "tags": [], "label": "data", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/public/render.ts", "deprecated": false @@ -11457,7 +11946,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>, ", { "pluginId": "expressions", @@ -11491,7 +11986,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>, {}>" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -11530,7 +12031,13 @@ "text": "ExecutionContext" }, "" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -11572,7 +12079,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -11713,7 +12226,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -11758,7 +12277,7 @@ "label": "invokeChain", "description": [], "signature": [ - "(chainArr: ", + "(chainArr: ", { "pluginId": "expressions", "scope": "common", @@ -11768,7 +12287,7 @@ }, "[], input: unknown) => ", "Observable", - "" + "" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -11819,7 +12338,7 @@ "label": "invokeFunction", "description": [], "signature": [ - "(fn: ", + ") => ", + ">(fn: Fn, input: unknown, args: Record) => ", "Observable", - "" + ">" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -11837,18 +12356,12 @@ { "parentPluginId": "expressions", "id": "def-server.Execution.invokeFunction.$1", - "type": "Object", + "type": "Uncategorized", "tags": [], "label": "fn", "description": [], "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunction", - "text": "ExpressionFunction" - } + "Fn" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -11893,7 +12406,7 @@ "label": "cast", "description": [], "signature": [ - "(value: any, toTypeNames?: string[] | undefined) => any" + "(value: unknown, toTypeNames?: string[] | undefined) => Type" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -11901,12 +12414,12 @@ { "parentPluginId": "expressions", "id": "def-server.Execution.cast.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "value", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -11937,7 +12450,7 @@ "label": "resolveArgs", "description": [], "signature": [ - "(fnDef: ", + " ", + ">(fnDef: Fn, input: unknown, argAsts: Record) => ", "Observable", - "" + ">" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -11955,18 +12476,12 @@ { "parentPluginId": "expressions", "id": "def-server.Execution.resolveArgs.$1", - "type": "Object", + "type": "Uncategorized", "tags": [], "label": "fnDef", "description": [], "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunction", - "text": "ExpressionFunction" - } + "Fn" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -11989,12 +12504,20 @@ { "parentPluginId": "expressions", "id": "def-server.Execution.resolveArgs.$3", - "type": "Any", + "type": "Object", "tags": [], "label": "argAsts", "description": [], "signature": [ - "any" + "Record" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -12668,7 +13191,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | Output>>" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -12963,7 +13492,7 @@ "section": "def-common.ExpressionAstExpression", "text": "ExpressionAstExpression" }, - ", telemetryData: Record) => Record" + ", telemetryData: Record) => Record" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -12996,7 +13525,7 @@ "label": "telemetryData", "description": [], "signature": [ - "Record" + "Record" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -13044,7 +13573,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => ", { "pluginId": "expressions", @@ -13073,7 +13608,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -13194,7 +13735,7 @@ "\nFunction to run function (context, args)" ], "signature": [ - "(input: any, params: Record, handlers: object) => any" + "(input: any, params: Record, handlers: object) => any" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false, @@ -13221,7 +13762,7 @@ "label": "params", "description": [], "signature": [ - "{ [x: string]: any; }" + "{ [x: string]: unknown; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false @@ -13307,7 +13848,7 @@ "section": "def-common.ExpressionAstArgument", "text": "ExpressionAstArgument" }, - "[]>, telemetryData: Record) => Record" + "[]>, telemetryData: Record) => Record" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false, @@ -13342,7 +13883,7 @@ "label": "telemetryData", "description": [], "signature": [ - "{ [x: string]: any; }" + "{ [x: string]: unknown; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false @@ -13482,9 +14023,21 @@ "description": [], "signature": [ "{ [key: string]: (state: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", @@ -13566,6 +14119,16 @@ "tags": [], "label": "ExpressionFunctionParameter", "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionParameter", + "text": "ExpressionFunctionParameter" + }, + "" + ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false, "children": [ @@ -13602,12 +14165,20 @@ { "parentPluginId": "expressions", "id": "def-server.ExpressionFunctionParameter.types", - "type": "Array", + "type": "CompoundType", "tags": [], "label": "types", "description": [], "signature": [ - "string[]" + "(string[] & (\"date\" | \"filter\" | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.KnownTypeToString", + "text": "KnownTypeToString" + }, + ")[]) | (string[] & (\"date\" | \"filter\" | ArrayTypeToArgumentString)[]) | (string[] & (\"date\" | \"filter\" | UnresolvedTypeToArgumentString)[]) | (string[] & (\"date\" | \"filter\" | UnresolvedArrayTypeToArgumentString)[]) | undefined" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false @@ -13615,12 +14186,12 @@ { "parentPluginId": "expressions", "id": "def-server.ExpressionFunctionParameter.default", - "type": "Any", + "type": "CompoundType", "tags": [], "label": "default", "description": [], "signature": [ - "any" + "string | T | undefined" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false @@ -13666,7 +14237,7 @@ "label": "options", "description": [], "signature": [ - "any[]" + "T[]" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false @@ -13713,7 +14284,7 @@ "section": "def-common.ArgumentType", "text": "ArgumentType" }, - "" + "" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false, @@ -14607,7 +15178,7 @@ "\nType validation, useful for checking function output." ], "signature": [ - "(type: any) => void | Error" + "(type: unknown) => void | Error" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false, @@ -14616,12 +15187,12 @@ { "parentPluginId": "expressions", "id": "def-server.ExpressionType.validate.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "type", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false @@ -14651,7 +15222,15 @@ "\nOptional serialization (used when passing context around client/server)." ], "signature": [ - "((value: any) => any) | undefined" + "((value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, + ") => unknown) | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false @@ -14664,7 +15243,15 @@ "label": "deserialize", "description": [], "signature": [ - "((serialized: any) => any) | undefined" + "((serialized: unknown[]) => ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, + ") | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false @@ -15042,7 +15629,7 @@ "section": "def-common.Executor", "text": "Executor" }, - "" + ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -15263,7 +15850,7 @@ "section": "def-common.Executor", "text": "Executor" }, - "" + ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -15780,7 +16367,7 @@ "\nType guard that checks whether a given value is an\n`ExpressionAstExpressionBuilder`. This is useful when working\nwith subexpressions, where you might be retrieving a function\nargument, and need to know whether it is an expression builder\ninstance which you can perform operations on.\n" ], "signature": [ - "(val: any) => boolean" + "(val: unknown) => boolean" ], "path": "src/plugins/expressions/common/ast/build_expression.ts", "deprecated": false, @@ -15788,14 +16375,14 @@ { "parentPluginId": "expressions", "id": "def-server.isExpressionAstBuilder.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "val", "description": [ "Value you want to check." ], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/ast/build_expression.ts", "deprecated": false, @@ -16210,6 +16797,66 @@ "deprecated": false, "children": [], "returnComment": [] + }, + { + "parentPluginId": "expressions", + "id": "def-server.ExecutionContext.logDatatable", + "type": "Function", + "tags": [], + "label": "logDatatable", + "description": [ + "\nLogs datatable." + ], + "signature": [ + "((name: string, datatable: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + }, + ") => void) | undefined" + ], + "path": "src/plugins/expressions/common/execution/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressions", + "id": "def-server.ExecutionContext.logDatatable.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/expressions/common/execution/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "expressions", + "id": "def-server.ExecutionContext.logDatatable.$2", + "type": "Object", + "tags": [], + "label": "datatable", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + } + ], + "path": "src/plugins/expressions/common/execution/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] } ], "initialIsOpen": false @@ -16239,7 +16886,7 @@ "section": "def-common.Executor", "text": "Executor" }, - "" + ">" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false @@ -17092,11 +17739,29 @@ "text": "KnownTypeToString" }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, "> | undefined" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -17336,7 +18001,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -17357,7 +18028,15 @@ "section": "def-common.ExpressionFunctionDefinition", "text": "ExpressionFunctionDefinition" }, - "<\"font\", null, Arguments, ", + "<\"font\", null, ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.FontArguments", + "text": "FontArguments" + }, + ", ", { "pluginId": "expressions", "scope": "common", @@ -17382,7 +18061,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -17420,7 +18105,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -17458,7 +18149,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -17479,7 +18176,7 @@ "section": "def-common.ExpressionFunctionDefinition", "text": "ExpressionFunctionDefinition" }, - "<\"theme\", null, Arguments, any, ", + "<\"theme\", null, Arguments, unknown, ", { "pluginId": "expressions", "scope": "common", @@ -17496,7 +18193,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -17558,7 +18261,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -17620,7 +18329,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -17682,7 +18397,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -17744,7 +18465,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -18010,7 +18737,7 @@ "label": "validate", "description": [], "signature": [ - "((type: any) => void | Error) | undefined" + "((type: unknown) => void | Error) | undefined" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -18018,12 +18745,12 @@ { "parentPluginId": "expressions", "id": "def-server.ExpressionTypeDefinition.validate.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "type", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -18328,7 +19055,15 @@ "label": "update", "description": [], "signature": [ - "(params: any) => void" + "(params: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderUpdateParams", + "text": "IInterpreterRenderUpdateParams" + }, + ") => void" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -18336,12 +19071,19 @@ { "parentPluginId": "expressions", "id": "def-server.IInterpreterRenderHandlers.update.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "params", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderUpdateParams", + "text": "IInterpreterRenderUpdateParams" + }, + "" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -18358,7 +19100,15 @@ "label": "event", "description": [], "signature": [ - "(event: any) => void" + "(event: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + ") => void" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -18366,12 +19116,19 @@ { "parentPluginId": "expressions", "id": "def-server.IInterpreterRenderHandlers.event.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "event", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + "" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -18388,7 +19145,15 @@ "label": "hasCompatibleActions", "description": [], "signature": [ - "((event: any) => Promise) | undefined" + "((event: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + ") => Promise) | undefined" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -18396,12 +19161,19 @@ { "parentPluginId": "expressions", "id": "def-server.IInterpreterRenderHandlers.hasCompatibleActions.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "event", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + "" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -18872,7 +19644,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -18894,7 +19672,7 @@ "section": "def-common.ExpressionTypeDefinition", "text": "ExpressionTypeDefinition" }, - "" + "" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -19168,7 +19946,15 @@ "label": "ExpressionValueConverter", "description": [], "signature": [ - "(input: I, availableTypes: Record) => O" + "(input: I, availableTypes: Record) => O" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -19195,7 +19981,15 @@ "label": "availableTypes", "description": [], "signature": [ - "{ [x: string]: any; }" + "{ [x: string]: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionType", + "text": "ExpressionType" + }, + "; }" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false @@ -19220,7 +20014,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -19362,7 +20162,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -19503,41 +20309,149 @@ ], "signature": [ "(T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends string ? \"string\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends boolean ? \"boolean\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends number ? \"number\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends null ? \"null\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends { type: string; } ? ({ type: string; } & (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, "))[\"type\"] : never" ], "path": "src/plugins/expressions/common/types/common.ts", @@ -19701,7 +20615,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>, ", { "pluginId": "expressions", @@ -19735,7 +20655,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>, {}>" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -19774,7 +20700,13 @@ "text": "ExecutionContext" }, "" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -19816,7 +20748,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -19957,7 +20895,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>>>" ], "path": "src/plugins/expressions/common/execution/execution.ts", @@ -20002,7 +20946,7 @@ "label": "invokeChain", "description": [], "signature": [ - "(chainArr: ", + "(chainArr: ", { "pluginId": "expressions", "scope": "common", @@ -20012,7 +20956,7 @@ }, "[], input: unknown) => ", "Observable", - "" + "" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -20063,7 +21007,7 @@ "label": "invokeFunction", "description": [], "signature": [ - "(fn: ", + ") => ", + ">(fn: Fn, input: unknown, args: Record) => ", "Observable", - "" + ">" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -20081,18 +21025,12 @@ { "parentPluginId": "expressions", "id": "def-common.Execution.invokeFunction.$1", - "type": "Object", + "type": "Uncategorized", "tags": [], "label": "fn", "description": [], "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunction", - "text": "ExpressionFunction" - } + "Fn" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -20137,7 +21075,7 @@ "label": "cast", "description": [], "signature": [ - "(value: any, toTypeNames?: string[] | undefined) => any" + "(value: unknown, toTypeNames?: string[] | undefined) => Type" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -20145,12 +21083,12 @@ { "parentPluginId": "expressions", "id": "def-common.Execution.cast.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "value", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -20181,7 +21119,7 @@ "label": "resolveArgs", "description": [], "signature": [ - "(fnDef: ", + " ", + ">(fnDef: Fn, input: unknown, argAsts: Record) => ", "Observable", - "" + ">" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -20199,18 +21145,12 @@ { "parentPluginId": "expressions", "id": "def-common.Execution.resolveArgs.$1", - "type": "Object", + "type": "Uncategorized", "tags": [], "label": "fnDef", "description": [], "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunction", - "text": "ExpressionFunction" - } + "Fn" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -20233,12 +21173,20 @@ { "parentPluginId": "expressions", "id": "def-common.Execution.resolveArgs.$3", - "type": "Any", + "type": "Object", "tags": [], "label": "argAsts", "description": [], "signature": [ - "any" + "Record" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false, @@ -20441,7 +21389,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | Output>>" ], "path": "src/plugins/expressions/common/execution/execution_contract.ts", @@ -21104,7 +22058,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | Output>>" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -21399,7 +22359,7 @@ "section": "def-common.ExpressionAstExpression", "text": "ExpressionAstExpression" }, - ", telemetryData: Record) => Record" + ", telemetryData: Record) => Record" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -21432,7 +22392,7 @@ "label": "telemetryData", "description": [], "signature": [ - "Record" + "Record" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -21480,7 +22440,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => ", { "pluginId": "expressions", @@ -21509,7 +22475,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", @@ -21630,7 +22602,7 @@ "\nFunction to run function (context, args)" ], "signature": [ - "(input: any, params: Record, handlers: object) => any" + "(input: any, params: Record, handlers: object) => any" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false, @@ -21657,7 +22629,7 @@ "label": "params", "description": [], "signature": [ - "{ [x: string]: any; }" + "{ [x: string]: unknown; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false @@ -21743,7 +22715,7 @@ "section": "def-common.ExpressionAstArgument", "text": "ExpressionAstArgument" }, - "[]>, telemetryData: Record) => Record" + "[]>, telemetryData: Record) => Record" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false, @@ -21778,7 +22750,7 @@ "label": "telemetryData", "description": [], "signature": [ - "{ [x: string]: any; }" + "{ [x: string]: unknown; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", "deprecated": false @@ -21918,9 +22890,21 @@ "description": [], "signature": [ "{ [key: string]: (state: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ") => ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, "; }" ], "path": "src/plugins/expressions/common/expression_functions/expression_function.ts", @@ -22002,6 +22986,16 @@ "tags": [], "label": "ExpressionFunctionParameter", "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionParameter", + "text": "ExpressionFunctionParameter" + }, + "" + ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false, "children": [ @@ -22038,12 +23032,20 @@ { "parentPluginId": "expressions", "id": "def-common.ExpressionFunctionParameter.types", - "type": "Array", + "type": "CompoundType", "tags": [], "label": "types", "description": [], "signature": [ - "string[]" + "(string[] & (\"date\" | \"filter\" | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.KnownTypeToString", + "text": "KnownTypeToString" + }, + ")[]) | (string[] & (\"date\" | \"filter\" | ArrayTypeToArgumentString)[]) | (string[] & (\"date\" | \"filter\" | UnresolvedTypeToArgumentString)[]) | (string[] & (\"date\" | \"filter\" | UnresolvedArrayTypeToArgumentString)[]) | undefined" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false @@ -22051,12 +23053,12 @@ { "parentPluginId": "expressions", "id": "def-common.ExpressionFunctionParameter.default", - "type": "Any", + "type": "CompoundType", "tags": [], "label": "default", "description": [], "signature": [ - "any" + "string | T | undefined" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false @@ -22102,7 +23104,7 @@ "label": "options", "description": [], "signature": [ - "any[]" + "T[]" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false @@ -22149,7 +23151,7 @@ "section": "def-common.ArgumentType", "text": "ArgumentType" }, - "" + "" ], "path": "src/plugins/expressions/common/expression_functions/expression_function_parameter.ts", "deprecated": false, @@ -22587,7 +23589,15 @@ "label": "logAST", "description": [], "signature": [ - "(ast: any) => void" + "(ast: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstNode", + "text": "ExpressionAstNode" + }, + ") => void" ], "path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts", "deprecated": false, @@ -22595,12 +23605,18 @@ { "parentPluginId": "expressions", "id": "def-common.ExpressionsInspectorAdapter.logAST.$1", - "type": "Any", + "type": "CompoundType", "tags": [], "label": "ast", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstNode", + "text": "ExpressionAstNode" + } ], "path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts", "deprecated": false, @@ -22612,12 +23628,27 @@ { "parentPluginId": "expressions", "id": "def-common.ExpressionsInspectorAdapter.ast", - "type": "Any", + "type": "CompoundType", "tags": [], "label": "ast", "description": [], "signature": [ - "any" + "string | number | boolean | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + " | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstFunction", + "text": "ExpressionAstFunction" + } ], "path": "src/plugins/expressions/common/util/expressions_inspector_adapter.ts", "deprecated": false @@ -23300,7 +24331,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | Output>>" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -23383,7 +24420,7 @@ "section": "def-common.ExpressionAstExpression", "text": "ExpressionAstExpression" }, - ", telemetryData?: Record) => Record" + ", telemetryData?: Record) => Record" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", "deprecated": false, @@ -23418,7 +24455,7 @@ "label": "telemetryData", "description": [], "signature": [ - "Record" + "Record" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", "deprecated": false, @@ -23606,7 +24643,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => ", { "pluginId": "expressions", @@ -23635,7 +24678,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -23783,7 +24832,7 @@ "\nType validation, useful for checking function output." ], "signature": [ - "(type: any) => void | Error" + "(type: unknown) => void | Error" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false, @@ -23792,12 +24841,12 @@ { "parentPluginId": "expressions", "id": "def-common.ExpressionType.validate.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "type", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false @@ -23827,7 +24876,15 @@ "\nOptional serialization (used when passing context around client/server)." ], "signature": [ - "((value: any) => any) | undefined" + "((value: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, + ") => unknown) | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false @@ -23840,7 +24897,15 @@ "label": "deserialize", "description": [], "signature": [ - "((serialized: any) => any) | undefined" + "((serialized: unknown[]) => ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, + ") | undefined" ], "path": "src/plugins/expressions/common/expression_types/expression_type.ts", "deprecated": false @@ -24218,7 +25283,7 @@ "section": "def-common.Executor", "text": "Executor" }, - "" + ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -24541,7 +25606,7 @@ "section": "def-common.Executor", "text": "Executor" }, - "" + ">" ], "path": "src/plugins/expressions/common/executor/executor.ts", "deprecated": false, @@ -25119,7 +26184,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>" ], "path": "src/plugins/expressions/common/util/create_error.ts", @@ -25283,7 +26354,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/util/test_utils.ts", @@ -25504,7 +26581,7 @@ "label": "getType", "description": [], "signature": [ - "(node: any) => any" + "(node: unknown) => string" ], "path": "src/plugins/expressions/common/expression_types/get_type.ts", "deprecated": false, @@ -25512,12 +26589,12 @@ { "parentPluginId": "expressions", "id": "def-common.getType.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "node", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/expression_types/get_type.ts", "deprecated": false, @@ -25617,7 +26694,7 @@ "\nType guard that checks whether a given value is an\n`ExpressionAstExpressionBuilder`. This is useful when working\nwith subexpressions, where you might be retrieving a function\nargument, and need to know whether it is an expression builder\ninstance which you can perform operations on.\n" ], "signature": [ - "(val: any) => boolean" + "(val: unknown) => boolean" ], "path": "src/plugins/expressions/common/ast/build_expression.ts", "deprecated": false, @@ -25625,14 +26702,14 @@ { "parentPluginId": "expressions", "id": "def-common.isExpressionAstBuilder.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "val", "description": [ "Value you want to check." ], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/ast/build_expression.ts", "deprecated": false, @@ -25652,7 +26729,7 @@ "label": "isExpressionValueError", "description": [], "signature": [ - "(value: any) => value is ", + "(value: unknown) => value is ", { "pluginId": "expressions", "scope": "common", @@ -25669,7 +26746,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -25678,12 +26761,12 @@ { "parentPluginId": "expressions", "id": "def-common.isExpressionValueError.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "value", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", "deprecated": false, @@ -25811,7 +26894,7 @@ "section": "def-common.ExpressionType", "text": "ExpressionType" }, - ">) => { serialize: (value: any) => any; deserialize: (value: any) => any; }" + ">) => { serialize: (value: any) => unknown; deserialize: (value: any) => any; }" ], "path": "src/plugins/expressions/common/expression_types/serialize_provider.ts", "deprecated": false, @@ -26058,7 +27141,7 @@ "label": "ids", "description": [], "signature": [ - "string[]" + "string[] | undefined" ], "path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts", "deprecated": false @@ -26071,7 +27154,7 @@ "label": "names", "description": [], "signature": [ - "string[] | null" + "string[] | null | undefined" ], "path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts", "deprecated": false @@ -26083,6 +27166,9 @@ "tags": [], "label": "rowCount", "description": [], + "signature": [ + "number | undefined" + ], "path": "src/plugins/expressions/common/expression_functions/specs/create_table.ts", "deprecated": false } @@ -26540,7 +27626,13 @@ "\nany extra parameters for the source that produced this column" ], "signature": [ - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined" ], "path": "src/plugins/expressions/common/expression_types/specs/datatable.ts", @@ -26862,6 +27954,66 @@ "deprecated": false, "children": [], "returnComment": [] + }, + { + "parentPluginId": "expressions", + "id": "def-common.ExecutionContext.logDatatable", + "type": "Function", + "tags": [], + "label": "logDatatable", + "description": [ + "\nLogs datatable." + ], + "signature": [ + "((name: string, datatable: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + }, + ") => void) | undefined" + ], + "path": "src/plugins/expressions/common/execution/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressions", + "id": "def-common.ExecutionContext.logDatatable.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/expressions/common/execution/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "expressions", + "id": "def-common.ExecutionContext.logDatatable.$2", + "type": "Object", + "tags": [], + "label": "datatable", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + } + ], + "path": "src/plugins/expressions/common/execution/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] } ], "initialIsOpen": false @@ -26891,7 +28043,7 @@ "section": "def-common.Executor", "text": "Executor" }, - "" + ">" ], "path": "src/plugins/expressions/common/execution/execution.ts", "deprecated": false @@ -28289,7 +29441,13 @@ "label": "searchContext", "description": [], "signature": [ - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -28303,7 +29461,7 @@ "label": "variables", "description": [], "signature": [ - "Record | undefined" + "Record | undefined" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", "deprecated": false @@ -28404,6 +29562,19 @@ ], "path": "src/plugins/expressions/common/service/expressions_services.ts", "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.ExpressionExecutionParams.extraContext", + "type": "Uncategorized", + "tags": [], + "label": "extraContext", + "description": [], + "signature": [ + "object | undefined" + ], + "path": "src/plugins/expressions/common/service/expressions_services.ts", + "deprecated": false } ], "initialIsOpen": false @@ -28495,11 +29666,29 @@ "text": "KnownTypeToString" }, " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, "> | undefined" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -28739,7 +29928,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -28760,7 +29955,15 @@ "section": "def-common.ExpressionFunctionDefinition", "text": "ExpressionFunctionDefinition" }, - "<\"font\", null, Arguments, ", + "<\"font\", null, ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.FontArguments", + "text": "FontArguments" + }, + ", ", { "pluginId": "expressions", "scope": "common", @@ -28785,7 +29988,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -28823,7 +30032,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -28861,7 +30076,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -28882,7 +30103,7 @@ "section": "def-common.ExpressionFunctionDefinition", "text": "ExpressionFunctionDefinition" }, - "<\"theme\", null, Arguments, any, ", + "<\"theme\", null, Arguments, unknown, ", { "pluginId": "expressions", "scope": "common", @@ -28899,7 +30120,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -28961,7 +30188,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -29023,7 +30256,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -29085,7 +30324,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -29147,7 +30392,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -30062,7 +31313,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | Output>>" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", @@ -30271,7 +31528,7 @@ "label": "validate", "description": [], "signature": [ - "((type: any) => void | Error) | undefined" + "((type: unknown) => void | Error) | undefined" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -30279,12 +31536,12 @@ { "parentPluginId": "expressions", "id": "def-common.ExpressionTypeDefinition.validate.$1", - "type": "Any", + "type": "Unknown", "tags": [], "label": "type", "description": [], "signature": [ - "any" + "unknown" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -30509,6 +31766,183 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "expressions", + "id": "def-common.FontArguments", + "type": "Interface", + "tags": [], + "label": "FontArguments", + "description": [], + "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressions", + "id": "def-common.FontArguments.align", + "type": "CompoundType", + "tags": [], + "label": "align", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.TextAlignment", + "text": "TextAlignment" + }, + " | undefined" + ], + "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", + "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.FontArguments.color", + "type": "string", + "tags": [], + "label": "color", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", + "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.FontArguments.family", + "type": "CompoundType", + "tags": [], + "label": "family", + "description": [], + "signature": [ + "\"Open Sans\" | \"American Typewriter\" | \"Arial\" | \"Baskerville\" | \"Book Antiqua\" | \"Brush Script\" | \"Chalkboard\" | \"Didot\" | \"Futura\" | \"Gill Sans\" | \"Helvetica Neue\" | \"Hoefler Text\" | \"Lucida Grande\" | \"Myriad\" | \"Optima\" | \"Palatino\" | undefined" + ], + "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", + "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.FontArguments.italic", + "type": "CompoundType", + "tags": [], + "label": "italic", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", + "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.FontArguments.lHeight", + "type": "CompoundType", + "tags": [], + "label": "lHeight", + "description": [], + "signature": [ + "number | null | undefined" + ], + "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", + "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.FontArguments.size", + "type": "number", + "tags": [], + "label": "size", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", + "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.FontArguments.underline", + "type": "CompoundType", + "tags": [], + "label": "underline", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", + "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.FontArguments.weight", + "type": "CompoundType", + "tags": [], + "label": "weight", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.FontWeight", + "text": "FontWeight" + }, + " | undefined" + ], + "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.IInterpreterRenderEvent", + "type": "Interface", + "tags": [], + "label": "IInterpreterRenderEvent", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + "" + ], + "path": "src/plugins/expressions/common/expression_renderers/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressions", + "id": "def-common.IInterpreterRenderEvent.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "src/plugins/expressions/common/expression_renderers/types.ts", + "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.IInterpreterRenderEvent.data", + "type": "Uncategorized", + "tags": [], + "label": "data", + "description": [], + "signature": [ + "Context | undefined" + ], + "path": "src/plugins/expressions/common/expression_renderers/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "expressions", "id": "def-common.IInterpreterRenderHandlers", @@ -30589,7 +32023,15 @@ "label": "update", "description": [], "signature": [ - "(params: any) => void" + "(params: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderUpdateParams", + "text": "IInterpreterRenderUpdateParams" + }, + ") => void" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -30597,12 +32039,19 @@ { "parentPluginId": "expressions", "id": "def-common.IInterpreterRenderHandlers.update.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "params", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderUpdateParams", + "text": "IInterpreterRenderUpdateParams" + }, + "" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -30619,7 +32068,15 @@ "label": "event", "description": [], "signature": [ - "(event: any) => void" + "(event: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + ") => void" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -30627,12 +32084,19 @@ { "parentPluginId": "expressions", "id": "def-common.IInterpreterRenderHandlers.event.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "event", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + "" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -30649,7 +32113,15 @@ "label": "hasCompatibleActions", "description": [], "signature": [ - "((event: any) => Promise) | undefined" + "((event: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + ") => Promise) | undefined" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -30657,12 +32129,19 @@ { "parentPluginId": "expressions", "id": "def-common.IInterpreterRenderHandlers.hasCompatibleActions.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "event", "description": [], "signature": [ - "any" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderEvent", + "text": "IInterpreterRenderEvent" + }, + "" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -30743,6 +32222,63 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "expressions", + "id": "def-common.IInterpreterRenderUpdateParams", + "type": "Interface", + "tags": [], + "label": "IInterpreterRenderUpdateParams", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.IInterpreterRenderUpdateParams", + "text": "IInterpreterRenderUpdateParams" + }, + "" + ], + "path": "src/plugins/expressions/common/expression_renderers/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "expressions", + "id": "def-common.IInterpreterRenderUpdateParams.newExpression", + "type": "CompoundType", + "tags": [], + "label": "newExpression", + "description": [], + "signature": [ + "string | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + " | undefined" + ], + "path": "src/plugins/expressions/common/expression_renderers/types.ts", + "deprecated": false + }, + { + "parentPluginId": "expressions", + "id": "def-common.IInterpreterRenderUpdateParams.newParams", + "type": "Uncategorized", + "tags": [], + "label": "newParams", + "description": [], + "signature": [ + "Params" + ], + "path": "src/plugins/expressions/common/expression_renderers/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "expressions", "id": "def-common.IRegistry", @@ -31431,7 +32967,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/types.ts", @@ -31474,7 +33016,7 @@ "section": "def-common.ExpressionTypeDefinition", "text": "ExpressionTypeDefinition" }, - "" + "" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -31737,7 +33279,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }> | undefined; rawError?: any; duration: number | undefined; }" ], "path": "src/plugins/expressions/common/ast/types.ts", @@ -31805,7 +33353,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/clog.ts", @@ -31868,7 +33422,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/cumulative_sum.ts", @@ -31931,7 +33491,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/derivative.ts", @@ -31953,7 +33519,15 @@ "section": "def-common.ExpressionFunctionDefinition", "text": "ExpressionFunctionDefinition" }, - "<\"font\", null, Arguments, ", + "<\"font\", null, ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.FontArguments", + "text": "FontArguments" + }, + ", ", { "pluginId": "expressions", "scope": "common", @@ -31978,7 +33552,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", @@ -32041,7 +33621,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/moving_average.ts", @@ -32104,7 +33690,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/overall_metric.ts", @@ -32126,7 +33718,7 @@ "section": "def-common.ExpressionFunctionDefinition", "text": "ExpressionFunctionDefinition" }, - "<\"theme\", null, Arguments, any, ", + "<\"theme\", null, Arguments, unknown, ", { "pluginId": "expressions", "scope": "common", @@ -32143,7 +33735,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/theme.ts", @@ -32198,7 +33796,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/ui_setting.ts", @@ -32237,7 +33841,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/var.ts", @@ -32276,7 +33886,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts", @@ -32319,7 +33935,15 @@ "label": "ExpressionValueConverter", "description": [], "signature": [ - "(input: I, availableTypes: Record) => O" + "(input: I, availableTypes: Record) => O" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false, @@ -32346,7 +33970,15 @@ "label": "availableTypes", "description": [], "signature": [ - "{ [x: string]: any; }" + "{ [x: string]: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionType", + "text": "ExpressionType" + }, + "; }" ], "path": "src/plugins/expressions/common/expression_types/types.ts", "deprecated": false @@ -32371,7 +34003,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -32535,7 +34173,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -32881,41 +34525,149 @@ ], "signature": [ "(T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends string ? \"string\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends boolean ? \"boolean\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends number ? \"number\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends null ? \"null\" : (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, ") extends { type: string; } ? ({ type: string; } & (T extends ", - "ObservableLike", - " ? ", - "UnwrapObservable", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapObservable", + "text": "UnwrapObservable" + }, " : ", - "UnwrapPromiseOrReturn", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.UnwrapPromiseOrReturn", + "text": "UnwrapPromiseOrReturn" + }, "))[\"type\"] : never" ], "path": "src/plugins/expressions/common/types/common.ts", @@ -34050,7 +35802,7 @@ "label": "validate", "description": [], "signature": [ - "(table: any) => void" + "(table: Record) => void" ], "path": "src/plugins/expressions/common/expression_types/specs/datatable.ts", "deprecated": false, @@ -34058,12 +35810,12 @@ { "parentPluginId": "expressions", "id": "def-common.datatable.validate.$1", - "type": "Any", + "type": "Object", "tags": [], "label": "table", "description": [], "signature": [ - "any" + "Record" ], "path": "src/plugins/expressions/common/expression_types/specs/datatable.ts", "deprecated": false, @@ -34869,7 +36621,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>) => ", { "pluginId": "expressions", @@ -34895,7 +36653,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>, \"error\" | \"info\">; }>" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -34925,7 +36689,13 @@ "text": "ErrorLike" }, "; info?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }>" ], "path": "src/plugins/expressions/common/expression_types/specs/error.ts", @@ -35744,7 +37514,15 @@ "label": "fn", "description": [], "signature": [ - "(input: null, args: Arguments) => { type: \"style\"; spec: ", + "(input: null, args: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.FontArguments", + "text": "FontArguments" + }, + ") => { type: \"style\"; spec: ", { "pluginId": "expressions", "scope": "common", @@ -35779,7 +37557,13 @@ "label": "args", "description": [], "signature": [ - "Arguments" + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.FontArguments", + "text": "FontArguments" + } ], "path": "src/plugins/expressions/common/expression_functions/specs/font.ts", "deprecated": false, @@ -36922,7 +38706,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => ", { "pluginId": "expressions", @@ -36999,7 +38789,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/expression_functions/specs/math_column.ts", @@ -38478,7 +40274,15 @@ "section": "def-common.PointSeriesColumns", "text": "PointSeriesColumns" }, - "; rows: Record[]; }>, types: Record) => ", + "; rows: Record[]; }>, types: Record) => ", { "pluginId": "expressions", "scope": "common", @@ -38536,7 +40340,15 @@ "label": "types", "description": [], "signature": [ - "Record" + "Record" ], "path": "src/plugins/expressions/common/expression_types/specs/pointseries.ts", "deprecated": false, @@ -39173,7 +40985,7 @@ "section": "def-common.ExpressionValueBoxed", "text": "ExpressionValueBoxed" }, - "<\"render\", { as: string; value: any; }>) => { type: string; as: string; value: ", + "<\"render\", { as: string; value: unknown; }>) => { type: string; as: string; value: ", { "pluginId": "expressions", "scope": "common", @@ -39181,7 +40993,7 @@ "section": "def-common.ExpressionValueBoxed", "text": "ExpressionValueBoxed" }, - "<\"render\", { as: string; value: any; }>; }" + "<\"render\", { as: string; value: unknown; }>; }" ], "path": "src/plugins/expressions/common/expression_types/specs/shape.ts", "deprecated": false, @@ -39201,7 +41013,7 @@ "section": "def-common.ExpressionValueBoxed", "text": "ExpressionValueBoxed" }, - "<\"render\", { as: string; value: any; }>" + "<\"render\", { as: string; value: unknown; }>" ], "path": "src/plugins/expressions/common/expression_types/specs/shape.ts", "deprecated": false, @@ -39647,7 +41459,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => any" ], "path": "src/plugins/expressions/common/expression_functions/specs/theme.ts", @@ -39705,7 +41523,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/expression_functions/specs/theme.ts", @@ -40127,8 +41951,14 @@ "text": "Adapters" }, ", ", - "SerializableRecord", - ">) => any" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + ">) => unknown" ], "path": "src/plugins/expressions/common/expression_functions/specs/var.ts", "deprecated": false, @@ -40185,7 +42015,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/expression_functions/specs/var.ts", @@ -40390,7 +42226,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => unknown" ], "path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts", @@ -40448,7 +42290,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/expressions/common/expression_functions/specs/var_set.ts", diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index 75a88f308f258..82b35631ddfe1 100644 --- a/api_docs/expressions.mdx +++ b/api_docs/expressions.mdx @@ -1,7 +1,7 @@ --- id: kibExpressionsPluginApi -slug: /kibana-dev-docs/expressionsPluginApi -title: expressions +slug: /kibana-dev-docs/api/expressions +title: "expressions" image: https://source.unsplash.com/400x175/?github summary: API docs for the expressions plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2072 | 65 | 1626 | 4 | +| 2095 | 27 | 1646 | 4 | ## Client diff --git a/api_docs/features.json b/api_docs/features.json index 14910879bdb50..c3749ffb6751c 100644 --- a/api_docs/features.json +++ b/api_docs/features.json @@ -888,11 +888,29 @@ "description": [], "signature": [ "Readonly<{ id: string; management?: Readonly<{ [x: string]: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "; }> | undefined; catalogue?: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, " | undefined; privileges: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "<", { "pluginId": "features", @@ -928,7 +946,13 @@ "label": "catalogue", "description": [], "signature": [ - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, " | undefined" ], "path": "x-pack/plugins/features/common/elasticsearch_feature.ts", @@ -943,7 +967,13 @@ "description": [], "signature": [ "Readonly<{ [x: string]: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "; }> | undefined" ], "path": "x-pack/plugins/features/common/elasticsearch_feature.ts", @@ -957,7 +987,13 @@ "label": "privileges", "description": [], "signature": [ - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "<", { "pluginId": "features", @@ -2279,11 +2315,29 @@ "description": [], "signature": [ "Readonly<{ id: string; management?: Readonly<{ [x: string]: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "; }> | undefined; catalogue?: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, " | undefined; privileges: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "<", { "pluginId": "features", @@ -2319,7 +2373,13 @@ "label": "catalogue", "description": [], "signature": [ - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, " | undefined" ], "path": "x-pack/plugins/features/common/elasticsearch_feature.ts", @@ -2334,7 +2394,13 @@ "description": [], "signature": [ "Readonly<{ [x: string]: ", - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "; }> | undefined" ], "path": "x-pack/plugins/features/common/elasticsearch_feature.ts", @@ -2348,7 +2414,13 @@ "label": "privileges", "description": [], "signature": [ - "RecursiveReadonlyArray", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, "<", { "pluginId": "features", diff --git a/api_docs/features.mdx b/api_docs/features.mdx index a36ed69bad728..9e1e64c0c7937 100644 --- a/api_docs/features.mdx +++ b/api_docs/features.mdx @@ -1,7 +1,7 @@ --- id: kibFeaturesPluginApi -slug: /kibana-dev-docs/featuresPluginApi -title: features +slug: /kibana-dev-docs/api/features +title: "features" image: https://source.unsplash.com/400x175/?github summary: API docs for the features plugin date: 2020-11-16 diff --git a/api_docs/field_formats.json b/api_docs/field_formats.json index 3784d5f221593..2cd5beb47d67e 100644 --- a/api_docs/field_formats.json +++ b/api_docs/field_formats.json @@ -66,7 +66,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/public/lib/converters/date.ts", "deprecated": false @@ -177,7 +183,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/date_nanos_shared.ts", "deprecated": false @@ -390,7 +402,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/server/lib/converters/date_server.ts", "deprecated": false @@ -761,7 +779,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/field_formats/common/converters/boolean.ts", @@ -958,7 +982,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/field_formats/common/converters/color.tsx", @@ -1106,7 +1136,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/duration.ts", "deprecated": false @@ -2166,9 +2202,21 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -2191,7 +2239,13 @@ "- the field type" ], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2207,7 +2261,13 @@ "- Array of ES data types" ], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2312,9 +2372,21 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -2336,7 +2408,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2352,7 +2430,13 @@ "- Array of ES data types" ], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2375,9 +2459,21 @@ ], "signature": [ "(esTypes: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2393,7 +2489,13 @@ "- Array of ES data types" ], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2416,13 +2518,37 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | ", - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2435,7 +2561,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2449,7 +2581,13 @@ "label": "esTypes", "description": [], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2541,9 +2679,21 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", { "pluginId": "fieldFormats", @@ -2572,7 +2722,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2586,7 +2742,13 @@ "label": "esTypes", "description": [], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2629,9 +2791,21 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[]) => string" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2645,7 +2819,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2659,7 +2839,13 @@ "label": "esTypes", "description": [], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2682,7 +2868,13 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ") => ", { "pluginId": "fieldFormats", @@ -2704,7 +2896,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2726,9 +2924,21 @@ ], "signature": [ "(fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", { "pluginId": "fieldFormats", @@ -2757,7 +2967,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", "deprecated": false, @@ -2771,7 +2987,13 @@ "label": "esTypes", "description": [], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined" ], "path": "src/plugins/field_formats/common/field_formats_registry.ts", @@ -2981,7 +3203,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/histogram.ts", "deprecated": false @@ -3147,7 +3375,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/ip.ts", "deprecated": false @@ -3478,7 +3712,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/relative_date.ts", "deprecated": false @@ -3580,7 +3820,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/source.tsx", "deprecated": false @@ -3741,7 +3987,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/field_formats/common/converters/static_lookup.ts", @@ -3859,7 +4111,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/field_formats/common/converters/string.ts", @@ -4049,7 +4307,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES" + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } ], "path": "src/plugins/field_formats/common/converters/truncate.ts", "deprecated": false @@ -4151,7 +4415,13 @@ "label": "fieldType", "description": [], "signature": [ - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "[]" ], "path": "src/plugins/field_formats/common/converters/url.ts", @@ -4915,9 +5185,21 @@ "text": "FormatFactory" }, "; getDefaultConfig: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -4943,9 +5225,21 @@ "text": "FieldFormatInstanceType" }, " | undefined; getDefaultType: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -4955,17 +5249,53 @@ "text": "FieldFormatInstanceType" }, " | undefined; getTypeNameByEsTypes: (esTypes: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | undefined; getDefaultTypeName: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "; getInstance: (formatId: string, params?: ", { "pluginId": "fieldFormats", @@ -4983,9 +5313,21 @@ "text": "FieldFormat" }, "; getDefaultInstancePlain: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", { "pluginId": "fieldFormats", @@ -5003,11 +5345,29 @@ "text": "FieldFormat" }, "; getDefaultInstanceCacheResolver: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[]) => string; getByFieldType: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ") => ", { "pluginId": "fieldFormats", @@ -5017,9 +5377,21 @@ "text": "FieldFormatInstanceType" }, "[]; getDefaultInstance: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", { "pluginId": "fieldFormats", @@ -5261,9 +5633,21 @@ "text": "FieldFormatInstanceType" }, "[]) => void; getDefaultConfig: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -5289,9 +5673,21 @@ "text": "FieldFormatInstanceType" }, " | undefined; getDefaultType: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", { "pluginId": "fieldFormats", @@ -5301,17 +5697,53 @@ "text": "FieldFormatInstanceType" }, " | undefined; getTypeNameByEsTypes: (esTypes: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | undefined; getDefaultTypeName: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined) => ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, " | ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, "; getInstance: (formatId: string, params?: ", { "pluginId": "fieldFormats", @@ -5329,9 +5761,21 @@ "text": "FieldFormat" }, "; getDefaultInstancePlain: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", { "pluginId": "fieldFormats", @@ -5349,11 +5793,29 @@ "text": "FieldFormat" }, "; getDefaultInstanceCacheResolver: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[]) => string; getByFieldType: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ") => ", { "pluginId": "fieldFormats", @@ -5363,9 +5825,21 @@ "text": "FieldFormatInstanceType" }, "[]; getDefaultInstance: (fieldType: ", - "KBN_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + }, ", esTypes?: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, "[] | undefined, params?: ", { "pluginId": "fieldFormats", diff --git a/api_docs/field_formats.mdx b/api_docs/field_formats.mdx index 55a11cf593a9f..047e31418a17c 100644 --- a/api_docs/field_formats.mdx +++ b/api_docs/field_formats.mdx @@ -1,7 +1,7 @@ --- id: kibFieldFormatsPluginApi -slug: /kibana-dev-docs/fieldFormatsPluginApi -title: fieldFormats +slug: /kibana-dev-docs/api/fieldFormats +title: "fieldFormats" image: https://source.unsplash.com/400x175/?github summary: API docs for the fieldFormats plugin date: 2020-11-16 diff --git a/api_docs/file_upload.json b/api_docs/file_upload.json index 7eff1049957ad..783237a5a618c 100644 --- a/api_docs/file_upload.json +++ b/api_docs/file_upload.json @@ -293,9 +293,21 @@ "label": "geoFieldType", "description": [], "signature": [ - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".GEO_POINT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".GEO_SHAPE" ], "path": "x-pack/plugins/file_upload/public/lazy_load_bundle/index.ts", @@ -1101,67 +1113,253 @@ "description": [], "signature": [ "{ properties: { [fieldName: string]: { type: ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".STRING | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".TEXT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".KEYWORD | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".VERSION | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".BOOLEAN | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".OBJECT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".DATE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".DATE_NANOS | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".DATE_RANGE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".GEO_POINT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".GEO_SHAPE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".FLOAT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".HALF_FLOAT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".SCALED_FLOAT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".DOUBLE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".INTEGER | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".LONG | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".SHORT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".UNSIGNED_LONG | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".FLOAT_RANGE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".DOUBLE_RANGE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".INTEGER_RANGE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".LONG_RANGE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".NESTED | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".BYTE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".IP | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".IP_RANGE | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".ATTACHMENT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".TOKEN_COUNT | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".MURMUR3 | ", - "ES_FIELD_TYPES", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, ".HISTOGRAM; format?: string | undefined; }; }; }" ], "path": "x-pack/plugins/file_upload/common/types.ts", diff --git a/api_docs/file_upload.mdx b/api_docs/file_upload.mdx index b1a6955d7cba7..25770622a25e4 100644 --- a/api_docs/file_upload.mdx +++ b/api_docs/file_upload.mdx @@ -1,7 +1,7 @@ --- id: kibFileUploadPluginApi -slug: /kibana-dev-docs/fileUploadPluginApi -title: fileUpload +slug: /kibana-dev-docs/api/fileUpload +title: "fileUpload" image: https://source.unsplash.com/400x175/?github summary: API docs for the fileUpload plugin date: 2020-11-16 diff --git a/api_docs/fleet.json b/api_docs/fleet.json index 77a9fdb97afc5..b1a9d1bf89488 100644 --- a/api_docs/fleet.json +++ b/api_docs/fleet.json @@ -5018,7 +5018,13 @@ "description": [], "signature": [ "(options?: ", - "ListArtifactsProps", + { + "pluginId": "fleet", + "scope": "server", + "docId": "kibFleetPluginApi", + "section": "def-server.ListArtifactsProps", + "text": "ListArtifactsProps" + }, " | undefined) => Promise<", { "pluginId": "fleet", @@ -5048,7 +5054,13 @@ "label": "options", "description": [], "signature": [ - "ListArtifactsProps", + { + "pluginId": "fleet", + "scope": "server", + "docId": "kibFleetPluginApi", + "section": "def-server.ListArtifactsProps", + "text": "ListArtifactsProps" + }, " | undefined" ], "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", @@ -5454,6 +5466,20 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "fleet", + "id": "def-server.ListArtifactsProps", + "type": "Type", + "tags": [], + "label": "ListArtifactsProps", + "description": [], + "signature": [ + "Pick, \"page\" | \"perPage\" | \"sortOrder\" | \"kuery\"> & { sortField?: string | undefined; }" + ], + "path": "x-pack/plugins/fleet/server/services/artifacts/types.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "fleet", "id": "def-server.PackagePolicyServiceInterface", @@ -9025,6 +9051,19 @@ ], "path": "x-pack/plugins/fleet/common/types/models/epm.ts", "deprecated": false + }, + { + "parentPluginId": "fleet", + "id": "def-common.EpmPackageAdditions.keepPoliciesUpToDate", + "type": "CompoundType", + "tags": [], + "label": "keepPoliciesUpToDate", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "deprecated": false } ], "initialIsOpen": false @@ -12088,6 +12127,16 @@ ], "path": "x-pack/plugins/fleet/common/types/models/epm.ts", "deprecated": false + }, + { + "parentPluginId": "fleet", + "id": "def-common.Installation.keep_policies_up_to_date", + "type": "boolean", + "tags": [], + "label": "keep_policies_up_to_date", + "description": [], + "path": "x-pack/plugins/fleet/common/types/models/epm.ts", + "deprecated": false } ], "initialIsOpen": false @@ -12235,10 +12284,10 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-common.IntegrationCardItem.uiInternalPathUrl", + "id": "def-common.IntegrationCardItem.url", "type": "string", "tags": [], - "label": "uiInternalPathUrl", + "label": "url", "description": [], "path": "x-pack/plugins/fleet/common/types/models/epm.ts", "deprecated": false @@ -12304,6 +12353,15 @@ "label": "icons", "description": [], "signature": [ + "(", + { + "pluginId": "customIntegrations", + "scope": "common", + "docId": "kibCustomIntegrationsPluginApi", + "section": "def-common.CustomIntegrationIcon", + "text": "CustomIntegrationIcon" + }, + " | ", { "pluginId": "fleet", "scope": "common", @@ -12311,7 +12369,7 @@ "section": "def-common.PackageSpecIcon", "text": "PackageSpecIcon" }, - "[]" + ")[]" ], "path": "x-pack/plugins/fleet/common/types/models/epm.ts", "deprecated": false @@ -15632,6 +15690,166 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "fleet", + "id": "def-common.UpdatePackageRequest", + "type": "Interface", + "tags": [], + "label": "UpdatePackageRequest", + "description": [], + "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "fleet", + "id": "def-common.UpdatePackageRequest.params", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "{ pkgkey: string; }" + ], + "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "deprecated": false + }, + { + "parentPluginId": "fleet", + "id": "def-common.UpdatePackageRequest.body", + "type": "Object", + "tags": [], + "label": "body", + "description": [], + "signature": [ + "{ keepPoliciesUpToDate?: boolean | undefined; }" + ], + "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "fleet", + "id": "def-common.UpdatePackageResponse", + "type": "Interface", + "tags": [], + "label": "UpdatePackageResponse", + "description": [], + "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "fleet", + "id": "def-common.UpdatePackageResponse.response", + "type": "CompoundType", + "tags": [], + "label": "response", + "description": [], + "signature": [ + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installed", + "text": "Installed" + }, + "> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.NotInstalled", + "text": "NotInstalled" + }, + "> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.Installed", + "text": "Installed" + }, + "> | ", + { + "pluginId": "fleet", + "scope": "common", + "docId": "kibFleetPluginApi", + "section": "def-common.NotInstalled", + "text": "NotInstalled" + }, + ">" + ], + "path": "x-pack/plugins/fleet/common/types/rest_spec/epm.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "fleet", "id": "def-common.UpgradePackagePolicyBaseResponse", @@ -15933,6 +16151,20 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "fleet", + "id": "def-common.AGENT_POLICY_DEFAULT_MONITORING_DATASETS", + "type": "Array", + "tags": [], + "label": "AGENT_POLICY_DEFAULT_MONITORING_DATASETS", + "description": [], + "signature": [ + "string[]" + ], + "path": "x-pack/plugins/fleet/common/constants/agent_policy.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "fleet", "id": "def-common.AGENT_POLICY_INDEX", @@ -20179,6 +20411,36 @@ } ], "returnComment": [] + }, + { + "parentPluginId": "fleet", + "id": "def-common.epmRouteService.getUpdatePath", + "type": "Function", + "tags": [], + "label": "getUpdatePath", + "description": [], + "signature": [ + "(pkgkey: string) => string" + ], + "path": "x-pack/plugins/fleet/common/services/routes.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "fleet", + "id": "def-common.epmRouteService.getUpdatePath.$1", + "type": "string", + "tags": [], + "label": "pkgkey", + "description": [], + "signature": [ + "string" + ], + "path": "x-pack/plugins/fleet/common/services/routes.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] } ], "initialIsOpen": false diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index c09e76db1f912..bd467d94391f6 100644 --- a/api_docs/fleet.mdx +++ b/api_docs/fleet.mdx @@ -1,7 +1,7 @@ --- id: kibFleetPluginApi -slug: /kibana-dev-docs/fleetPluginApi -title: fleet +slug: /kibana-dev-docs/api/fleet +title: "fleet" image: https://source.unsplash.com/400x175/?github summary: API docs for the fleet plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Fleet](https://github.com/orgs/elastic/teams/fleet) for questions regar | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 1196 | 15 | 1095 | 11 | +| 1207 | 15 | 1106 | 10 | ## Client diff --git a/api_docs/global_search.json b/api_docs/global_search.json index afe4ecbe30a08..a8b5ca35c634e 100644 --- a/api_docs/global_search.json +++ b/api_docs/global_search.json @@ -297,7 +297,13 @@ ], "signature": [ "Record | undefined" ], "path": "x-pack/plugins/global_search/common/types.ts", @@ -803,7 +809,13 @@ ], "signature": [ "Record | undefined" ], "path": "x-pack/plugins/global_search/common/types.ts", diff --git a/api_docs/global_search.mdx b/api_docs/global_search.mdx index 2f779837a77b7..99b8ed63a80e8 100644 --- a/api_docs/global_search.mdx +++ b/api_docs/global_search.mdx @@ -1,7 +1,7 @@ --- id: kibGlobalSearchPluginApi -slug: /kibana-dev-docs/globalSearchPluginApi -title: globalSearch +slug: /kibana-dev-docs/api/globalSearch +title: "globalSearch" image: https://source.unsplash.com/400x175/?github summary: API docs for the globalSearch plugin date: 2020-11-16 diff --git a/api_docs/home.json b/api_docs/home.json index 551bd35836d07..585bd6b18d07b 100644 --- a/api_docs/home.json +++ b/api_docs/home.json @@ -973,17 +973,15 @@ "label": "SampleDataRegistrySetup", "description": [], "signature": [ - "{ registerSampleDataset: (specProvider: ", + "{ getSampleDatasets: () => ", { - "pluginId": "home", + "pluginId": "@kbn/utility-types", "scope": "server", - "docId": "kibHomePluginApi", - "section": "def-server.SampleDatasetProvider", - "text": "SampleDatasetProvider" + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Writable", + "text": "Writable" }, - ") => void; getSampleDatasets: () => ", - "Writable", - "[]; defaultIndex: string; previewImagePath: string; overviewDashboard: string; appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]; dataIndices: Readonly<{} & { id: string; fields: Record; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>[]; addSavedObjectsToSampleDataset: (id: string, savedObjects: ", + "[]; defaultIndex: string; previewImagePath: string; overviewDashboard: string; appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]; dataIndices: Readonly<{} & { id: string; fields: Record; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>[]; addSavedObjectsToSampleDataset: (id: string, savedObjects: ", "SavedObject", "[]) => void; addAppLinksToSampleDataset: (id: string, appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]) => void; replacePanelInSampleDatasetDashboard: ({ sampleDataId, dashboardId, oldEmbeddableId, embeddableId, embeddableType, embeddableConfig, }: ", "SampleDatasetDashboardPanel", @@ -1002,8 +1000,14 @@ "description": [], "signature": [ "() => ", - "Writable", - "[]; defaultIndex: string; previewImagePath: string; overviewDashboard: string; appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]; dataIndices: Readonly<{} & { id: string; fields: Record; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Writable", + "text": "Writable" + }, + "[]; defaultIndex: string; previewImagePath: string; overviewDashboard: string; appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]; dataIndices: Readonly<{} & { id: string; fields: Record; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>" ], "path": "src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types.ts", "deprecated": false, @@ -1021,7 +1025,7 @@ "signature": [ "(context: ", "TutorialContext", - ") => Readonly<{ isBeta?: boolean | undefined; savedObjects?: any[] | undefined; euiIconType?: string | undefined; previewImagePath?: string | undefined; moduleName?: string | undefined; completionTimeMinutes?: number | undefined; elasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; onPremElasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; artifacts?: Readonly<{ application?: Readonly<{} & { label: string; path: string; }> | undefined; exportedFields?: Readonly<{} & { documentationUrl: string; }> | undefined; } & { dashboards: Readonly<{ linkLabel?: string | undefined; } & { id: string; isOverview: boolean; }>[]; }> | undefined; savedObjectsInstallMsg?: string | undefined; customStatusCheckName?: string | undefined; integrationBrowserCategories?: string[] | undefined; } & { id: string; name: string; category: \"security\" | \"metrics\" | \"other\" | \"logging\"; shortDescription: string; longDescription: string; onPrem: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }>; }>" + ") => Readonly<{ isBeta?: boolean | undefined; savedObjects?: any[] | undefined; euiIconType?: string | undefined; previewImagePath?: string | undefined; moduleName?: string | undefined; completionTimeMinutes?: number | undefined; elasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; onPremElasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; artifacts?: Readonly<{ application?: Readonly<{} & { label: string; path: string; }> | undefined; exportedFields?: Readonly<{} & { documentationUrl: string; }> | undefined; } & { dashboards: Readonly<{ linkLabel?: string | undefined; } & { id: string; isOverview: boolean; }>[]; }> | undefined; savedObjectsInstallMsg?: string | undefined; customStatusCheckName?: string | undefined; integrationBrowserCategories?: string[] | undefined; eprPackageOverlap?: string | undefined; } & { id: string; name: string; category: \"security\" | \"metrics\" | \"other\" | \"logging\"; shortDescription: string; longDescription: string; onPrem: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }>; }>" ], "path": "src/plugins/home/server/services/tutorials/lib/tutorials_registry_types.ts", "deprecated": false, @@ -1051,7 +1055,7 @@ "label": "TutorialSchema", "description": [], "signature": [ - "{ readonly isBeta?: boolean | undefined; readonly savedObjects?: any[] | undefined; readonly euiIconType?: string | undefined; readonly previewImagePath?: string | undefined; readonly moduleName?: string | undefined; readonly completionTimeMinutes?: number | undefined; readonly elasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; readonly onPremElasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; readonly artifacts?: Readonly<{ application?: Readonly<{} & { label: string; path: string; }> | undefined; exportedFields?: Readonly<{} & { documentationUrl: string; }> | undefined; } & { dashboards: Readonly<{ linkLabel?: string | undefined; } & { id: string; isOverview: boolean; }>[]; }> | undefined; readonly savedObjectsInstallMsg?: string | undefined; readonly customStatusCheckName?: string | undefined; readonly integrationBrowserCategories?: string[] | undefined; readonly id: string; readonly name: string; readonly category: \"security\" | \"metrics\" | \"other\" | \"logging\"; readonly shortDescription: string; readonly longDescription: string; readonly onPrem: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }>; }" + "{ readonly isBeta?: boolean | undefined; readonly savedObjects?: any[] | undefined; readonly euiIconType?: string | undefined; readonly previewImagePath?: string | undefined; readonly moduleName?: string | undefined; readonly completionTimeMinutes?: number | undefined; readonly elasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; readonly onPremElasticCloud?: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }> | undefined; readonly artifacts?: Readonly<{ application?: Readonly<{} & { label: string; path: string; }> | undefined; exportedFields?: Readonly<{} & { documentationUrl: string; }> | undefined; } & { dashboards: Readonly<{ linkLabel?: string | undefined; } & { id: string; isOverview: boolean; }>[]; }> | undefined; readonly savedObjectsInstallMsg?: string | undefined; readonly customStatusCheckName?: string | undefined; readonly integrationBrowserCategories?: string[] | undefined; readonly eprPackageOverlap?: string | undefined; readonly id: string; readonly name: string; readonly category: \"security\" | \"metrics\" | \"other\" | \"logging\"; readonly shortDescription: string; readonly longDescription: string; readonly onPrem: Readonly<{ params?: Readonly<{ defaultValue?: any; } & { type: \"string\" | \"number\"; label: string; id: string; }>[] | undefined; } & { instructionSets: Readonly<{ title?: string | undefined; callOut?: Readonly<{ iconType?: string | undefined; message?: string | undefined; } & { title: string; }> | undefined; statusCheck?: Readonly<{ title?: string | undefined; text?: string | undefined; error?: string | undefined; success?: string | undefined; btnLabel?: string | undefined; } & { esHitsCheck: Readonly<{} & { query: Record; index: string | string[]; }>; }> | undefined; } & { instructionVariants: Readonly<{} & { id: string; instructions: Readonly<{ title?: string | undefined; commands?: string[] | undefined; textPre?: string | undefined; textPost?: string | undefined; customComponentName?: string | undefined; } & {}>[]; }>[]; }>[]; }>; }" ], "path": "src/plugins/home/server/services/tutorials/lib/tutorial_schema.ts", "deprecated": false, @@ -1302,17 +1306,15 @@ "label": "sampleData", "description": [], "signature": [ - "{ registerSampleDataset: (specProvider: ", + "{ getSampleDatasets: () => ", { - "pluginId": "home", + "pluginId": "@kbn/utility-types", "scope": "server", - "docId": "kibHomePluginApi", - "section": "def-server.SampleDatasetProvider", - "text": "SampleDatasetProvider" + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Writable", + "text": "Writable" }, - ") => void; getSampleDatasets: () => ", - "Writable", - "[]; defaultIndex: string; previewImagePath: string; overviewDashboard: string; appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]; dataIndices: Readonly<{} & { id: string; fields: Record; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>[]; addSavedObjectsToSampleDataset: (id: string, savedObjects: ", + "[]; defaultIndex: string; previewImagePath: string; overviewDashboard: string; appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]; dataIndices: Readonly<{} & { id: string; fields: Record; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>[]; addSavedObjectsToSampleDataset: (id: string, savedObjects: ", "SavedObject", "[]) => void; addAppLinksToSampleDataset: (id: string, appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]) => void; replacePanelInSampleDatasetDashboard: ({ sampleDataId, dashboardId, oldEmbeddableId, embeddableId, embeddableType, embeddableConfig, }: ", "SampleDatasetDashboardPanel", diff --git a/api_docs/home.mdx b/api_docs/home.mdx index a32912283f83f..025374fc8dc34 100644 --- a/api_docs/home.mdx +++ b/api_docs/home.mdx @@ -1,7 +1,7 @@ --- id: kibHomePluginApi -slug: /kibana-dev-docs/homePluginApi -title: home +slug: /kibana-dev-docs/api/home +title: "home" image: https://source.unsplash.com/400x175/?github summary: API docs for the home plugin date: 2020-11-16 diff --git a/api_docs/index_lifecycle_management.json b/api_docs/index_lifecycle_management.json index cf986a92aaaae..a9ba03331707a 100644 --- a/api_docs/index_lifecycle_management.json +++ b/api_docs/index_lifecycle_management.json @@ -20,7 +20,13 @@ "text": "IlmLocatorParams" }, " extends ", - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "x-pack/plugins/index_lifecycle_management/public/locator.ts", "deprecated": false, diff --git a/api_docs/index_lifecycle_management.mdx b/api_docs/index_lifecycle_management.mdx index 76a706f6df35e..ebcd0818faf04 100644 --- a/api_docs/index_lifecycle_management.mdx +++ b/api_docs/index_lifecycle_management.mdx @@ -1,7 +1,7 @@ --- id: kibIndexLifecycleManagementPluginApi -slug: /kibana-dev-docs/indexLifecycleManagementPluginApi -title: indexLifecycleManagement +slug: /kibana-dev-docs/api/indexLifecycleManagement +title: "indexLifecycleManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the indexLifecycleManagement plugin date: 2020-11-16 diff --git a/api_docs/index_management.json b/api_docs/index_management.json index daa3bf8c1b357..251438a7d7d81 100644 --- a/api_docs/index_management.json +++ b/api_docs/index_management.json @@ -2316,6 +2316,20 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "indexManagement", + "id": "def-common.MAJOR_VERSION", + "type": "string", + "tags": [], + "label": "MAJOR_VERSION", + "description": [], + "signature": [ + "\"8.0.0\"" + ], + "path": "x-pack/plugins/index_management/common/constants/plugin.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "indexManagement", "id": "def-common.TemplateType", diff --git a/api_docs/index_management.mdx b/api_docs/index_management.mdx index 1df1b7bdfc515..cd543449aa7cb 100644 --- a/api_docs/index_management.mdx +++ b/api_docs/index_management.mdx @@ -1,7 +1,7 @@ --- id: kibIndexManagementPluginApi -slug: /kibana-dev-docs/indexManagementPluginApi -title: indexManagement +slug: /kibana-dev-docs/api/indexManagement +title: "indexManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the indexManagement plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-ma | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 168 | 9 | 163 | 3 | +| 169 | 9 | 164 | 3 | ## Client diff --git a/api_docs/index_pattern_editor.json b/api_docs/index_pattern_editor.json index 728e17eb7af66..dd20a2907338f 100644 --- a/api_docs/index_pattern_editor.json +++ b/api_docs/index_pattern_editor.json @@ -26,9 +26,9 @@ "signature": [ "(indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -48,9 +48,9 @@ ], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" } diff --git a/api_docs/index_pattern_editor.mdx b/api_docs/index_pattern_editor.mdx index 941f27d6ee837..1be236e05e2c7 100644 --- a/api_docs/index_pattern_editor.mdx +++ b/api_docs/index_pattern_editor.mdx @@ -1,7 +1,7 @@ --- id: kibIndexPatternEditorPluginApi -slug: /kibana-dev-docs/indexPatternEditorPluginApi -title: indexPatternEditor +slug: /kibana-dev-docs/api/indexPatternEditor +title: "indexPatternEditor" image: https://source.unsplash.com/400x175/?github summary: API docs for the indexPatternEditor plugin date: 2020-11-16 diff --git a/api_docs/index_pattern_field_editor.json b/api_docs/index_pattern_field_editor.json index 4eee3d8d89e39..e95d84e832fe9 100644 --- a/api_docs/index_pattern_field_editor.json +++ b/api_docs/index_pattern_field_editor.json @@ -327,9 +327,9 @@ "signature": [ "{ indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -404,9 +404,9 @@ "signature": [ "{ indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -425,9 +425,9 @@ "signature": [ "((field: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternField", "text": "IndexPatternField" }, @@ -445,9 +445,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPatternField", "text": "IndexPatternField" } diff --git a/api_docs/index_pattern_field_editor.mdx b/api_docs/index_pattern_field_editor.mdx index 7a3cfd0e66bbe..fa38c1fe47d03 100644 --- a/api_docs/index_pattern_field_editor.mdx +++ b/api_docs/index_pattern_field_editor.mdx @@ -1,7 +1,7 @@ --- id: kibIndexPatternFieldEditorPluginApi -slug: /kibana-dev-docs/indexPatternFieldEditorPluginApi -title: indexPatternFieldEditor +slug: /kibana-dev-docs/api/indexPatternFieldEditor +title: "indexPatternFieldEditor" image: https://source.unsplash.com/400x175/?github summary: API docs for the indexPatternFieldEditor plugin date: 2020-11-16 diff --git a/api_docs/index_pattern_management.mdx b/api_docs/index_pattern_management.mdx index 59b5ebe0c1af9..68ff44c1143c7 100644 --- a/api_docs/index_pattern_management.mdx +++ b/api_docs/index_pattern_management.mdx @@ -1,7 +1,7 @@ --- id: kibIndexPatternManagementPluginApi -slug: /kibana-dev-docs/indexPatternManagementPluginApi -title: indexPatternManagement +slug: /kibana-dev-docs/api/indexPatternManagement +title: "indexPatternManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the indexPatternManagement plugin date: 2020-11-16 diff --git a/api_docs/infra.mdx b/api_docs/infra.mdx index b5ad793aa368f..5ac3690f67400 100644 --- a/api_docs/infra.mdx +++ b/api_docs/infra.mdx @@ -1,7 +1,7 @@ --- id: kibInfraPluginApi -slug: /kibana-dev-docs/infraPluginApi -title: infra +slug: /kibana-dev-docs/api/infra +title: "infra" image: https://source.unsplash.com/400x175/?github summary: API docs for the infra plugin date: 2020-11-16 diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index 2b1be2406e618..24931ecbaa639 100644 --- a/api_docs/inspector.mdx +++ b/api_docs/inspector.mdx @@ -1,7 +1,7 @@ --- id: kibInspectorPluginApi -slug: /kibana-dev-docs/inspectorPluginApi -title: inspector +slug: /kibana-dev-docs/api/inspector +title: "inspector" image: https://source.unsplash.com/400x175/?github summary: API docs for the inspector plugin date: 2020-11-16 diff --git a/api_docs/interactive_setup.mdx b/api_docs/interactive_setup.mdx index b38b8168bcfef..afc6ca7bb7e5a 100644 --- a/api_docs/interactive_setup.mdx +++ b/api_docs/interactive_setup.mdx @@ -1,7 +1,7 @@ --- id: kibInteractiveSetupPluginApi -slug: /kibana-dev-docs/interactiveSetupPluginApi -title: interactiveSetup +slug: /kibana-dev-docs/api/interactiveSetup +title: "interactiveSetup" image: https://source.unsplash.com/400x175/?github summary: API docs for the interactiveSetup plugin date: 2020-11-16 diff --git a/api_docs/kbn_ace.json b/api_docs/kbn_ace.json new file mode 100644 index 0000000000000..074835365da89 --- /dev/null +++ b/api_docs/kbn_ace.json @@ -0,0 +1,199 @@ +{ + "id": "@kbn/ace", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/ace", + "id": "def-server.addToRules", + "type": "Function", + "tags": [], + "label": "addToRules", + "description": [], + "signature": [ + "(otherRules: any, embedUnder: any) => void" + ], + "path": "packages/kbn-ace/src/ace/modes/lexer_rules/x_json_highlight_rules.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/ace", + "id": "def-server.addToRules.$1", + "type": "Any", + "tags": [], + "label": "otherRules", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-ace/src/ace/modes/lexer_rules/x_json_highlight_rules.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/ace", + "id": "def-server.addToRules.$2", + "type": "Any", + "tags": [], + "label": "embedUnder", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-ace/src/ace/modes/lexer_rules/x_json_highlight_rules.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/ace", + "id": "def-server.ElasticsearchSqlHighlightRules", + "type": "Function", + "tags": [], + "label": "ElasticsearchSqlHighlightRules", + "description": [], + "signature": [ + "(this: any) => void" + ], + "path": "packages/kbn-ace/src/ace/modes/lexer_rules/elasticsearch_sql_highlight_rules.ts", + "deprecated": false, + "returnComment": [], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/ace", + "id": "def-server.installXJsonMode", + "type": "Function", + "tags": [], + "label": "installXJsonMode", + "description": [], + "signature": [ + "(editor: ", + "Editor", + ") => void" + ], + "path": "packages/kbn-ace/src/ace/modes/x_json/x_json.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/ace", + "id": "def-server.installXJsonMode.$1", + "type": "Object", + "tags": [], + "label": "editor", + "description": [], + "signature": [ + "Editor" + ], + "path": "packages/kbn-ace/src/ace/modes/x_json/x_json.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/ace", + "id": "def-server.ScriptHighlightRules", + "type": "Function", + "tags": [], + "label": "ScriptHighlightRules", + "description": [], + "signature": [ + "(this: any) => void" + ], + "path": "packages/kbn-ace/src/ace/modes/lexer_rules/script_highlight_rules.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/ace", + "id": "def-server.ScriptHighlightRules.$1", + "type": "Any", + "tags": [], + "label": "this", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-ace/src/ace/modes/lexer_rules/script_highlight_rules.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/ace", + "id": "def-server.XJsonHighlightRules", + "type": "Function", + "tags": [], + "label": "XJsonHighlightRules", + "description": [], + "signature": [ + "(this: any) => void" + ], + "path": "packages/kbn-ace/src/ace/modes/lexer_rules/x_json_highlight_rules.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/ace", + "id": "def-server.XJsonHighlightRules.$1", + "type": "Any", + "tags": [], + "label": "this", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-ace/src/ace/modes/lexer_rules/x_json_highlight_rules.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/ace", + "id": "def-server.XJsonMode", + "type": "Any", + "tags": [], + "label": "XJsonMode", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-ace/src/ace/modes/x_json/x_json.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_ace.mdx b/api_docs/kbn_ace.mdx new file mode 100644 index 0000000000000..dca62be25e191 --- /dev/null +++ b/api_docs/kbn_ace.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnAcePluginApi +slug: /kibana-dev-docs/api/kbn-ace +title: "@kbn/ace" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/ace plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/ace'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnAceObj from './kbn_ace.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 11 | 5 | 11 | 0 | + +## Server + +### Functions + + +### Consts, variables and types + + diff --git a/api_docs/kbn_alerts.json b/api_docs/kbn_alerts.json new file mode 100644 index 0000000000000..c5b3ff62837f2 --- /dev/null +++ b/api_docs/kbn_alerts.json @@ -0,0 +1,155 @@ +{ + "id": "@kbn/alerts", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/alerts", + "id": "def-common.AlertsFeatureNoPermissions", + "type": "Function", + "tags": [], + "label": "AlertsFeatureNoPermissions", + "description": [], + "signature": [ + "{ ({ documentationUrl, iconType, }: React.PropsWithChildren): JSX.Element; displayName: string | undefined; }" + ], + "path": "packages/kbn-alerts/src/features_no_permissions/index.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/alerts", + "id": "def-common.AlertsFeatureNoPermissions.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n documentationUrl,\n iconType,\n}", + "description": [], + "signature": [ + "React.PropsWithChildren" + ], + "path": "packages/kbn-alerts/src/features_no_permissions/index.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/alerts", + "id": "def-common.useGetUserAlertsPermissions", + "type": "Function", + "tags": [], + "label": "useGetUserAlertsPermissions", + "description": [], + "signature": [ + "(uiCapabilities: any, featureId: string) => ", + { + "pluginId": "@kbn/alerts", + "scope": "common", + "docId": "kibKbnAlertsPluginApi", + "section": "def-common.UseGetUserAlertsPermissionsProps", + "text": "UseGetUserAlertsPermissionsProps" + } + ], + "path": "packages/kbn-alerts/src/hooks/use_get_alerts_permissions/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/alerts", + "id": "def-common.useGetUserAlertsPermissions.$1", + "type": "Any", + "tags": [], + "label": "uiCapabilities", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-alerts/src/hooks/use_get_alerts_permissions/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/alerts", + "id": "def-common.useGetUserAlertsPermissions.$2", + "type": "string", + "tags": [], + "label": "featureId", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-alerts/src/hooks/use_get_alerts_permissions/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/alerts", + "id": "def-common.UseGetUserAlertsPermissionsProps", + "type": "Interface", + "tags": [], + "label": "UseGetUserAlertsPermissionsProps", + "description": [], + "path": "packages/kbn-alerts/src/hooks/use_get_alerts_permissions/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/alerts", + "id": "def-common.UseGetUserAlertsPermissionsProps.crud", + "type": "boolean", + "tags": [], + "label": "crud", + "description": [], + "path": "packages/kbn-alerts/src/hooks/use_get_alerts_permissions/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/alerts", + "id": "def-common.UseGetUserAlertsPermissionsProps.read", + "type": "boolean", + "tags": [], + "label": "read", + "description": [], + "path": "packages/kbn-alerts/src/hooks/use_get_alerts_permissions/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/alerts", + "id": "def-common.UseGetUserAlertsPermissionsProps.loading", + "type": "boolean", + "tags": [], + "label": "loading", + "description": [], + "path": "packages/kbn-alerts/src/hooks/use_get_alerts_permissions/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_alerts.mdx b/api_docs/kbn_alerts.mdx new file mode 100644 index 0000000000000..ceeb2b8d27e4d --- /dev/null +++ b/api_docs/kbn_alerts.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnAlertsPluginApi +slug: /kibana-dev-docs/api/kbn-alerts +title: "@kbn/alerts" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/alerts plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/alerts'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnAlertsObj from './kbn_alerts.json'; + +Alerts components and hooks + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 9 | 1 | 9 | 0 | + +## Common + +### Functions + + +### Interfaces + + diff --git a/api_docs/kbn_analytics.json b/api_docs/kbn_analytics.json new file mode 100644 index 0000000000000..a514d2a73da72 --- /dev/null +++ b/api_docs/kbn_analytics.json @@ -0,0 +1,1181 @@ +{ + "id": "@kbn/analytics", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker", + "type": "Class", + "tags": [], + "label": "ApplicationUsageTracker", + "description": [], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "reporter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Reporter", + "text": "Reporter" + } + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.serializeKey", + "type": "Function", + "tags": [], + "label": "serializeKey", + "description": [], + "signature": [ + "({ appId, viewId }: ApplicationKey) => string" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.serializeKey.$1", + "type": "Object", + "tags": [], + "label": "{ appId, viewId }", + "description": [], + "signature": [ + "ApplicationKey" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.updateViewClickCounter", + "type": "Function", + "tags": [], + "label": "updateViewClickCounter", + "description": [], + "signature": [ + "(viewId: string) => void" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.updateViewClickCounter.$1", + "type": "string", + "tags": [], + "label": "viewId", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.start", + "type": "Function", + "tags": [], + "label": "start", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.stop", + "type": "Function", + "tags": [], + "label": "stop", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.setCurrentAppId", + "type": "Function", + "tags": [], + "label": "setCurrentAppId", + "description": [], + "signature": [ + "(appId: string) => void" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.setCurrentAppId.$1", + "type": "string", + "tags": [], + "label": "appId", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.trackApplicationViewUsage", + "type": "Function", + "tags": [], + "label": "trackApplicationViewUsage", + "description": [], + "signature": [ + "(viewId: string) => void" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.trackApplicationViewUsage.$1", + "type": "string", + "tags": [], + "label": "viewId", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.pauseTrackingAll", + "type": "Function", + "tags": [], + "label": "pauseTrackingAll", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.resumeTrackingAll", + "type": "Function", + "tags": [], + "label": "resumeTrackingAll", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.flushTrackedView", + "type": "Function", + "tags": [], + "label": "flushTrackedView", + "description": [], + "signature": [ + "(viewId: string) => void" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ApplicationUsageTracker.flushTrackedView.$1", + "type": "string", + "tags": [], + "label": "viewId", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-analytics/src/application_usage_tracker.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter", + "type": "Class", + "tags": [], + "label": "Reporter", + "description": [], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.checkInterval", + "type": "number", + "tags": [], + "label": "checkInterval", + "description": [], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.ReporterConfig", + "text": "ReporterConfig" + } + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.start", + "type": "Function", + "tags": [], + "label": "start", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.reportUiCounter", + "type": "Function", + "tags": [], + "label": "reportUiCounter", + "description": [], + "signature": [ + "(appName: string, type: ", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, + ", eventNames: string | string[], count?: number | undefined) => void" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.reportUiCounter.$1", + "type": "string", + "tags": [], + "label": "appName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.reportUiCounter.$2", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + } + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.reportUiCounter.$3", + "type": "CompoundType", + "tags": [], + "label": "eventNames", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.reportUiCounter.$4", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.reportUserAgent", + "type": "Function", + "tags": [], + "label": "reportUserAgent", + "description": [], + "signature": [ + "(appName: string) => void" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.reportUserAgent.$1", + "type": "string", + "tags": [], + "label": "appName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.reportApplicationUsage", + "type": "Function", + "tags": [], + "label": "reportApplicationUsage", + "description": [], + "signature": [ + "(appUsageReport: ", + "ApplicationUsageMetric", + ") => void" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.reportApplicationUsage.$1", + "type": "Object", + "tags": [], + "label": "appUsageReport", + "description": [], + "signature": [ + "ApplicationUsageMetric" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Reporter.sendReports", + "type": "Function", + "tags": [], + "label": "sendReports", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager", + "type": "Class", + "tags": [], + "label": "ReportManager", + "description": [], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.REPORT_VERSION", + "type": "number", + "tags": [], + "label": "REPORT_VERSION", + "description": [], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.report", + "type": "Object", + "tags": [], + "label": "report", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Report", + "text": "Report" + } + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "report", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Report", + "text": "Report" + }, + " | undefined" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.createReport", + "type": "Function", + "tags": [], + "label": "createReport", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Report", + "text": "Report" + } + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.clearReport", + "type": "Function", + "tags": [], + "label": "clearReport", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.isReportEmpty", + "type": "Function", + "tags": [], + "label": "isReportEmpty", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.assignReports", + "type": "Function", + "tags": [], + "label": "assignReports", + "description": [], + "signature": [ + "(newMetrics: ", + "ApplicationUsageMetric", + " | ", + "UiCounterMetric", + " | ", + "UserAgentMetric", + " | ", + "Metric", + "[]) => { report: ", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Report", + "text": "Report" + }, + "; }" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.assignReports.$1", + "type": "CompoundType", + "tags": [], + "label": "newMetrics", + "description": [], + "signature": [ + "ApplicationUsageMetric", + " | ", + "UiCounterMetric", + " | ", + "UserAgentMetric", + " | ", + "Metric", + "[]" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.createMetricKey", + "type": "Function", + "tags": [], + "label": "createMetricKey", + "description": [], + "signature": [ + "(metric: ", + "Metric", + ") => string" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportManager.createMetricKey.$1", + "type": "CompoundType", + "tags": [], + "label": "metric", + "description": [], + "signature": [ + "Metric" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [], + "interfaces": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Report", + "type": "Interface", + "tags": [], + "label": "Report", + "description": [], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Report.reportVersion", + "type": "number", + "tags": [], + "label": "reportVersion", + "description": [], + "signature": [ + "3" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Report.uiCounter", + "type": "Object", + "tags": [], + "label": "uiCounter", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Report.userAgent", + "type": "Object", + "tags": [], + "label": "userAgent", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Report.application_usage", + "type": "Object", + "tags": [], + "label": "application_usage", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "packages/kbn-analytics/src/report.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReporterConfig", + "type": "Interface", + "tags": [], + "label": "ReporterConfig", + "description": [], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReporterConfig.http", + "type": "Function", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "(report: ", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Report", + "text": "Report" + }, + ") => Promise" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReporterConfig.http.$1", + "type": "Object", + "tags": [], + "label": "report", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Report", + "text": "Report" + } + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReporterConfig.storage", + "type": "Object", + "tags": [], + "label": "storage", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Storage", + "text": "Storage" + }, + "<", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Report", + "text": "Report" + }, + ", void> | undefined" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReporterConfig.checkInterval", + "type": "number", + "tags": [], + "label": "checkInterval", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReporterConfig.debug", + "type": "CompoundType", + "tags": [], + "label": "debug", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReporterConfig.storageKey", + "type": "string", + "tags": [], + "label": "storageKey", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Storage", + "type": "Interface", + "tags": [], + "label": "Storage", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Storage", + "text": "Storage" + }, + "" + ], + "path": "packages/kbn-analytics/src/storage.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Storage.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(key: string) => T | undefined" + ], + "path": "packages/kbn-analytics/src/storage.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Storage.get.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-analytics/src/storage.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Storage.set", + "type": "Function", + "tags": [], + "label": "set", + "description": [], + "signature": [ + "(key: string, value: T) => S" + ], + "path": "packages/kbn-analytics/src/storage.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Storage.set.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-analytics/src/storage.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Storage.set.$2", + "type": "Uncategorized", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-analytics/src/storage.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Storage.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "(key: string) => T | undefined" + ], + "path": "packages/kbn-analytics/src/storage.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Storage.remove.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-analytics/src/storage.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.Storage.clear", + "type": "Function", + "tags": [], + "label": "clear", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-analytics/src/storage.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.METRIC_TYPE", + "type": "Enum", + "tags": [], + "label": "METRIC_TYPE", + "description": [], + "path": "packages/kbn-analytics/src/metrics/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "misc": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportHTTP", + "type": "Type", + "tags": [], + "label": "ReportHTTP", + "description": [], + "signature": [ + "(report: ", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Report", + "text": "Report" + }, + ") => Promise" + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.ReportHTTP.$1", + "type": "Object", + "tags": [], + "label": "report", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.Report", + "text": "Report" + } + ], + "path": "packages/kbn-analytics/src/reporter.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/analytics", + "id": "def-common.UiCounterMetricType", + "type": "Type", + "tags": [], + "label": "UiCounterMetricType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.METRIC_TYPE", + "text": "METRIC_TYPE" + }, + ".COUNT | ", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.METRIC_TYPE", + "text": "METRIC_TYPE" + }, + ".LOADED | ", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.METRIC_TYPE", + "text": "METRIC_TYPE" + }, + ".CLICK" + ], + "path": "packages/kbn-analytics/src/metrics/ui_counter.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_analytics.mdx b/api_docs/kbn_analytics.mdx new file mode 100644 index 0000000000000..08202a64e17b1 --- /dev/null +++ b/api_docs/kbn_analytics.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnAnalyticsPluginApi +slug: /kibana-dev-docs/api/kbn-analytics +title: "@kbn/analytics" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/analytics plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/analytics'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnAnalyticsObj from './kbn_analytics.json'; + +Kibana Analytics tool + +Contact Ahmad Bamieh ahmadbamieh@gmail.com for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 69 | 0 | 69 | 4 | + +## Common + +### Classes + + +### Interfaces + + +### Enums + + +### Consts, variables and types + + diff --git a/api_docs/kbn_apm_config_loader.json b/api_docs/kbn_apm_config_loader.json new file mode 100644 index 0000000000000..11ddc8679c815 --- /dev/null +++ b/api_docs/kbn_apm_config_loader.json @@ -0,0 +1,237 @@ +{ + "id": "@kbn/apm-config-loader", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.ApmConfiguration", + "type": "Class", + "tags": [], + "label": "ApmConfiguration", + "description": [], + "path": "packages/kbn-apm-config-loader/src/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.ApmConfiguration.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-apm-config-loader/src/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.ApmConfiguration.Unnamed.$1", + "type": "string", + "tags": [], + "label": "rootDir", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-apm-config-loader/src/config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.ApmConfiguration.Unnamed.$2", + "type": "Object", + "tags": [], + "label": "rawKibanaConfig", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-apm-config-loader/src/config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.ApmConfiguration.Unnamed.$3", + "type": "boolean", + "tags": [], + "label": "isDistributable", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-apm-config-loader/src/config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.ApmConfiguration.getConfig", + "type": "Function", + "tags": [], + "label": "getConfig", + "description": [], + "signature": [ + "(serviceName: string) => ", + "AgentConfigOptions" + ], + "path": "packages/kbn-apm-config-loader/src/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.ApmConfiguration.getConfig.$1", + "type": "string", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-apm-config-loader/src/config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.getConfiguration", + "type": "Function", + "tags": [], + "label": "getConfiguration", + "description": [], + "signature": [ + "(serviceName: string) => ", + "AgentConfigOptions", + " | undefined" + ], + "path": "packages/kbn-apm-config-loader/src/config_loader.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.getConfiguration.$1", + "type": "string", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-apm-config-loader/src/config_loader.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.initApm", + "type": "Function", + "tags": [], + "label": "initApm", + "description": [], + "signature": [ + "(argv: string[], rootDir: string, isDistributable: boolean, serviceName: string) => void" + ], + "path": "packages/kbn-apm-config-loader/src/init_apm.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.initApm.$1", + "type": "Array", + "tags": [], + "label": "argv", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-apm-config-loader/src/init_apm.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.initApm.$2", + "type": "string", + "tags": [], + "label": "rootDir", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-apm-config-loader/src/init_apm.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.initApm.$3", + "type": "boolean", + "tags": [], + "label": "isDistributable", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-apm-config-loader/src/init_apm.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/apm-config-loader", + "id": "def-server.initApm.$4", + "type": "string", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-apm-config-loader/src/init_apm.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_apm_config_loader.mdx b/api_docs/kbn_apm_config_loader.mdx new file mode 100644 index 0000000000000..abc95dbeff0b3 --- /dev/null +++ b/api_docs/kbn_apm_config_loader.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnApmConfigLoaderPluginApi +slug: /kibana-dev-docs/api/kbn-apm-config-loader +title: "@kbn/apm-config-loader" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/apm-config-loader plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-config-loader'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnApmConfigLoaderObj from './kbn_apm_config_loader.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 14 | 0 | 14 | 0 | + +## Server + +### Functions + + +### Classes + + diff --git a/api_docs/kbn_apm_utils.json b/api_docs/kbn_apm_utils.json new file mode 100644 index 0000000000000..d84543659268b --- /dev/null +++ b/api_docs/kbn_apm_utils.json @@ -0,0 +1,221 @@ +{ + "id": "@kbn/apm-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.parseSpanOptions", + "type": "Function", + "tags": [], + "label": "parseSpanOptions", + "description": [], + "signature": [ + "(optionsOrName: string | ", + { + "pluginId": "@kbn/apm-utils", + "scope": "server", + "docId": "kibKbnApmUtilsPluginApi", + "section": "def-server.SpanOptions", + "text": "SpanOptions" + }, + ") => ", + { + "pluginId": "@kbn/apm-utils", + "scope": "server", + "docId": "kibKbnApmUtilsPluginApi", + "section": "def-server.SpanOptions", + "text": "SpanOptions" + } + ], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.parseSpanOptions.$1", + "type": "CompoundType", + "tags": [], + "label": "optionsOrName", + "description": [], + "signature": [ + "string | ", + { + "pluginId": "@kbn/apm-utils", + "scope": "server", + "docId": "kibKbnApmUtilsPluginApi", + "section": "def-server.SpanOptions", + "text": "SpanOptions" + } + ], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.withSpan", + "type": "Function", + "tags": [], + "label": "withSpan", + "description": [], + "signature": [ + "(optionsOrName: string | ", + { + "pluginId": "@kbn/apm-utils", + "scope": "server", + "docId": "kibKbnApmUtilsPluginApi", + "section": "def-server.SpanOptions", + "text": "SpanOptions" + }, + ", cb: (span?: ", + "Span", + " | undefined) => Promise) => Promise" + ], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.withSpan.$1", + "type": "CompoundType", + "tags": [], + "label": "optionsOrName", + "description": [], + "signature": [ + "string | ", + { + "pluginId": "@kbn/apm-utils", + "scope": "server", + "docId": "kibKbnApmUtilsPluginApi", + "section": "def-server.SpanOptions", + "text": "SpanOptions" + } + ], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.withSpan.$2", + "type": "Function", + "tags": [], + "label": "cb", + "description": [], + "signature": [ + "(span?: ", + "Span", + " | undefined) => Promise" + ], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.SpanOptions", + "type": "Interface", + "tags": [], + "label": "SpanOptions", + "description": [], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.SpanOptions.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.SpanOptions.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.SpanOptions.subtype", + "type": "string", + "tags": [], + "label": "subtype", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.SpanOptions.labels", + "type": "Object", + "tags": [], + "label": "labels", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/apm-utils", + "id": "def-server.SpanOptions.intercept", + "type": "CompoundType", + "tags": [], + "label": "intercept", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-apm-utils/src/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_apm_utils.mdx b/api_docs/kbn_apm_utils.mdx new file mode 100644 index 0000000000000..b44198dfcbcfc --- /dev/null +++ b/api_docs/kbn_apm_utils.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnApmUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-apm-utils +title: "@kbn/apm-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/apm-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/apm-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnApmUtilsObj from './kbn_apm_utils.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 11 | 0 | 11 | 0 | + +## Server + +### Functions + + +### Interfaces + + diff --git a/api_docs/kbn_cli_dev_mode.json b/api_docs/kbn_cli_dev_mode.json new file mode 100644 index 0000000000000..8c46a55b9e382 --- /dev/null +++ b/api_docs/kbn_cli_dev_mode.json @@ -0,0 +1,59 @@ +{ + "id": "@kbn/cli-dev-mode", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/cli-dev-mode", + "id": "def-server.bootstrapDevMode", + "type": "Function", + "tags": [], + "label": "bootstrapDevMode", + "description": [], + "signature": [ + "({ configs, cliArgs, applyConfigOverrides }: BootstrapArgs) => Promise" + ], + "path": "packages/kbn-cli-dev-mode/src/bootstrap.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/cli-dev-mode", + "id": "def-server.bootstrapDevMode.$1", + "type": "Object", + "tags": [], + "label": "{ configs, cliArgs, applyConfigOverrides }", + "description": [], + "signature": [ + "BootstrapArgs" + ], + "path": "packages/kbn-cli-dev-mode/src/bootstrap.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_cli_dev_mode.mdx b/api_docs/kbn_cli_dev_mode.mdx new file mode 100644 index 0000000000000..ac89dc46c1900 --- /dev/null +++ b/api_docs/kbn_cli_dev_mode.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnCliDevModePluginApi +slug: /kibana-dev-docs/api/kbn-cli-dev-mode +title: "@kbn/cli-dev-mode" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/cli-dev-mode plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/cli-dev-mode'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnCliDevModeObj from './kbn_cli_dev_mode.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 2 | 0 | 2 | 0 | + +## Server + +### Functions + + diff --git a/api_docs/kbn_config.json b/api_docs/kbn_config.json new file mode 100644 index 0000000000000..71827efb5cea0 --- /dev/null +++ b/api_docs/kbn_config.json @@ -0,0 +1,895 @@ +{ + "id": "@kbn/config", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.Env", + "type": "Class", + "tags": [], + "label": "Env", + "description": [], + "path": "packages/kbn-config/src/env.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.Env.packageInfo", + "type": "Object", + "tags": [], + "label": "packageInfo", + "description": [ + "\nInformation about Kibana package (version, build number etc.)." + ], + "signature": [ + "{ readonly version: string; readonly branch: string; readonly buildNum: number; readonly buildSha: string; readonly dist: boolean; }" + ], + "path": "packages/kbn-config/src/env.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.Env.mode", + "type": "Object", + "tags": [], + "label": "mode", + "description": [ + "\nMode Kibana currently run in (development or production)." + ], + "signature": [ + "{ readonly name: \"production\" | \"development\"; readonly dev: boolean; readonly prod: boolean; }" + ], + "path": "packages/kbn-config/src/env.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.getPluginSearchPaths", + "type": "Function", + "tags": [], + "label": "getPluginSearchPaths", + "description": [], + "signature": [ + "({ rootDir, oss, examples }: SearchOptions) => string[]" + ], + "path": "packages/kbn-config/src/plugins/plugin_search_paths.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.getPluginSearchPaths.$1", + "type": "Object", + "tags": [], + "label": "{ rootDir, oss, examples }", + "description": [], + "signature": [ + "SearchOptions" + ], + "path": "packages/kbn-config/src/plugins/plugin_search_paths.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.hasConfigPathIntersection", + "type": "Function", + "tags": [], + "label": "hasConfigPathIntersection", + "description": [], + "signature": [ + "(leafPath: string, rootPath: string) => boolean" + ], + "path": "packages/kbn-config/src/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.hasConfigPathIntersection.$1", + "type": "string", + "tags": [], + "label": "leafPath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.hasConfigPathIntersection.$2", + "type": "string", + "tags": [], + "label": "rootPath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.isConfigPath", + "type": "Function", + "tags": [], + "label": "isConfigPath", + "description": [ + "\nChecks whether specified value can be considered as config path." + ], + "signature": [ + "(value: unknown) => boolean" + ], + "path": "packages/kbn-config/src/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.isConfigPath.$1", + "type": "Unknown", + "tags": [], + "label": "value", + "description": [ + "Value to check." + ], + "signature": [ + "unknown" + ], + "path": "packages/kbn-config/src/config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ChangedDeprecatedPaths", + "type": "Interface", + "tags": [], + "label": "ChangedDeprecatedPaths", + "description": [ + "\nList of config paths changed during deprecation.\n" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ChangedDeprecatedPaths.set", + "type": "Array", + "tags": [], + "label": "set", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ChangedDeprecatedPaths.unset", + "type": "Array", + "tags": [], + "label": "unset", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationCommand", + "type": "Interface", + "tags": [], + "label": "ConfigDeprecationCommand", + "description": [ + "\nOutcome of deprecation operation. Allows mutating config values in a declarative way.\n" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationCommand.set", + "type": "Array", + "tags": [], + "label": "set", + "description": [], + "signature": [ + "{ path: string; value: any; }[] | undefined" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationCommand.unset", + "type": "Array", + "tags": [], + "label": "unset", + "description": [], + "signature": [ + "{ path: string; }[] | undefined" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory", + "type": "Interface", + "tags": [], + "label": "ConfigDeprecationFactory", + "description": [ + "\nProvides helpers to generates the most commonly used {@link ConfigDeprecation}\nwhen invoking a {@link ConfigDeprecationProvider}.\n\nSee methods documentation for more detailed examples.\n" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.deprecate", + "type": "Function", + "tags": [], + "label": "deprecate", + "description": [ + "\nDeprecate a configuration property from inside a plugin's configuration path.\nWill log a deprecation warning if the deprecatedKey was found.\n" + ], + "signature": [ + "(deprecatedKey: string, removeBy: string, details?: Partial<", + "DeprecatedConfigDetails", + "> | undefined) => ", + "ConfigDeprecation" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.deprecate.$1", + "type": "string", + "tags": [], + "label": "deprecatedKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.deprecate.$2", + "type": "string", + "tags": [], + "label": "removeBy", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.deprecate.$3", + "type": "Object", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "Partial<", + "DeprecatedConfigDetails", + "> | undefined" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.deprecateFromRoot", + "type": "Function", + "tags": [], + "label": "deprecateFromRoot", + "description": [ + "\nDeprecate a configuration property from the root configuration.\nWill log a deprecation warning if the deprecatedKey was found.\n\nThis should be only used when deprecating properties from different configuration's path.\nTo deprecate properties from inside a plugin's configuration, use 'deprecate' instead.\n" + ], + "signature": [ + "(deprecatedKey: string, removeBy: string, details?: Partial<", + "DeprecatedConfigDetails", + "> | undefined) => ", + "ConfigDeprecation" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.deprecateFromRoot.$1", + "type": "string", + "tags": [], + "label": "deprecatedKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.deprecateFromRoot.$2", + "type": "string", + "tags": [], + "label": "removeBy", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.deprecateFromRoot.$3", + "type": "Object", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "Partial<", + "DeprecatedConfigDetails", + "> | undefined" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.rename", + "type": "Function", + "tags": [], + "label": "rename", + "description": [ + "\nRename a configuration property from inside a plugin's configuration path.\nWill log a deprecation warning if the oldKey was found and deprecation applied.\n" + ], + "signature": [ + "(oldKey: string, newKey: string, details?: Partial<", + "DeprecatedConfigDetails", + "> | undefined) => ", + "ConfigDeprecation" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.rename.$1", + "type": "string", + "tags": [], + "label": "oldKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.rename.$2", + "type": "string", + "tags": [], + "label": "newKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.rename.$3", + "type": "Object", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "Partial<", + "DeprecatedConfigDetails", + "> | undefined" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.renameFromRoot", + "type": "Function", + "tags": [], + "label": "renameFromRoot", + "description": [ + "\nRename a configuration property from the root configuration.\nWill log a deprecation warning if the oldKey was found and deprecation applied.\n\nThis should be only used when renaming properties from different configuration's path.\nTo rename properties from inside a plugin's configuration, use 'rename' instead.\n" + ], + "signature": [ + "(oldKey: string, newKey: string, details?: Partial<", + "DeprecatedConfigDetails", + "> | undefined) => ", + "ConfigDeprecation" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.renameFromRoot.$1", + "type": "string", + "tags": [], + "label": "oldKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.renameFromRoot.$2", + "type": "string", + "tags": [], + "label": "newKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.renameFromRoot.$3", + "type": "Object", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "Partial<", + "DeprecatedConfigDetails", + "> | undefined" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.unused", + "type": "Function", + "tags": [], + "label": "unused", + "description": [ + "\nRemove a configuration property from inside a plugin's configuration path.\nWill log a deprecation warning if the unused key was found and deprecation applied.\n" + ], + "signature": [ + "(unusedKey: string, details?: Partial<", + "DeprecatedConfigDetails", + "> | undefined) => ", + "ConfigDeprecation" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.unused.$1", + "type": "string", + "tags": [], + "label": "unusedKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.unused.$2", + "type": "Object", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "Partial<", + "DeprecatedConfigDetails", + "> | undefined" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.unusedFromRoot", + "type": "Function", + "tags": [], + "label": "unusedFromRoot", + "description": [ + "\nRemove a configuration property from the root configuration.\nWill log a deprecation warning if the unused key was found and deprecation applied.\n\nThis should be only used when removing properties from outside of a plugin's configuration.\nTo remove properties from inside a plugin's configuration, use 'unused' instead.\n" + ], + "signature": [ + "(unusedKey: string, details?: Partial<", + "DeprecatedConfigDetails", + "> | undefined) => ", + "ConfigDeprecation" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.unusedFromRoot.$1", + "type": "string", + "tags": [], + "label": "unusedKey", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationFactory.unusedFromRoot.$2", + "type": "Object", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "Partial<", + "DeprecatedConfigDetails", + "> | undefined" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.EnvironmentMode", + "type": "Interface", + "tags": [], + "label": "EnvironmentMode", + "description": [], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.EnvironmentMode.name", + "type": "CompoundType", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "\"production\" | \"development\"" + ], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.EnvironmentMode.dev", + "type": "boolean", + "tags": [], + "label": "dev", + "description": [], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.EnvironmentMode.prod", + "type": "boolean", + "tags": [], + "label": "prod", + "description": [], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.PackageInfo", + "type": "Interface", + "tags": [], + "label": "PackageInfo", + "description": [], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.PackageInfo.version", + "type": "string", + "tags": [], + "label": "version", + "description": [], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.PackageInfo.branch", + "type": "string", + "tags": [], + "label": "branch", + "description": [], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.PackageInfo.buildNum", + "type": "number", + "tags": [], + "label": "buildNum", + "description": [], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.PackageInfo.buildSha", + "type": "string", + "tags": [], + "label": "buildSha", + "description": [], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.PackageInfo.dist", + "type": "boolean", + "tags": [], + "label": "dist", + "description": [], + "path": "packages/kbn-config/src/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.AddConfigDeprecation", + "type": "Type", + "tags": [], + "label": "AddConfigDeprecation", + "description": [ + "\nConfig deprecation hook used when invoking a {@link ConfigDeprecation}\n" + ], + "signature": [ + "(details: ", + "DeprecatedConfigDetails", + ") => void" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.AddConfigDeprecation.$1", + "type": "Object", + "tags": [], + "label": "details", + "description": [], + "signature": [ + "DeprecatedConfigDetails" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationProvider", + "type": "Type", + "tags": [], + "label": "ConfigDeprecationProvider", + "description": [ + "\nA provider that should returns a list of {@link ConfigDeprecation}.\n\nSee {@link ConfigDeprecationFactory} for more usage examples.\n" + ], + "signature": [ + "(factory: ", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationFactory", + "text": "ConfigDeprecationFactory" + }, + ") => ", + "ConfigDeprecation", + "[]" + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigDeprecationProvider.$1", + "type": "Object", + "tags": [], + "label": "factory", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.ConfigDeprecationFactory", + "text": "ConfigDeprecationFactory" + } + ], + "path": "packages/kbn-config/src/deprecation/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.ConfigPath", + "type": "Type", + "tags": [], + "label": "ConfigPath", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "packages/kbn-config/src/config.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.RawConfigAdapter", + "type": "Type", + "tags": [], + "label": "RawConfigAdapter", + "description": [], + "signature": [ + "(rawConfig: Record) => Record" + ], + "path": "packages/kbn-config/src/raw/raw_config_service.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config", + "id": "def-server.RawConfigAdapter.$1", + "type": "Object", + "tags": [], + "label": "rawConfig", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "packages/kbn-config/src/raw/raw_config_service.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config", + "id": "def-server.RawConfigurationProvider", + "type": "Type", + "tags": [], + "label": "RawConfigurationProvider", + "description": [], + "signature": [ + "{ getConfig$: () => ", + "Observable", + ">; }" + ], + "path": "packages/kbn-config/src/raw/raw_config_service.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_config.mdx b/api_docs/kbn_config.mdx new file mode 100644 index 0000000000000..94939da9e8d78 --- /dev/null +++ b/api_docs/kbn_config.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnConfigPluginApi +slug: /kibana-dev-docs/api/kbn-config +title: "@kbn/config" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/config plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnConfigObj from './kbn_config.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 57 | 0 | 42 | 2 | + +## Server + +### Functions + + +### Classes + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_config_schema.json b/api_docs/kbn_config_schema.json new file mode 100644 index 0000000000000..1860c719840b6 --- /dev/null +++ b/api_docs/kbn_config_schema.json @@ -0,0 +1,3495 @@ +{ + "id": "@kbn/config-schema", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue", + "type": "Class", + "tags": [], + "label": "ByteSizeValue", + "description": [], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.parse", + "type": "Function", + "tags": [], + "label": "parse", + "description": [], + "signature": [ + "(text: string) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + } + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.parse.$1", + "type": "string", + "tags": [], + "label": "text", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.Unnamed.$1", + "type": "number", + "tags": [], + "label": "valueInBytes", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.isGreaterThan", + "type": "Function", + "tags": [], + "label": "isGreaterThan", + "description": [], + "signature": [ + "(other: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, + ") => boolean" + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.isGreaterThan.$1", + "type": "Object", + "tags": [], + "label": "other", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + } + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.isLessThan", + "type": "Function", + "tags": [], + "label": "isLessThan", + "description": [], + "signature": [ + "(other: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, + ") => boolean" + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.isLessThan.$1", + "type": "Object", + "tags": [], + "label": "other", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + } + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.isEqualTo", + "type": "Function", + "tags": [], + "label": "isEqualTo", + "description": [], + "signature": [ + "(other: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, + ") => boolean" + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.isEqualTo.$1", + "type": "Object", + "tags": [], + "label": "other", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + } + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.getValueInBytes", + "type": "Function", + "tags": [], + "label": "getValueInBytes", + "description": [], + "signature": [ + "() => number" + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.toString", + "type": "Function", + "tags": [], + "label": "toString", + "description": [], + "signature": [ + "(returnUnit?: \"b\" | \"kb\" | \"mb\" | \"gb\" | undefined) => string" + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ByteSizeValue.toString.$1", + "type": "CompoundType", + "tags": [], + "label": "returnUnit", + "description": [], + "signature": [ + "\"b\" | \"kb\" | \"mb\" | \"gb\" | undefined" + ], + "path": "packages/kbn-config-schema/src/byte_size_value/index.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType", + "type": "Class", + "tags": [], + "label": "ObjectType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "

extends ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + " ? Key : never; }[keyof P]>]?: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.TypeOf", + "text": "TypeOf" + }, + " | undefined; } & { [K in keyof Pick ? never : Key; }[keyof P]>]: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.TypeOf", + "text": "TypeOf" + }, + "; }>>" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.Unnamed.$1", + "type": "Uncategorized", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.Unnamed.$2", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "ObjectTypeOptions", + "

" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.extends", + "type": "Function", + "tags": [], + "label": "extends", + "description": [ + "\nReturn a new `ObjectType` instance extended with given `newProps` properties.\nOriginal properties can be deleted from the copy by passing a `null` or `undefined` value for the key.\n" + ], + "signature": [ + " | null | undefined>>(newProps: NP, newOptions?: ", + "ObjectTypeOptions", + "> | undefined) => ExtendedObjectType" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.extends.$1", + "type": "Uncategorized", + "tags": [], + "label": "newProps", + "description": [], + "signature": [ + "NP" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.extends.$2", + "type": "CompoundType", + "tags": [], + "label": "newOptions", + "description": [], + "signature": [ + "ObjectTypeOptions", + "> | undefined" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.handleError", + "type": "Function", + "tags": [], + "label": "handleError", + "description": [], + "signature": [ + "(type: string, { reason, value }: Record) => any" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.handleError.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.handleError.$2", + "type": "Object", + "tags": [], + "label": "{ reason, value }", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.validateKey", + "type": "Function", + "tags": [], + "label": "validateKey", + "description": [], + "signature": [ + "(key: string, value: any) => any" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.validateKey.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ObjectType.validateKey.$2", + "type": "Any", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.SchemaTypeError", + "type": "Class", + "tags": [], + "label": "SchemaTypeError", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.SchemaTypeError", + "text": "SchemaTypeError" + }, + " extends ", + "SchemaError" + ], + "path": "packages/kbn-config-schema/src/errors/schema_type_error.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.SchemaTypeError.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-config-schema/src/errors/schema_type_error.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.SchemaTypeError.Unnamed.$1", + "type": "CompoundType", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "string | Error" + ], + "path": "packages/kbn-config-schema/src/errors/schema_type_error.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.SchemaTypeError.Unnamed.$2", + "type": "Array", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-config-schema/src/errors/schema_type_error.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type", + "type": "Class", + "tags": [], + "label": "Type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.type", + "type": "Uncategorized", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "V" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.__isKbnConfigSchemaType", + "type": "boolean", + "tags": [], + "label": "__isKbnConfigSchemaType", + "description": [], + "signature": [ + "true" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.internalSchema", + "type": "Object", + "tags": [ + "type" + ], + "label": "internalSchema", + "description": [ + "\nInternal \"schema\" backed by Joi." + ], + "signature": [ + "AnySchema" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "schema", + "description": [], + "signature": [ + "AnySchema" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.Unnamed.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "TypeOptions", + "" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.validate", + "type": "Function", + "tags": [], + "label": "validate", + "description": [], + "signature": [ + "(value: any, context?: Record, namespace?: string | undefined) => V" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.validate.$1", + "type": "Any", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.validate.$2", + "type": "Object", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.validate.$3", + "type": "string", + "tags": [], + "label": "namespace", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.handleError", + "type": "Function", + "tags": [], + "label": "handleError", + "description": [], + "signature": [ + "(type: string, context: Record, path: string[]) => string | void | ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.SchemaTypeError", + "text": "SchemaTypeError" + } + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.handleError.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.handleError.$2", + "type": "Object", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Type.handleError.$3", + "type": "Array", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-config-schema/src/types/type.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ValidationError", + "type": "Class", + "tags": [], + "label": "ValidationError", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ValidationError", + "text": "ValidationError" + }, + " extends ", + "SchemaError" + ], + "path": "packages/kbn-config-schema/src/errors/validation_error.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ValidationError.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-config-schema/src/errors/validation_error.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ValidationError.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "error", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.SchemaTypeError", + "text": "SchemaTypeError" + } + ], + "path": "packages/kbn-config-schema/src/errors/validation_error.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.ValidationError.Unnamed.$2", + "type": "string", + "tags": [], + "label": "namespace", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-config-schema/src/errors/validation_error.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.isConfigSchema", + "type": "Function", + "tags": [], + "label": "isConfigSchema", + "description": [], + "signature": [ + "(obj: any) => boolean" + ], + "path": "packages/kbn-config-schema/src/typeguards/is_config_schema.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.isConfigSchema.$1", + "type": "Any", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-config-schema/src/typeguards/is_config_schema.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.NullableProps", + "type": "Type", + "tags": [], + "label": "NullableProps", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + " | null | undefined; }" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Props", + "type": "Type", + "tags": [], + "label": "Props", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; }" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.Schema", + "type": "Type", + "tags": [], + "label": "Schema", + "description": [], + "signature": [ + "{ any: (options?: ", + "TypeOptions", + " | undefined) => ", + "AnyType", + "; arrayOf: (itemType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", options?: ", + "ArrayOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; boolean: (options?: ", + "TypeOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; buffer: (options?: ", + "TypeOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; byteSize: (options?: ", + "ByteSizeOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "<", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, + ">; conditional: (leftOperand: ", + "Reference", + ", rightOperand: A | ", + "Reference", + " | ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", equalType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", notEqualType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", options?: ", + "TypeOptions", + " | undefined) => ", + "ConditionalType", + "; contextRef: (key: string) => ", + "ContextReference", + "; duration: (options?: ", + "DurationOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; ip: (options?: ", + "IpOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; literal: (value: T) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; mapOf: (keyType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", valueType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", options?: ", + "MapOfOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ">; maybe: (type: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ") => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; nullable: (type: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ") => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; never: () => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; number: (options?: ", + "NumberOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; object:

>>(props: P, options?: ", + "ObjectTypeOptions", + "

| undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "

; oneOf: { (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; }; recordOf: (keyType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", valueType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", options?: ", + "RecordOfOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ">; stream: (options?: ", + "TypeOptions", + "<", + "Stream", + "> | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "<", + "Stream", + ">; siblingRef: (key: string) => ", + "SiblingReference", + "; string: (options?: ", + "StringOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; uri: (options?: ", + "URIOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; }" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.TypeOf", + "type": "Type", + "tags": [], + "label": "TypeOf", + "description": [], + "signature": [ + "RT[\"type\"]" + ], + "path": "packages/kbn-config-schema/src/types/object_type.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema", + "type": "Object", + "tags": [], + "label": "schema", + "description": [], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.any", + "type": "Function", + "tags": [], + "label": "any", + "description": [], + "signature": [ + "(options?: ", + "TypeOptions", + " | undefined) => ", + "AnyType" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.any.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "TypeOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.arrayOf", + "type": "Function", + "tags": [], + "label": "arrayOf", + "description": [], + "signature": [ + "(itemType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", options?: ", + "ArrayOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.arrayOf.$1", + "type": "Object", + "tags": [], + "label": "itemType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.arrayOf.$2", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "ArrayOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.boolean", + "type": "Function", + "tags": [], + "label": "boolean", + "description": [], + "signature": [ + "(options?: ", + "TypeOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.boolean.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "TypeOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.buffer", + "type": "Function", + "tags": [], + "label": "buffer", + "description": [], + "signature": [ + "(options?: ", + "TypeOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.buffer.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "TypeOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.byteSize", + "type": "Function", + "tags": [], + "label": "byteSize", + "description": [], + "signature": [ + "(options?: ", + "ByteSizeOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "<", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, + ">" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.byteSize.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "ByteSizeOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.conditional", + "type": "Function", + "tags": [], + "label": "conditional", + "description": [], + "signature": [ + "(leftOperand: ", + "Reference", + ", rightOperand: A | ", + "Reference", + " | ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", equalType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", notEqualType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", options?: ", + "TypeOptions", + " | undefined) => ", + "ConditionalType", + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.conditional.$1", + "type": "Object", + "tags": [], + "label": "leftOperand", + "description": [], + "signature": [ + "Reference", + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.conditional.$2", + "type": "CompoundType", + "tags": [], + "label": "rightOperand", + "description": [], + "signature": [ + "A | ", + "Reference", + " | ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.conditional.$3", + "type": "Object", + "tags": [], + "label": "equalType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.conditional.$4", + "type": "Object", + "tags": [], + "label": "notEqualType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.conditional.$5", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "TypeOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.contextRef", + "type": "Function", + "tags": [], + "label": "contextRef", + "description": [], + "signature": [ + "(key: string) => ", + "ContextReference", + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.contextRef.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.duration", + "type": "Function", + "tags": [], + "label": "duration", + "description": [], + "signature": [ + "(options?: ", + "DurationOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.duration.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "DurationOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.ip", + "type": "Function", + "tags": [], + "label": "ip", + "description": [], + "signature": [ + "(options?: ", + "IpOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.ip.$1", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "IpOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.literal", + "type": "Function", + "tags": [], + "label": "literal", + "description": [], + "signature": [ + "(value: T) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.literal.$1", + "type": "Uncategorized", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.mapOf", + "type": "Function", + "tags": [], + "label": "mapOf", + "description": [], + "signature": [ + "(keyType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", valueType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", options?: ", + "MapOfOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ">" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.mapOf.$1", + "type": "Object", + "tags": [], + "label": "keyType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.mapOf.$2", + "type": "Object", + "tags": [], + "label": "valueType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.mapOf.$3", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "MapOfOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.maybe", + "type": "Function", + "tags": [], + "label": "maybe", + "description": [], + "signature": [ + "(type: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ") => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.maybe.$1", + "type": "Object", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.nullable", + "type": "Function", + "tags": [], + "label": "nullable", + "description": [], + "signature": [ + "(type: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ") => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.nullable.$1", + "type": "Object", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.never", + "type": "Function", + "tags": [], + "label": "never", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.number", + "type": "Function", + "tags": [], + "label": "number", + "description": [], + "signature": [ + "(options?: ", + "NumberOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.number.$1", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "NumberOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.object", + "type": "Function", + "tags": [], + "label": "object", + "description": [], + "signature": [ + "

>>(props: P, options?: ", + "ObjectTypeOptions", + "

| undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "

" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.object.$1", + "type": "Uncategorized", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "P" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.object.$2", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "ObjectTypeOptions", + "

| undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.oneOf", + "type": "Function", + "tags": [], + "label": "oneOf", + "description": [], + "signature": [ + "{ (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; (types: [", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "], options?: ", + "TypeOptions", + " | undefined): ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; }" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.recordOf", + "type": "Function", + "tags": [], + "label": "recordOf", + "description": [], + "signature": [ + "(keyType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", valueType: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ", options?: ", + "RecordOfOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + ">" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.recordOf.$1", + "type": "Object", + "tags": [], + "label": "keyType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.recordOf.$2", + "type": "Object", + "tags": [], + "label": "valueType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.recordOf.$3", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "RecordOfOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.stream", + "type": "Function", + "tags": [], + "label": "stream", + "description": [], + "signature": [ + "(options?: ", + "TypeOptions", + "<", + "Stream", + "> | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "<", + "Stream", + ">" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.stream.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "TypeOptions", + "<", + "Stream", + "> | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.siblingRef", + "type": "Function", + "tags": [], + "label": "siblingRef", + "description": [], + "signature": [ + "(key: string) => ", + "SiblingReference", + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.siblingRef.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.string", + "type": "Function", + "tags": [], + "label": "string", + "description": [], + "signature": [ + "(options?: ", + "StringOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.string.$1", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "StringOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.uri", + "type": "Function", + "tags": [], + "label": "uri", + "description": [], + "signature": [ + "(options?: ", + "URIOptions", + " | undefined) => ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/config-schema", + "id": "def-server.schema.uri.$1", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "URIOptions", + " | undefined" + ], + "path": "packages/kbn-config-schema/src/index.ts", + "deprecated": false + } + ] + } + ], + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_config_schema.mdx b/api_docs/kbn_config_schema.mdx new file mode 100644 index 0000000000000..41b143e7f2601 --- /dev/null +++ b/api_docs/kbn_config_schema.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnConfigSchemaPluginApi +slug: /kibana-dev-docs/api/kbn-config-schema +title: "@kbn/config-schema" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/config-schema plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/config-schema'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnConfigSchemaObj from './kbn_config_schema.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 109 | 3 | 107 | 18 | + +## Server + +### Objects + + +### Functions + + +### Classes + + +### Consts, variables and types + + diff --git a/api_docs/kbn_crypto.json b/api_docs/kbn_crypto.json new file mode 100644 index 0000000000000..06ba197514855 --- /dev/null +++ b/api_docs/kbn_crypto.json @@ -0,0 +1,243 @@ +{ + "id": "@kbn/crypto", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.createSHA256Hash", + "type": "Function", + "tags": [], + "label": "createSHA256Hash", + "description": [], + "signature": [ + "(input: string | Buffer, outputEncoding?: ", + "BinaryToTextEncoding", + ") => string" + ], + "path": "packages/kbn-crypto/src/sha256.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.createSHA256Hash.$1", + "type": "CompoundType", + "tags": [], + "label": "input", + "description": [], + "signature": [ + "string | Buffer" + ], + "path": "packages/kbn-crypto/src/sha256.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.createSHA256Hash.$2", + "type": "CompoundType", + "tags": [], + "label": "outputEncoding", + "description": [], + "signature": [ + "BinaryToTextEncoding" + ], + "path": "packages/kbn-crypto/src/sha256.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.readPkcs12Keystore", + "type": "Function", + "tags": [ + "privateRemarks" + ], + "label": "readPkcs12Keystore", + "description": [ + "\nReads a private key and certificate chain from a PKCS12 key store.\n" + ], + "signature": [ + "(path: string, password?: string | undefined) => ", + { + "pluginId": "@kbn/crypto", + "scope": "server", + "docId": "kibKbnCryptoPluginApi", + "section": "def-server.Pkcs12ReadResult", + "text": "Pkcs12ReadResult" + } + ], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.readPkcs12Keystore.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [ + "The file path of the PKCS12 key store" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.readPkcs12Keystore.$2", + "type": "string", + "tags": [], + "label": "password", + "description": [ + "The optional password of the key store and private key;\nif there is no password, this may be an empty string or `undefined`,\ndepending on how the key store was generated." + ], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "the parsed private key and certificate(s) in PEM format" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.readPkcs12Truststore", + "type": "Function", + "tags": [], + "label": "readPkcs12Truststore", + "description": [ + "\nReads a certificate chain from a PKCS12 trust store.\n" + ], + "signature": [ + "(path: string, password?: string | undefined) => string[] | undefined" + ], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.readPkcs12Truststore.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [ + "The file path of the PKCS12 trust store" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.readPkcs12Truststore.$2", + "type": "string", + "tags": [], + "label": "password", + "description": [ + "The optional password of the trust store; if there is\nno password, this may be an empty string or `undefined`, depending on\nhow the trust store was generated." + ], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "the parsed certificate(s) in PEM format" + ], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.Pkcs12ReadResult", + "type": "Interface", + "tags": [], + "label": "Pkcs12ReadResult", + "description": [], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.Pkcs12ReadResult.ca", + "type": "Array", + "tags": [], + "label": "ca", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.Pkcs12ReadResult.cert", + "type": "string", + "tags": [], + "label": "cert", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/crypto", + "id": "def-server.Pkcs12ReadResult.key", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-crypto/src/pkcs12.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_crypto.mdx b/api_docs/kbn_crypto.mdx new file mode 100644 index 0000000000000..287eac10434df --- /dev/null +++ b/api_docs/kbn_crypto.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnCryptoPluginApi +slug: /kibana-dev-docs/api/kbn-crypto +title: "@kbn/crypto" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/crypto plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/crypto'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnCryptoObj from './kbn_crypto.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 13 | 0 | 7 | 0 | + +## Server + +### Functions + + +### Interfaces + + diff --git a/api_docs/kbn_dev_utils.json b/api_docs/kbn_dev_utils.json new file mode 100644 index 0000000000000..04ce7aebc51e6 --- /dev/null +++ b/api_docs/kbn_dev_utils.json @@ -0,0 +1,4264 @@ +{ + "id": "@kbn/dev-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter", + "type": "Class", + "tags": [], + "label": "CiStatsReporter", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.fromEnv", + "type": "Function", + "tags": [], + "label": "fromEnv", + "description": [], + "signature": [ + "(log: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + ") => ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.CiStatsReporter", + "text": "CiStatsReporter" + } + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.fromEnv.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + "Config", + " | undefined" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.Unnamed.$2", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.isEnabled", + "type": "Function", + "tags": [], + "label": "isEnabled", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.hasBuildConfig", + "type": "Function", + "tags": [], + "label": "hasBuildConfig", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.timings", + "type": "Function", + "tags": [], + "label": "timings", + "description": [ + "\nReport timings data to the ci-stats service. If running in CI then the reporter\nwill include the buildId in the report with the access token, otherwise the timings\ndata will be recorded as anonymous timing data." + ], + "signature": [ + "(options: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.TimingsOptions", + "text": "TimingsOptions" + }, + ") => Promise" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.timings.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.TimingsOptions", + "text": "TimingsOptions" + } + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.metrics", + "type": "Function", + "tags": [], + "label": "metrics", + "description": [ + "\nReport metrics data to the ci-stats service. If running outside of CI this method\ndoes nothing as metrics can only be reported when associated with a specific CI build." + ], + "signature": [ + "(metrics: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.CiStatsMetric", + "text": "CiStatsMetric" + }, + "[]) => Promise" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsReporter.metrics.$1", + "type": "Array", + "tags": [], + "label": "metrics", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.CiStatsMetric", + "text": "CiStatsMetric" + }, + "[]" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner", + "type": "Class", + "tags": [ + "class" + ], + "label": "ProcRunner", + "description": [ + "\n Helper for starting and managing processes. In many ways it resembles the\n API from `grunt_run`, processes are named and can be started, waited for,\n backgrounded once they log something matching a RegExp...\n" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.run", + "type": "Function", + "tags": [ + "property", + "property", + "property", + "property", + "return" + ], + "label": "run", + "description": [ + "\n Start a process, tracking it by `name`" + ], + "signature": [ + "(name: string, options: RunOptions) => Promise" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.run.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.run.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "RunOptions" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.stop", + "type": "Function", + "tags": [], + "label": "stop", + "description": [ + "\n Stop a named proc" + ], + "signature": [ + "(name: string, signal?: NodeJS.Signals) => Promise" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.stop.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.stop.$2", + "type": "CompoundType", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "NodeJS.Signals" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.waitForAllToStop", + "type": "Function", + "tags": [ + "return" + ], + "label": "waitForAllToStop", + "description": [ + "\n Wait for all running processes to stop naturally" + ], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.teardown", + "type": "Function", + "tags": [ + "return" + ], + "label": "teardown", + "description": [ + "\n Close the ProcRunner and stop all running\n processes with `signal`\n" + ], + "signature": [ + "(signal?: \"exit\" | \"SIGABRT\" | \"SIGALRM\" | \"SIGBUS\" | \"SIGCHLD\" | \"SIGCONT\" | \"SIGFPE\" | \"SIGHUP\" | \"SIGILL\" | \"SIGINT\" | \"SIGIO\" | \"SIGIOT\" | \"SIGKILL\" | \"SIGPIPE\" | \"SIGPOLL\" | \"SIGPROF\" | \"SIGPWR\" | \"SIGQUIT\" | \"SIGSEGV\" | \"SIGSTKFLT\" | \"SIGSTOP\" | \"SIGSYS\" | \"SIGTERM\" | \"SIGTRAP\" | \"SIGTSTP\" | \"SIGTTIN\" | \"SIGTTOU\" | \"SIGUNUSED\" | \"SIGURG\" | \"SIGUSR1\" | \"SIGUSR2\" | \"SIGVTALRM\" | \"SIGWINCH\" | \"SIGXCPU\" | \"SIGXFSZ\" | \"SIGBREAK\" | \"SIGLOST\" | \"SIGINFO\") => Promise" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ProcRunner.teardown.$1", + "type": "CompoundType", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "\"exit\" | \"SIGABRT\" | \"SIGALRM\" | \"SIGBUS\" | \"SIGCHLD\" | \"SIGCONT\" | \"SIGFPE\" | \"SIGHUP\" | \"SIGILL\" | \"SIGINT\" | \"SIGIO\" | \"SIGIOT\" | \"SIGKILL\" | \"SIGPIPE\" | \"SIGPOLL\" | \"SIGPROF\" | \"SIGPWR\" | \"SIGQUIT\" | \"SIGSEGV\" | \"SIGSTKFLT\" | \"SIGSTOP\" | \"SIGSYS\" | \"SIGTERM\" | \"SIGTRAP\" | \"SIGTSTP\" | \"SIGTTIN\" | \"SIGTTOU\" | \"SIGUNUSED\" | \"SIGURG\" | \"SIGUSR1\" | \"SIGUSR2\" | \"SIGVTALRM\" | \"SIGWINCH\" | \"SIGXCPU\" | \"SIGXFSZ\" | \"SIGBREAK\" | \"SIGLOST\" | \"SIGINFO\"" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/proc_runner.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommands", + "type": "Class", + "tags": [], + "label": "RunWithCommands", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunWithCommands", + "text": "RunWithCommands" + }, + "" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommands.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommands.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunWithCommandsOptions", + "text": "RunWithCommandsOptions" + }, + "" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommands.Unnamed.$2", + "type": "Array", + "tags": [], + "label": "commands", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.Command", + "text": "Command" + }, + "[]" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommands.command", + "type": "Function", + "tags": [], + "label": "command", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.Command", + "text": "Command" + }, + ") => ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunWithCommands", + "text": "RunWithCommands" + }, + "" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommands.command.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.Command", + "text": "Command" + }, + "" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommands.execute", + "type": "Function", + "tags": [], + "label": "execute", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog", + "type": "Class", + "tags": [], + "label": "ToolingLog", + "description": [], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "writerConfig", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLogTextWriterConfig", + "text": "ToolingLogTextWriterConfig" + }, + " | undefined" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.indent", + "type": "Function", + "tags": [], + "label": "indent", + "description": [], + "signature": [ + "(delta?: number) => number" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.indent.$1", + "type": "number", + "tags": [], + "label": "delta", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.verbose", + "type": "Function", + "tags": [], + "label": "verbose", + "description": [], + "signature": [ + "(...args: any[]) => void" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.verbose.$1", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "any[]" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.debug", + "type": "Function", + "tags": [], + "label": "debug", + "description": [], + "signature": [ + "(...args: any[]) => void" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.debug.$1", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "any[]" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.info", + "type": "Function", + "tags": [], + "label": "info", + "description": [], + "signature": [ + "(...args: any[]) => void" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.info.$1", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "any[]" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.success", + "type": "Function", + "tags": [], + "label": "success", + "description": [], + "signature": [ + "(...args: any[]) => void" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.success.$1", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "any[]" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.warning", + "type": "Function", + "tags": [], + "label": "warning", + "description": [], + "signature": [ + "(...args: any[]) => void" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.warning.$1", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "any[]" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.error", + "type": "Function", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "(error: string | Error) => void" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.error.$1", + "type": "CompoundType", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "string | Error" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.write", + "type": "Function", + "tags": [], + "label": "write", + "description": [], + "signature": [ + "(...args: any[]) => void" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.write.$1", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "any[]" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.getWriters", + "type": "Function", + "tags": [], + "label": "getWriters", + "description": [], + "signature": [ + "() => ", + "Writer", + "[]" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.setWriters", + "type": "Function", + "tags": [], + "label": "setWriters", + "description": [], + "signature": [ + "(writers: ", + "Writer", + "[]) => void" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.setWriters.$1", + "type": "Array", + "tags": [], + "label": "writers", + "description": [], + "signature": [ + "Writer", + "[]" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLog.getWritten$", + "type": "Function", + "tags": [], + "label": "getWritten$", + "description": [], + "signature": [ + "() => ", + "Observable", + "<", + "Message", + ">" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogCollectingWriter", + "type": "Class", + "tags": [], + "label": "ToolingLogCollectingWriter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLogCollectingWriter", + "text": "ToolingLogCollectingWriter" + }, + " extends ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLogTextWriter", + "text": "ToolingLogTextWriter" + } + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_collecting_writer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogCollectingWriter.messages", + "type": "Array", + "tags": [], + "label": "messages", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_collecting_writer.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogCollectingWriter.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_collecting_writer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogCollectingWriter.Unnamed.$1", + "type": "CompoundType", + "tags": [], + "label": "level", + "description": [], + "signature": [ + "\"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\"" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_collecting_writer.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter", + "type": "Class", + "tags": [], + "label": "ToolingLogTextWriter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLogTextWriter", + "text": "ToolingLogTextWriter" + }, + " implements ", + "Writer" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.level", + "type": "Object", + "tags": [], + "label": "level", + "description": [], + "signature": [ + "{ name: \"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\"; flags: { warning: boolean; error: boolean; info: boolean; success: boolean; debug: boolean; silent: boolean; verbose: boolean; }; }" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.writeTo", + "type": "Object", + "tags": [], + "label": "writeTo", + "description": [], + "signature": [ + "{ write(msg: string): void; }" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLogTextWriterConfig", + "text": "ToolingLogTextWriterConfig" + } + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.write", + "type": "Function", + "tags": [], + "label": "write", + "description": [], + "signature": [ + "(msg: ", + "Message", + ") => boolean" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.write.$1", + "type": "Object", + "tags": [], + "label": "msg", + "description": [], + "signature": [ + "Message" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.write", + "type": "Function", + "tags": [], + "label": "write", + "description": [], + "signature": [ + "(writeTo: { write(msg: string): void; }, prefix: string, msg: ", + "Message", + ") => void" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.write.$1", + "type": "Object", + "tags": [], + "label": "writeTo", + "description": [], + "signature": [ + "{ write(msg: string): void; }" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.write.$2", + "type": "string", + "tags": [], + "label": "prefix", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriter.write.$3", + "type": "Object", + "tags": [], + "label": "msg", + "description": [], + "signature": [ + "Message" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.combineErrors", + "type": "Function", + "tags": [], + "label": "combineErrors", + "description": [], + "signature": [ + "(errors: (Error | FailError)[]) => Error" + ], + "path": "packages/kbn-dev-utils/src/run/fail.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.combineErrors.$1", + "type": "Array", + "tags": [], + "label": "errors", + "description": [], + "signature": [ + "(Error | FailError)[]" + ], + "path": "packages/kbn-dev-utils/src/run/fail.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.concatStreamProviders", + "type": "Function", + "tags": [ + "return" + ], + "label": "concatStreamProviders", + "description": [ + "\n Write the data and errors from a list of stream providers\n to a single stream in order. Stream providers are only\n called right before they will be consumed, and only one\n provider will be active at a time.\n" + ], + "signature": [ + "(sourceProviders: (() => ", + "Readable", + ")[], options: ", + "TransformOptions", + " | undefined) => ", + "PassThrough" + ], + "path": "node_modules/@kbn/utils/target_types/streams/concat_stream_providers.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.concatStreamProviders.$1", + "type": "Array", + "tags": [], + "label": "sourceProviders", + "description": [], + "signature": [ + "(() => ", + "Readable", + ")[]" + ], + "path": "node_modules/@kbn/utils/target_types/streams/concat_stream_providers.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.concatStreamProviders.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [ + "options passed to the PassThrough constructor" + ], + "signature": [ + "TransformOptions", + " | undefined" + ], + "path": "node_modules/@kbn/utils/target_types/streams/concat_stream_providers.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "combined stream" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createAbsolutePathSerializer", + "type": "Function", + "tags": [], + "label": "createAbsolutePathSerializer", + "description": [], + "signature": [ + "(rootPath: string, replacement: string) => { test: (value: any) => boolean; serialize: (value: string) => string; }" + ], + "path": "packages/kbn-dev-utils/src/serializers/absolute_path_serializer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createAbsolutePathSerializer.$1", + "type": "string", + "tags": [], + "label": "rootPath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/serializers/absolute_path_serializer.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createAbsolutePathSerializer.$2", + "type": "string", + "tags": [], + "label": "replacement", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/serializers/absolute_path_serializer.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createAnyInstanceSerializer", + "type": "Function", + "tags": [], + "label": "createAnyInstanceSerializer", + "description": [], + "signature": [ + "(Class: Function, name: string | ((instance: any) => string) | undefined) => { test: (v: any) => boolean; serialize: (v: any) => string; }" + ], + "path": "packages/kbn-dev-utils/src/serializers/any_instance_serizlizer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createAnyInstanceSerializer.$1", + "type": "Object", + "tags": [], + "label": "Class", + "description": [], + "signature": [ + "Function" + ], + "path": "packages/kbn-dev-utils/src/serializers/any_instance_serizlizer.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createAnyInstanceSerializer.$2", + "type": "CompoundType", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string | ((instance: any) => string) | undefined" + ], + "path": "packages/kbn-dev-utils/src/serializers/any_instance_serizlizer.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createConcatStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createConcatStream", + "description": [ + "\n Creates a Transform stream that consumes all provided\n values and concatenates them using each values `concat`\n method.\n\n Concatenate strings:\n createListStream(['f', 'o', 'o'])\n .pipe(createConcatStream())\n .on('data', console.log)\n // logs \"foo\"\n\n Concatenate values into an array:\n createListStream([1,2,3])\n .pipe(createConcatStream([]))\n .on('data', console.log)\n // logs \"[1,2,3]\"\n\n" + ], + "signature": [ + "(initial: T | undefined) => ", + "Transform" + ], + "path": "node_modules/@kbn/utils/target_types/streams/concat_stream.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createConcatStream.$1", + "type": "Uncategorized", + "tags": [], + "label": "initial", + "description": [ + "The initial value that subsequent\nitems will concat with" + ], + "signature": [ + "T | undefined" + ], + "path": "node_modules/@kbn/utils/target_types/streams/concat_stream.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createFailError", + "type": "Function", + "tags": [], + "label": "createFailError", + "description": [], + "signature": [ + "(reason: string, options: FailErrorOptions) => FailError" + ], + "path": "packages/kbn-dev-utils/src/run/fail.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createFailError.$1", + "type": "string", + "tags": [], + "label": "reason", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/run/fail.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createFailError.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "FailErrorOptions" + ], + "path": "packages/kbn-dev-utils/src/run/fail.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createFilterStream", + "type": "Function", + "tags": [], + "label": "createFilterStream", + "description": [], + "signature": [ + "(fn: (obj: T) => boolean) => ", + "Transform" + ], + "path": "node_modules/@kbn/utils/target_types/streams/filter_stream.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createFilterStream.$1", + "type": "Function", + "tags": [], + "label": "fn", + "description": [], + "signature": [ + "(obj: T) => boolean" + ], + "path": "node_modules/@kbn/utils/target_types/streams/filter_stream.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createFlagError", + "type": "Function", + "tags": [], + "label": "createFlagError", + "description": [], + "signature": [ + "(reason: string) => FailError" + ], + "path": "packages/kbn-dev-utils/src/run/fail.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createFlagError.$1", + "type": "string", + "tags": [], + "label": "reason", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/run/fail.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createIntersperseStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createIntersperseStream", + "description": [ + "\n Create a Transform stream that receives values in object mode,\n and intersperses a chunk between each object received.\n\n This is useful for writing lists:\n\n createListStream(['foo', 'bar'])\n .pipe(createIntersperseStream('\\n'))\n .pipe(process.stdout) // outputs \"foo\\nbar\"\n\n Combine with a concat stream to get \"join\" like functionality:\n\n await createPromiseFromStreams([\n createListStream(['foo', 'bar']),\n createIntersperseStream(' '),\n createConcatStream()\n ]) // produces a single value \"foo bar\"\n" + ], + "signature": [ + "(intersperseChunk: string | Buffer) => ", + "Transform" + ], + "path": "node_modules/@kbn/utils/target_types/streams/intersperse_stream.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createIntersperseStream.$1", + "type": "CompoundType", + "tags": [], + "label": "intersperseChunk", + "description": [], + "signature": [ + "string | Buffer" + ], + "path": "node_modules/@kbn/utils/target_types/streams/intersperse_stream.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createListStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createListStream", + "description": [ + "\n Create a Readable stream that provides the items\n from a list as objects to subscribers\n" + ], + "signature": [ + "(items: T | T[] | undefined) => ", + "Readable" + ], + "path": "node_modules/@kbn/utils/target_types/streams/list_stream.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createListStream.$1", + "type": "CompoundType", + "tags": [], + "label": "items", + "description": [ + "- the list of items to provide" + ], + "signature": [ + "T | T[] | undefined" + ], + "path": "node_modules/@kbn/utils/target_types/streams/list_stream.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createMapStream", + "type": "Function", + "tags": [], + "label": "createMapStream", + "description": [], + "signature": [ + "(fn: (value: T, i: number) => void) => ", + "Transform" + ], + "path": "node_modules/@kbn/utils/target_types/streams/map_stream.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createMapStream.$1", + "type": "Function", + "tags": [], + "label": "fn", + "description": [], + "signature": [ + "(value: T, i: number) => void" + ], + "path": "node_modules/@kbn/utils/target_types/streams/map_stream.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createPromiseFromStreams", + "type": "Function", + "tags": [], + "label": "createPromiseFromStreams", + "description": [], + "signature": [ + "(streams: [", + "Readable", + ", ...", + "Writable", + "[]]) => Promise" + ], + "path": "node_modules/@kbn/utils/target_types/streams/promise_from_streams.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createPromiseFromStreams.$1", + "type": "Object", + "tags": [], + "label": "streams", + "description": [], + "signature": [ + "[", + "Readable", + ", ...", + "Writable", + "[]]" + ], + "path": "node_modules/@kbn/utils/target_types/streams/promise_from_streams.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createRecursiveSerializer", + "type": "Function", + "tags": [], + "label": "createRecursiveSerializer", + "description": [], + "signature": [ + "(test: (v: any) => boolean, print: (v: any) => string) => { test: (v: any) => boolean; serialize: (v: any, ...rest: any[]) => any; }" + ], + "path": "packages/kbn-dev-utils/src/serializers/recursive_serializer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createRecursiveSerializer.$1", + "type": "Function", + "tags": [], + "label": "test", + "description": [], + "signature": [ + "(v: any) => boolean" + ], + "path": "packages/kbn-dev-utils/src/serializers/recursive_serializer.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createRecursiveSerializer.$2", + "type": "Function", + "tags": [], + "label": "print", + "description": [], + "signature": [ + "(v: any) => string" + ], + "path": "packages/kbn-dev-utils/src/serializers/recursive_serializer.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createReduceStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createReduceStream", + "description": [ + "\n Create a transform stream that consumes each chunk it receives\n and passes it to the reducer, which will return the new value\n for the stream. Once all chunks have been received the reduce\n stream provides the result of final call to the reducer to\n subscribers.\n" + ], + "signature": [ + "(reducer: (value: any, chunk: T, enc: string) => T, initial: T | undefined) => ", + "Transform" + ], + "path": "node_modules/@kbn/utils/target_types/streams/reduce_stream.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createReduceStream.$1", + "type": "Function", + "tags": [], + "label": "reducer", + "description": [], + "signature": [ + "(value: any, chunk: T, enc: string) => T" + ], + "path": "node_modules/@kbn/utils/target_types/streams/reduce_stream.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createReduceStream.$2", + "type": "Uncategorized", + "tags": [], + "label": "initial", + "description": [ + "Initial value for the stream, if undefined\nthen the first chunk provided is used as the\ninitial value." + ], + "signature": [ + "T | undefined" + ], + "path": "node_modules/@kbn/utils/target_types/streams/reduce_stream.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createReplaceSerializer", + "type": "Function", + "tags": [], + "label": "createReplaceSerializer", + "description": [], + "signature": [ + "(toReplace: string | RegExp, replaceWith: string | Replacer) => { test: (v: any) => boolean; serialize: (v: any, ...rest: any[]) => any; }" + ], + "path": "packages/kbn-dev-utils/src/serializers/replace_serializer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createReplaceSerializer.$1", + "type": "CompoundType", + "tags": [], + "label": "toReplace", + "description": [], + "signature": [ + "string | RegExp" + ], + "path": "packages/kbn-dev-utils/src/serializers/replace_serializer.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createReplaceSerializer.$2", + "type": "CompoundType", + "tags": [], + "label": "replaceWith", + "description": [], + "signature": [ + "string | Replacer" + ], + "path": "packages/kbn-dev-utils/src/serializers/replace_serializer.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createReplaceStream", + "type": "Function", + "tags": [], + "label": "createReplaceStream", + "description": [], + "signature": [ + "(toReplace: string, replacement: string | Buffer) => ", + "Transform" + ], + "path": "node_modules/@kbn/utils/target_types/streams/replace_stream.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createReplaceStream.$1", + "type": "string", + "tags": [], + "label": "toReplace", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/@kbn/utils/target_types/streams/replace_stream.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createReplaceStream.$2", + "type": "CompoundType", + "tags": [], + "label": "replacement", + "description": [], + "signature": [ + "string | Buffer" + ], + "path": "node_modules/@kbn/utils/target_types/streams/replace_stream.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createSplitStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createSplitStream", + "description": [ + "\n Creates a Transform stream that consumes a stream of Buffers\n and produces a stream of strings (in object mode) by splitting\n the received bytes using the splitChunk.\n\n Ways this is behaves like String#split:\n - instances of splitChunk are removed from the input\n - splitChunk can be on any size\n - if there are no bytes found after the last splitChunk\n a final empty chunk is emitted\n\n Ways this deviates from String#split:\n - splitChunk cannot be a regexp\n - an empty string or Buffer will not produce a stream of individual\n bytes like `string.split('')` would\n" + ], + "signature": [ + "(splitChunk: string | Uint8Array) => ", + "Transform" + ], + "path": "node_modules/@kbn/utils/target_types/streams/split_stream.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createSplitStream.$1", + "type": "CompoundType", + "tags": [], + "label": "splitChunk", + "description": [], + "signature": [ + "string | Uint8Array" + ], + "path": "node_modules/@kbn/utils/target_types/streams/split_stream.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.createStripAnsiSerializer", + "type": "Function", + "tags": [], + "label": "createStripAnsiSerializer", + "description": [], + "signature": [ + "() => { test: (v: any) => boolean; serialize: (v: any, ...rest: any[]) => any; }" + ], + "path": "packages/kbn-dev-utils/src/serializers/strip_ansi_serializer.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.extract", + "type": "Function", + "tags": [], + "label": "extract", + "description": [ + "\nExtract tar and zip archives using a single function, supporting stripComponents\nfor both archive types, only tested with familiar archives we create so might not\nsupport some weird exotic zip features we don't use in our own snapshot/build tooling" + ], + "signature": [ + "({\n archivePath,\n targetDir,\n stripComponents = 0,\n setModifiedTimes,\n}: Options) => Promise" + ], + "path": "packages/kbn-dev-utils/src/extract.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.extract.$1", + "type": "Object", + "tags": [], + "label": "{\n archivePath,\n targetDir,\n stripComponents = 0,\n setModifiedTimes,\n}", + "description": [], + "signature": [ + "Options" + ], + "path": "packages/kbn-dev-utils/src/extract.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.fromRoot", + "type": "Function", + "tags": [], + "label": "fromRoot", + "description": [], + "signature": [ + "(...paths: string[]) => string" + ], + "path": "node_modules/@kbn/utils/target_types/repo_root.d.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.fromRoot.$1", + "type": "Array", + "tags": [], + "label": "paths", + "description": [], + "signature": [ + "string[]" + ], + "path": "node_modules/@kbn/utils/target_types/repo_root.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.getFlags", + "type": "Function", + "tags": [], + "label": "getFlags", + "description": [], + "signature": [ + "(argv: string[], flagOptions: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + }, + " | undefined, defaultLogLevel: string) => ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.Flags", + "text": "Flags" + } + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.getFlags.$1", + "type": "Array", + "tags": [], + "label": "argv", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.getFlags.$2", + "type": "Object", + "tags": [], + "label": "flagOptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + }, + " | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.getFlags.$3", + "type": "string", + "tags": [], + "label": "defaultLogLevel", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.getTimeReporter", + "type": "Function", + "tags": [], + "label": "getTimeReporter", + "description": [], + "signature": [ + "(log: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + ", group: string) => (startTime: number, id: string, meta: Record) => Promise" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/report_time.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.getTimeReporter.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/report_time.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.getTimeReporter.$2", + "type": "string", + "tags": [], + "label": "group", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/report_time.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.isAxiosRequestError", + "type": "Function", + "tags": [], + "label": "isAxiosRequestError", + "description": [], + "signature": [ + "(error: any) => error is ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.AxiosRequestError", + "text": "AxiosRequestError" + } + ], + "path": "packages/kbn-dev-utils/src/axios/errors.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.isAxiosRequestError.$1", + "type": "Any", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/axios/errors.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.isAxiosResponseError", + "type": "Function", + "tags": [], + "label": "isAxiosResponseError", + "description": [], + "signature": [ + "(error: any) => error is ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.AxiosResponseError", + "text": "AxiosResponseError" + }, + "" + ], + "path": "packages/kbn-dev-utils/src/axios/errors.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.isAxiosResponseError.$1", + "type": "Any", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/axios/errors.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.isFailError", + "type": "Function", + "tags": [], + "label": "isFailError", + "description": [], + "signature": [ + "(error: any) => boolean" + ], + "path": "packages/kbn-dev-utils/src/run/fail.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.isFailError.$1", + "type": "Any", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/run/fail.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.isKibanaDistributable", + "type": "Function", + "tags": [], + "label": "isKibanaDistributable", + "description": [], + "signature": [ + "() => any" + ], + "path": "node_modules/@kbn/utils/target_types/package_json/index.d.ts", + "deprecated": false, + "returnComment": [], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.mergeFlagOptions", + "type": "Function", + "tags": [], + "label": "mergeFlagOptions", + "description": [], + "signature": [ + "(global: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + }, + ", local: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + }, + ") => ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + } + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.mergeFlagOptions.$1", + "type": "Object", + "tags": [], + "label": "global", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + } + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.mergeFlagOptions.$2", + "type": "Object", + "tags": [], + "label": "local", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + } + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.observeLines", + "type": "Function", + "tags": [ + "return" + ], + "label": "observeLines", + "description": [ + "\n Creates an Observable from a Readable Stream that:\n - splits data from `readable` into lines\n - completes when `readable` emits \"end\"\n - fails if `readable` emits \"errors\"\n" + ], + "signature": [ + "(readable: ", + "Readable", + ") => ", + "Observable", + "" + ], + "path": "packages/kbn-dev-utils/src/stdio/observe_lines.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.observeLines.$1", + "type": "Object", + "tags": [], + "label": "readable", + "description": [], + "signature": [ + "Readable" + ], + "path": "packages/kbn-dev-utils/src/stdio/observe_lines.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.observeReadable", + "type": "Function", + "tags": [], + "label": "observeReadable", + "description": [ + "\n Produces an Observable from a ReadableSteam that:\n - completes on the first \"end\" event\n - fails on the first \"error\" event" + ], + "signature": [ + "(readable: ", + "Readable", + ") => ", + "Observable", + "" + ], + "path": "packages/kbn-dev-utils/src/stdio/observe_readable.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.observeReadable.$1", + "type": "Object", + "tags": [], + "label": "readable", + "description": [], + "signature": [ + "Readable" + ], + "path": "packages/kbn-dev-utils/src/stdio/observe_readable.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.parseKibanaPlatformPlugin", + "type": "Function", + "tags": [], + "label": "parseKibanaPlatformPlugin", + "description": [], + "signature": [ + "(manifestPath: string) => ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.KibanaPlatformPlugin", + "text": "KibanaPlatformPlugin" + } + ], + "path": "packages/kbn-dev-utils/src/plugins/parse_kibana_platform_plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.parseKibanaPlatformPlugin.$1", + "type": "string", + "tags": [], + "label": "manifestPath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-dev-utils/src/plugins/parse_kibana_platform_plugin.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.parseLogLevel", + "type": "Function", + "tags": [], + "label": "parseLogLevel", + "description": [], + "signature": [ + "(name: \"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\") => { name: \"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\"; flags: { warning: boolean; error: boolean; info: boolean; success: boolean; debug: boolean; silent: boolean; verbose: boolean; }; }" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/log_levels.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.parseLogLevel.$1", + "type": "CompoundType", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "\"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\"" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/log_levels.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.pickLevelFromFlags", + "type": "Function", + "tags": [], + "label": "pickLevelFromFlags", + "description": [], + "signature": [ + "(flags: Record, options: { default?: \"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\" | undefined; }) => \"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\"" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/log_levels.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.pickLevelFromFlags.$1", + "type": "Object", + "tags": [], + "label": "flags", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/log_levels.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.pickLevelFromFlags.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "packages/kbn-dev-utils/src/tooling_log/log_levels.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.pickLevelFromFlags.$2.default", + "type": "CompoundType", + "tags": [], + "label": "default", + "description": [], + "signature": [ + "\"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\" | undefined" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/log_levels.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.run", + "type": "Function", + "tags": [], + "label": "run", + "description": [], + "signature": [ + "(fn: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunFn", + "text": "RunFn" + }, + ", options: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunOptions", + "text": "RunOptions" + }, + ") => Promise" + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.run.$1", + "type": "Function", + "tags": [], + "label": "fn", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunFn", + "text": "RunFn" + } + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.run.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunOptions", + "text": "RunOptions" + } + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.runPluginListCli", + "type": "Function", + "tags": [], + "label": "runPluginListCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-dev-utils/src/plugin_list/run_plugin_list_cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.runUpdateVscodeConfigCli", + "type": "Function", + "tags": [], + "label": "runUpdateVscodeConfigCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-dev-utils/src/vscode_config/update_vscode_config_cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.shipCiStatsCli", + "type": "Function", + "tags": [], + "label": "shipCiStatsCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ship_ci_stats_cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.simpleKibanaPlatformPluginDiscovery", + "type": "Function", + "tags": [], + "label": "simpleKibanaPlatformPluginDiscovery", + "description": [ + "\nHelper to find the new platform plugins." + ], + "signature": [ + "(scanDirs: string[], pluginPaths: string[]) => ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.KibanaPlatformPlugin", + "text": "KibanaPlatformPlugin" + }, + "[]" + ], + "path": "packages/kbn-dev-utils/src/plugins/simple_kibana_platform_plugin_discovery.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.simpleKibanaPlatformPluginDiscovery.$1", + "type": "Array", + "tags": [], + "label": "scanDirs", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-dev-utils/src/plugins/simple_kibana_platform_plugin_discovery.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.simpleKibanaPlatformPluginDiscovery.$2", + "type": "Array", + "tags": [], + "label": "pluginPaths", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-dev-utils/src/plugins/simple_kibana_platform_plugin_discovery.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.transformFileStream", + "type": "Function", + "tags": [], + "label": "transformFileStream", + "description": [ + "\nCreate a transform stream that processes Vinyl fs streams and\ncalls a function for each file, allowing the function to either\nmutate the file, replace it with another file (return a new File\nobject), or drop it from the stream (return null)" + ], + "signature": [ + "(fn: (file: BufferedFile) => void | ", + "node_modules/@types/vinyl/index", + " | Promise | null) => ", + "Transform" + ], + "path": "packages/kbn-dev-utils/src/streams.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.transformFileStream.$1", + "type": "Function", + "tags": [], + "label": "fn", + "description": [], + "signature": [ + "(file: BufferedFile) => void | ", + "node_modules/@types/vinyl/index", + " | Promise | null" + ], + "path": "packages/kbn-dev-utils/src/streams.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.transformFileWithBabel", + "type": "Function", + "tags": [], + "label": "transformFileWithBabel", + "description": [ + "\nReturns a promise that resolves when the file has been\nmutated so the contents of the file are tranformed with\nbabel, include inline sourcemaps, and the filename has\nbeen updated to use .js.\n\nIf the file was previously transformed with this function\nthe promise will just resolve immediately." + ], + "signature": [ + "(file: ", + "node_modules/@types/vinyl/index", + ") => Promise" + ], + "path": "packages/kbn-dev-utils/src/babel.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.transformFileWithBabel.$1", + "type": "Object", + "tags": [], + "label": "file", + "description": [], + "signature": [ + "node_modules/@types/vinyl/index" + ], + "path": "packages/kbn-dev-utils/src/babel.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.withProcRunner", + "type": "Function", + "tags": [ + "return" + ], + "label": "withProcRunner", + "description": [ + "\n Create a ProcRunner and pass it to an async function. When\n the async function finishes the ProcRunner is torn-down\n automatically\n" + ], + "signature": [ + "(log: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + ", fn: (procs: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ProcRunner", + "text": "ProcRunner" + }, + ") => Promise) => Promise" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/with_proc_runner.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.withProcRunner.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-dev-utils/src/proc_runner/with_proc_runner.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.withProcRunner.$2", + "type": "Function", + "tags": [], + "label": "fn", + "description": [], + "signature": [ + "(procs: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ProcRunner", + "text": "ProcRunner" + }, + ") => Promise" + ], + "path": "packages/kbn-dev-utils/src/proc_runner/with_proc_runner.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.AxiosRequestError", + "type": "Interface", + "tags": [], + "label": "AxiosRequestError", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.AxiosRequestError", + "text": "AxiosRequestError" + }, + " extends ", + "AxiosError", + "" + ], + "path": "packages/kbn-dev-utils/src/axios/errors.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.AxiosRequestError.response", + "type": "Uncategorized", + "tags": [], + "label": "response", + "description": [], + "signature": [ + "undefined" + ], + "path": "packages/kbn-dev-utils/src/axios/errors.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.AxiosResponseError", + "type": "Interface", + "tags": [], + "label": "AxiosResponseError", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.AxiosResponseError", + "text": "AxiosResponseError" + }, + " extends ", + "AxiosError", + "" + ], + "path": "packages/kbn-dev-utils/src/axios/errors.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.AxiosResponseError.response", + "type": "Object", + "tags": [], + "label": "response", + "description": [], + "signature": [ + "AxiosResponse", + "" + ], + "path": "packages/kbn-dev-utils/src/axios/errors.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsMetric", + "type": "Interface", + "tags": [], + "label": "CiStatsMetric", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsMetric.group", + "type": "string", + "tags": [], + "label": "group", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsMetric.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsMetric.value", + "type": "number", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsMetric.limit", + "type": "number", + "tags": [], + "label": "limit", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsMetric.limitConfigPath", + "type": "string", + "tags": [], + "label": "limitConfigPath", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsTiming", + "type": "Interface", + "tags": [], + "label": "CiStatsTiming", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsTiming.group", + "type": "string", + "tags": [], + "label": "group", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsTiming.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsTiming.ms", + "type": "number", + "tags": [], + "label": "ms", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsTiming.meta", + "type": "Object", + "tags": [], + "label": "meta", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.CiStatsTimingMetadata", + "text": "CiStatsTimingMetadata" + }, + " | undefined" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsTimingMetadata", + "type": "Interface", + "tags": [], + "label": "CiStatsTimingMetadata", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CiStatsTimingMetadata.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Command", + "type": "Interface", + "tags": [], + "label": "Command", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.Command", + "text": "Command" + }, + "" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Command.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Command.run", + "type": "Function", + "tags": [], + "label": "run", + "description": [], + "signature": [ + "(context: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunContext", + "text": "RunContext" + }, + " & T) => void | Promise" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Command.run.$1", + "type": "CompoundType", + "tags": [], + "label": "context", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunContext", + "text": "RunContext" + }, + " & T" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Command.description", + "type": "string", + "tags": [], + "label": "description", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Command.usage", + "type": "string", + "tags": [], + "label": "usage", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Command.flags", + "type": "Object", + "tags": [], + "label": "flags", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + }, + " | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.FlagOptions", + "type": "Interface", + "tags": [], + "label": "FlagOptions", + "description": [], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.FlagOptions.allowUnexpected", + "type": "CompoundType", + "tags": [], + "label": "allowUnexpected", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.FlagOptions.guessTypesForUnexpectedFlags", + "type": "CompoundType", + "tags": [], + "label": "guessTypesForUnexpectedFlags", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.FlagOptions.help", + "type": "string", + "tags": [], + "label": "help", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.FlagOptions.alias", + "type": "Object", + "tags": [], + "label": "alias", + "description": [], + "signature": [ + "{ [key: string]: string | string[]; } | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.FlagOptions.boolean", + "type": "Array", + "tags": [], + "label": "boolean", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.FlagOptions.string", + "type": "Array", + "tags": [], + "label": "string", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.FlagOptions.default", + "type": "Object", + "tags": [], + "label": "default", + "description": [], + "signature": [ + "{ [key: string]: any; } | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Flags", + "type": "Interface", + "tags": [], + "label": "Flags", + "description": [], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Flags.verbose", + "type": "boolean", + "tags": [], + "label": "verbose", + "description": [], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Flags.quiet", + "type": "boolean", + "tags": [], + "label": "quiet", + "description": [], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Flags.silent", + "type": "boolean", + "tags": [], + "label": "silent", + "description": [], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Flags.debug", + "type": "boolean", + "tags": [], + "label": "debug", + "description": [], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Flags.help", + "type": "boolean", + "tags": [], + "label": "help", + "description": [], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Flags._", + "type": "Array", + "tags": [], + "label": "_", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Flags.unexpected", + "type": "Array", + "tags": [], + "label": "unexpected", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.Flags.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/run/flags.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.KibanaPlatformPlugin", + "type": "Interface", + "tags": [], + "label": "KibanaPlatformPlugin", + "description": [], + "path": "packages/kbn-dev-utils/src/plugins/parse_kibana_platform_plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.KibanaPlatformPlugin.directory", + "type": "string", + "tags": [], + "label": "directory", + "description": [], + "path": "packages/kbn-dev-utils/src/plugins/parse_kibana_platform_plugin.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.KibanaPlatformPlugin.manifestPath", + "type": "string", + "tags": [], + "label": "manifestPath", + "description": [], + "path": "packages/kbn-dev-utils/src/plugins/parse_kibana_platform_plugin.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.KibanaPlatformPlugin.manifest", + "type": "Object", + "tags": [], + "label": "manifest", + "description": [], + "signature": [ + "Manifest" + ], + "path": "packages/kbn-dev-utils/src/plugins/parse_kibana_platform_plugin.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ReqOptions", + "type": "Interface", + "tags": [], + "label": "ReqOptions", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ReqOptions.auth", + "type": "boolean", + "tags": [], + "label": "auth", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ReqOptions.path", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ReqOptions.body", + "type": "Any", + "tags": [], + "label": "body", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ReqOptions.bodyDesc", + "type": "string", + "tags": [], + "label": "bodyDesc", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunContext", + "type": "Interface", + "tags": [], + "label": "RunContext", + "description": [], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunContext.log", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunContext.flags", + "type": "Object", + "tags": [], + "label": "flags", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.Flags", + "text": "Flags" + } + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunContext.procRunner", + "type": "Object", + "tags": [], + "label": "procRunner", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ProcRunner", + "text": "ProcRunner" + } + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunContext.statsMeta", + "type": "Object", + "tags": [], + "label": "statsMeta", + "description": [], + "signature": [ + "Map" + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunContext.addCleanupTask", + "type": "Function", + "tags": [], + "label": "addCleanupTask", + "description": [], + "signature": [ + "(task: ", + "CleanupTask", + ") => void" + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunContext.addCleanupTask.$1", + "type": "Function", + "tags": [], + "label": "task", + "description": [], + "signature": [ + "CleanupTask" + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunOptions", + "type": "Interface", + "tags": [], + "label": "RunOptions", + "description": [], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunOptions.usage", + "type": "string", + "tags": [], + "label": "usage", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunOptions.description", + "type": "string", + "tags": [], + "label": "description", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunOptions.log", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + "{ defaultLevel?: \"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\" | undefined; } | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunOptions.flags", + "type": "Object", + "tags": [], + "label": "flags", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + }, + " | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommandsOptions", + "type": "Interface", + "tags": [], + "label": "RunWithCommandsOptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunWithCommandsOptions", + "text": "RunWithCommandsOptions" + }, + "" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommandsOptions.log", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + "{ defaultLevel?: \"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\" | undefined; } | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommandsOptions.description", + "type": "string", + "tags": [], + "label": "description", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommandsOptions.usage", + "type": "string", + "tags": [], + "label": "usage", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommandsOptions.globalFlags", + "type": "Object", + "tags": [], + "label": "globalFlags", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.FlagOptions", + "text": "FlagOptions" + }, + " | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommandsOptions.extendContext", + "type": "Function", + "tags": [], + "label": "extendContext", + "description": [], + "signature": [ + "((context: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunContext", + "text": "RunContext" + }, + ") => T | Promise) | undefined" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunWithCommandsOptions.extendContext.$1", + "type": "Object", + "tags": [], + "label": "context", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunContext", + "text": "RunContext" + } + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.TimingsOptions", + "type": "Interface", + "tags": [], + "label": "TimingsOptions", + "description": [], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.TimingsOptions.timings", + "type": "Array", + "tags": [], + "label": "timings", + "description": [ + "list of timings to record" + ], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.CiStatsTiming", + "text": "CiStatsTiming" + }, + "[]" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.TimingsOptions.upstreamBranch", + "type": "string", + "tags": [], + "label": "upstreamBranch", + "description": [ + "master, 7.x, etc, automatically detected from package.json if not specified" + ], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.TimingsOptions.kibanaUuid", + "type": "CompoundType", + "tags": [], + "label": "kibanaUuid", + "description": [ + "value of data/uuid, automatically loaded if not specified" + ], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriterConfig", + "type": "Interface", + "tags": [], + "label": "ToolingLogTextWriterConfig", + "description": [], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriterConfig.level", + "type": "CompoundType", + "tags": [], + "label": "level", + "description": [], + "signature": [ + "\"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\"" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ToolingLogTextWriterConfig.writeTo", + "type": "Object", + "tags": [], + "label": "writeTo", + "description": [], + "signature": [ + "{ write(s: string): void; }" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/tooling_log_text_writer.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CA_CERT_PATH", + "type": "string", + "tags": [], + "label": "CA_CERT_PATH", + "description": [], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CommandRunFn", + "type": "Type", + "tags": [], + "label": "CommandRunFn", + "description": [], + "signature": [ + "(context: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunContext", + "text": "RunContext" + }, + " & T) => void | Promise" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.CommandRunFn.$1", + "type": "CompoundType", + "tags": [], + "label": "context", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunContext", + "text": "RunContext" + }, + " & T" + ], + "path": "packages/kbn-dev-utils/src/run/run_with_commands.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ES_CERT_PATH", + "type": "string", + "tags": [], + "label": "ES_CERT_PATH", + "description": [], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ES_EMPTYPASSWORD_P12_PATH", + "type": "string", + "tags": [], + "label": "ES_EMPTYPASSWORD_P12_PATH", + "description": [], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ES_KEY_PATH", + "type": "string", + "tags": [], + "label": "ES_KEY_PATH", + "description": [], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ES_NOPASSWORD_P12_PATH", + "type": "string", + "tags": [], + "label": "ES_NOPASSWORD_P12_PATH", + "description": [], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ES_P12_PASSWORD", + "type": "string", + "tags": [], + "label": "ES_P12_PASSWORD", + "description": [], + "signature": [ + "\"storepass\"" + ], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ES_P12_PATH", + "type": "string", + "tags": [], + "label": "ES_P12_PATH", + "description": [], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.KBN_CERT_PATH", + "type": "string", + "tags": [], + "label": "KBN_CERT_PATH", + "description": [], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.KBN_KEY_PATH", + "type": "string", + "tags": [], + "label": "KBN_KEY_PATH", + "description": [], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.KBN_P12_PASSWORD", + "type": "string", + "tags": [], + "label": "KBN_P12_PASSWORD", + "description": [], + "signature": [ + "\"storepass\"" + ], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.KBN_P12_PATH", + "type": "string", + "tags": [], + "label": "KBN_P12_PATH", + "description": [], + "path": "packages/kbn-dev-utils/src/certs.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.kibanaPackageJson", + "type": "Any", + "tags": [], + "label": "kibanaPackageJson", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/@kbn/utils/target_types/package_json/index.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.LogLevel", + "type": "Type", + "tags": [], + "label": "LogLevel", + "description": [], + "signature": [ + "\"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\"" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/log_levels.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.ParsedLogLevel", + "type": "Type", + "tags": [], + "label": "ParsedLogLevel", + "description": [], + "signature": [ + "{ name: \"warning\" | \"error\" | \"info\" | \"success\" | \"debug\" | \"silent\" | \"verbose\"; flags: { warning: boolean; error: boolean; info: boolean; success: boolean; debug: boolean; silent: boolean; verbose: boolean; }; }" + ], + "path": "packages/kbn-dev-utils/src/tooling_log/log_levels.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.PathConfigType", + "type": "Type", + "tags": [], + "label": "PathConfigType", + "description": [], + "signature": [ + "{ readonly data: string; }" + ], + "path": "node_modules/@kbn/utils/target_types/path/index.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.REPO_ROOT", + "type": "string", + "tags": [], + "label": "REPO_ROOT", + "description": [], + "path": "node_modules/@kbn/utils/target_types/repo_root.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunFn", + "type": "Type", + "tags": [], + "label": "RunFn", + "description": [], + "signature": [ + "(context: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunContext", + "text": "RunContext" + }, + ") => void | Promise" + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.RunFn.$1", + "type": "Object", + "tags": [], + "label": "context", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.RunContext", + "text": "RunContext" + } + ], + "path": "packages/kbn-dev-utils/src/run/run.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/dev-utils", + "id": "def-server.UPSTREAM_BRANCH", + "type": "string", + "tags": [], + "label": "UPSTREAM_BRANCH", + "description": [], + "path": "node_modules/@kbn/utils/target_types/repo_root.d.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_dev_utils.mdx b/api_docs/kbn_dev_utils.mdx new file mode 100644 index 0000000000000..c959baa6fda56 --- /dev/null +++ b/api_docs/kbn_dev_utils.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnDevUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-dev-utils +title: "@kbn/dev-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/dev-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/dev-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnDevUtilsObj from './kbn_dev_utils.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 258 | 7 | 231 | 4 | + +## Server + +### Functions + + +### Classes + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_docs_utils.json b/api_docs/kbn_docs_utils.json new file mode 100644 index 0000000000000..3f8dbac226940 --- /dev/null +++ b/api_docs/kbn_docs_utils.json @@ -0,0 +1,44 @@ +{ + "id": "@kbn/docs-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/docs-utils", + "id": "def-server.runBuildApiDocsCli", + "type": "Function", + "tags": [], + "label": "runBuildApiDocsCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-docs-utils/src/api_docs/build_api_docs_cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_docs_utils.mdx b/api_docs/kbn_docs_utils.mdx new file mode 100644 index 0000000000000..0c9103fe3a2cd --- /dev/null +++ b/api_docs/kbn_docs_utils.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnDocsUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-docs-utils +title: "@kbn/docs-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/docs-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/docs-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnDocsUtilsObj from './kbn_docs_utils.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 1 | 0 | 1 | 0 | + +## Server + +### Functions + + diff --git a/api_docs/kbn_es_archiver.json b/api_docs/kbn_es_archiver.json new file mode 100644 index 0000000000000..543a46deb3c4f --- /dev/null +++ b/api_docs/kbn_es_archiver.json @@ -0,0 +1,428 @@ +{ + "id": "@kbn/es-archiver", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver", + "type": "Class", + "tags": [], + "label": "EsArchiver", + "description": [], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Options" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.save", + "type": "Function", + "tags": [ + "property" + ], + "label": "save", + "description": [ + "\nExtract data and mappings from an elasticsearch index and store\nit in the baseDir so it can be used later to recreate the index.\n" + ], + "signature": [ + "(path: string, indices: string | string[], { raw, query }?: { raw?: boolean | undefined; query?: Record | undefined; }) => Promise>" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.save.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [ + "- relative path to the archive, resolved relative to this.baseDir which defaults to REPO_ROOT" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.save.$2", + "type": "CompoundType", + "tags": [], + "label": "indices", + "description": [ + "- the indices to archive" + ], + "signature": [ + "string | string[]" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.save.$3", + "type": "Object", + "tags": [], + "label": "{ raw = false, query }", + "description": [], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.save.$3.raw", + "type": "CompoundType", + "tags": [], + "label": "raw", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.save.$3.query", + "type": "Object", + "tags": [], + "label": "query", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.load", + "type": "Function", + "tags": [ + "property", + "property" + ], + "label": "load", + "description": [ + "\nLoad an index from an archive\n" + ], + "signature": [ + "(path: string, { skipExisting, useCreate, }?: { skipExisting?: boolean | undefined; useCreate?: boolean | undefined; }) => Promise>" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.load.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [ + "- relative path to the archive to load, resolved relative to this.baseDir which defaults to REPO_ROOT" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.load.$2", + "type": "Object", + "tags": [], + "label": "{\n skipExisting = false,\n useCreate = false,\n }", + "description": [], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.load.$2.skipExisting", + "type": "CompoundType", + "tags": [], + "label": "skipExisting", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.load.$2.useCreate", + "type": "CompoundType", + "tags": [], + "label": "useCreate", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.unload", + "type": "Function", + "tags": [], + "label": "unload", + "description": [ + "\nRemove the indexes in elasticsearch that have data in an archive.\n" + ], + "signature": [ + "(path: string) => Promise>" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.unload.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [ + "- relative path to the archive to unload, resolved relative to this.baseDir which defaults to REPO_ROOT" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.rebuildAll", + "type": "Function", + "tags": [], + "label": "rebuildAll", + "description": [ + "\nParse and reformat all of the archives. This is primarily helpful\nfor working on the esArchiver.\n" + ], + "signature": [ + "(dir: string) => Promise" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.rebuildAll.$1", + "type": "string", + "tags": [], + "label": "dir", + "description": [ + "- relative path to a directory which contains archives, resolved relative to this.baseDir which defaults to REPO_ROOT" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.edit", + "type": "Function", + "tags": [], + "label": "edit", + "description": [ + "\nExtract the gzipped files in an archive, then call the handler. When it\nresolves re-archive the gzipped files.\n" + ], + "signature": [ + "(path: string, handler: () => Promise) => Promise" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.edit.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [ + "optional prefix to limit archives that are extracted" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.edit.$2", + "type": "Function", + "tags": [], + "label": "handler", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.loadIfNeeded", + "type": "Function", + "tags": [], + "label": "loadIfNeeded", + "description": [ + "\nJust like load, but skips any existing index\n" + ], + "signature": [ + "(name: string) => Promise>" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.loadIfNeeded.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.EsArchiver.emptyKibanaIndex", + "type": "Function", + "tags": [], + "label": "emptyKibanaIndex", + "description": [ + "\nDelete any Kibana indices, and initialize the Kibana index as Kibana would do\non startup." + ], + "signature": [ + "() => Promise>" + ], + "path": "packages/kbn-es-archiver/src/es_archiver.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/es-archiver", + "id": "def-server.runCli", + "type": "Function", + "tags": [], + "label": "runCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-es-archiver/src/cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_es_archiver.mdx b/api_docs/kbn_es_archiver.mdx new file mode 100644 index 0000000000000..a2c90c35d0489 --- /dev/null +++ b/api_docs/kbn_es_archiver.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnEsArchiverPluginApi +slug: /kibana-dev-docs/api/kbn-es-archiver +title: "@kbn/es-archiver" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/es-archiver plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-archiver'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnEsArchiverObj from './kbn_es_archiver.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 25 | 0 | 12 | 1 | + +## Server + +### Functions + + +### Classes + + diff --git a/api_docs/kbn_es_query.json b/api_docs/kbn_es_query.json new file mode 100644 index 0000000000000..f86c6a78eeb2d --- /dev/null +++ b/api_docs/kbn_es_query.json @@ -0,0 +1,4429 @@ +{ + "id": "@kbn/es-query", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KQLSyntaxError", + "type": "Class", + "tags": [], + "label": "KQLSyntaxError", + "description": [ + "\nA type of error indicating KQL syntax errors" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KQLSyntaxError", + "text": "KQLSyntaxError" + }, + " extends Error" + ], + "path": "packages/kbn-es-query/src/kuery/kuery_syntax_error.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KQLSyntaxError.shortMessage", + "type": "string", + "tags": [], + "label": "shortMessage", + "description": [], + "path": "packages/kbn-es-query/src/kuery/kuery_syntax_error.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KQLSyntaxError.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-es-query/src/kuery/kuery_syntax_error.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KQLSyntaxError.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "KQLSyntaxErrorData" + ], + "path": "packages/kbn-es-query/src/kuery/kuery_syntax_error.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KQLSyntaxError.Unnamed.$2", + "type": "Any", + "tags": [], + "label": "expression", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-es-query/src/kuery/kuery_syntax_error.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildCustomFilter", + "type": "Function", + "tags": [], + "label": "buildCustomFilter", + "description": [ + "\n" + ], + "signature": [ + "(indexPatternString: string, queryDsl: ", + "QueryDslQueryContainer", + ", disabled: boolean, negate: boolean, alias: string | null, store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/custom_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildCustomFilter.$1", + "type": "string", + "tags": [], + "label": "indexPatternString", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/custom_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildCustomFilter.$2", + "type": "Object", + "tags": [], + "label": "queryDsl", + "description": [], + "signature": [ + "QueryDslQueryContainer" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/custom_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildCustomFilter.$3", + "type": "boolean", + "tags": [], + "label": "disabled", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/custom_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildCustomFilter.$4", + "type": "boolean", + "tags": [], + "label": "negate", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/custom_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildCustomFilter.$5", + "type": "CompoundType", + "tags": [], + "label": "alias", + "description": [], + "signature": [ + "string | null" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/custom_filter.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildCustomFilter.$6", + "type": "Enum", + "tags": [], + "label": "store", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/custom_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildEmptyFilter", + "type": "Function", + "tags": [], + "label": "buildEmptyFilter", + "description": [], + "signature": [ + "(isPinned: boolean, index?: string | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_empty_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildEmptyFilter.$1", + "type": "boolean", + "tags": [], + "label": "isPinned", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_empty_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildEmptyFilter.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_empty_filter.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildEsQuery", + "type": "Function", + "tags": [], + "label": "buildEsQuery", + "description": [], + "signature": [ + "(indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined, queries: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, + "[], filters: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], config: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + }, + ") => { bool: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + }, + "; }" + ], + "path": "packages/kbn-es-query/src/es_query/build_es_query.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildEsQuery.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/build_es_query.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildEsQuery.$2", + "type": "CompoundType", + "tags": [], + "label": "queries", + "description": [ + "- a query object or array of query objects. Each query has a language property and a query property." + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/es_query/build_es_query.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildEsQuery.$3", + "type": "CompoundType", + "tags": [], + "label": "filters", + "description": [ + "- a filter object or array of filter objects" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/es_query/build_es_query.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildEsQuery.$4", + "type": "CompoundType", + "tags": [], + "label": "config", + "description": [ + "- an objects with query:allowLeadingWildcards and query:queryString:options UI\nsettings in form of { allowLeadingWildcards, queryStringOptions }\nconfig contains dateformat:tz" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + } + ], + "path": "packages/kbn-es-query/src/es_query/build_es_query.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildExistsFilter", + "type": "Function", + "tags": [], + "label": "buildExistsFilter", + "description": [ + "\nBuilds an `ExistsFilter`" + ], + "signature": [ + "(field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ExistsFilter", + "text": "ExistsFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/exists_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildExistsFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [ + "field to validate the existence of" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/exists_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildExistsFilter.$2", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [ + "index pattern to look for the field in" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/exists_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "An `ExistsFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildFilter", + "type": "Function", + "tags": [], + "label": "buildFilter", + "description": [ + "\n" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ", field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", type: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FILTERS", + "text": "FILTERS" + }, + ", negate: boolean, disabled: boolean, params: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + }, + ", alias: string | null, store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + " | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildFilter.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildFilter.$2", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildFilter.$3", + "type": "Enum", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FILTERS", + "text": "FILTERS" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildFilter.$4", + "type": "boolean", + "tags": [], + "label": "negate", + "description": [ + "whether the filter is negated (NOT filter)" + ], + "signature": [ + "boolean" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildFilter.$5", + "type": "boolean", + "tags": [], + "label": "disabled", + "description": [ + "whether the filter is disabled andwon't be applied to searches" + ], + "signature": [ + "boolean" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildFilter.$6", + "type": "CompoundType", + "tags": [], + "label": "params", + "description": [], + "signature": [ + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Serializable", + "text": "Serializable" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildFilter.$7", + "type": "CompoundType", + "tags": [], + "label": "alias", + "description": [ + "a display name for the filter" + ], + "signature": [ + "string | null" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildFilter.$8", + "type": "CompoundType", + "tags": [], + "label": "store", + "description": [ + "whether the filter applies to the current application or should be applied to global context" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + " | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/build_filters.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildPhraseFilter", + "type": "Function", + "tags": [], + "label": "buildPhraseFilter", + "description": [ + "\nCreates a filter where the given field matches a given value" + ], + "signature": [ + "(field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", value: ", + "PhraseFilterValue", + ", indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedPhraseFilter", + "text": "ScriptedPhraseFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildPhraseFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildPhraseFilter.$2", + "type": "CompoundType", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "PhraseFilterValue" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildPhraseFilter.$3", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`PhraseFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildPhrasesFilter", + "type": "Function", + "tags": [], + "label": "buildPhrasesFilter", + "description": [ + "\nCreates a filter where the given field matches one or more of the given values\nparams should be an array of values" + ], + "signature": [ + "(field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", params: ", + "PhraseFilterValue", + "[], indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhrasesFilter", + "text": "PhrasesFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrases_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildPhrasesFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrases_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildPhrasesFilter.$2", + "type": "Array", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "PhraseFilterValue", + "[]" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrases_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildPhrasesFilter.$3", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrases_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildQueryFilter", + "type": "Function", + "tags": [], + "label": "buildQueryFilter", + "description": [ + "\nCreates a filter corresponding to a raw Elasticsearch query DSL object" + ], + "signature": [ + "(query: (Record & { query_string?: { query: string; } | undefined; }) | undefined, index: string, alias: string) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.QueryStringFilter", + "text": "QueryStringFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/query_string_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildQueryFilter.$1", + "type": "CompoundType", + "tags": [], + "label": "query", + "description": [], + "signature": [ + "(Record & { query_string?: { query: string; } | undefined; }) | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/query_string_filter.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildQueryFilter.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/query_string_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildQueryFilter.$3", + "type": "string", + "tags": [], + "label": "alias", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/query_string_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`QueryStringFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildQueryFromFilters", + "type": "Function", + "tags": [], + "label": "buildQueryFromFilters", + "description": [], + "signature": [ + "(filters: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined, indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined, ignoreFilterIfFieldNotInIndex?: boolean) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.BoolQuery", + "text": "BoolQuery" + } + ], + "path": "packages/kbn-es-query/src/es_query/from_filters.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildQueryFromFilters.$1", + "type": "Array", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/es_query/from_filters.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildQueryFromFilters.$2", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/from_filters.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildQueryFromFilters.$3", + "type": "boolean", + "tags": [], + "label": "ignoreFilterIfFieldNotInIndex", + "description": [ + "by default filters that use fields that can't be found in the specified index pattern are not applied. Set this to true if you want to apply them anyway." + ], + "signature": [ + "boolean" + ], + "path": "packages/kbn-es-query/src/es_query/from_filters.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "An EQL query" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildRangeFilter", + "type": "Function", + "tags": [], + "label": "buildRangeFilter", + "description": [ + "\nCreates a filter where the value for the given field is in the given range\nparams should be an object containing `lt`, `lte`, `gt`, and/or `gte`\n" + ], + "signature": [ + "(field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ", params: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + }, + ", indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ", formattedValue?: string | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, + " | ", + "MatchAllRangeFilter" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildRangeFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildRangeFilter.$2", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildRangeFilter.$3", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.buildRangeFilter.$4", + "type": "string", + "tags": [], + "label": "formattedValue", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.cleanFilter", + "type": "Function", + "tags": [], + "label": "cleanFilter", + "description": [ + "\nClean out decorators from the filters" + ], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => Partial<", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ">" + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.cleanFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [ + "The filter to clean" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.compareFilters", + "type": "Function", + "tags": [], + "label": "compareFilters", + "description": [ + "\nCompare two filters or filter arrays to see if they match.\nFor filter arrays, the assumption is they are sorted.\n" + ], + "signature": [ + "(first: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], second: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], comparatorOptions?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, + ") => boolean" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.compareFilters.$1", + "type": "CompoundType", + "tags": [], + "label": "first", + "description": [ + "The first filter or filter array to compare" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.compareFilters.$2", + "type": "CompoundType", + "tags": [], + "label": "second", + "description": [ + "The second filter or filter array to compare" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.compareFilters.$3", + "type": "Object", + "tags": [], + "label": "comparatorOptions", + "description": [ + "Parameters to use for comparison" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "Filters are the same" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.decorateQuery", + "type": "Function", + "tags": [], + "label": "decorateQuery", + "description": [ + "\nDecorate queries with default parameters" + ], + "signature": [ + "(query: ", + "QueryDslQueryContainer", + ", queryStringOptions: string | ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + ", dateFormatTZ: string | undefined) => ", + "QueryDslQueryContainer" + ], + "path": "packages/kbn-es-query/src/es_query/decorate_query.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.decorateQuery.$1", + "type": "Object", + "tags": [], + "label": "query", + "description": [ + "object" + ], + "signature": [ + "QueryDslQueryContainer" + ], + "path": "packages/kbn-es-query/src/es_query/decorate_query.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.decorateQuery.$2", + "type": "CompoundType", + "tags": [], + "label": "queryStringOptions", + "description": [ + "query:queryString:options from UI settings" + ], + "signature": [ + "string | ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } + ], + "path": "packages/kbn-es-query/src/es_query/decorate_query.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.decorateQuery.$3", + "type": "string", + "tags": [], + "label": "dateFormatTZ", + "description": [ + "dateFormat:tz from UI settings" + ], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/decorate_query.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.disableFilter", + "type": "Function", + "tags": [], + "label": "disableFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.disableFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "A disabled copy of the filter" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.enableFilter", + "type": "Function", + "tags": [], + "label": "enableFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.enableFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "An enabled copy of the filter" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.fromKueryExpression", + "type": "Function", + "tags": [], + "label": "fromKueryExpression", + "description": [], + "signature": [ + "(expression: string | ", + "QueryDslQueryContainer", + ", parseOptions?: Partial<", + "KueryParseOptions", + ">) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } + ], + "path": "packages/kbn-es-query/src/kuery/ast/ast.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.fromKueryExpression.$1", + "type": "CompoundType", + "tags": [], + "label": "expression", + "description": [], + "signature": [ + "string | ", + "QueryDslQueryContainer" + ], + "path": "packages/kbn-es-query/src/kuery/ast/ast.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.fromKueryExpression.$2", + "type": "Object", + "tags": [], + "label": "parseOptions", + "description": [], + "signature": [ + "Partial<", + "KueryParseOptions", + ">" + ], + "path": "packages/kbn-es-query/src/kuery/ast/ast.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isExistsFilter", + "type": "Function", + "tags": [], + "label": "isExistsFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ExistsFilter", + "text": "ExistsFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/exists_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isExistsFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/exists_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if a filter is an `ExistsFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isFilter", + "type": "Function", + "tags": [], + "label": "isFilter", + "description": [], + "signature": [ + "(x: unknown) => x is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isFilter.$1", + "type": "Unknown", + "tags": [], + "label": "x", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if the given object is a filter" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isFilterDisabled", + "type": "Function", + "tags": [], + "label": "isFilterDisabled", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => boolean" + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isFilterDisabled.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if the filter is disabled" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isFilterPinned", + "type": "Function", + "tags": [], + "label": "isFilterPinned", + "description": [ + "\n" + ], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => boolean | undefined" + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isFilterPinned.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if the filter should be applied to global scope" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isFilters", + "type": "Function", + "tags": [], + "label": "isFilters", + "description": [], + "signature": [ + "(x: unknown) => x is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isFilters.$1", + "type": "Unknown", + "tags": [], + "label": "x", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if the given object is an array of filters" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isMatchAllFilter", + "type": "Function", + "tags": [], + "label": "isMatchAllFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.MatchAllFilter", + "text": "MatchAllFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/match_all_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isMatchAllFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/match_all_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if a filter is an `MatchAllFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isMissingFilter", + "type": "Function", + "tags": [], + "label": "isMissingFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.MissingFilter", + "text": "MissingFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/missing_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isMissingFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/missing_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if a filter is an `MissingFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isPhraseFilter", + "type": "Function", + "tags": [], + "label": "isPhraseFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isPhraseFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if a filter is a `PhraseFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isPhrasesFilter", + "type": "Function", + "tags": [], + "label": "isPhrasesFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhrasesFilter", + "text": "PhrasesFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrases_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isPhrasesFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrases_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if a filter is a `PhrasesFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isQueryStringFilter", + "type": "Function", + "tags": [], + "label": "isQueryStringFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.QueryStringFilter", + "text": "QueryStringFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/query_string_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isQueryStringFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/query_string_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if a filter is a `QueryStringFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isRangeFilter", + "type": "Function", + "tags": [], + "label": "isRangeFilter", + "description": [], + "signature": [ + "(filter?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | undefined) => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isRangeFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "`true` if a filter is an `RangeFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isScriptedPhraseFilter", + "type": "Function", + "tags": [], + "label": "isScriptedPhraseFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedPhraseFilter", + "text": "ScriptedPhraseFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isScriptedPhraseFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if a filter is a scripted `PhrasesFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isScriptedRangeFilter", + "type": "Function", + "tags": [], + "label": "isScriptedRangeFilter", + "description": [ + "\n" + ], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => filter is ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.isScriptedRangeFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "`true` if a filter is a scripted `RangeFilter`" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.luceneStringToDsl", + "type": "Function", + "tags": [], + "label": "luceneStringToDsl", + "description": [ + "\n" + ], + "signature": [ + "(query: string | ", + "QueryDslQueryContainer", + ") => ", + "QueryDslQueryContainer" + ], + "path": "packages/kbn-es-query/src/es_query/lucene_string_to_dsl.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.luceneStringToDsl.$1", + "type": "CompoundType", + "tags": [], + "label": "query", + "description": [], + "signature": [ + "string | ", + "QueryDslQueryContainer" + ], + "path": "packages/kbn-es-query/src/es_query/lucene_string_to_dsl.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.onlyDisabledFiltersChanged", + "type": "Function", + "tags": [], + "label": "onlyDisabledFiltersChanged", + "description": [ + "\nChecks to see if only disabled filters have been changed" + ], + "signature": [ + "(newFilters?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined, oldFilters?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined) => boolean" + ], + "path": "packages/kbn-es-query/src/filters/helpers/only_disabled.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.onlyDisabledFiltersChanged.$1", + "type": "Array", + "tags": [], + "label": "newFilters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined" + ], + "path": "packages/kbn-es-query/src/filters/helpers/only_disabled.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.onlyDisabledFiltersChanged.$2", + "type": "Array", + "tags": [], + "label": "oldFilters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[] | undefined" + ], + "path": "packages/kbn-es-query/src/filters/helpers/only_disabled.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "Only disabled filters" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.pinFilter", + "type": "Function", + "tags": [], + "label": "pinFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.pinFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "A pinned (global) copy of the filter" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.toElasticsearchQuery", + "type": "Function", + "tags": [ + "params", + "params" + ], + "label": "toElasticsearchQuery", + "description": [], + "signature": [ + "(node: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, + ", indexPattern?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined, config?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, + " | undefined, context?: Record | undefined) => ", + "QueryDslQueryContainer" + ], + "path": "packages/kbn-es-query/src/kuery/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.toElasticsearchQuery.$1", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "[node: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, + ", indexPattern?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined, config?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, + " | undefined, context?: Record | undefined]" + ], + "path": "packages/kbn-es-query/src/kuery/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.toggleFilterDisabled", + "type": "Function", + "tags": [], + "label": "toggleFilterDisabled", + "description": [ + "\n" + ], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => { meta: { disabled: boolean; alias?: string | null | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; query?: Record | undefined; }" + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.toggleFilterDisabled.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "A copy of the filter with a toggled disabled state" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.toggleFilterNegated", + "type": "Function", + "tags": [], + "label": "toggleFilterNegated", + "description": [ + "\n" + ], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => { meta: { negate: boolean; alias?: string | null | undefined; disabled?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; query?: Record | undefined; }" + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.toggleFilterNegated.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "A copy of the filter with a toggled negated state" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.toggleFilterPinned", + "type": "Function", + "tags": [], + "label": "toggleFilterPinned", + "description": [ + "\n" + ], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => { $state: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; }; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.toggleFilterPinned.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "A copy of the filter with a toggled pinned state (toggles store from app to global and vice versa)" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.uniqFilters", + "type": "Function", + "tags": [], + "label": "uniqFilters", + "description": [ + "\nRemove duplicate filters from an array of filters\n" + ], + "signature": [ + "(filters: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[], comparatorOptions?: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/filters/helpers/uniq_filters.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.uniqFilters.$1", + "type": "Array", + "tags": [], + "label": "filters", + "description": [ + "The filters to remove duplicates from" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/filters/helpers/uniq_filters.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.uniqFilters.$2", + "type": "Object", + "tags": [], + "label": "comparatorOptions", + "description": [ + "- Parameters to use for comparison" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterCompareOptions", + "text": "FilterCompareOptions" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/uniq_filters.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "The original filters array with duplicates removed" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.unpinFilter", + "type": "Function", + "tags": [], + "label": "unpinFilter", + "description": [], + "signature": [ + "(filter: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + ") => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.unpinFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } + ], + "path": "packages/kbn-es-query/src/filters/helpers/meta_filter.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "An unpinned (app scoped) copy of the filter" + ], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.BoolQuery", + "type": "Interface", + "tags": [], + "label": "BoolQuery", + "description": [], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.BoolQuery.must", + "type": "Array", + "tags": [], + "label": "must", + "description": [], + "signature": [ + "QueryDslQueryContainer", + "[]" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.BoolQuery.must_not", + "type": "Array", + "tags": [], + "label": "must_not", + "description": [], + "signature": [ + "QueryDslQueryContainer", + "[]" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.BoolQuery.filter", + "type": "Array", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "QueryDslQueryContainer", + "[]" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.BoolQuery.should", + "type": "Array", + "tags": [], + "label": "should", + "description": [], + "signature": [ + "QueryDslQueryContainer", + "[]" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewBase", + "type": "Interface", + "tags": [], + "label": "DataViewBase", + "description": [ + "\nA base interface for an index pattern" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewBase.fields", + "type": "Array", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewBase.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewBase.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewFieldBase", + "type": "Interface", + "tags": [], + "label": "DataViewFieldBase", + "description": [ + "\nA base interface for an index pattern field" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewFieldBase.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewFieldBase.type", + "type": "string", + "tags": [], + "label": "type", + "description": [ + "\nKibana field type" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewFieldBase.subType", + "type": "Object", + "tags": [], + "label": "subType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, + " | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewFieldBase.script", + "type": "string", + "tags": [], + "label": "script", + "description": [ + "\nScripted field painless script" + ], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewFieldBase.lang", + "type": "CompoundType", + "tags": [], + "label": "lang", + "description": [ + "\nScripted field langauge\nPainless is the only valid scripted field language" + ], + "signature": [ + "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DataViewFieldBase.scripted", + "type": "CompoundType", + "tags": [], + "label": "scripted", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FilterCompareOptions", + "type": "Interface", + "tags": [], + "label": "FilterCompareOptions", + "description": [], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FilterCompareOptions.index", + "type": "CompoundType", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FilterCompareOptions.disabled", + "type": "CompoundType", + "tags": [], + "label": "disabled", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FilterCompareOptions.negate", + "type": "CompoundType", + "tags": [], + "label": "negate", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FilterCompareOptions.state", + "type": "CompoundType", + "tags": [], + "label": "state", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FilterCompareOptions.alias", + "type": "CompoundType", + "tags": [], + "label": "alias", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.IFieldSubType", + "type": "Interface", + "tags": [], + "label": "IFieldSubType", + "description": [ + "\nA field's sub type" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.IFieldSubType.multi", + "type": "Object", + "tags": [], + "label": "multi", + "description": [], + "signature": [ + "{ parent: string; } | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.IFieldSubType.nested", + "type": "Object", + "tags": [], + "label": "nested", + "description": [], + "signature": [ + "{ path: string; } | undefined" + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KueryNode", + "type": "Interface", + "tags": [], + "label": "KueryNode", + "description": [], + "path": "packages/kbn-es-query/src/kuery/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KueryNode.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"function\" | \"wildcard\" | \"literal\" | \"namedArg\"" + ], + "path": "packages/kbn-es-query/src/kuery/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KueryNode.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-es-query/src/kuery/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KueryQueryOptions", + "type": "Interface", + "tags": [], + "label": "KueryQueryOptions", + "description": [], + "path": "packages/kbn-es-query/src/kuery/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KueryQueryOptions.filtersInMustClause", + "type": "CompoundType", + "tags": [], + "label": "filtersInMustClause", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-es-query/src/kuery/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.KueryQueryOptions.dateFormatTZ", + "type": "string", + "tags": [], + "label": "dateFormatTZ", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-es-query/src/kuery/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.LatLon", + "type": "Interface", + "tags": [], + "label": "LatLon", + "description": [ + "\nAn interface for a latitude-longitude pair" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.LatLon.lat", + "type": "number", + "tags": [], + "label": "lat", + "description": [], + "path": "packages/kbn-es-query/src/filters/build_filters/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.LatLon.lon", + "type": "number", + "tags": [], + "label": "lon", + "description": [], + "path": "packages/kbn-es-query/src/filters/build_filters/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilterParams", + "type": "Interface", + "tags": [], + "label": "RangeFilterParams", + "description": [ + "\nAn interface for all possible range filter params\nIt is similar, but not identical to estypes.QueryDslRangeQuery" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilterParams.from", + "type": "CompoundType", + "tags": [], + "label": "from", + "description": [], + "signature": [ + "string | number | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilterParams.to", + "type": "CompoundType", + "tags": [], + "label": "to", + "description": [], + "signature": [ + "string | number | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilterParams.gt", + "type": "CompoundType", + "tags": [], + "label": "gt", + "description": [], + "signature": [ + "string | number | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilterParams.lt", + "type": "CompoundType", + "tags": [], + "label": "lt", + "description": [], + "signature": [ + "string | number | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilterParams.gte", + "type": "CompoundType", + "tags": [], + "label": "gte", + "description": [], + "signature": [ + "string | number | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilterParams.lte", + "type": "CompoundType", + "tags": [], + "label": "lte", + "description": [], + "signature": [ + "string | number | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilterParams.format", + "type": "string", + "tags": [], + "label": "format", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FILTERS", + "type": "Enum", + "tags": [], + "label": "FILTERS", + "description": [ + "\nAn enum of all types of filters supported by this package" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FilterStateStore", + "type": "Enum", + "tags": [], + "label": "FilterStateStore", + "description": [ + "\n Filter,\nAn enum to denote whether a filter is specific to an application's context or whether it should be applied globally." + ], + "path": "packages/kbn-es-query/src/filters/build_filters/types.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "misc": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.CustomFilter", + "type": "Type", + "tags": [], + "label": "CustomFilter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/custom_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.DslQuery", + "type": "Type", + "tags": [], + "label": "DslQuery", + "description": [], + "signature": [ + "QueryDslQueryContainer" + ], + "path": "packages/kbn-es-query/src/kuery/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.EsQueryConfig", + "type": "Type", + "tags": [], + "label": "EsQueryConfig", + "description": [ + "\nConfigurations to be used while constructing an ES query." + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryQueryOptions", + "text": "KueryQueryOptions" + }, + " & { allowLeadingWildcards: boolean; queryStringOptions: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + "; ignoreFilterIfFieldNotInIndex: boolean; }" + ], + "path": "packages/kbn-es-query/src/es_query/build_es_query.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.ExistsFilter", + "type": "Type", + "tags": [], + "label": "ExistsFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; exists?: { field: string; } | undefined; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/exists_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FieldFilter", + "type": "Type", + "tags": [], + "label": "FieldFilter", + "description": [ + "\nA common type for filters supported by this package" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ExistsFilter", + "text": "ExistsFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.MatchAllFilter", + "text": "MatchAllFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.MissingFilter", + "text": "MissingFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhraseFilter", + "text": "PhraseFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.PhrasesFilter", + "text": "PhrasesFilter" + }, + " | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + } + ], + "path": "packages/kbn-es-query/src/filters/build_filters/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.Filter", + "type": "Type", + "tags": [], + "label": "Filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterStateStore", + "text": "FilterStateStore" + }, + "; } | undefined; meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: Record | undefined; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.FilterMeta", + "type": "Type", + "tags": [], + "label": "FilterMeta", + "description": [], + "signature": [ + "{ alias?: string | null | undefined; disabled?: boolean | undefined; negate?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.IndexPatternBase", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternBase", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": true, + "references": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.IndexPatternFieldBase", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternFieldBase", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "packages/kbn-es-query/src/es_query/types.ts", + "deprecated": true, + "references": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.MatchAllFilter", + "type": "Type", + "tags": [], + "label": "MatchAllFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + "MatchAllFilterMeta", + "; match_all: ", + "QueryDslMatchAllQuery", + "; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/match_all_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.MissingFilter", + "type": "Type", + "tags": [], + "label": "MissingFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; missing: { field: string; }; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/missing_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.PhraseFilter", + "type": "Type", + "tags": [], + "label": "PhraseFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + "PhraseFilterMeta", + "; query: { match_phrase?: Record | undefined; match?: Record | undefined; }; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.PhrasesFilter", + "type": "Type", + "tags": [], + "label": "PhrasesFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + "PhrasesFilterMeta", + "; query: ", + "QueryDslQueryContainer", + "; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrases_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.Query", + "type": "Type", + "tags": [], + "label": "Query", + "description": [], + "signature": [ + "{ query: string | { [key: string]: any; }; language: string; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.QueryStringFilter", + "type": "Type", + "tags": [], + "label": "QueryStringFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + "; query?: { query_string?: { query: string; } | undefined; } | undefined; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/query_string_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilter", + "type": "Type", + "tags": [], + "label": "RangeFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterMeta", + "text": "RangeFilterMeta" + }, + "; range: { [key: string]: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + }, + "; }; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.RangeFilterMeta", + "type": "Type", + "tags": [], + "label": "RangeFilterMeta", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + }, + " & { params: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterParams", + "text": "RangeFilterParams" + }, + "; field?: string | undefined; formattedValue?: string | undefined; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.ScriptedPhraseFilter", + "type": "Type", + "tags": [], + "label": "ScriptedPhraseFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + "PhraseFilterMeta", + "; script: { script: ", + "InlineScript", + "; }; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.ScriptedRangeFilter", + "type": "Type", + "tags": [], + "label": "ScriptedRangeFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " & { meta: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilterMeta", + "text": "RangeFilterMeta" + }, + "; script: { script: ", + "InlineScript", + "; }; }" + ], + "path": "packages/kbn-es-query/src/filters/build_filters/range_filter.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.COMPARE_ALL_OPTIONS", + "type": "Object", + "tags": [], + "label": "COMPARE_ALL_OPTIONS", + "description": [ + "\nInclude disabled, negate and store when comparing filters" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.COMPARE_ALL_OPTIONS.index", + "type": "boolean", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "true" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.COMPARE_ALL_OPTIONS.disabled", + "type": "boolean", + "tags": [], + "label": "disabled", + "description": [], + "signature": [ + "true" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.COMPARE_ALL_OPTIONS.negate", + "type": "boolean", + "tags": [], + "label": "negate", + "description": [], + "signature": [ + "true" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.COMPARE_ALL_OPTIONS.state", + "type": "boolean", + "tags": [], + "label": "state", + "description": [], + "signature": [ + "true" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.COMPARE_ALL_OPTIONS.alias", + "type": "boolean", + "tags": [], + "label": "alias", + "description": [], + "signature": [ + "true" + ], + "path": "packages/kbn-es-query/src/filters/helpers/compare_filters.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeBuilder", + "type": "Object", + "tags": [], + "label": "nodeBuilder", + "description": [], + "path": "packages/kbn-es-query/src/kuery/node_types/node_builder.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeBuilder.is", + "type": "Function", + "tags": [], + "label": "is", + "description": [], + "signature": [ + "(fieldName: string, value: string | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, + ") => ", + "FunctionTypeBuildNode" + ], + "path": "packages/kbn-es-query/src/kuery/node_types/node_builder.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeBuilder.is.$1", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-es-query/src/kuery/node_types/node_builder.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeBuilder.is.$2", + "type": "CompoundType", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "string | ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } + ], + "path": "packages/kbn-es-query/src/kuery/node_types/node_builder.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeBuilder.or", + "type": "Function", + "tags": [], + "label": "or", + "description": [], + "signature": [ + "(nodes: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, + "[]) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } + ], + "path": "packages/kbn-es-query/src/kuery/node_types/node_builder.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeBuilder.or.$1", + "type": "Array", + "tags": [], + "label": "nodes", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/kuery/node_types/node_builder.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeBuilder.and", + "type": "Function", + "tags": [], + "label": "and", + "description": [], + "signature": [ + "(nodes: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, + "[]) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + } + ], + "path": "packages/kbn-es-query/src/kuery/node_types/node_builder.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeBuilder.and.$1", + "type": "Array", + "tags": [], + "label": "nodes", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.KueryNode", + "text": "KueryNode" + }, + "[]" + ], + "path": "packages/kbn-es-query/src/kuery/node_types/node_builder.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeTypes", + "type": "Object", + "tags": [], + "label": "nodeTypes", + "description": [], + "path": "packages/kbn-es-query/src/kuery/node_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeTypes.function", + "type": "Object", + "tags": [], + "label": "function", + "description": [ + "// This requires better typing of the different typings and their return types.\n// @ts-ignore" + ], + "signature": [ + "typeof ", + "packages/kbn-es-query/src/kuery/node_types/function" + ], + "path": "packages/kbn-es-query/src/kuery/node_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeTypes.literal", + "type": "Object", + "tags": [], + "label": "literal", + "description": [], + "signature": [ + "typeof ", + "packages/kbn-es-query/src/kuery/node_types/literal" + ], + "path": "packages/kbn-es-query/src/kuery/node_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeTypes.namedArg", + "type": "Object", + "tags": [], + "label": "namedArg", + "description": [], + "signature": [ + "typeof ", + "packages/kbn-es-query/src/kuery/node_types/named_arg" + ], + "path": "packages/kbn-es-query/src/kuery/node_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/es-query", + "id": "def-common.nodeTypes.wildcard", + "type": "Object", + "tags": [], + "label": "wildcard", + "description": [], + "signature": [ + "typeof ", + "packages/kbn-es-query/src/kuery/node_types/wildcard" + ], + "path": "packages/kbn-es-query/src/kuery/node_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_es_query.mdx b/api_docs/kbn_es_query.mdx new file mode 100644 index 0000000000000..0ba50032b3634 --- /dev/null +++ b/api_docs/kbn_es_query.mdx @@ -0,0 +1,42 @@ +--- +id: kibKbnEsQueryPluginApi +slug: /kibana-dev-docs/api/kbn-es-query +title: "@kbn/es-query" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/es-query plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/es-query'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnEsQueryObj from './kbn_es_query.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 198 | 2 | 146 | 12 | + +## Common + +### Objects + + +### Functions + + +### Classes + + +### Interfaces + + +### Enums + + +### Consts, variables and types + + diff --git a/api_docs/kbn_field_types.json b/api_docs/kbn_field_types.json new file mode 100644 index 0000000000000..a0c3de8a3d807 --- /dev/null +++ b/api_docs/kbn_field_types.json @@ -0,0 +1,342 @@ +{ + "id": "@kbn/field-types", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldType", + "type": "Class", + "tags": [], + "label": "KbnFieldType", + "description": [], + "path": "packages/kbn-field-types/src/kbn_field_type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldType.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/kbn-field-types/src/kbn_field_type.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldType.sortable", + "type": "boolean", + "tags": [], + "label": "sortable", + "description": [], + "path": "packages/kbn-field-types/src/kbn_field_type.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldType.filterable", + "type": "boolean", + "tags": [], + "label": "filterable", + "description": [], + "path": "packages/kbn-field-types/src/kbn_field_type.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldType.esTypes", + "type": "Object", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "readonly ", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, + "[]" + ], + "path": "packages/kbn-field-types/src/kbn_field_type.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldType.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-field-types/src/kbn_field_type.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldType.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Partial<", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KbnFieldTypeOptions", + "text": "KbnFieldTypeOptions" + }, + ">" + ], + "path": "packages/kbn-field-types/src/kbn_field_type.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.castEsToKbnFieldTypeName", + "type": "Function", + "tags": [ + "return" + ], + "label": "castEsToKbnFieldTypeName", + "description": [ + "\n Get the KbnFieldType name for an esType string\n" + ], + "signature": [ + "(esType: string) => ", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KBN_FIELD_TYPES", + "text": "KBN_FIELD_TYPES" + } + ], + "path": "packages/kbn-field-types/src/kbn_field_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.castEsToKbnFieldTypeName.$1", + "type": "string", + "tags": [], + "label": "esType", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-field-types/src/kbn_field_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.getFilterableKbnTypeNames", + "type": "Function", + "tags": [ + "return" + ], + "label": "getFilterableKbnTypeNames", + "description": [ + "\n Get filterable KbnFieldTypes\n" + ], + "signature": [ + "() => string[]" + ], + "path": "packages/kbn-field-types/src/kbn_field_types.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.getKbnFieldType", + "type": "Function", + "tags": [ + "return" + ], + "label": "getKbnFieldType", + "description": [ + "\n Get a type object by name\n" + ], + "signature": [ + "(typeName: string) => ", + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.KbnFieldType", + "text": "KbnFieldType" + } + ], + "path": "packages/kbn-field-types/src/kbn_field_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.getKbnFieldType.$1", + "type": "string", + "tags": [], + "label": "typeName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-field-types/src/kbn_field_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.getKbnTypeNames", + "type": "Function", + "tags": [ + "return" + ], + "label": "getKbnTypeNames", + "description": [ + "\n Get the esTypes known by all kbnFieldTypes\n" + ], + "signature": [ + "() => string[]" + ], + "path": "packages/kbn-field-types/src/kbn_field_types.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldTypeOptions", + "type": "Interface", + "tags": [], + "label": "KbnFieldTypeOptions", + "description": [], + "path": "packages/kbn-field-types/src/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldTypeOptions.sortable", + "type": "boolean", + "tags": [], + "label": "sortable", + "description": [], + "path": "packages/kbn-field-types/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldTypeOptions.filterable", + "type": "boolean", + "tags": [], + "label": "filterable", + "description": [], + "path": "packages/kbn-field-types/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldTypeOptions.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/kbn-field-types/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KbnFieldTypeOptions.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + { + "pluginId": "@kbn/field-types", + "scope": "server", + "docId": "kibKbnFieldTypesPluginApi", + "section": "def-server.ES_FIELD_TYPES", + "text": "ES_FIELD_TYPES" + }, + "[]" + ], + "path": "packages/kbn-field-types/src/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [ + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.ES_FIELD_TYPES", + "type": "Enum", + "tags": [], + "label": "ES_FIELD_TYPES", + "description": [], + "path": "packages/kbn-field-types/src/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/field-types", + "id": "def-server.KBN_FIELD_TYPES", + "type": "Enum", + "tags": [], + "label": "KBN_FIELD_TYPES", + "description": [], + "path": "packages/kbn-field-types/src/types.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_field_types.mdx b/api_docs/kbn_field_types.mdx new file mode 100644 index 0000000000000..b172967b36da7 --- /dev/null +++ b/api_docs/kbn_field_types.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnFieldTypesPluginApi +slug: /kibana-dev-docs/api/kbn-field-types +title: "@kbn/field-types" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/field-types plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/field-types'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnFieldTypesObj from './kbn_field_types.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 20 | 0 | 16 | 0 | + +## Server + +### Functions + + +### Classes + + +### Interfaces + + +### Enums + + diff --git a/api_docs/kbn_i18n.json b/api_docs/kbn_i18n.json new file mode 100644 index 0000000000000..7dfd6ff5cdf6f --- /dev/null +++ b/api_docs/kbn_i18n.json @@ -0,0 +1,58 @@ +{ + "id": "@kbn/i18n", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [ + { + "parentPluginId": "@kbn/i18n", + "id": "def-common.i18n", + "type": "Object", + "tags": [], + "label": "i18n", + "description": [], + "signature": [ + "typeof ", + "packages/kbn-i18n/src/core/index" + ], + "path": "packages/kbn-i18n/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/i18n", + "id": "def-common.i18nLoader", + "type": "Object", + "tags": [], + "label": "i18nLoader", + "description": [], + "signature": [ + "typeof ", + "packages/kbn-i18n/src/loader" + ], + "path": "packages/kbn-i18n/src/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_i18n.mdx b/api_docs/kbn_i18n.mdx new file mode 100644 index 0000000000000..3e63ac31bf7da --- /dev/null +++ b/api_docs/kbn_i18n.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnI18nPluginApi +slug: /kibana-dev-docs/api/kbn-i18n +title: "@kbn/i18n" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/i18n plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/i18n'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnI18nObj from './kbn_i18n.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 2 | 0 | 2 | 2 | + +## Common + +### Objects + + diff --git a/api_docs/kbn_io_ts_utils.json b/api_docs/kbn_io_ts_utils.json new file mode 100644 index 0000000000000..e4bb841efe9e5 --- /dev/null +++ b/api_docs/kbn_io_ts_utils.json @@ -0,0 +1,446 @@ +{ + "id": "@kbn/io-ts-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.deepExactRt", + "type": "Function", + "tags": [], + "label": "deepExactRt", + "description": [], + "signature": [ + "(type: T) => T" + ], + "path": "packages/kbn-io-ts-utils/src/deep_exact_rt/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.deepExactRt.$1", + "type": "Uncategorized", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-io-ts-utils/src/deep_exact_rt/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.deepExactRt", + "type": "Function", + "tags": [], + "label": "deepExactRt", + "description": [], + "signature": [ + "(type: ", + "Type", + " | ", + "StringType", + " | ", + "BooleanType", + " | ", + "NumberType", + " | ", + "ArrayType", + "<", + "Mixed", + ", any, any, unknown> | ", + "RecordC", + "<", + "Mixed", + ", ", + "Mixed", + "> | ", + "DictionaryType", + "<", + "Mixed", + ", ", + "Mixed", + ", any, any, unknown> | ", + "InterfaceType", + "<", + "Props", + ", any, any, unknown> | ", + "PartialType", + "<", + "Props", + ", any, any, unknown> | ", + "UnionType", + "<", + "Mixed", + "[], any, any, unknown> | ", + "IntersectionType", + "<", + "Mixed", + "[], any, any, unknown> | ", + "MergeType", + "<", + "Mixed", + ", ", + "Mixed", + ">) => ", + "Type", + " | ", + "StringType", + " | ", + "BooleanType", + " | ", + "NumberType", + " | ", + "RecordC", + "<", + "Mixed", + ", ", + "Mixed", + "> | ", + "ArrayC", + "<", + "Mixed", + "> | ", + "ExactC", + "<", + "TypeC", + "<{ [x: string]: ", + "Mixed", + "; }>> | ", + "ExactC", + "<", + "PartialC", + "<{ [x: string]: ", + "Mixed", + "; }>>" + ], + "path": "packages/kbn-io-ts-utils/src/deep_exact_rt/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.deepExactRt.$1", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "Type", + " | ", + "StringType", + " | ", + "BooleanType", + " | ", + "NumberType", + " | ", + "ArrayType", + "<", + "Mixed", + ", any, any, unknown> | ", + "RecordC", + "<", + "Mixed", + ", ", + "Mixed", + "> | ", + "DictionaryType", + "<", + "Mixed", + ", ", + "Mixed", + ", any, any, unknown> | ", + "InterfaceType", + "<", + "Props", + ", any, any, unknown> | ", + "PartialType", + "<", + "Props", + ", any, any, unknown> | ", + "UnionType", + "<", + "Mixed", + "[], any, any, unknown> | ", + "IntersectionType", + "<", + "Mixed", + "[], any, any, unknown> | ", + "MergeType", + "<", + "Mixed", + ", ", + "Mixed", + ">" + ], + "path": "packages/kbn-io-ts-utils/src/deep_exact_rt/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.mergeRt", + "type": "Function", + "tags": [], + "label": "mergeRt", + "description": [], + "signature": [ + "(a: T1, b: T2) => ", + "MergeType", + "" + ], + "path": "packages/kbn-io-ts-utils/src/merge_rt/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.mergeRt.$1", + "type": "Uncategorized", + "tags": [], + "label": "a", + "description": [], + "signature": [ + "T1" + ], + "path": "packages/kbn-io-ts-utils/src/merge_rt/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.mergeRt.$2", + "type": "Uncategorized", + "tags": [], + "label": "b", + "description": [], + "signature": [ + "T2" + ], + "path": "packages/kbn-io-ts-utils/src/merge_rt/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.mergeRt", + "type": "Function", + "tags": [], + "label": "mergeRt", + "description": [], + "signature": [ + "(types: ", + "Any", + "[]) => { _tag: string; types: ", + "Any", + "[]; name: string; is: ", + "Is", + "; validate: ", + "Validate", + "; encode: ", + "Encode", + "; _A: any; _O: any; _I: unknown; }" + ], + "path": "packages/kbn-io-ts-utils/src/merge_rt/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.mergeRt.$1", + "type": "Array", + "tags": [], + "label": "types", + "description": [], + "signature": [ + "Any", + "[]" + ], + "path": "packages/kbn-io-ts-utils/src/merge_rt/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.strictKeysRt", + "type": "Function", + "tags": [], + "label": "strictKeysRt", + "description": [], + "signature": [ + "(type: T) => ", + "Type", + "" + ], + "path": "packages/kbn-io-ts-utils/src/strict_keys_rt/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.strictKeysRt.$1", + "type": "Uncategorized", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-io-ts-utils/src/strict_keys_rt/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.toJsonSchema", + "type": "Function", + "tags": [], + "label": "toJsonSchema", + "description": [], + "signature": [ + "(type: ", + "Mixed", + ") => JSONSchema" + ], + "path": "packages/kbn-io-ts-utils/src/to_json_schema/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.toJsonSchema.$1", + "type": "Object", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "Mixed" + ], + "path": "packages/kbn-io-ts-utils/src/to_json_schema/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [ + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.isoToEpochRt", + "type": "Object", + "tags": [], + "label": "isoToEpochRt", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-io-ts-utils/src/iso_to_epoch_rt/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.jsonRt", + "type": "Object", + "tags": [], + "label": "jsonRt", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-io-ts-utils/src/json_rt/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.nonEmptyStringRt", + "type": "Object", + "tags": [], + "label": "nonEmptyStringRt", + "description": [], + "signature": [ + "BrandC", + "<", + "StringC", + ", ", + "NonEmptyStringBrand", + ">" + ], + "path": "packages/kbn-io-ts-utils/src/non_empty_string_rt/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.toBooleanRt", + "type": "Object", + "tags": [], + "label": "toBooleanRt", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-io-ts-utils/src/to_boolean_rt/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/io-ts-utils", + "id": "def-server.toNumberRt", + "type": "Object", + "tags": [], + "label": "toNumberRt", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-io-ts-utils/src/to_number_rt/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_io_ts_utils.mdx b/api_docs/kbn_io_ts_utils.mdx new file mode 100644 index 0000000000000..445586d8426ff --- /dev/null +++ b/api_docs/kbn_io_ts_utils.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnIoTsUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-io-ts-utils +title: "@kbn/io-ts-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/io-ts-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/io-ts-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnIoTsUtilsObj from './kbn_io_ts_utils.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 18 | 0 | 18 | 2 | + +## Server + +### Objects + + +### Functions + + diff --git a/api_docs/kbn_logging.json b/api_docs/kbn_logging.json new file mode 100644 index 0000000000000..32ab4bac1ffac --- /dev/null +++ b/api_docs/kbn_logging.json @@ -0,0 +1,760 @@ +{ + "id": "@kbn/logging", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger", + "type": "Interface", + "tags": [], + "label": "Logger", + "description": [ + "\nLogger exposes all the necessary methods to log any type of information and\nthis is the interface used by the logging consumers including plugins.\n" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.trace", + "type": "Function", + "tags": [], + "label": "trace", + "description": [ + "\nLog messages at the most detailed log level\n" + ], + "signature": [ + "(message: string, meta?: Meta | undefined) => void" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.trace.$1", + "type": "string", + "tags": [], + "label": "message", + "description": [ + "- The log message" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.trace.$2", + "type": "Uncategorized", + "tags": [], + "label": "meta", + "description": [ + "-" + ], + "signature": [ + "Meta | undefined" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.debug", + "type": "Function", + "tags": [], + "label": "debug", + "description": [ + "\nLog messages useful for debugging and interactive investigation" + ], + "signature": [ + "(message: string, meta?: Meta | undefined) => void" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.debug.$1", + "type": "string", + "tags": [], + "label": "message", + "description": [ + "- The log message" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.debug.$2", + "type": "Uncategorized", + "tags": [], + "label": "meta", + "description": [ + "-" + ], + "signature": [ + "Meta | undefined" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.info", + "type": "Function", + "tags": [], + "label": "info", + "description": [ + "\nLogs messages related to general application flow" + ], + "signature": [ + "(message: string, meta?: Meta | undefined) => void" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.info.$1", + "type": "string", + "tags": [], + "label": "message", + "description": [ + "- The log message" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.info.$2", + "type": "Uncategorized", + "tags": [], + "label": "meta", + "description": [ + "-" + ], + "signature": [ + "Meta | undefined" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.warn", + "type": "Function", + "tags": [], + "label": "warn", + "description": [ + "\nLogs abnormal or unexpected errors or messages" + ], + "signature": [ + "(errorOrMessage: string | Error, meta?: Meta | undefined) => void" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.warn.$1", + "type": "CompoundType", + "tags": [], + "label": "errorOrMessage", + "description": [ + "- An Error object or message string to log" + ], + "signature": [ + "string | Error" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.warn.$2", + "type": "Uncategorized", + "tags": [], + "label": "meta", + "description": [ + "-" + ], + "signature": [ + "Meta | undefined" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.error", + "type": "Function", + "tags": [], + "label": "error", + "description": [ + "\nLogs abnormal or unexpected errors or messages that caused a failure in the application flow\n" + ], + "signature": [ + "(errorOrMessage: string | Error, meta?: Meta | undefined) => void" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.error.$1", + "type": "CompoundType", + "tags": [], + "label": "errorOrMessage", + "description": [ + "- An Error object or message string to log" + ], + "signature": [ + "string | Error" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.error.$2", + "type": "Uncategorized", + "tags": [], + "label": "meta", + "description": [ + "-" + ], + "signature": [ + "Meta | undefined" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.fatal", + "type": "Function", + "tags": [], + "label": "fatal", + "description": [ + "\nLogs abnormal or unexpected errors or messages that caused an unrecoverable failure\n" + ], + "signature": [ + "(errorOrMessage: string | Error, meta?: Meta | undefined) => void" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.fatal.$1", + "type": "CompoundType", + "tags": [], + "label": "errorOrMessage", + "description": [ + "- An Error object or message string to log" + ], + "signature": [ + "string | Error" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.fatal.$2", + "type": "Uncategorized", + "tags": [], + "label": "meta", + "description": [ + "-" + ], + "signature": [ + "Meta | undefined" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [ + "\nReturns a new {@link Logger} instance extending the current logger context.\n" + ], + "signature": [ + "(...childContextPaths: string[]) => ", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Logger.get.$1", + "type": "Array", + "tags": [], + "label": "childContextPaths", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-logging/src/logger.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.LoggerFactory", + "type": "Interface", + "tags": [], + "label": "LoggerFactory", + "description": [ + "\nThe single purpose of `LoggerFactory` interface is to define a way to\nretrieve a context-based logger instance.\n" + ], + "path": "packages/kbn-logging/src/logger_factory.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.LoggerFactory.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [ + "\nReturns a `Logger` instance for the specified context.\n" + ], + "signature": [ + "(...contextParts: string[]) => ", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } + ], + "path": "packages/kbn-logging/src/logger_factory.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.LoggerFactory.get.$1", + "type": "Array", + "tags": [], + "label": "contextParts", + "description": [ + "- Parts of the context to return logger for. For example\nget('plugins', 'pid') will return a logger for the `plugins.pid` context." + ], + "signature": [ + "string[]" + ], + "path": "packages/kbn-logging/src/logger_factory.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/logging", + "id": "def-server.Ecs", + "type": "Type", + "tags": [], + "label": "Ecs", + "description": [ + "\nRepresents the full ECS schema.\n" + ], + "signature": [ + "EcsBase", + " & ", + "EcsTracing", + " & { ecs: EcsField; agent?: ", + "EcsAgent", + " | undefined; as?: ", + "EcsAutonomousSystem", + " | undefined; client?: ", + "EcsClient", + " | undefined; cloud?: ", + "EcsCloud", + " | undefined; container?: ", + "EcsContainer", + " | undefined; data_stream?: ", + "EcsDataStream", + " | undefined; destination?: ", + "EcsDestination", + " | undefined; dns?: ", + "EcsDns", + " | undefined; email?: ", + "EcsEmail", + " | undefined; error?: ", + "EcsError", + " | undefined; event?: ", + "EcsEvent", + " | undefined; file?: ", + "EcsFile", + " | undefined; group?: ", + "EcsGroup", + " | undefined; host?: ", + "EcsHost", + " | undefined; http?: ", + "EcsHttp", + " | undefined; log?: ", + "EcsLog", + " | undefined; network?: ", + "EcsNetwork", + " | undefined; observer?: ", + "EcsObserver", + " | undefined; orchestrator?: ", + "EcsOrchestrator", + " | undefined; organization?: ", + "EcsOrganization", + " | undefined; package?: ", + "EcsPackage", + " | undefined; process?: ", + "EcsProcess", + " | undefined; registry?: ", + "EcsRegistry", + " | undefined; related?: ", + "EcsRelated", + " | undefined; rule?: ", + "EcsRule", + " | undefined; server?: ", + "EcsServer", + " | undefined; service?: ", + "EcsService", + " | undefined; source?: ", + "EcsSource", + " | undefined; threat?: ", + "EcsThreat", + " | undefined; tls?: ", + "EcsTls", + " | undefined; url?: ", + "EcsUrl", + " | undefined; user?: ", + "EcsUser", + " | undefined; user_agent?: ", + "EcsUserAgent", + " | undefined; vulnerability?: ", + "EcsVulnerability", + " | undefined; }" + ], + "path": "packages/kbn-logging/src/ecs/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.EcsEventCategory", + "type": "Type", + "tags": [], + "label": "EcsEventCategory", + "description": [], + "signature": [ + "\"host\" | \"network\" | \"web\" | \"database\" | \"package\" | \"session\" | \"file\" | \"registry\" | \"process\" | \"authentication\" | \"configuration\" | \"driver\" | \"iam\" | \"intrusion_detection\" | \"malware\"" + ], + "path": "packages/kbn-logging/src/ecs/event.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.EcsEventKind", + "type": "Type", + "tags": [], + "label": "EcsEventKind", + "description": [], + "signature": [ + "\"alert\" | \"metric\" | \"event\" | \"state\" | \"signal\" | \"pipeline_error\"" + ], + "path": "packages/kbn-logging/src/ecs/event.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.EcsEventOutcome", + "type": "Type", + "tags": [], + "label": "EcsEventOutcome", + "description": [], + "signature": [ + "\"unknown\" | \"success\" | \"failure\"" + ], + "path": "packages/kbn-logging/src/ecs/event.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.EcsEventType", + "type": "Type", + "tags": [], + "label": "EcsEventType", + "description": [], + "signature": [ + "\"start\" | \"connection\" | \"end\" | \"user\" | \"error\" | \"info\" | \"group\" | \"protocol\" | \"access\" | \"admin\" | \"allowed\" | \"change\" | \"creation\" | \"deletion\" | \"denied\" | \"installation\"" + ], + "path": "packages/kbn-logging/src/ecs/event.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/logging", + "id": "def-server.LogMeta", + "type": "Type", + "tags": [], + "label": "LogMeta", + "description": [ + "\nRepresents the ECS schema with the following reserved keys excluded:\n- `ecs`\n- `@timestamp`\n- `message`\n- `log.level`\n- `log.logger`\n" + ], + "signature": [ + "Pick<", + "EcsBase", + ", \"tags\" | \"labels\"> & ", + "EcsTracing", + " & { agent?: ", + "EcsAgent", + " | undefined; as?: ", + "EcsAutonomousSystem", + " | undefined; client?: ", + "EcsClient", + " | undefined; cloud?: ", + "EcsCloud", + " | undefined; container?: ", + "EcsContainer", + " | undefined; destination?: ", + "EcsDestination", + " | undefined; dns?: ", + "EcsDns", + " | undefined; error?: ", + "EcsError", + " | undefined; event?: ", + "EcsEvent", + " | undefined; file?: ", + "EcsFile", + " | undefined; group?: ", + "EcsGroup", + " | undefined; host?: ", + "EcsHost", + " | undefined; http?: ", + "EcsHttp", + " | undefined; log?: Pick<", + "EcsLog", + ", \"origin\" | \"original\" | \"file\" | \"syslog\"> | undefined; network?: ", + "EcsNetwork", + " | undefined; observer?: ", + "EcsObserver", + " | undefined; organization?: ", + "EcsOrganization", + " | undefined; package?: ", + "EcsPackage", + " | undefined; process?: ", + "EcsProcess", + " | undefined; registry?: ", + "EcsRegistry", + " | undefined; related?: ", + "EcsRelated", + " | undefined; rule?: ", + "EcsRule", + " | undefined; server?: ", + "EcsServer", + " | undefined; service?: ", + "EcsService", + " | undefined; source?: ", + "EcsSource", + " | undefined; threat?: ", + "EcsThreat", + " | undefined; tls?: ", + "EcsTls", + " | undefined; url?: ", + "EcsUrl", + " | undefined; user?: ", + "EcsUser", + " | undefined; user_agent?: ", + "EcsUserAgent", + " | undefined; vulnerability?: ", + "EcsVulnerability", + " | undefined; }" + ], + "path": "packages/kbn-logging/src/log_meta.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_logging.mdx b/api_docs/kbn_logging.mdx new file mode 100644 index 0000000000000..692a4b47fa5c5 --- /dev/null +++ b/api_docs/kbn_logging.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnLoggingPluginApi +slug: /kibana-dev-docs/api/kbn-logging +title: "@kbn/logging" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/logging plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/logging'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnLoggingObj from './kbn_logging.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 30 | 0 | 5 | 37 | + +## Server + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_mapbox_gl.json b/api_docs/kbn_mapbox_gl.json new file mode 100644 index 0000000000000..ee5b4c6dadc7d --- /dev/null +++ b/api_docs/kbn_mapbox_gl.json @@ -0,0 +1,6897 @@ +{ + "id": "@kbn/mapbox-gl", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat", + "type": "Class", + "tags": [], + "label": "LngLat", + "description": [ + "\nLngLat" + ], + "signature": [ + "maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.lng", + "type": "number", + "tags": [], + "label": "lng", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.lat", + "type": "number", + "tags": [], + "label": "lat", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.Unnamed.$1", + "type": "number", + "tags": [], + "label": "lng", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.Unnamed.$2", + "type": "number", + "tags": [], + "label": "lat", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.wrap", + "type": "Function", + "tags": [], + "label": "wrap", + "description": [ + "Return a new LngLat object whose longitude is wrapped to the range (-180, 180)." + ], + "signature": [ + "() => maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.toArray", + "type": "Function", + "tags": [], + "label": "toArray", + "description": [ + "Return a LngLat as an array" + ], + "signature": [ + "() => number[]" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.toString", + "type": "Function", + "tags": [], + "label": "toString", + "description": [ + "Return a LngLat as a string" + ], + "signature": [ + "() => string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.distanceTo", + "type": "Function", + "tags": [], + "label": "distanceTo", + "description": [ + "Returns the approximate distance between a pair of coordinates in meters\nUses the Haversine Formula (from R.W. Sinnott, \"Virtues of the Haversine\", Sky and Telescope, vol. 68, no. 2, 1984, p. 159)" + ], + "signature": [ + "(lngLat: maplibregl.LngLat) => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.distanceTo.$1", + "type": "Object", + "tags": [], + "label": "lngLat", + "description": [], + "signature": [ + "maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.toBounds", + "type": "Function", + "tags": [], + "label": "toBounds", + "description": [], + "signature": [ + "(radius: number) => maplibregl.LngLatBounds" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.toBounds.$1", + "type": "number", + "tags": [], + "label": "radius", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.convert", + "type": "Function", + "tags": [], + "label": "convert", + "description": [], + "signature": [ + "(input: maplibregl.LngLatLike) => maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLat.convert.$1", + "type": "CompoundType", + "tags": [], + "label": "input", + "description": [], + "signature": [ + "maplibregl.LngLatLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds", + "type": "Class", + "tags": [], + "label": "LngLatBounds", + "description": [ + "\nLngLatBounds" + ], + "signature": [ + "maplibregl.LngLatBounds" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.sw", + "type": "CompoundType", + "tags": [], + "label": "sw", + "description": [], + "signature": [ + "[number, number] | maplibregl.LngLat | { lng: number; lat: number; } | { lon: number; lat: number; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.ne", + "type": "CompoundType", + "tags": [], + "label": "ne", + "description": [], + "signature": [ + "[number, number] | maplibregl.LngLat | { lng: number; lat: number; } | { lon: number; lat: number; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.Unnamed.$1", + "type": "CompoundType", + "tags": [], + "label": "boundsLike", + "description": [], + "signature": [ + "[number, number, number, number] | [maplibregl.LngLatLike, maplibregl.LngLatLike] | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.Unnamed.$1", + "type": "CompoundType", + "tags": [], + "label": "sw", + "description": [], + "signature": [ + "maplibregl.LngLatLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.Unnamed.$2", + "type": "CompoundType", + "tags": [], + "label": "ne", + "description": [], + "signature": [ + "maplibregl.LngLatLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.setNorthEast", + "type": "Function", + "tags": [], + "label": "setNorthEast", + "description": [], + "signature": [ + "(ne: maplibregl.LngLatLike) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.setNorthEast.$1", + "type": "CompoundType", + "tags": [], + "label": "ne", + "description": [], + "signature": [ + "maplibregl.LngLatLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.setSouthWest", + "type": "Function", + "tags": [], + "label": "setSouthWest", + "description": [], + "signature": [ + "(sw: maplibregl.LngLatLike) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.setSouthWest.$1", + "type": "CompoundType", + "tags": [], + "label": "sw", + "description": [], + "signature": [ + "maplibregl.LngLatLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.contains", + "type": "Function", + "tags": [], + "label": "contains", + "description": [ + "Check if the point is within the bounding box." + ], + "signature": [ + "(lnglat: maplibregl.LngLatLike) => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.contains.$1", + "type": "CompoundType", + "tags": [], + "label": "lnglat", + "description": [], + "signature": [ + "maplibregl.LngLatLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.extend", + "type": "Function", + "tags": [], + "label": "extend", + "description": [ + "Extend the bounds to include a given LngLat or LngLatBounds." + ], + "signature": [ + "(obj: maplibregl.LngLatBoundsLike) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.extend.$1", + "type": "CompoundType", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "maplibregl.LngLatBoundsLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.getCenter", + "type": "Function", + "tags": [], + "label": "getCenter", + "description": [ + "Get the point equidistant from this box's corners" + ], + "signature": [ + "() => maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.getSouthWest", + "type": "Function", + "tags": [], + "label": "getSouthWest", + "description": [ + "Get southwest corner" + ], + "signature": [ + "() => maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.getNorthEast", + "type": "Function", + "tags": [], + "label": "getNorthEast", + "description": [ + "Get northeast corner" + ], + "signature": [ + "() => maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.getNorthWest", + "type": "Function", + "tags": [], + "label": "getNorthWest", + "description": [ + "Get northwest corner" + ], + "signature": [ + "() => maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.getSouthEast", + "type": "Function", + "tags": [], + "label": "getSouthEast", + "description": [ + "Get southeast corner" + ], + "signature": [ + "() => maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.getWest", + "type": "Function", + "tags": [], + "label": "getWest", + "description": [ + "Get west edge longitude" + ], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.getSouth", + "type": "Function", + "tags": [], + "label": "getSouth", + "description": [ + "Get south edge latitude" + ], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.getEast", + "type": "Function", + "tags": [], + "label": "getEast", + "description": [ + "Get east edge longitude" + ], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.getNorth", + "type": "Function", + "tags": [], + "label": "getNorth", + "description": [ + "Get north edge latitude" + ], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.toArray", + "type": "Function", + "tags": [], + "label": "toArray", + "description": [ + "Returns a LngLatBounds as an array" + ], + "signature": [ + "() => number[][]" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.toString", + "type": "Function", + "tags": [], + "label": "toString", + "description": [ + "Return a LngLatBounds as a string" + ], + "signature": [ + "() => string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.isEmpty", + "type": "Function", + "tags": [], + "label": "isEmpty", + "description": [ + "Returns a boolean" + ], + "signature": [ + "() => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.convert", + "type": "Function", + "tags": [], + "label": "convert", + "description": [ + "Convert an array to a LngLatBounds object, or return an existing LngLatBounds object unchanged." + ], + "signature": [ + "(input: maplibregl.LngLatBoundsLike) => maplibregl.LngLatBounds" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.LngLatBounds.convert.$1", + "type": "CompoundType", + "tags": [], + "label": "input", + "description": [], + "signature": [ + "maplibregl.LngLatBoundsLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map", + "type": "Class", + "tags": [], + "label": "Map", + "description": [ + "\nMap" + ], + "signature": [ + "maplibregl.Map extends maplibregl.Evented" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.MapboxOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addControl", + "type": "Function", + "tags": [], + "label": "addControl", + "description": [], + "signature": [ + "(control: maplibregl.Control | maplibregl.IControl, position?: \"top-right\" | \"top-left\" | \"bottom-right\" | \"bottom-left\" | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addControl.$1", + "type": "CompoundType", + "tags": [], + "label": "control", + "description": [], + "signature": [ + "maplibregl.Control | maplibregl.IControl" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addControl.$2", + "type": "CompoundType", + "tags": [], + "label": "position", + "description": [], + "signature": [ + "\"top-right\" | \"top-left\" | \"bottom-right\" | \"bottom-left\" | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeControl", + "type": "Function", + "tags": [], + "label": "removeControl", + "description": [], + "signature": [ + "(control: maplibregl.Control | maplibregl.IControl) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeControl.$1", + "type": "CompoundType", + "tags": [], + "label": "control", + "description": [], + "signature": [ + "maplibregl.Control | maplibregl.IControl" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.hasControl", + "type": "Function", + "tags": [], + "label": "hasControl", + "description": [ + "\nChecks if a control exists on the map.\n" + ], + "signature": [ + "(control: maplibregl.IControl) => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.hasControl.$1", + "type": "Object", + "tags": [], + "label": "control", + "description": [ + "The {@link IControl} to check." + ], + "signature": [ + "maplibregl.IControl" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "True if map contains control." + ] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.resize", + "type": "Function", + "tags": [], + "label": "resize", + "description": [], + "signature": [ + "(eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.resize.$1", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getBounds", + "type": "Function", + "tags": [], + "label": "getBounds", + "description": [], + "signature": [ + "() => maplibregl.LngLatBounds" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getMaxBounds", + "type": "Function", + "tags": [], + "label": "getMaxBounds", + "description": [], + "signature": [ + "() => maplibregl.LngLatBounds | null" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMaxBounds", + "type": "Function", + "tags": [], + "label": "setMaxBounds", + "description": [], + "signature": [ + "(lnglatbounds?: [number, number] | [number, number, number, number] | maplibregl.LngLatBounds | [maplibregl.LngLatLike, maplibregl.LngLatLike] | maplibregl.LngLat | { lng: number; lat: number; } | { lon: number; lat: number; } | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMaxBounds.$1", + "type": "CompoundType", + "tags": [], + "label": "lnglatbounds", + "description": [], + "signature": [ + "[number, number] | [number, number, number, number] | maplibregl.LngLatBounds | [maplibregl.LngLatLike, maplibregl.LngLatLike] | maplibregl.LngLat | { lng: number; lat: number; } | { lon: number; lat: number; } | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMinZoom", + "type": "Function", + "tags": [], + "label": "setMinZoom", + "description": [], + "signature": [ + "(minZoom?: number | null | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMinZoom.$1", + "type": "CompoundType", + "tags": [], + "label": "minZoom", + "description": [], + "signature": [ + "number | null | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getMinZoom", + "type": "Function", + "tags": [], + "label": "getMinZoom", + "description": [], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMaxZoom", + "type": "Function", + "tags": [], + "label": "setMaxZoom", + "description": [], + "signature": [ + "(maxZoom?: number | null | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMaxZoom.$1", + "type": "CompoundType", + "tags": [], + "label": "maxZoom", + "description": [], + "signature": [ + "number | null | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getMaxZoom", + "type": "Function", + "tags": [], + "label": "getMaxZoom", + "description": [], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMinPitch", + "type": "Function", + "tags": [], + "label": "setMinPitch", + "description": [], + "signature": [ + "(minPitch?: number | null | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMinPitch.$1", + "type": "CompoundType", + "tags": [], + "label": "minPitch", + "description": [], + "signature": [ + "number | null | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getMinPitch", + "type": "Function", + "tags": [], + "label": "getMinPitch", + "description": [], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMaxPitch", + "type": "Function", + "tags": [], + "label": "setMaxPitch", + "description": [], + "signature": [ + "(maxPitch?: number | null | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setMaxPitch.$1", + "type": "CompoundType", + "tags": [], + "label": "maxPitch", + "description": [], + "signature": [ + "number | null | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getMaxPitch", + "type": "Function", + "tags": [], + "label": "getMaxPitch", + "description": [], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getRenderWorldCopies", + "type": "Function", + "tags": [], + "label": "getRenderWorldCopies", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setRenderWorldCopies", + "type": "Function", + "tags": [], + "label": "setRenderWorldCopies", + "description": [], + "signature": [ + "(renderWorldCopies?: boolean | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setRenderWorldCopies.$1", + "type": "CompoundType", + "tags": [], + "label": "renderWorldCopies", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.project", + "type": "Function", + "tags": [], + "label": "project", + "description": [], + "signature": [ + "(lnglat: maplibregl.LngLatLike) => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.project.$1", + "type": "CompoundType", + "tags": [], + "label": "lnglat", + "description": [], + "signature": [ + "maplibregl.LngLatLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.unproject", + "type": "Function", + "tags": [], + "label": "unproject", + "description": [], + "signature": [ + "(point: maplibregl.PointLike) => maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.unproject.$1", + "type": "CompoundType", + "tags": [], + "label": "point", + "description": [], + "signature": [ + "maplibregl.PointLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.isMoving", + "type": "Function", + "tags": [], + "label": "isMoving", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.isZooming", + "type": "Function", + "tags": [], + "label": "isZooming", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.isRotating", + "type": "Function", + "tags": [], + "label": "isRotating", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.queryRenderedFeatures", + "type": "Function", + "tags": [], + "label": "queryRenderedFeatures", + "description": [ + "\nReturns an array of GeoJSON Feature objects representing visible features that satisfy the query parameters.\n\nThe properties value of each returned feature object contains the properties of its source feature. For GeoJSON sources, only string and numeric property values are supported (i.e. null, Array, and Object values are not supported).\n\nEach feature includes top-level layer, source, and sourceLayer properties. The layer property is an object representing the style layer to which the feature belongs. Layout and paint properties in this object contain values which are fully evaluated for the given zoom level and feature.\n\nOnly features that are currently rendered are included. Some features will not be included, like:\n\n- Features from layers whose visibility property is \"none\".\n- Features from layers whose zoom range excludes the current zoom level.\n- Symbol features that have been hidden due to text or icon collision.\n\nFeatures from all other layers are included, including features that may have no visible contribution to the rendered result; for example, because the layer's opacity or color alpha component is set to 0.\n\nThe topmost rendered feature appears first in the returned array, and subsequent features are sorted by descending z-order. Features that are rendered multiple times (due to wrapping across the antimeridian at low zoom levels) are returned only once (though subject to the following caveat).\n\nBecause features come from tiled vector data or GeoJSON data that is converted to tiles internally, feature geometries may be split or duplicated across tile boundaries and, as a result, features may appear multiple times in query results. For example, suppose there is a highway running through the bounding rectangle of a query. The results of the query will be those parts of the highway that lie within the map tiles covering the bounding rectangle, even if the highway extends into other tiles, and the portion of the highway within each map tile will be returned as a separate feature. Similarly, a point feature near a tile boundary may appear in multiple tiles due to tile buffering.\n" + ], + "signature": [ + "(pointOrBox?: [number, number] | maplibregl.Point | [maplibregl.PointLike, maplibregl.PointLike] | undefined, options?: ({ layers?: string[] | undefined; filter?: any[] | undefined; } & maplibregl.FilterOptions) | undefined) => maplibregl.MapboxGeoJSONFeature[]" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.queryRenderedFeatures.$1", + "type": "CompoundType", + "tags": [], + "label": "pointOrBox", + "description": [ + "The geometry of the query region: either a single point or southwest and northeast points describing a bounding box. Omitting this parameter (i.e. calling Map#queryRenderedFeatures with zero arguments, or with only a options argument) is equivalent to passing a bounding box encompassing the entire map viewport." + ], + "signature": [ + "[number, number] | maplibregl.Point | [maplibregl.PointLike, maplibregl.PointLike] | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.queryRenderedFeatures.$2", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "({ layers?: string[] | undefined; filter?: any[] | undefined; } & maplibregl.FilterOptions) | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.querySourceFeatures", + "type": "Function", + "tags": [], + "label": "querySourceFeatures", + "description": [ + "\nReturns an array of GeoJSON Feature objects representing features within the specified vector tile or GeoJSON source that satisfy the query parameters.\n\nIn contrast to Map#queryRenderedFeatures, this function returns all features matching the query parameters, whether or not they are rendered by the current style (i.e. visible). The domain of the query includes all currently-loaded vector tiles and GeoJSON source tiles: this function does not check tiles outside the currently visible viewport.\n\nBecause features come from tiled vector data or GeoJSON data that is converted to tiles internally, feature geometries may be split or duplicated across tile boundaries and, as a result, features may appear multiple times in query results. For example, suppose there is a highway running through the bounding rectangle of a query. The results of the query will be those parts of the highway that lie within the map tiles covering the bounding rectangle, even if the highway extends into other tiles, and the portion of the highway within each map tile will be returned as a separate feature. Similarly, a point feature near a tile boundary may appear in multiple tiles due to tile buffering.\n" + ], + "signature": [ + "(sourceID: string, parameters?: ({ sourceLayer?: string | undefined; filter?: any[] | undefined; } & maplibregl.FilterOptions) | undefined) => maplibregl.MapboxGeoJSONFeature[]" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.querySourceFeatures.$1", + "type": "string", + "tags": [], + "label": "sourceID", + "description": [ + "The ID of the vector tile or GeoJSON source to query." + ], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.querySourceFeatures.$2", + "type": "CompoundType", + "tags": [], + "label": "parameters", + "description": [], + "signature": [ + "({ sourceLayer?: string | undefined; filter?: any[] | undefined; } & maplibregl.FilterOptions) | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setStyle", + "type": "Function", + "tags": [], + "label": "setStyle", + "description": [], + "signature": [ + "(style: string | maplibregl.Style, options?: { diff?: boolean | undefined; localIdeographFontFamily?: string | undefined; } | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setStyle.$1", + "type": "CompoundType", + "tags": [], + "label": "style", + "description": [], + "signature": [ + "string | maplibregl.Style" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setStyle.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setStyle.$2.diff", + "type": "CompoundType", + "tags": [], + "label": "diff", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setStyle.$2.localIdeographFontFamily", + "type": "string", + "tags": [], + "label": "localIdeographFontFamily", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setTransformRequest", + "type": "Function", + "tags": [], + "label": "setTransformRequest", + "description": [], + "signature": [ + "(transformRequest: maplibregl.TransformRequestFunction) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setTransformRequest.$1", + "type": "Function", + "tags": [], + "label": "transformRequest", + "description": [], + "signature": [ + "maplibregl.TransformRequestFunction" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getStyle", + "type": "Function", + "tags": [], + "label": "getStyle", + "description": [], + "signature": [ + "() => maplibregl.Style" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.isStyleLoaded", + "type": "Function", + "tags": [], + "label": "isStyleLoaded", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addSource", + "type": "Function", + "tags": [], + "label": "addSource", + "description": [], + "signature": [ + "(id: string, source: maplibregl.AnySourceData) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addSource.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addSource.$2", + "type": "CompoundType", + "tags": [], + "label": "source", + "description": [], + "signature": [ + "maplibregl.AnySourceData" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.isSourceLoaded", + "type": "Function", + "tags": [], + "label": "isSourceLoaded", + "description": [], + "signature": [ + "(id: string) => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.isSourceLoaded.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.areTilesLoaded", + "type": "Function", + "tags": [], + "label": "areTilesLoaded", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeSource", + "type": "Function", + "tags": [], + "label": "removeSource", + "description": [], + "signature": [ + "(id: string) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeSource.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getSource", + "type": "Function", + "tags": [], + "label": "getSource", + "description": [], + "signature": [ + "(id: string) => maplibregl.AnySourceImpl" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getSource.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addImage", + "type": "Function", + "tags": [], + "label": "addImage", + "description": [], + "signature": [ + "(name: string, image: ArrayBufferView | HTMLImageElement | { width: number; height: number; data: Uint8Array | Uint8ClampedArray; } | ImageData | ImageBitmap, options?: { pixelRatio?: number | undefined; sdf?: boolean | undefined; } | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addImage.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addImage.$2", + "type": "CompoundType", + "tags": [], + "label": "image", + "description": [], + "signature": [ + "ArrayBufferView | HTMLImageElement | { width: number; height: number; data: Uint8Array | Uint8ClampedArray; } | ImageData | ImageBitmap" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addImage.$3", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addImage.$3.pixelRatio", + "type": "number", + "tags": [], + "label": "pixelRatio", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addImage.$3.sdf", + "type": "CompoundType", + "tags": [], + "label": "sdf", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.hasImage", + "type": "Function", + "tags": [], + "label": "hasImage", + "description": [], + "signature": [ + "(name: string) => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.hasImage.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeImage", + "type": "Function", + "tags": [], + "label": "removeImage", + "description": [], + "signature": [ + "(name: string) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeImage.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.loadImage", + "type": "Function", + "tags": [], + "label": "loadImage", + "description": [], + "signature": [ + "(url: string, callback: Function) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.loadImage.$1", + "type": "string", + "tags": [], + "label": "url", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.loadImage.$2", + "type": "Object", + "tags": [], + "label": "callback", + "description": [], + "signature": [ + "Function" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.listImages", + "type": "Function", + "tags": [], + "label": "listImages", + "description": [], + "signature": [ + "() => string[]" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addLayer", + "type": "Function", + "tags": [], + "label": "addLayer", + "description": [], + "signature": [ + "(layer: maplibregl.AnyLayer, before?: string | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addLayer.$1", + "type": "CompoundType", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "maplibregl.AnyLayer" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.addLayer.$2", + "type": "string", + "tags": [], + "label": "before", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.moveLayer", + "type": "Function", + "tags": [], + "label": "moveLayer", + "description": [], + "signature": [ + "(id: string, beforeId?: string | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.moveLayer.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.moveLayer.$2", + "type": "string", + "tags": [], + "label": "beforeId", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeLayer", + "type": "Function", + "tags": [], + "label": "removeLayer", + "description": [], + "signature": [ + "(id: string) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeLayer.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getLayer", + "type": "Function", + "tags": [], + "label": "getLayer", + "description": [], + "signature": [ + "(id: string) => maplibregl.AnyLayer" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getLayer.$1", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setFilter", + "type": "Function", + "tags": [], + "label": "setFilter", + "description": [], + "signature": [ + "(layer: string, filter?: boolean | any[] | null | undefined, options?: maplibregl.FilterOptions | null | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setFilter.$1", + "type": "string", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setFilter.$2", + "type": "CompoundType", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "boolean | any[] | null | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setFilter.$3", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.FilterOptions | null | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLayerZoomRange", + "type": "Function", + "tags": [], + "label": "setLayerZoomRange", + "description": [], + "signature": [ + "(layerId: string, minzoom: number, maxzoom: number) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLayerZoomRange.$1", + "type": "string", + "tags": [], + "label": "layerId", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLayerZoomRange.$2", + "type": "number", + "tags": [], + "label": "minzoom", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLayerZoomRange.$3", + "type": "number", + "tags": [], + "label": "maxzoom", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getFilter", + "type": "Function", + "tags": [], + "label": "getFilter", + "description": [], + "signature": [ + "(layer: string) => any[]" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getFilter.$1", + "type": "string", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPaintProperty", + "type": "Function", + "tags": [], + "label": "setPaintProperty", + "description": [], + "signature": [ + "(layer: string, name: string, value: any, klass?: string | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPaintProperty.$1", + "type": "string", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPaintProperty.$2", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPaintProperty.$3", + "type": "Any", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPaintProperty.$4", + "type": "string", + "tags": [], + "label": "klass", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getPaintProperty", + "type": "Function", + "tags": [], + "label": "getPaintProperty", + "description": [], + "signature": [ + "(layer: string, name: string) => any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getPaintProperty.$1", + "type": "string", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getPaintProperty.$2", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLayoutProperty", + "type": "Function", + "tags": [], + "label": "setLayoutProperty", + "description": [], + "signature": [ + "(layer: string, name: string, value: any) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLayoutProperty.$1", + "type": "string", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLayoutProperty.$2", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLayoutProperty.$3", + "type": "Any", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getLayoutProperty", + "type": "Function", + "tags": [], + "label": "getLayoutProperty", + "description": [], + "signature": [ + "(layer: string, name: string) => any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getLayoutProperty.$1", + "type": "string", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getLayoutProperty.$2", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLight", + "type": "Function", + "tags": [], + "label": "setLight", + "description": [], + "signature": [ + "(options: maplibregl.Light, lightOptions?: any) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLight.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.Light" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setLight.$2", + "type": "Any", + "tags": [], + "label": "lightOptions", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getLight", + "type": "Function", + "tags": [], + "label": "getLight", + "description": [], + "signature": [ + "() => maplibregl.Light" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setFeatureState", + "type": "Function", + "tags": [], + "label": "setFeatureState", + "description": [], + "signature": [ + "(feature: maplibregl.MapboxGeoJSONFeature | maplibregl.FeatureIdentifier, state: { [key: string]: any; }) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setFeatureState.$1", + "type": "CompoundType", + "tags": [], + "label": "feature", + "description": [], + "signature": [ + "maplibregl.MapboxGeoJSONFeature | maplibregl.FeatureIdentifier" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setFeatureState.$2", + "type": "Object", + "tags": [], + "label": "state", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setFeatureState.$2.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getFeatureState", + "type": "Function", + "tags": [], + "label": "getFeatureState", + "description": [], + "signature": [ + "(feature: maplibregl.MapboxGeoJSONFeature | maplibregl.FeatureIdentifier) => { [key: string]: any; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getFeatureState.$1", + "type": "CompoundType", + "tags": [], + "label": "feature", + "description": [], + "signature": [ + "maplibregl.MapboxGeoJSONFeature | maplibregl.FeatureIdentifier" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeFeatureState", + "type": "Function", + "tags": [], + "label": "removeFeatureState", + "description": [], + "signature": [ + "(target: maplibregl.MapboxGeoJSONFeature | maplibregl.FeatureIdentifier, key?: string | undefined) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeFeatureState.$1", + "type": "CompoundType", + "tags": [], + "label": "target", + "description": [], + "signature": [ + "maplibregl.MapboxGeoJSONFeature | maplibregl.FeatureIdentifier" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.removeFeatureState.$2", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getContainer", + "type": "Function", + "tags": [], + "label": "getContainer", + "description": [], + "signature": [ + "() => HTMLElement" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getCanvasContainer", + "type": "Function", + "tags": [], + "label": "getCanvasContainer", + "description": [], + "signature": [ + "() => HTMLElement" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getCanvas", + "type": "Function", + "tags": [], + "label": "getCanvas", + "description": [], + "signature": [ + "() => HTMLCanvasElement" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.loaded", + "type": "Function", + "tags": [], + "label": "loaded", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "() => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.triggerRepaint", + "type": "Function", + "tags": [], + "label": "triggerRepaint", + "description": [], + "signature": [ + "() => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.showTileBoundaries", + "type": "boolean", + "tags": [], + "label": "showTileBoundaries", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.showCollisionBoxes", + "type": "boolean", + "tags": [], + "label": "showCollisionBoxes", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.showPadding", + "type": "boolean", + "tags": [ + "name", + "type", + "instance", + "memberof" + ], + "label": "showPadding", + "description": [ + "\nGets and sets a Boolean indicating whether the map will visualize\nthe padding offsets.\n" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.repaint", + "type": "boolean", + "tags": [], + "label": "repaint", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getCenter", + "type": "Function", + "tags": [], + "label": "getCenter", + "description": [], + "signature": [ + "() => maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setCenter", + "type": "Function", + "tags": [], + "label": "setCenter", + "description": [], + "signature": [ + "(center: maplibregl.LngLatLike, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setCenter.$1", + "type": "CompoundType", + "tags": [], + "label": "center", + "description": [], + "signature": [ + "maplibregl.LngLatLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setCenter.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.panBy", + "type": "Function", + "tags": [], + "label": "panBy", + "description": [], + "signature": [ + "(offset: maplibregl.PointLike, options?: maplibregl.AnimationOptions | undefined, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.panBy.$1", + "type": "CompoundType", + "tags": [], + "label": "offset", + "description": [], + "signature": [ + "maplibregl.PointLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.panBy.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.AnimationOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.panBy.$3", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.panTo", + "type": "Function", + "tags": [], + "label": "panTo", + "description": [], + "signature": [ + "(lnglat: maplibregl.LngLatLike, options?: maplibregl.AnimationOptions | undefined, eventdata?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.panTo.$1", + "type": "CompoundType", + "tags": [], + "label": "lnglat", + "description": [], + "signature": [ + "maplibregl.LngLatLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.panTo.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.AnimationOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.panTo.$3", + "type": "Object", + "tags": [], + "label": "eventdata", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getZoom", + "type": "Function", + "tags": [], + "label": "getZoom", + "description": [], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setZoom", + "type": "Function", + "tags": [], + "label": "setZoom", + "description": [], + "signature": [ + "(zoom: number, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setZoom.$1", + "type": "number", + "tags": [], + "label": "zoom", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setZoom.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomTo", + "type": "Function", + "tags": [], + "label": "zoomTo", + "description": [], + "signature": [ + "(zoom: number, options?: maplibregl.AnimationOptions | undefined, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomTo.$1", + "type": "number", + "tags": [], + "label": "zoom", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomTo.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.AnimationOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomTo.$3", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomIn", + "type": "Function", + "tags": [], + "label": "zoomIn", + "description": [], + "signature": [ + "(options?: maplibregl.AnimationOptions | undefined, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomIn.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.AnimationOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomIn.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomOut", + "type": "Function", + "tags": [], + "label": "zoomOut", + "description": [], + "signature": [ + "(options?: maplibregl.AnimationOptions | undefined, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomOut.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.AnimationOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.zoomOut.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getBearing", + "type": "Function", + "tags": [], + "label": "getBearing", + "description": [], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setBearing", + "type": "Function", + "tags": [], + "label": "setBearing", + "description": [], + "signature": [ + "(bearing: number, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setBearing.$1", + "type": "number", + "tags": [], + "label": "bearing", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setBearing.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getPadding", + "type": "Function", + "tags": [ + "memberof" + ], + "label": "getPadding", + "description": [ + "\nReturns the current padding applied around the map viewport.\n" + ], + "signature": [ + "() => maplibregl.PaddingOptions" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [ + "The current padding around the map viewport." + ] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPadding", + "type": "Function", + "tags": [ + "memberof", + "fires", + "fires" + ], + "label": "setPadding", + "description": [ + "\nSets the padding in pixels around the viewport.\n\nEquivalent to `jumpTo({padding: padding})`.\n" + ], + "signature": [ + "(padding: maplibregl.RequireAtLeastOne, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPadding.$1", + "type": "CompoundType", + "tags": [], + "label": "padding", + "description": [ + "The desired padding. Format: { left: number, right: number, top: number, bottom: number }" + ], + "signature": [ + "maplibregl.RequireAtLeastOne" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPadding.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [ + "Additional properties to be added to event objects of events triggered by this method." + ], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "`this`" + ] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.rotateTo", + "type": "Function", + "tags": [], + "label": "rotateTo", + "description": [], + "signature": [ + "(bearing: number, options?: maplibregl.AnimationOptions | undefined, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.rotateTo.$1", + "type": "number", + "tags": [], + "label": "bearing", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.rotateTo.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.AnimationOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.rotateTo.$3", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.resetNorth", + "type": "Function", + "tags": [], + "label": "resetNorth", + "description": [], + "signature": [ + "(options?: maplibregl.AnimationOptions | undefined, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.resetNorth.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.AnimationOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.resetNorth.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.resetNorthPitch", + "type": "Function", + "tags": [], + "label": "resetNorthPitch", + "description": [], + "signature": [ + "(options?: maplibregl.AnimationOptions | null | undefined, eventData?: maplibregl.EventData | null | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.resetNorthPitch.$1", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.AnimationOptions | null | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.resetNorthPitch.$2", + "type": "CompoundType", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | null | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.snapToNorth", + "type": "Function", + "tags": [], + "label": "snapToNorth", + "description": [], + "signature": [ + "(options?: maplibregl.AnimationOptions | undefined, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.snapToNorth.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.AnimationOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.snapToNorth.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.getPitch", + "type": "Function", + "tags": [], + "label": "getPitch", + "description": [], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPitch", + "type": "Function", + "tags": [], + "label": "setPitch", + "description": [], + "signature": [ + "(pitch: number, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPitch.$1", + "type": "number", + "tags": [], + "label": "pitch", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.setPitch.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.cameraForBounds", + "type": "Function", + "tags": [], + "label": "cameraForBounds", + "description": [], + "signature": [ + "(bounds: maplibregl.LngLatBoundsLike, options?: maplibregl.CameraForBoundsOptions | undefined) => maplibregl.CameraForBoundsResult | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.cameraForBounds.$1", + "type": "CompoundType", + "tags": [], + "label": "bounds", + "description": [], + "signature": [ + "maplibregl.LngLatBoundsLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.cameraForBounds.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.CameraForBoundsOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitBounds", + "type": "Function", + "tags": [], + "label": "fitBounds", + "description": [], + "signature": [ + "(bounds: maplibregl.LngLatBoundsLike, options?: maplibregl.FitBoundsOptions | undefined, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitBounds.$1", + "type": "CompoundType", + "tags": [], + "label": "bounds", + "description": [], + "signature": [ + "maplibregl.LngLatBoundsLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitBounds.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.FitBoundsOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitBounds.$3", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitScreenCoordinates", + "type": "Function", + "tags": [], + "label": "fitScreenCoordinates", + "description": [], + "signature": [ + "(p0: maplibregl.PointLike, p1: maplibregl.PointLike, bearing: number, options?: (maplibregl.AnimationOptions & maplibregl.CameraOptions) | undefined, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitScreenCoordinates.$1", + "type": "CompoundType", + "tags": [], + "label": "p0", + "description": [], + "signature": [ + "maplibregl.PointLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitScreenCoordinates.$2", + "type": "CompoundType", + "tags": [], + "label": "p1", + "description": [], + "signature": [ + "maplibregl.PointLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitScreenCoordinates.$3", + "type": "number", + "tags": [], + "label": "bearing", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitScreenCoordinates.$4", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "(maplibregl.AnimationOptions & maplibregl.CameraOptions) | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.fitScreenCoordinates.$5", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.jumpTo", + "type": "Function", + "tags": [], + "label": "jumpTo", + "description": [], + "signature": [ + "(options: maplibregl.CameraOptions, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.jumpTo.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.CameraOptions" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.jumpTo.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.easeTo", + "type": "Function", + "tags": [], + "label": "easeTo", + "description": [], + "signature": [ + "(options: maplibregl.EaseToOptions, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.easeTo.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.EaseToOptions" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.easeTo.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.flyTo", + "type": "Function", + "tags": [], + "label": "flyTo", + "description": [], + "signature": [ + "(options: maplibregl.FlyToOptions, eventData?: maplibregl.EventData | undefined) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.flyTo.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "maplibregl.FlyToOptions" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.flyTo.$2", + "type": "Object", + "tags": [], + "label": "eventData", + "description": [], + "signature": [ + "maplibregl.EventData | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.isEasing", + "type": "Function", + "tags": [], + "label": "isEasing", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.stop", + "type": "Function", + "tags": [], + "label": "stop", + "description": [], + "signature": [ + "() => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on", + "type": "Function", + "tags": [], + "label": "on", + "description": [], + "signature": [ + "{ (type: T, layer: string, listener: (ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void): this; (type: T, listener: (ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void): this; (type: string, listener: (ev: any) => void): this; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on.$1", + "type": "Uncategorized", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "T" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on.$2", + "type": "string", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on.$3", + "type": "Function", + "tags": [], + "label": "listener", + "description": [], + "signature": [ + "(ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on", + "type": "Function", + "tags": [], + "label": "on", + "description": [], + "signature": [ + "{ (type: T, layer: string, listener: (ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void): this; (type: T, listener: (ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void): this; (type: string, listener: (ev: any) => void): this; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on.$1", + "type": "Uncategorized", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "T" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on.$2", + "type": "Function", + "tags": [], + "label": "listener", + "description": [], + "signature": [ + "(ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on", + "type": "Function", + "tags": [], + "label": "on", + "description": [], + "signature": [ + "{ (type: T, layer: string, listener: (ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void): this; (type: T, listener: (ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void): this; (type: string, listener: (ev: any) => void): this; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.on.$2", + "type": "Function", + "tags": [], + "label": "listener", + "description": [], + "signature": [ + "(ev: any) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once", + "type": "Function", + "tags": [], + "label": "once", + "description": [], + "signature": [ + "{ (type: T, layer: string, listener: (ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void): this; (type: T, listener: (ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void): this; (type: string, listener: (ev: any) => void): this; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once.$1", + "type": "Uncategorized", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "T" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once.$2", + "type": "string", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once.$3", + "type": "Function", + "tags": [], + "label": "listener", + "description": [], + "signature": [ + "(ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once", + "type": "Function", + "tags": [], + "label": "once", + "description": [], + "signature": [ + "{ (type: T, layer: string, listener: (ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void): this; (type: T, listener: (ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void): this; (type: string, listener: (ev: any) => void): this; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once.$1", + "type": "Uncategorized", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "T" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once.$2", + "type": "Function", + "tags": [], + "label": "listener", + "description": [], + "signature": [ + "(ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once", + "type": "Function", + "tags": [], + "label": "once", + "description": [], + "signature": [ + "{ (type: T, layer: string, listener: (ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void): this; (type: T, listener: (ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void): this; (type: string, listener: (ev: any) => void): this; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.once.$2", + "type": "Function", + "tags": [], + "label": "listener", + "description": [], + "signature": [ + "(ev: any) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off", + "type": "Function", + "tags": [], + "label": "off", + "description": [], + "signature": [ + "{ (type: T, layer: string, listener: (ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void): this; (type: T, listener: (ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void): this; (type: string, listener: (ev: any) => void): this; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off.$1", + "type": "Uncategorized", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "T" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off.$2", + "type": "string", + "tags": [], + "label": "layer", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off.$3", + "type": "Function", + "tags": [], + "label": "listener", + "description": [], + "signature": [ + "(ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off", + "type": "Function", + "tags": [], + "label": "off", + "description": [], + "signature": [ + "{ (type: T, layer: string, listener: (ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void): this; (type: T, listener: (ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void): this; (type: string, listener: (ev: any) => void): this; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off.$1", + "type": "Uncategorized", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "T" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off.$2", + "type": "Function", + "tags": [], + "label": "listener", + "description": [], + "signature": [ + "(ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off", + "type": "Function", + "tags": [], + "label": "off", + "description": [], + "signature": [ + "{ (type: T, layer: string, listener: (ev: maplibregl.MapLayerEventType[T] & maplibregl.EventData) => void): this; (type: T, listener: (ev: maplibregl.MapEventType[T] & maplibregl.EventData) => void): this; (type: string, listener: (ev: any) => void): this; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.off.$2", + "type": "Function", + "tags": [], + "label": "listener", + "description": [], + "signature": [ + "(ev: any) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.scrollZoom", + "type": "Object", + "tags": [], + "label": "scrollZoom", + "description": [], + "signature": [ + "maplibregl.ScrollZoomHandler" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.boxZoom", + "type": "Object", + "tags": [], + "label": "boxZoom", + "description": [], + "signature": [ + "maplibregl.BoxZoomHandler" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.dragRotate", + "type": "Object", + "tags": [], + "label": "dragRotate", + "description": [], + "signature": [ + "maplibregl.DragRotateHandler" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.dragPan", + "type": "Object", + "tags": [], + "label": "dragPan", + "description": [], + "signature": [ + "maplibregl.DragPanHandler" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.keyboard", + "type": "Object", + "tags": [], + "label": "keyboard", + "description": [], + "signature": [ + "maplibregl.KeyboardHandler" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.doubleClickZoom", + "type": "Object", + "tags": [], + "label": "doubleClickZoom", + "description": [], + "signature": [ + "maplibregl.DoubleClickZoomHandler" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.touchZoomRotate", + "type": "Object", + "tags": [], + "label": "touchZoomRotate", + "description": [], + "signature": [ + "maplibregl.TouchZoomRotateHandler" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Map.touchPitch", + "type": "Object", + "tags": [], + "label": "touchPitch", + "description": [], + "signature": [ + "maplibregl.TouchPitchHandler" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapMouseEvent", + "type": "Class", + "tags": [], + "label": "MapMouseEvent", + "description": [], + "signature": [ + "maplibregl.MapMouseEvent extends maplibregl.MapboxEvent" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapMouseEvent.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"click\" | \"dblclick\" | \"mousedown\" | \"mouseup\" | \"mousemove\" | \"mouseenter\" | \"mouseleave\" | \"mouseover\" | \"mouseout\" | \"contextmenu\"" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapMouseEvent.point", + "type": "Object", + "tags": [], + "label": "point", + "description": [], + "signature": [ + "maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapMouseEvent.lngLat", + "type": "Object", + "tags": [], + "label": "lngLat", + "description": [], + "signature": [ + "maplibregl.LngLat" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapMouseEvent.preventDefault", + "type": "Function", + "tags": [], + "label": "preventDefault", + "description": [], + "signature": [ + "() => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapMouseEvent.defaultPrevented", + "type": "boolean", + "tags": [], + "label": "defaultPrevented", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point", + "type": "Class", + "tags": [], + "label": "Point", + "description": [ + "\nPoint" + ], + "signature": [ + "maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.x", + "type": "number", + "tags": [], + "label": "x", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.y", + "type": "number", + "tags": [], + "label": "y", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.Unnamed.$1", + "type": "number", + "tags": [], + "label": "x", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.Unnamed.$2", + "type": "number", + "tags": [], + "label": "y", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.clone", + "type": "Function", + "tags": [], + "label": "clone", + "description": [], + "signature": [ + "() => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.add", + "type": "Function", + "tags": [], + "label": "add", + "description": [], + "signature": [ + "(p: maplibregl.Point) => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.add.$1", + "type": "Object", + "tags": [], + "label": "p", + "description": [], + "signature": [ + "maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.sub", + "type": "Function", + "tags": [], + "label": "sub", + "description": [], + "signature": [ + "(p: maplibregl.Point) => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.sub.$1", + "type": "Object", + "tags": [], + "label": "p", + "description": [], + "signature": [ + "maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.mult", + "type": "Function", + "tags": [], + "label": "mult", + "description": [], + "signature": [ + "(k: number) => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.mult.$1", + "type": "number", + "tags": [], + "label": "k", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.div", + "type": "Function", + "tags": [], + "label": "div", + "description": [], + "signature": [ + "(k: number) => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.div.$1", + "type": "number", + "tags": [], + "label": "k", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.rotate", + "type": "Function", + "tags": [], + "label": "rotate", + "description": [], + "signature": [ + "(a: number) => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.rotate.$1", + "type": "number", + "tags": [], + "label": "a", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.matMult", + "type": "Function", + "tags": [], + "label": "matMult", + "description": [], + "signature": [ + "(m: number) => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.matMult.$1", + "type": "number", + "tags": [], + "label": "m", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.unit", + "type": "Function", + "tags": [], + "label": "unit", + "description": [], + "signature": [ + "() => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.perp", + "type": "Function", + "tags": [], + "label": "perp", + "description": [], + "signature": [ + "() => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.round", + "type": "Function", + "tags": [], + "label": "round", + "description": [], + "signature": [ + "() => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.mag", + "type": "Function", + "tags": [], + "label": "mag", + "description": [], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.equals", + "type": "Function", + "tags": [], + "label": "equals", + "description": [], + "signature": [ + "(p: maplibregl.Point) => boolean" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.equals.$1", + "type": "Object", + "tags": [], + "label": "p", + "description": [], + "signature": [ + "maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.dist", + "type": "Function", + "tags": [], + "label": "dist", + "description": [], + "signature": [ + "(p: maplibregl.Point) => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.dist.$1", + "type": "Object", + "tags": [], + "label": "p", + "description": [], + "signature": [ + "maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.distSqr", + "type": "Function", + "tags": [], + "label": "distSqr", + "description": [], + "signature": [ + "(p: maplibregl.Point) => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.distSqr.$1", + "type": "Object", + "tags": [], + "label": "p", + "description": [], + "signature": [ + "maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.angle", + "type": "Function", + "tags": [], + "label": "angle", + "description": [], + "signature": [ + "() => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.angleTo", + "type": "Function", + "tags": [], + "label": "angleTo", + "description": [], + "signature": [ + "(p: maplibregl.Point) => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.angleTo.$1", + "type": "Object", + "tags": [], + "label": "p", + "description": [], + "signature": [ + "maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.angleWidth", + "type": "Function", + "tags": [], + "label": "angleWidth", + "description": [], + "signature": [ + "(p: maplibregl.Point) => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.angleWidth.$1", + "type": "Object", + "tags": [], + "label": "p", + "description": [], + "signature": [ + "maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.angleWithSep", + "type": "Function", + "tags": [], + "label": "angleWithSep", + "description": [], + "signature": [ + "(x: number, y: number) => number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.angleWithSep.$1", + "type": "number", + "tags": [], + "label": "x", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.angleWithSep.$2", + "type": "number", + "tags": [], + "label": "y", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.convert", + "type": "Function", + "tags": [], + "label": "convert", + "description": [], + "signature": [ + "(a: maplibregl.PointLike) => maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Point.convert.$1", + "type": "CompoundType", + "tags": [], + "label": "a", + "description": [], + "signature": [ + "maplibregl.PointLike" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [], + "interfaces": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface", + "type": "Interface", + "tags": [], + "label": "CustomLayerInterface", + "description": [], + "signature": [ + "maplibregl.CustomLayerInterface" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.id", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "A unique layer id." + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"custom\"" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.renderingMode", + "type": "CompoundType", + "tags": [], + "label": "renderingMode", + "description": [], + "signature": [ + "\"2d\" | \"3d\" | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.onRemove", + "type": "Function", + "tags": [], + "label": "onRemove", + "description": [ + "\nOptional method called when the layer has been removed from the Map with Map#removeLayer.\nThis gives the layer a chance to clean up gl resources and event listeners." + ], + "signature": [ + "((map: maplibregl.Map, gl: WebGLRenderingContext) => void) | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.onRemove.$1", + "type": "Object", + "tags": [], + "label": "map", + "description": [ + "The Map this custom layer was just added to." + ], + "signature": [ + "maplibregl.Map" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.onRemove.$2", + "type": "Object", + "tags": [], + "label": "gl", + "description": [ + "The gl context for the map." + ], + "signature": [ + "WebGLRenderingContext" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.onAdd", + "type": "Function", + "tags": [], + "label": "onAdd", + "description": [ + "\nOptional method called when the layer has been added to the Map with Map#addLayer.\nThis gives the layer a chance to initialize gl resources and register event listeners." + ], + "signature": [ + "((map: maplibregl.Map, gl: WebGLRenderingContext) => void) | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.onAdd.$1", + "type": "Object", + "tags": [], + "label": "map", + "description": [ + "The Map this custom layer was just added to." + ], + "signature": [ + "maplibregl.Map" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.onAdd.$2", + "type": "Object", + "tags": [], + "label": "gl", + "description": [ + "The gl context for the map." + ], + "signature": [ + "WebGLRenderingContext" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.prerender", + "type": "Function", + "tags": [], + "label": "prerender", + "description": [ + "\nOptional method called during a render frame to allow a layer to prepare resources\nor render into a texture.\n\nThe layer cannot make any assumptions about the current GL state and must bind a framebuffer\nbefore rendering." + ], + "signature": [ + "((gl: WebGLRenderingContext, matrix: number[]) => void) | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.prerender.$1", + "type": "Object", + "tags": [], + "label": "gl", + "description": [ + "The map's gl context." + ], + "signature": [ + "WebGLRenderingContext" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.prerender.$2", + "type": "Array", + "tags": [], + "label": "matrix", + "description": [ + "The map's camera matrix. It projects spherical mercator coordinates to gl\ncoordinates. The mercator coordinate [0, 0] represents the top left corner of\nthe mercator world and [1, 1] represents the bottom right corner. When the\nrenderingMode is \"3d\" , the z coordinate is conformal. A box with identical\nx, y, and z lengths in mercator units would be rendered as a cube.\nMercatorCoordinate .fromLatLng can be used to project a LngLat to a mercator\ncoordinate." + ], + "signature": [ + "number[]" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.render", + "type": "Function", + "tags": [], + "label": "render", + "description": [ + "\nCalled during a render frame allowing the layer to draw into the GL context.\n\nThe layer can assume blending and depth state is set to allow the layer to properly blend\nand clip other layers. The layer cannot make any other assumptions about the current GL state.\n\nIf the layer needs to render to a texture, it should implement the prerender method to do this\nand only use the render method for drawing directly into the main framebuffer.\n\nThe blend function is set to gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA). This expects\ncolors to be provided in premultiplied alpha form where the r, g and b values are already\nmultiplied by the a value. If you are unable to provide colors in premultiplied form you may\nwant to change the blend function to\ngl.blendFuncSeparate(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA, gl.ONE, gl.ONE_MINUS_SRC_ALPHA).\n" + ], + "signature": [ + "(gl: WebGLRenderingContext, matrix: number[]) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.render.$1", + "type": "Object", + "tags": [], + "label": "gl", + "description": [ + "The map's gl context." + ], + "signature": [ + "WebGLRenderingContext" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.CustomLayerInterface.render.$2", + "type": "Array", + "tags": [], + "label": "matrix", + "description": [ + "The map's camera matrix. It projects spherical mercator coordinates to gl\ncoordinates. The mercator coordinate [0, 0] represents the top left corner of\nthe mercator world and [1, 1] represents the bottom right corner. When the\nrenderingMode is \"3d\" , the z coordinate is conformal. A box with identical\nx, y, and z lengths in mercator units would be rendered as a cube.\nMercatorCoordinate .fromLatLng can be used to project a LngLat to a mercator\ncoordinate." + ], + "signature": [ + "number[]" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.FeatureIdentifier", + "type": "Interface", + "tags": [], + "label": "FeatureIdentifier", + "description": [], + "signature": [ + "maplibregl.FeatureIdentifier" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.FeatureIdentifier.id", + "type": "CompoundType", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string | number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.FeatureIdentifier.source", + "type": "string", + "tags": [], + "label": "source", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.FeatureIdentifier.sourceLayer", + "type": "string", + "tags": [], + "label": "sourceLayer", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource", + "type": "Interface", + "tags": [], + "label": "GeoJSONSource", + "description": [], + "signature": [ + "maplibregl.GeoJSONSource extends maplibregl.GeoJSONSourceRaw" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"geojson\"" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.setData", + "type": "Function", + "tags": [], + "label": "setData", + "description": [], + "signature": [ + "(data: String | GeoJSON.FeatureCollection | GeoJSON.Feature) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.setData.$1", + "type": "CompoundType", + "tags": [], + "label": "data", + "description": [], + "signature": [ + "String | GeoJSON.FeatureCollection | GeoJSON.Feature" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterExpansionZoom", + "type": "Function", + "tags": [], + "label": "getClusterExpansionZoom", + "description": [], + "signature": [ + "(clusterId: number, callback: (error: any, zoom: number) => void) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterExpansionZoom.$1", + "type": "number", + "tags": [], + "label": "clusterId", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterExpansionZoom.$2", + "type": "Function", + "tags": [], + "label": "callback", + "description": [], + "signature": [ + "(error: any, zoom: number) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterChildren", + "type": "Function", + "tags": [], + "label": "getClusterChildren", + "description": [], + "signature": [ + "(clusterId: number, callback: (error: any, features: GeoJSON.Feature[]) => void) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterChildren.$1", + "type": "number", + "tags": [], + "label": "clusterId", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterChildren.$2", + "type": "Function", + "tags": [], + "label": "callback", + "description": [], + "signature": [ + "(error: any, features: GeoJSON.Feature[]) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterLeaves", + "type": "Function", + "tags": [], + "label": "getClusterLeaves", + "description": [], + "signature": [ + "(cluserId: number, limit: number, offset: number, callback: (error: any, features: GeoJSON.Feature[]) => void) => this" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterLeaves.$1", + "type": "number", + "tags": [], + "label": "cluserId", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterLeaves.$2", + "type": "number", + "tags": [], + "label": "limit", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterLeaves.$3", + "type": "number", + "tags": [], + "label": "offset", + "description": [], + "signature": [ + "number" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.GeoJSONSource.getClusterLeaves.$4", + "type": "Function", + "tags": [], + "label": "callback", + "description": [], + "signature": [ + "(error: any, features: GeoJSON.Feature[]) => void" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer", + "type": "Interface", + "tags": [], + "label": "Layer", + "description": [], + "signature": [ + "maplibregl.Layer" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.metadata", + "type": "Any", + "tags": [], + "label": "metadata", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.ref", + "type": "string", + "tags": [], + "label": "ref", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.source", + "type": "CompoundType", + "tags": [], + "label": "source", + "description": [], + "signature": [ + "string | maplibregl.GeoJSONSourceRaw | maplibregl.VideoSourceRaw | maplibregl.ImageSourceRaw | maplibregl.CanvasSourceRaw | maplibregl.VectorSource | maplibregl.RasterSource | maplibregl.RasterDemSource | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.sourcelayer", + "type": "string", + "tags": [], + "label": "'source-layer'", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.minzoom", + "type": "number", + "tags": [], + "label": "minzoom", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.maxzoom", + "type": "number", + "tags": [], + "label": "maxzoom", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.interactive", + "type": "CompoundType", + "tags": [], + "label": "interactive", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.filter", + "type": "Array", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "any[] | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.layout", + "type": "Object", + "tags": [], + "label": "layout", + "description": [], + "signature": [ + "maplibregl.Layout | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Layer.paint", + "type": "Uncategorized", + "tags": [], + "label": "paint", + "description": [], + "signature": [ + "object | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions", + "type": "Interface", + "tags": [], + "label": "MapboxOptions", + "description": [], + "signature": [ + "maplibregl.MapboxOptions" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.antialias", + "type": "CompoundType", + "tags": [], + "label": "antialias", + "description": [ + "\nIf true, the gl context will be created with MSA antialiasing, which can be useful for antialiasing custom layers.\nThis is false by default as a performance optimization." + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.attributionControl", + "type": "CompoundType", + "tags": [], + "label": "attributionControl", + "description": [ + "If true, an attribution control will be added to the map." + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.bearing", + "type": "number", + "tags": [], + "label": "bearing", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.bearingSnap", + "type": "number", + "tags": [], + "label": "bearingSnap", + "description": [ + "Snap to north threshold in degrees." + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.bounds", + "type": "CompoundType", + "tags": [], + "label": "bounds", + "description": [ + "The initial bounds of the map. If bounds is specified, it overrides center and zoom constructor options." + ], + "signature": [ + "[number, number] | [number, number, number, number] | maplibregl.LngLatBounds | [maplibregl.LngLatLike, maplibregl.LngLatLike] | maplibregl.LngLat | { lng: number; lat: number; } | { lon: number; lat: number; } | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.boxZoom", + "type": "CompoundType", + "tags": [], + "label": "boxZoom", + "description": [ + "If true, enable the \"box zoom\" interaction (see BoxZoomHandler)" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.center", + "type": "CompoundType", + "tags": [], + "label": "center", + "description": [ + "initial map center" + ], + "signature": [ + "[number, number] | maplibregl.LngLat | { lng: number; lat: number; } | { lon: number; lat: number; } | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.clickTolerance", + "type": "number", + "tags": [ + "default" + ], + "label": "clickTolerance", + "description": [ + "\nThe max number of pixels a user can shift the mouse pointer during a click for it to be\nconsidered a valid click (as opposed to a mouse drag).\n" + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.collectResourceTiming", + "type": "CompoundType", + "tags": [ + "default" + ], + "label": "collectResourceTiming", + "description": [ + "\nIf `true`, Resource Timing API information will be collected for requests made by GeoJSON\nand Vector Tile web workers (this information is normally inaccessible from the main\nJavascript thread). Information will be returned in a `resourceTiming` property of\nrelevant `data` events.\n" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.crossSourceCollisions", + "type": "CompoundType", + "tags": [ + "default" + ], + "label": "crossSourceCollisions", + "description": [ + "\nIf `true`, symbols from multiple sources can collide with each other during collision\ndetection. If `false`, collision detection is run separately for the symbols in each source.\n" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.container", + "type": "CompoundType", + "tags": [], + "label": "container", + "description": [ + "ID of the container element" + ], + "signature": [ + "string | HTMLElement" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.customAttribution", + "type": "CompoundType", + "tags": [], + "label": "customAttribution", + "description": [ + "String or strings to show in an AttributionControl.\nOnly applicable if options.attributionControl is `true`." + ], + "signature": [ + "string | string[] | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.dragPan", + "type": "CompoundType", + "tags": [], + "label": "dragPan", + "description": [ + "If true, enable the \"drag to pan\" interaction (see DragPanHandler)." + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.dragRotate", + "type": "CompoundType", + "tags": [], + "label": "dragRotate", + "description": [ + "If true, enable the \"drag to rotate\" interaction (see DragRotateHandler)." + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.doubleClickZoom", + "type": "CompoundType", + "tags": [], + "label": "doubleClickZoom", + "description": [ + "If true, enable the \"double click to zoom\" interaction (see DoubleClickZoomHandler)." + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.hash", + "type": "CompoundType", + "tags": [], + "label": "hash", + "description": [ + "If `true`, the map's position (zoom, center latitude, center longitude, bearing, and pitch) will be synced with the hash fragment of the page's URL.\nFor example, `http://path/to/my/page.html#2.59/39.26/53.07/-24.1/60`.\nAn additional string may optionally be provided to indicate a parameter-styled hash,\ne.g. http://path/to/my/page.html#map=2.59/39.26/53.07/-24.1/60&foo=bar, where foo\nis a custom parameter and bar is an arbitrary hash distinct from the map hash." + ], + "signature": [ + "string | boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.fadeDuration", + "type": "number", + "tags": [ + "default" + ], + "label": "fadeDuration", + "description": [ + "\nControls the duration of the fade-in/fade-out animation for label collisions, in milliseconds.\nThis setting affects all symbol layers. This setting does not affect the duration of runtime\nstyling transitions or raster tile cross-fading.\n" + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.failIfMajorPerformanceCaveat", + "type": "CompoundType", + "tags": [], + "label": "failIfMajorPerformanceCaveat", + "description": [ + "If true, map creation will fail if the implementation determines that the performance of the created WebGL context would be dramatically lower than expected." + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.fitBoundsOptions", + "type": "Object", + "tags": [], + "label": "fitBoundsOptions", + "description": [ + "A fitBounds options object to use only when setting the bounds option." + ], + "signature": [ + "maplibregl.FitBoundsOptions | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.interactive", + "type": "CompoundType", + "tags": [], + "label": "interactive", + "description": [ + "If false, no mouse, touch, or keyboard listeners are attached to the map, so it will not respond to input" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.keyboard", + "type": "CompoundType", + "tags": [], + "label": "keyboard", + "description": [ + "If true, enable keyboard shortcuts (see KeyboardHandler)." + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.locale", + "type": "Object", + "tags": [], + "label": "locale", + "description": [ + "A patch to apply to the default localization table for UI strings, e.g. control tooltips.\nThe `locale` object maps namespaced UI string IDs to translated strings in the target language;\nsee `src/ui/default_locale.js` for an example with all supported string IDs.\nThe object may specify all UI strings (thereby adding support for a new translation) or\nonly a subset of strings (thereby patching the default translation table)." + ], + "signature": [ + "{ [key: string]: string; } | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.localIdeographFontFamily", + "type": "string", + "tags": [ + "default" + ], + "label": "localIdeographFontFamily", + "description": [ + "\nIf specified, defines a CSS font-family for locally overriding generation of glyphs in the\n'CJK Unified Ideographs' and 'Hangul Syllables' ranges. In these ranges, font settings from\nthe map's style will be ignored, except for font-weight keywords (light/regular/medium/bold).\nThe purpose of this option is to avoid bandwidth-intensive glyph server requests.\n" + ], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.logoPosition", + "type": "CompoundType", + "tags": [ + "default" + ], + "label": "logoPosition", + "description": [ + "\nA string representing the position of the Mapbox wordmark on the map.\n" + ], + "signature": [ + "\"top-right\" | \"top-left\" | \"bottom-right\" | \"bottom-left\" | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.maxBounds", + "type": "CompoundType", + "tags": [], + "label": "maxBounds", + "description": [ + "If set, the map is constrained to the given bounds." + ], + "signature": [ + "[number, number] | [number, number, number, number] | maplibregl.LngLatBounds | [maplibregl.LngLatLike, maplibregl.LngLatLike] | maplibregl.LngLat | { lng: number; lat: number; } | { lon: number; lat: number; } | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.maxPitch", + "type": "number", + "tags": [], + "label": "maxPitch", + "description": [ + "Maximum pitch of the map." + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.maxZoom", + "type": "number", + "tags": [], + "label": "maxZoom", + "description": [ + "Maximum zoom of the map." + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.minPitch", + "type": "number", + "tags": [], + "label": "minPitch", + "description": [ + "Minimum pitch of the map." + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.minZoom", + "type": "number", + "tags": [], + "label": "minZoom", + "description": [ + "Minimum zoom of the map." + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.preserveDrawingBuffer", + "type": "CompoundType", + "tags": [], + "label": "preserveDrawingBuffer", + "description": [ + "If true, The maps canvas can be exported to a PNG using map.getCanvas().toDataURL();. This is false by default as a performance optimization." + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.pitch", + "type": "number", + "tags": [ + "default" + ], + "label": "pitch", + "description": [ + "\nThe initial pitch (tilt) of the map, measured in degrees away from the plane of the\nscreen (0-60).\n" + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.pitchWithRotate", + "type": "CompoundType", + "tags": [ + "default" + ], + "label": "pitchWithRotate", + "description": [ + "\nIf `false`, the map's pitch (tilt) control with \"drag to rotate\" interaction will be disabled.\n" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.refreshExpiredTiles", + "type": "CompoundType", + "tags": [ + "default" + ], + "label": "refreshExpiredTiles", + "description": [ + "\nIf `false`, the map won't attempt to re-request tiles once they expire per their HTTP\n`cacheControl`/`expires` headers.\n" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.renderWorldCopies", + "type": "CompoundType", + "tags": [ + "default" + ], + "label": "renderWorldCopies", + "description": [ + "\nIf `true`, multiple copies of the world will be rendered, when zoomed out.\n" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.scrollZoom", + "type": "CompoundType", + "tags": [], + "label": "scrollZoom", + "description": [ + "If true, enable the \"scroll to zoom\" interaction" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.style", + "type": "CompoundType", + "tags": [], + "label": "style", + "description": [ + "stylesheet location" + ], + "signature": [ + "string | maplibregl.Style | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.trackResize", + "type": "CompoundType", + "tags": [], + "label": "trackResize", + "description": [ + "If true, the map will automatically resize when the browser window resizes" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.transformRequest", + "type": "Function", + "tags": [ + "default" + ], + "label": "transformRequest", + "description": [ + "\nA callback run before the Map makes a request for an external URL. The callback can be\nused to modify the url, set headers, or set the credentials property for cross-origin requests.\n" + ], + "signature": [ + "maplibregl.TransformRequestFunction | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.touchZoomRotate", + "type": "CompoundType", + "tags": [], + "label": "touchZoomRotate", + "description": [ + "If true, enable the \"pinch to rotate and zoom\" interaction (see TouchZoomRotateHandler)." + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.touchPitch", + "type": "CompoundType", + "tags": [], + "label": "touchPitch", + "description": [ + "If true, the \"drag to pitch\" interaction is enabled" + ], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.zoom", + "type": "number", + "tags": [], + "label": "zoom", + "description": [ + "Initial zoom level" + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.maxTileCacheSize", + "type": "number", + "tags": [ + "default" + ], + "label": "maxTileCacheSize", + "description": [ + "\nThe maximum number of tiles stored in the tile cache for a given source. If omitted, the\ncache will be dynamically sized based on the current viewport.\n" + ], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxOptions.accessToken", + "type": "string", + "tags": [ + "default" + ], + "label": "accessToken", + "description": [ + "\nIf specified, map will use this token instead of the one defined in maplibregl.accessToken.\n" + ], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapSourceDataEvent", + "type": "Interface", + "tags": [], + "label": "MapSourceDataEvent", + "description": [], + "signature": [ + "maplibregl.MapSourceDataEvent extends maplibregl.MapboxEvent" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapSourceDataEvent.dataType", + "type": "string", + "tags": [], + "label": "dataType", + "description": [], + "signature": [ + "\"source\"" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapSourceDataEvent.isSourceLoaded", + "type": "boolean", + "tags": [], + "label": "isSourceLoaded", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapSourceDataEvent.source", + "type": "Object", + "tags": [], + "label": "source", + "description": [], + "signature": [ + "maplibregl.Source" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapSourceDataEvent.sourceId", + "type": "string", + "tags": [], + "label": "sourceId", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapSourceDataEvent.sourceDataType", + "type": "CompoundType", + "tags": [], + "label": "sourceDataType", + "description": [], + "signature": [ + "\"metadata\" | \"content\"" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapSourceDataEvent.tile", + "type": "Any", + "tags": [], + "label": "tile", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapSourceDataEvent.coord", + "type": "Object", + "tags": [], + "label": "coord", + "description": [], + "signature": [ + "maplibregl.Coordinate" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style", + "type": "Interface", + "tags": [], + "label": "Style", + "description": [], + "signature": [ + "maplibregl.Style" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.bearing", + "type": "number", + "tags": [], + "label": "bearing", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.center", + "type": "Array", + "tags": [], + "label": "center", + "description": [], + "signature": [ + "number[] | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.glyphs", + "type": "string", + "tags": [], + "label": "glyphs", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.layers", + "type": "Array", + "tags": [], + "label": "layers", + "description": [], + "signature": [ + "maplibregl.AnyLayer[] | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.metadata", + "type": "Any", + "tags": [], + "label": "metadata", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.pitch", + "type": "number", + "tags": [], + "label": "pitch", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.light", + "type": "Object", + "tags": [], + "label": "light", + "description": [], + "signature": [ + "maplibregl.Light | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.sources", + "type": "Object", + "tags": [], + "label": "sources", + "description": [], + "signature": [ + "maplibregl.Sources | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.sprite", + "type": "string", + "tags": [], + "label": "sprite", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.transition", + "type": "Object", + "tags": [], + "label": "transition", + "description": [], + "signature": [ + "maplibregl.Transition | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.version", + "type": "number", + "tags": [], + "label": "version", + "description": [], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.Style.zoom", + "type": "number", + "tags": [], + "label": "zoom", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource", + "type": "Interface", + "tags": [], + "label": "VectorSource", + "description": [], + "signature": [ + "maplibregl.VectorSource extends maplibregl.Source" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"vector\"" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource.url", + "type": "string", + "tags": [], + "label": "url", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource.tiles", + "type": "Array", + "tags": [], + "label": "tiles", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource.bounds", + "type": "Array", + "tags": [], + "label": "bounds", + "description": [], + "signature": [ + "number[] | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource.scheme", + "type": "CompoundType", + "tags": [], + "label": "scheme", + "description": [], + "signature": [ + "\"xyz\" | \"tms\" | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource.minzoom", + "type": "number", + "tags": [], + "label": "minzoom", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource.maxzoom", + "type": "number", + "tags": [], + "label": "maxzoom", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource.attribution", + "type": "string", + "tags": [], + "label": "attribution", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.VectorSource.promoteId", + "type": "CompoundType", + "tags": [], + "label": "promoteId", + "description": [], + "signature": [ + "string | { [key: string]: string; } | undefined" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.maplibregldistmaplibreglcsp", + "type": "Any", + "tags": [], + "label": "'maplibre-gl/dist/maplibre-gl-csp'", + "description": [], + "signature": [ + "any" + ], + "path": "node_modules/@kbn/mapbox-gl/target_types/typings.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.maplibregldistmaplibreglcsp", + "type": "Any", + "tags": [], + "label": "'maplibre-gl/dist/maplibre-gl-csp'", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-mapbox-gl/src/typings.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.AnyLayer", + "type": "Type", + "tags": [], + "label": "AnyLayer", + "description": [], + "signature": [ + "maplibregl.BackgroundLayer | maplibregl.CircleLayer | maplibregl.FillExtrusionLayer | maplibregl.FillLayer | maplibregl.HeatmapLayer | maplibregl.HillshadeLayer | maplibregl.LineLayer | maplibregl.RasterLayer | maplibregl.SymbolLayer | maplibregl.CustomLayerInterface" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.MapboxGeoJSONFeature", + "type": "Type", + "tags": [], + "label": "MapboxGeoJSONFeature", + "description": [], + "signature": [ + "GeoJSON.Feature & { layer: maplibregl.Layer; source: string; sourceLayer: string; state: { [key: string]: any; }; }" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/mapbox-gl", + "id": "def-server.PointLike", + "type": "Type", + "tags": [], + "label": "PointLike", + "description": [], + "signature": [ + "[number, number] | maplibregl.Point" + ], + "path": "node_modules/maplibre-gl/src/index.d.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_mapbox_gl.mdx b/api_docs/kbn_mapbox_gl.mdx new file mode 100644 index 0000000000000..1ab394db8905b --- /dev/null +++ b/api_docs/kbn_mapbox_gl.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnMapboxGlPluginApi +slug: /kibana-dev-docs/api/kbn-mapbox-gl +title: "@kbn/mapbox-gl" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/mapbox-gl plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/mapbox-gl'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnMapboxGlObj from './kbn_mapbox_gl.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 467 | 9 | 378 | 0 | + +## Server + +### Classes + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_monaco.json b/api_docs/kbn_monaco.json new file mode 100644 index 0000000000000..fd755fda853ec --- /dev/null +++ b/api_docs/kbn_monaco.json @@ -0,0 +1,453 @@ +{ + "id": "@kbn/monaco", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.registerLanguage", + "type": "Function", + "tags": [], + "label": "registerLanguage", + "description": [], + "signature": [ + "(language: ", + { + "pluginId": "@kbn/monaco", + "scope": "common", + "docId": "kibKbnMonacoPluginApi", + "section": "def-common.LangModule", + "text": "LangModule" + }, + ") => void" + ], + "path": "packages/kbn-monaco/src/helpers.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.registerLanguage.$1", + "type": "Object", + "tags": [], + "label": "language", + "description": [], + "signature": [ + { + "pluginId": "@kbn/monaco", + "scope": "common", + "docId": "kibKbnMonacoPluginApi", + "section": "def-common.LangModule", + "text": "LangModule" + } + ], + "path": "packages/kbn-monaco/src/helpers.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.CompleteLangModule", + "type": "Interface", + "tags": [], + "label": "CompleteLangModule", + "description": [], + "signature": [ + { + "pluginId": "@kbn/monaco", + "scope": "common", + "docId": "kibKbnMonacoPluginApi", + "section": "def-common.CompleteLangModule", + "text": "CompleteLangModule" + }, + " extends ", + { + "pluginId": "@kbn/monaco", + "scope": "common", + "docId": "kibKbnMonacoPluginApi", + "section": "def-common.LangModule", + "text": "LangModule" + } + ], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.CompleteLangModule.languageConfiguration", + "type": "Object", + "tags": [], + "label": "languageConfiguration", + "description": [], + "signature": [ + "languages", + ".LanguageConfiguration" + ], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.CompleteLangModule.getSuggestionProvider", + "type": "Object", + "tags": [], + "label": "getSuggestionProvider", + "description": [], + "signature": [ + "Function" + ], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.CompleteLangModule.getSyntaxErrors", + "type": "Object", + "tags": [], + "label": "getSyntaxErrors", + "description": [], + "signature": [ + "Function" + ], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.LangModule", + "type": "Interface", + "tags": [], + "label": "LangModule", + "description": [], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.LangModule.ID", + "type": "string", + "tags": [], + "label": "ID", + "description": [], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.LangModule.lexerRules", + "type": "Object", + "tags": [], + "label": "lexerRules", + "description": [], + "signature": [ + "languages", + ".IMonarchLanguage" + ], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.LangModule.languageConfiguration", + "type": "Object", + "tags": [], + "label": "languageConfiguration", + "description": [], + "signature": [ + "languages", + ".LanguageConfiguration | undefined" + ], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.LangModule.getSuggestionProvider", + "type": "Object", + "tags": [], + "label": "getSuggestionProvider", + "description": [], + "signature": [ + "Function | undefined" + ], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.LangModule.getSyntaxErrors", + "type": "Object", + "tags": [], + "label": "getSyntaxErrors", + "description": [], + "signature": [ + "Function | undefined" + ], + "path": "packages/kbn-monaco/src/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessAutocompleteField", + "type": "Interface", + "tags": [], + "label": "PainlessAutocompleteField", + "description": [], + "path": "packages/kbn-monaco/src/painless/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessAutocompleteField.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/kbn-monaco/src/painless/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessAutocompleteField.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "path": "packages/kbn-monaco/src/painless/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessContext", + "type": "Type", + "tags": [], + "label": "PainlessContext", + "description": [], + "signature": [ + "\"filter\" | \"score\" | \"painless_test\" | \"boolean_script_field_script_field\" | \"date_script_field\" | \"double_script_field_script_field\" | \"ip_script_field_script_field\" | \"long_script_field_script_field\" | \"processor_conditional\" | \"string_script_field_script_field\"" + ], + "path": "packages/kbn-monaco/src/painless/types.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessLang", + "type": "Object", + "tags": [], + "label": "PainlessLang", + "description": [], + "path": "packages/kbn-monaco/src/painless/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessLang.ID", + "type": "string", + "tags": [], + "label": "ID", + "description": [], + "path": "packages/kbn-monaco/src/painless/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessLang.getSuggestionProvider", + "type": "Function", + "tags": [], + "label": "getSuggestionProvider", + "description": [], + "signature": [ + "(context: ", + { + "pluginId": "@kbn/monaco", + "scope": "common", + "docId": "kibKbnMonacoPluginApi", + "section": "def-common.PainlessContext", + "text": "PainlessContext" + }, + ", fields?: ", + { + "pluginId": "@kbn/monaco", + "scope": "common", + "docId": "kibKbnMonacoPluginApi", + "section": "def-common.PainlessAutocompleteField", + "text": "PainlessAutocompleteField" + }, + "[] | undefined) => ", + "PainlessCompletionAdapter" + ], + "path": "packages/kbn-monaco/src/painless/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessLang.getSuggestionProvider.$1", + "type": "CompoundType", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "\"filter\" | \"score\" | \"painless_test\" | \"boolean_script_field_script_field\" | \"date_script_field\" | \"double_script_field_script_field\" | \"ip_script_field_script_field\" | \"long_script_field_script_field\" | \"processor_conditional\" | \"string_script_field_script_field\"" + ], + "path": "packages/kbn-monaco/src/painless/language.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessLang.getSuggestionProvider.$2", + "type": "Array", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + { + "pluginId": "@kbn/monaco", + "scope": "common", + "docId": "kibKbnMonacoPluginApi", + "section": "def-common.PainlessAutocompleteField", + "text": "PainlessAutocompleteField" + }, + "[] | undefined" + ], + "path": "packages/kbn-monaco/src/painless/language.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessLang.lexerRules", + "type": "Object", + "tags": [], + "label": "lexerRules", + "description": [], + "signature": [ + "Language" + ], + "path": "packages/kbn-monaco/src/painless/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessLang.languageConfiguration", + "type": "Object", + "tags": [], + "label": "languageConfiguration", + "description": [], + "signature": [ + "languages", + ".LanguageConfiguration" + ], + "path": "packages/kbn-monaco/src/painless/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.PainlessLang.getSyntaxErrors", + "type": "Function", + "tags": [], + "label": "getSyntaxErrors", + "description": [], + "signature": [ + "() => ", + "SyntaxErrors" + ], + "path": "packages/kbn-monaco/src/painless/index.ts", + "deprecated": false, + "returnComment": [], + "children": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.XJsonLang", + "type": "Object", + "tags": [], + "label": "XJsonLang", + "description": [], + "path": "packages/kbn-monaco/src/xjson/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.XJsonLang.ID", + "type": "string", + "tags": [], + "label": "ID", + "description": [], + "path": "packages/kbn-monaco/src/xjson/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.XJsonLang.lexerRules", + "type": "Object", + "tags": [], + "label": "lexerRules", + "description": [], + "signature": [ + "languages", + ".IMonarchLanguage" + ], + "path": "packages/kbn-monaco/src/xjson/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/monaco", + "id": "def-common.XJsonLang.languageConfiguration", + "type": "Object", + "tags": [], + "label": "languageConfiguration", + "description": [], + "signature": [ + "languages", + ".LanguageConfiguration" + ], + "path": "packages/kbn-monaco/src/xjson/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_monaco.mdx b/api_docs/kbn_monaco.mdx new file mode 100644 index 0000000000000..4d205f38a7609 --- /dev/null +++ b/api_docs/kbn_monaco.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnMonacoPluginApi +slug: /kibana-dev-docs/api/kbn-monaco +title: "@kbn/monaco" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/monaco plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/monaco'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnMonacoObj from './kbn_monaco.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 28 | 0 | 28 | 3 | + +## Common + +### Objects + + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_optimizer.json b/api_docs/kbn_optimizer.json new file mode 100644 index 0000000000000..2e0fe2fb179ba --- /dev/null +++ b/api_docs/kbn_optimizer.json @@ -0,0 +1,812 @@ +{ + "id": "@kbn/optimizer", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig", + "type": "Class", + "tags": [], + "label": "OptimizerConfig", + "description": [], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.parseOptions", + "type": "Function", + "tags": [], + "label": "parseOptions", + "description": [], + "signature": [ + "(options: Options) => ", + "ParsedOptions" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.parseOptions.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Options" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.create", + "type": "Function", + "tags": [], + "label": "create", + "description": [], + "signature": [ + "(inputOptions: Options) => ", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerConfig", + "text": "OptimizerConfig" + } + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.create.$1", + "type": "Object", + "tags": [], + "label": "inputOptions", + "description": [], + "signature": [ + "Options" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$1", + "type": "Array", + "tags": [], + "label": "bundles", + "description": [], + "signature": [ + "Bundle", + "[]" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$2", + "type": "Array", + "tags": [], + "label": "filteredBundles", + "description": [], + "signature": [ + "Bundle", + "[]" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$3", + "type": "boolean", + "tags": [], + "label": "cache", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$4", + "type": "boolean", + "tags": [], + "label": "watch", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$5", + "type": "boolean", + "tags": [], + "label": "inspectWorkers", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$6", + "type": "Array", + "tags": [], + "label": "plugins", + "description": [], + "signature": [ + "KibanaPlatformPlugin", + "[]" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$7", + "type": "string", + "tags": [], + "label": "repoRoot", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$8", + "type": "number", + "tags": [], + "label": "maxWorkerCount", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$9", + "type": "boolean", + "tags": [], + "label": "dist", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$10", + "type": "boolean", + "tags": [], + "label": "profileWebpack", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.Unnamed.$11", + "type": "Object", + "tags": [], + "label": "themeTags", + "description": [], + "signature": [ + "ThemeTags" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.getWorkerConfig", + "type": "Function", + "tags": [], + "label": "getWorkerConfig", + "description": [], + "signature": [ + "(optimizerCacheKey: unknown) => ", + "WorkerConfig" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.getWorkerConfig.$1", + "type": "Unknown", + "tags": [], + "label": "optimizerCacheKey", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerConfig.getCacheableWorkerConfig", + "type": "Function", + "tags": [], + "label": "getCacheableWorkerConfig", + "description": [], + "signature": [ + "() => Pick<", + "WorkerConfig", + ", \"dist\" | \"repoRoot\" | \"themeTags\" | \"browserslistEnv\" | \"optimizerCacheKey\">" + ], + "path": "packages/kbn-optimizer/src/optimizer/optimizer_config.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.logOptimizerState", + "type": "Function", + "tags": [], + "label": "logOptimizerState", + "description": [], + "signature": [ + "(log: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + ", config: ", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerConfig", + "text": "OptimizerConfig" + }, + ") => Operator<", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerUpdate", + "text": "OptimizerUpdate" + }, + ", ", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerUpdate", + "text": "OptimizerUpdate" + }, + ">" + ], + "path": "packages/kbn-optimizer/src/log_optimizer_state.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.logOptimizerState.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-optimizer/src/log_optimizer_state.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.logOptimizerState.$2", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerConfig", + "text": "OptimizerConfig" + } + ], + "path": "packages/kbn-optimizer/src/log_optimizer_state.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.readLimits", + "type": "Function", + "tags": [], + "label": "readLimits", + "description": [], + "signature": [ + "(path: string) => ", + "Limits" + ], + "path": "packages/kbn-optimizer/src/limits.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.readLimits.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-optimizer/src/limits.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.registerNodeAutoTranspilation", + "type": "Function", + "tags": [], + "label": "registerNodeAutoTranspilation", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-optimizer/src/node/node_auto_tranpilation.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.reportOptimizerTimings", + "type": "Function", + "tags": [], + "label": "reportOptimizerTimings", + "description": [], + "signature": [ + "(log: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + ", config: ", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerConfig", + "text": "OptimizerConfig" + }, + ") => Operator<", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerUpdate", + "text": "OptimizerUpdate" + }, + ", ", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerUpdate", + "text": "OptimizerUpdate" + }, + ">" + ], + "path": "packages/kbn-optimizer/src/report_optimizer_timings.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.reportOptimizerTimings.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-optimizer/src/report_optimizer_timings.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.reportOptimizerTimings.$2", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerConfig", + "text": "OptimizerConfig" + } + ], + "path": "packages/kbn-optimizer/src/report_optimizer_timings.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.runKbnOptimizerCli", + "type": "Function", + "tags": [], + "label": "runKbnOptimizerCli", + "description": [], + "signature": [ + "(options: { defaultLimitsPath: string; }) => void" + ], + "path": "packages/kbn-optimizer/src/cli.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.runKbnOptimizerCli.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "packages/kbn-optimizer/src/cli.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.runKbnOptimizerCli.$1.defaultLimitsPath", + "type": "string", + "tags": [], + "label": "defaultLimitsPath", + "description": [], + "path": "packages/kbn-optimizer/src/cli.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.runOptimizer", + "type": "Function", + "tags": [], + "label": "runOptimizer", + "description": [], + "signature": [ + "(config: ", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerConfig", + "text": "OptimizerConfig" + }, + ") => ", + "Observable", + "<", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerUpdate", + "text": "OptimizerUpdate" + }, + ">" + ], + "path": "packages/kbn-optimizer/src/run_optimizer.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.runOptimizer.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerConfig", + "text": "OptimizerConfig" + } + ], + "path": "packages/kbn-optimizer/src/run_optimizer.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.updateBundleLimits", + "type": "Function", + "tags": [], + "label": "updateBundleLimits", + "description": [], + "signature": [ + "({\n log,\n config,\n dropMissing,\n limitsPath,\n}: UpdateBundleLimitsOptions) => void" + ], + "path": "packages/kbn-optimizer/src/limits.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.updateBundleLimits.$1", + "type": "Object", + "tags": [], + "label": "{\n log,\n config,\n dropMissing,\n limitsPath,\n}", + "description": [], + "signature": [ + "UpdateBundleLimitsOptions" + ], + "path": "packages/kbn-optimizer/src/limits.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.validateLimitsForAllBundles", + "type": "Function", + "tags": [], + "label": "validateLimitsForAllBundles", + "description": [], + "signature": [ + "(log: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + ", config: ", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerConfig", + "text": "OptimizerConfig" + }, + ", limitsPath: string) => void" + ], + "path": "packages/kbn-optimizer/src/limits.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.validateLimitsForAllBundles.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-optimizer/src/limits.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.validateLimitsForAllBundles.$2", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerConfig", + "text": "OptimizerConfig" + } + ], + "path": "packages/kbn-optimizer/src/limits.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.validateLimitsForAllBundles.$3", + "type": "string", + "tags": [], + "label": "limitsPath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-optimizer/src/limits.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerUpdate", + "type": "Type", + "tags": [], + "label": "OptimizerUpdate", + "description": [], + "signature": [ + "Update", + "<", + "OptimizerEvent", + ", ", + "OptimizerState", + ">" + ], + "path": "packages/kbn-optimizer/src/run_optimizer.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/optimizer", + "id": "def-server.OptimizerUpdate$", + "type": "Type", + "tags": [], + "label": "OptimizerUpdate$", + "description": [], + "signature": [ + "Observable", + "<", + { + "pluginId": "@kbn/optimizer", + "scope": "server", + "docId": "kibKbnOptimizerPluginApi", + "section": "def-server.OptimizerUpdate", + "text": "OptimizerUpdate" + }, + ">" + ], + "path": "packages/kbn-optimizer/src/run_optimizer.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_optimizer.mdx b/api_docs/kbn_optimizer.mdx new file mode 100644 index 0000000000000..e59e362121899 --- /dev/null +++ b/api_docs/kbn_optimizer.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnOptimizerPluginApi +slug: /kibana-dev-docs/api/kbn-optimizer +title: "@kbn/optimizer" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/optimizer plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/optimizer'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnOptimizerObj from './kbn_optimizer.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 42 | 0 | 42 | 9 | + +## Server + +### Functions + + +### Classes + + +### Consts, variables and types + + diff --git a/api_docs/kbn_plugin_generator.json b/api_docs/kbn_plugin_generator.json new file mode 100644 index 0000000000000..41448d9f09fc5 --- /dev/null +++ b/api_docs/kbn_plugin_generator.json @@ -0,0 +1,44 @@ +{ + "id": "@kbn/plugin-generator", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/plugin-generator", + "id": "def-server.runCli", + "type": "Function", + "tags": [], + "label": "runCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-plugin-generator/src/cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_plugin_generator.mdx b/api_docs/kbn_plugin_generator.mdx new file mode 100644 index 0000000000000..8a72f272c2280 --- /dev/null +++ b/api_docs/kbn_plugin_generator.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnPluginGeneratorPluginApi +slug: /kibana-dev-docs/api/kbn-plugin-generator +title: "@kbn/plugin-generator" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/plugin-generator plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-generator'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnPluginGeneratorObj from './kbn_plugin_generator.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 1 | 0 | 1 | 0 | + +## Server + +### Functions + + diff --git a/api_docs/kbn_plugin_helpers.json b/api_docs/kbn_plugin_helpers.json new file mode 100644 index 0000000000000..452c0a7353b3a --- /dev/null +++ b/api_docs/kbn_plugin_helpers.json @@ -0,0 +1,44 @@ +{ + "id": "@kbn/plugin-helpers", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/plugin-helpers", + "id": "def-server.runCli", + "type": "Function", + "tags": [], + "label": "runCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-plugin-helpers/src/cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_plugin_helpers.mdx b/api_docs/kbn_plugin_helpers.mdx new file mode 100644 index 0000000000000..768fa33dadb3b --- /dev/null +++ b/api_docs/kbn_plugin_helpers.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnPluginHelpersPluginApi +slug: /kibana-dev-docs/api/kbn-plugin-helpers +title: "@kbn/plugin-helpers" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/plugin-helpers plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/plugin-helpers'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnPluginHelpersObj from './kbn_plugin_helpers.json'; + +Just some helpers for kibana plugin devs. + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 1 | 0 | 1 | 0 | + +## Server + +### Functions + + diff --git a/api_docs/kbn_pm.json b/api_docs/kbn_pm.json new file mode 100644 index 0000000000000..ec66a824a63a3 --- /dev/null +++ b/api_docs/kbn_pm.json @@ -0,0 +1,943 @@ +{ + "id": "@kbn/pm", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project", + "type": "Class", + "tags": [], + "label": "Project", + "description": [], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.fromPath", + "type": "Function", + "tags": [], + "label": "fromPath", + "description": [], + "signature": [ + "(path: string) => Promise<", + { + "pluginId": "@kbn/pm", + "scope": "server", + "docId": "kibKbnPmPluginApi", + "section": "def-server.Project", + "text": "Project" + }, + ">" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.fromPath.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.json", + "type": "Object", + "tags": [], + "label": "json", + "description": [ + "parsed package.json" + ], + "signature": [ + "IPackageJson" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.packageJsonLocation", + "type": "string", + "tags": [], + "label": "packageJsonLocation", + "description": [ + "absolute path to the package.json file in the project" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.nodeModulesLocation", + "type": "string", + "tags": [], + "label": "nodeModulesLocation", + "description": [ + "absolute path to the node_modules in the project (might not actually exist)" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.targetLocation", + "type": "string", + "tags": [], + "label": "targetLocation", + "description": [ + "absolute path to the target directory in the project (might not actually exist)" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.path", + "type": "string", + "tags": [], + "label": "path", + "description": [ + "absolute path to the directory containing the project" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "the version of the project" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.allDependencies", + "type": "Object", + "tags": [], + "label": "allDependencies", + "description": [ + "merged set of dependencies of the project, [name => version range]" + ], + "signature": [ + "IPackageDependencies" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.productionDependencies", + "type": "Object", + "tags": [], + "label": "productionDependencies", + "description": [ + "regular dependencies of the project, [name => version range]" + ], + "signature": [ + "IPackageDependencies" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.devDependencies", + "type": "Object", + "tags": [], + "label": "devDependencies", + "description": [ + "development dependencies of the project, [name => version range]" + ], + "signature": [ + "IPackageDependencies" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.scripts", + "type": "Object", + "tags": [], + "label": "scripts", + "description": [ + "scripts defined in the package.json file for the project [name => body]" + ], + "signature": [ + "IPackageScripts" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.bazelPackage", + "type": "boolean", + "tags": [], + "label": "bazelPackage", + "description": [ + "states if this project is a Bazel package" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.isSinglePackageJsonProject", + "type": "boolean", + "tags": [], + "label": "isSinglePackageJsonProject", + "description": [], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "packageJson", + "description": [], + "signature": [ + "IPackageJson" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.Unnamed.$2", + "type": "string", + "tags": [], + "label": "projectPath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.ensureValidProjectDependency", + "type": "Function", + "tags": [], + "label": "ensureValidProjectDependency", + "description": [], + "signature": [ + "(project: ", + { + "pluginId": "@kbn/pm", + "scope": "server", + "docId": "kibKbnPmPluginApi", + "section": "def-server.Project", + "text": "Project" + }, + ") => void" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.ensureValidProjectDependency.$1", + "type": "Object", + "tags": [], + "label": "project", + "description": [], + "signature": [ + { + "pluginId": "@kbn/pm", + "scope": "server", + "docId": "kibKbnPmPluginApi", + "section": "def-server.Project", + "text": "Project" + } + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.getBuildConfig", + "type": "Function", + "tags": [], + "label": "getBuildConfig", + "description": [], + "signature": [ + "() => BuildConfig" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.getIntermediateBuildDirectory", + "type": "Function", + "tags": [], + "label": "getIntermediateBuildDirectory", + "description": [ + "\nReturns the directory that should be copied into the Kibana build artifact.\nThis config can be specified to only include the project's build artifacts\ninstead of everything located in the project directory." + ], + "signature": [ + "() => string" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.getCleanConfig", + "type": "Function", + "tags": [], + "label": "getCleanConfig", + "description": [], + "signature": [ + "() => CleanConfig" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.isBazelPackage", + "type": "Function", + "tags": [], + "label": "isBazelPackage", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.isFlaggedAsDevOnly", + "type": "Function", + "tags": [], + "label": "isFlaggedAsDevOnly", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.hasScript", + "type": "Function", + "tags": [], + "label": "hasScript", + "description": [], + "signature": [ + "(name: string) => boolean" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.hasScript.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.getExecutables", + "type": "Function", + "tags": [], + "label": "getExecutables", + "description": [], + "signature": [ + "() => { [key: string]: string; }" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.runScript", + "type": "Function", + "tags": [], + "label": "runScript", + "description": [], + "signature": [ + "(scriptName: string, args?: string[]) => Promise" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.runScript.$1", + "type": "string", + "tags": [], + "label": "scriptName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.runScript.$2", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.runScriptStreaming", + "type": "Function", + "tags": [], + "label": "runScriptStreaming", + "description": [], + "signature": [ + "(scriptName: string, options?: { args?: string[] | undefined; debug?: boolean | undefined; }) => ", + "ExecaChildProcess", + "" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.runScriptStreaming.$1", + "type": "string", + "tags": [], + "label": "scriptName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.runScriptStreaming.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.runScriptStreaming.$2.args", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.runScriptStreaming.$2.debug", + "type": "CompoundType", + "tags": [], + "label": "debug", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.hasDependencies", + "type": "Function", + "tags": [], + "label": "hasDependencies", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.isEveryDependencyLocal", + "type": "Function", + "tags": [], + "label": "isEveryDependencyLocal", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.installDependencies", + "type": "Function", + "tags": [], + "label": "installDependencies", + "description": [], + "signature": [ + "(options?: { extraArgs?: string[] | undefined; }) => Promise" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.installDependencies.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.Project.installDependencies.$1.extraArgs", + "type": "Array", + "tags": [], + "label": "extraArgs", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-pm/src/utils/project.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildBazelProductionProjects", + "type": "Function", + "tags": [], + "label": "buildBazelProductionProjects", + "description": [], + "signature": [ + "({\n kibanaRoot,\n buildRoot,\n onlyOSS,\n}: { kibanaRoot: string; buildRoot: string; onlyOSS?: boolean | undefined; }) => Promise" + ], + "path": "packages/kbn-pm/src/production/build_bazel_production_projects.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildBazelProductionProjects.$1", + "type": "Object", + "tags": [], + "label": "{\n kibanaRoot,\n buildRoot,\n onlyOSS,\n}", + "description": [], + "path": "packages/kbn-pm/src/production/build_bazel_production_projects.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildBazelProductionProjects.$1.kibanaRoot", + "type": "string", + "tags": [], + "label": "kibanaRoot", + "description": [], + "path": "packages/kbn-pm/src/production/build_bazel_production_projects.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildBazelProductionProjects.$1.buildRoot", + "type": "string", + "tags": [], + "label": "buildRoot", + "description": [], + "path": "packages/kbn-pm/src/production/build_bazel_production_projects.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildBazelProductionProjects.$1.onlyOSS", + "type": "CompoundType", + "tags": [], + "label": "onlyOSS", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-pm/src/production/build_bazel_production_projects.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildNonBazelProductionProjects", + "type": "Function", + "tags": [], + "label": "buildNonBazelProductionProjects", + "description": [], + "signature": [ + "({\n kibanaRoot,\n buildRoot,\n onlyOSS,\n}: { kibanaRoot: string; buildRoot: string; onlyOSS?: boolean | undefined; }) => Promise" + ], + "path": "packages/kbn-pm/src/production/build_non_bazel_production_projects.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildNonBazelProductionProjects.$1", + "type": "Object", + "tags": [], + "label": "{\n kibanaRoot,\n buildRoot,\n onlyOSS,\n}", + "description": [], + "path": "packages/kbn-pm/src/production/build_non_bazel_production_projects.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildNonBazelProductionProjects.$1.kibanaRoot", + "type": "string", + "tags": [], + "label": "kibanaRoot", + "description": [], + "path": "packages/kbn-pm/src/production/build_non_bazel_production_projects.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildNonBazelProductionProjects.$1.buildRoot", + "type": "string", + "tags": [], + "label": "buildRoot", + "description": [], + "path": "packages/kbn-pm/src/production/build_non_bazel_production_projects.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.buildNonBazelProductionProjects.$1.onlyOSS", + "type": "CompoundType", + "tags": [], + "label": "onlyOSS", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-pm/src/production/build_non_bazel_production_projects.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.getProjectPaths", + "type": "Function", + "tags": [], + "label": "getProjectPaths", + "description": [ + "\nReturns all the paths where plugins are located" + ], + "signature": [ + "({ rootPath, ossOnly, skipKibanaPlugins }: Options) => string[]" + ], + "path": "packages/kbn-pm/src/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.getProjectPaths.$1", + "type": "Object", + "tags": [], + "label": "{ rootPath, ossOnly, skipKibanaPlugins }", + "description": [], + "signature": [ + "Options" + ], + "path": "packages/kbn-pm/src/config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.getProjects", + "type": "Function", + "tags": [], + "label": "getProjects", + "description": [], + "signature": [ + "(rootPath: string, projectsPathsPatterns: string[], { include = [], exclude = [] }: ", + "IProjectsOptions", + ", bazelOnly: boolean) => Promise<", + "ProjectMap", + ">" + ], + "path": "packages/kbn-pm/src/utils/projects.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.getProjects.$1", + "type": "string", + "tags": [], + "label": "rootPath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-pm/src/utils/projects.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.getProjects.$2", + "type": "Array", + "tags": [], + "label": "projectsPathsPatterns", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-pm/src/utils/projects.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.getProjects.$3", + "type": "Object", + "tags": [], + "label": "{ include = [], exclude = [] }", + "description": [], + "signature": [ + "IProjectsOptions" + ], + "path": "packages/kbn-pm/src/utils/projects.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.getProjects.$4", + "type": "boolean", + "tags": [], + "label": "bazelOnly", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-pm/src/utils/projects.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.run", + "type": "Function", + "tags": [], + "label": "run", + "description": [], + "signature": [ + "(argv: string[]) => Promise" + ], + "path": "packages/kbn-pm/src/cli.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.run.$1", + "type": "Array", + "tags": [], + "label": "argv", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-pm/src/cli.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/pm", + "id": "def-server.transformDependencies", + "type": "Function", + "tags": [], + "label": "transformDependencies", + "description": [ + "\nReplaces `link:` dependencies with `file:` dependencies. When installing\ndependencies, these `file:` dependencies will be copied into `node_modules`\ninstead of being symlinked.\n\nThis will allow us to copy packages into the build and run `yarn`, which\nwill then _copy_ the `file:` dependencies into `node_modules` instead of\nsymlinking like we do in development.\n\nAdditionally it also taken care of replacing `link:bazel-bin/` with\n`file:` so we can also support the copy of the Bazel packages dist already into\nbuild/packages to be copied into the node_modules" + ], + "signature": [ + "(dependencies: ", + "IPackageDependencies", + ") => ", + "IPackageDependencies" + ], + "path": "packages/kbn-pm/src/utils/package_json.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/pm", + "id": "def-server.transformDependencies.$1", + "type": "Object", + "tags": [], + "label": "dependencies", + "description": [], + "signature": [ + "IPackageDependencies" + ], + "path": "packages/kbn-pm/src/utils/package_json.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_pm.mdx b/api_docs/kbn_pm.mdx new file mode 100644 index 0000000000000..f0886b39ea01c --- /dev/null +++ b/api_docs/kbn_pm.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnPmPluginApi +slug: /kibana-dev-docs/api/kbn-pm +title: "@kbn/pm" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/pm plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/pm'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnPmObj from './kbn_pm.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 63 | 0 | 49 | 5 | + +## Server + +### Functions + + +### Classes + + diff --git a/api_docs/kbn_rule_data_utils.json b/api_docs/kbn_rule_data_utils.json new file mode 100644 index 0000000000000..a29fb27fbbfe0 --- /dev/null +++ b/api_docs/kbn_rule_data_utils.json @@ -0,0 +1,1100 @@ +{ + "id": "@kbn/rule-data-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.getEsQueryConfig", + "type": "Function", + "tags": [], + "label": "getEsQueryConfig", + "description": [], + "signature": [ + "(params?: GetEsQueryConfigParamType | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.EsQueryConfig", + "text": "EsQueryConfig" + } + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.getEsQueryConfig.$1", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "GetEsQueryConfigParamType | undefined" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.getSafeSortIds", + "type": "Function", + "tags": [], + "label": "getSafeSortIds", + "description": [ + "\nPrevent javascript from returning Number.MAX_SAFE_INTEGER when Elasticsearch expects\nJava's Long.MAX_VALUE. This happens when sorting fields by date which are\nunmapped in the provided index\n\nRef: https://github.com/elastic/elasticsearch/issues/28806#issuecomment-369303620\n\nreturn stringified Long.MAX_VALUE if we receive Number.MAX_SAFE_INTEGER" + ], + "signature": [ + "(sortIds: ", + "SearchSortResults", + " | null | undefined) => React.ReactText[] | null | undefined" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.getSafeSortIds.$1", + "type": "CompoundType", + "tags": [], + "label": "sortIds", + "description": [ + "estypes.SearchSortResults | undefined" + ], + "signature": [ + "SearchSortResults", + " | null | undefined" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "SortResults" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.isValidFeatureId", + "type": "Function", + "tags": [], + "label": "isValidFeatureId", + "description": [], + "signature": [ + "(a: unknown) => a is ", + { + "pluginId": "@kbn/rule-data-utils", + "scope": "server", + "docId": "kibKbnRuleDataUtilsPluginApi", + "section": "def-server.AlertConsumers", + "text": "AlertConsumers" + } + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.isValidFeatureId.$1", + "type": "Unknown", + "tags": [], + "label": "a", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_ACTION_GROUP", + "type": "string", + "tags": [], + "label": "ALERT_ACTION_GROUP", + "description": [], + "signature": [ + "\"kibana.alert.action_group\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_DURATION", + "type": "string", + "tags": [], + "label": "ALERT_DURATION", + "description": [], + "signature": [ + "\"kibana.alert.duration.us\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_END", + "type": "string", + "tags": [], + "label": "ALERT_END", + "description": [], + "signature": [ + "\"kibana.alert.end\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_EVALUATION_THRESHOLD", + "type": "string", + "tags": [], + "label": "ALERT_EVALUATION_THRESHOLD", + "description": [], + "signature": [ + "\"kibana.alert.evaluation.threshold\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_EVALUATION_VALUE", + "type": "string", + "tags": [], + "label": "ALERT_EVALUATION_VALUE", + "description": [], + "signature": [ + "\"kibana.alert.evaluation.value\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_INSTANCE_ID", + "type": "string", + "tags": [], + "label": "ALERT_INSTANCE_ID", + "description": [], + "signature": [ + "\"kibana.alert.instance.id\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_NAMESPACE", + "type": "string", + "tags": [], + "label": "ALERT_NAMESPACE", + "description": [], + "signature": [ + "\"kibana.alert\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_REASON", + "type": "string", + "tags": [], + "label": "ALERT_REASON", + "description": [], + "signature": [ + "\"kibana.alert.reason\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RISK_SCORE", + "type": "string", + "tags": [], + "label": "ALERT_RISK_SCORE", + "description": [], + "signature": [ + "\"kibana.alert.risk_score\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_AUTHOR", + "type": "string", + "tags": [], + "label": "ALERT_RULE_AUTHOR", + "description": [], + "signature": [ + "\"kibana.alert.rule.author\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_CATEGORY", + "type": "string", + "tags": [], + "label": "ALERT_RULE_CATEGORY", + "description": [], + "signature": [ + "\"kibana.alert.rule.category\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_CONSUMER", + "type": "string", + "tags": [], + "label": "ALERT_RULE_CONSUMER", + "description": [], + "signature": [ + "\"kibana.alert.rule.consumer\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_CREATED_AT", + "type": "string", + "tags": [], + "label": "ALERT_RULE_CREATED_AT", + "description": [], + "signature": [ + "\"kibana.alert.rule.created_at\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_CREATED_BY", + "type": "string", + "tags": [], + "label": "ALERT_RULE_CREATED_BY", + "description": [], + "signature": [ + "\"kibana.alert.rule.created_by\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_DESCRIPTION", + "type": "string", + "tags": [], + "label": "ALERT_RULE_DESCRIPTION", + "description": [], + "signature": [ + "\"kibana.alert.rule.description\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_ENABLED", + "type": "string", + "tags": [], + "label": "ALERT_RULE_ENABLED", + "description": [], + "signature": [ + "\"kibana.alert.rule.enabled\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_FROM", + "type": "string", + "tags": [], + "label": "ALERT_RULE_FROM", + "description": [], + "signature": [ + "\"kibana.alert.rule.from\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_INTERVAL", + "type": "string", + "tags": [], + "label": "ALERT_RULE_INTERVAL", + "description": [], + "signature": [ + "\"kibana.alert.rule.interval\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_LICENSE", + "type": "string", + "tags": [], + "label": "ALERT_RULE_LICENSE", + "description": [], + "signature": [ + "\"kibana.alert.rule.license\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_NAME", + "type": "string", + "tags": [], + "label": "ALERT_RULE_NAME", + "description": [], + "signature": [ + "\"kibana.alert.rule.name\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_NAMESPACE", + "type": "string", + "tags": [], + "label": "ALERT_RULE_NAMESPACE", + "description": [], + "signature": [ + "\"kibana.alert.rule\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_NOTE", + "type": "string", + "tags": [], + "label": "ALERT_RULE_NOTE", + "description": [], + "signature": [ + "\"kibana.alert.rule.note\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_PARAMS", + "type": "string", + "tags": [], + "label": "ALERT_RULE_PARAMS", + "description": [], + "signature": [ + "\"kibana.alert.rule.params\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_PRODUCER", + "type": "string", + "tags": [], + "label": "ALERT_RULE_PRODUCER", + "description": [], + "signature": [ + "\"kibana.alert.rule.producer\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_REFERENCES", + "type": "string", + "tags": [], + "label": "ALERT_RULE_REFERENCES", + "description": [], + "signature": [ + "\"kibana.alert.rule.references\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_RISK_SCORE", + "type": "string", + "tags": [], + "label": "ALERT_RULE_RISK_SCORE", + "description": [], + "signature": [ + "\"kibana.alert.rule.risk_score\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_RISK_SCORE_MAPPING", + "type": "string", + "tags": [], + "label": "ALERT_RULE_RISK_SCORE_MAPPING", + "description": [], + "signature": [ + "\"kibana.alert.rule.risk_score_mapping\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_RULE_ID", + "type": "string", + "tags": [], + "label": "ALERT_RULE_RULE_ID", + "description": [], + "signature": [ + "\"kibana.alert.rule.rule_id\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_RULE_NAME_OVERRIDE", + "type": "string", + "tags": [], + "label": "ALERT_RULE_RULE_NAME_OVERRIDE", + "description": [], + "signature": [ + "\"kibana.alert.rule.rule_name_override\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_SEVERITY", + "type": "string", + "tags": [], + "label": "ALERT_RULE_SEVERITY", + "description": [], + "signature": [ + "\"kibana.alert.rule.severity\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_SEVERITY_MAPPING", + "type": "string", + "tags": [], + "label": "ALERT_RULE_SEVERITY_MAPPING", + "description": [], + "signature": [ + "\"kibana.alert.rule.severity_mapping\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_TAGS", + "type": "string", + "tags": [], + "label": "ALERT_RULE_TAGS", + "description": [], + "signature": [ + "\"kibana.alert.rule.tags\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_TO", + "type": "string", + "tags": [], + "label": "ALERT_RULE_TO", + "description": [], + "signature": [ + "\"kibana.alert.rule.to\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_TYPE", + "type": "string", + "tags": [], + "label": "ALERT_RULE_TYPE", + "description": [], + "signature": [ + "\"kibana.alert.rule.type\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_TYPE_ID", + "type": "string", + "tags": [], + "label": "ALERT_RULE_TYPE_ID", + "description": [], + "signature": [ + "\"kibana.alert.rule.rule_type_id\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_UPDATED_AT", + "type": "string", + "tags": [], + "label": "ALERT_RULE_UPDATED_AT", + "description": [], + "signature": [ + "\"kibana.alert.rule.updated_at\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_UPDATED_BY", + "type": "string", + "tags": [], + "label": "ALERT_RULE_UPDATED_BY", + "description": [], + "signature": [ + "\"kibana.alert.rule.updated_by\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_UUID", + "type": "string", + "tags": [], + "label": "ALERT_RULE_UUID", + "description": [], + "signature": [ + "\"kibana.alert.rule.uuid\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_RULE_VERSION", + "type": "string", + "tags": [], + "label": "ALERT_RULE_VERSION", + "description": [], + "signature": [ + "\"kibana.alert.rule.version\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_SEVERITY", + "type": "string", + "tags": [], + "label": "ALERT_SEVERITY", + "description": [], + "signature": [ + "\"kibana.alert.severity\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_SEVERITY_CRITICAL", + "type": "string", + "tags": [], + "label": "ALERT_SEVERITY_CRITICAL", + "description": [], + "signature": [ + "\"critical\"" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_severity.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_SEVERITY_WARNING", + "type": "string", + "tags": [], + "label": "ALERT_SEVERITY_WARNING", + "description": [], + "signature": [ + "\"warning\"" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_severity.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_START", + "type": "string", + "tags": [], + "label": "ALERT_START", + "description": [], + "signature": [ + "\"kibana.alert.start\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_STATUS", + "type": "string", + "tags": [], + "label": "ALERT_STATUS", + "description": [], + "signature": [ + "\"kibana.alert.status\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_STATUS_ACTIVE", + "type": "string", + "tags": [], + "label": "ALERT_STATUS_ACTIVE", + "description": [], + "signature": [ + "\"active\"" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_status.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_STATUS_RECOVERED", + "type": "string", + "tags": [], + "label": "ALERT_STATUS_RECOVERED", + "description": [], + "signature": [ + "\"recovered\"" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_status.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_SYSTEM_STATUS", + "type": "string", + "tags": [], + "label": "ALERT_SYSTEM_STATUS", + "description": [], + "signature": [ + "\"kibana.alert.system_status\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_UUID", + "type": "string", + "tags": [], + "label": "ALERT_UUID", + "description": [], + "signature": [ + "\"kibana.alert.uuid\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_WORKFLOW_REASON", + "type": "string", + "tags": [], + "label": "ALERT_WORKFLOW_REASON", + "description": [], + "signature": [ + "\"kibana.alert.workflow_reason\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_WORKFLOW_STATUS", + "type": "string", + "tags": [], + "label": "ALERT_WORKFLOW_STATUS", + "description": [], + "signature": [ + "\"kibana.alert.workflow_status\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ALERT_WORKFLOW_USER", + "type": "string", + "tags": [], + "label": "ALERT_WORKFLOW_USER", + "description": [], + "signature": [ + "\"kibana.alert.workflow_user\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.AlertConsumers", + "type": "Type", + "tags": [], + "label": "AlertConsumers", + "description": [], + "signature": [ + "\"logs\" | \"apm\" | \"observability\" | \"uptime\" | \"infrastructure\" | \"siem\"" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.AlertSeverity", + "type": "Type", + "tags": [], + "label": "AlertSeverity", + "description": [], + "signature": [ + "\"warning\" | \"critical\"" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_severity.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.AlertStatus", + "type": "Type", + "tags": [], + "label": "AlertStatus", + "description": [], + "signature": [ + "\"recovered\" | \"active\"" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_status.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.CONSUMERS", + "type": "string", + "tags": [], + "label": "CONSUMERS", + "description": [], + "signature": [ + "\"kibana.consumers\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ECS_VERSION", + "type": "string", + "tags": [], + "label": "ECS_VERSION", + "description": [], + "signature": [ + "\"ecs.version\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.EVENT_ACTION", + "type": "string", + "tags": [], + "label": "EVENT_ACTION", + "description": [], + "signature": [ + "\"event.action\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.EVENT_KIND", + "type": "string", + "tags": [], + "label": "EVENT_KIND", + "description": [], + "signature": [ + "\"event.kind\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.KIBANA_NAMESPACE", + "type": "string", + "tags": [], + "label": "KIBANA_NAMESPACE", + "description": [], + "signature": [ + "\"kibana\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.SPACE_IDS", + "type": "string", + "tags": [], + "label": "SPACE_IDS", + "description": [], + "signature": [ + "\"kibana.space_ids\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.STATUS_VALUES", + "type": "Type", + "tags": [], + "label": "STATUS_VALUES", + "description": [], + "signature": [ + "\"open\" | \"in-progress\" | \"acknowledged\" | \"closed\"" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.TAGS", + "type": "string", + "tags": [], + "label": "TAGS", + "description": [], + "signature": [ + "\"tags\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.TechnicalRuleDataFieldName", + "type": "Type", + "tags": [], + "label": "TechnicalRuleDataFieldName", + "description": [], + "signature": [ + "\"tags\" | \"kibana\" | \"@timestamp\" | \"event.kind\" | \"kibana.consumers\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.instance.id\" | \"kibana.alert.rule.consumer\" | \"kibana.alert.rule.producer\" | \"kibana.alert.reason\" | \"kibana.alert.risk_score\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.name\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.params\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.rule_type_id\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.status\" | \"kibana.alert.system_status\" | \"kibana.alert.uuid\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.alert.rule.uuid\" | \"kibana.alert.rule.category\" | \"kibana.space_ids\" | \"kibana.version\" | \"kibana.alert\" | \"kibana.alert.rule\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.TIMESTAMP", + "type": "string", + "tags": [], + "label": "TIMESTAMP", + "description": [], + "signature": [ + "\"@timestamp\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.ValidFeatureId", + "type": "Type", + "tags": [], + "label": "ValidFeatureId", + "description": [], + "signature": [ + "\"logs\" | \"apm\" | \"observability\" | \"uptime\" | \"infrastructure\" | \"siem\"" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.validFeatureIds", + "type": "Array", + "tags": [], + "label": "validFeatureIds", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.VERSION", + "type": "string", + "tags": [], + "label": "VERSION", + "description": [], + "signature": [ + "\"kibana.version\"" + ], + "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/rule-data-utils", + "id": "def-server.AlertConsumers", + "type": "Object", + "tags": [], + "label": "AlertConsumers", + "description": [ + "\nregistering a new instance of the rule data client\nin a new plugin will require updating the below data structure\nto include the index name where the alerts as data will be written to." + ], + "signature": [ + "{ readonly APM: \"apm\"; readonly LOGS: \"logs\"; readonly INFRASTRUCTURE: \"infrastructure\"; readonly OBSERVABILITY: \"observability\"; readonly SIEM: \"siem\"; readonly UPTIME: \"uptime\"; }" + ], + "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "deprecated": false, + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_rule_data_utils.mdx b/api_docs/kbn_rule_data_utils.mdx new file mode 100644 index 0000000000000..3d10e43666558 --- /dev/null +++ b/api_docs/kbn_rule_data_utils.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnRuleDataUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-rule-data-utils +title: "@kbn/rule-data-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/rule-data-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/rule-data-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnRuleDataUtilsObj from './kbn_rule_data_utils.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 74 | 0 | 71 | 0 | + +## Server + +### Objects + + +### Functions + + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_autocomplete.json b/api_docs/kbn_securitysolution_autocomplete.json new file mode 100644 index 0000000000000..940a7d08d6155 --- /dev/null +++ b/api_docs/kbn_securitysolution_autocomplete.json @@ -0,0 +1,855 @@ +{ + "id": "@kbn/securitysolution-autocomplete", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.AutocompleteFieldExistsComponent", + "type": "Function", + "tags": [], + "label": "AutocompleteFieldExistsComponent", + "description": [], + "signature": [ + "{ ({ placeholder, rowLabel, }: React.PropsWithChildren): JSX.Element; displayName: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field_value_exists/index.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.AutocompleteFieldExistsComponent.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n placeholder,\n rowLabel,\n}", + "description": [], + "signature": [ + "React.PropsWithChildren" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field_value_exists/index.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.AutocompleteFieldListsComponent", + "type": "Function", + "tags": [], + "label": "AutocompleteFieldListsComponent", + "description": [], + "signature": [ + "{ ({ httpService, isClearable, isDisabled, isLoading, onChange, placeholder, rowLabel, selectedField, selectedValue, }: React.PropsWithChildren): JSX.Element; displayName: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field_value_lists/index.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.AutocompleteFieldListsComponent.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n httpService,\n isClearable = false,\n isDisabled = false,\n isLoading = false,\n onChange,\n placeholder,\n rowLabel,\n selectedField,\n selectedValue,\n}", + "description": [], + "signature": [ + "React.PropsWithChildren" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field_value_lists/index.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.AutocompleteFieldMatchAnyComponent", + "type": "Function", + "tags": [], + "label": "AutocompleteFieldMatchAnyComponent", + "description": [], + "signature": [ + "{ ({ placeholder, rowLabel, selectedField, selectedValue, indexPattern, isLoading, isDisabled, isClearable, isRequired, onChange, onError, autocompleteService, }: React.PropsWithChildren): JSX.Element; displayName: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field_value_match_any/index.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.AutocompleteFieldMatchAnyComponent.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n placeholder,\n rowLabel,\n selectedField,\n selectedValue,\n indexPattern,\n isLoading,\n isDisabled = false,\n isClearable = false,\n isRequired = false,\n onChange,\n onError,\n autocompleteService,\n}", + "description": [], + "signature": [ + "React.PropsWithChildren" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field_value_match_any/index.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.AutocompleteFieldMatchComponent", + "type": "Function", + "tags": [], + "label": "AutocompleteFieldMatchComponent", + "description": [], + "signature": [ + "{ ({ placeholder, rowLabel, selectedField, selectedValue, indexPattern, isLoading, isDisabled, isClearable, isRequired, fieldInputWidth, onChange, onError, autocompleteService, }: React.PropsWithChildren): JSX.Element; displayName: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field_value_match/index.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.AutocompleteFieldMatchComponent.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n placeholder,\n rowLabel,\n selectedField,\n selectedValue,\n indexPattern,\n isLoading,\n isDisabled = false,\n isClearable = false,\n isRequired = false,\n fieldInputWidth,\n onChange,\n onError,\n autocompleteService,\n}", + "description": [], + "signature": [ + "React.PropsWithChildren" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field_value_match/index.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.checkEmptyValue", + "type": "Function", + "tags": [], + "label": "checkEmptyValue", + "description": [ + "\nDetermines if empty value is ok" + ], + "signature": [ + "(param: string | undefined, field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined, isRequired: boolean, touched: boolean) => string | null | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/check_empty_value/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.checkEmptyValue.$1", + "type": "string", + "tags": [], + "label": "param", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/check_empty_value/index.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.checkEmptyValue.$2", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/check_empty_value/index.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.checkEmptyValue.$3", + "type": "boolean", + "tags": [], + "label": "isRequired", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/check_empty_value/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.checkEmptyValue.$4", + "type": "boolean", + "tags": [], + "label": "touched", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/check_empty_value/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.FieldComponent", + "type": "Function", + "tags": [], + "label": "FieldComponent", + "description": [], + "signature": [ + "{ ({ fieldInputWidth, fieldTypeFilter, indexPattern, isClearable, isDisabled, isLoading, isRequired, onChange, placeholder, selectedField, }: React.PropsWithChildren): JSX.Element; displayName: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field/index.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.FieldComponent.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n fieldInputWidth,\n fieldTypeFilter = [],\n indexPattern,\n isClearable = false,\n isDisabled = false,\n isLoading = false,\n isRequired = false,\n onChange,\n placeholder,\n selectedField,\n}", + "description": [], + "signature": [ + "React.PropsWithChildren" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/field/index.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.filterFieldToList", + "type": "Function", + "tags": [], + "label": "filterFieldToList", + "description": [ + "\nGiven an array of lists and optionally a field this will return all\nthe lists that match against the field based on the types from the field\n\nNOTE: That we support one additional property from \"FieldSpec\" located here:\nsrc/plugins/data/common/index_patterns/fields/types.ts\nThis type property is esTypes. If it exists and is on there we will read off the esTypes." + ], + "signature": [ + "(lists: { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }[], field?: (", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " & { esTypes?: string[] | undefined; }) | undefined) => { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }[]" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.filterFieldToList.$1", + "type": "Array", + "tags": [], + "label": "lists", + "description": [ + "The lists to match against the field" + ], + "signature": [ + "{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }[]" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.filterFieldToList.$2", + "type": "CompoundType", + "tags": [], + "label": "field", + "description": [ + "The field to check against the list to see if they are compatible" + ], + "signature": [ + "(", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " & { esTypes?: string[] | undefined; }) | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/filter_field_to_list/index.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.getGenericComboBoxProps", + "type": "Function", + "tags": [], + "label": "getGenericComboBoxProps", + "description": [ + "\nDetermines the options, selected values and option labels for EUI combo box" + ], + "signature": [ + "({ getLabel, options, selectedOptions, }: { getLabel: (value: T) => string; options: T[]; selectedOptions: T[]; }) => ", + { + "pluginId": "@kbn/securitysolution-autocomplete", + "scope": "common", + "docId": "kibKbnSecuritysolutionAutocompletePluginApi", + "section": "def-common.GetGenericComboBoxPropsReturn", + "text": "GetGenericComboBoxPropsReturn" + } + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.getGenericComboBoxProps.$1", + "type": "Object", + "tags": [], + "label": "{\n getLabel,\n options,\n selectedOptions,\n}", + "description": [], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.getGenericComboBoxProps.$1.getLabel", + "type": "Function", + "tags": [], + "label": "getLabel", + "description": [], + "signature": [ + "(value: T) => string" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.getGenericComboBoxProps.$1.getLabel.$1", + "type": "Uncategorized", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.getGenericComboBoxProps.$1.options", + "type": "Array", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "T[]" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.getGenericComboBoxProps.$1.selectedOptions", + "type": "Array", + "tags": [], + "label": "selectedOptions", + "description": [], + "signature": [ + "T[]" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.getOperators", + "type": "Function", + "tags": [], + "label": "getOperators", + "description": [ + "\nReturns the appropriate operators given a field type\n" + ], + "signature": [ + "(field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_operators/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.getOperators.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [ + "IndexPatternFieldBase selected field" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_operators/index.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.OperatorComponent", + "type": "Function", + "tags": [], + "label": "OperatorComponent", + "description": [], + "signature": [ + "{ ({ isClearable, isDisabled, isLoading, onChange, operator, operatorOptions, operatorInputWidth, placeholder, selectedField, }: React.PropsWithChildren): JSX.Element; displayName: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/operator/index.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.OperatorComponent.$1", + "type": "CompoundType", + "tags": [], + "label": "{\n isClearable = false,\n isDisabled = false,\n isLoading = false,\n onChange,\n operator,\n operatorOptions,\n operatorInputWidth = 150,\n placeholder,\n selectedField,\n}", + "description": [], + "signature": [ + "React.PropsWithChildren" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/operator/index.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.paramIsValid", + "type": "Function", + "tags": [], + "label": "paramIsValid", + "description": [ + "\nVery basic validation for values" + ], + "signature": [ + "(param: string | undefined, field: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined, isRequired: boolean, touched: boolean) => string | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/param_is_valid/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.paramIsValid.$1", + "type": "string", + "tags": [], + "label": "param", + "description": [ + "the value being checked" + ], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/param_is_valid/index.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.paramIsValid.$2", + "type": "Object", + "tags": [], + "label": "field", + "description": [ + "the selected field" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/param_is_valid/index.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.paramIsValid.$3", + "type": "boolean", + "tags": [], + "label": "isRequired", + "description": [ + "whether or not an empty value is allowed" + ], + "signature": [ + "boolean" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/param_is_valid/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.paramIsValid.$4", + "type": "boolean", + "tags": [], + "label": "touched", + "description": [ + "has field been touched by user" + ], + "signature": [ + "boolean" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/param_is_valid/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "undefined if valid, string with error message if invalid" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.useFieldValueAutocomplete", + "type": "Function", + "tags": [], + "label": "useFieldValueAutocomplete", + "description": [ + "\nHook for using the field value autocomplete service" + ], + "signature": [ + "({ selectedField, operatorType, fieldValue, query, indexPattern, autocompleteService, }: ", + { + "pluginId": "@kbn/securitysolution-autocomplete", + "scope": "common", + "docId": "kibKbnSecuritysolutionAutocompletePluginApi", + "section": "def-common.UseFieldValueAutocompleteProps", + "text": "UseFieldValueAutocompleteProps" + }, + ") => ", + { + "pluginId": "@kbn/securitysolution-autocomplete", + "scope": "common", + "docId": "kibKbnSecuritysolutionAutocompletePluginApi", + "section": "def-common.UseFieldValueAutocompleteReturn", + "text": "UseFieldValueAutocompleteReturn" + } + ], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.useFieldValueAutocomplete.$1", + "type": "Object", + "tags": [], + "label": "{\n selectedField,\n operatorType,\n fieldValue,\n query,\n indexPattern,\n autocompleteService,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-autocomplete", + "scope": "common", + "docId": "kibKbnSecuritysolutionAutocompletePluginApi", + "section": "def-common.UseFieldValueAutocompleteProps", + "text": "UseFieldValueAutocompleteProps" + } + ], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.GetGenericComboBoxPropsReturn", + "type": "Interface", + "tags": [], + "label": "GetGenericComboBoxPropsReturn", + "description": [], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.GetGenericComboBoxPropsReturn.comboOptions", + "type": "Array", + "tags": [], + "label": "comboOptions", + "description": [], + "signature": [ + "EuiComboBoxOptionOption", + "[]" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.GetGenericComboBoxPropsReturn.labels", + "type": "Array", + "tags": [], + "label": "labels", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.GetGenericComboBoxPropsReturn.selectedComboOptions", + "type": "Array", + "tags": [], + "label": "selectedComboOptions", + "description": [], + "signature": [ + "EuiComboBoxOptionOption", + "[]" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/get_generic_combo_box_props/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.UseFieldValueAutocompleteProps", + "type": "Interface", + "tags": [], + "label": "UseFieldValueAutocompleteProps", + "description": [], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.UseFieldValueAutocompleteProps.autocompleteService", + "type": "Any", + "tags": [], + "label": "autocompleteService", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.UseFieldValueAutocompleteProps.fieldValue", + "type": "CompoundType", + "tags": [], + "label": "fieldValue", + "description": [], + "signature": [ + "string | string[] | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.UseFieldValueAutocompleteProps.indexPattern", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.UseFieldValueAutocompleteProps.operatorType", + "type": "Enum", + "tags": [], + "label": "operatorType", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + } + ], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.UseFieldValueAutocompleteProps.query", + "type": "string", + "tags": [], + "label": "query", + "description": [], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.UseFieldValueAutocompleteProps.selectedField", + "type": "Object", + "tags": [], + "label": "selectedField", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/securitysolution-autocomplete", + "id": "def-common.UseFieldValueAutocompleteReturn", + "type": "Type", + "tags": [], + "label": "UseFieldValueAutocompleteReturn", + "description": [], + "signature": [ + "[boolean, boolean, string[], Func | null]" + ], + "path": "packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_autocomplete.mdx b/api_docs/kbn_securitysolution_autocomplete.mdx new file mode 100644 index 0000000000000..ffc5b4923f31c --- /dev/null +++ b/api_docs/kbn_securitysolution_autocomplete.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnSecuritysolutionAutocompletePluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-autocomplete +title: "@kbn/securitysolution-autocomplete" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-autocomplete plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-autocomplete'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionAutocompleteObj from './kbn_securitysolution_autocomplete.json'; + +Security Solution auto complete + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 47 | 1 | 34 | 0 | + +## Common + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_es_utils.json b/api_docs/kbn_securitysolution_es_utils.json new file mode 100644 index 0000000000000..680d6993530dd --- /dev/null +++ b/api_docs/kbn_securitysolution_es_utils.json @@ -0,0 +1,8372 @@ +{ + "id": "@kbn/securitysolution-es-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.BadRequestError", + "type": "Class", + "tags": [], + "label": "BadRequestError", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-es-utils", + "scope": "server", + "docId": "kibKbnSecuritysolutionEsUtilsPluginApi", + "section": "def-server.BadRequestError", + "text": "BadRequestError" + }, + " extends Error" + ], + "path": "packages/kbn-securitysolution-es-utils/src/bad_request_error/index.ts", + "deprecated": false, + "children": [], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.createBootstrapIndex", + "type": "Function", + "tags": [], + "label": "createBootstrapIndex", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, index: string) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/create_boostrap_index/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.createBootstrapIndex.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/create_boostrap_index/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.createBootstrapIndex.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/create_boostrap_index/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.decodeVersion", + "type": "Function", + "tags": [], + "label": "decodeVersion", + "description": [], + "signature": [ + "(version: string | undefined) => {} | { ifSeqNo: number; ifPrimaryTerm: number; }" + ], + "path": "packages/kbn-securitysolution-es-utils/src/decode_version/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.decodeVersion.$1", + "type": "string", + "tags": [], + "label": "version", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-es-utils/src/decode_version/index.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deleteAllIndex", + "type": "Function", + "tags": [], + "label": "deleteAllIndex", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, pattern: string, maxAttempts?: number) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_all_index/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deleteAllIndex.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_all_index/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deleteAllIndex.$2", + "type": "string", + "tags": [], + "label": "pattern", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_all_index/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deleteAllIndex.$3", + "type": "number", + "tags": [], + "label": "maxAttempts", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_all_index/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deletePolicy", + "type": "Function", + "tags": [], + "label": "deletePolicy", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, policy: string) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_policy/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deletePolicy.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_policy/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deletePolicy.$2", + "type": "string", + "tags": [], + "label": "policy", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_policy/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deleteTemplate", + "type": "Function", + "tags": [], + "label": "deleteTemplate", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, name: string) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_template/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deleteTemplate.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_template/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.deleteTemplate.$2", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/delete_template/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.encodeHitVersion", + "type": "Function", + "tags": [], + "label": "encodeHitVersion", + "description": [ + "\nVery similar to the encode_hit_version from saved object system from here:\nsrc/core/server/saved_objects/version/encode_hit_version.ts\n\nwith the most notably change is that it doesn't do any throws but rather just returns undefined\nif _seq_no or _primary_term does not exist." + ], + "signature": [ + "(hit: T) => string | undefined" + ], + "path": "packages/kbn-securitysolution-es-utils/src/encode_hit_version/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.encodeHitVersion.$1", + "type": "Uncategorized", + "tags": [], + "label": "hit", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-securitysolution-es-utils/src/encode_hit_version/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexAliases", + "type": "Function", + "tags": [], + "label": "getIndexAliases", + "description": [ + "\nRetrieves all index aliases for a given alias name\n" + ], + "signature": [ + "({ esClient, alias, }: { esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">; alias: string; }) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_aliases/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexAliases.$1", + "type": "Object", + "tags": [], + "label": "{\n esClient,\n alias,\n}", + "description": [], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_aliases/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexAliases.$1.esClient", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "{ get: (params: ", + "GetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GetResponse", + ", TContext>>; delete: (params: ", + "DeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "DeleteResponse", + ", TContext>>; monitoring: { bulk(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; security: { authenticate(params?: ", + "SecurityAuthenticateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityAuthenticateResponse", + ", TContext>>; changePassword(params?: ", + "SecurityChangePasswordRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityChangePasswordResponse", + ", TContext>>; clearApiKeyCache(params?: ", + "SecurityClearApiKeyCacheRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearApiKeyCacheResponse", + ", TContext>>; clearCachedPrivileges(params: ", + "SecurityClearCachedPrivilegesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearCachedPrivilegesResponse", + ", TContext>>; clearCachedRealms(params: ", + "SecurityClearCachedRealmsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearCachedRealmsResponse", + ", TContext>>; clearCachedRoles(params: ", + "SecurityClearCachedRolesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearCachedRolesResponse", + ", TContext>>; clearCachedServiceTokens(params: ", + "SecurityClearCachedServiceTokensRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearCachedServiceTokensResponse", + ", TContext>>; createApiKey(params?: ", + "SecurityCreateApiKeyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityCreateApiKeyResponse", + ", TContext>>; createServiceToken(params: ", + "SecurityCreateServiceTokenRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityCreateServiceTokenResponse", + ", TContext>>; deletePrivileges(params: ", + "SecurityDeletePrivilegesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeletePrivilegesResponse", + ", TContext>>; deleteRole(params: ", + "SecurityDeleteRoleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeleteRoleResponse", + ", TContext>>; deleteRoleMapping(params: ", + "SecurityDeleteRoleMappingRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeleteRoleMappingResponse", + ", TContext>>; deleteServiceToken(params: ", + "SecurityDeleteServiceTokenRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeleteServiceTokenResponse", + ", TContext>>; deleteUser(params: ", + "SecurityDeleteUserRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeleteUserResponse", + ", TContext>>; disableUser(params: ", + "SecurityDisableUserRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDisableUserResponse", + ", TContext>>; enableUser(params: ", + "SecurityEnableUserRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityEnableUserResponse", + ", TContext>>; getApiKey(params?: ", + "SecurityGetApiKeyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetApiKeyResponse", + ", TContext>>; getBuiltinPrivileges(params?: ", + "SecurityGetBuiltinPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetBuiltinPrivilegesResponse", + ", TContext>>; getPrivileges(params?: ", + "SecurityGetPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetPrivilegesResponse", + ", TContext>>; getRole(params?: ", + "SecurityGetRoleRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetRoleResponse", + ", TContext>>; getRoleMapping(params?: ", + "SecurityGetRoleMappingRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetRoleMappingResponse", + ", TContext>>; getServiceAccounts(params?: ", + "SecurityGetServiceAccountsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetServiceAccountsResponse", + ", TContext>>; getServiceCredentials(params: ", + "SecurityGetServiceCredentialsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetServiceCredentialsResponse", + ", TContext>>; getToken(params?: ", + "SecurityGetTokenRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetTokenResponse", + ", TContext>>; getUser(params?: ", + "SecurityGetUserRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetUserResponse", + ", TContext>>; getUserPrivileges(params?: ", + "SecurityGetUserPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetUserPrivilegesResponse", + ", TContext>>; grantApiKey(params?: ", + "SecurityGrantApiKeyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGrantApiKeyResponse", + ", TContext>>; hasPrivileges(params?: ", + "SecurityHasPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityHasPrivilegesResponse", + ", TContext>>; invalidateApiKey(params?: ", + "SecurityInvalidateApiKeyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityInvalidateApiKeyResponse", + ", TContext>>; invalidateToken(params?: ", + "SecurityInvalidateTokenRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityInvalidateTokenResponse", + ", TContext>>; putPrivileges(params?: ", + "SecurityPutPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityPutPrivilegesResponse", + ", TContext>>; putRole(params: ", + "SecurityPutRoleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityPutRoleResponse", + ", TContext>>; putRoleMapping(params: ", + "SecurityPutRoleMappingRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityPutRoleMappingResponse", + ", TContext>>; putUser(params: ", + "SecurityPutUserRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityPutUserResponse", + ", TContext>>; samlAuthenticate(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlCompleteLogout(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlInvalidate(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlLogout(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlPrepareAuthentication(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlServiceProviderMetadata(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; create: (params: ", + "CreateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CreateResponse", + ", TContext>>; index: (params: ", + "IndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndexResponse", + ", TContext>>; update: (params: ", + "UpdateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "UpdateResponse", + ", TContext>>; closePointInTime: (params?: ", + "ClosePointInTimeRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClosePointInTimeResponse", + ", TContext>>; search: (params?: ", + "SearchRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SearchResponse", + ", TContext>>; transform: { deleteTransform(params: ", + "TransformDeleteTransformRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformDeleteTransformResponse", + ", TContext>>; getTransform(params?: ", + "TransformGetTransformRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformGetTransformResponse", + ", TContext>>; getTransformStats(params: ", + "TransformGetTransformStatsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformGetTransformStatsResponse", + ", TContext>>; previewTransform(params?: ", + "TransformPreviewTransformRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformPreviewTransformResponse", + ", TContext>>; putTransform(params: ", + "TransformPutTransformRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformPutTransformResponse", + ", TContext>>; startTransform(params: ", + "TransformStartTransformRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformStartTransformResponse", + ", TContext>>; stopTransform(params: ", + "TransformStopTransformRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformStopTransformResponse", + ", TContext>>; updateTransform(params?: ", + "TransformUpdateTransformRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformUpdateTransformResponse", + ", TContext>>; }; eql: { delete(params: ", + "EqlDeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EqlDeleteResponse", + ", TContext>>; get(params: ", + "EqlGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EqlGetResponse", + ", TContext>>; getStatus(params: ", + "EqlGetStatusRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EqlGetStatusResponse", + ", TContext>>; search(params: ", + "EqlSearchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EqlSearchResponse", + ", TContext>>; }; helpers: ", + "default", + "; emit: (event: string | symbol, ...args: any[]) => boolean; on: { (event: \"request\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"response\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"sniff\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"resurrect\", listener: (err: null, meta: ", + "ResurrectEvent", + ") => void): ", + "KibanaClient", + "; }; once: { (event: \"request\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"response\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"sniff\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"resurrect\", listener: (err: null, meta: ", + "ResurrectEvent", + ") => void): ", + "KibanaClient", + "; }; off: (event: string | symbol, listener: (...args: any[]) => void) => ", + "KibanaClient", + "; asyncSearch: { delete(params: ", + "AsyncSearchDeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "AsyncSearchDeleteResponse", + ", TContext>>; get(params: ", + "AsyncSearchGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "AsyncSearchGetResponse", + ", TContext>>; status(params: ", + "AsyncSearchStatusRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "AsyncSearchStatusResponse", + ", TContext>>; submit(params?: ", + "AsyncSearchSubmitRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "AsyncSearchSubmitResponse", + ", TContext>>; }; autoscaling: { deleteAutoscalingPolicy(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getAutoscalingCapacity(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getAutoscalingPolicy(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putAutoscalingPolicy(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; bulk: (params: ", + "BulkRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "BulkResponse", + ", TContext>>; cat: { aliases(params?: ", + "CatAliasesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatAliasesResponse", + ", TContext>>; allocation(params?: ", + "CatAllocationRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatAllocationResponse", + ", TContext>>; count(params?: ", + "CatCountRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatCountResponse", + ", TContext>>; fielddata(params?: ", + "CatFielddataRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatFielddataResponse", + ", TContext>>; health(params?: ", + "CatHealthRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatHealthResponse", + ", TContext>>; help(params?: ", + "CatHelpRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatHelpResponse", + ", TContext>>; indices(params?: ", + "CatIndicesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatIndicesResponse", + ", TContext>>; master(params?: ", + "CatMasterRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatMasterResponse", + ", TContext>>; mlDataFrameAnalytics(params?: ", + "CatDataFrameAnalyticsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatDataFrameAnalyticsResponse", + ", TContext>>; mlDatafeeds(params?: ", + "CatDatafeedsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatDatafeedsResponse", + ", TContext>>; mlJobs(params?: ", + "CatJobsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatJobsResponse", + ", TContext>>; mlTrainedModels(params?: ", + "CatTrainedModelsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatTrainedModelsResponse", + ", TContext>>; nodeattrs(params?: ", + "CatNodeAttributesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatNodeAttributesResponse", + ", TContext>>; nodes(params?: ", + "CatNodesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatNodesResponse", + ", TContext>>; pendingTasks(params?: ", + "CatPendingTasksRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatPendingTasksResponse", + ", TContext>>; plugins(params?: ", + "CatPluginsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatPluginsResponse", + ", TContext>>; recovery(params?: ", + "CatRecoveryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatRecoveryResponse", + ", TContext>>; repositories(params?: ", + "CatRepositoriesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatRepositoriesResponse", + ", TContext>>; segments(params?: ", + "CatSegmentsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatSegmentsResponse", + ", TContext>>; shards(params?: ", + "CatShardsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatShardsResponse", + ", TContext>>; snapshots(params?: ", + "CatSnapshotsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatSnapshotsResponse", + ", TContext>>; tasks(params?: ", + "CatTasksRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatTasksResponse", + ", TContext>>; templates(params?: ", + "CatTemplatesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatTemplatesResponse", + ", TContext>>; threadPool(params?: ", + "CatThreadPoolRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatThreadPoolResponse", + ", TContext>>; transforms(params?: ", + "CatTransformsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatTransformsResponse", + ", TContext>>; }; ccr: { deleteAutoFollowPattern(params: ", + "CcrDeleteAutoFollowPatternRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrDeleteAutoFollowPatternResponse", + ", TContext>>; follow(params: ", + "CcrCreateFollowIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrCreateFollowIndexResponse", + ", TContext>>; followInfo(params: ", + "CcrFollowInfoRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrFollowInfoResponse", + ", TContext>>; followStats(params: ", + "CcrFollowIndexStatsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrFollowIndexStatsResponse", + ", TContext>>; forgetFollower(params: ", + "CcrForgetFollowerIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrForgetFollowerIndexResponse", + ", TContext>>; getAutoFollowPattern(params?: ", + "CcrGetAutoFollowPatternRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrGetAutoFollowPatternResponse", + ", TContext>>; pauseAutoFollowPattern(params: ", + "CcrPauseAutoFollowPatternRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrPauseAutoFollowPatternResponse", + ", TContext>>; pauseFollow(params: ", + "CcrPauseFollowIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrPauseFollowIndexResponse", + ", TContext>>; putAutoFollowPattern(params: ", + "CcrPutAutoFollowPatternRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrPutAutoFollowPatternResponse", + ", TContext>>; resumeAutoFollowPattern(params: ", + "CcrResumeAutoFollowPatternRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrResumeAutoFollowPatternResponse", + ", TContext>>; resumeFollow(params: ", + "CcrResumeFollowIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrResumeFollowIndexResponse", + ", TContext>>; stats(params?: ", + "CcrStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrStatsResponse", + ", TContext>>; unfollow(params: ", + "CcrUnfollowIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrUnfollowIndexResponse", + ", TContext>>; }; clearScroll: (params?: ", + "ClearScrollRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClearScrollResponse", + ", TContext>>; cluster: { allocationExplain(params?: ", + "ClusterAllocationExplainRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterAllocationExplainResponse", + ", TContext>>; deleteComponentTemplate(params: ", + "ClusterDeleteComponentTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterDeleteComponentTemplateResponse", + ", TContext>>; deleteVotingConfigExclusions(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; existsComponentTemplate(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getComponentTemplate(params?: ", + "ClusterGetComponentTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterGetComponentTemplateResponse", + ", TContext>>; getSettings(params?: ", + "ClusterGetSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterGetSettingsResponse", + ", TContext>>; health(params?: ", + "ClusterHealthRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterHealthResponse", + ", TContext>>; pendingTasks(params?: ", + "ClusterPendingTasksRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterPendingTasksResponse", + ", TContext>>; postVotingConfigExclusions(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putComponentTemplate(params: ", + "ClusterPutComponentTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterPutComponentTemplateResponse", + ", TContext>>; putSettings(params?: ", + "ClusterPutSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterPutSettingsResponse", + ", TContext>>; remoteInfo(params?: ", + "ClusterRemoteInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterRemoteInfoResponse", + ", TContext>>; reroute(params?: ", + "ClusterRerouteRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterRerouteResponse", + ", TContext>>; state(params?: ", + "ClusterStateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterStateResponse", + ", TContext>>; stats(params?: ", + "ClusterStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterStatsResponse", + ", TContext>>; }; count: (params?: ", + "CountRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CountResponse", + ", TContext>>; danglingIndices: { deleteDanglingIndex(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; importDanglingIndex(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; listDanglingIndices(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; dataFrameTransformDeprecated: { deleteTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getTransformStats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; previewTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; startTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; stopTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; updateTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; deleteByQuery: (params: ", + "DeleteByQueryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "DeleteByQueryResponse", + ", TContext>>; deleteByQueryRethrottle: (params: ", + "DeleteByQueryRethrottleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "DeleteByQueryRethrottleResponse", + ", TContext>>; deleteScript: (params: ", + "DeleteScriptRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "DeleteScriptResponse", + ", TContext>>; enrich: { deletePolicy(params: ", + "EnrichDeletePolicyRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichDeletePolicyResponse", + ", TContext>>; executePolicy(params: ", + "EnrichExecutePolicyRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichExecutePolicyResponse", + ", TContext>>; getPolicy(params?: ", + "EnrichGetPolicyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichGetPolicyResponse", + ", TContext>>; putPolicy(params: ", + "EnrichPutPolicyRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichPutPolicyResponse", + ", TContext>>; stats(params?: ", + "EnrichStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichStatsResponse", + ", TContext>>; }; exists: (params: ", + "ExistsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsSource: (params: ", + "ExistsSourceRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; explain: (params: ", + "ExplainRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ExplainResponse", + ", TContext>>; features: { getFeatures(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; resetFeatures(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; fieldCaps: (params?: ", + "FieldCapsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "FieldCapsResponse", + ", TContext>>; fleet: { globalCheckpoints(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; getScript: (params: ", + "GetScriptRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GetScriptResponse", + ", TContext>>; getScriptContext: (params?: ", + "GetScriptContextRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GetScriptContextResponse", + ", TContext>>; getScriptLanguages: (params?: ", + "GetScriptLanguagesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GetScriptLanguagesResponse", + ", TContext>>; getSource: (params?: ", + "GetSourceRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; graph: { explore(params: ", + "GraphExploreRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GraphExploreResponse", + ", TContext>>; }; ilm: { deleteLifecycle(params: ", + "IlmDeleteLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmDeleteLifecycleResponse", + ", TContext>>; explainLifecycle(params: ", + "IlmExplainLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmExplainLifecycleResponse", + ", TContext>>; getLifecycle(params?: ", + "IlmGetLifecycleRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmGetLifecycleResponse", + ", TContext>>; getStatus(params?: ", + "IlmGetStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmGetStatusResponse", + ", TContext>>; migrateToDataTiers(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; moveToStep(params: ", + "IlmMoveToStepRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmMoveToStepResponse", + ", TContext>>; putLifecycle(params?: ", + "IlmPutLifecycleRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmPutLifecycleResponse", + ", TContext>>; removePolicy(params: ", + "IlmRemovePolicyRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmRemovePolicyResponse", + ", TContext>>; retry(params: ", + "IlmRetryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmRetryResponse", + ", TContext>>; start(params?: ", + "IlmStartRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmStartResponse", + ", TContext>>; stop(params?: ", + "IlmStopRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmStopResponse", + ", TContext>>; }; indices: { addBlock(params: ", + "IndicesAddBlockRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesAddBlockResponse", + ", TContext>>; analyze(params?: ", + "IndicesAnalyzeRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesAnalyzeResponse", + ", TContext>>; clearCache(params?: ", + "IndicesClearCacheRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesClearCacheResponse", + ", TContext>>; clone(params: ", + "IndicesCloneRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesCloneResponse", + ", TContext>>; close(params: ", + "IndicesCloseRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesCloseResponse", + ", TContext>>; create(params: ", + "IndicesCreateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesCreateResponse", + ", TContext>>; createDataStream(params: ", + "IndicesCreateDataStreamRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesCreateDataStreamResponse", + ", TContext>>; dataStreamsStats(params?: ", + "IndicesDataStreamsStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDataStreamsStatsResponse", + ", TContext>>; delete(params: ", + "IndicesDeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteResponse", + ", TContext>>; deleteAlias(params: ", + "IndicesDeleteAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteAliasResponse", + ", TContext>>; deleteDataStream(params: ", + "IndicesDeleteDataStreamRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteDataStreamResponse", + ", TContext>>; deleteIndexTemplate(params: ", + "IndicesDeleteIndexTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteIndexTemplateResponse", + ", TContext>>; deleteTemplate(params: ", + "IndicesDeleteTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteTemplateResponse", + ", TContext>>; diskUsage(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; exists(params: ", + "IndicesExistsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsAlias(params: ", + "IndicesExistsAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsIndexTemplate(params: ", + "IndicesExistsIndexTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsTemplate(params: ", + "IndicesExistsTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsType(params: ", + "IndicesExistsTypeRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; fieldUsageStats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; flush(params?: ", + "IndicesFlushRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesFlushResponse", + ", TContext>>; flushSynced(params?: ", + "IndicesFlushSyncedRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesFlushSyncedResponse", + ", TContext>>; forcemerge(params?: ", + "IndicesForcemergeRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesForcemergeResponse", + ", TContext>>; freeze(params: ", + "IndicesFreezeRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesFreezeResponse", + ", TContext>>; get(params: ", + "IndicesGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetResponse", + ", TContext>>; getAlias(params?: ", + "IndicesGetAliasRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetAliasResponse", + ", TContext>>; getDataStream(params?: ", + "IndicesGetDataStreamRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetDataStreamResponse", + ", TContext>>; getFieldMapping(params: ", + "IndicesGetFieldMappingRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetFieldMappingResponse", + ", TContext>>; getIndexTemplate(params?: ", + "IndicesGetIndexTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetIndexTemplateResponse", + ", TContext>>; getMapping(params?: ", + "IndicesGetMappingRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetMappingResponse", + ", TContext>>; getSettings(params?: ", + "IndicesGetSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetSettingsResponse", + ", TContext>>; getTemplate(params?: ", + "IndicesGetTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetTemplateResponse", + ", TContext>>; getUpgrade(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; migrateToDataStream(params: ", + "IndicesMigrateToDataStreamRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesMigrateToDataStreamResponse", + ", TContext>>; open(params: ", + "IndicesOpenRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesOpenResponse", + ", TContext>>; promoteDataStream(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putAlias(params: ", + "IndicesPutAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutAliasResponse", + ", TContext>>; putIndexTemplate(params: ", + "IndicesPutIndexTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutIndexTemplateResponse", + ", TContext>>; putMapping(params?: ", + "IndicesPutMappingRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutMappingResponse", + ", TContext>>; putSettings(params?: ", + "IndicesPutSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutSettingsResponse", + ", TContext>>; putTemplate(params: ", + "IndicesPutTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutTemplateResponse", + ", TContext>>; recovery(params?: ", + "IndicesRecoveryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesRecoveryResponse", + ", TContext>>; refresh(params?: ", + "IndicesRefreshRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesRefreshResponse", + ", TContext>>; reloadSearchAnalyzers(params: ", + "IndicesReloadSearchAnalyzersRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesReloadSearchAnalyzersResponse", + ", TContext>>; resolveIndex(params: ", + "IndicesResolveIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesResolveIndexResponse", + ", TContext>>; rollover(params: ", + "IndicesRolloverRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesRolloverResponse", + ", TContext>>; segments(params?: ", + "IndicesSegmentsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesSegmentsResponse", + ", TContext>>; shardStores(params?: ", + "IndicesShardStoresRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesShardStoresResponse", + ", TContext>>; shrink(params: ", + "IndicesShrinkRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesShrinkResponse", + ", TContext>>; simulateIndexTemplate(params?: ", + "IndicesSimulateIndexTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesSimulateIndexTemplateResponse", + ", TContext>>; simulateTemplate(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; split(params: ", + "IndicesSplitRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesSplitResponse", + ", TContext>>; stats(params?: ", + "IndicesStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesStatsResponse", + ", TContext>>; unfreeze(params: ", + "IndicesUnfreezeRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesUnfreezeResponse", + ", TContext>>; updateAliases(params?: ", + "IndicesUpdateAliasesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesUpdateAliasesResponse", + ", TContext>>; upgrade(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; validateQuery(params?: ", + "IndicesValidateQueryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesValidateQueryResponse", + ", TContext>>; }; info: (params?: ", + "InfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "InfoResponse", + ", TContext>>; ingest: { deletePipeline(params: ", + "IngestDeletePipelineRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestDeletePipelineResponse", + ", TContext>>; geoIpStats(params?: ", + "IngestGeoIpStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestGeoIpStatsResponse", + ", TContext>>; getPipeline(params?: ", + "IngestGetPipelineRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestGetPipelineResponse", + ", TContext>>; processorGrok(params?: ", + "IngestProcessorGrokRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestProcessorGrokResponse", + ", TContext>>; putPipeline(params: ", + "IngestPutPipelineRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestPutPipelineResponse", + ", TContext>>; simulate(params?: ", + "IngestSimulatePipelineRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestSimulatePipelineResponse", + ", TContext>>; }; license: { delete(params?: ", + "LicenseDeleteRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicenseDeleteResponse", + ", TContext>>; get(params?: ", + "LicenseGetRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicenseGetResponse", + ", TContext>>; getBasicStatus(params?: ", + "LicenseGetBasicStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicenseGetBasicStatusResponse", + ", TContext>>; getTrialStatus(params?: ", + "LicenseGetTrialStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicenseGetTrialStatusResponse", + ", TContext>>; post(params?: ", + "LicensePostRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicensePostResponse", + ", TContext>>; postStartBasic(params?: ", + "LicensePostStartBasicRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicensePostStartBasicResponse", + ", TContext>>; postStartTrial(params?: ", + "LicensePostStartTrialRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicensePostStartTrialResponse", + ", TContext>>; }; logstash: { deletePipeline(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getPipeline(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putPipeline(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; mget: (params?: ", + "MgetRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MgetResponse", + ", TContext>>; migration: { deprecations(params?: ", + "MigrationDeprecationInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MigrationDeprecationInfoResponse", + ", TContext>>; }; ml: { closeJob(params: ", + "MlCloseJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlCloseJobResponse", + ", TContext>>; deleteCalendar(params: ", + "MlDeleteCalendarRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteCalendarResponse", + ", TContext>>; deleteCalendarEvent(params: ", + "MlDeleteCalendarEventRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteCalendarEventResponse", + ", TContext>>; deleteCalendarJob(params: ", + "MlDeleteCalendarJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteCalendarJobResponse", + ", TContext>>; deleteDataFrameAnalytics(params: ", + "MlDeleteDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteDataFrameAnalyticsResponse", + ", TContext>>; deleteDatafeed(params: ", + "MlDeleteDatafeedRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteDatafeedResponse", + ", TContext>>; deleteExpiredData(params?: ", + "MlDeleteExpiredDataRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteExpiredDataResponse", + ", TContext>>; deleteFilter(params: ", + "MlDeleteFilterRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteFilterResponse", + ", TContext>>; deleteForecast(params: ", + "MlDeleteForecastRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteForecastResponse", + ", TContext>>; deleteJob(params: ", + "MlDeleteJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteJobResponse", + ", TContext>>; deleteModelSnapshot(params: ", + "MlDeleteModelSnapshotRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteModelSnapshotResponse", + ", TContext>>; deleteTrainedModel(params: ", + "MlDeleteTrainedModelRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteTrainedModelResponse", + ", TContext>>; deleteTrainedModelAlias(params: ", + "MlDeleteTrainedModelAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteTrainedModelAliasResponse", + ", TContext>>; estimateModelMemory(params?: ", + "MlEstimateModelMemoryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlEstimateModelMemoryResponse", + ", TContext>>; evaluateDataFrame(params?: ", + "MlEvaluateDataFrameRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlEvaluateDataFrameResponse", + ", TContext>>; explainDataFrameAnalytics(params?: ", + "MlExplainDataFrameAnalyticsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlExplainDataFrameAnalyticsResponse", + ", TContext>>; findFileStructure(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; flushJob(params: ", + "MlFlushJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlFlushJobResponse", + ", TContext>>; forecast(params: ", + "MlForecastJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlForecastJobResponse", + ", TContext>>; getBuckets(params: ", + "MlGetBucketsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetBucketsResponse", + ", TContext>>; getCalendarEvents(params: ", + "MlGetCalendarEventsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetCalendarEventsResponse", + ", TContext>>; getCalendars(params?: ", + "MlGetCalendarsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetCalendarsResponse", + ", TContext>>; getCategories(params: ", + "MlGetCategoriesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetCategoriesResponse", + ", TContext>>; getDataFrameAnalytics(params?: ", + "MlGetDataFrameAnalyticsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetDataFrameAnalyticsResponse", + ", TContext>>; getDataFrameAnalyticsStats(params?: ", + "MlGetDataFrameAnalyticsStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetDataFrameAnalyticsStatsResponse", + ", TContext>>; getDatafeedStats(params?: ", + "MlGetDatafeedStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetDatafeedStatsResponse", + ", TContext>>; getDatafeeds(params?: ", + "MlGetDatafeedsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetDatafeedsResponse", + ", TContext>>; getFilters(params?: ", + "MlGetFiltersRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetFiltersResponse", + ", TContext>>; getInfluencers(params: ", + "MlGetInfluencersRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetInfluencersResponse", + ", TContext>>; getJobStats(params?: ", + "MlGetJobStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetJobStatsResponse", + ", TContext>>; getJobs(params?: ", + "MlGetJobsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetJobsResponse", + ", TContext>>; getModelSnapshots(params: ", + "MlGetModelSnapshotsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetModelSnapshotsResponse", + ", TContext>>; getOverallBuckets(params: ", + "MlGetOverallBucketsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetOverallBucketsResponse", + ", TContext>>; getRecords(params: ", + "MlGetAnomalyRecordsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetAnomalyRecordsResponse", + ", TContext>>; getTrainedModels(params?: ", + "MlGetTrainedModelsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetTrainedModelsResponse", + ", TContext>>; getTrainedModelsStats(params?: ", + "MlGetTrainedModelsStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetTrainedModelsStatsResponse", + ", TContext>>; info(params?: ", + "MlInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlInfoResponse", + ", TContext>>; openJob(params: ", + "MlOpenJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlOpenJobResponse", + ", TContext>>; postCalendarEvents(params?: ", + "MlPostCalendarEventsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPostCalendarEventsResponse", + ", TContext>>; postData(params: ", + "MlPostJobDataRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPostJobDataResponse", + ", TContext>>; previewDataFrameAnalytics(params?: ", + "MlPreviewDataFrameAnalyticsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPreviewDataFrameAnalyticsResponse", + ", TContext>>; previewDatafeed(params?: ", + "MlPreviewDatafeedRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPreviewDatafeedResponse", + ", TContext>>; putCalendar(params: ", + "MlPutCalendarRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutCalendarResponse", + ", TContext>>; putCalendarJob(params: ", + "MlPutCalendarJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutCalendarJobResponse", + ", TContext>>; putDataFrameAnalytics(params: ", + "MlPutDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutDataFrameAnalyticsResponse", + ", TContext>>; putDatafeed(params: ", + "MlPutDatafeedRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutDatafeedResponse", + ", TContext>>; putFilter(params: ", + "MlPutFilterRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutFilterResponse", + ", TContext>>; putJob(params: ", + "MlPutJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutJobResponse", + ", TContext>>; putTrainedModel(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putTrainedModelAlias(params: ", + "MlPutTrainedModelAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutTrainedModelAliasResponse", + ", TContext>>; resetJob(params: ", + "MlResetJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlResetJobResponse", + ", TContext>>; revertModelSnapshot(params: ", + "MlRevertModelSnapshotRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlRevertModelSnapshotResponse", + ", TContext>>; setUpgradeMode(params?: ", + "MlSetUpgradeModeRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlSetUpgradeModeResponse", + ", TContext>>; startDataFrameAnalytics(params: ", + "MlStartDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlStartDataFrameAnalyticsResponse", + ", TContext>>; startDatafeed(params: ", + "MlStartDatafeedRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlStartDatafeedResponse", + ", TContext>>; stopDataFrameAnalytics(params: ", + "MlStopDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlStopDataFrameAnalyticsResponse", + ", TContext>>; stopDatafeed(params: ", + "MlStopDatafeedRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlStopDatafeedResponse", + ", TContext>>; updateDataFrameAnalytics(params: ", + "MlUpdateDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlUpdateDataFrameAnalyticsResponse", + ", TContext>>; updateDatafeed(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; updateFilter(params: ", + "MlUpdateFilterRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlUpdateFilterResponse", + ", TContext>>; updateJob(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; updateModelSnapshot(params: ", + "MlUpdateModelSnapshotRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlUpdateModelSnapshotResponse", + ", TContext>>; upgradeJobSnapshot(params: ", + "MlUpgradeJobSnapshotRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlUpgradeJobSnapshotResponse", + ", TContext>>; validate(params?: ", + "MlValidateJobRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlValidateJobResponse", + ", TContext>>; validateDetector(params?: ", + "MlValidateDetectorRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlValidateDetectorResponse", + ", TContext>>; }; msearch: (params?: ", + "MsearchRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MsearchResponse", + ", TContext>>; msearchTemplate: (params?: ", + "MsearchTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MsearchTemplateResponse", + ", TContext>>; mtermvectors: (params?: ", + "MtermvectorsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MtermvectorsResponse", + ", TContext>>; nodes: { clearMeteringArchive(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getMeteringInfo(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; hotThreads(params?: ", + "NodesHotThreadsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesHotThreadsResponse", + ", TContext>>; info(params?: ", + "NodesInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesInfoResponse", + ", TContext>>; reloadSecureSettings(params?: ", + "NodesReloadSecureSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesReloadSecureSettingsResponse", + ", TContext>>; stats(params?: ", + "NodesStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesStatsResponse", + ", TContext>>; usage(params?: ", + "NodesUsageRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesUsageResponse", + ", TContext>>; }; openPointInTime: (params: ", + "OpenPointInTimeRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "OpenPointInTimeResponse", + ", TContext>>; ping: (params?: ", + "PingRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; putScript: (params: ", + "PutScriptRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "PutScriptResponse", + ", TContext>>; rankEval: (params: ", + "RankEvalRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RankEvalResponse", + ", TContext>>; reindex: (params?: ", + "ReindexRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ReindexResponse", + ", TContext>>; reindexRethrottle: (params: ", + "ReindexRethrottleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ReindexRethrottleResponse", + ", TContext>>; renderSearchTemplate: (params?: ", + "RenderSearchTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RenderSearchTemplateResponse", + ", TContext>>; rollup: { deleteJob(params: ", + "RollupDeleteRollupJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupDeleteRollupJobResponse", + ", TContext>>; getJobs(params?: ", + "RollupGetRollupJobRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupGetRollupJobResponse", + ", TContext>>; getRollupCaps(params?: ", + "RollupGetRollupCapabilitiesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupGetRollupCapabilitiesResponse", + ", TContext>>; getRollupIndexCaps(params: ", + "RollupGetRollupIndexCapabilitiesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupGetRollupIndexCapabilitiesResponse", + ", TContext>>; putJob(params: ", + "RollupCreateRollupJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupCreateRollupJobResponse", + ", TContext>>; rollup(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; rollupSearch(params: ", + "RollupRollupSearchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupRollupSearchResponse", + ", TContext>>; startJob(params: ", + "RollupStartRollupJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupStartRollupJobResponse", + ", TContext>>; stopJob(params: ", + "RollupStopRollupJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupStopRollupJobResponse", + ", TContext>>; }; scriptsPainlessExecute: (params?: ", + "ScriptsPainlessExecuteRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ScriptsPainlessExecuteResponse", + ", TContext>>; scroll: (params?: ", + "ScrollRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ScrollResponse", + ", TContext>>; searchShards: (params?: ", + "SearchShardsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SearchShardsResponse", + ", TContext>>; searchTemplate: (params?: ", + "SearchTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SearchTemplateResponse", + ", TContext>>; searchableSnapshots: { cacheStats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; clearCache(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; mount(params: ", + "SearchableSnapshotsMountRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SearchableSnapshotsMountResponse", + ", TContext>>; repositoryStats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; stats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; shutdown: { deleteNode(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getNode(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putNode(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; slm: { deleteLifecycle(params: ", + "SlmDeleteLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmDeleteLifecycleResponse", + ", TContext>>; executeLifecycle(params: ", + "SlmExecuteLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmExecuteLifecycleResponse", + ", TContext>>; executeRetention(params?: ", + "SlmExecuteRetentionRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmExecuteRetentionResponse", + ", TContext>>; getLifecycle(params?: ", + "SlmGetLifecycleRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmGetLifecycleResponse", + ", TContext>>; getStats(params?: ", + "SlmGetStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmGetStatsResponse", + ", TContext>>; getStatus(params?: ", + "SlmGetStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmGetStatusResponse", + ", TContext>>; putLifecycle(params: ", + "SlmPutLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmPutLifecycleResponse", + ", TContext>>; start(params?: ", + "SlmStartRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmStartResponse", + ", TContext>>; stop(params?: ", + "SlmStopRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmStopResponse", + ", TContext>>; }; snapshot: { cleanupRepository(params: ", + "SnapshotCleanupRepositoryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotCleanupRepositoryResponse", + ", TContext>>; clone(params: ", + "SnapshotCloneRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotCloneResponse", + ", TContext>>; create(params: ", + "SnapshotCreateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotCreateResponse", + ", TContext>>; createRepository(params: ", + "SnapshotCreateRepositoryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotCreateRepositoryResponse", + ", TContext>>; delete(params: ", + "SnapshotDeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotDeleteResponse", + ", TContext>>; deleteRepository(params: ", + "SnapshotDeleteRepositoryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotDeleteRepositoryResponse", + ", TContext>>; get(params: ", + "SnapshotGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotGetResponse", + ", TContext>>; getRepository(params?: ", + "SnapshotGetRepositoryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotGetRepositoryResponse", + ", TContext>>; repositoryAnalyze(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; restore(params: ", + "SnapshotRestoreRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotRestoreResponse", + ", TContext>>; status(params?: ", + "SnapshotStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotStatusResponse", + ", TContext>>; verifyRepository(params: ", + "SnapshotVerifyRepositoryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotVerifyRepositoryResponse", + ", TContext>>; }; sql: { clearCursor(params?: ", + "SqlClearCursorRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SqlClearCursorResponse", + ", TContext>>; deleteAsync(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getAsync(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getAsyncStatus(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; query(params?: ", + "SqlQueryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SqlQueryResponse", + ", TContext>>; translate(params?: ", + "SqlTranslateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SqlTranslateResponse", + ", TContext>>; }; ssl: { certificates(params?: ", + "SslGetCertificatesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SslGetCertificatesResponse", + ", TContext>>; }; tasks: { cancel(params?: ", + "TaskCancelRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TaskCancelResponse", + ", TContext>>; get(params: ", + "TaskGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TaskGetResponse", + ", TContext>>; list(params?: ", + "TaskListRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TaskListResponse", + ", TContext>>; }; termsEnum: (params: ", + "TermsEnumRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TermsEnumResponse", + ", TContext>>; termvectors: (params: ", + "TermvectorsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TermvectorsResponse", + ", TContext>>; textStructure: { findStructure(params: ", + "TextStructureFindStructureRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TextStructureFindStructureResponse", + ", TContext>>; }; updateByQuery: (params: ", + "UpdateByQueryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "UpdateByQueryResponse", + ", TContext>>; updateByQueryRethrottle: (params: ", + "UpdateByQueryRethrottleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "UpdateByQueryRethrottleResponse", + ", TContext>>; watcher: { ackWatch(params: ", + "WatcherAckWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherAckWatchResponse", + ", TContext>>; activateWatch(params: ", + "WatcherActivateWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherActivateWatchResponse", + ", TContext>>; deactivateWatch(params: ", + "WatcherDeactivateWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherDeactivateWatchResponse", + ", TContext>>; deleteWatch(params: ", + "WatcherDeleteWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherDeleteWatchResponse", + ", TContext>>; executeWatch(params?: ", + "WatcherExecuteWatchRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherExecuteWatchResponse", + ", TContext>>; getWatch(params: ", + "WatcherGetWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherGetWatchResponse", + ", TContext>>; putWatch(params: ", + "WatcherPutWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherPutWatchResponse", + ", TContext>>; queryWatches(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; start(params?: ", + "WatcherStartRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherStartResponse", + ", TContext>>; stats(params?: ", + "WatcherStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherStatsResponse", + ", TContext>>; stop(params?: ", + "WatcherStopRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherStopResponse", + ", TContext>>; }; xpack: { info(params?: ", + "XpackInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "XpackInfoResponse", + ", TContext>>; usage(params?: ", + "XpackUsageRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "XpackUsageResponse", + ", TContext>>; }; }" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_aliases/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexAliases.$1.alias", + "type": "string", + "tags": [], + "label": "alias", + "description": [], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_aliases/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [ + "an array of {@link IndexAlias} objects" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexCount", + "type": "Function", + "tags": [], + "label": "getIndexCount", + "description": [ + "\nRetrieves the count of documents in a given index\n" + ], + "signature": [ + "({ esClient, index, }: { esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">; index: string; }) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_count/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexCount.$1", + "type": "Object", + "tags": [], + "label": "{\n esClient,\n index,\n}", + "description": [], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_count/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexCount.$1.esClient", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "{ get: (params: ", + "GetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GetResponse", + ", TContext>>; delete: (params: ", + "DeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "DeleteResponse", + ", TContext>>; monitoring: { bulk(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; security: { authenticate(params?: ", + "SecurityAuthenticateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityAuthenticateResponse", + ", TContext>>; changePassword(params?: ", + "SecurityChangePasswordRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityChangePasswordResponse", + ", TContext>>; clearApiKeyCache(params?: ", + "SecurityClearApiKeyCacheRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearApiKeyCacheResponse", + ", TContext>>; clearCachedPrivileges(params: ", + "SecurityClearCachedPrivilegesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearCachedPrivilegesResponse", + ", TContext>>; clearCachedRealms(params: ", + "SecurityClearCachedRealmsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearCachedRealmsResponse", + ", TContext>>; clearCachedRoles(params: ", + "SecurityClearCachedRolesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearCachedRolesResponse", + ", TContext>>; clearCachedServiceTokens(params: ", + "SecurityClearCachedServiceTokensRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityClearCachedServiceTokensResponse", + ", TContext>>; createApiKey(params?: ", + "SecurityCreateApiKeyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityCreateApiKeyResponse", + ", TContext>>; createServiceToken(params: ", + "SecurityCreateServiceTokenRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityCreateServiceTokenResponse", + ", TContext>>; deletePrivileges(params: ", + "SecurityDeletePrivilegesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeletePrivilegesResponse", + ", TContext>>; deleteRole(params: ", + "SecurityDeleteRoleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeleteRoleResponse", + ", TContext>>; deleteRoleMapping(params: ", + "SecurityDeleteRoleMappingRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeleteRoleMappingResponse", + ", TContext>>; deleteServiceToken(params: ", + "SecurityDeleteServiceTokenRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeleteServiceTokenResponse", + ", TContext>>; deleteUser(params: ", + "SecurityDeleteUserRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDeleteUserResponse", + ", TContext>>; disableUser(params: ", + "SecurityDisableUserRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityDisableUserResponse", + ", TContext>>; enableUser(params: ", + "SecurityEnableUserRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityEnableUserResponse", + ", TContext>>; getApiKey(params?: ", + "SecurityGetApiKeyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetApiKeyResponse", + ", TContext>>; getBuiltinPrivileges(params?: ", + "SecurityGetBuiltinPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetBuiltinPrivilegesResponse", + ", TContext>>; getPrivileges(params?: ", + "SecurityGetPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetPrivilegesResponse", + ", TContext>>; getRole(params?: ", + "SecurityGetRoleRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetRoleResponse", + ", TContext>>; getRoleMapping(params?: ", + "SecurityGetRoleMappingRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetRoleMappingResponse", + ", TContext>>; getServiceAccounts(params?: ", + "SecurityGetServiceAccountsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetServiceAccountsResponse", + ", TContext>>; getServiceCredentials(params: ", + "SecurityGetServiceCredentialsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetServiceCredentialsResponse", + ", TContext>>; getToken(params?: ", + "SecurityGetTokenRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetTokenResponse", + ", TContext>>; getUser(params?: ", + "SecurityGetUserRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetUserResponse", + ", TContext>>; getUserPrivileges(params?: ", + "SecurityGetUserPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGetUserPrivilegesResponse", + ", TContext>>; grantApiKey(params?: ", + "SecurityGrantApiKeyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityGrantApiKeyResponse", + ", TContext>>; hasPrivileges(params?: ", + "SecurityHasPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityHasPrivilegesResponse", + ", TContext>>; invalidateApiKey(params?: ", + "SecurityInvalidateApiKeyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityInvalidateApiKeyResponse", + ", TContext>>; invalidateToken(params?: ", + "SecurityInvalidateTokenRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityInvalidateTokenResponse", + ", TContext>>; putPrivileges(params?: ", + "SecurityPutPrivilegesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityPutPrivilegesResponse", + ", TContext>>; putRole(params: ", + "SecurityPutRoleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityPutRoleResponse", + ", TContext>>; putRoleMapping(params: ", + "SecurityPutRoleMappingRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityPutRoleMappingResponse", + ", TContext>>; putUser(params: ", + "SecurityPutUserRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SecurityPutUserResponse", + ", TContext>>; samlAuthenticate(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlCompleteLogout(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlInvalidate(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlLogout(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlPrepareAuthentication(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; samlServiceProviderMetadata(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; create: (params: ", + "CreateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CreateResponse", + ", TContext>>; index: (params: ", + "IndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndexResponse", + ", TContext>>; update: (params: ", + "UpdateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "UpdateResponse", + ", TContext>>; closePointInTime: (params?: ", + "ClosePointInTimeRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClosePointInTimeResponse", + ", TContext>>; search: (params?: ", + "SearchRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SearchResponse", + ", TContext>>; transform: { deleteTransform(params: ", + "TransformDeleteTransformRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformDeleteTransformResponse", + ", TContext>>; getTransform(params?: ", + "TransformGetTransformRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformGetTransformResponse", + ", TContext>>; getTransformStats(params: ", + "TransformGetTransformStatsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformGetTransformStatsResponse", + ", TContext>>; previewTransform(params?: ", + "TransformPreviewTransformRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformPreviewTransformResponse", + ", TContext>>; putTransform(params: ", + "TransformPutTransformRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformPutTransformResponse", + ", TContext>>; startTransform(params: ", + "TransformStartTransformRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformStartTransformResponse", + ", TContext>>; stopTransform(params: ", + "TransformStopTransformRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformStopTransformResponse", + ", TContext>>; updateTransform(params?: ", + "TransformUpdateTransformRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TransformUpdateTransformResponse", + ", TContext>>; }; eql: { delete(params: ", + "EqlDeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EqlDeleteResponse", + ", TContext>>; get(params: ", + "EqlGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EqlGetResponse", + ", TContext>>; getStatus(params: ", + "EqlGetStatusRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EqlGetStatusResponse", + ", TContext>>; search(params: ", + "EqlSearchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EqlSearchResponse", + ", TContext>>; }; helpers: ", + "default", + "; emit: (event: string | symbol, ...args: any[]) => boolean; on: { (event: \"request\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"response\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"sniff\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"resurrect\", listener: (err: null, meta: ", + "ResurrectEvent", + ") => void): ", + "KibanaClient", + "; }; once: { (event: \"request\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"response\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"sniff\", listener: (err: ", + "ApiError", + ", meta: ", + "RequestEvent", + ", unknown>) => void): ", + "KibanaClient", + "; (event: \"resurrect\", listener: (err: null, meta: ", + "ResurrectEvent", + ") => void): ", + "KibanaClient", + "; }; off: (event: string | symbol, listener: (...args: any[]) => void) => ", + "KibanaClient", + "; asyncSearch: { delete(params: ", + "AsyncSearchDeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "AsyncSearchDeleteResponse", + ", TContext>>; get(params: ", + "AsyncSearchGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "AsyncSearchGetResponse", + ", TContext>>; status(params: ", + "AsyncSearchStatusRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "AsyncSearchStatusResponse", + ", TContext>>; submit(params?: ", + "AsyncSearchSubmitRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "AsyncSearchSubmitResponse", + ", TContext>>; }; autoscaling: { deleteAutoscalingPolicy(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getAutoscalingCapacity(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getAutoscalingPolicy(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putAutoscalingPolicy(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; bulk: (params: ", + "BulkRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "BulkResponse", + ", TContext>>; cat: { aliases(params?: ", + "CatAliasesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatAliasesResponse", + ", TContext>>; allocation(params?: ", + "CatAllocationRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatAllocationResponse", + ", TContext>>; count(params?: ", + "CatCountRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatCountResponse", + ", TContext>>; fielddata(params?: ", + "CatFielddataRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatFielddataResponse", + ", TContext>>; health(params?: ", + "CatHealthRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatHealthResponse", + ", TContext>>; help(params?: ", + "CatHelpRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatHelpResponse", + ", TContext>>; indices(params?: ", + "CatIndicesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatIndicesResponse", + ", TContext>>; master(params?: ", + "CatMasterRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatMasterResponse", + ", TContext>>; mlDataFrameAnalytics(params?: ", + "CatDataFrameAnalyticsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatDataFrameAnalyticsResponse", + ", TContext>>; mlDatafeeds(params?: ", + "CatDatafeedsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatDatafeedsResponse", + ", TContext>>; mlJobs(params?: ", + "CatJobsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatJobsResponse", + ", TContext>>; mlTrainedModels(params?: ", + "CatTrainedModelsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatTrainedModelsResponse", + ", TContext>>; nodeattrs(params?: ", + "CatNodeAttributesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatNodeAttributesResponse", + ", TContext>>; nodes(params?: ", + "CatNodesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatNodesResponse", + ", TContext>>; pendingTasks(params?: ", + "CatPendingTasksRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatPendingTasksResponse", + ", TContext>>; plugins(params?: ", + "CatPluginsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatPluginsResponse", + ", TContext>>; recovery(params?: ", + "CatRecoveryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatRecoveryResponse", + ", TContext>>; repositories(params?: ", + "CatRepositoriesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatRepositoriesResponse", + ", TContext>>; segments(params?: ", + "CatSegmentsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatSegmentsResponse", + ", TContext>>; shards(params?: ", + "CatShardsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatShardsResponse", + ", TContext>>; snapshots(params?: ", + "CatSnapshotsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatSnapshotsResponse", + ", TContext>>; tasks(params?: ", + "CatTasksRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatTasksResponse", + ", TContext>>; templates(params?: ", + "CatTemplatesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatTemplatesResponse", + ", TContext>>; threadPool(params?: ", + "CatThreadPoolRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatThreadPoolResponse", + ", TContext>>; transforms(params?: ", + "CatTransformsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CatTransformsResponse", + ", TContext>>; }; ccr: { deleteAutoFollowPattern(params: ", + "CcrDeleteAutoFollowPatternRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrDeleteAutoFollowPatternResponse", + ", TContext>>; follow(params: ", + "CcrCreateFollowIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrCreateFollowIndexResponse", + ", TContext>>; followInfo(params: ", + "CcrFollowInfoRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrFollowInfoResponse", + ", TContext>>; followStats(params: ", + "CcrFollowIndexStatsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrFollowIndexStatsResponse", + ", TContext>>; forgetFollower(params: ", + "CcrForgetFollowerIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrForgetFollowerIndexResponse", + ", TContext>>; getAutoFollowPattern(params?: ", + "CcrGetAutoFollowPatternRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrGetAutoFollowPatternResponse", + ", TContext>>; pauseAutoFollowPattern(params: ", + "CcrPauseAutoFollowPatternRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrPauseAutoFollowPatternResponse", + ", TContext>>; pauseFollow(params: ", + "CcrPauseFollowIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrPauseFollowIndexResponse", + ", TContext>>; putAutoFollowPattern(params: ", + "CcrPutAutoFollowPatternRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrPutAutoFollowPatternResponse", + ", TContext>>; resumeAutoFollowPattern(params: ", + "CcrResumeAutoFollowPatternRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrResumeAutoFollowPatternResponse", + ", TContext>>; resumeFollow(params: ", + "CcrResumeFollowIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrResumeFollowIndexResponse", + ", TContext>>; stats(params?: ", + "CcrStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrStatsResponse", + ", TContext>>; unfollow(params: ", + "CcrUnfollowIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CcrUnfollowIndexResponse", + ", TContext>>; }; clearScroll: (params?: ", + "ClearScrollRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClearScrollResponse", + ", TContext>>; cluster: { allocationExplain(params?: ", + "ClusterAllocationExplainRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterAllocationExplainResponse", + ", TContext>>; deleteComponentTemplate(params: ", + "ClusterDeleteComponentTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterDeleteComponentTemplateResponse", + ", TContext>>; deleteVotingConfigExclusions(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; existsComponentTemplate(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getComponentTemplate(params?: ", + "ClusterGetComponentTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterGetComponentTemplateResponse", + ", TContext>>; getSettings(params?: ", + "ClusterGetSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterGetSettingsResponse", + ", TContext>>; health(params?: ", + "ClusterHealthRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterHealthResponse", + ", TContext>>; pendingTasks(params?: ", + "ClusterPendingTasksRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterPendingTasksResponse", + ", TContext>>; postVotingConfigExclusions(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putComponentTemplate(params: ", + "ClusterPutComponentTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterPutComponentTemplateResponse", + ", TContext>>; putSettings(params?: ", + "ClusterPutSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterPutSettingsResponse", + ", TContext>>; remoteInfo(params?: ", + "ClusterRemoteInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterRemoteInfoResponse", + ", TContext>>; reroute(params?: ", + "ClusterRerouteRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterRerouteResponse", + ", TContext>>; state(params?: ", + "ClusterStateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterStateResponse", + ", TContext>>; stats(params?: ", + "ClusterStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ClusterStatsResponse", + ", TContext>>; }; count: (params?: ", + "CountRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "CountResponse", + ", TContext>>; danglingIndices: { deleteDanglingIndex(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; importDanglingIndex(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; listDanglingIndices(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; dataFrameTransformDeprecated: { deleteTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getTransformStats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; previewTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; startTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; stopTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; updateTransform(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; deleteByQuery: (params: ", + "DeleteByQueryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "DeleteByQueryResponse", + ", TContext>>; deleteByQueryRethrottle: (params: ", + "DeleteByQueryRethrottleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "DeleteByQueryRethrottleResponse", + ", TContext>>; deleteScript: (params: ", + "DeleteScriptRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "DeleteScriptResponse", + ", TContext>>; enrich: { deletePolicy(params: ", + "EnrichDeletePolicyRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichDeletePolicyResponse", + ", TContext>>; executePolicy(params: ", + "EnrichExecutePolicyRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichExecutePolicyResponse", + ", TContext>>; getPolicy(params?: ", + "EnrichGetPolicyRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichGetPolicyResponse", + ", TContext>>; putPolicy(params: ", + "EnrichPutPolicyRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichPutPolicyResponse", + ", TContext>>; stats(params?: ", + "EnrichStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "EnrichStatsResponse", + ", TContext>>; }; exists: (params: ", + "ExistsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsSource: (params: ", + "ExistsSourceRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; explain: (params: ", + "ExplainRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ExplainResponse", + ", TContext>>; features: { getFeatures(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; resetFeatures(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; fieldCaps: (params?: ", + "FieldCapsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "FieldCapsResponse", + ", TContext>>; fleet: { globalCheckpoints(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; getScript: (params: ", + "GetScriptRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GetScriptResponse", + ", TContext>>; getScriptContext: (params?: ", + "GetScriptContextRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GetScriptContextResponse", + ", TContext>>; getScriptLanguages: (params?: ", + "GetScriptLanguagesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GetScriptLanguagesResponse", + ", TContext>>; getSource: (params?: ", + "GetSourceRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; graph: { explore(params: ", + "GraphExploreRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "GraphExploreResponse", + ", TContext>>; }; ilm: { deleteLifecycle(params: ", + "IlmDeleteLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmDeleteLifecycleResponse", + ", TContext>>; explainLifecycle(params: ", + "IlmExplainLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmExplainLifecycleResponse", + ", TContext>>; getLifecycle(params?: ", + "IlmGetLifecycleRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmGetLifecycleResponse", + ", TContext>>; getStatus(params?: ", + "IlmGetStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmGetStatusResponse", + ", TContext>>; migrateToDataTiers(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; moveToStep(params: ", + "IlmMoveToStepRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmMoveToStepResponse", + ", TContext>>; putLifecycle(params?: ", + "IlmPutLifecycleRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmPutLifecycleResponse", + ", TContext>>; removePolicy(params: ", + "IlmRemovePolicyRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmRemovePolicyResponse", + ", TContext>>; retry(params: ", + "IlmRetryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmRetryResponse", + ", TContext>>; start(params?: ", + "IlmStartRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmStartResponse", + ", TContext>>; stop(params?: ", + "IlmStopRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IlmStopResponse", + ", TContext>>; }; indices: { addBlock(params: ", + "IndicesAddBlockRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesAddBlockResponse", + ", TContext>>; analyze(params?: ", + "IndicesAnalyzeRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesAnalyzeResponse", + ", TContext>>; clearCache(params?: ", + "IndicesClearCacheRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesClearCacheResponse", + ", TContext>>; clone(params: ", + "IndicesCloneRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesCloneResponse", + ", TContext>>; close(params: ", + "IndicesCloseRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesCloseResponse", + ", TContext>>; create(params: ", + "IndicesCreateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesCreateResponse", + ", TContext>>; createDataStream(params: ", + "IndicesCreateDataStreamRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesCreateDataStreamResponse", + ", TContext>>; dataStreamsStats(params?: ", + "IndicesDataStreamsStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDataStreamsStatsResponse", + ", TContext>>; delete(params: ", + "IndicesDeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteResponse", + ", TContext>>; deleteAlias(params: ", + "IndicesDeleteAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteAliasResponse", + ", TContext>>; deleteDataStream(params: ", + "IndicesDeleteDataStreamRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteDataStreamResponse", + ", TContext>>; deleteIndexTemplate(params: ", + "IndicesDeleteIndexTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteIndexTemplateResponse", + ", TContext>>; deleteTemplate(params: ", + "IndicesDeleteTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesDeleteTemplateResponse", + ", TContext>>; diskUsage(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; exists(params: ", + "IndicesExistsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsAlias(params: ", + "IndicesExistsAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsIndexTemplate(params: ", + "IndicesExistsIndexTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsTemplate(params: ", + "IndicesExistsTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; existsType(params: ", + "IndicesExistsTypeRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; fieldUsageStats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; flush(params?: ", + "IndicesFlushRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesFlushResponse", + ", TContext>>; flushSynced(params?: ", + "IndicesFlushSyncedRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesFlushSyncedResponse", + ", TContext>>; forcemerge(params?: ", + "IndicesForcemergeRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesForcemergeResponse", + ", TContext>>; freeze(params: ", + "IndicesFreezeRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesFreezeResponse", + ", TContext>>; get(params: ", + "IndicesGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetResponse", + ", TContext>>; getAlias(params?: ", + "IndicesGetAliasRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetAliasResponse", + ", TContext>>; getDataStream(params?: ", + "IndicesGetDataStreamRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetDataStreamResponse", + ", TContext>>; getFieldMapping(params: ", + "IndicesGetFieldMappingRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetFieldMappingResponse", + ", TContext>>; getIndexTemplate(params?: ", + "IndicesGetIndexTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetIndexTemplateResponse", + ", TContext>>; getMapping(params?: ", + "IndicesGetMappingRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetMappingResponse", + ", TContext>>; getSettings(params?: ", + "IndicesGetSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetSettingsResponse", + ", TContext>>; getTemplate(params?: ", + "IndicesGetTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesGetTemplateResponse", + ", TContext>>; getUpgrade(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; migrateToDataStream(params: ", + "IndicesMigrateToDataStreamRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesMigrateToDataStreamResponse", + ", TContext>>; open(params: ", + "IndicesOpenRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesOpenResponse", + ", TContext>>; promoteDataStream(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putAlias(params: ", + "IndicesPutAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutAliasResponse", + ", TContext>>; putIndexTemplate(params: ", + "IndicesPutIndexTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutIndexTemplateResponse", + ", TContext>>; putMapping(params?: ", + "IndicesPutMappingRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutMappingResponse", + ", TContext>>; putSettings(params?: ", + "IndicesPutSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutSettingsResponse", + ", TContext>>; putTemplate(params: ", + "IndicesPutTemplateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesPutTemplateResponse", + ", TContext>>; recovery(params?: ", + "IndicesRecoveryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesRecoveryResponse", + ", TContext>>; refresh(params?: ", + "IndicesRefreshRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesRefreshResponse", + ", TContext>>; reloadSearchAnalyzers(params: ", + "IndicesReloadSearchAnalyzersRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesReloadSearchAnalyzersResponse", + ", TContext>>; resolveIndex(params: ", + "IndicesResolveIndexRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesResolveIndexResponse", + ", TContext>>; rollover(params: ", + "IndicesRolloverRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesRolloverResponse", + ", TContext>>; segments(params?: ", + "IndicesSegmentsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesSegmentsResponse", + ", TContext>>; shardStores(params?: ", + "IndicesShardStoresRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesShardStoresResponse", + ", TContext>>; shrink(params: ", + "IndicesShrinkRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesShrinkResponse", + ", TContext>>; simulateIndexTemplate(params?: ", + "IndicesSimulateIndexTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesSimulateIndexTemplateResponse", + ", TContext>>; simulateTemplate(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; split(params: ", + "IndicesSplitRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesSplitResponse", + ", TContext>>; stats(params?: ", + "IndicesStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesStatsResponse", + ", TContext>>; unfreeze(params: ", + "IndicesUnfreezeRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesUnfreezeResponse", + ", TContext>>; updateAliases(params?: ", + "IndicesUpdateAliasesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesUpdateAliasesResponse", + ", TContext>>; upgrade(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; validateQuery(params?: ", + "IndicesValidateQueryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IndicesValidateQueryResponse", + ", TContext>>; }; info: (params?: ", + "InfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "InfoResponse", + ", TContext>>; ingest: { deletePipeline(params: ", + "IngestDeletePipelineRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestDeletePipelineResponse", + ", TContext>>; geoIpStats(params?: ", + "IngestGeoIpStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestGeoIpStatsResponse", + ", TContext>>; getPipeline(params?: ", + "IngestGetPipelineRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestGetPipelineResponse", + ", TContext>>; processorGrok(params?: ", + "IngestProcessorGrokRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestProcessorGrokResponse", + ", TContext>>; putPipeline(params: ", + "IngestPutPipelineRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestPutPipelineResponse", + ", TContext>>; simulate(params?: ", + "IngestSimulatePipelineRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "IngestSimulatePipelineResponse", + ", TContext>>; }; license: { delete(params?: ", + "LicenseDeleteRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicenseDeleteResponse", + ", TContext>>; get(params?: ", + "LicenseGetRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicenseGetResponse", + ", TContext>>; getBasicStatus(params?: ", + "LicenseGetBasicStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicenseGetBasicStatusResponse", + ", TContext>>; getTrialStatus(params?: ", + "LicenseGetTrialStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicenseGetTrialStatusResponse", + ", TContext>>; post(params?: ", + "LicensePostRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicensePostResponse", + ", TContext>>; postStartBasic(params?: ", + "LicensePostStartBasicRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicensePostStartBasicResponse", + ", TContext>>; postStartTrial(params?: ", + "LicensePostStartTrialRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "LicensePostStartTrialResponse", + ", TContext>>; }; logstash: { deletePipeline(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getPipeline(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putPipeline(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; mget: (params?: ", + "MgetRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MgetResponse", + ", TContext>>; migration: { deprecations(params?: ", + "MigrationDeprecationInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MigrationDeprecationInfoResponse", + ", TContext>>; }; ml: { closeJob(params: ", + "MlCloseJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlCloseJobResponse", + ", TContext>>; deleteCalendar(params: ", + "MlDeleteCalendarRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteCalendarResponse", + ", TContext>>; deleteCalendarEvent(params: ", + "MlDeleteCalendarEventRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteCalendarEventResponse", + ", TContext>>; deleteCalendarJob(params: ", + "MlDeleteCalendarJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteCalendarJobResponse", + ", TContext>>; deleteDataFrameAnalytics(params: ", + "MlDeleteDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteDataFrameAnalyticsResponse", + ", TContext>>; deleteDatafeed(params: ", + "MlDeleteDatafeedRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteDatafeedResponse", + ", TContext>>; deleteExpiredData(params?: ", + "MlDeleteExpiredDataRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteExpiredDataResponse", + ", TContext>>; deleteFilter(params: ", + "MlDeleteFilterRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteFilterResponse", + ", TContext>>; deleteForecast(params: ", + "MlDeleteForecastRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteForecastResponse", + ", TContext>>; deleteJob(params: ", + "MlDeleteJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteJobResponse", + ", TContext>>; deleteModelSnapshot(params: ", + "MlDeleteModelSnapshotRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteModelSnapshotResponse", + ", TContext>>; deleteTrainedModel(params: ", + "MlDeleteTrainedModelRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteTrainedModelResponse", + ", TContext>>; deleteTrainedModelAlias(params: ", + "MlDeleteTrainedModelAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlDeleteTrainedModelAliasResponse", + ", TContext>>; estimateModelMemory(params?: ", + "MlEstimateModelMemoryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlEstimateModelMemoryResponse", + ", TContext>>; evaluateDataFrame(params?: ", + "MlEvaluateDataFrameRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlEvaluateDataFrameResponse", + ", TContext>>; explainDataFrameAnalytics(params?: ", + "MlExplainDataFrameAnalyticsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlExplainDataFrameAnalyticsResponse", + ", TContext>>; findFileStructure(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; flushJob(params: ", + "MlFlushJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlFlushJobResponse", + ", TContext>>; forecast(params: ", + "MlForecastJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlForecastJobResponse", + ", TContext>>; getBuckets(params: ", + "MlGetBucketsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetBucketsResponse", + ", TContext>>; getCalendarEvents(params: ", + "MlGetCalendarEventsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetCalendarEventsResponse", + ", TContext>>; getCalendars(params?: ", + "MlGetCalendarsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetCalendarsResponse", + ", TContext>>; getCategories(params: ", + "MlGetCategoriesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetCategoriesResponse", + ", TContext>>; getDataFrameAnalytics(params?: ", + "MlGetDataFrameAnalyticsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetDataFrameAnalyticsResponse", + ", TContext>>; getDataFrameAnalyticsStats(params?: ", + "MlGetDataFrameAnalyticsStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetDataFrameAnalyticsStatsResponse", + ", TContext>>; getDatafeedStats(params?: ", + "MlGetDatafeedStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetDatafeedStatsResponse", + ", TContext>>; getDatafeeds(params?: ", + "MlGetDatafeedsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetDatafeedsResponse", + ", TContext>>; getFilters(params?: ", + "MlGetFiltersRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetFiltersResponse", + ", TContext>>; getInfluencers(params: ", + "MlGetInfluencersRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetInfluencersResponse", + ", TContext>>; getJobStats(params?: ", + "MlGetJobStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetJobStatsResponse", + ", TContext>>; getJobs(params?: ", + "MlGetJobsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetJobsResponse", + ", TContext>>; getModelSnapshots(params: ", + "MlGetModelSnapshotsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetModelSnapshotsResponse", + ", TContext>>; getOverallBuckets(params: ", + "MlGetOverallBucketsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetOverallBucketsResponse", + ", TContext>>; getRecords(params: ", + "MlGetAnomalyRecordsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetAnomalyRecordsResponse", + ", TContext>>; getTrainedModels(params?: ", + "MlGetTrainedModelsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetTrainedModelsResponse", + ", TContext>>; getTrainedModelsStats(params?: ", + "MlGetTrainedModelsStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlGetTrainedModelsStatsResponse", + ", TContext>>; info(params?: ", + "MlInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlInfoResponse", + ", TContext>>; openJob(params: ", + "MlOpenJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlOpenJobResponse", + ", TContext>>; postCalendarEvents(params?: ", + "MlPostCalendarEventsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPostCalendarEventsResponse", + ", TContext>>; postData(params: ", + "MlPostJobDataRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPostJobDataResponse", + ", TContext>>; previewDataFrameAnalytics(params?: ", + "MlPreviewDataFrameAnalyticsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPreviewDataFrameAnalyticsResponse", + ", TContext>>; previewDatafeed(params?: ", + "MlPreviewDatafeedRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPreviewDatafeedResponse", + ", TContext>>; putCalendar(params: ", + "MlPutCalendarRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutCalendarResponse", + ", TContext>>; putCalendarJob(params: ", + "MlPutCalendarJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutCalendarJobResponse", + ", TContext>>; putDataFrameAnalytics(params: ", + "MlPutDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutDataFrameAnalyticsResponse", + ", TContext>>; putDatafeed(params: ", + "MlPutDatafeedRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutDatafeedResponse", + ", TContext>>; putFilter(params: ", + "MlPutFilterRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutFilterResponse", + ", TContext>>; putJob(params: ", + "MlPutJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutJobResponse", + ", TContext>>; putTrainedModel(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putTrainedModelAlias(params: ", + "MlPutTrainedModelAliasRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlPutTrainedModelAliasResponse", + ", TContext>>; resetJob(params: ", + "MlResetJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlResetJobResponse", + ", TContext>>; revertModelSnapshot(params: ", + "MlRevertModelSnapshotRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlRevertModelSnapshotResponse", + ", TContext>>; setUpgradeMode(params?: ", + "MlSetUpgradeModeRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlSetUpgradeModeResponse", + ", TContext>>; startDataFrameAnalytics(params: ", + "MlStartDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlStartDataFrameAnalyticsResponse", + ", TContext>>; startDatafeed(params: ", + "MlStartDatafeedRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlStartDatafeedResponse", + ", TContext>>; stopDataFrameAnalytics(params: ", + "MlStopDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlStopDataFrameAnalyticsResponse", + ", TContext>>; stopDatafeed(params: ", + "MlStopDatafeedRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlStopDatafeedResponse", + ", TContext>>; updateDataFrameAnalytics(params: ", + "MlUpdateDataFrameAnalyticsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlUpdateDataFrameAnalyticsResponse", + ", TContext>>; updateDatafeed(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; updateFilter(params: ", + "MlUpdateFilterRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlUpdateFilterResponse", + ", TContext>>; updateJob(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; updateModelSnapshot(params: ", + "MlUpdateModelSnapshotRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlUpdateModelSnapshotResponse", + ", TContext>>; upgradeJobSnapshot(params: ", + "MlUpgradeJobSnapshotRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlUpgradeJobSnapshotResponse", + ", TContext>>; validate(params?: ", + "MlValidateJobRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlValidateJobResponse", + ", TContext>>; validateDetector(params?: ", + "MlValidateDetectorRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MlValidateDetectorResponse", + ", TContext>>; }; msearch: (params?: ", + "MsearchRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MsearchResponse", + ", TContext>>; msearchTemplate: (params?: ", + "MsearchTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MsearchTemplateResponse", + ", TContext>>; mtermvectors: (params?: ", + "MtermvectorsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "MtermvectorsResponse", + ", TContext>>; nodes: { clearMeteringArchive(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getMeteringInfo(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; hotThreads(params?: ", + "NodesHotThreadsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesHotThreadsResponse", + ", TContext>>; info(params?: ", + "NodesInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesInfoResponse", + ", TContext>>; reloadSecureSettings(params?: ", + "NodesReloadSecureSettingsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesReloadSecureSettingsResponse", + ", TContext>>; stats(params?: ", + "NodesStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesStatsResponse", + ", TContext>>; usage(params?: ", + "NodesUsageRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "NodesUsageResponse", + ", TContext>>; }; openPointInTime: (params: ", + "OpenPointInTimeRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "OpenPointInTimeResponse", + ", TContext>>; ping: (params?: ", + "PingRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + ">; putScript: (params: ", + "PutScriptRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "PutScriptResponse", + ", TContext>>; rankEval: (params: ", + "RankEvalRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RankEvalResponse", + ", TContext>>; reindex: (params?: ", + "ReindexRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ReindexResponse", + ", TContext>>; reindexRethrottle: (params: ", + "ReindexRethrottleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ReindexRethrottleResponse", + ", TContext>>; renderSearchTemplate: (params?: ", + "RenderSearchTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RenderSearchTemplateResponse", + ", TContext>>; rollup: { deleteJob(params: ", + "RollupDeleteRollupJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupDeleteRollupJobResponse", + ", TContext>>; getJobs(params?: ", + "RollupGetRollupJobRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupGetRollupJobResponse", + ", TContext>>; getRollupCaps(params?: ", + "RollupGetRollupCapabilitiesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupGetRollupCapabilitiesResponse", + ", TContext>>; getRollupIndexCaps(params: ", + "RollupGetRollupIndexCapabilitiesRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupGetRollupIndexCapabilitiesResponse", + ", TContext>>; putJob(params: ", + "RollupCreateRollupJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupCreateRollupJobResponse", + ", TContext>>; rollup(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; rollupSearch(params: ", + "RollupRollupSearchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupRollupSearchResponse", + ", TContext>>; startJob(params: ", + "RollupStartRollupJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupStartRollupJobResponse", + ", TContext>>; stopJob(params: ", + "RollupStopRollupJobRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "RollupStopRollupJobResponse", + ", TContext>>; }; scriptsPainlessExecute: (params?: ", + "ScriptsPainlessExecuteRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ScriptsPainlessExecuteResponse", + ", TContext>>; scroll: (params?: ", + "ScrollRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "ScrollResponse", + ", TContext>>; searchShards: (params?: ", + "SearchShardsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SearchShardsResponse", + ", TContext>>; searchTemplate: (params?: ", + "SearchTemplateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SearchTemplateResponse", + ", TContext>>; searchableSnapshots: { cacheStats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; clearCache(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; mount(params: ", + "SearchableSnapshotsMountRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SearchableSnapshotsMountResponse", + ", TContext>>; repositoryStats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; stats(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; shutdown: { deleteNode(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getNode(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; putNode(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; }; slm: { deleteLifecycle(params: ", + "SlmDeleteLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmDeleteLifecycleResponse", + ", TContext>>; executeLifecycle(params: ", + "SlmExecuteLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmExecuteLifecycleResponse", + ", TContext>>; executeRetention(params?: ", + "SlmExecuteRetentionRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmExecuteRetentionResponse", + ", TContext>>; getLifecycle(params?: ", + "SlmGetLifecycleRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmGetLifecycleResponse", + ", TContext>>; getStats(params?: ", + "SlmGetStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmGetStatsResponse", + ", TContext>>; getStatus(params?: ", + "SlmGetStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmGetStatusResponse", + ", TContext>>; putLifecycle(params: ", + "SlmPutLifecycleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmPutLifecycleResponse", + ", TContext>>; start(params?: ", + "SlmStartRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmStartResponse", + ", TContext>>; stop(params?: ", + "SlmStopRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SlmStopResponse", + ", TContext>>; }; snapshot: { cleanupRepository(params: ", + "SnapshotCleanupRepositoryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotCleanupRepositoryResponse", + ", TContext>>; clone(params: ", + "SnapshotCloneRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotCloneResponse", + ", TContext>>; create(params: ", + "SnapshotCreateRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotCreateResponse", + ", TContext>>; createRepository(params: ", + "SnapshotCreateRepositoryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotCreateRepositoryResponse", + ", TContext>>; delete(params: ", + "SnapshotDeleteRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotDeleteResponse", + ", TContext>>; deleteRepository(params: ", + "SnapshotDeleteRepositoryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotDeleteRepositoryResponse", + ", TContext>>; get(params: ", + "SnapshotGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotGetResponse", + ", TContext>>; getRepository(params?: ", + "SnapshotGetRepositoryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotGetRepositoryResponse", + ", TContext>>; repositoryAnalyze(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; restore(params: ", + "SnapshotRestoreRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotRestoreResponse", + ", TContext>>; status(params?: ", + "SnapshotStatusRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotStatusResponse", + ", TContext>>; verifyRepository(params: ", + "SnapshotVerifyRepositoryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SnapshotVerifyRepositoryResponse", + ", TContext>>; }; sql: { clearCursor(params?: ", + "SqlClearCursorRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SqlClearCursorResponse", + ", TContext>>; deleteAsync(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getAsync(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; getAsyncStatus(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; query(params?: ", + "SqlQueryRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SqlQueryResponse", + ", TContext>>; translate(params?: ", + "SqlTranslateRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SqlTranslateResponse", + ", TContext>>; }; ssl: { certificates(params?: ", + "SslGetCertificatesRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "SslGetCertificatesResponse", + ", TContext>>; }; tasks: { cancel(params?: ", + "TaskCancelRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TaskCancelResponse", + ", TContext>>; get(params: ", + "TaskGetRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TaskGetResponse", + ", TContext>>; list(params?: ", + "TaskListRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TaskListResponse", + ", TContext>>; }; termsEnum: (params: ", + "TermsEnumRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TermsEnumResponse", + ", TContext>>; termvectors: (params: ", + "TermvectorsRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TermvectorsResponse", + ", TContext>>; textStructure: { findStructure(params: ", + "TextStructureFindStructureRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "TextStructureFindStructureResponse", + ", TContext>>; }; updateByQuery: (params: ", + "UpdateByQueryRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "UpdateByQueryResponse", + ", TContext>>; updateByQueryRethrottle: (params: ", + "UpdateByQueryRethrottleRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined) => ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "UpdateByQueryRethrottleResponse", + ", TContext>>; watcher: { ackWatch(params: ", + "WatcherAckWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherAckWatchResponse", + ", TContext>>; activateWatch(params: ", + "WatcherActivateWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherActivateWatchResponse", + ", TContext>>; deactivateWatch(params: ", + "WatcherDeactivateWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherDeactivateWatchResponse", + ", TContext>>; deleteWatch(params: ", + "WatcherDeleteWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherDeleteWatchResponse", + ", TContext>>; executeWatch(params?: ", + "WatcherExecuteWatchRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherExecuteWatchResponse", + ", TContext>>; getWatch(params: ", + "WatcherGetWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherGetWatchResponse", + ", TContext>>; putWatch(params: ", + "WatcherPutWatchRequest", + ", options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherPutWatchResponse", + ", TContext>>; queryWatches(params?: Record | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + ", TContext>>; start(params?: ", + "WatcherStartRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherStartResponse", + ", TContext>>; stats(params?: ", + "WatcherStatsRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherStatsResponse", + ", TContext>>; stop(params?: ", + "WatcherStopRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "WatcherStopResponse", + ", TContext>>; }; xpack: { info(params?: ", + "XpackInfoRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "XpackInfoResponse", + ", TContext>>; usage(params?: ", + "XpackUsageRequest", + " | undefined, options?: ", + "TransportRequestOptions", + " | undefined): ", + "TransportRequestPromise", + "<", + "ApiResponse", + "<", + "XpackUsageResponse", + ", TContext>>; }; }" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_count/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexCount.$1.index", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_count/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [ + "the document count" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexExists", + "type": "Function", + "tags": [], + "label": "getIndexExists", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, index: string) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_exists/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexExists.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_exists/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getIndexExists.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_index_exists/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getPolicyExists", + "type": "Function", + "tags": [], + "label": "getPolicyExists", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, policy: string) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_policy_exists/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getPolicyExists.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_policy_exists/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getPolicyExists.$2", + "type": "string", + "tags": [], + "label": "policy", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_policy_exists/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getTemplateExists", + "type": "Function", + "tags": [], + "label": "getTemplateExists", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, template: string) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_template_exists/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getTemplateExists.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_template_exists/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.getTemplateExists.$2", + "type": "string", + "tags": [], + "label": "template", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/get_template_exists/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.readIndex", + "type": "Function", + "tags": [], + "label": "readIndex", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, index: string) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/read_index/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.readIndex.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/read_index/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.readIndex.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/read_index/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.readPrivileges", + "type": "Function", + "tags": [], + "label": "readPrivileges", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, index: string) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/read_privileges/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.readPrivileges.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/read_privileges/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.readPrivileges.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/read_privileges/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.setPolicy", + "type": "Function", + "tags": [], + "label": "setPolicy", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, policy: string, body: Record) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/set_policy/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.setPolicy.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/set_policy/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.setPolicy.$2", + "type": "string", + "tags": [], + "label": "policy", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/set_policy/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.setPolicy.$3", + "type": "Object", + "tags": [], + "label": "body", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-securitysolution-es-utils/src/set_policy/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.setTemplate", + "type": "Function", + "tags": [], + "label": "setTemplate", + "description": [], + "signature": [ + "(esClient: Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">, name: string, body: Record) => Promise" + ], + "path": "packages/kbn-securitysolution-es-utils/src/set_template/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.setTemplate.$1", + "type": "Object", + "tags": [], + "label": "esClient", + "description": [], + "signature": [ + "Pick<", + "KibanaClient", + ", \"get\" | \"delete\" | \"monitoring\" | \"security\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\">" + ], + "path": "packages/kbn-securitysolution-es-utils/src/set_template/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.setTemplate.$2", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-es-utils/src/set_template/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.setTemplate.$3", + "type": "Object", + "tags": [], + "label": "body", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-securitysolution-es-utils/src/set_template/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.transformError", + "type": "Function", + "tags": [], + "label": "transformError", + "description": [], + "signature": [ + "(err: Error & Partial<", + "ResponseError", + ", unknown>>) => ", + { + "pluginId": "@kbn/securitysolution-es-utils", + "scope": "server", + "docId": "kibKbnSecuritysolutionEsUtilsPluginApi", + "section": "def-server.OutputError", + "text": "OutputError" + } + ], + "path": "packages/kbn-securitysolution-es-utils/src/transform_error/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.transformError.$1", + "type": "CompoundType", + "tags": [], + "label": "err", + "description": [], + "signature": [ + "Error & Partial<", + "ResponseError", + ", unknown>>" + ], + "path": "packages/kbn-securitysolution-es-utils/src/transform_error/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.OutputError", + "type": "Interface", + "tags": [], + "label": "OutputError", + "description": [], + "path": "packages/kbn-securitysolution-es-utils/src/transform_error/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.OutputError.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-es-utils/src/transform_error/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-es-utils", + "id": "def-server.OutputError.statusCode", + "type": "number", + "tags": [], + "label": "statusCode", + "description": [], + "path": "packages/kbn-securitysolution-es-utils/src/transform_error/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_es_utils.mdx b/api_docs/kbn_securitysolution_es_utils.mdx new file mode 100644 index 0000000000000..9f1aad96b29ba --- /dev/null +++ b/api_docs/kbn_securitysolution_es_utils.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnSecuritysolutionEsUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-es-utils +title: "@kbn/securitysolution-es-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-es-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-es-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionEsUtilsObj from './kbn_securitysolution_es_utils.json'; + +security solution elastic search utilities to use across plugins such lists, security_solution, cases, etc... + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 54 | 0 | 51 | 0 | + +## Server + +### Functions + + +### Classes + + +### Interfaces + + diff --git a/api_docs/kbn_securitysolution_hook_utils.json b/api_docs/kbn_securitysolution_hook_utils.json new file mode 100644 index 0000000000000..621e6698edb94 --- /dev/null +++ b/api_docs/kbn_securitysolution_hook_utils.json @@ -0,0 +1,190 @@ +{ + "id": "@kbn/securitysolution-hook-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-hook-utils", + "id": "def-common.useAsync", + "type": "Function", + "tags": [], + "label": "useAsync", + "description": [ + "\n\nThis hook wraps a promise-returning thunk (task) in order to conditionally\ninitiate the work, and automatically provide state corresponding to the\ntask's status.\n\nIn order to function properly and not rerender unnecessarily, ensure that\nyour task is a stable function reference.\n" + ], + "signature": [ + "(fn: (...args: Args) => Promise) => ", + "Task", + "" + ], + "path": "packages/kbn-securitysolution-hook-utils/src/use_async/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-hook-utils", + "id": "def-common.useAsync.$1", + "type": "Function", + "tags": [], + "label": "fn", + "description": [ + "a function returning a promise." + ], + "signature": [ + "(...args: Args) => Promise" + ], + "path": "packages/kbn-securitysolution-hook-utils/src/use_async/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "An {@link Task} containing the task's current state along with a\nstart callback" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-hook-utils", + "id": "def-common.useIsMounted", + "type": "Function", + "tags": [], + "label": "useIsMounted", + "description": [ + "\n" + ], + "signature": [ + "() => GetIsMounted" + ], + "path": "packages/kbn-securitysolution-hook-utils/src/use_is_mounted/index.ts", + "deprecated": false, + "children": [], + "returnComment": [ + "A {@link GetIsMounted} getter function returning whether the component is currently mounted" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-hook-utils", + "id": "def-common.useObservable", + "type": "Function", + "tags": [], + "label": "useObservable", + "description": [ + "\n" + ], + "signature": [ + "(fn: (...args: Args) => ", + "Observable", + ") => ", + "Task", + "" + ], + "path": "packages/kbn-securitysolution-hook-utils/src/use_observable/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-hook-utils", + "id": "def-common.useObservable.$1", + "type": "Function", + "tags": [], + "label": "fn", + "description": [ + "function returning an observable" + ], + "signature": [ + "(...args: Args) => ", + "Observable", + "" + ], + "path": "packages/kbn-securitysolution-hook-utils/src/use_observable/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "An {@link Async} containing the underlying task's state along with a start callback" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-hook-utils", + "id": "def-common.withOptionalSignal", + "type": "Function", + "tags": [], + "label": "withOptionalSignal", + "description": [ + "\n" + ], + "signature": [ + "(fn: (args: Args) => Result) => (args: ", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, + ") => Result" + ], + "path": "packages/kbn-securitysolution-hook-utils/src/with_optional_signal/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-hook-utils", + "id": "def-common.withOptionalSignal.$1", + "type": "Function", + "tags": [], + "label": "fn", + "description": [ + "an async function receiving an AbortSignal argument" + ], + "signature": [ + "(args: Args) => Result" + ], + "path": "packages/kbn-securitysolution-hook-utils/src/with_optional_signal/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "An async function where the AbortSignal argument is optional" + ], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/securitysolution-hook-utils", + "id": "def-common.OptionalSignalArgs", + "type": "Type", + "tags": [], + "label": "OptionalSignalArgs", + "description": [], + "signature": [ + "Pick> & Partial" + ], + "path": "packages/kbn-securitysolution-hook-utils/src/with_optional_signal/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_hook_utils.mdx b/api_docs/kbn_securitysolution_hook_utils.mdx new file mode 100644 index 0000000000000..a17c3a672c136 --- /dev/null +++ b/api_docs/kbn_securitysolution_hook_utils.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnSecuritysolutionHookUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-hook-utils +title: "@kbn/securitysolution-hook-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-hook-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-hook-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionHookUtilsObj from './kbn_securitysolution_hook_utils.json'; + +Security Solution utilities for React hooks + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 8 | 0 | 1 | 1 | + +## Common + +### Functions + + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_io_ts_alerting_types.json b/api_docs/kbn_securitysolution_io_ts_alerting_types.json new file mode 100644 index 0000000000000..b5c86e3ba0287 --- /dev/null +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.json @@ -0,0 +1,2835 @@ +{ + "id": "@kbn/securitysolution-io-ts-alerting-types", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.SavedObjectAttributes", + "type": "Interface", + "tags": [], + "label": "SavedObjectAttributes", + "description": [ + "\nTODO: This type are originally from \"src/core/types/saved_objects.ts\", once that is package friendly remove\nthis copied type.\n\nThe data for a Saved Object is stored as an object in the `attributes`\nproperty.\n" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/saved_object_attributes/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.SavedObjectAttributes.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/saved_object_attributes/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.Actions", + "type": "Type", + "tags": [], + "label": "Actions", + "description": [], + "signature": [ + "{ group: string; id: string; action_type_id: string; params: ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + "; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ActionsCamel", + "type": "Type", + "tags": [], + "label": "ActionsCamel", + "description": [], + "signature": [ + "{ group: string; id: string; action_type_id: string; params: ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + "; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ConcurrentSearches", + "type": "Type", + "tags": [], + "label": "ConcurrentSearches", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ConcurrentSearchesOrUndefined", + "type": "Type", + "tags": [], + "label": "ConcurrentSearchesOrUndefined", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.From", + "type": "Type", + "tags": [], + "label": "From", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/from/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.FromOrUndefined", + "type": "Type", + "tags": [], + "label": "FromOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/from/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ItemsPerSearch", + "type": "Type", + "tags": [], + "label": "ItemsPerSearch", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ItemsPerSearchOrUndefined", + "type": "Type", + "tags": [], + "label": "ItemsPerSearchOrUndefined", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.Language", + "type": "Type", + "tags": [], + "label": "Language", + "description": [], + "signature": [ + "\"eql\" | \"lucene\" | \"kuery\"" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/language/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.LanguageOrUndefined", + "type": "Type", + "tags": [], + "label": "LanguageOrUndefined", + "description": [], + "signature": [ + "\"eql\" | \"lucene\" | \"kuery\" | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/language/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.MachineLearningJobId", + "type": "Type", + "tags": [], + "label": "MachineLearningJobId", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/machine_learning_job_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.MachineLearningJobIdNormalized", + "type": "Type", + "tags": [], + "label": "MachineLearningJobIdNormalized", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/normalized_ml_job_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.MachineLearningJobIdNormalizedOrUndefined", + "type": "Type", + "tags": [], + "label": "MachineLearningJobIdNormalizedOrUndefined", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/normalized_ml_job_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.MachineLearningJobIdOrUndefined", + "type": "Type", + "tags": [], + "label": "MachineLearningJobIdOrUndefined", + "description": [], + "signature": [ + "string | string[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/machine_learning_job_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.MaxSignals", + "type": "Type", + "tags": [], + "label": "MaxSignals", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/max_signals/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.MaxSignalsOrUndefined", + "type": "Type", + "tags": [], + "label": "MaxSignalsOrUndefined", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/max_signals/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.RiskScore", + "type": "Type", + "tags": [], + "label": "RiskScore", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.RiskScoreC", + "type": "Type", + "tags": [], + "label": "RiskScoreC", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.RiskScoreMapping", + "type": "Type", + "tags": [], + "label": "RiskScoreMapping", + "description": [], + "signature": [ + "{ field: string; value: string; operator: \"equals\"; risk_score: number | undefined; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.RiskScoreMappingOrUndefined", + "type": "Type", + "tags": [], + "label": "RiskScoreMappingOrUndefined", + "description": [], + "signature": [ + "{ field: string; value: string; operator: \"equals\"; risk_score: number | undefined; }[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.RiskScoreOrUndefined", + "type": "Type", + "tags": [], + "label": "RiskScoreOrUndefined", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.SavedObjectAttribute", + "type": "Type", + "tags": [], + "label": "SavedObjectAttribute", + "description": [ + "\nTODO: This type are originally from \"src/core/types/saved_objects.ts\", once that is package friendly remove\nthis copied type.\n\nType definition for a Saved Object attribute value\n" + ], + "signature": [ + "string | number | boolean | ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + " | ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributeSingle", + "text": "SavedObjectAttributeSingle" + }, + "[] | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/saved_object_attributes/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.SavedObjectAttributeSingle", + "type": "Type", + "tags": [], + "label": "SavedObjectAttributeSingle", + "description": [ + "\nTODO: This type are originally from \"src/core/types/saved_objects.ts\", once that is package friendly remove\nthis copied type.\n\nDon't use this type, it's simply a helper type for {@link SavedObjectAttribute}\n" + ], + "signature": [ + "string | number | boolean | ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + " | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/saved_object_attributes/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.Severity", + "type": "Type", + "tags": [], + "label": "Severity", + "description": [], + "signature": [ + "\"high\" | \"low\" | \"critical\" | \"medium\"" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.SeverityMapping", + "type": "Type", + "tags": [], + "label": "SeverityMapping", + "description": [], + "signature": [ + "{ field: string; operator: \"equals\"; value: string; severity: \"high\" | \"low\" | \"critical\" | \"medium\"; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.SeverityMappingItem", + "type": "Type", + "tags": [], + "label": "SeverityMappingItem", + "description": [], + "signature": [ + "{ field: string; operator: \"equals\"; value: string; severity: \"high\" | \"low\" | \"critical\" | \"medium\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.SeverityMappingOrUndefined", + "type": "Type", + "tags": [], + "label": "SeverityMappingOrUndefined", + "description": [], + "signature": [ + "{ field: string; operator: \"equals\"; value: string; severity: \"high\" | \"low\" | \"critical\" | \"medium\"; }[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.SeverityOrUndefined", + "type": "Type", + "tags": [], + "label": "SeverityOrUndefined", + "description": [], + "signature": [ + "\"high\" | \"low\" | \"critical\" | \"medium\" | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.Threat", + "type": "Type", + "tags": [], + "label": "Threat", + "description": [], + "signature": [ + "{ framework: string; tactic: { id: string; name: string; reference: string; }; } & { technique?: ({ id: string; name: string; reference: string; } & { subtechnique?: { id: string; name: string; reference: string; }[] | undefined; })[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatFilters", + "type": "Type", + "tags": [], + "label": "ThreatFilters", + "description": [], + "signature": [ + "unknown[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatFiltersOrUndefined", + "type": "Type", + "tags": [], + "label": "ThreatFiltersOrUndefined", + "description": [], + "signature": [ + "unknown[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatIndex", + "type": "Type", + "tags": [], + "label": "ThreatIndex", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatIndexOrUndefined", + "type": "Type", + "tags": [], + "label": "ThreatIndexOrUndefined", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatIndicatorPath", + "type": "Type", + "tags": [], + "label": "ThreatIndicatorPath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatIndicatorPathOrUndefined", + "type": "Type", + "tags": [], + "label": "ThreatIndicatorPathOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatLanguage", + "type": "Type", + "tags": [], + "label": "ThreatLanguage", + "description": [], + "signature": [ + "\"eql\" | \"lucene\" | \"kuery\" | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatLanguageOrUndefined", + "type": "Type", + "tags": [], + "label": "ThreatLanguageOrUndefined", + "description": [], + "signature": [ + "\"eql\" | \"lucene\" | \"kuery\" | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatMap", + "type": "Type", + "tags": [], + "label": "ThreatMap", + "description": [], + "signature": [ + "{ entries: { field: string; type: \"mapping\"; value: string; }[]; }" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatMapEntry", + "type": "Type", + "tags": [], + "label": "ThreatMapEntry", + "description": [], + "signature": [ + "{ field: string; type: \"mapping\"; value: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatMapping", + "type": "Type", + "tags": [], + "label": "ThreatMapping", + "description": [], + "signature": [ + "{ entries: { field: string; type: \"mapping\"; value: string; }[]; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatMappingEntries", + "type": "Type", + "tags": [], + "label": "ThreatMappingEntries", + "description": [], + "signature": [ + "{ field: string; type: \"mapping\"; value: string; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatMappingOrUndefined", + "type": "Type", + "tags": [], + "label": "ThreatMappingOrUndefined", + "description": [], + "signature": [ + "{ entries: { field: string; type: \"mapping\"; value: string; }[]; }[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatQuery", + "type": "Type", + "tags": [], + "label": "ThreatQuery", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatQueryOrUndefined", + "type": "Type", + "tags": [], + "label": "ThreatQueryOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.Threats", + "type": "Type", + "tags": [], + "label": "Threats", + "description": [], + "signature": [ + "({ framework: string; tactic: { id: string; name: string; reference: string; }; } & { technique?: ({ id: string; name: string; reference: string; } & { subtechnique?: { id: string; name: string; reference: string; }[] | undefined; })[] | undefined; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatsOrUndefined", + "type": "Type", + "tags": [], + "label": "ThreatsOrUndefined", + "description": [], + "signature": [ + "({ framework: string; tactic: { id: string; name: string; reference: string; }; } & { technique?: ({ id: string; name: string; reference: string; } & { subtechnique?: { id: string; name: string; reference: string; }[] | undefined; })[] | undefined; })[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatSubtechnique", + "type": "Type", + "tags": [], + "label": "ThreatSubtechnique", + "description": [], + "signature": [ + "{ id: string; name: string; reference: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_subtechnique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThreatTechnique", + "type": "Type", + "tags": [], + "label": "ThreatTechnique", + "description": [], + "signature": [ + "{ id: string; name: string; reference: string; } & { subtechnique?: { id: string; name: string; reference: string; }[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_technique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.Throttle", + "type": "Type", + "tags": [], + "label": "Throttle", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/throttle/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThrottleOrNull", + "type": "Type", + "tags": [], + "label": "ThrottleOrNull", + "description": [], + "signature": [ + "string | null" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/throttle/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ThrottleOrUndefinedOrNull", + "type": "Type", + "tags": [], + "label": "ThrottleOrUndefinedOrNull", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/throttle/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.Type", + "type": "Type", + "tags": [], + "label": "Type", + "description": [], + "signature": [ + "\"query\" | \"eql\" | \"threshold\" | \"threat_match\" | \"machine_learning\" | \"saved_query\"" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.TypeOrUndefined", + "type": "Type", + "tags": [], + "label": "TypeOrUndefined", + "description": [], + "signature": [ + "\"query\" | \"eql\" | \"threshold\" | \"threat_match\" | \"machine_learning\" | \"saved_query\" | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/type/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.action", + "type": "Object", + "tags": [], + "label": "action", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ group: ", + "StringC", + "; id: ", + "StringC", + "; action_type_id: ", + "StringC", + "; params: ", + "Type", + "<", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", unknown>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.action_action_type_id", + "type": "Object", + "tags": [], + "label": "action_action_type_id", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.action_group", + "type": "Object", + "tags": [ + "see" + ], + "label": "action_group", + "description": [ + "\nParams is an \"object\", since it is a type of AlertActionParams which is action templates." + ], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.action_id", + "type": "Object", + "tags": [], + "label": "action_id", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.action_params", + "type": "Object", + "tags": [], + "label": "action_params", + "description": [], + "signature": [ + "Type", + "<", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.actions", + "type": "Object", + "tags": [], + "label": "actions", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ group: ", + "StringC", + "; id: ", + "StringC", + "; action_type_id: ", + "StringC", + "; params: ", + "Type", + "<", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", unknown>; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.actionsCamel", + "type": "Object", + "tags": [], + "label": "actionsCamel", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ group: ", + "StringC", + "; id: ", + "StringC", + "; actionTypeId: ", + "StringC", + "; params: ", + "Type", + "<", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", unknown>; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/actions/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.concurrent_searches", + "type": "Object", + "tags": [], + "label": "concurrent_searches", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.concurrentSearchesOrUndefined", + "type": "Object", + "tags": [], + "label": "concurrentSearchesOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultActionsArray", + "type": "Object", + "tags": [], + "label": "DefaultActionsArray", + "description": [], + "signature": [ + "Type", + "<{ group: string; id: string; action_type_id: string; params: ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + "; }[], { group: string; id: string; action_type_id: string; params: ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + "; }[] | undefined, unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_actions_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultExportFileName", + "type": "Object", + "tags": [], + "label": "DefaultExportFileName", + "description": [ + "\nTypes the DefaultExportFileName as:\n - If null or undefined, then a default of \"export.ndjson\" will be used" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_export_file_name/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultFromString", + "type": "Object", + "tags": [], + "label": "DefaultFromString", + "description": [ + "\nTypes the DefaultFromString as:\n - If null or undefined, then a default of the string \"now-6m\" will be used" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_from_string/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultIntervalString", + "type": "Object", + "tags": [], + "label": "DefaultIntervalString", + "description": [ + "\nTypes the DefaultIntervalString as:\n - If null or undefined, then a default of the string \"5m\" will be used" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_interval_string/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultLanguageString", + "type": "Object", + "tags": [], + "label": "DefaultLanguageString", + "description": [ + "\nTypes the DefaultLanguageString as:\n - If null or undefined, then a default of the string \"kuery\" will be used" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_language_string/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultMaxSignalsNumber", + "type": "Object", + "tags": [], + "label": "DefaultMaxSignalsNumber", + "description": [ + "\nTypes the default max signal:\n - Natural Number (positive integer and not a float),\n - greater than 1\n - If undefined then it will use DEFAULT_MAX_SIGNALS (100) as the default" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_max_signals_number/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultPage", + "type": "Object", + "tags": [], + "label": "DefaultPage", + "description": [ + "\nTypes the DefaultPerPage as:\n - If a string this will convert the string to a number\n - If null or undefined, then a default of 1 will be used\n - If the number is 0 or less this will not validate as it has to be a positive number greater than zero" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultPerPage", + "type": "Object", + "tags": [], + "label": "DefaultPerPage", + "description": [ + "\nTypes the DefaultPerPage as:\n - If a string this will convert the string to a number\n - If null or undefined, then a default of 20 will be used\n - If the number is 0 or less this will not validate as it has to be a positive number greater than zero" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_per_page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultRiskScoreMappingArray", + "type": "Object", + "tags": [], + "label": "DefaultRiskScoreMappingArray", + "description": [ + "\nTypes the DefaultStringArray as:\n - If null or undefined, then a default risk_score_mapping array will be set" + ], + "signature": [ + "Type", + "<{ field: string; value: string; operator: \"equals\"; risk_score: number | undefined; }[], { field: string; value: string; operator: \"equals\"; risk_score: number | undefined; }[] | undefined, unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_risk_score_mapping_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultSeverityMappingArray", + "type": "Object", + "tags": [], + "label": "DefaultSeverityMappingArray", + "description": [ + "\nTypes the DefaultStringArray as:\n - If null or undefined, then a default severity_mapping array will be set" + ], + "signature": [ + "Type", + "<{ field: string; operator: \"equals\"; value: string; severity: \"high\" | \"low\" | \"critical\" | \"medium\"; }[], { field: string; operator: \"equals\"; value: string; severity: \"high\" | \"low\" | \"critical\" | \"medium\"; }[] | undefined, unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_severity_mapping_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultThreatArray", + "type": "Object", + "tags": [], + "label": "DefaultThreatArray", + "description": [ + "\nTypes the DefaultThreatArray as:\n - If null or undefined, then an empty array will be set" + ], + "signature": [ + "Type", + "<({ framework: string; tactic: { id: string; name: string; reference: string; }; } & { technique?: ({ id: string; name: string; reference: string; } & { subtechnique?: { id: string; name: string; reference: string; }[] | undefined; })[] | undefined; })[], ({ framework: string; tactic: { id: string; name: string; reference: string; }; } & { technique?: ({ id: string; name: string; reference: string; } & { subtechnique?: { id: string; name: string; reference: string; }[] | undefined; })[] | undefined; })[] | undefined, unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_threat_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultThrottleNull", + "type": "Object", + "tags": [], + "label": "DefaultThrottleNull", + "description": [ + "\nTypes the DefaultThrottleNull as:\n - If null or undefined, then a null will be set" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_throttle_null/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultToString", + "type": "Object", + "tags": [], + "label": "DefaultToString", + "description": [ + "\nTypes the DefaultToString as:\n - If null or undefined, then a default of the string \"now\" will be used" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_to_string/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.DefaultUuid", + "type": "Object", + "tags": [], + "label": "DefaultUuid", + "description": [ + "\nTypes the DefaultUuid as:\n - If null or undefined, then a default string uuid.v4() will be\n created otherwise it will be checked just against an empty string" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/default_uuid/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.from", + "type": "Object", + "tags": [], + "label": "from", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/from/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.fromOrUndefined", + "type": "Object", + "tags": [], + "label": "fromOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/from/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.items_per_search", + "type": "Object", + "tags": [], + "label": "items_per_search", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.itemsPerSearchOrUndefined", + "type": "Object", + "tags": [], + "label": "itemsPerSearchOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.language", + "type": "Object", + "tags": [], + "label": "language", + "description": [], + "signature": [ + "KeyofC", + "<{ eql: null; kuery: null; lucene: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/language/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.languageOrUndefined", + "type": "Object", + "tags": [], + "label": "languageOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "KeyofC", + "<{ eql: null; kuery: null; lucene: null; }>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/language/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.machine_learning_job_id", + "type": "Object", + "tags": [], + "label": "machine_learning_job_id", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "Type", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/machine_learning_job_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.machine_learning_job_id_normalized", + "type": "Object", + "tags": [], + "label": "machine_learning_job_id_normalized", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/normalized_ml_job_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.machineLearningJobIdNormalizedOrUndefined", + "type": "Object", + "tags": [], + "label": "machineLearningJobIdNormalizedOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/normalized_ml_job_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.machineLearningJobIdOrUndefined", + "type": "Object", + "tags": [], + "label": "machineLearningJobIdOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "UnionC", + "<[", + "StringC", + ", ", + "Type", + "]>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/machine_learning_job_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.max_signals", + "type": "Object", + "tags": [], + "label": "max_signals", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/max_signals/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.maxSignalsOrUndefined", + "type": "Object", + "tags": [], + "label": "maxSignalsOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/max_signals/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.ReferencesDefaultArray", + "type": "Object", + "tags": [], + "label": "ReferencesDefaultArray", + "description": [ + "\nTypes the ReferencesDefaultArray as:\n - If null or undefined, then a default array will be set" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/references_default_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.risk_score", + "type": "Object", + "tags": [], + "label": "risk_score", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.risk_score_mapping", + "type": "Object", + "tags": [], + "label": "risk_score_mapping", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; value: ", + "StringC", + "; operator: ", + "KeyofC", + "<{ equals: null; }>; risk_score: ", + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.risk_score_mapping_field", + "type": "Object", + "tags": [], + "label": "risk_score_mapping_field", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.risk_score_mapping_item", + "type": "Object", + "tags": [], + "label": "risk_score_mapping_item", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; value: ", + "StringC", + "; operator: ", + "KeyofC", + "<{ equals: null; }>; risk_score: ", + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.risk_score_mapping_value", + "type": "Object", + "tags": [], + "label": "risk_score_mapping_value", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.RiskScore", + "type": "Object", + "tags": [], + "label": "RiskScore", + "description": [ + "\nTypes the risk score as:\n - Natural Number (positive integer and not a float),\n - Between the values [0 and 100] inclusive." + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.riskScoreMappingOrUndefined", + "type": "Object", + "tags": [], + "label": "riskScoreMappingOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; value: ", + "StringC", + "; operator: ", + "KeyofC", + "<{ equals: null; }>; risk_score: ", + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>; }>>>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.riskScoreOrUndefined", + "type": "Object", + "tags": [], + "label": "riskScoreOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/risk_score/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.saved_object_attribute", + "type": "Object", + "tags": [], + "label": "saved_object_attribute", + "description": [], + "signature": [ + "Type", + "<", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttribute", + "text": "SavedObjectAttribute" + }, + ", ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttribute", + "text": "SavedObjectAttribute" + }, + ", unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/saved_object_attributes/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.saved_object_attribute_single", + "type": "Object", + "tags": [], + "label": "saved_object_attribute_single", + "description": [], + "signature": [ + "Type", + "<", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributeSingle", + "text": "SavedObjectAttributeSingle" + }, + ", ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributeSingle", + "text": "SavedObjectAttributeSingle" + }, + ", unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/saved_object_attributes/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.saved_object_attributes", + "type": "Object", + "tags": [], + "label": "saved_object_attributes", + "description": [], + "signature": [ + "Type", + "<", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", ", + { + "pluginId": "@kbn/securitysolution-io-ts-alerting-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsAlertingTypesPluginApi", + "section": "def-common.SavedObjectAttributes", + "text": "SavedObjectAttributes" + }, + ", unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/saved_object_attributes/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.severity", + "type": "Object", + "tags": [], + "label": "severity", + "description": [], + "signature": [ + "KeyofC", + "<{ low: null; medium: null; high: null; critical: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.severity_mapping", + "type": "Object", + "tags": [], + "label": "severity_mapping", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; operator: ", + "KeyofC", + "<{ equals: null; }>; value: ", + "StringC", + "; severity: ", + "KeyofC", + "<{ low: null; medium: null; high: null; critical: null; }>; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.severity_mapping_field", + "type": "Object", + "tags": [], + "label": "severity_mapping_field", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.severity_mapping_item", + "type": "Object", + "tags": [], + "label": "severity_mapping_item", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; operator: ", + "KeyofC", + "<{ equals: null; }>; value: ", + "StringC", + "; severity: ", + "KeyofC", + "<{ low: null; medium: null; high: null; critical: null; }>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.severity_mapping_value", + "type": "Object", + "tags": [], + "label": "severity_mapping_value", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.severityMappingOrUndefined", + "type": "Object", + "tags": [], + "label": "severityMappingOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "StringC", + "; operator: ", + "KeyofC", + "<{ equals: null; }>; value: ", + "StringC", + "; severity: ", + "KeyofC", + "<{ low: null; medium: null; high: null; critical: null; }>; }>>>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.severityOrUndefined", + "type": "Object", + "tags": [], + "label": "severityOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "KeyofC", + "<{ low: null; medium: null; high: null; critical: null; }>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/severity/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat", + "type": "Object", + "tags": [], + "label": "threat", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ framework: ", + "StringC", + "; tactic: ", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ technique: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ subtechnique: ", + "ArrayC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>; }>>]>>; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_filters", + "type": "Object", + "tags": [], + "label": "threat_filters", + "description": [], + "signature": [ + "ArrayC", + "<", + "UnknownC", + ">" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_framework", + "type": "Object", + "tags": [], + "label": "threat_framework", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_index", + "type": "Object", + "tags": [], + "label": "threat_index", + "description": [], + "signature": [ + "ArrayC", + "<", + "StringC", + ">" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_indicator_path", + "type": "Object", + "tags": [], + "label": "threat_indicator_path", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_language", + "type": "Object", + "tags": [], + "label": "threat_language", + "description": [], + "signature": [ + "UnionC", + "<[", + "KeyofC", + "<{ eql: null; kuery: null; lucene: null; }>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_mapping", + "type": "Object", + "tags": [], + "label": "threat_mapping", + "description": [], + "signature": [ + "Type", + "<{ entries: { field: string; type: \"mapping\"; value: string; }[]; }[], { entries: { field: string; type: \"mapping\"; value: string; }[]; }[], unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_query", + "type": "Object", + "tags": [], + "label": "threat_query", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_subtechnique", + "type": "Object", + "tags": [], + "label": "threat_subtechnique", + "description": [], + "signature": [ + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_subtechnique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_subtechnique_id", + "type": "Object", + "tags": [], + "label": "threat_subtechnique_id", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_subtechnique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_subtechnique_name", + "type": "Object", + "tags": [], + "label": "threat_subtechnique_name", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_subtechnique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_subtechnique_reference", + "type": "Object", + "tags": [], + "label": "threat_subtechnique_reference", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_subtechnique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_subtechniques", + "type": "Object", + "tags": [], + "label": "threat_subtechniques", + "description": [], + "signature": [ + "ArrayC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_subtechnique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_tactic", + "type": "Object", + "tags": [], + "label": "threat_tactic", + "description": [], + "signature": [ + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_tactic/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_tactic_id", + "type": "Object", + "tags": [], + "label": "threat_tactic_id", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_tactic/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_tactic_name", + "type": "Object", + "tags": [], + "label": "threat_tactic_name", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_tactic/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_tactic_reference", + "type": "Object", + "tags": [], + "label": "threat_tactic_reference", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_tactic/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_technique", + "type": "Object", + "tags": [], + "label": "threat_technique", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ subtechnique: ", + "ArrayC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_technique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_technique_id", + "type": "Object", + "tags": [], + "label": "threat_technique_id", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_technique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_technique_name", + "type": "Object", + "tags": [], + "label": "threat_technique_name", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_technique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_technique_reference", + "type": "Object", + "tags": [], + "label": "threat_technique_reference", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_technique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threat_techniques", + "type": "Object", + "tags": [], + "label": "threat_techniques", + "description": [], + "signature": [ + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ subtechnique: ", + "ArrayC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>; }>>]>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_technique/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatFiltersOrUndefined", + "type": "Object", + "tags": [], + "label": "threatFiltersOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "UnknownC", + ">, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatIndexOrUndefined", + "type": "Object", + "tags": [], + "label": "threatIndexOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "StringC", + ">, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatIndicatorPathOrUndefined", + "type": "Object", + "tags": [], + "label": "threatIndicatorPathOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatLanguageOrUndefined", + "type": "Object", + "tags": [], + "label": "threatLanguageOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "UnionC", + "<[", + "KeyofC", + "<{ eql: null; kuery: null; lucene: null; }>, ", + "UndefinedC", + "]>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatMap", + "type": "Object", + "tags": [], + "label": "threatMap", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ entries: ", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; type: ", + "KeyofC", + "<{ mapping: null; }>; value: ", + "Type", + "; }>>>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatMapEntry", + "type": "Object", + "tags": [], + "label": "threatMapEntry", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; type: ", + "KeyofC", + "<{ mapping: null; }>; value: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatMappingEntries", + "type": "Object", + "tags": [], + "label": "threatMappingEntries", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; type: ", + "KeyofC", + "<{ mapping: null; }>; value: ", + "Type", + "; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatMappingOrUndefined", + "type": "Object", + "tags": [], + "label": "threatMappingOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + "<{ entries: { field: string; type: \"mapping\"; value: string; }[]; }[], { entries: { field: string; type: \"mapping\"; value: string; }[]; }[], unknown>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatQueryOrUndefined", + "type": "Object", + "tags": [], + "label": "threatQueryOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat_mapping/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threats", + "type": "Object", + "tags": [], + "label": "threats", + "description": [], + "signature": [ + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ framework: ", + "StringC", + "; tactic: ", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ technique: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ subtechnique: ", + "ArrayC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>; }>>]>>; }>>]>>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.threatsOrUndefined", + "type": "Object", + "tags": [], + "label": "threatsOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ framework: ", + "StringC", + "; tactic: ", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ technique: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ subtechnique: ", + "ArrayC", + "<", + "TypeC", + "<{ id: ", + "StringC", + "; name: ", + "StringC", + "; reference: ", + "StringC", + "; }>>; }>>]>>; }>>]>>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/threat/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.throttle", + "type": "Object", + "tags": [], + "label": "throttle", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/throttle/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.throttleOrNull", + "type": "Object", + "tags": [], + "label": "throttleOrNull", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/throttle/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.throttleOrNullOrUndefined", + "type": "Object", + "tags": [], + "label": "throttleOrNullOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/throttle/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.type", + "type": "Object", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "KeyofC", + "<{ eql: null; machine_learning: null; query: null; saved_query: null; threshold: null; threat_match: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-alerting-types", + "id": "def-common.typeOrUndefined", + "type": "Object", + "tags": [], + "label": "typeOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "KeyofC", + "<{ eql: null; machine_learning: null; query: null; saved_query: null; threshold: null; threat_match: null; }>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-alerting-types/src/type/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx new file mode 100644 index 0000000000000..39c7549b8812e --- /dev/null +++ b/api_docs/kbn_securitysolution_io_ts_alerting_types.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnSecuritysolutionIoTsAlertingTypesPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-alerting-types +title: "@kbn/securitysolution-io-ts-alerting-types" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-io-ts-alerting-types plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-alerting-types'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionIoTsAlertingTypesObj from './kbn_securitysolution_io_ts_alerting_types.json'; + +io ts utilities and types to be shared with plugins from the security solution project + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 147 | 1 | 128 | 0 | + +## Common + +### Objects + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_io_ts_list_types.json b/api_docs/kbn_securitysolution_io_ts_list_types.json new file mode 100644 index 0000000000000..2a1efcc96c5a7 --- /dev/null +++ b/api_docs/kbn_securitysolution_io_ts_list_types.json @@ -0,0 +1,8113 @@ +{ + "id": "@kbn/securitysolution-io-ts-list-types", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateExceptionListItemValidate", + "type": "Function", + "tags": [], + "label": "updateExceptionListItemValidate", + "description": [], + "signature": [ + "(schema: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) => string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_validation/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateExceptionListItemValidate.$1", + "type": "CompoundType", + "tags": [], + "label": "schema", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_validation/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.validateComments", + "type": "Function", + "tags": [], + "label": "validateComments", + "description": [], + "signature": [ + "(item: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) => string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_validation/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.validateComments.$1", + "type": "CompoundType", + "tags": [], + "label": "item", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_validation/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddEndpointExceptionListProps", + "type": "Interface", + "tags": [], + "label": "AddEndpointExceptionListProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddEndpointExceptionListProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddEndpointExceptionListProps.signal", + "type": "Object", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "AbortSignal" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddExceptionListItemProps", + "type": "Interface", + "tags": [], + "label": "AddExceptionListItemProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddExceptionListItemProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddExceptionListItemProps.listItem", + "type": "CompoundType", + "tags": [], + "label": "listItem", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddExceptionListItemProps.signal", + "type": "Object", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "AbortSignal" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddExceptionListProps", + "type": "Interface", + "tags": [], + "label": "AddExceptionListProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddExceptionListProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddExceptionListProps.list", + "type": "CompoundType", + "tags": [], + "label": "list", + "description": [], + "signature": [ + "{ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; } & { list_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; version?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddExceptionListProps.signal", + "type": "Object", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "AbortSignal" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByIdProps", + "type": "Interface", + "tags": [], + "label": "ApiCallByIdProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByIdProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByIdProps.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByIdProps.namespaceType", + "type": "CompoundType", + "tags": [], + "label": "namespaceType", + "description": [], + "signature": [ + "\"single\" | \"agnostic\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByIdProps.signal", + "type": "Object", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "AbortSignal" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByListIdProps", + "type": "Interface", + "tags": [], + "label": "ApiCallByListIdProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByListIdProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByListIdProps.listIds", + "type": "Array", + "tags": [], + "label": "listIds", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByListIdProps.namespaceTypes", + "type": "Array", + "tags": [], + "label": "namespaceTypes", + "description": [], + "signature": [ + "(\"single\" | \"agnostic\")[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByListIdProps.filterOptions", + "type": "Array", + "tags": [], + "label": "filterOptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.FilterExceptionsOptions", + "text": "FilterExceptionsOptions" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByListIdProps.pagination", + "type": "Object", + "tags": [], + "label": "pagination", + "description": [], + "signature": [ + "{ page?: number | undefined; perPage?: number | undefined; total?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallByListIdProps.signal", + "type": "Object", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "AbortSignal" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFetchExceptionListsProps", + "type": "Interface", + "tags": [], + "label": "ApiCallFetchExceptionListsProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFetchExceptionListsProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFetchExceptionListsProps.namespaceTypes", + "type": "string", + "tags": [], + "label": "namespaceTypes", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFetchExceptionListsProps.pagination", + "type": "Object", + "tags": [], + "label": "pagination", + "description": [], + "signature": [ + "{ page?: number | undefined; perPage?: number | undefined; total?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFetchExceptionListsProps.filters", + "type": "string", + "tags": [], + "label": "filters", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFetchExceptionListsProps.signal", + "type": "Object", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "AbortSignal" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps", + "type": "Interface", + "tags": [], + "label": "ApiCallFindListsItemsMemoProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps.lists", + "type": "Array", + "tags": [], + "label": "lists", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListIdentifiers", + "text": "ExceptionListIdentifiers" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps.filterOptions", + "type": "Array", + "tags": [], + "label": "filterOptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.FilterExceptionsOptions", + "text": "FilterExceptionsOptions" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps.pagination", + "type": "Object", + "tags": [], + "label": "pagination", + "description": [], + "signature": [ + "{ page?: number | undefined; perPage?: number | undefined; total?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps.showDetectionsListsOnly", + "type": "boolean", + "tags": [], + "label": "showDetectionsListsOnly", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps.showEndpointListsOnly", + "type": "boolean", + "tags": [], + "label": "showEndpointListsOnly", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps.onError", + "type": "Function", + "tags": [], + "label": "onError", + "description": [], + "signature": [ + "(arg: string[]) => void" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps.onError.$1", + "type": "Array", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps.onSuccess", + "type": "Function", + "tags": [], + "label": "onSuccess", + "description": [], + "signature": [ + "(arg: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UseExceptionListItemsSuccess", + "text": "UseExceptionListItemsSuccess" + }, + ") => void" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallFindListsItemsMemoProps.onSuccess.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UseExceptionListItemsSuccess", + "text": "UseExceptionListItemsSuccess" + } + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallMemoProps", + "type": "Interface", + "tags": [], + "label": "ApiCallMemoProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallMemoProps.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallMemoProps.namespaceType", + "type": "CompoundType", + "tags": [], + "label": "namespaceType", + "description": [], + "signature": [ + "\"single\" | \"agnostic\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallMemoProps.onError", + "type": "Function", + "tags": [], + "label": "onError", + "description": [], + "signature": [ + "(arg: Error) => void" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallMemoProps.onError.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + "Error" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiCallMemoProps.onSuccess", + "type": "Function", + "tags": [], + "label": "onSuccess", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiListExportProps", + "type": "Interface", + "tags": [], + "label": "ApiListExportProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiListExportProps.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiListExportProps.listId", + "type": "string", + "tags": [], + "label": "listId", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiListExportProps.namespaceType", + "type": "CompoundType", + "tags": [], + "label": "namespaceType", + "description": [], + "signature": [ + "\"single\" | \"agnostic\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiListExportProps.onError", + "type": "Function", + "tags": [], + "label": "onError", + "description": [], + "signature": [ + "(err: Error) => void" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiListExportProps.onError.$1", + "type": "Object", + "tags": [], + "label": "err", + "description": [], + "signature": [ + "Error" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiListExportProps.onSuccess", + "type": "Function", + "tags": [], + "label": "onSuccess", + "description": [], + "signature": [ + "(blob: Blob) => void" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ApiListExportProps.onSuccess.$1", + "type": "Object", + "tags": [], + "label": "blob", + "description": [], + "signature": [ + "Blob" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionList", + "type": "Interface", + "tags": [], + "label": "ExceptionList", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionList", + "text": "ExceptionList" + }, + " extends { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionList.totalItems", + "type": "number", + "tags": [], + "label": "totalItems", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListFilter", + "type": "Interface", + "tags": [], + "label": "ExceptionListFilter", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListFilter.name", + "type": "CompoundType", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListFilter.list_id", + "type": "CompoundType", + "tags": [], + "label": "list_id", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListFilter.created_by", + "type": "CompoundType", + "tags": [], + "label": "created_by", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListFilter.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListFilter.tags", + "type": "CompoundType", + "tags": [], + "label": "tags", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListIdentifiers", + "type": "Interface", + "tags": [], + "label": "ExceptionListIdentifiers", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListIdentifiers.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListIdentifiers.listId", + "type": "string", + "tags": [], + "label": "listId", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListIdentifiers.namespaceType", + "type": "CompoundType", + "tags": [], + "label": "namespaceType", + "description": [], + "signature": [ + "\"single\" | \"agnostic\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListIdentifiers.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExportExceptionListProps", + "type": "Interface", + "tags": [], + "label": "ExportExceptionListProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExportExceptionListProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExportExceptionListProps.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExportExceptionListProps.listId", + "type": "string", + "tags": [], + "label": "listId", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExportExceptionListProps.namespaceType", + "type": "CompoundType", + "tags": [], + "label": "namespaceType", + "description": [], + "signature": [ + "\"single\" | \"agnostic\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExportExceptionListProps.signal", + "type": "Object", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "AbortSignal" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FilterExceptionsOptions", + "type": "Interface", + "tags": [], + "label": "FilterExceptionsOptions", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FilterExceptionsOptions.filter", + "type": "string", + "tags": [], + "label": "filter", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FilterExceptionsOptions.tags", + "type": "Array", + "tags": [], + "label": "tags", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Pagination", + "type": "Interface", + "tags": [], + "label": "Pagination", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Pagination.page", + "type": "number", + "tags": [], + "label": "page", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Pagination.perPage", + "type": "number", + "tags": [], + "label": "perPage", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Pagination.total", + "type": "number", + "tags": [], + "label": "total", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PersistHookProps", + "type": "Interface", + "tags": [], + "label": "PersistHookProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PersistHookProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PersistHookProps.onError", + "type": "Function", + "tags": [], + "label": "onError", + "description": [], + "signature": [ + "(arg: Error) => void" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PersistHookProps.onError.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + "Error" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListItemProps", + "type": "Interface", + "tags": [], + "label": "UpdateExceptionListItemProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListItemProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListItemProps.listItem", + "type": "CompoundType", + "tags": [], + "label": "listItem", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListItemProps.signal", + "type": "Object", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "AbortSignal" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListProps", + "type": "Interface", + "tags": [], + "label": "UpdateExceptionListProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListProps.list", + "type": "CompoundType", + "tags": [], + "label": "list", + "description": [], + "signature": [ + "{ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; } & { _version?: string | undefined; id?: string | undefined; list_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; version?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListProps.signal", + "type": "Object", + "tags": [], + "label": "signal", + "description": [], + "signature": [ + "AbortSignal" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListItemsSuccess", + "type": "Interface", + "tags": [], + "label": "UseExceptionListItemsSuccess", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListItemsSuccess.exceptions", + "type": "Array", + "tags": [], + "label": "exceptions", + "description": [], + "signature": [ + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListItemsSuccess.pagination", + "type": "Object", + "tags": [], + "label": "pagination", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.Pagination", + "text": "Pagination" + } + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps", + "type": "Interface", + "tags": [], + "label": "UseExceptionListProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.lists", + "type": "Array", + "tags": [], + "label": "lists", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListIdentifiers", + "text": "ExceptionListIdentifiers" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.onError", + "type": "Function", + "tags": [], + "label": "onError", + "description": [], + "signature": [ + "((arg: string[]) => void) | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.onError.$1", + "type": "Array", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.filterOptions", + "type": "Array", + "tags": [], + "label": "filterOptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.FilterExceptionsOptions", + "text": "FilterExceptionsOptions" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.pagination", + "type": "Object", + "tags": [], + "label": "pagination", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.Pagination", + "text": "Pagination" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.showDetectionsListsOnly", + "type": "boolean", + "tags": [], + "label": "showDetectionsListsOnly", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.showEndpointListsOnly", + "type": "boolean", + "tags": [], + "label": "showEndpointListsOnly", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.matchFilters", + "type": "boolean", + "tags": [], + "label": "matchFilters", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.onSuccess", + "type": "Function", + "tags": [], + "label": "onSuccess", + "description": [], + "signature": [ + "((arg: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UseExceptionListItemsSuccess", + "text": "UseExceptionListItemsSuccess" + }, + ") => void) | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListProps.onSuccess.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UseExceptionListItemsSuccess", + "text": "UseExceptionListItemsSuccess" + } + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsProps", + "type": "Interface", + "tags": [], + "label": "UseExceptionListsProps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsProps.errorMessage", + "type": "string", + "tags": [], + "label": "errorMessage", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsProps.filterOptions", + "type": "Object", + "tags": [], + "label": "filterOptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListFilter", + "text": "ExceptionListFilter" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsProps.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsProps.namespaceTypes", + "type": "Array", + "tags": [], + "label": "namespaceTypes", + "description": [], + "signature": [ + "(\"single\" | \"agnostic\")[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsProps.notifications", + "type": "Any", + "tags": [], + "label": "notifications", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsProps.initialPagination", + "type": "Object", + "tags": [], + "label": "initialPagination", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.Pagination", + "text": "Pagination" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsProps.showTrustedApps", + "type": "boolean", + "tags": [], + "label": "showTrustedApps", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsProps.showEventFilters", + "type": "boolean", + "tags": [], + "label": "showEventFilters", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsSuccess", + "type": "Interface", + "tags": [], + "label": "UseExceptionListsSuccess", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsSuccess.exceptions", + "type": "Array", + "tags": [], + "label": "exceptions", + "description": [], + "signature": [ + "{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UseExceptionListsSuccess.pagination", + "type": "Object", + "tags": [], + "label": "pagination", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.Pagination", + "text": "Pagination" + } + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListTypeEnum", + "type": "Enum", + "tags": [], + "label": "ExceptionListTypeEnum", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/exception_list/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListOperatorEnum", + "type": "Enum", + "tags": [], + "label": "ListOperatorEnum", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_operator/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListOperatorTypeEnum", + "type": "Enum", + "tags": [], + "label": "ListOperatorTypeEnum", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_operator/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "misc": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common._VersionOrUndefined", + "type": "Type", + "tags": [], + "label": "_VersionOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/underscore_version/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AcknowledgeSchema", + "type": "Type", + "tags": [], + "label": "AcknowledgeSchema", + "description": [], + "signature": [ + "{ acknowledged: boolean; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/acknowledge_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.AddExceptionList", + "type": "Type", + "tags": [], + "label": "AddExceptionList", + "description": [], + "signature": [ + "({ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; } & { list_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; version?: number | undefined; }) | ({ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; } & { _version?: string | undefined; id?: string | undefined; list_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; version?: number | undefined; })" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/typescript_types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Comment", + "type": "Type", + "tags": [], + "label": "Comment", + "description": [], + "signature": [ + "{ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CommentsArray", + "type": "Type", + "tags": [], + "label": "CommentsArray", + "description": [], + "signature": [ + "({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CommentsArrayOrUndefined", + "type": "Type", + "tags": [], + "label": "CommentsArrayOrUndefined", + "description": [], + "signature": [ + "({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateComment", + "type": "Type", + "tags": [], + "label": "CreateComment", + "description": [], + "signature": [ + "{ comment: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/create_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateComments", + "type": "Type", + "tags": [], + "label": "CreateComments", + "description": [], + "signature": [ + "{ comment: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/create_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateCommentsArray", + "type": "Type", + "tags": [], + "label": "CreateCommentsArray", + "description": [], + "signature": [ + "{ comment: string; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/create_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateCommentsArrayOrUndefined", + "type": "Type", + "tags": [], + "label": "CreateCommentsArrayOrUndefined", + "description": [], + "signature": [ + "{ comment: string; }[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/create_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateEndpointListItemSchema", + "type": "Type", + "tags": [], + "label": "CreateEndpointListItemSchema", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateEndpointListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "CreateEndpointListItemSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ description: string; entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; comments: { comment: string; }[] | undefined; item_id: string | undefined; meta: object | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"type\" | \"description\" | \"name\" | \"meta\"> & { comments: { comment: string; }[]; tags: string[]; item_id: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateEndpointListSchema", + "type": "Type", + "tags": [], + "label": "CreateEndpointListSchema", + "description": [], + "signature": [ + "{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; } | {}" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/create_endpoint_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateExceptionListItemSchema", + "type": "Type", + "tags": [], + "label": "CreateExceptionListItemSchema", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateExceptionListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "CreateExceptionListItemSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; comments: { comment: string; }[] | undefined; item_id: string | undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"type\" | \"description\" | \"name\" | \"meta\" | \"list_id\" | \"os_types\"> & { comments: { comment: string; }[]; tags: string[]; item_id: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateExceptionListSchema", + "type": "Type", + "tags": [], + "label": "CreateExceptionListSchema", + "description": [], + "signature": [ + "{ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; } & { list_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; version?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateExceptionListSchemaDecoded", + "type": "Type", + "tags": [], + "label": "CreateExceptionListSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; list_id: string | undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; version: number | undefined; }, \"type\" | \"description\" | \"name\" | \"version\" | \"meta\"> & { tags: string[]; list_id: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; version: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateListItemSchema", + "type": "Type", + "tags": [], + "label": "CreateListItemSchema", + "description": [], + "signature": [ + "{ list_id: string; value: string; } & { id?: string | undefined; meta?: object | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "CreateListItemSchemaDecoded", + "description": [], + "signature": [ + "{ list_id: string; value: string; id: string | undefined; meta: object | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateListSchema", + "type": "Type", + "tags": [], + "label": "CreateListSchema", + "description": [], + "signature": [ + "{ description: string; name: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; } & { deserializer?: string | undefined; id?: string | undefined; meta?: object | undefined; serializer?: string | undefined; version?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CreateListSchemaDecoded", + "type": "Type", + "tags": [], + "label": "CreateListSchemaDecoded", + "description": [], + "signature": [ + "{ type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; id: string | undefined; description: string; name: string; meta: object | undefined; serializer: string | undefined; deserializer: string | undefined; } & { version: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Cursor", + "type": "Type", + "tags": [], + "label": "Cursor", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/cursor/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.CursorOrUndefined", + "type": "Type", + "tags": [], + "label": "CursorOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/cursor/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DefaultNamespaceArrayType", + "type": "Type", + "tags": [], + "label": "DefaultNamespaceArrayType", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/default_namespace_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DefaultNamespaceArrayTypeDecoded", + "type": "Type", + "tags": [], + "label": "DefaultNamespaceArrayTypeDecoded", + "description": [], + "signature": [ + "(\"single\" | \"agnostic\")[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/default_namespace_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteEndpointListItemSchema", + "type": "Type", + "tags": [], + "label": "DeleteEndpointListItemSchema", + "description": [], + "signature": [ + "{ id?: string | undefined; item_id?: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteEndpointListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "DeleteEndpointListItemSchemaDecoded", + "description": [], + "signature": [ + "{ id: string | undefined; item_id: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteExceptionListItemSchema", + "type": "Type", + "tags": [], + "label": "DeleteExceptionListItemSchema", + "description": [], + "signature": [ + "{ id?: string | undefined; item_id?: string | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteExceptionListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "DeleteExceptionListItemSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ id: string | undefined; item_id: string | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; }, \"id\" | \"item_id\"> & { namespace_type: \"single\" | \"agnostic\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteExceptionListSchema", + "type": "Type", + "tags": [], + "label": "DeleteExceptionListSchema", + "description": [], + "signature": [ + "{ id?: string | undefined; list_id?: string | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteExceptionListSchemaDecoded", + "type": "Type", + "tags": [], + "label": "DeleteExceptionListSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ id: string | undefined; list_id: string | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; }, \"id\" | \"list_id\"> & { namespace_type: \"single\" | \"agnostic\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteListItemSchema", + "type": "Type", + "tags": [], + "label": "DeleteListItemSchema", + "description": [], + "signature": [ + "{ value: string | undefined; } & { id?: string | undefined; list_id?: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "DeleteListItemSchemaDecoded", + "description": [], + "signature": [ + "{ value: string | undefined; id: string | undefined; list_id: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteListSchema", + "type": "Type", + "tags": [], + "label": "DeleteListSchema", + "description": [], + "signature": [ + "{ id: string; deleteReferences: boolean | undefined; ignoreReferences: boolean | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeleteListSchemaEncoded", + "type": "Type", + "tags": [], + "label": "DeleteListSchemaEncoded", + "description": [], + "signature": [ + "{ id: string; } & { deleteReferences?: string | boolean | undefined; ignoreReferences?: string | boolean | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Description", + "type": "Type", + "tags": [], + "label": "Description", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/description/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DescriptionOrUndefined", + "type": "Type", + "tags": [], + "label": "DescriptionOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/description/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Deserializer", + "type": "Type", + "tags": [], + "label": "Deserializer", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/deserializer/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DeserializerOrUndefined", + "type": "Type", + "tags": [], + "label": "DeserializerOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/deserializer/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EndpointEntriesArray", + "type": "Type", + "tags": [], + "label": "EndpointEntriesArray", + "description": [], + "signature": [ + "({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EndpointNestedEntriesArray", + "type": "Type", + "tags": [], + "label": "EndpointNestedEntriesArray", + "description": [], + "signature": [ + "({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EntriesArray", + "type": "Type", + "tags": [], + "label": "EntriesArray", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EntriesArrayOrUndefined", + "type": "Type", + "tags": [], + "label": "EntriesArrayOrUndefined", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Entry", + "type": "Type", + "tags": [], + "label": "Entry", + "description": [], + "signature": [ + "{ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EntryExists", + "type": "Type", + "tags": [], + "label": "EntryExists", + "description": [], + "signature": [ + "{ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries_exist/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EntryList", + "type": "Type", + "tags": [], + "label": "EntryList", + "description": [], + "signature": [ + "{ field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries_list/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EntryMatch", + "type": "Type", + "tags": [], + "label": "EntryMatch", + "description": [], + "signature": [ + "{ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entry_match/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EntryMatchAny", + "type": "Type", + "tags": [], + "label": "EntryMatchAny", + "description": [], + "signature": [ + "{ field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entry_match_any/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EntryMatchWildcard", + "type": "Type", + "tags": [], + "label": "EntryMatchWildcard", + "description": [], + "signature": [ + "{ field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entry_match_wildcard/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.EntryNested", + "type": "Type", + "tags": [], + "label": "EntryNested", + "description": [], + "signature": [ + "{ entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entry_nested/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListItemSchema", + "type": "Type", + "tags": [], + "label": "ExceptionListItemSchema", + "description": [], + "signature": [ + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListItemType", + "type": "Type", + "tags": [], + "label": "ExceptionListItemType", + "description": [], + "signature": [ + "\"simple\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/exception_list_item_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListItemTypeOrUndefined", + "type": "Type", + "tags": [], + "label": "ExceptionListItemTypeOrUndefined", + "description": [], + "signature": [ + "\"simple\" | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/exception_list_item_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListSchema", + "type": "Type", + "tags": [], + "label": "ExceptionListSchema", + "description": [], + "signature": [ + "{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListSummarySchema", + "type": "Type", + "tags": [], + "label": "ExceptionListSummarySchema", + "description": [], + "signature": [ + "{ windows: number; linux: number; macos: number; total: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/exception_list_summary_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListType", + "type": "Type", + "tags": [], + "label": "ExceptionListType", + "description": [], + "signature": [ + "\"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/exception_list/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExceptionListTypeOrUndefined", + "type": "Type", + "tags": [], + "label": "ExceptionListTypeOrUndefined", + "description": [], + "signature": [ + "\"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\" | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/exception_list/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExportExceptionListQuerySchema", + "type": "Type", + "tags": [], + "label": "ExportExceptionListQuerySchema", + "description": [], + "signature": [ + "{ id: string; list_id: string; namespace_type: \"single\" | \"agnostic\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/export_exception_list_query_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExportListItemQuerySchema", + "type": "Type", + "tags": [], + "label": "ExportListItemQuerySchema", + "description": [], + "signature": [ + "{ list_id: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/export_list_item_query_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ExportListItemQuerySchemaEncoded", + "type": "Type", + "tags": [], + "label": "ExportListItemQuerySchemaEncoded", + "description": [], + "signature": [ + "{ list_id: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/export_list_item_query_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Filter", + "type": "Type", + "tags": [], + "label": "Filter", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/filter/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FilterOrUndefined", + "type": "Type", + "tags": [], + "label": "FilterOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/filter/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindEndpointListItemSchema", + "type": "Type", + "tags": [], + "label": "FindEndpointListItemSchema", + "description": [], + "signature": [ + "{ filter?: string | undefined; page?: string | undefined; per_page?: string | undefined; sort_field?: string | undefined; sort_order?: \"asc\" | \"desc\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindEndpointListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "FindEndpointListItemSchemaDecoded", + "description": [], + "signature": [ + "{ filter: string | undefined; page: number | undefined; per_page: number | undefined; sort_field: string | undefined; sort_order: \"asc\" | \"desc\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindExceptionListItemSchema", + "type": "Type", + "tags": [], + "label": "FindExceptionListItemSchema", + "description": [], + "signature": [ + "{ list_id: string; } & { filter?: string | null | undefined; namespace_type?: string | null | undefined; page?: string | undefined; per_page?: string | undefined; sort_field?: string | undefined; sort_order?: \"asc\" | \"desc\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindExceptionListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "FindExceptionListItemSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ list_id: string[]; filter: string[] | undefined; namespace_type: (\"single\" | \"agnostic\")[] | undefined; page: number | undefined; per_page: number | undefined; sort_field: string | undefined; sort_order: \"asc\" | \"desc\" | undefined; }, \"page\" | \"per_page\" | \"sort_field\" | \"sort_order\" | \"list_id\"> & { filter: string[]; namespace_type: (\"single\" | \"agnostic\")[]; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindExceptionListSchema", + "type": "Type", + "tags": [], + "label": "FindExceptionListSchema", + "description": [], + "signature": [ + "{ filter?: string | undefined; namespace_type?: string | null | undefined; page?: string | undefined; per_page?: string | undefined; sort_field?: string | undefined; sort_order?: \"asc\" | \"desc\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindExceptionListSchemaDecoded", + "type": "Type", + "tags": [], + "label": "FindExceptionListSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ filter: string | undefined; namespace_type: (\"single\" | \"agnostic\")[] | undefined; page: number | undefined; per_page: number | undefined; sort_field: string | undefined; sort_order: \"asc\" | \"desc\" | undefined; }, \"filter\" | \"page\" | \"per_page\" | \"sort_field\" | \"sort_order\"> & { namespace_type: (\"single\" | \"agnostic\")[]; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindListItemSchema", + "type": "Type", + "tags": [], + "label": "FindListItemSchema", + "description": [], + "signature": [ + "{ list_id: string; } & { cursor?: string | undefined; filter?: string | undefined; page?: string | undefined; per_page?: string | undefined; sort_field?: string | undefined; sort_order?: \"asc\" | \"desc\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "FindListItemSchemaDecoded", + "description": [], + "signature": [ + "{ list_id: string; cursor: string | undefined; filter: string | undefined; page: number | undefined; per_page: number | undefined; sort_field: string | undefined; sort_order: \"asc\" | \"desc\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindListSchema", + "type": "Type", + "tags": [], + "label": "FindListSchema", + "description": [], + "signature": [ + "{ cursor: string | undefined; filter: string | undefined; page: number | undefined; per_page: number | undefined; sort_field: string | undefined; sort_order: \"asc\" | \"desc\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FindListSchemaEncoded", + "type": "Type", + "tags": [], + "label": "FindListSchemaEncoded", + "description": [], + "signature": [ + "{ cursor?: string | undefined; filter?: string | undefined; page?: string | undefined; per_page?: string | undefined; sort_field?: string | undefined; sort_order?: \"asc\" | \"desc\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FoundExceptionListItemSchema", + "type": "Type", + "tags": [], + "label": "FoundExceptionListItemSchema", + "description": [], + "signature": [ + "{ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/found_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FoundExceptionListSchema", + "type": "Type", + "tags": [], + "label": "FoundExceptionListSchema", + "description": [], + "signature": [ + "{ data: { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }[]; page: number; per_page: number; total: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/found_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FoundListItemSchema", + "type": "Type", + "tags": [], + "label": "FoundListItemSchema", + "description": [], + "signature": [ + "{ cursor: string; data: { _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }[]; page: number; per_page: number; total: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/found_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.FoundListSchema", + "type": "Type", + "tags": [], + "label": "FoundListSchema", + "description": [], + "signature": [ + "{ cursor: string; data: { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }[]; page: number; per_page: number; total: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/found_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Id", + "type": "Type", + "tags": [], + "label": "Id", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.IdOrUndefined", + "type": "Type", + "tags": [], + "label": "IdOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Immutable", + "type": "Type", + "tags": [], + "label": "Immutable", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/immutable/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ImmutableOrUndefined", + "type": "Type", + "tags": [], + "label": "ImmutableOrUndefined", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/immutable/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ImportListItemQuerySchema", + "type": "Type", + "tags": [], + "label": "ImportListItemQuerySchema", + "description": [], + "signature": [ + "{ deserializer: string | undefined; list_id: string | undefined; serializer: string | undefined; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/import_list_item_query_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ImportListItemQuerySchemaEncoded", + "type": "Type", + "tags": [], + "label": "ImportListItemQuerySchemaEncoded", + "description": [], + "signature": [ + "{ deserializer?: string | undefined; list_id?: string | undefined; serializer?: string | undefined; type?: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/import_list_item_query_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ImportListItemSchema", + "type": "Type", + "tags": [], + "label": "ImportListItemSchema", + "description": [], + "signature": [ + "{ file: object; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/import_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ImportListItemSchemaEncoded", + "type": "Type", + "tags": [], + "label": "ImportListItemSchemaEncoded", + "description": [], + "signature": [ + "{ file: object; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/import_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ItemId", + "type": "Type", + "tags": [], + "label": "ItemId", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/item_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ItemIdOrUndefined", + "type": "Type", + "tags": [], + "label": "ItemIdOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/item_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.List", + "type": "Type", + "tags": [], + "label": "List", + "description": [], + "signature": [ + "{ id: string; list_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; namespace_type: \"single\" | \"agnostic\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/lists/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListArray", + "type": "Type", + "tags": [], + "label": "ListArray", + "description": [], + "signature": [ + "{ id: string; list_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; namespace_type: \"single\" | \"agnostic\"; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/lists/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListArrayOrUndefined", + "type": "Type", + "tags": [], + "label": "ListArrayOrUndefined", + "description": [], + "signature": [ + "{ id: string; list_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; namespace_type: \"single\" | \"agnostic\"; }[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/lists/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListArraySchema", + "type": "Type", + "tags": [], + "label": "ListArraySchema", + "description": [], + "signature": [ + "{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListId", + "type": "Type", + "tags": [], + "label": "ListId", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListIdOrUndefined", + "type": "Type", + "tags": [], + "label": "ListIdOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListItemArraySchema", + "type": "Type", + "tags": [], + "label": "ListItemArraySchema", + "description": [], + "signature": [ + "{ _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListItemIndexExistSchema", + "type": "Type", + "tags": [], + "label": "ListItemIndexExistSchema", + "description": [], + "signature": [ + "{ list_index: boolean; list_item_index: boolean; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_item_index_exist_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListItemSchema", + "type": "Type", + "tags": [], + "label": "ListItemSchema", + "description": [], + "signature": [ + "{ _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListOperator", + "type": "Type", + "tags": [], + "label": "ListOperator", + "description": [], + "signature": [ + "\"excluded\" | \"included\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_operator/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListSchema", + "type": "Type", + "tags": [], + "label": "ListSchema", + "description": [], + "signature": [ + "{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ListType", + "type": "Type", + "tags": [], + "label": "ListType", + "description": [], + "signature": [ + "\"list\" | \"item\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Meta", + "type": "Type", + "tags": [], + "label": "Meta", + "description": [], + "signature": [ + "object" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/meta/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.MetaOrUndefined", + "type": "Type", + "tags": [], + "label": "MetaOrUndefined", + "description": [], + "signature": [ + "object | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/meta/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Name", + "type": "Type", + "tags": [], + "label": "Name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/name/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NameOrUndefined", + "type": "Type", + "tags": [], + "label": "NameOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/name/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NamespaceType", + "type": "Type", + "tags": [], + "label": "NamespaceType", + "description": [], + "signature": [ + "\"single\" | \"agnostic\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/default_namespace/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NamespaceTypeArray", + "type": "Type", + "tags": [], + "label": "NamespaceTypeArray", + "description": [], + "signature": [ + "(\"single\" | \"agnostic\")[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/default_namespace_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NestedEntriesArray", + "type": "Type", + "tags": [], + "label": "NestedEntriesArray", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NonEmptyEndpointEntriesArray", + "type": "Type", + "tags": [], + "label": "NonEmptyEndpointEntriesArray", + "description": [], + "signature": [ + "({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NonEmptyEndpointEntriesArrayDecoded", + "type": "Type", + "tags": [], + "label": "NonEmptyEndpointEntriesArrayDecoded", + "description": [], + "signature": [ + "({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NonEmptyEndpointNestedEntriesArray", + "type": "Type", + "tags": [], + "label": "NonEmptyEndpointNestedEntriesArray", + "description": [], + "signature": [ + "({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NonEmptyEndpointNestedEntriesArrayDecoded", + "type": "Type", + "tags": [], + "label": "NonEmptyEndpointNestedEntriesArrayDecoded", + "description": [], + "signature": [ + "({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NonEmptyEntriesArray", + "type": "Type", + "tags": [], + "label": "NonEmptyEntriesArray", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NonEmptyEntriesArrayDecoded", + "type": "Type", + "tags": [], + "label": "NonEmptyEntriesArrayDecoded", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NonEmptyNestedEntriesArray", + "type": "Type", + "tags": [], + "label": "NonEmptyNestedEntriesArray", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.NonEmptyNestedEntriesArrayDecoded", + "type": "Type", + "tags": [], + "label": "NonEmptyNestedEntriesArrayDecoded", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.OsType", + "type": "Type", + "tags": [], + "label": "OsType", + "description": [], + "signature": [ + "\"windows\" | \"linux\" | \"macos\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/os_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.OsTypeArray", + "type": "Type", + "tags": [], + "label": "OsTypeArray", + "description": [], + "signature": [ + "(\"windows\" | \"linux\" | \"macos\")[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/os_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.OsTypeArrayOrUndefined", + "type": "Type", + "tags": [], + "label": "OsTypeArrayOrUndefined", + "description": [], + "signature": [ + "(\"windows\" | \"linux\" | \"macos\")[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/os_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Page", + "type": "Type", + "tags": [], + "label": "Page", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PageOrUndefined", + "type": "Type", + "tags": [], + "label": "PageOrUndefined", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PatchListItemSchema", + "type": "Type", + "tags": [], + "label": "PatchListItemSchema", + "description": [], + "signature": [ + "{ id: string; } & { _version?: string | undefined; meta?: object | undefined; value?: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/patch_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PatchListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "PatchListItemSchemaDecoded", + "description": [], + "signature": [ + "{ id: string; _version: string | undefined; meta: object | undefined; value: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/patch_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PatchListSchema", + "type": "Type", + "tags": [], + "label": "PatchListSchema", + "description": [], + "signature": [ + "{ id: string; } & { _version?: string | undefined; description?: string | undefined; meta?: object | undefined; name?: string | undefined; version?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/patch_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PatchListSchemaDecoded", + "type": "Type", + "tags": [], + "label": "PatchListSchemaDecoded", + "description": [], + "signature": [ + "{ id: string; _version: string | undefined; description: string | undefined; meta: object | undefined; name: string | undefined; version: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/patch_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PerPage", + "type": "Type", + "tags": [], + "label": "PerPage", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/per_page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.PerPageOrUndefined", + "type": "Type", + "tags": [], + "label": "PerPageOrUndefined", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/per_page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ReadEndpointListItemSchema", + "type": "Type", + "tags": [], + "label": "ReadEndpointListItemSchema", + "description": [], + "signature": [ + "{ id?: string | undefined; item_id?: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ReadEndpointListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "ReadEndpointListItemSchemaDecoded", + "description": [], + "signature": [ + "{ id: string | undefined; item_id: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ReadExceptionListItemSchema", + "type": "Type", + "tags": [], + "label": "ReadExceptionListItemSchema", + "description": [], + "signature": [ + "{ id?: string | undefined; item_id?: string | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ReadExceptionListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "ReadExceptionListItemSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ id: string | undefined; item_id: string | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; }, \"id\" | \"item_id\"> & { namespace_type: \"single\" | \"agnostic\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ReadExceptionListSchema", + "type": "Type", + "tags": [], + "label": "ReadExceptionListSchema", + "description": [], + "signature": [ + "{ id?: string | undefined; list_id?: string | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ReadExceptionListSchemaDecoded", + "type": "Type", + "tags": [], + "label": "ReadExceptionListSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ id: string | undefined; list_id: string | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; }, \"id\" | \"list_id\"> & { namespace_type: \"single\" | \"agnostic\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ReadListItemSchema", + "type": "Type", + "tags": [], + "label": "ReadListItemSchema", + "description": [], + "signature": [ + "{ id?: string | undefined; list_id?: string | undefined; value?: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ReadListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "ReadListItemSchemaDecoded", + "description": [], + "signature": [ + "{ id: string | undefined; list_id: string | undefined; value: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.ReadListSchema", + "type": "Type", + "tags": [], + "label": "ReadListSchema", + "description": [], + "signature": [ + "{ id: string; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.SearchListItemArraySchema", + "type": "Type", + "tags": [], + "label": "SearchListItemArraySchema", + "description": [], + "signature": [ + "{ items: { _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }[]; value: unknown; }[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/search_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.SearchListItemSchema", + "type": "Type", + "tags": [], + "label": "SearchListItemSchema", + "description": [], + "signature": [ + "{ items: { _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }[]; value: unknown; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/search_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Serializer", + "type": "Type", + "tags": [], + "label": "Serializer", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/serializer/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.SerializerOrUndefined", + "type": "Type", + "tags": [], + "label": "SerializerOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/serializer/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.SortFieldOrUndefined", + "type": "Type", + "tags": [], + "label": "SortFieldOrUndefined", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/sort_field/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.SortOrderOrUndefined", + "type": "Type", + "tags": [], + "label": "SortOrderOrUndefined", + "description": [], + "signature": [ + "\"asc\" | \"desc\" | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/sort_order/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.SummaryExceptionListSchema", + "type": "Type", + "tags": [], + "label": "SummaryExceptionListSchema", + "description": [], + "signature": [ + "{ id?: string | undefined; list_id?: string | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/summary_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.SummaryExceptionListSchemaDecoded", + "type": "Type", + "tags": [], + "label": "SummaryExceptionListSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ id: string | undefined; list_id: string | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; }, \"id\" | \"list_id\"> & { namespace_type: \"single\" | \"agnostic\"; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/summary_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Tags", + "type": "Type", + "tags": [], + "label": "Tags", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/tags/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.TagsOrUndefined", + "type": "Type", + "tags": [], + "label": "TagsOrUndefined", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/tags/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.TotalOrUndefined", + "type": "Type", + "tags": [], + "label": "TotalOrUndefined", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/total/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.Type", + "type": "Type", + "tags": [], + "label": "Type", + "description": [], + "signature": [ + "\"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.TypeOrUndefined", + "type": "Type", + "tags": [], + "label": "TypeOrUndefined", + "description": [], + "signature": [ + "\"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\" | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateComment", + "type": "Type", + "tags": [], + "label": "UpdateComment", + "description": [], + "signature": [ + "{ comment: string; } & { id?: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/update_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateCommentsArray", + "type": "Type", + "tags": [], + "label": "UpdateCommentsArray", + "description": [], + "signature": [ + "({ comment: string; } & { id?: string | undefined; })[]" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/update_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateCommentsArrayOrUndefined", + "type": "Type", + "tags": [], + "label": "UpdateCommentsArrayOrUndefined", + "description": [], + "signature": [ + "({ comment: string; } & { id?: string | undefined; })[] | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/update_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateEndpointListItemSchema", + "type": "Type", + "tags": [], + "label": "UpdateEndpointListItemSchema", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateEndpointListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "UpdateEndpointListItemSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; _version: string | undefined; comments: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id: string | undefined; item_id: string | undefined; meta: object | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"type\" | \"id\" | \"description\" | \"name\" | \"meta\" | \"_version\" | \"os_types\" | \"item_id\"> & { comments: ({ comment: string; } & { id?: string | undefined; })[]; tags: string[]; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListItemSchema", + "type": "Type", + "tags": [], + "label": "UpdateExceptionListItemSchema", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "UpdateExceptionListItemSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; _version: string | undefined; comments: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id: string | undefined; item_id: string | undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; }, \"type\" | \"id\" | \"description\" | \"name\" | \"meta\" | \"_version\" | \"item_id\"> & { comments: ({ comment: string; } & { id?: string | undefined; })[]; tags: string[]; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListSchema", + "type": "Type", + "tags": [], + "label": "UpdateExceptionListSchema", + "description": [], + "signature": [ + "{ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; } & { _version?: string | undefined; id?: string | undefined; list_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; version?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateExceptionListSchemaDecoded", + "type": "Type", + "tags": [], + "label": "UpdateExceptionListSchemaDecoded", + "description": [], + "signature": [ + "Pick<{ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; _version: string | undefined; id: string | undefined; list_id: string | undefined; meta: object | undefined; namespace_type: \"single\" | \"agnostic\" | undefined; os_types: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags: string[] | undefined; version: number | undefined; }, \"type\" | \"id\" | \"description\" | \"name\" | \"version\" | \"tags\" | \"meta\" | \"_version\" | \"list_id\" | \"namespace_type\"> & { tags: string[]; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateListItemSchema", + "type": "Type", + "tags": [], + "label": "UpdateListItemSchema", + "description": [], + "signature": [ + "{ id: string; value: string; } & { _version?: string | undefined; meta?: object | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateListItemSchemaDecoded", + "type": "Type", + "tags": [], + "label": "UpdateListItemSchemaDecoded", + "description": [], + "signature": [ + "{ id: string; value: string; _version: string | undefined; meta: object | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateListSchema", + "type": "Type", + "tags": [], + "label": "UpdateListSchema", + "description": [], + "signature": [ + "{ description: string; id: string; name: string; } & { _version?: string | undefined; meta?: object | undefined; version?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.UpdateListSchemaDecoded", + "type": "Type", + "tags": [], + "label": "UpdateListSchemaDecoded", + "description": [], + "signature": [ + "{ description: string; id: string; name: string; _version: string | undefined; meta: object | undefined; version: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common._version", + "type": "Object", + "tags": [], + "label": "_version", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/underscore_version/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common._versionOrUndefined", + "type": "Object", + "tags": [], + "label": "_versionOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/underscore_version/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.acknowledgeSchema", + "type": "Object", + "tags": [], + "label": "acknowledgeSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ acknowledged: ", + "BooleanC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/acknowledge_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.comment", + "type": "Object", + "tags": [], + "label": "comment", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.commentsArray", + "type": "Object", + "tags": [], + "label": "commentsArray", + "description": [], + "signature": [ + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; }>>]>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.commentsArrayOrUndefined", + "type": "Object", + "tags": [], + "label": "commentsArrayOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; }>>]>>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.createComment", + "type": "Object", + "tags": [], + "label": "createComment", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/create_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.createCommentsArray", + "type": "Object", + "tags": [], + "label": "createCommentsArray", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/create_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.createCommentsArrayOrUndefined", + "type": "Object", + "tags": [], + "label": "createCommentsArrayOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; }>>>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/create_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.created_at", + "type": "Object", + "tags": [], + "label": "created_at", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/created_at/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.created_by", + "type": "Object", + "tags": [], + "label": "created_by", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/created_by/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.createEndpointListItemSchema", + "type": "Object", + "tags": [], + "label": "createEndpointListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ description: ", + "StringC", + "; entries: ", + "Type", + "<({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[], unknown>; name: ", + "StringC", + "; type: ", + "KeyofC", + "<{ simple: null; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ comments: ", + "Type", + "<{ comment: string; }[], { comment: string; }[], unknown>; item_id: ", + "Type", + "; meta: ", + "ObjectC", + "; os_types: ", + "UnionC", + "<[", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>, ", + "UndefinedC", + "]>; tags: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.createEndpointListSchema", + "type": "Object", + "tags": [], + "label": "createEndpointListSchema", + "description": [], + "signature": [ + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; description: ", + "StringC", + "; id: ", + "Type", + "; immutable: ", + "BooleanC", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; name: ", + "StringC", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; os_types: ", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>; tags: ", + "Type", + "; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; version: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{}>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/create_endpoint_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.createExceptionListItemSchema", + "type": "Object", + "tags": [], + "label": "createExceptionListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ description: ", + "StringC", + "; entries: ", + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], unknown>; list_id: ", + "Type", + "; name: ", + "StringC", + "; type: ", + "KeyofC", + "<{ simple: null; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ comments: ", + "Type", + "<{ comment: string; }[], { comment: string; }[], unknown>; item_id: ", + "Type", + "; meta: ", + "ObjectC", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; os_types: ", + "UnionC", + "<[", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>, ", + "UndefinedC", + "]>; tags: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.createExceptionListSchema", + "type": "Object", + "tags": [], + "label": "createExceptionListSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ description: ", + "StringC", + "; name: ", + "StringC", + "; type: ", + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ list_id: ", + "Type", + "; meta: ", + "ObjectC", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; os_types: ", + "UnionC", + "<[", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>, ", + "UndefinedC", + "]>; tags: ", + "Type", + "; version: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.createListItemSchema", + "type": "Object", + "tags": [], + "label": "createListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ list_id: ", + "Type", + "; value: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; meta: ", + "ObjectC", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.createListSchema", + "type": "Object", + "tags": [], + "label": "createListSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ description: ", + "StringC", + "; name: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ deserializer: ", + "StringC", + "; id: ", + "Type", + "; meta: ", + "ObjectC", + "; serializer: ", + "StringC", + "; version: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/create_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.cursor", + "type": "Object", + "tags": [], + "label": "cursor", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/cursor/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.cursorOrUndefined", + "type": "Object", + "tags": [], + "label": "cursorOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/cursor/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DefaultListArray", + "type": "Object", + "tags": [], + "label": "DefaultListArray", + "description": [ + "\nTypes the DefaultListArray as:\n - If null or undefined, then a default array of type list will be set" + ], + "signature": [ + "Type", + "<{ id: string; list_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; namespace_type: \"single\" | \"agnostic\"; }[], { id: string; list_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; namespace_type: \"single\" | \"agnostic\"; }[] | undefined, unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/lists_default_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DefaultNamespace", + "type": "Object", + "tags": [], + "label": "DefaultNamespace", + "description": [ + "\nTypes the DefaultNamespace as:\n - If null or undefined, then a default string/enumeration of \"single\" will be used." + ], + "signature": [ + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/default_namespace/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.DefaultNamespaceArray", + "type": "Object", + "tags": [], + "label": "DefaultNamespaceArray", + "description": [ + "\nTypes the DefaultNamespaceArray as:\n - If null or undefined, then a default string array of \"single\" will be used.\n - If it contains a string, then it is split along the commas and puts them into an array and validates it" + ], + "signature": [ + "Type", + "<(\"single\" | \"agnostic\")[], string | null | undefined, unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/default_namespace_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.deleteEndpointListItemSchema", + "type": "Object", + "tags": [], + "label": "deleteEndpointListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; item_id: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.deleteExceptionListItemSchema", + "type": "Object", + "tags": [], + "label": "deleteExceptionListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; item_id: ", + "Type", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.deleteExceptionListSchema", + "type": "Object", + "tags": [], + "label": "deleteExceptionListSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; list_id: ", + "Type", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.deleteListItemSchema", + "type": "Object", + "tags": [], + "label": "deleteListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ value: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; list_id: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.deleteListSchema", + "type": "Object", + "tags": [], + "label": "deleteListSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ deleteReferences: ", + "Type", + "; ignoreReferences: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/delete_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.description", + "type": "Object", + "tags": [], + "label": "description", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/description/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.descriptionOrUndefined", + "type": "Object", + "tags": [], + "label": "descriptionOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/description/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.deserializer", + "type": "Object", + "tags": [], + "label": "deserializer", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/deserializer/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.deserializerOrUndefined", + "type": "Object", + "tags": [], + "label": "deserializerOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/deserializer/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.endpointEntriesArray", + "type": "Object", + "tags": [], + "label": "endpointEntriesArray", + "description": [], + "signature": [ + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ entries: ", + "Type", + "<({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[], ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[], unknown>; field: ", + "Type", + "; type: ", + "KeyofC", + "<{ nested: null; }>; }>>]>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.endpointNestedEntriesArray", + "type": "Object", + "tags": [], + "label": "endpointNestedEntriesArray", + "description": [], + "signature": [ + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>]>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.entriesArray", + "type": "Object", + "tags": [], + "label": "entriesArray", + "description": [], + "signature": [ + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; list: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; }>>; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ list: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ exists: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ entries: ", + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], unknown>; field: ", + "Type", + "; type: ", + "KeyofC", + "<{ nested: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ wildcard: null; }>; value: ", + "Type", + "; }>>]>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.entriesArrayOrUndefined", + "type": "Object", + "tags": [], + "label": "entriesArrayOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; list: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; }>>; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ list: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ exists: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ entries: ", + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], unknown>; field: ", + "Type", + "; type: ", + "KeyofC", + "<{ nested: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ wildcard: null; }>; value: ", + "Type", + "; }>>]>>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.entriesExists", + "type": "Object", + "tags": [], + "label": "entriesExists", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ exists: null; }>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries_exist/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.entriesList", + "type": "Object", + "tags": [], + "label": "entriesList", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; list: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; }>>; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ list: null; }>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries_list/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.entriesMatch", + "type": "Object", + "tags": [], + "label": "entriesMatch", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entry_match/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.entriesMatchAny", + "type": "Object", + "tags": [], + "label": "entriesMatchAny", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entry_match_any/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.entriesMatchWildcard", + "type": "Object", + "tags": [], + "label": "entriesMatchWildcard", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ wildcard: null; }>; value: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entry_match_wildcard/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.entriesNested", + "type": "Object", + "tags": [], + "label": "entriesNested", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ entries: ", + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], unknown>; field: ", + "Type", + "; type: ", + "KeyofC", + "<{ nested: null; }>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entry_nested/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.entry", + "type": "Object", + "tags": [], + "label": "entry", + "description": [], + "signature": [ + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; list: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; }>>; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ list: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ exists: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ wildcard: null; }>; value: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.exceptionListItemSchema", + "type": "Object", + "tags": [], + "label": "exceptionListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; comments: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; }>>]>>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; description: ", + "StringC", + "; entries: ", + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; list: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; }>>; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ list: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ exists: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ entries: ", + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], unknown>; field: ", + "Type", + "; type: ", + "KeyofC", + "<{ nested: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ wildcard: null; }>; value: ", + "Type", + "; }>>]>>; id: ", + "Type", + "; item_id: ", + "Type", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; name: ", + "StringC", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; os_types: ", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>; tags: ", + "Type", + "; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ simple: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.exceptionListItemType", + "type": "Object", + "tags": [], + "label": "exceptionListItemType", + "description": [], + "signature": [ + "KeyofC", + "<{ simple: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/exception_list_item_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.exceptionListItemTypeOrUndefined", + "type": "Object", + "tags": [], + "label": "exceptionListItemTypeOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "KeyofC", + "<{ simple: null; }>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/exception_list_item_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.exceptionListSchema", + "type": "Object", + "tags": [], + "label": "exceptionListSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; description: ", + "StringC", + "; id: ", + "Type", + "; immutable: ", + "BooleanC", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; name: ", + "StringC", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; os_types: ", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>; tags: ", + "Type", + "; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; version: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.exceptionListSummarySchema", + "type": "Object", + "tags": [], + "label": "exceptionListSummarySchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ windows: ", + "Type", + "; linux: ", + "Type", + "; macos: ", + "Type", + "; total: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/exception_list_summary_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.exceptionListType", + "type": "Object", + "tags": [], + "label": "exceptionListType", + "description": [], + "signature": [ + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/exception_list/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.exceptionListTypeOrUndefined", + "type": "Object", + "tags": [], + "label": "exceptionListTypeOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/exception_list/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.exportExceptionListQuerySchema", + "type": "Object", + "tags": [], + "label": "exportExceptionListQuerySchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; list_id: ", + "Type", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/export_exception_list_query_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.exportListItemQuerySchema", + "type": "Object", + "tags": [], + "label": "exportListItemQuerySchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ list_id: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/export_list_item_query_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.filter", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/filter/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.filterOrUndefined", + "type": "Object", + "tags": [], + "label": "filterOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/filter/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.findEndpointListItemSchema", + "type": "Object", + "tags": [], + "label": "findEndpointListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ filter: ", + "StringC", + "; page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; per_page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; sort_field: ", + "StringC", + "; sort_order: ", + "KeyofC", + "<{ asc: null; desc: null; }>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.findExceptionListItemSchema", + "type": "Object", + "tags": [], + "label": "findExceptionListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ list_id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ filter: ", + "Type", + "; namespace_type: ", + "Type", + "<(\"single\" | \"agnostic\")[], string | null | undefined, unknown>; page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; per_page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; sort_field: ", + "StringC", + "; sort_order: ", + "KeyofC", + "<{ asc: null; desc: null; }>; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.findExceptionListSchema", + "type": "Object", + "tags": [], + "label": "findExceptionListSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ filter: ", + "StringC", + "; namespace_type: ", + "Type", + "<(\"single\" | \"agnostic\")[], string | null | undefined, unknown>; page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; per_page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; sort_field: ", + "StringC", + "; sort_order: ", + "KeyofC", + "<{ asc: null; desc: null; }>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.findListItemSchema", + "type": "Object", + "tags": [], + "label": "findListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ list_id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ cursor: ", + "StringC", + "; filter: ", + "StringC", + "; page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; per_page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; sort_field: ", + "StringC", + "; sort_order: ", + "KeyofC", + "<{ asc: null; desc: null; }>; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.findListSchema", + "type": "Object", + "tags": [], + "label": "findListSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ cursor: ", + "StringC", + "; filter: ", + "StringC", + "; page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; per_page: ", + { + "pluginId": "@kbn/securitysolution-io-ts-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsTypesPluginApi", + "section": "def-common.StringToPositiveNumberC", + "text": "StringToPositiveNumberC" + }, + "; sort_field: ", + "StringC", + "; sort_order: ", + "KeyofC", + "<{ asc: null; desc: null; }>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/find_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.foundExceptionListItemSchema", + "type": "Object", + "tags": [], + "label": "foundExceptionListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ data: ", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; comments: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; }>>]>>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; description: ", + "StringC", + "; entries: ", + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; list: ", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; }>>; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ list: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ exists: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ entries: ", + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], unknown>; field: ", + "Type", + "; type: ", + "KeyofC", + "<{ nested: null; }>; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ wildcard: null; }>; value: ", + "Type", + "; }>>]>>; id: ", + "Type", + "; item_id: ", + "Type", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; name: ", + "StringC", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; os_types: ", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>; tags: ", + "Type", + "; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ simple: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; }>>>; page: ", + "NumberC", + "; per_page: ", + "NumberC", + "; total: ", + "NumberC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/found_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.foundExceptionListSchema", + "type": "Object", + "tags": [], + "label": "foundExceptionListSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ data: ", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; description: ", + "StringC", + "; id: ", + "Type", + "; immutable: ", + "BooleanC", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; name: ", + "StringC", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; os_types: ", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>; tags: ", + "Type", + "; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; version: ", + "Type", + "; }>>>; page: ", + "NumberC", + "; per_page: ", + "NumberC", + "; total: ", + "NumberC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/found_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.foundListItemSchema", + "type": "Object", + "tags": [], + "label": "foundListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ cursor: ", + "StringC", + "; data: ", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; deserializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; id: ", + "Type", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; serializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; value: ", + "StringC", + "; }>>>; page: ", + "NumberC", + "; per_page: ", + "NumberC", + "; total: ", + "NumberC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/found_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.foundListSchema", + "type": "Object", + "tags": [], + "label": "foundListSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ cursor: ", + "StringC", + "; data: ", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; description: ", + "StringC", + "; deserializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; id: ", + "Type", + "; immutable: ", + "BooleanC", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; name: ", + "StringC", + "; serializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; version: ", + "Type", + "; }>>>; page: ", + "NumberC", + "; per_page: ", + "NumberC", + "; total: ", + "NumberC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/found_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.id", + "type": "Object", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.idOrUndefined", + "type": "Object", + "tags": [], + "label": "idOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.immutable", + "type": "Object", + "tags": [], + "label": "immutable", + "description": [], + "signature": [ + "BooleanC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/immutable/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.immutableOrUndefined", + "type": "Object", + "tags": [], + "label": "immutableOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "BooleanC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/immutable/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.importListItemQuerySchema", + "type": "Object", + "tags": [], + "label": "importListItemQuerySchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ deserializer: ", + "StringC", + "; list_id: ", + "Type", + "; serializer: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/import_list_item_query_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.importListItemSchema", + "type": "Object", + "tags": [], + "label": "importListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ file: ", + "ObjectC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/import_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.item_id", + "type": "Object", + "tags": [], + "label": "item_id", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/item_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.itemIdOrUndefined", + "type": "Object", + "tags": [], + "label": "itemIdOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/item_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.list", + "type": "Object", + "tags": [], + "label": "list", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; list_id: ", + "Type", + "; type: ", + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>; namespace_type: ", + "KeyofC", + "<{ agnostic: null; single: null; }>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/lists/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.list_id", + "type": "Object", + "tags": [], + "label": "list_id", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.list_idOrUndefined", + "type": "Object", + "tags": [], + "label": "list_idOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.list_type", + "type": "Object", + "tags": [], + "label": "list_type", + "description": [], + "signature": [ + "KeyofC", + "<{ item: null; list: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.listArray", + "type": "Object", + "tags": [], + "label": "listArray", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; list_id: ", + "Type", + "; type: ", + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>; namespace_type: ", + "KeyofC", + "<{ agnostic: null; single: null; }>; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/lists/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.listArrayOrUndefined", + "type": "Object", + "tags": [], + "label": "listArrayOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; list_id: ", + "Type", + "; type: ", + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>; namespace_type: ", + "KeyofC", + "<{ agnostic: null; single: null; }>; }>>>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/lists/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.listArraySchema", + "type": "Object", + "tags": [], + "label": "listArraySchema", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; description: ", + "StringC", + "; deserializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; id: ", + "Type", + "; immutable: ", + "BooleanC", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; name: ", + "StringC", + "; serializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; version: ", + "Type", + "; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.listItemArraySchema", + "type": "Object", + "tags": [], + "label": "listItemArraySchema", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; deserializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; id: ", + "Type", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; serializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; value: ", + "StringC", + "; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.listItemIndexExistSchema", + "type": "Object", + "tags": [], + "label": "listItemIndexExistSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ list_index: ", + "BooleanC", + "; list_item_index: ", + "BooleanC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_item_index_exist_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.listItemSchema", + "type": "Object", + "tags": [], + "label": "listItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; deserializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; id: ", + "Type", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; serializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; value: ", + "StringC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.listOperator", + "type": "Object", + "tags": [], + "label": "listOperator", + "description": [], + "signature": [ + "KeyofC", + "<{ excluded: null; included: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/list_operator/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.listSchema", + "type": "Object", + "tags": [], + "label": "listSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; description: ", + "StringC", + "; deserializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; id: ", + "Type", + "; immutable: ", + "BooleanC", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; name: ", + "StringC", + "; serializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; version: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.meta", + "type": "Object", + "tags": [], + "label": "meta", + "description": [], + "signature": [ + "ObjectC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/meta/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.metaOrUndefined", + "type": "Object", + "tags": [], + "label": "metaOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/meta/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.name", + "type": "Object", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/name/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.nameOrUndefined", + "type": "Object", + "tags": [], + "label": "nameOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/name/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.namespaceType", + "type": "Object", + "tags": [], + "label": "namespaceType", + "description": [], + "signature": [ + "KeyofC", + "<{ agnostic: null; single: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/default_namespace/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.namespaceTypeArray", + "type": "Object", + "tags": [], + "label": "namespaceTypeArray", + "description": [], + "signature": [ + "ArrayC", + "<", + "KeyofC", + "<{ agnostic: null; single: null; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/default_namespace_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.nestedEntriesArray", + "type": "Object", + "tags": [], + "label": "nestedEntriesArray", + "description": [], + "signature": [ + "ArrayC", + "<", + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ exists: null; }>; }>>]>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.nestedEntryItem", + "type": "Object", + "tags": [], + "label": "nestedEntryItem", + "description": [], + "signature": [ + "UnionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ match_any: null; }>; value: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "TypeC", + "<{ field: ", + "Type", + "; operator: ", + "KeyofC", + "<{ excluded: null; included: null; }>; type: ", + "KeyofC", + "<{ exists: null; }>; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.nonEmptyEndpointEntriesArray", + "type": "Object", + "tags": [], + "label": "nonEmptyEndpointEntriesArray", + "description": [ + "\nTypes the nonEmptyEndpointEntriesArray as:\n - An array of entries of length 1 or greater\n" + ], + "signature": [ + "Type", + "<({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; } | { entries: ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[], unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/entries/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.nonEmptyEndpointNestedEntriesArray", + "type": "Object", + "tags": [], + "label": "nonEmptyEndpointNestedEntriesArray", + "description": [ + "\nTypes the nonEmptyNestedEntriesArray as:\n - An array of entries of length 1 or greater\n" + ], + "signature": [ + "Type", + "<({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[], ({ field: string; operator: \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"included\"; type: \"match_any\"; value: string[]; })[], unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/endpoint/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.nonEmptyEntriesArray", + "type": "Object", + "tags": [], + "label": "nonEmptyEntriesArray", + "description": [ + "\nTypes the nonEmptyEntriesArray as:\n - An array of entries of length 1 or greater\n" + ], + "signature": [ + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.nonEmptyNestedEntriesArray", + "type": "Object", + "tags": [], + "label": "nonEmptyNestedEntriesArray", + "description": [ + "\nTypes the nonEmptyNestedEntriesArray as:\n - An array of entries of length 1 or greater\n" + ], + "signature": [ + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[], unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/non_empty_nested_entries_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.osType", + "type": "Object", + "tags": [], + "label": "osType", + "description": [], + "signature": [ + "KeyofC", + "<{ linux: null; macos: null; windows: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/os_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.osTypeArray", + "type": "Object", + "tags": [], + "label": "osTypeArray", + "description": [], + "signature": [ + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/os_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.osTypeArrayOrUndefined", + "type": "Object", + "tags": [], + "label": "osTypeArrayOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/os_type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.page", + "type": "Object", + "tags": [], + "label": "page", + "description": [], + "signature": [ + "NumberC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.pageOrUndefined", + "type": "Object", + "tags": [], + "label": "pageOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "NumberC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.patchListItemSchema", + "type": "Object", + "tags": [], + "label": "patchListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ _version: ", + "StringC", + "; meta: ", + "ObjectC", + "; value: ", + "StringC", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/patch_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.patchListSchema", + "type": "Object", + "tags": [], + "label": "patchListSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ _version: ", + "StringC", + "; description: ", + "StringC", + "; meta: ", + "ObjectC", + "; name: ", + "StringC", + "; version: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/patch_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.per_page", + "type": "Object", + "tags": [], + "label": "per_page", + "description": [], + "signature": [ + "NumberC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/per_page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.perPageOrUndefined", + "type": "Object", + "tags": [], + "label": "perPageOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "NumberC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/per_page/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.readEndpointListItemSchema", + "type": "Object", + "tags": [], + "label": "readEndpointListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; item_id: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.readExceptionListItemSchema", + "type": "Object", + "tags": [], + "label": "readExceptionListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; item_id: ", + "Type", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.readExceptionListSchema", + "type": "Object", + "tags": [], + "label": "readExceptionListSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; list_id: ", + "Type", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.readListItemSchema", + "type": "Object", + "tags": [], + "label": "readListItemSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; list_id: ", + "Type", + "; value: ", + "StringC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.readListSchema", + "type": "Object", + "tags": [], + "label": "readListSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/read_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.searchListItemArraySchema", + "type": "Object", + "tags": [], + "label": "searchListItemArraySchema", + "description": [], + "signature": [ + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ items: ", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; deserializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; id: ", + "Type", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; serializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; value: ", + "StringC", + "; }>>>; value: ", + "UnknownC", + "; }>>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/search_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.searchListItemSchema", + "type": "Object", + "tags": [], + "label": "searchListItemSchema", + "description": [ + "\nNOTE: Although this is defined within \"response\" this does not expose a REST API\nendpoint right now for this particular response. Instead this is only used internally\nfor the plugins at this moment. If this changes, please remove this message." + ], + "signature": [ + "ExactC", + "<", + "TypeC", + "<{ items: ", + "ArrayC", + "<", + "ExactC", + "<", + "TypeC", + "<{ _version: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; created_at: ", + "StringC", + "; created_by: ", + "StringC", + "; deserializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; id: ", + "Type", + "; list_id: ", + "Type", + "; meta: ", + "UnionC", + "<[", + "ObjectC", + ", ", + "UndefinedC", + "]>; serializer: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; tie_breaker_id: ", + "StringC", + "; type: ", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>; updated_at: ", + "StringC", + "; updated_by: ", + "StringC", + "; value: ", + "StringC", + "; }>>>; value: ", + "UnknownC", + "; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/response/search_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.serializer", + "type": "Object", + "tags": [], + "label": "serializer", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/serializer/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.serializerOrUndefined", + "type": "Object", + "tags": [], + "label": "serializerOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/serializer/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.sort_field", + "type": "Object", + "tags": [], + "label": "sort_field", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/sort_field/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.sort_order", + "type": "Object", + "tags": [], + "label": "sort_order", + "description": [], + "signature": [ + "KeyofC", + "<{ asc: null; desc: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/sort_order/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.sortFieldOrUndefined", + "type": "Object", + "tags": [], + "label": "sortFieldOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/sort_field/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.sortOrderOrUndefined", + "type": "Object", + "tags": [], + "label": "sortOrderOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "KeyofC", + "<{ asc: null; desc: null; }>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/sort_order/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.summaryExceptionListSchema", + "type": "Object", + "tags": [], + "label": "summaryExceptionListSchema", + "description": [], + "signature": [ + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; list_id: ", + "Type", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; }>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/summary_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.tags", + "type": "Object", + "tags": [], + "label": "tags", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/tags/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.tagsOrUndefined", + "type": "Object", + "tags": [], + "label": "tagsOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/tags/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.tie_breaker_id", + "type": "Object", + "tags": [], + "label": "tie_breaker_id", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/tie_breaker_id/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.total", + "type": "Object", + "tags": [], + "label": "total", + "description": [], + "signature": [ + "NumberC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/total/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.totalUndefined", + "type": "Object", + "tags": [], + "label": "totalUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "NumberC", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/total/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.type", + "type": "Object", + "tags": [], + "label": "type", + "description": [ + "\nTypes of all the regular single value list items but not exception list\nor exception list types. Those types are in the list_types folder." + ], + "signature": [ + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.typeOrUndefined", + "type": "Object", + "tags": [], + "label": "typeOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "KeyofC", + "<{ binary: null; boolean: null; byte: null; date: null; date_nanos: null; date_range: null; double: null; double_range: null; float: null; float_range: null; geo_point: null; geo_shape: null; half_float: null; integer: null; integer_range: null; ip: null; ip_range: null; keyword: null; long: null; long_range: null; shape: null; short: null; text: null; }>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/type/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateComment", + "type": "Object", + "tags": [], + "label": "updateComment", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/update_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateCommentsArray", + "type": "Object", + "tags": [], + "label": "updateCommentsArray", + "description": [], + "signature": [ + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; }>>]>>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/update_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateCommentsArrayOrUndefined", + "type": "Object", + "tags": [], + "label": "updateCommentsArrayOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "ArrayC", + "<", + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ comment: ", + "Type", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ id: ", + "Type", + "; }>>]>>, ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/update_comment/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updated_at", + "type": "Object", + "tags": [], + "label": "updated_at", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/updated_at/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updated_by", + "type": "Object", + "tags": [], + "label": "updated_by", + "description": [], + "signature": [ + "StringC" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/common/updated_by/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateEndpointListItemSchema", + "type": "Object", + "tags": [], + "label": "updateEndpointListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ description: ", + "StringC", + "; entries: ", + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], unknown>; name: ", + "StringC", + "; type: ", + "KeyofC", + "<{ simple: null; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ _version: ", + "StringC", + "; comments: ", + "Type", + "<({ comment: string; } & { id?: string | undefined; })[], ({ comment: string; } & { id?: string | undefined; })[], unknown>; id: ", + "Type", + "; item_id: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; meta: ", + "ObjectC", + "; os_types: ", + "UnionC", + "<[", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>, ", + "UndefinedC", + "]>; tags: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_endpoint_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateExceptionListItemSchema", + "type": "Object", + "tags": [], + "label": "updateExceptionListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ description: ", + "StringC", + "; entries: ", + "Type", + "<({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; })[]; field: string; type: \"nested\"; })[], unknown>; name: ", + "StringC", + "; type: ", + "KeyofC", + "<{ simple: null; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ _version: ", + "StringC", + "; comments: ", + "Type", + "<({ comment: string; } & { id?: string | undefined; })[], ({ comment: string; } & { id?: string | undefined; })[], unknown>; id: ", + "Type", + "; item_id: ", + "UnionC", + "<[", + "StringC", + ", ", + "UndefinedC", + "]>; meta: ", + "ObjectC", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; os_types: ", + "UnionC", + "<[", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>, ", + "UndefinedC", + "]>; tags: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateExceptionListSchema", + "type": "Object", + "tags": [], + "label": "updateExceptionListSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ description: ", + "StringC", + "; name: ", + "StringC", + "; type: ", + "KeyofC", + "<{ detection: null; endpoint: null; endpoint_events: null; endpoint_host_isolation_exceptions: null; }>; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ _version: ", + "StringC", + "; id: ", + "Type", + "; list_id: ", + "Type", + "; meta: ", + "ObjectC", + "; namespace_type: ", + "Type", + "<\"single\" | \"agnostic\", \"single\" | \"agnostic\" | undefined, unknown>; os_types: ", + "UnionC", + "<[", + "Type", + "<(\"windows\" | \"linux\" | \"macos\")[], (\"windows\" | \"linux\" | \"macos\")[] | undefined, unknown>, ", + "UndefinedC", + "]>; tags: ", + "Type", + "; version: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_exception_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateListItemSchema", + "type": "Object", + "tags": [], + "label": "updateListItemSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ id: ", + "Type", + "; value: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ _version: ", + "StringC", + "; meta: ", + "ObjectC", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_list_item_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-list-types", + "id": "def-common.updateListSchema", + "type": "Object", + "tags": [], + "label": "updateListSchema", + "description": [], + "signature": [ + "IntersectionC", + "<[", + "ExactC", + "<", + "TypeC", + "<{ description: ", + "StringC", + "; id: ", + "Type", + "; name: ", + "StringC", + "; }>>, ", + "ExactC", + "<", + "PartialC", + "<{ _version: ", + "StringC", + "; meta: ", + "ObjectC", + "; version: ", + "Type", + "; }>>]>" + ], + "path": "packages/kbn-securitysolution-io-ts-list-types/src/request/update_list_schema/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_io_ts_list_types.mdx b/api_docs/kbn_securitysolution_io_ts_list_types.mdx new file mode 100644 index 0000000000000..3f59dfa70b772 --- /dev/null +++ b/api_docs/kbn_securitysolution_io_ts_list_types.mdx @@ -0,0 +1,39 @@ +--- +id: kibKbnSecuritysolutionIoTsListTypesPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-list-types +title: "@kbn/securitysolution-io-ts-list-types" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-io-ts-list-types plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-list-types'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionIoTsListTypesObj from './kbn_securitysolution_io_ts_list_types.json'; + +io ts utilities and types to be shared with plugins from the security solution project + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 418 | 1 | 409 | 0 | + +## Common + +### Objects + + +### Functions + + +### Interfaces + + +### Enums + + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_io_ts_types.json b/api_docs/kbn_securitysolution_io_ts_types.json new file mode 100644 index 0000000000000..917c65406c124 --- /dev/null +++ b/api_docs/kbn_securitysolution_io_ts_types.json @@ -0,0 +1,760 @@ +{ + "id": "@kbn/securitysolution-io-ts-types", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultArray", + "type": "Function", + "tags": [], + "label": "DefaultArray", + "description": [ + "\nTypes the DefaultArray as:\n - If undefined, then a default array will be set\n - If an array is sent in, then the array will be validated to ensure all elements are type C" + ], + "signature": [ + "(codec: C) => ", + "Type", + "<", + "TypeOf", + "[], ", + "TypeOf", + "[] | undefined, unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_array/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultArray.$1", + "type": "Uncategorized", + "tags": [], + "label": "codec", + "description": [], + "signature": [ + "C" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_array/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.enumeration", + "type": "Function", + "tags": [], + "label": "enumeration", + "description": [ + "\nConverts string value to a Typescript enum\n - \"foo\" -> MyEnum.foo\n" + ], + "signature": [ + "(name: string, originalEnum: Record) => ", + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/enumeration/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.enumeration.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "Enum name" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/enumeration/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.enumeration.$2", + "type": "Object", + "tags": [], + "label": "originalEnum", + "description": [ + "Typescript enum" + ], + "signature": [ + "Record" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/enumeration/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "Codec" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyArray", + "type": "Function", + "tags": [], + "label": "NonEmptyArray", + "description": [], + "signature": [ + "(codec: C, name?: string) => ", + "Type", + "<", + "TypeOf", + "[], ", + "TypeOf", + "[], unknown>" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_array/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyArray.$1", + "type": "Uncategorized", + "tags": [], + "label": "codec", + "description": [], + "signature": [ + "C" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_array/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyArray.$2", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_array/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultStringBooleanFalseC", + "type": "Type", + "tags": [], + "label": "DefaultStringBooleanFalseC", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_string_boolean_false/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultVersionNumberDecoded", + "type": "Type", + "tags": [], + "label": "DefaultVersionNumberDecoded", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_version_number/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.EmptyStringArrayDecoded", + "type": "Type", + "tags": [], + "label": "EmptyStringArrayDecoded", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/empty_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.EmptyStringArrayEncoded", + "type": "Type", + "tags": [], + "label": "EmptyStringArrayEncoded", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/empty_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.IsoDateStringC", + "type": "Type", + "tags": [], + "label": "IsoDateStringC", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/iso_date_string/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyOrNullableStringArray", + "type": "Type", + "tags": [], + "label": "NonEmptyOrNullableStringArray", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_or_nullable_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyOrNullableStringArrayDecoded", + "type": "Type", + "tags": [], + "label": "NonEmptyOrNullableStringArrayDecoded", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_or_nullable_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyStringArray", + "type": "Type", + "tags": [], + "label": "NonEmptyStringArray", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyStringArrayDecoded", + "type": "Type", + "tags": [], + "label": "NonEmptyStringArrayDecoded", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyStringC", + "type": "Type", + "tags": [], + "label": "NonEmptyStringC", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_string/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.Operator", + "type": "Type", + "tags": [], + "label": "Operator", + "description": [], + "signature": [ + "\"equals\"" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/operator/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.OperatorEnum", + "type": "string", + "tags": [], + "label": "OperatorEnum", + "description": [], + "path": "packages/kbn-securitysolution-io-ts-types/src/operator/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.StringToPositiveNumberC", + "type": "Type", + "tags": [], + "label": "StringToPositiveNumberC", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/string_to_positive_number/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.UUIDC", + "type": "Type", + "tags": [], + "label": "UUIDC", + "description": [], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/uuid/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.Version", + "type": "Type", + "tags": [], + "label": "Version", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/version/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.VersionOrUndefined", + "type": "Type", + "tags": [], + "label": "VersionOrUndefined", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/version/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultBooleanFalse", + "type": "Object", + "tags": [], + "label": "DefaultBooleanFalse", + "description": [ + "\nTypes the DefaultBooleanFalse as:\n - If null or undefined, then a default false will be set" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_boolean_false/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultBooleanTrue", + "type": "Object", + "tags": [], + "label": "DefaultBooleanTrue", + "description": [ + "\nTypes the DefaultBooleanTrue as:\n - If null or undefined, then a default true will be set" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_boolean_true/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultEmptyString", + "type": "Object", + "tags": [], + "label": "DefaultEmptyString", + "description": [ + "\nTypes the DefaultEmptyString as:\n - If null or undefined, then a default of an empty string \"\" will be used" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_empty_string/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultStringArray", + "type": "Object", + "tags": [], + "label": "DefaultStringArray", + "description": [ + "\nTypes the DefaultStringArray as:\n - If undefined, then a default array will be set\n - If an array is sent in, then the array will be validated to ensure all elements are a string" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultStringBooleanFalse", + "type": "Object", + "tags": [], + "label": "DefaultStringBooleanFalse", + "description": [ + "\nTypes the DefaultStringBooleanFalse as:\n - If a string this will convert the string to a boolean\n - If null or undefined, then a default false will be set" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_string_boolean_false/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultUuid", + "type": "Object", + "tags": [], + "label": "DefaultUuid", + "description": [ + "\nTypes the DefaultUuid as:\n - If null or undefined, then a default string uuid.v4() will be\n created otherwise it will be checked just against an empty string" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_uuid/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.DefaultVersionNumber", + "type": "Object", + "tags": [], + "label": "DefaultVersionNumber", + "description": [ + "\nTypes the DefaultVersionNumber as:\n - If null or undefined, then a default of the number 1 will be used" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/default_version_number/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.EmptyStringArray", + "type": "Object", + "tags": [], + "label": "EmptyStringArray", + "description": [ + "\nTypes the EmptyStringArray as:\n - A value that can be undefined, or null (which will be turned into an empty array)\n - A comma separated string that can turn into an array by splitting on it\n - Example input converted to output: undefined -> []\n - Example input converted to output: null -> []\n - Example input converted to output: \"a,b,c\" -> [\"a\", \"b\", \"c\"]" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/empty_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.IsoDateString", + "type": "Object", + "tags": [], + "label": "IsoDateString", + "description": [ + "\nTypes the IsoDateString as:\n - A string that is an ISOString" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/iso_date_string/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.nonEmptyOrNullableStringArray", + "type": "Object", + "tags": [], + "label": "nonEmptyOrNullableStringArray", + "description": [ + "\nTypes the nonEmptyOrNullableStringArray as:\n - An array of non empty strings of length 1 or greater\n - This differs from NonEmptyStringArray in that both input and output are type array\n" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_or_nullable_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyString", + "type": "Object", + "tags": [], + "label": "NonEmptyString", + "description": [ + "\nTypes the NonEmptyString as:\n - A string that is not empty" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_string/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.NonEmptyStringArray", + "type": "Object", + "tags": [], + "label": "NonEmptyStringArray", + "description": [ + "\nTypes the NonEmptyStringArray as:\n - A string that is not empty (which will be turned into an array of size 1)\n - A comma separated string that can turn into an array by splitting on it\n - Example input converted to output: \"a,b,c\" -> [\"a\", \"b\", \"c\"]" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/non_empty_string_array/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.OnlyFalseAllowed", + "type": "Object", + "tags": [], + "label": "OnlyFalseAllowed", + "description": [ + "\nTypes the OnlyFalseAllowed as:\n - If null or undefined, then a default false will be set\n - If true is sent in then this will return an error\n - If false is sent in then this will allow it only false" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/only_false_allowed/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.operator", + "type": "Object", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + "KeyofC", + "<{ equals: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/operator/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.operatorIncluded", + "type": "Object", + "tags": [], + "label": "operatorIncluded", + "description": [], + "signature": [ + "KeyofC", + "<{ included: null; }>" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/operator/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.PositiveInteger", + "type": "Object", + "tags": [], + "label": "PositiveInteger", + "description": [ + "\nTypes the positive integer are:\n - Natural Number (positive integer and not a float),\n - zero or greater" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/positive_integer/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.PositiveIntegerGreaterThanZero", + "type": "Object", + "tags": [], + "label": "PositiveIntegerGreaterThanZero", + "description": [ + "\nTypes the positive integer greater than zero is:\n - Natural Number (positive integer and not a float),\n - 1 or greater" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/positive_integer_greater_than_zero/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.StringToPositiveNumber", + "type": "Object", + "tags": [], + "label": "StringToPositiveNumber", + "description": [ + "\nTypes the StrongToPositiveNumber as:\n - If a string this converts the string into a number\n - Ensures it is a number (and not NaN)\n - Ensures it is positive number" + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/string_to_positive_number/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.UUID", + "type": "Object", + "tags": [], + "label": "UUID", + "description": [ + "\nTypes the risk score as:\n - Natural Number (positive integer and not a float),\n - Between the values [0 and 100] inclusive." + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/uuid/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.version", + "type": "Object", + "tags": [], + "label": "version", + "description": [ + "\nNote this is just a positive number, but we use it as a type here which is still ok.\nThis type was originally from \"x-pack/plugins/security_solution/common/detection_engine/schemas/common/schemas.ts\"\nbut is moved here to make things more portable. No unit tests, but see PositiveIntegerGreaterThanZero integer for unit tests." + ], + "signature": [ + "Type", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/version/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-types", + "id": "def-common.versionOrUndefined", + "type": "Object", + "tags": [], + "label": "versionOrUndefined", + "description": [], + "signature": [ + "UnionC", + "<[", + "Type", + ", ", + "UndefinedC", + "]>" + ], + "path": "packages/kbn-securitysolution-io-ts-types/src/version/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_io_ts_types.mdx b/api_docs/kbn_securitysolution_io_ts_types.mdx new file mode 100644 index 0000000000000..c640fb275c061 --- /dev/null +++ b/api_docs/kbn_securitysolution_io_ts_types.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnSecuritysolutionIoTsTypesPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-types +title: "@kbn/securitysolution-io-ts-types" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-io-ts-types plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-types'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionIoTsTypesObj from './kbn_securitysolution_io_ts_types.json'; + +io ts utilities and types to be shared with plugins from the security solution project + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 45 | 0 | 23 | 0 | + +## Common + +### Objects + + +### Functions + + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_io_ts_utils.json b/api_docs/kbn_securitysolution_io_ts_utils.json new file mode 100644 index 0000000000000..71d7bc4eee91f --- /dev/null +++ b/api_docs/kbn_securitysolution_io_ts_utils.json @@ -0,0 +1,507 @@ +{ + "id": "@kbn/securitysolution-io-ts-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.exactCheck", + "type": "Function", + "tags": [], + "label": "exactCheck", + "description": [ + "\nGiven an original object and a decoded object this will return an error\nif and only if the original object has additional keys that the decoded\nobject does not have. If the original decoded already has an error, then\nthis will return the error as is and not continue.\n\nNOTE: You MUST use t.exact(...) for this to operate correctly as your schema\nneeds to remove additional keys before the compare\n\nYou might not need this in the future if the below issue is solved:\nhttps://github.com/gcanti/io-ts/issues/322\n" + ], + "signature": [ + "(original: unknown, decoded: ", + "Either", + "<", + "Errors", + ", T>) => ", + "Either", + "<", + "Errors", + ", T>" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/exact_check/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.exactCheck.$1", + "type": "Unknown", + "tags": [], + "label": "original", + "description": [ + "The original to check if it has additional keys" + ], + "signature": [ + "unknown" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/exact_check/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.exactCheck.$2", + "type": "CompoundType", + "tags": [], + "label": "decoded", + "description": [ + "The decoded either which has either an existing error or the\ndecoded object which could have additional keys stripped from it." + ], + "signature": [ + "Either", + "<", + "Errors", + ", T>" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/exact_check/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.findDifferencesRecursive", + "type": "Function", + "tags": [], + "label": "findDifferencesRecursive", + "description": [], + "signature": [ + "(original: unknown, decodedValue: T) => string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/exact_check/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.findDifferencesRecursive.$1", + "type": "Unknown", + "tags": [], + "label": "original", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/exact_check/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.findDifferencesRecursive.$2", + "type": "Uncategorized", + "tags": [], + "label": "decodedValue", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/exact_check/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.foldLeftRight", + "type": "Function", + "tags": [], + "label": "foldLeftRight", + "description": [], + "signature": [ + "(ma: ", + "Either", + "<", + "Errors", + ", unknown>) => Message" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/test_utils/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.foldLeftRight.$1", + "type": "CompoundType", + "tags": [], + "label": "ma", + "description": [], + "signature": [ + "Left", + " | ", + "Right", + "" + ], + "path": "node_modules/fp-ts/lib/Either.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.formatErrors", + "type": "Function", + "tags": [], + "label": "formatErrors", + "description": [], + "signature": [ + "(errors: ", + "Errors", + ") => string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/format_errors/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.formatErrors.$1", + "type": "Object", + "tags": [], + "label": "errors", + "description": [], + "signature": [ + "Errors" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/format_errors/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.getPaths", + "type": "Function", + "tags": [], + "label": "getPaths", + "description": [ + "\nConvenience utility to keep the error message handling within tests to be\nvery concise." + ], + "signature": [ + "(validation: ", + "Either", + "<", + "Errors", + ", A>) => string[]" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/test_utils/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.getPaths.$1", + "type": "CompoundType", + "tags": [], + "label": "validation", + "description": [ + "The validation to get the errors from" + ], + "signature": [ + "Either", + "<", + "Errors", + ", A>" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/test_utils/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.parseScheduleDates", + "type": "Function", + "tags": [], + "label": "parseScheduleDates", + "description": [], + "signature": [ + "(time: string) => moment.Moment | null" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/parse_schedule_dates/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.parseScheduleDates.$1", + "type": "string", + "tags": [], + "label": "time", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/parse_schedule_dates/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.removeExternalLinkText", + "type": "Function", + "tags": [], + "label": "removeExternalLinkText", + "description": [ + "\nConvenience utility to remove text appended to links by EUI" + ], + "signature": [ + "(str: string) => string" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/test_utils/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.removeExternalLinkText.$1", + "type": "string", + "tags": [], + "label": "str", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/test_utils/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validate", + "type": "Function", + "tags": [], + "label": "validate", + "description": [], + "signature": [ + "(obj: object, schema: T) => [", + "TypeOf", + " | null, string | null]" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validate.$1", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "object" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validate.$2", + "type": "Uncategorized", + "tags": [], + "label": "schema", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validateEither", + "type": "Function", + "tags": [], + "label": "validateEither", + "description": [], + "signature": [ + "(schema: T, obj: A) => ", + "Either", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validateEither.$1", + "type": "Uncategorized", + "tags": [], + "label": "schema", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validateEither.$2", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "A" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validateNonExact", + "type": "Function", + "tags": [], + "label": "validateNonExact", + "description": [], + "signature": [ + "(obj: unknown, schema: T) => [", + "TypeOf", + " | null, string | null]" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validateNonExact.$1", + "type": "Unknown", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validateNonExact.$2", + "type": "Uncategorized", + "tags": [], + "label": "schema", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validateTaskEither", + "type": "Function", + "tags": [], + "label": "validateTaskEither", + "description": [], + "signature": [ + "(schema: T, obj: A) => ", + "TaskEither", + "" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validateTaskEither.$1", + "type": "Uncategorized", + "tags": [], + "label": "schema", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-io-ts-utils", + "id": "def-common.validateTaskEither.$2", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "A" + ], + "path": "packages/kbn-securitysolution-io-ts-utils/src/validate/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_io_ts_utils.mdx b/api_docs/kbn_securitysolution_io_ts_utils.mdx new file mode 100644 index 0000000000000..71a66b6052794 --- /dev/null +++ b/api_docs/kbn_securitysolution_io_ts_utils.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnSecuritysolutionIoTsUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-io-ts-utils +title: "@kbn/securitysolution-io-ts-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-io-ts-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-io-ts-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionIoTsUtilsObj from './kbn_securitysolution_io_ts_utils.json'; + +io ts utilities and types to be shared with plugins from the security solution project + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 28 | 0 | 22 | 0 | + +## Common + +### Functions + + diff --git a/api_docs/kbn_securitysolution_list_api.json b/api_docs/kbn_securitysolution_list_api.json new file mode 100644 index 0000000000000..7d6b00cbbc328 --- /dev/null +++ b/api_docs/kbn_securitysolution_list_api.json @@ -0,0 +1,868 @@ +{ + "id": "@kbn/securitysolution-list-api", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.addEndpointExceptionListWithValidation", + "type": "Function", + "tags": [], + "label": "addEndpointExceptionListWithValidation", + "description": [], + "signature": [ + "({ http, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.AddEndpointExceptionListProps", + "text": "AddEndpointExceptionListProps" + }, + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; } | {}>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.addEndpointExceptionListWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.AddEndpointExceptionListProps", + "text": "AddEndpointExceptionListProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.addExceptionListItemWithValidation", + "type": "Function", + "tags": [], + "label": "addExceptionListItemWithValidation", + "description": [], + "signature": [ + "({ http, listItem, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.AddExceptionListItemProps", + "text": "AddExceptionListItemProps" + }, + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.addExceptionListItemWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n listItem,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.AddExceptionListItemProps", + "text": "AddExceptionListItemProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.addExceptionListWithValidation", + "type": "Function", + "tags": [], + "label": "addExceptionListWithValidation", + "description": [], + "signature": [ + "({ http, list, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.AddExceptionListProps", + "text": "AddExceptionListProps" + }, + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.addExceptionListWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n list,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.AddExceptionListProps", + "text": "AddExceptionListProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.createListIndexWithValidation", + "type": "Function", + "tags": [], + "label": "createListIndexWithValidation", + "description": [], + "signature": [ + "({ http, signal, }: ", + "ApiParams", + ") => Promise<{ acknowledged: boolean; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.createListIndexWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n signal,\n}", + "description": [], + "signature": [ + "ApiParams" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.deleteExceptionListByIdWithValidation", + "type": "Function", + "tags": [], + "label": "deleteExceptionListByIdWithValidation", + "description": [], + "signature": [ + "({ http, id, namespaceType, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + }, + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.deleteExceptionListByIdWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n id,\n namespaceType,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.deleteExceptionListItemByIdWithValidation", + "type": "Function", + "tags": [], + "label": "deleteExceptionListItemByIdWithValidation", + "description": [], + "signature": [ + "({ http, id, namespaceType, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + }, + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.deleteExceptionListItemByIdWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n id,\n namespaceType,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.deleteListWithValidation", + "type": "Function", + "tags": [], + "label": "deleteListWithValidation", + "description": [], + "signature": [ + "({ deleteReferences, http, id, ignoreReferences, signal, }: ", + "DeleteListParams", + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.deleteListWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n deleteReferences,\n http,\n id,\n ignoreReferences,\n signal,\n}", + "description": [], + "signature": [ + "DeleteListParams" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.exportExceptionList", + "type": "Function", + "tags": [ + "throws" + ], + "label": "exportExceptionList", + "description": [ + "\nFetch an ExceptionList by providing a ExceptionList ID\n" + ], + "signature": [ + "({ http, id, listId, namespaceType, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExportExceptionListProps", + "text": "ExportExceptionListProps" + }, + ") => Promise" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.exportExceptionList.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n id,\n listId,\n namespaceType,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExportExceptionListProps", + "text": "ExportExceptionListProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.exportListWithValidation", + "type": "Function", + "tags": [], + "label": "exportListWithValidation", + "description": [], + "signature": [ + "({ http, listId, signal, }: ", + "ExportListParams", + ") => Promise" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.exportListWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n listId,\n signal,\n}", + "description": [], + "signature": [ + "ExportListParams" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.fetchExceptionListByIdWithValidation", + "type": "Function", + "tags": [], + "label": "fetchExceptionListByIdWithValidation", + "description": [], + "signature": [ + "({ http, id, namespaceType, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + }, + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.fetchExceptionListByIdWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n id,\n namespaceType,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.fetchExceptionListItemByIdWithValidation", + "type": "Function", + "tags": [], + "label": "fetchExceptionListItemByIdWithValidation", + "description": [], + "signature": [ + "({ http, id, namespaceType, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + }, + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.fetchExceptionListItemByIdWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n id,\n namespaceType,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByIdProps", + "text": "ApiCallByIdProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.fetchExceptionListsItemsByListIdsWithValidation", + "type": "Function", + "tags": [], + "label": "fetchExceptionListsItemsByListIdsWithValidation", + "description": [], + "signature": [ + "({ filterOptions, http, listIds, namespaceTypes, pagination, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByListIdProps", + "text": "ApiCallByListIdProps" + }, + ") => Promise<{ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.fetchExceptionListsItemsByListIdsWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n filterOptions,\n http,\n listIds,\n namespaceTypes,\n pagination,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallByListIdProps", + "text": "ApiCallByListIdProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.fetchExceptionListsWithValidation", + "type": "Function", + "tags": [], + "label": "fetchExceptionListsWithValidation", + "description": [], + "signature": [ + "({ filters, http, namespaceTypes, pagination, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallFetchExceptionListsProps", + "text": "ApiCallFetchExceptionListsProps" + }, + ") => Promise<{ data: { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }[]; page: number; per_page: number; total: number; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.fetchExceptionListsWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n filters,\n http,\n namespaceTypes,\n pagination,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallFetchExceptionListsProps", + "text": "ApiCallFetchExceptionListsProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.findListsWithValidation", + "type": "Function", + "tags": [], + "label": "findListsWithValidation", + "description": [], + "signature": [ + "({ cursor, http, pageIndex, pageSize, signal, }: ", + "FindListsParams", + ") => Promise<{ cursor: string; data: { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }[]; page: number; per_page: number; total: number; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.findListsWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n cursor,\n http,\n pageIndex,\n pageSize,\n signal,\n}", + "description": [], + "signature": [ + "FindListsParams" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.importListWithValidation", + "type": "Function", + "tags": [], + "label": "importListWithValidation", + "description": [], + "signature": [ + "({ file, http, listId, type, signal, }: ", + "ImportListParams", + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.importListWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n file,\n http,\n listId,\n type,\n signal,\n}", + "description": [], + "signature": [ + "ImportListParams" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.readListIndexWithValidation", + "type": "Function", + "tags": [], + "label": "readListIndexWithValidation", + "description": [], + "signature": [ + "({ http, signal, }: ", + "ApiParams", + ") => Promise<{ list_index: boolean; list_item_index: boolean; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.readListIndexWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n signal,\n}", + "description": [], + "signature": [ + "ApiParams" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.readListPrivileges", + "type": "Function", + "tags": [], + "label": "readListPrivileges", + "description": [], + "signature": [ + "({ http, signal }: ", + "ApiParams", + ") => Promise" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.readListPrivileges.$1", + "type": "Object", + "tags": [], + "label": "{ http, signal }", + "description": [], + "signature": [ + "ApiParams" + ], + "path": "packages/kbn-securitysolution-list-api/src/list_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.toError", + "type": "Function", + "tags": [], + "label": "toError", + "description": [], + "signature": [ + "(e: unknown) => Error" + ], + "path": "packages/kbn-securitysolution-list-api/src/fp_utils/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.toError.$1", + "type": "Unknown", + "tags": [], + "label": "e", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-securitysolution-list-api/src/fp_utils/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.toPromise", + "type": "Function", + "tags": [], + "label": "toPromise", + "description": [], + "signature": [ + "(taskEither: ", + "TaskEither", + ") => Promise" + ], + "path": "packages/kbn-securitysolution-list-api/src/fp_utils/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.toPromise.$1", + "type": "Function", + "tags": [], + "label": "taskEither", + "description": [], + "signature": [ + "TaskEither", + "" + ], + "path": "packages/kbn-securitysolution-list-api/src/fp_utils/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.updateExceptionListItemWithValidation", + "type": "Function", + "tags": [], + "label": "updateExceptionListItemWithValidation", + "description": [], + "signature": [ + "({ http, listItem, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UpdateExceptionListItemProps", + "text": "UpdateExceptionListItemProps" + }, + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.updateExceptionListItemWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n listItem,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UpdateExceptionListItemProps", + "text": "UpdateExceptionListItemProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.updateExceptionListWithValidation", + "type": "Function", + "tags": [], + "label": "updateExceptionListWithValidation", + "description": [], + "signature": [ + "({ http, list, signal, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UpdateExceptionListProps", + "text": "UpdateExceptionListProps" + }, + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }>" + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-api", + "id": "def-common.updateExceptionListWithValidation.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n list,\n signal,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UpdateExceptionListProps", + "text": "UpdateExceptionListProps" + } + ], + "path": "packages/kbn-securitysolution-list-api/src/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_list_api.mdx b/api_docs/kbn_securitysolution_list_api.mdx new file mode 100644 index 0000000000000..a62ff732588e9 --- /dev/null +++ b/api_docs/kbn_securitysolution_list_api.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnSecuritysolutionListApiPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-list-api +title: "@kbn/securitysolution-list-api" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-list-api plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-api'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionListApiObj from './kbn_securitysolution_list_api.json'; + +security solution list REST API + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 42 | 0 | 41 | 5 | + +## Common + +### Functions + + diff --git a/api_docs/kbn_securitysolution_list_constants.json b/api_docs/kbn_securitysolution_list_constants.json new file mode 100644 index 0000000000000..4e79074f47714 --- /dev/null +++ b/api_docs/kbn_securitysolution_list_constants.json @@ -0,0 +1,369 @@ +{ + "id": "@kbn/securitysolution-list-constants", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_EVENT_FILTERS_LIST_DESCRIPTION", + "type": "string", + "tags": [], + "label": "ENDPOINT_EVENT_FILTERS_LIST_DESCRIPTION", + "description": [ + "Description of event filters agnostic list" + ], + "signature": [ + "\"Endpoint Security Event Filters List\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_EVENT_FILTERS_LIST_ID", + "type": "string", + "tags": [], + "label": "ENDPOINT_EVENT_FILTERS_LIST_ID", + "description": [ + "ID of event filters agnostic list" + ], + "signature": [ + "\"endpoint_event_filters\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_EVENT_FILTERS_LIST_NAME", + "type": "string", + "tags": [], + "label": "ENDPOINT_EVENT_FILTERS_LIST_NAME", + "description": [ + "Name of event filters agnostic list" + ], + "signature": [ + "\"Endpoint Security Event Filters List\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_DESCRIPTION", + "type": "string", + "tags": [], + "label": "ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_DESCRIPTION", + "description": [], + "signature": [ + "\"Endpoint Security Host Isolation Exceptions List\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_ID", + "type": "string", + "tags": [], + "label": "ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_ID", + "description": [], + "signature": [ + "\"endpoint_host_isolation_exceptions\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_NAME", + "type": "string", + "tags": [], + "label": "ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_NAME", + "description": [], + "signature": [ + "\"Endpoint Security Host Isolation Exceptions List\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_LIST_DESCRIPTION", + "type": "string", + "tags": [], + "label": "ENDPOINT_LIST_DESCRIPTION", + "description": [ + "The description of the single global space agnostic endpoint list" + ], + "signature": [ + "\"Endpoint Security Exception List\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_LIST_ID", + "type": "string", + "tags": [], + "label": "ENDPOINT_LIST_ID", + "description": [ + "\nThis ID is used for _both_ the Saved Object ID and for the list_id\nfor the single global space agnostic endpoint list" + ], + "signature": [ + "\"endpoint_list\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_LIST_ITEM_URL", + "type": "string", + "tags": [], + "label": "ENDPOINT_LIST_ITEM_URL", + "description": [ + "\nSpecific routes for the single global space agnostic endpoint list. These are convenience\nroutes where they are going to try and create the global space agnostic endpoint list if it\ndoes not exist yet or if it was deleted at some point and re-create it before adding items to\nthe list" + ], + "signature": [ + "\"/api/endpoint_list/items\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_LIST_NAME", + "type": "string", + "tags": [], + "label": "ENDPOINT_LIST_NAME", + "description": [ + "The name of the single global space agnostic endpoint list" + ], + "signature": [ + "\"Endpoint Security Exception List\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_LIST_URL", + "type": "string", + "tags": [], + "label": "ENDPOINT_LIST_URL", + "description": [ + "\nSpecific routes for the single global space agnostic endpoint list" + ], + "signature": [ + "\"/api/endpoint_list\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_TRUSTED_APPS_LIST_DESCRIPTION", + "type": "string", + "tags": [], + "label": "ENDPOINT_TRUSTED_APPS_LIST_DESCRIPTION", + "description": [ + "Description of trusted apps agnostic list" + ], + "signature": [ + "\"Endpoint Security Trusted Apps List\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_TRUSTED_APPS_LIST_ID", + "type": "string", + "tags": [], + "label": "ENDPOINT_TRUSTED_APPS_LIST_ID", + "description": [ + "ID of trusted apps agnostic list" + ], + "signature": [ + "\"endpoint_trusted_apps\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.ENDPOINT_TRUSTED_APPS_LIST_NAME", + "type": "string", + "tags": [], + "label": "ENDPOINT_TRUSTED_APPS_LIST_NAME", + "description": [ + "Name of trusted apps agnostic list" + ], + "signature": [ + "\"Endpoint Security Trusted Apps List\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.EXCEPTION_LIST_ITEM_URL", + "type": "string", + "tags": [], + "label": "EXCEPTION_LIST_ITEM_URL", + "description": [], + "signature": [ + "\"/api/exception_lists/items\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.EXCEPTION_LIST_NAMESPACE", + "type": "string", + "tags": [], + "label": "EXCEPTION_LIST_NAMESPACE", + "description": [], + "signature": [ + "\"exception-list\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.EXCEPTION_LIST_NAMESPACE_AGNOSTIC", + "type": "string", + "tags": [], + "label": "EXCEPTION_LIST_NAMESPACE_AGNOSTIC", + "description": [ + "\nException list spaces" + ], + "signature": [ + "\"exception-list-agnostic\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.EXCEPTION_LIST_URL", + "type": "string", + "tags": [], + "label": "EXCEPTION_LIST_URL", + "description": [ + "\nException list routes" + ], + "signature": [ + "\"/api/exception_lists\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.LIST_INDEX", + "type": "string", + "tags": [], + "label": "LIST_INDEX", + "description": [], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.LIST_ITEM_URL", + "type": "string", + "tags": [], + "label": "LIST_ITEM_URL", + "description": [], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.LIST_PRIVILEGES_URL", + "type": "string", + "tags": [], + "label": "LIST_PRIVILEGES_URL", + "description": [], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.LIST_URL", + "type": "string", + "tags": [], + "label": "LIST_URL", + "description": [ + "\nValue list routes" + ], + "signature": [ + "\"/api/lists\"" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-constants", + "id": "def-common.MAX_EXCEPTION_LIST_SIZE", + "type": "number", + "tags": [], + "label": "MAX_EXCEPTION_LIST_SIZE", + "description": [], + "signature": [ + "10000" + ], + "path": "packages/kbn-securitysolution-list-constants/src/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_list_constants.mdx b/api_docs/kbn_securitysolution_list_constants.mdx new file mode 100644 index 0000000000000..7a9188f14a3ab --- /dev/null +++ b/api_docs/kbn_securitysolution_list_constants.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnSecuritysolutionListConstantsPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-list-constants +title: "@kbn/securitysolution-list-constants" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-list-constants plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-constants'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionListConstantsObj from './kbn_securitysolution_list_constants.json'; + +security solution list constants to use across plugins such lists, security_solution, cases, etc... + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 23 | 0 | 9 | 0 | + +## Common + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_list_hooks.json b/api_docs/kbn_securitysolution_list_hooks.json new file mode 100644 index 0000000000000..bc26e83c859ac --- /dev/null +++ b/api_docs/kbn_securitysolution_list_hooks.json @@ -0,0 +1,1202 @@ +{ + "id": "@kbn/securitysolution-list-hooks", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.addIdToExceptionItemEntries", + "type": "Function", + "tags": [], + "label": "addIdToExceptionItemEntries", + "description": [ + "\nThis adds an id to the incoming exception item entries as ReactJS prefers to have\nan id added to them for use as a stable id. Later if we decide to change the data\nmodel to have id's within the array then this code should be removed. If not, then\nthis code should stay as an adapter for ReactJS.\n\nThis does break the type system slightly as we are lying a bit to the type system as we return\nthe same exceptionItem as we have previously but are augmenting the arrays with an id which TypeScript\ndoesn't mind us doing here. However, downstream you will notice that you have an id when the type\ndoes not indicate it. In that case use (ExceptionItem & { id: string }) temporarily if you're using the id. If you're not,\nyou can ignore the id and just use the normal TypeScript with ReactJS.\n" + ], + "signature": [ + "(exceptionItem: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }) => { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.addIdToExceptionItemEntries.$1", + "type": "Object", + "tags": [], + "label": "exceptionItem", + "description": [ + "The exceptionItem to add an id to the threat matches." + ], + "signature": [ + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "exceptionItem The exceptionItem but with id added to the exception item entries" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.removeIdFromExceptionItemsEntries", + "type": "Function", + "tags": [], + "label": "removeIdFromExceptionItemsEntries", + "description": [ + "\nThis removes an id from the exceptionItem entries as ReactJS prefers to have\nan id added to them for use as a stable id. Later if we decide to change the data\nmodel to have id's within the array then this code should be removed. If not, then\nthis code should stay as an adapter for ReactJS.\n" + ], + "signature": [ + "(exceptionItem: T) => T" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.removeIdFromExceptionItemsEntries.$1", + "type": "Uncategorized", + "tags": [], + "label": "exceptionItem", + "description": [ + "The exceptionItem to remove an id from the entries." + ], + "signature": [ + "T" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "exceptionItem The exceptionItem but with id removed from the entries" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.transformInput", + "type": "Function", + "tags": [], + "label": "transformInput", + "description": [ + "\nTransforms the output of rules to compensate for technical debt or UI concerns such as\nReactJS preferences for having ids within arrays if the data is not modeled that way.\n\nIf you add a new transform of the input called \"myNewTransform\" do it\nin the form of:\nflow(addIdToExceptionItemEntries, myNewTransform)(exceptionItem)\n" + ], + "signature": [ + "(exceptionItem: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }) => { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.transformInput.$1", + "type": "Object", + "tags": [], + "label": "exceptionItem", + "description": [ + "The exceptionItem to transform the output of" + ], + "signature": [ + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "The exceptionItem transformed from the output" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.transformNewItemOutput", + "type": "Function", + "tags": [], + "label": "transformNewItemOutput", + "description": [], + "signature": [ + "(exceptionItem: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) => { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.transformNewItemOutput.$1", + "type": "CompoundType", + "tags": [], + "label": "exceptionItem", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.transformOutput", + "type": "Function", + "tags": [], + "label": "transformOutput", + "description": [ + "\nTransforms the output of exception items to compensate for technical debt or UI concerns such as\nReactJS preferences for having ids within arrays if the data is not modeled that way.\n\nIf you add a new transform of the output called \"myNewTransform\" do it\nin the form of:\nflow(removeIdFromExceptionItemsEntries, myNewTransform)(exceptionItem)\n" + ], + "signature": [ + "(exceptionItem: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; })) => { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; })" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.transformOutput.$1", + "type": "CompoundType", + "tags": [], + "label": "exceptionItem", + "description": [ + "The exceptionItem to transform the output of" + ], + "signature": [ + "{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; })" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/transforms/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "The exceptionItem transformed from the output" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useApi", + "type": "Function", + "tags": [], + "label": "useApi", + "description": [], + "signature": [ + "(http: HttpStart) => ", + { + "pluginId": "@kbn/securitysolution-list-hooks", + "scope": "common", + "docId": "kibKbnSecuritysolutionListHooksPluginApi", + "section": "def-common.ExceptionsApi", + "text": "ExceptionsApi" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useApi.$1", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + "HttpStart" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useCreateListIndex", + "type": "Function", + "tags": [], + "label": "useCreateListIndex", + "description": [], + "signature": [ + "() => ", + "Task", + "<[args: ", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, + "<", + "ApiParams", + ">], { acknowledged: boolean; }>" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_create_list_index/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useCursor", + "type": "Function", + "tags": [], + "label": "useCursor", + "description": [], + "signature": [ + "({ pageIndex, pageSize }: ", + { + "pluginId": "@kbn/securitysolution-list-hooks", + "scope": "common", + "docId": "kibKbnSecuritysolutionListHooksPluginApi", + "section": "def-common.UseCursorProps", + "text": "UseCursorProps" + }, + ") => [string | undefined, SetCursor]" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_cursor/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useCursor.$1", + "type": "Object", + "tags": [], + "label": "{ pageIndex, pageSize }", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-hooks", + "scope": "common", + "docId": "kibKbnSecuritysolutionListHooksPluginApi", + "section": "def-common.UseCursorProps", + "text": "UseCursorProps" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_cursor/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useDeleteList", + "type": "Function", + "tags": [], + "label": "useDeleteList", + "description": [], + "signature": [ + "() => ", + "Task", + "<[args: ", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, + "<", + "DeleteListParams", + ">], { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }>" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_delete_list/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useExceptionListItems", + "type": "Function", + "tags": [], + "label": "useExceptionListItems", + "description": [ + "\nHook for using to get an ExceptionList and it's ExceptionListItems\n" + ], + "signature": [ + "({ http, lists, pagination, filterOptions, showDetectionsListsOnly, showEndpointListsOnly, matchFilters, onError, onSuccess, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UseExceptionListProps", + "text": "UseExceptionListProps" + }, + ") => ", + { + "pluginId": "@kbn/securitysolution-list-hooks", + "scope": "common", + "docId": "kibKbnSecuritysolutionListHooksPluginApi", + "section": "def-common.ReturnExceptionListAndItems", + "text": "ReturnExceptionListAndItems" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_exception_list_items/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useExceptionListItems.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n lists,\n pagination = {\n page: 1,\n perPage: 20,\n total: 0,\n },\n filterOptions,\n showDetectionsListsOnly,\n showEndpointListsOnly,\n matchFilters,\n onError,\n onSuccess,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UseExceptionListProps", + "text": "UseExceptionListProps" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_exception_list_items/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useExceptionLists", + "type": "Function", + "tags": [], + "label": "useExceptionLists", + "description": [ + "\nHook for fetching ExceptionLists\n" + ], + "signature": [ + "({ errorMessage, http, initialPagination, filterOptions, namespaceTypes, notifications, showTrustedApps, showEventFilters, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UseExceptionListsProps", + "text": "UseExceptionListsProps" + }, + ") => ", + { + "pluginId": "@kbn/securitysolution-list-hooks", + "scope": "common", + "docId": "kibKbnSecuritysolutionListHooksPluginApi", + "section": "def-common.ReturnExceptionLists", + "text": "ReturnExceptionLists" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_exception_lists/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useExceptionLists.$1", + "type": "Object", + "tags": [], + "label": "{\n errorMessage,\n http,\n initialPagination = DEFAULT_PAGINATION,\n filterOptions = {},\n namespaceTypes,\n notifications,\n showTrustedApps = false,\n showEventFilters = false,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.UseExceptionListsProps", + "text": "UseExceptionListsProps" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_exception_lists/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useExportList", + "type": "Function", + "tags": [], + "label": "useExportList", + "description": [], + "signature": [ + "() => ", + "Task", + "<[args: ", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, + "<", + "ExportListParams", + ">], Blob>" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_export_list/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useFindLists", + "type": "Function", + "tags": [], + "label": "useFindLists", + "description": [], + "signature": [ + "() => ", + "Task", + "<[args: ", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, + "<", + "FindListsParams", + ">], { cursor: string; data: { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }[]; page: number; per_page: number; total: number; }>" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_find_lists/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useImportList", + "type": "Function", + "tags": [], + "label": "useImportList", + "description": [], + "signature": [ + "() => ", + "Task", + "<[args: ", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, + "<", + "ImportListParams", + ">], { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }>" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_import_list/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.usePersistExceptionItem", + "type": "Function", + "tags": [], + "label": "usePersistExceptionItem", + "description": [ + "\nHook for creating or updating ExceptionListItem\n" + ], + "signature": [ + "({ http, onError, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.PersistHookProps", + "text": "PersistHookProps" + }, + ") => ", + { + "pluginId": "@kbn/securitysolution-list-hooks", + "scope": "common", + "docId": "kibKbnSecuritysolutionListHooksPluginApi", + "section": "def-common.ReturnPersistExceptionItem", + "text": "ReturnPersistExceptionItem" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_persist_exception_item/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.usePersistExceptionItem.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n onError,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.PersistHookProps", + "text": "PersistHookProps" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_persist_exception_item/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.usePersistExceptionList", + "type": "Function", + "tags": [], + "label": "usePersistExceptionList", + "description": [ + "\nHook for creating or updating ExceptionList\n" + ], + "signature": [ + "({ http, onError, }: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.PersistHookProps", + "text": "PersistHookProps" + }, + ") => ", + { + "pluginId": "@kbn/securitysolution-list-hooks", + "scope": "common", + "docId": "kibKbnSecuritysolutionListHooksPluginApi", + "section": "def-common.ReturnPersistExceptionList", + "text": "ReturnPersistExceptionList" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_persist_exception_list/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.usePersistExceptionList.$1", + "type": "Object", + "tags": [], + "label": "{\n http,\n onError,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.PersistHookProps", + "text": "PersistHookProps" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_persist_exception_list/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useReadListIndex", + "type": "Function", + "tags": [], + "label": "useReadListIndex", + "description": [], + "signature": [ + "() => ", + "Task", + "<[args: ", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, + "<", + "ApiParams", + ">], { list_index: boolean; list_item_index: boolean; }>" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_read_list_index/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.useReadListPrivileges", + "type": "Function", + "tags": [], + "label": "useReadListPrivileges", + "description": [], + "signature": [ + "() => ", + "Task", + "<[args: ", + { + "pluginId": "@kbn/securitysolution-hook-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionHookUtilsPluginApi", + "section": "def-common.OptionalSignalArgs", + "text": "OptionalSignalArgs" + }, + "<", + "ApiParams", + ">], unknown>" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_read_list_privileges/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi", + "type": "Interface", + "tags": [], + "label": "ExceptionsApi", + "description": [], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.addExceptionListItem", + "type": "Function", + "tags": [], + "label": "addExceptionListItem", + "description": [], + "signature": [ + "(arg: { listItem: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }; }) => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.addExceptionListItem.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.addExceptionListItem.$1.listItem", + "type": "CompoundType", + "tags": [], + "label": "listItem", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.updateExceptionListItem", + "type": "Function", + "tags": [], + "label": "updateExceptionListItem", + "description": [], + "signature": [ + "(arg: { listItem: { description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }; }) => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.updateExceptionListItem.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.updateExceptionListItem.$1.listItem", + "type": "CompoundType", + "tags": [], + "label": "listItem", + "description": [], + "signature": [ + "{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.deleteExceptionItem", + "type": "Function", + "tags": [], + "label": "deleteExceptionItem", + "description": [], + "signature": [ + "(arg: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + }, + ") => Promise" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.deleteExceptionItem.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.deleteExceptionList", + "type": "Function", + "tags": [], + "label": "deleteExceptionList", + "description": [], + "signature": [ + "(arg: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + }, + ") => Promise" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.deleteExceptionList.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.getExceptionItem", + "type": "Function", + "tags": [], + "label": "getExceptionItem", + "description": [], + "signature": [ + "(arg: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + }, + " & { onSuccess: (arg: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }) => void; }) => Promise" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.getExceptionItem.$1", + "type": "CompoundType", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + }, + " & { onSuccess: (arg: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }) => void; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.getExceptionList", + "type": "Function", + "tags": [], + "label": "getExceptionList", + "description": [], + "signature": [ + "(arg: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + }, + " & { onSuccess: (arg: { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }) => void; }) => Promise" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.getExceptionList.$1", + "type": "CompoundType", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallMemoProps", + "text": "ApiCallMemoProps" + }, + " & { onSuccess: (arg: { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }) => void; }" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.getExceptionListsItems", + "type": "Function", + "tags": [], + "label": "getExceptionListsItems", + "description": [], + "signature": [ + "(arg: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallFindListsItemsMemoProps", + "text": "ApiCallFindListsItemsMemoProps" + }, + ") => Promise" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.getExceptionListsItems.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiCallFindListsItemsMemoProps", + "text": "ApiCallFindListsItemsMemoProps" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.exportExceptionList", + "type": "Function", + "tags": [], + "label": "exportExceptionList", + "description": [], + "signature": [ + "(arg: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiListExportProps", + "text": "ApiListExportProps" + }, + ") => Promise" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ExceptionsApi.exportExceptionList.$1", + "type": "Object", + "tags": [], + "label": "arg", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ApiListExportProps", + "text": "ApiListExportProps" + } + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.UseCursorProps", + "type": "Interface", + "tags": [], + "label": "UseCursorProps", + "description": [], + "path": "packages/kbn-securitysolution-list-hooks/src/use_cursor/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.UseCursorProps.pageIndex", + "type": "number", + "tags": [], + "label": "pageIndex", + "description": [], + "path": "packages/kbn-securitysolution-list-hooks/src/use_cursor/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.UseCursorProps.pageSize", + "type": "number", + "tags": [], + "label": "pageSize", + "description": [], + "path": "packages/kbn-securitysolution-list-hooks/src/use_cursor/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.Func", + "type": "Type", + "tags": [], + "label": "Func", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_exception_lists/index.ts", + "deprecated": false, + "returnComment": [], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ReturnExceptionListAndItems", + "type": "Type", + "tags": [], + "label": "ReturnExceptionListAndItems", + "description": [], + "signature": [ + "[boolean, { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[], ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.Pagination", + "text": "Pagination" + }, + ", Func | null]" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_exception_list_items/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ReturnExceptionLists", + "type": "Type", + "tags": [], + "label": "ReturnExceptionLists", + "description": [], + "signature": [ + "[loading: boolean, exceptionLists: { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }[], pagination: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.Pagination", + "text": "Pagination" + }, + ", setPagination: React.Dispatch>, fetchLists: ", + { + "pluginId": "@kbn/securitysolution-list-hooks", + "scope": "common", + "docId": "kibKbnSecuritysolutionListHooksPluginApi", + "section": "def-common.Func", + "text": "Func" + }, + " | null]" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_exception_lists/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ReturnPersistExceptionItem", + "type": "Type", + "tags": [], + "label": "ReturnPersistExceptionItem", + "description": [], + "signature": [ + "[PersistReturnExceptionItem, React.Dispatch<({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; name: string; type: \"simple\"; } & { _version?: string | undefined; comments?: ({ comment: string; } & { id?: string | undefined; })[] | undefined; id?: string | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }) | null>]" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_persist_exception_item/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-hooks", + "id": "def-common.ReturnPersistExceptionList", + "type": "Type", + "tags": [], + "label": "ReturnPersistExceptionList", + "description": [], + "signature": [ + "[PersistReturnExceptionList, React.Dispatch<({ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; } & { list_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; version?: number | undefined; }) | ({ description: string; name: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; } & { _version?: string | undefined; id?: string | undefined; list_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; version?: number | undefined; }) | null>]" + ], + "path": "packages/kbn-securitysolution-list-hooks/src/use_persist_exception_list/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_list_hooks.mdx b/api_docs/kbn_securitysolution_list_hooks.mdx new file mode 100644 index 0000000000000..b3b7f283ba839 --- /dev/null +++ b/api_docs/kbn_securitysolution_list_hooks.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnSecuritysolutionListHooksPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-list-hooks +title: "@kbn/securitysolution-list-hooks" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-list-hooks plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-hooks'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionListHooksObj from './kbn_securitysolution_list_hooks.json'; + +Security solution list ReactJS hooks + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 56 | 0 | 44 | 0 | + +## Common + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_list_utils.json b/api_docs/kbn_securitysolution_list_utils.json new file mode 100644 index 0000000000000..bfc009f17df0a --- /dev/null +++ b/api_docs/kbn_securitysolution_list_utils.json @@ -0,0 +1,4209 @@ +{ + "id": "@kbn/securitysolution-list-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.addIdToEntries", + "type": "Function", + "tags": [], + "label": "addIdToEntries", + "description": [], + "signature": [ + "(entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]) => ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.addIdToEntries.$1", + "type": "Array", + "tags": [], + "label": "entries", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionFilter", + "type": "Function", + "tags": [], + "label": "buildExceptionFilter", + "description": [], + "signature": [ + "({ lists, excludeExceptions, chunkSize, }: { lists: ({ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }))[]; excludeExceptions: boolean; chunkSize: number; }) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionFilter.$1", + "type": "Object", + "tags": [], + "label": "{\n lists,\n excludeExceptions,\n chunkSize,\n}", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionFilter.$1.lists", + "type": "Array", + "tags": [], + "label": "lists", + "description": [], + "signature": [ + "({ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }))[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionFilter.$1.excludeExceptions", + "type": "boolean", + "tags": [], + "label": "excludeExceptions", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionFilter.$1.chunkSize", + "type": "number", + "tags": [], + "label": "chunkSize", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionItemFilter", + "type": "Function", + "tags": [], + "label": "buildExceptionItemFilter", + "description": [], + "signature": [ + "(exceptionItem: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionItemSansLargeValueLists", + "text": "ExceptionItemSansLargeValueLists" + }, + ") => (", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + }, + " | ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.NestedFilter", + "text": "NestedFilter" + }, + ")[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionItemFilter.$1", + "type": "CompoundType", + "tags": [], + "label": "exceptionItem", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionItemSansLargeValueLists", + "text": "ExceptionItemSansLargeValueLists" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionItemFilterWithOsType", + "type": "Function", + "tags": [], + "label": "buildExceptionItemFilterWithOsType", + "description": [ + "\nThis builds an exception item filter with the os type" + ], + "signature": [ + "(osTypes: (\"windows\" | \"linux\" | \"macos\")[], entries: NonListEntry[]) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionItemFilterWithOsType.$1", + "type": "Array", + "tags": [], + "label": "osTypes", + "description": [ + "The os_type array from the REST interface that is an array such as ['windows', 'linux']" + ], + "signature": [ + "(\"windows\" | \"linux\" | \"macos\")[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExceptionItemFilterWithOsType.$2", + "type": "Array", + "tags": [], + "label": "entries", + "description": [ + "The entries to join the OR's with before the elastic filter change out" + ], + "signature": [ + "NonListEntry[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExclusionClause", + "type": "Function", + "tags": [], + "label": "buildExclusionClause", + "description": [], + "signature": [ + "(booleanFilter: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + }, + ") => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExclusionClause.$1", + "type": "Object", + "tags": [], + "label": "booleanFilter", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExistsClause", + "type": "Function", + "tags": [], + "label": "buildExistsClause", + "description": [], + "signature": [ + "(entry: { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; }) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildExistsClause.$1", + "type": "Object", + "tags": [], + "label": "entry", + "description": [], + "signature": [ + "{ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildMatchAnyClause", + "type": "Function", + "tags": [], + "label": "buildMatchAnyClause", + "description": [], + "signature": [ + "(entry: { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; }) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildMatchAnyClause.$1", + "type": "Object", + "tags": [], + "label": "entry", + "description": [], + "signature": [ + "{ field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildMatchClause", + "type": "Function", + "tags": [], + "label": "buildMatchClause", + "description": [], + "signature": [ + "(entry: { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; }) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildMatchClause.$1", + "type": "Object", + "tags": [], + "label": "entry", + "description": [], + "signature": [ + "{ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildNestedClause", + "type": "Function", + "tags": [], + "label": "buildNestedClause", + "description": [], + "signature": [ + "(entry: { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; }) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.NestedFilter", + "text": "NestedFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.buildNestedClause.$1", + "type": "Object", + "tags": [], + "label": "entry", + "description": [], + "signature": [ + "{ entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.chunkExceptions", + "type": "Function", + "tags": [], + "label": "chunkExceptions", + "description": [], + "signature": [ + "(exceptions: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionItemSansLargeValueLists", + "text": "ExceptionItemSansLargeValueLists" + }, + "[], chunkSize: number) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionItemSansLargeValueLists", + "text": "ExceptionItemSansLargeValueLists" + }, + "[][]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.chunkExceptions.$1", + "type": "Array", + "tags": [], + "label": "exceptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionItemSansLargeValueLists", + "text": "ExceptionItemSansLargeValueLists" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.chunkExceptions.$2", + "type": "number", + "tags": [], + "label": "chunkSize", + "description": [], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.containsValueListEntry", + "type": "Function", + "tags": [], + "label": "containsValueListEntry", + "description": [], + "signature": [ + "(items: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionsBuilderExceptionItem", + "text": "ExceptionsBuilderExceptionItem" + }, + "[]) => boolean" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.containsValueListEntry.$1", + "type": "Array", + "tags": [], + "label": "items", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionsBuilderExceptionItem", + "text": "ExceptionsBuilderExceptionItem" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.createInnerAndClauses", + "type": "Function", + "tags": [], + "label": "createInnerAndClauses", + "description": [], + "signature": [ + "(entry: NonListEntry, parent?: string | undefined) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + }, + " | ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.NestedFilter", + "text": "NestedFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.createInnerAndClauses.$1", + "type": "CompoundType", + "tags": [], + "label": "entry", + "description": [], + "signature": [ + "NonListEntry" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.createInnerAndClauses.$2", + "type": "string", + "tags": [], + "label": "parent", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.createOrClauses", + "type": "Function", + "tags": [], + "label": "createOrClauses", + "description": [], + "signature": [ + "(exceptionItems: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionItemSansLargeValueLists", + "text": "ExceptionItemSansLargeValueLists" + }, + "[]) => (", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + }, + " | ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.NestedFilter", + "text": "NestedFilter" + }, + ")[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.createOrClauses.$1", + "type": "Array", + "tags": [], + "label": "exceptionItems", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionItemSansLargeValueLists", + "text": "ExceptionItemSansLargeValueLists" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.filterExceptionItems", + "type": "Function", + "tags": [], + "label": "filterExceptionItems", + "description": [], + "signature": [ + "(exceptions: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionsBuilderExceptionItem", + "text": "ExceptionsBuilderExceptionItem" + }, + "[]) => ({ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | ({ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }))[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.filterExceptionItems.$1", + "type": "Array", + "tags": [], + "label": "exceptions", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionsBuilderExceptionItem", + "text": "ExceptionsBuilderExceptionItem" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getBaseMatchAnyClause", + "type": "Function", + "tags": [], + "label": "getBaseMatchAnyClause", + "description": [], + "signature": [ + "(entry: { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; }) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getBaseMatchAnyClause.$1", + "type": "Object", + "tags": [], + "label": "entry", + "description": [], + "signature": [ + "{ field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getBaseNestedClause", + "type": "Function", + "tags": [], + "label": "getBaseNestedClause", + "description": [], + "signature": [ + "(entries: NonListEntry[], parentField: string) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BooleanFilter", + "text": "BooleanFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getBaseNestedClause.$1", + "type": "Array", + "tags": [], + "label": "entries", + "description": [], + "signature": [ + "NonListEntry[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getBaseNestedClause.$2", + "type": "string", + "tags": [], + "label": "parentField", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getCorrespondingKeywordField", + "type": "Function", + "tags": [], + "label": "getCorrespondingKeywordField", + "description": [ + "\nFields of type 'text' do not generate autocomplete values, we want\nto find it's corresponding keyword type (if available) which does\ngenerate autocomplete values\n" + ], + "signature": [ + "({ fields, selectedField, }: { fields: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + "[]; selectedField: string | undefined; }) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getCorrespondingKeywordField.$1", + "type": "Object", + "tags": [], + "label": "{\n fields,\n selectedField,\n}", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getCorrespondingKeywordField.$1.fields", + "type": "Array", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getCorrespondingKeywordField.$1.selectedField", + "type": "string", + "tags": [], + "label": "selectedField", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getDefaultEmptyEntry", + "type": "Function", + "tags": [], + "label": "getDefaultEmptyEntry", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.EmptyEntry", + "text": "EmptyEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getDefaultNestedEmptyEntry", + "type": "Function", + "tags": [], + "label": "getDefaultNestedEmptyEntry", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.EmptyNestedEntry", + "text": "EmptyNestedEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryFromOperator", + "type": "Function", + "tags": [], + "label": "getEntryFromOperator", + "description": [ + "\nOn operator change, determines whether value needs to be cleared or not\n" + ], + "signature": [ + "(selectedOperator: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + }, + ", currentEntry: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + }, + ") => ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } & { id?: string | undefined; }) | ({ field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } & { id?: string | undefined; })" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryFromOperator.$1", + "type": "Object", + "tags": [], + "label": "selectedOperator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryFromOperator.$2", + "type": "Object", + "tags": [], + "label": "currentEntry", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnFieldChange", + "type": "Function", + "tags": [], + "label": "getEntryOnFieldChange", + "description": [ + "\nDetermines proper entry update when user selects new field\n" + ], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + }, + ", newField: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + ") => { index: number; updatedEntry: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + "; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnFieldChange.$1", + "type": "Object", + "tags": [], + "label": "item", + "description": [ + "- current exception item entry values" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnFieldChange.$2", + "type": "Object", + "tags": [], + "label": "newField", + "description": [ + "- newly selected field" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnListChange", + "type": "Function", + "tags": [], + "label": "getEntryOnListChange", + "description": [ + "\nDetermines proper entry update when user updates value\nwhen operator is of type \"list\"\n" + ], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + }, + ", newField: { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }) => { index: number; updatedEntry: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + "; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnListChange.$1", + "type": "Object", + "tags": [], + "label": "item", + "description": [ + "- current exception item entry values" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnListChange.$2", + "type": "Object", + "tags": [], + "label": "newField", + "description": [ + "- newly selected list" + ], + "signature": [ + "{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnMatchAnyChange", + "type": "Function", + "tags": [], + "label": "getEntryOnMatchAnyChange", + "description": [ + "\nDetermines proper entry update when user updates value\nwhen operator is of type \"match_any\"\n" + ], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + }, + ", newField: string[]) => { index: number; updatedEntry: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + "; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnMatchAnyChange.$1", + "type": "Object", + "tags": [], + "label": "item", + "description": [ + "- current exception item entry values" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnMatchAnyChange.$2", + "type": "Array", + "tags": [], + "label": "newField", + "description": [ + "- newly entered value" + ], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnMatchChange", + "type": "Function", + "tags": [], + "label": "getEntryOnMatchChange", + "description": [ + "\nDetermines proper entry update when user updates value\nwhen operator is of type \"match\"\n" + ], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + }, + ", newField: string) => { index: number; updatedEntry: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + "; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnMatchChange.$1", + "type": "Object", + "tags": [], + "label": "item", + "description": [ + "- current exception item entry values" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnMatchChange.$2", + "type": "string", + "tags": [], + "label": "newField", + "description": [ + "- newly entered value" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnOperatorChange", + "type": "Function", + "tags": [], + "label": "getEntryOnOperatorChange", + "description": [ + "\nDetermines proper entry update when user selects new operator\n" + ], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + }, + ", newOperator: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + }, + ") => { updatedEntry: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + "; index: number; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnOperatorChange.$1", + "type": "Object", + "tags": [], + "label": "item", + "description": [ + "- current exception item entry values" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryOnOperatorChange.$2", + "type": "Object", + "tags": [], + "label": "newOperator", + "description": [ + "- newly selected operator" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryValue", + "type": "Function", + "tags": [], + "label": "getEntryValue", + "description": [ + "\nReturns the fields corresponding value for an entry\n" + ], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + ") => string | string[] | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getEntryValue.$1", + "type": "CompoundType", + "tags": [], + "label": "item", + "description": [ + "a single ExceptionItem entry" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getExceptionListType", + "type": "Function", + "tags": [], + "label": "getExceptionListType", + "description": [], + "signature": [ + "({ savedObjectType, }: { savedObjectType: string; }) => \"single\" | \"agnostic\"" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_exception_list_type/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getExceptionListType.$1", + "type": "Object", + "tags": [], + "label": "{\n savedObjectType,\n}", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_exception_list_type/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getExceptionListType.$1.savedObjectType", + "type": "string", + "tags": [], + "label": "savedObjectType", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_exception_list_type/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getExceptionOperatorSelect", + "type": "Function", + "tags": [], + "label": "getExceptionOperatorSelect", + "description": [ + "\nDetermines operator selection (is/is not/is one of, etc.)\nDefault operator is \"is\"\n" + ], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + ") => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getExceptionOperatorSelect.$1", + "type": "CompoundType", + "tags": [], + "label": "item", + "description": [ + "a single ExceptionItem entry" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFilteredIndexPatterns", + "type": "Function", + "tags": [], + "label": "getFilteredIndexPatterns", + "description": [ + "\nReturns filtered index patterns based on the field - if a user selects to\nadd nested entry, should only show nested fields, if item is the parent\nfield of a nested entry, we only display the parent field\n" + ], + "signature": [ + "(patterns: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ", item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + }, + ", type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\", preFilter?: ((i: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ", t: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\", o?: (\"windows\" | \"linux\" | \"macos\")[] | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ") | undefined, osTypes?: (\"windows\" | \"linux\" | \"macos\")[] | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFilteredIndexPatterns.$1", + "type": "Object", + "tags": [], + "label": "patterns", + "description": [ + "IndexPatternBase containing available fields on rule index" + ], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFilteredIndexPatterns.$2", + "type": "Object", + "tags": [], + "label": "item", + "description": [ + "exception item entry\nset to add a nested field" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFilteredIndexPatterns.$3", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFilteredIndexPatterns.$4", + "type": "Function", + "tags": [], + "label": "preFilter", + "description": [], + "signature": [ + "((i: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ", t: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\", o?: (\"windows\" | \"linux\" | \"macos\")[] | undefined) => ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ") | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFilteredIndexPatterns.$5", + "type": "Array", + "tags": [], + "label": "osTypes", + "description": [], + "signature": [ + "(\"windows\" | \"linux\" | \"macos\")[] | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFilters", + "type": "Function", + "tags": [], + "label": "getFilters", + "description": [], + "signature": [ + "({ filters, namespaceTypes, showTrustedApps, showEventFilters, }: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.GetFiltersParams", + "text": "GetFiltersParams" + }, + ") => string" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_filters/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFilters.$1", + "type": "Object", + "tags": [], + "label": "{\n filters,\n namespaceTypes,\n showTrustedApps,\n showEventFilters,\n}", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.GetFiltersParams", + "text": "GetFiltersParams" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_filters/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntries", + "type": "Function", + "tags": [], + "label": "getFormattedBuilderEntries", + "description": [ + "\nFormats the entries to be easily usable for the UI, most of the\ncomplexity was introduced with nested fields\n" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ", entries: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + "[], parent?: { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | undefined, parentIndex?: number | undefined) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntries.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntries.$2", + "type": "Array", + "tags": [], + "label": "entries", + "description": [ + "exception item entries" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntries.$3", + "type": "Object", + "tags": [], + "label": "parent", + "description": [ + "nested entries hold copy of their parent for use in various logic" + ], + "signature": [ + "{ entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntries.$4", + "type": "number", + "tags": [], + "label": "parentIndex", + "description": [ + "corresponds to the entry index, this might seem obvious, but\nwas added to ensure that nested items could be identified with their parent entry" + ], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntry", + "type": "Function", + "tags": [], + "label": "getFormattedBuilderEntry", + "description": [ + "\nFormats the entry into one that is easily usable for the UI, most of the\ncomplexity was introduced with nested fields\n" + ], + "signature": [ + "(indexPattern: ", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + }, + ", item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + ", itemIndex: number, parent: { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | undefined, parentIndex: number | undefined) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntry.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewBase", + "text": "DataViewBase" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntry.$2", + "type": "CompoundType", + "tags": [], + "label": "item", + "description": [ + "exception item entry" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntry.$3", + "type": "number", + "tags": [], + "label": "itemIndex", + "description": [ + "entry index" + ], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntry.$4", + "type": "Object", + "tags": [], + "label": "parent", + "description": [ + "nested entries hold copy of their parent for use in various logic" + ], + "signature": [ + "{ entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getFormattedBuilderEntry.$5", + "type": "number", + "tags": [], + "label": "parentIndex", + "description": [ + "corresponds to the entry index, this might seem obvious, but\nwas added to ensure that nested items could be identified with their parent entry" + ], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getGeneralFilters", + "type": "Function", + "tags": [], + "label": "getGeneralFilters", + "description": [], + "signature": [ + "(filters: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListFilter", + "text": "ExceptionListFilter" + }, + ", namespaceTypes: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.SavedObjectType", + "text": "SavedObjectType" + }, + "[]) => string" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_general_filters/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getGeneralFilters.$1", + "type": "Object", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListFilter", + "text": "ExceptionListFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_general_filters/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getGeneralFilters.$2", + "type": "Array", + "tags": [], + "label": "namespaceTypes", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.SavedObjectType", + "text": "SavedObjectType" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_general_filters/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getIdsAndNamespaces", + "type": "Function", + "tags": [], + "label": "getIdsAndNamespaces", + "description": [], + "signature": [ + "({ lists, showDetection, showEndpoint, }: { lists: ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListIdentifiers", + "text": "ExceptionListIdentifiers" + }, + "[]; showDetection: boolean; showEndpoint: boolean; }) => { ids: string[]; namespaces: (\"single\" | \"agnostic\")[]; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_ids_and_namespaces/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getIdsAndNamespaces.$1", + "type": "Object", + "tags": [], + "label": "{\n lists,\n showDetection,\n showEndpoint,\n}", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_ids_and_namespaces/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getIdsAndNamespaces.$1.lists", + "type": "Array", + "tags": [], + "label": "lists", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListIdentifiers", + "text": "ExceptionListIdentifiers" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_ids_and_namespaces/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getIdsAndNamespaces.$1.showDetection", + "type": "boolean", + "tags": [], + "label": "showDetection", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_ids_and_namespaces/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getIdsAndNamespaces.$1.showEndpoint", + "type": "boolean", + "tags": [], + "label": "showEndpoint", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_ids_and_namespaces/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getNewExceptionItem", + "type": "Function", + "tags": [], + "label": "getNewExceptionItem", + "description": [], + "signature": [ + "({ listId, namespaceType, ruleName, }: { listId: string; namespaceType: \"single\" | \"agnostic\"; ruleName: string; }) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.CreateExceptionListItemBuilderSchema", + "text": "CreateExceptionListItemBuilderSchema" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getNewExceptionItem.$1", + "type": "Object", + "tags": [], + "label": "{\n listId,\n namespaceType,\n ruleName,\n}", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getNewExceptionItem.$1.listId", + "type": "string", + "tags": [], + "label": "listId", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getNewExceptionItem.$1.namespaceType", + "type": "CompoundType", + "tags": [], + "label": "namespaceType", + "description": [], + "signature": [ + "\"single\" | \"agnostic\"" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getNewExceptionItem.$1.ruleName", + "type": "string", + "tags": [], + "label": "ruleName", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getOperatorOptions", + "type": "Function", + "tags": [], + "label": "getOperatorOptions", + "description": [ + "\nDetermines which operators to make available\n" + ], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + }, + ", listType: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\", isBoolean: boolean, includeValueListOperators?: boolean) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getOperatorOptions.$1", + "type": "Object", + "tags": [], + "label": "item", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.FormattedBuilderEntry", + "text": "FormattedBuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getOperatorOptions.$2", + "type": "CompoundType", + "tags": [], + "label": "listType", + "description": [], + "signature": [ + "\"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getOperatorOptions.$3", + "type": "boolean", + "tags": [], + "label": "isBoolean", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getOperatorOptions.$4", + "type": "boolean", + "tags": [], + "label": "includeValueListOperators", + "description": [ + "whether or not to include the 'is in list' and 'is not in list' operators" + ], + "signature": [ + "boolean" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getOperatorType", + "type": "Function", + "tags": [], + "label": "getOperatorType", + "description": [ + "\nReturns the operator type, may not need this if using io-ts types\n" + ], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + ") => ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getOperatorType.$1", + "type": "CompoundType", + "tags": [], + "label": "item", + "description": [ + "a single ExceptionItem entry" + ], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getSavedObjectType", + "type": "Function", + "tags": [], + "label": "getSavedObjectType", + "description": [], + "signature": [ + "({ namespaceType, }: { namespaceType: \"single\" | \"agnostic\"; }) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.SavedObjectType", + "text": "SavedObjectType" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_saved_object_type/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getSavedObjectType.$1", + "type": "Object", + "tags": [], + "label": "{\n namespaceType,\n}", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_saved_object_type/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getSavedObjectType.$1.namespaceType", + "type": "CompoundType", + "tags": [], + "label": "namespaceType", + "description": [], + "signature": [ + "\"single\" | \"agnostic\"" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_saved_object_type/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getSavedObjectTypes", + "type": "Function", + "tags": [], + "label": "getSavedObjectTypes", + "description": [], + "signature": [ + "({ namespaceType, }: { namespaceType: (\"single\" | \"agnostic\")[]; }) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.SavedObjectType", + "text": "SavedObjectType" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_saved_object_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getSavedObjectTypes.$1", + "type": "Object", + "tags": [], + "label": "{\n namespaceType,\n}", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_saved_object_types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getSavedObjectTypes.$1.namespaceType", + "type": "Array", + "tags": [], + "label": "namespaceType", + "description": [], + "signature": [ + "(\"single\" | \"agnostic\")[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_saved_object_types/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getTrustedAppsFilter", + "type": "Function", + "tags": [], + "label": "getTrustedAppsFilter", + "description": [], + "signature": [ + "(showTrustedApps: boolean, namespaceTypes: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.SavedObjectType", + "text": "SavedObjectType" + }, + "[]) => string" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_trusted_apps_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getTrustedAppsFilter.$1", + "type": "boolean", + "tags": [], + "label": "showTrustedApps", + "description": [], + "signature": [ + "boolean" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_trusted_apps_filter/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getTrustedAppsFilter.$2", + "type": "Array", + "tags": [], + "label": "namespaceTypes", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.SavedObjectType", + "text": "SavedObjectType" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_trusted_apps_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getUpdatedEntriesOnDelete", + "type": "Function", + "tags": [], + "label": "getUpdatedEntriesOnDelete", + "description": [ + "\nDetermines whether an entire entry, exception item, or entry within a nested\nentry needs to be removed\n" + ], + "signature": [ + "(exceptionItem: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionsBuilderExceptionItem", + "text": "ExceptionsBuilderExceptionItem" + }, + ", entryIndex: number, nestedParentIndex: number | null) => ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionsBuilderExceptionItem", + "text": "ExceptionsBuilderExceptionItem" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getUpdatedEntriesOnDelete.$1", + "type": "CompoundType", + "tags": [], + "label": "exceptionItem", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionsBuilderExceptionItem", + "text": "ExceptionsBuilderExceptionItem" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getUpdatedEntriesOnDelete.$2", + "type": "number", + "tags": [], + "label": "entryIndex", + "description": [ + "index of given entry, for nested entries, this will correspond\nto their parent index" + ], + "signature": [ + "number" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.getUpdatedEntriesOnDelete.$3", + "type": "CompoundType", + "tags": [], + "label": "nestedParentIndex", + "description": [], + "signature": [ + "number | null" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.hasLargeValueList", + "type": "Function", + "tags": [], + "label": "hasLargeValueList", + "description": [], + "signature": [ + "(entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]) => boolean" + ], + "path": "packages/kbn-securitysolution-list-utils/src/has_large_value_list/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.hasLargeValueList.$1", + "type": "Array", + "tags": [], + "label": "entries", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/has_large_value_list/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isEntryNested", + "type": "Function", + "tags": [], + "label": "isEntryNested", + "description": [], + "signature": [ + "(item: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + ") => item is { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isEntryNested.$1", + "type": "CompoundType", + "tags": [], + "label": "item", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/helpers/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.transformOsType", + "type": "Function", + "tags": [], + "label": "transformOsType", + "description": [ + "\nTransforms the os_type into a regular filter as if the user had created it\nfrom the fields for the next state of transforms which will create the elastic filters\nfrom it.\n\nNote: We use two types of fields, the \"host.os.type\" and \"host.os.name.caseless\"\nThe endpoint/endgame agent has been using \"host.os.name.caseless\" as the same value as the ECS\nvalue of \"host.os.type\" where the auditbeat, winlogbeat, etc... (other agents) are all using\n\"host.os.type\". In order to be compatible with both, I create an \"OR\" between these two data types\nwhere if either has a match then we will exclude it as part of the match. This should also be\nforwards compatible for endpoints/endgame agents when/if they upgrade to using \"host.os.type\"\nrather than using \"host.os.name.caseless\" values.\n\nAlso we create another \"OR\" from the osType names so that if there are multiples such as ['windows', 'linux']\nthis will exclude anything with either 'windows' or with 'linux'" + ], + "signature": [ + "(osTypes: (\"windows\" | \"linux\" | \"macos\")[], entries: NonListEntry[]) => NonListEntry[][]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.transformOsType.$1", + "type": "Array", + "tags": [], + "label": "osTypes", + "description": [ + "The os_type array from the REST interface that is an array such as ['windows', 'linux']" + ], + "signature": [ + "(\"windows\" | \"linux\" | \"macos\")[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.transformOsType.$2", + "type": "Array", + "tags": [], + "label": "entries", + "description": [ + "The entries to join the OR's with before the elastic filter change out" + ], + "signature": [ + "NonListEntry[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.BooleanFilter", + "type": "Interface", + "tags": [], + "label": "BooleanFilter", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.BooleanFilter.bool", + "type": "Object", + "tags": [], + "label": "bool", + "description": [], + "signature": [ + "{ must?: unknown; must_not?: unknown; should?: unknown[] | undefined; filter?: unknown; minimum_should_match?: number | undefined; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyEntry", + "type": "Interface", + "tags": [], + "label": "EmptyEntry", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyEntry.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyEntry.field", + "type": "string", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyEntry.operator", + "type": "Enum", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyEntry.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".MATCH | ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".MATCH_ANY | ", + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".WILDCARD" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyEntry.value", + "type": "CompoundType", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "string | string[] | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyListEntry", + "type": "Interface", + "tags": [], + "label": "EmptyListEntry", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyListEntry.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyListEntry.field", + "type": "string", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyListEntry.operator", + "type": "Enum", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyListEntry.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".LIST" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyListEntry.list", + "type": "Object", + "tags": [], + "label": "list", + "description": [], + "signature": [ + "{ id: string | undefined; type: string | undefined; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyNestedEntry", + "type": "Interface", + "tags": [], + "label": "EmptyNestedEntry", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyNestedEntry.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyNestedEntry.field", + "type": "string", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyNestedEntry.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".NESTED" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EmptyNestedEntry.entries", + "type": "Array", + "tags": [], + "label": "entries", + "description": [], + "signature": [ + "(({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } & { id?: string | undefined; }))[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.FormattedBuilderEntry", + "type": "Interface", + "tags": [], + "label": "FormattedBuilderEntry", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.FormattedBuilderEntry.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.FormattedBuilderEntry.field", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.FormattedBuilderEntry.operator", + "type": "Object", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.FormattedBuilderEntry.value", + "type": "CompoundType", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "string | string[] | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.FormattedBuilderEntry.nested", + "type": "CompoundType", + "tags": [], + "label": "nested", + "description": [], + "signature": [ + "\"parent\" | \"child\" | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.FormattedBuilderEntry.entryIndex", + "type": "number", + "tags": [], + "label": "entryIndex", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.FormattedBuilderEntry.parent", + "type": "Object", + "tags": [], + "label": "parent", + "description": [], + "signature": [ + "{ parent: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntryNested", + "text": "BuilderEntryNested" + }, + "; parentIndex: number; } | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.FormattedBuilderEntry.correspondingKeywordField", + "type": "Object", + "tags": [], + "label": "correspondingKeywordField", + "description": [], + "signature": [ + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.DataViewFieldBase", + "text": "DataViewFieldBase" + }, + " | undefined" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.GetFiltersParams", + "type": "Interface", + "tags": [], + "label": "GetFiltersParams", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_filters/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.GetFiltersParams.filters", + "type": "Object", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ExceptionListFilter", + "text": "ExceptionListFilter" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_filters/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.GetFiltersParams.namespaceTypes", + "type": "Array", + "tags": [], + "label": "namespaceTypes", + "description": [], + "signature": [ + "(\"single\" | \"agnostic\")[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/get_filters/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.GetFiltersParams.showTrustedApps", + "type": "boolean", + "tags": [], + "label": "showTrustedApps", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_filters/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.GetFiltersParams.showEventFilters", + "type": "boolean", + "tags": [], + "label": "showEventFilters", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/get_filters/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.NestedFilter", + "type": "Interface", + "tags": [], + "label": "NestedFilter", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.NestedFilter.nested", + "type": "Object", + "tags": [], + "label": "nested", + "description": [], + "signature": [ + "{ path: string; query: unknown; score_mode: string; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.OperatorOption", + "type": "Interface", + "tags": [], + "label": "OperatorOption", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.OperatorOption.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.OperatorOption.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.OperatorOption.operator", + "type": "Enum", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.OperatorOption.type", + "type": "Enum", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.BuilderEntry", + "type": "Type", + "tags": [], + "label": "BuilderEntry", + "description": [], + "signature": [ + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } & { id?: string | undefined; }) | ({ field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } & { id?: string | undefined; }) | ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.EmptyListEntry", + "text": "EmptyListEntry" + }, + " | ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.EmptyEntry", + "text": "EmptyEntry" + }, + " | ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntryNested", + "text": "BuilderEntryNested" + }, + " | ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.EmptyNestedEntry", + "text": "EmptyNestedEntry" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.BuilderEntryNested", + "type": "Type", + "tags": [], + "label": "BuilderEntryNested", + "description": [], + "signature": [ + "Pick<{ entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; }, \"type\" | \"field\"> & { id?: string | undefined; entries: (({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } & { id?: string | undefined; }) | ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } & { id?: string | undefined; }))[]; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.CreateExceptionListItemBuilderSchema", + "type": "Type", + "tags": [], + "label": "CreateExceptionListItemBuilderSchema", + "description": [], + "signature": [ + "Pick<{ description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; })[]; list_id: string; name: string; type: \"simple\"; } & { comments?: { comment: string; }[] | undefined; item_id?: string | undefined; meta?: object | undefined; namespace_type?: \"single\" | \"agnostic\" | undefined; os_types?: (\"windows\" | \"linux\" | \"macos\")[] | undefined; tags?: string[] | undefined; }, \"type\" | \"description\" | \"name\" | \"tags\" | \"comments\" | \"list_id\" | \"namespace_type\" | \"os_types\" | \"item_id\"> & { meta: { temporaryUuid: string; }; entries: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + "[]; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EVENT_FILTERS_OPERATORS", + "type": "Array", + "tags": [], + "label": "EVENT_FILTERS_OPERATORS", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EXCEPTION_OPERATORS", + "type": "Array", + "tags": [], + "label": "EXCEPTION_OPERATORS", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EXCEPTION_OPERATORS_ONLY_LISTS", + "type": "Array", + "tags": [], + "label": "EXCEPTION_OPERATORS_ONLY_LISTS", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.EXCEPTION_OPERATORS_SANS_LISTS", + "type": "Array", + "tags": [], + "label": "EXCEPTION_OPERATORS_SANS_LISTS", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.OperatorOption", + "text": "OperatorOption" + }, + "[]" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.ExceptionItemSansLargeValueLists", + "type": "Type", + "tags": [], + "label": "ExceptionItemSansLargeValueLists", + "description": [], + "signature": [ + "ExceptionListItemNonLargeList | CreateExceptionListItemNonLargeList" + ], + "path": "packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.exceptionListAgnosticSavedObjectType", + "type": "string", + "tags": [], + "label": "exceptionListAgnosticSavedObjectType", + "description": [], + "signature": [ + "\"exception-list-agnostic\"" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.ExceptionListItemBuilderSchema", + "type": "Type", + "tags": [], + "label": "ExceptionListItemBuilderSchema", + "description": [], + "signature": [ + "Pick<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }, \"type\" | \"id\" | \"description\" | \"name\" | \"tags\" | \"meta\" | \"updated_at\" | \"comments\" | \"_version\" | \"created_at\" | \"created_by\" | \"updated_by\" | \"tie_breaker_id\" | \"list_id\" | \"namespace_type\" | \"os_types\" | \"item_id\"> & { entries: ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.BuilderEntry", + "text": "BuilderEntry" + }, + "[]; }" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.exceptionListSavedObjectType", + "type": "string", + "tags": [], + "label": "exceptionListSavedObjectType", + "description": [], + "signature": [ + "\"exception-list\"" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.ExceptionsBuilderExceptionItem", + "type": "Type", + "tags": [], + "label": "ExceptionsBuilderExceptionItem", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.ExceptionListItemBuilderSchema", + "text": "ExceptionListItemBuilderSchema" + }, + " | ", + { + "pluginId": "@kbn/securitysolution-list-utils", + "scope": "common", + "docId": "kibKbnSecuritysolutionListUtilsPluginApi", + "section": "def-common.CreateExceptionListItemBuilderSchema", + "text": "CreateExceptionListItemBuilderSchema" + } + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.SavedObjectType", + "type": "Type", + "tags": [], + "label": "SavedObjectType", + "description": [], + "signature": [ + "\"exception-list-agnostic\" | \"exception-list\"" + ], + "path": "packages/kbn-securitysolution-list-utils/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.doesNotExistOperator", + "type": "Object", + "tags": [], + "label": "doesNotExistOperator", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.doesNotExistOperator.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.doesNotExistOperator.operator", + "type": "string", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, + ".EXCLUDED" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.doesNotExistOperator.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".EXISTS" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.doesNotExistOperator.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.existsOperator", + "type": "Object", + "tags": [], + "label": "existsOperator", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.existsOperator.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.existsOperator.operator", + "type": "string", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, + ".INCLUDED" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.existsOperator.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".EXISTS" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.existsOperator.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isInListOperator", + "type": "Object", + "tags": [], + "label": "isInListOperator", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isInListOperator.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isInListOperator.operator", + "type": "string", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, + ".INCLUDED" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isInListOperator.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".LIST" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isInListOperator.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotInListOperator", + "type": "Object", + "tags": [], + "label": "isNotInListOperator", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotInListOperator.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotInListOperator.operator", + "type": "string", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, + ".EXCLUDED" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotInListOperator.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".LIST" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotInListOperator.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOneOfOperator", + "type": "Object", + "tags": [], + "label": "isNotOneOfOperator", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOneOfOperator.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOneOfOperator.operator", + "type": "string", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, + ".EXCLUDED" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOneOfOperator.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".MATCH_ANY" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOneOfOperator.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOperator", + "type": "Object", + "tags": [], + "label": "isNotOperator", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOperator.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOperator.operator", + "type": "string", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, + ".EXCLUDED" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOperator.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".MATCH" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isNotOperator.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOneOfOperator", + "type": "Object", + "tags": [], + "label": "isOneOfOperator", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOneOfOperator.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOneOfOperator.operator", + "type": "string", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, + ".INCLUDED" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOneOfOperator.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".MATCH_ANY" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOneOfOperator.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOperator", + "type": "Object", + "tags": [], + "label": "isOperator", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOperator.message", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOperator.operator", + "type": "string", + "tags": [], + "label": "operator", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorEnum", + "text": "ListOperatorEnum" + }, + ".INCLUDED" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOperator.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-io-ts-list-types", + "scope": "common", + "docId": "kibKbnSecuritysolutionIoTsListTypesPluginApi", + "section": "def-common.ListOperatorTypeEnum", + "text": "ListOperatorTypeEnum" + }, + ".MATCH" + ], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-list-utils", + "id": "def-common.isOperator.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "packages/kbn-securitysolution-list-utils/src/autocomplete_operators/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_list_utils.mdx b/api_docs/kbn_securitysolution_list_utils.mdx new file mode 100644 index 0000000000000..f9a897821ff57 --- /dev/null +++ b/api_docs/kbn_securitysolution_list_utils.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnSecuritysolutionListUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-list-utils +title: "@kbn/securitysolution-list-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-list-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-list-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionListUtilsObj from './kbn_securitysolution_list_utils.json'; + +security solution list utilities + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 222 | 0 | 177 | 0 | + +## Common + +### Objects + + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_t_grid.json b/api_docs/kbn_securitysolution_t_grid.json new file mode 100644 index 0000000000000..8127113746fe8 --- /dev/null +++ b/api_docs/kbn_securitysolution_t_grid.json @@ -0,0 +1,1776 @@ +{ + "id": "@kbn/securitysolution-t-grid", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.destinationIsTimelineButton", + "type": "Function", + "tags": [], + "label": "destinationIsTimelineButton", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.destinationIsTimelineButton.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.destinationIsTimelineColumns", + "type": "Function", + "tags": [], + "label": "destinationIsTimelineColumns", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.destinationIsTimelineColumns.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.destinationIsTimelineProviders", + "type": "Function", + "tags": [], + "label": "destinationIsTimelineProviders", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.destinationIsTimelineProviders.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.draggableIsContent", + "type": "Function", + "tags": [], + "label": "draggableIsContent", + "description": [], + "signature": [ + "(result: ", + "DropResult", + " | { draggableId: string; }) => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.draggableIsContent.$1", + "type": "CompoundType", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult", + " | { draggableId: string; }" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.draggableIsField", + "type": "Function", + "tags": [], + "label": "draggableIsField", + "description": [], + "signature": [ + "(result: ", + "DropResult", + " | { draggableId: string; }) => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.draggableIsField.$1", + "type": "CompoundType", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult", + " | { draggableId: string; }" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.escapeContextId", + "type": "Function", + "tags": [], + "label": "escapeContextId", + "description": [], + "signature": [ + "(path: string) => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.escapeContextId.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.escapeDataProviderId", + "type": "Function", + "tags": [], + "label": "escapeDataProviderId", + "description": [], + "signature": [ + "(path: string) => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.escapeDataProviderId.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.escapeFieldId", + "type": "Function", + "tags": [], + "label": "escapeFieldId", + "description": [], + "signature": [ + "(path: string) => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.escapeFieldId.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.fieldWasDroppedOnTimelineColumns", + "type": "Function", + "tags": [], + "label": "fieldWasDroppedOnTimelineColumns", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.fieldWasDroppedOnTimelineColumns.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getDraggableFieldId", + "type": "Function", + "tags": [], + "label": "getDraggableFieldId", + "description": [], + "signature": [ + "({ contextId, fieldId, }: { contextId: string; fieldId: string; }) => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getDraggableFieldId.$1", + "type": "Object", + "tags": [], + "label": "{\n contextId,\n fieldId,\n}", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getDraggableFieldId.$1.contextId", + "type": "string", + "tags": [], + "label": "contextId", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getDraggableFieldId.$1.fieldId", + "type": "string", + "tags": [], + "label": "fieldId", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getDraggableId", + "type": "Function", + "tags": [], + "label": "getDraggableId", + "description": [], + "signature": [ + "(dataProviderId: string) => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getDraggableId.$1", + "type": "string", + "tags": [], + "label": "dataProviderId", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getDroppableId", + "type": "Function", + "tags": [], + "label": "getDroppableId", + "description": [], + "signature": [ + "(visualizationPlaceholderId: string) => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getDroppableId.$1", + "type": "string", + "tags": [], + "label": "visualizationPlaceholderId", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getFieldIdFromDraggable", + "type": "Function", + "tags": [], + "label": "getFieldIdFromDraggable", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getFieldIdFromDraggable.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getProviderIdFromDraggable", + "type": "Function", + "tags": [], + "label": "getProviderIdFromDraggable", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getProviderIdFromDraggable.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getTimelineProviderDraggableId", + "type": "Function", + "tags": [], + "label": "getTimelineProviderDraggableId", + "description": [], + "signature": [ + "({ dataProviderId, groupIndex, timelineId, }: { dataProviderId: string; groupIndex: number; timelineId: string; }) => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getTimelineProviderDraggableId.$1", + "type": "Object", + "tags": [], + "label": "{\n dataProviderId,\n groupIndex,\n timelineId,\n}", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getTimelineProviderDraggableId.$1.dataProviderId", + "type": "string", + "tags": [], + "label": "dataProviderId", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getTimelineProviderDraggableId.$1.groupIndex", + "type": "number", + "tags": [], + "label": "groupIndex", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getTimelineProviderDraggableId.$1.timelineId", + "type": "string", + "tags": [], + "label": "timelineId", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getTimelineProviderDroppableId", + "type": "Function", + "tags": [], + "label": "getTimelineProviderDroppableId", + "description": [], + "signature": [ + "({ groupIndex, timelineId, }: { groupIndex: number; timelineId: string; }) => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getTimelineProviderDroppableId.$1", + "type": "Object", + "tags": [], + "label": "{\n groupIndex,\n timelineId,\n}", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getTimelineProviderDroppableId.$1.groupIndex", + "type": "number", + "tags": [], + "label": "groupIndex", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.getTimelineProviderDroppableId.$1.timelineId", + "type": "string", + "tags": [], + "label": "timelineId", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.isAppError", + "type": "Function", + "tags": [], + "label": "isAppError", + "description": [], + "signature": [ + "(error: unknown) => error is ", + { + "pluginId": "@kbn/securitysolution-t-grid", + "scope": "common", + "docId": "kibKbnSecuritysolutionTGridPluginApi", + "section": "def-common.AppError", + "text": "AppError" + } + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.isAppError.$1", + "type": "Unknown", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.isKibanaError", + "type": "Function", + "tags": [], + "label": "isKibanaError", + "description": [], + "signature": [ + "(error: unknown) => error is ", + { + "pluginId": "@kbn/securitysolution-t-grid", + "scope": "common", + "docId": "kibKbnSecuritysolutionTGridPluginApi", + "section": "def-common.KibanaError", + "text": "KibanaError" + } + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.isKibanaError.$1", + "type": "Unknown", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.isNotFoundError", + "type": "Function", + "tags": [], + "label": "isNotFoundError", + "description": [], + "signature": [ + "(error: unknown) => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.isNotFoundError.$1", + "type": "Unknown", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.isSecurityAppError", + "type": "Function", + "tags": [], + "label": "isSecurityAppError", + "description": [], + "signature": [ + "(error: unknown) => error is ", + { + "pluginId": "@kbn/securitysolution-t-grid", + "scope": "common", + "docId": "kibKbnSecuritysolutionTGridPluginApi", + "section": "def-common.SecurityAppError", + "text": "SecurityAppError" + } + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.isSecurityAppError.$1", + "type": "Unknown", + "tags": [], + "label": "error", + "description": [], + "signature": [ + "unknown" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.providerWasDroppedOnTimeline", + "type": "Function", + "tags": [], + "label": "providerWasDroppedOnTimeline", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.providerWasDroppedOnTimeline.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.reasonIsDrop", + "type": "Function", + "tags": [], + "label": "reasonIsDrop", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.reasonIsDrop.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.sourceAndDestinationAreSameTimelineProviders", + "type": "Function", + "tags": [], + "label": "sourceAndDestinationAreSameTimelineProviders", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.sourceAndDestinationAreSameTimelineProviders.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.sourceIsContent", + "type": "Function", + "tags": [], + "label": "sourceIsContent", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.sourceIsContent.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.unEscapeFieldId", + "type": "Function", + "tags": [], + "label": "unEscapeFieldId", + "description": [], + "signature": [ + "(path: string) => string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.unEscapeFieldId.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.userIsReArrangingProviders", + "type": "Function", + "tags": [], + "label": "userIsReArrangingProviders", + "description": [], + "signature": [ + "(result: ", + "DropResult", + ") => boolean" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.userIsReArrangingProviders.$1", + "type": "Object", + "tags": [], + "label": "result", + "description": [], + "signature": [ + "DropResult" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.AppError", + "type": "Interface", + "tags": [], + "label": "AppError", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-t-grid", + "scope": "common", + "docId": "kibKbnSecuritysolutionTGridPluginApi", + "section": "def-common.AppError", + "text": "AppError" + }, + " extends Error" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.AppError.body", + "type": "Object", + "tags": [], + "label": "body", + "description": [], + "signature": [ + "{ message: string; }" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.KibanaError", + "type": "Interface", + "tags": [], + "label": "KibanaError", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-t-grid", + "scope": "common", + "docId": "kibKbnSecuritysolutionTGridPluginApi", + "section": "def-common.KibanaError", + "text": "KibanaError" + }, + " extends ", + { + "pluginId": "@kbn/securitysolution-t-grid", + "scope": "common", + "docId": "kibKbnSecuritysolutionTGridPluginApi", + "section": "def-common.AppError", + "text": "AppError" + } + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.KibanaError.body", + "type": "Object", + "tags": [], + "label": "body", + "description": [], + "signature": [ + "{ message: string; statusCode: number; }" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.SecurityAppError", + "type": "Interface", + "tags": [], + "label": "SecurityAppError", + "description": [], + "signature": [ + { + "pluginId": "@kbn/securitysolution-t-grid", + "scope": "common", + "docId": "kibKbnSecuritysolutionTGridPluginApi", + "section": "def-common.SecurityAppError", + "text": "SecurityAppError" + }, + " extends ", + { + "pluginId": "@kbn/securitysolution-t-grid", + "scope": "common", + "docId": "kibKbnSecuritysolutionTGridPluginApi", + "section": "def-common.AppError", + "text": "AppError" + } + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.SecurityAppError.body", + "type": "Object", + "tags": [], + "label": "body", + "description": [], + "signature": [ + "{ message: string; status_code: number; }" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/api/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.DRAG_TYPE_FIELD", + "type": "string", + "tags": [], + "label": "DRAG_TYPE_FIELD", + "description": [ + "\nPrevents fields from being dragged or dropped to any area other than column\nheader drop zone in the timeline" + ], + "signature": [ + "\"drag-type-field\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.DRAGGABLE_KEYBOARD_WRAPPER_CLASS_NAME", + "type": "string", + "tags": [], + "label": "DRAGGABLE_KEYBOARD_WRAPPER_CLASS_NAME", + "description": [], + "signature": [ + "\"draggable-keyboard-wrapper\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/constants/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.draggableContentPrefix", + "type": "string", + "tags": [], + "label": "draggableContentPrefix", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.draggableFieldPrefix", + "type": "string", + "tags": [], + "label": "draggableFieldPrefix", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.draggableIdPrefix", + "type": "string", + "tags": [], + "label": "draggableIdPrefix", + "description": [], + "signature": [ + "\"draggableId\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.draggableTimelineProvidersPrefix", + "type": "string", + "tags": [], + "label": "draggableTimelineProvidersPrefix", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.droppableContentPrefix", + "type": "string", + "tags": [], + "label": "droppableContentPrefix", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.droppableFieldPrefix", + "type": "string", + "tags": [], + "label": "droppableFieldPrefix", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.droppableIdPrefix", + "type": "string", + "tags": [], + "label": "droppableIdPrefix", + "description": [], + "signature": [ + "\"droppableId\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.droppableTimelineColumnsPrefix", + "type": "string", + "tags": [], + "label": "droppableTimelineColumnsPrefix", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.droppableTimelineFlyoutBottomBarPrefix", + "type": "string", + "tags": [], + "label": "droppableTimelineFlyoutBottomBarPrefix", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.droppableTimelineProvidersPrefix", + "type": "string", + "tags": [], + "label": "droppableTimelineProvidersPrefix", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.EMPTY_PROVIDERS_GROUP_CLASS_NAME", + "type": "string", + "tags": [], + "label": "EMPTY_PROVIDERS_GROUP_CLASS_NAME", + "description": [], + "signature": [ + "\"empty-providers-group\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/constants/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventDetailsFormattedFields", + "type": "Array", + "tags": [], + "label": "eventDetailsFormattedFields", + "description": [], + "signature": [ + "{ category: string; field: string; isObjectArray: boolean; originalValue: string[]; values: string[]; }[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.HIGHLIGHTED_DROP_TARGET_CLASS_NAME", + "type": "string", + "tags": [], + "label": "HIGHLIGHTED_DROP_TARGET_CLASS_NAME", + "description": [], + "signature": [ + "\"highlighted-drop-target\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/constants/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.HOVER_ACTIONS_ALWAYS_SHOW_CLASS_NAME", + "type": "string", + "tags": [], + "label": "HOVER_ACTIONS_ALWAYS_SHOW_CLASS_NAME", + "description": [], + "signature": [ + "\"hover-actions-always-show\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/constants/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.IS_DRAGGING_CLASS_NAME", + "type": "string", + "tags": [], + "label": "IS_DRAGGING_CLASS_NAME", + "description": [ + "This class is added to the document body while dragging" + ], + "signature": [ + "\"is-dragging\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/constants/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.IS_TIMELINE_FIELD_DRAGGING_CLASS_NAME", + "type": "string", + "tags": [], + "label": "IS_TIMELINE_FIELD_DRAGGING_CLASS_NAME", + "description": [ + "This class is added to the document body while timeline field dragging" + ], + "signature": [ + "\"is-timeline-field-dragging\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/utils/drag_and_drop/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.KEYBOARD_DRAG_OFFSET", + "type": "number", + "tags": [], + "label": "KEYBOARD_DRAG_OFFSET", + "description": [ + "The draggable will move this many pixels via the keyboard when the arrow key is pressed" + ], + "signature": [ + "20" + ], + "path": "packages/kbn-securitysolution-t-grid/src/constants/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.NOTE_CONTENT_CLASS_NAME", + "type": "string", + "tags": [], + "label": "NOTE_CONTENT_CLASS_NAME", + "description": [], + "signature": [ + "\"note-content\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/constants/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.NOTES_CONTAINER_CLASS_NAME", + "type": "string", + "tags": [], + "label": "NOTES_CONTAINER_CLASS_NAME", + "description": [], + "signature": [ + "\"notes-container\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/constants/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.ROW_RENDERER_CLASS_NAME", + "type": "string", + "tags": [], + "label": "ROW_RENDERER_CLASS_NAME", + "description": [], + "signature": [ + "\"row-renderer\"" + ], + "path": "packages/kbn-securitysolution-t-grid/src/constants/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit", + "type": "Object", + "tags": [], + "label": "eventHit", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit._index", + "type": "string", + "tags": [], + "label": "_index", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit._id", + "type": "string", + "tags": [], + "label": "_id", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit._score", + "type": "number", + "tags": [], + "label": "_score", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit._type", + "type": "string", + "tags": [], + "label": "_type", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields", + "type": "Object", + "tags": [], + "label": "fields", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.event.category", + "type": "Array", + "tags": [], + "label": "'event.category'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.process.ppid", + "type": "Array", + "tags": [], + "label": "'process.ppid'", + "description": [], + "signature": [ + "number[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.user.name", + "type": "Array", + "tags": [], + "label": "'user.name'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.process.args", + "type": "Array", + "tags": [], + "label": "'process.args'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.message", + "type": "Array", + "tags": [], + "label": "message", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.process.pid", + "type": "Array", + "tags": [], + "label": "'process.pid'", + "description": [], + "signature": [ + "number[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.process.working_directory", + "type": "Array", + "tags": [], + "label": "'process.working_directory'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.process.entity_id", + "type": "Array", + "tags": [], + "label": "'process.entity_id'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.host.ip", + "type": "Array", + "tags": [], + "label": "'host.ip'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.process.name", + "type": "Array", + "tags": [], + "label": "'process.name'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.event.action", + "type": "Array", + "tags": [], + "label": "'event.action'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.agent.type", + "type": "Array", + "tags": [], + "label": "'agent.type'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.timestamp", + "type": "Array", + "tags": [], + "label": "'@timestamp'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.event.module", + "type": "Array", + "tags": [], + "label": "'event.module'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.event.type", + "type": "Array", + "tags": [], + "label": "'event.type'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.host.name", + "type": "Array", + "tags": [], + "label": "'host.name'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.process.hash.sha1", + "type": "Array", + "tags": [], + "label": "'process.hash.sha1'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.host.os.family", + "type": "Array", + "tags": [], + "label": "'host.os.family'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.event.kind", + "type": "Array", + "tags": [], + "label": "'event.kind'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.host.id", + "type": "Array", + "tags": [], + "label": "'host.id'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.event.dataset", + "type": "Array", + "tags": [], + "label": "'event.dataset'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.process.executable", + "type": "Array", + "tags": [], + "label": "'process.executable'", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.source.geo.location", + "type": "Array", + "tags": [], + "label": "'source.geo.location'", + "description": [], + "signature": [ + "{ coordinates: number[]; type: string; }[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.fields.threat.enrichments", + "type": "Array", + "tags": [], + "label": "'threat.enrichments'", + "description": [], + "signature": [ + "({ 'matched.field': string[]; 'indicator.first_seen': string[]; 'indicator.provider': string[]; 'indicator.type': string[]; 'matched.atomic': string[]; lazer: { 'great.field': string[]; }[]; } | { 'matched.field': string[]; 'indicator.first_seen': string[]; 'indicator.provider': string[]; 'indicator.type': string[]; 'matched.atomic': string[]; lazer: { 'great.field': { wowoe: { fooooo: string[]; }[]; astring: string; aNumber: number; anObject: { neat: boolean; }; }[]; }[]; })[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit._source", + "type": "Object", + "tags": [], + "label": "_source", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false, + "children": [] + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.sort", + "type": "Array", + "tags": [], + "label": "sort", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/securitysolution-t-grid", + "id": "def-common.eventHit.aggregations", + "type": "Object", + "tags": [], + "label": "aggregations", + "description": [], + "path": "packages/kbn-securitysolution-t-grid/src/mock/mock_event_details.ts", + "deprecated": false, + "children": [] + } + ], + "initialIsOpen": false + } + ] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_t_grid.mdx b/api_docs/kbn_securitysolution_t_grid.mdx new file mode 100644 index 0000000000000..c4b812a13e938 --- /dev/null +++ b/api_docs/kbn_securitysolution_t_grid.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnSecuritysolutionTGridPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-t-grid +title: "@kbn/securitysolution-t-grid" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-t-grid plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-t-grid'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionTGridObj from './kbn_securitysolution_t_grid.json'; + +security solution t-grid packages will allow sharing components between timelines and security_solution plugin until we transfer all functionality to timelines plugin + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 120 | 0 | 116 | 0 | + +## Common + +### Objects + + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_securitysolution_utils.json b/api_docs/kbn_securitysolution_utils.json new file mode 100644 index 0000000000000..fc0556f7926a0 --- /dev/null +++ b/api_docs/kbn_securitysolution_utils.json @@ -0,0 +1,94 @@ +{ + "id": "@kbn/securitysolution-utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/securitysolution-utils", + "id": "def-server.addIdToItem", + "type": "Function", + "tags": [], + "label": "addIdToItem", + "description": [], + "signature": [ + "(item: NotArray) => T" + ], + "path": "packages/kbn-securitysolution-utils/src/add_remove_id_to_item/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-utils", + "id": "def-server.addIdToItem.$1", + "type": "Uncategorized", + "tags": [], + "label": "item", + "description": [], + "signature": [ + "NotArray" + ], + "path": "packages/kbn-securitysolution-utils/src/add_remove_id_to_item/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/securitysolution-utils", + "id": "def-server.removeIdFromItem", + "type": "Function", + "tags": [], + "label": "removeIdFromItem", + "description": [ + "\nThis is to reverse the id you added to your arrays for ReactJS keys." + ], + "signature": [ + "(item: NotArray) => T | Pick>" + ], + "path": "packages/kbn-securitysolution-utils/src/add_remove_id_to_item/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/securitysolution-utils", + "id": "def-server.removeIdFromItem.$1", + "type": "Uncategorized", + "tags": [], + "label": "item", + "description": [ + "The item to remove the id from." + ], + "signature": [ + "NotArray" + ], + "path": "packages/kbn-securitysolution-utils/src/add_remove_id_to_item/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_securitysolution_utils.mdx b/api_docs/kbn_securitysolution_utils.mdx new file mode 100644 index 0000000000000..63039630e7c9a --- /dev/null +++ b/api_docs/kbn_securitysolution_utils.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnSecuritysolutionUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-securitysolution-utils +title: "@kbn/securitysolution-utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/securitysolution-utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/securitysolution-utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnSecuritysolutionUtilsObj from './kbn_securitysolution_utils.json'; + +security solution utilities to use across plugins such lists, security_solution, cases, etc... + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 4 | 0 | 2 | 0 | + +## Server + +### Functions + + diff --git a/api_docs/kbn_server_http_tools.json b/api_docs/kbn_server_http_tools.json new file mode 100644 index 0000000000000..75f619cdeaa84 --- /dev/null +++ b/api_docs/kbn_server_http_tools.json @@ -0,0 +1,914 @@ +{ + "id": "@kbn/server-http-tools", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig", + "type": "Class", + "tags": [], + "label": "SslConfig", + "description": [], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.enabled", + "type": "boolean", + "tags": [], + "label": "enabled", + "description": [], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.redirectHttpFromPort", + "type": "number", + "tags": [], + "label": "redirectHttpFromPort", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.key", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.certificate", + "type": "string", + "tags": [], + "label": "certificate", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.certificateAuthorities", + "type": "Array", + "tags": [], + "label": "certificateAuthorities", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.keyPassphrase", + "type": "string", + "tags": [], + "label": "keyPassphrase", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.requestCert", + "type": "boolean", + "tags": [], + "label": "requestCert", + "description": [], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.rejectUnauthorized", + "type": "boolean", + "tags": [], + "label": "rejectUnauthorized", + "description": [], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.cipherSuites", + "type": "Array", + "tags": [], + "label": "cipherSuites", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.supportedProtocols", + "type": "Array", + "tags": [], + "label": "supportedProtocols", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.SslConfig.getSecureOptions", + "type": "Function", + "tags": [], + "label": "getSecureOptions", + "description": [ + "\nOptions that affect the OpenSSL protocol behavior via numeric bitmask of the SSL_OP_* options from OpenSSL Options." + ], + "signature": [ + "() => number" + ], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.createServer", + "type": "Function", + "tags": [], + "label": "createServer", + "description": [], + "signature": [ + "(serverOptions: ", + "ServerOptions", + ", listenerOptions: ", + "ListenerOptions", + ") => ", + "Server" + ], + "path": "packages/kbn-server-http-tools/src/create_server.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.createServer.$1", + "type": "Object", + "tags": [], + "label": "serverOptions", + "description": [], + "signature": [ + "ServerOptions" + ], + "path": "packages/kbn-server-http-tools/src/create_server.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.createServer.$2", + "type": "Object", + "tags": [], + "label": "listenerOptions", + "description": [], + "signature": [ + "ListenerOptions" + ], + "path": "packages/kbn-server-http-tools/src/create_server.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.defaultValidationErrorHandler", + "type": "Function", + "tags": [], + "label": "defaultValidationErrorHandler", + "description": [ + "\nUsed to replicate Hapi v16 and below's validation responses. Should be used in the routes.validate.failAction key." + ], + "signature": [ + "(request: ", + "Request", + ", h: ", + "ResponseToolkit", + ", err: Error | undefined) => ", + "Lifecycle", + ".ReturnValue" + ], + "path": "packages/kbn-server-http-tools/src/default_validation_error_handler.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.defaultValidationErrorHandler.$1", + "type": "Object", + "tags": [], + "label": "request", + "description": [], + "signature": [ + "Request" + ], + "path": "packages/kbn-server-http-tools/src/default_validation_error_handler.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.defaultValidationErrorHandler.$2", + "type": "Object", + "tags": [], + "label": "h", + "description": [], + "signature": [ + "ResponseToolkit" + ], + "path": "packages/kbn-server-http-tools/src/default_validation_error_handler.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.defaultValidationErrorHandler.$3", + "type": "Object", + "tags": [], + "label": "err", + "description": [], + "signature": [ + "Error | undefined" + ], + "path": "packages/kbn-server-http-tools/src/default_validation_error_handler.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getListenerOptions", + "type": "Function", + "tags": [], + "label": "getListenerOptions", + "description": [], + "signature": [ + "(config: ", + { + "pluginId": "@kbn/server-http-tools", + "scope": "server", + "docId": "kibKbnServerHttpToolsPluginApi", + "section": "def-server.IHttpConfig", + "text": "IHttpConfig" + }, + ") => ", + "ListenerOptions" + ], + "path": "packages/kbn-server-http-tools/src/get_listener_options.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getListenerOptions.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/server-http-tools", + "scope": "server", + "docId": "kibKbnServerHttpToolsPluginApi", + "section": "def-server.IHttpConfig", + "text": "IHttpConfig" + } + ], + "path": "packages/kbn-server-http-tools/src/get_listener_options.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getRequestId", + "type": "Function", + "tags": [], + "label": "getRequestId", + "description": [], + "signature": [ + "(request: ", + "Request", + ", { allowFromAnyIp, ipAllowlist }: { allowFromAnyIp: boolean; ipAllowlist: string[]; }) => string" + ], + "path": "packages/kbn-server-http-tools/src/get_request_id.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getRequestId.$1", + "type": "Object", + "tags": [], + "label": "request", + "description": [], + "signature": [ + "Request" + ], + "path": "packages/kbn-server-http-tools/src/get_request_id.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getRequestId.$2", + "type": "Object", + "tags": [], + "label": "{ allowFromAnyIp, ipAllowlist }", + "description": [], + "path": "packages/kbn-server-http-tools/src/get_request_id.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getRequestId.$2.allowFromAnyIp", + "type": "boolean", + "tags": [], + "label": "allowFromAnyIp", + "description": [], + "path": "packages/kbn-server-http-tools/src/get_request_id.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getRequestId.$2.ipAllowlist", + "type": "Array", + "tags": [], + "label": "ipAllowlist", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-server-http-tools/src/get_request_id.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getServerOptions", + "type": "Function", + "tags": [], + "label": "getServerOptions", + "description": [ + "\nConverts Kibana `HttpConfig` into `ServerOptions` that are accepted by the Hapi server." + ], + "signature": [ + "(config: ", + { + "pluginId": "@kbn/server-http-tools", + "scope": "server", + "docId": "kibKbnServerHttpToolsPluginApi", + "section": "def-server.IHttpConfig", + "text": "IHttpConfig" + }, + ", { configureTLS = true }: { configureTLS?: boolean | undefined; }) => ", + "ServerOptions" + ], + "path": "packages/kbn-server-http-tools/src/get_server_options.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getServerOptions.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + { + "pluginId": "@kbn/server-http-tools", + "scope": "server", + "docId": "kibKbnServerHttpToolsPluginApi", + "section": "def-server.IHttpConfig", + "text": "IHttpConfig" + } + ], + "path": "packages/kbn-server-http-tools/src/get_server_options.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.getServerOptions.$2", + "type": "Object", + "tags": [], + "label": "{ configureTLS = true }", + "description": [], + "signature": [ + "{ configureTLS?: boolean | undefined; }" + ], + "path": "packages/kbn-server-http-tools/src/get_server_options.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ICorsConfig", + "type": "Interface", + "tags": [], + "label": "ICorsConfig", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ICorsConfig.enabled", + "type": "boolean", + "tags": [], + "label": "enabled", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ICorsConfig.allowCredentials", + "type": "boolean", + "tags": [], + "label": "allowCredentials", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ICorsConfig.allowOrigin", + "type": "Array", + "tags": [], + "label": "allowOrigin", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.IHttpConfig", + "type": "Interface", + "tags": [], + "label": "IHttpConfig", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.IHttpConfig.host", + "type": "string", + "tags": [], + "label": "host", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.IHttpConfig.port", + "type": "number", + "tags": [], + "label": "port", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.IHttpConfig.maxPayload", + "type": "Object", + "tags": [], + "label": "maxPayload", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + } + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.IHttpConfig.keepaliveTimeout", + "type": "number", + "tags": [], + "label": "keepaliveTimeout", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.IHttpConfig.socketTimeout", + "type": "number", + "tags": [], + "label": "socketTimeout", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.IHttpConfig.cors", + "type": "Object", + "tags": [], + "label": "cors", + "description": [], + "signature": [ + { + "pluginId": "@kbn/server-http-tools", + "scope": "server", + "docId": "kibKbnServerHttpToolsPluginApi", + "section": "def-server.ICorsConfig", + "text": "ICorsConfig" + } + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.IHttpConfig.ssl", + "type": "Object", + "tags": [], + "label": "ssl", + "description": [], + "signature": [ + { + "pluginId": "@kbn/server-http-tools", + "scope": "server", + "docId": "kibKbnServerHttpToolsPluginApi", + "section": "def-server.ISslConfig", + "text": "ISslConfig" + } + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.IHttpConfig.shutdownTimeout", + "type": "Object", + "tags": [], + "label": "shutdownTimeout", + "description": [], + "signature": [ + "moment.Duration" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig", + "type": "Interface", + "tags": [], + "label": "ISslConfig", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig.enabled", + "type": "boolean", + "tags": [], + "label": "enabled", + "description": [], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig.key", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig.certificate", + "type": "string", + "tags": [], + "label": "certificate", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig.certificateAuthorities", + "type": "Array", + "tags": [], + "label": "certificateAuthorities", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig.cipherSuites", + "type": "Array", + "tags": [], + "label": "cipherSuites", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig.keyPassphrase", + "type": "string", + "tags": [], + "label": "keyPassphrase", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig.requestCert", + "type": "CompoundType", + "tags": [], + "label": "requestCert", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig.rejectUnauthorized", + "type": "CompoundType", + "tags": [], + "label": "rejectUnauthorized", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.ISslConfig.getSecureOptions", + "type": "Function", + "tags": [], + "label": "getSecureOptions", + "description": [], + "signature": [ + "(() => number) | undefined" + ], + "path": "packages/kbn-server-http-tools/src/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [], + "objects": [ + { + "parentPluginId": "@kbn/server-http-tools", + "id": "def-server.sslSchema", + "type": "Object", + "tags": [], + "label": "sslSchema", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "<{ certificate: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; certificateAuthorities: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; cipherSuites: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; enabled: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; key: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; keyPassphrase: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; keystore: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "<{ path: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; password: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; }>; truststore: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "<{ path: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; password: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; }>; redirectHttpFromPort: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; supportedProtocols: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "; clientAuthentication: ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + "<\"none\" | \"required\" | \"optional\">; }>" + ], + "path": "packages/kbn-server-http-tools/src/ssl/ssl_config.ts", + "deprecated": false, + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_server_http_tools.mdx b/api_docs/kbn_server_http_tools.mdx new file mode 100644 index 0000000000000..9c55bb96eaec7 --- /dev/null +++ b/api_docs/kbn_server_http_tools.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnServerHttpToolsPluginApi +slug: /kibana-dev-docs/api/kbn-server-http-tools +title: "@kbn/server-http-tools" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/server-http-tools plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-http-tools'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnServerHttpToolsObj from './kbn_server_http_tools.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 53 | 0 | 50 | 1 | + +## Server + +### Objects + + +### Functions + + +### Classes + + +### Interfaces + + diff --git a/api_docs/kbn_server_route_repository.json b/api_docs/kbn_server_route_repository.json new file mode 100644 index 0000000000000..222a9f3270330 --- /dev/null +++ b/api_docs/kbn_server_route_repository.json @@ -0,0 +1,668 @@ +{ + "id": "@kbn/server-route-repository", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.createServerRouteFactory", + "type": "Function", + "tags": [], + "label": "createServerRouteFactory", + "description": [], + "signature": [ + "() => > | undefined = undefined>(route: ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, + ") => ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, + "" + ], + "path": "packages/kbn-server-route-repository/src/create_server_route_factory.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.createServerRouteRepository", + "type": "Function", + "tags": [], + "label": "createServerRouteRepository", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, + "" + ], + "path": "packages/kbn-server-route-repository/src/create_server_route_repository.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.decodeRequestParams", + "type": "Function", + "tags": [], + "label": "decodeRequestParams", + "description": [], + "signature": [ + "(params: KibanaRequestParams, paramsRt: T) => ", + "OutputOf", + "" + ], + "path": "packages/kbn-server-route-repository/src/decode_request_params.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.decodeRequestParams.$1", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "KibanaRequestParams" + ], + "path": "packages/kbn-server-route-repository/src/decode_request_params.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.decodeRequestParams.$2", + "type": "Uncategorized", + "tags": [], + "label": "paramsRt", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-server-route-repository/src/decode_request_params.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.formatRequest", + "type": "Function", + "tags": [], + "label": "formatRequest", + "description": [], + "signature": [ + "(endpoint: string, pathParams: Record) => { method: Method; pathname: string; }" + ], + "path": "packages/kbn-server-route-repository/src/format_request.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.formatRequest.$1", + "type": "string", + "tags": [], + "label": "endpoint", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-server-route-repository/src/format_request.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.formatRequest.$2", + "type": "Object", + "tags": [], + "label": "pathParams", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-server-route-repository/src/format_request.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.parseEndpoint", + "type": "Function", + "tags": [], + "label": "parseEndpoint", + "description": [], + "signature": [ + "(endpoint: string) => { method: Method; pathname: string; }" + ], + "path": "packages/kbn-server-route-repository/src/parse_endpoint.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.parseEndpoint.$1", + "type": "string", + "tags": [], + "label": "endpoint", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-server-route-repository/src/parse_endpoint.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.ServerRouteRepository", + "type": "Interface", + "tags": [], + "label": "ServerRouteRepository", + "description": [], + "signature": [ + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, + "" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.ServerRouteRepository.add", + "type": "Function", + "tags": [], + "label": "add", + "description": [], + "signature": [ + "> | undefined = undefined>(route: ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, + ") => ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, + "; }>" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.ServerRouteRepository.add.$1", + "type": "CompoundType", + "tags": [], + "label": "route", + "description": [], + "signature": [ + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, + "" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.ServerRouteRepository.merge", + "type": "Function", + "tags": [], + "label": "merge", + "description": [], + "signature": [ + ">(repository: TServerRouteRepository) => TServerRouteRepository extends ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, + " ? ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, + " : never" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.ServerRouteRepository.merge.$1", + "type": "Uncategorized", + "tags": [], + "label": "repository", + "description": [], + "signature": [ + "TServerRouteRepository" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.ServerRouteRepository.getRoutes", + "type": "Function", + "tags": [], + "label": "getRoutes", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, + ">, TRouteHandlerResources, unknown, TRouteCreateOptions>[]" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.ClientRequestParamsOf", + "type": "Type", + "tags": [], + "label": "ClientRequestParamsOf", + "description": [], + "signature": [ + "TServerRouteRepository extends ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, + " ? TEndpoint extends keyof TRouteState ? TRouteState[TEndpoint] extends ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, + "> ? TRouteParamsRT extends WithoutIncompatibleMethods<", + "Type", + "<{ path?: any; query?: any; body?: any; }, { path?: any; query?: any; body?: any; }, unknown>> ? ClientRequestParamsOfType : {} : never : never : never" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.DecodedRequestParamsOf", + "type": "Type", + "tags": [], + "label": "DecodedRequestParamsOf", + "description": [], + "signature": [ + "TServerRouteRepository extends ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, + " ? TEndpoint extends keyof TRouteState ? TRouteState[TEndpoint] extends ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, + "> ? TRouteParamsRT extends WithoutIncompatibleMethods<", + "Type", + "<{ path?: any; query?: any; body?: any; }, { path?: any; query?: any; body?: any; }, unknown>> ? DecodedRequestParamsOfType : {} : never : never : never" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.EndpointOf", + "type": "Type", + "tags": [], + "label": "EndpointOf", + "description": [], + "signature": [ + "TServerRouteRepository extends ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, + " ? keyof TRouteState : never" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.ReturnOf", + "type": "Type", + "tags": [], + "label": "ReturnOf", + "description": [], + "signature": [ + "TServerRouteRepository extends ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, + " ? TEndpoint extends keyof TRouteState ? TRouteState[TEndpoint] extends ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, + "> ? TReturnType : never : never : never" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.RouteParamsRT", + "type": "Type", + "tags": [], + "label": "RouteParamsRT", + "description": [], + "signature": [ + "Pick<", + "Type", + "<{ path?: any; query?: any; body?: any; }, { path?: any; query?: any; body?: any; }, unknown>, \"pipe\" | \"name\" | \"is\" | \"_A\" | \"_O\" | \"validate\" | \"_I\" | \"asDecoder\" | \"decode\"> & { encode: ", + "Encode", + "; asEncoder: () => ", + "Encoder", + "; }" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.RouteRepositoryClient", + "type": "Type", + "tags": [], + "label": "RouteRepositoryClient", + "description": [], + "signature": [ + ">(options: { endpoint: TEndpoint; } & ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ClientRequestParamsOf", + "text": "ClientRequestParamsOf" + }, + " & TAdditionalClientOptions) => Promise<", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ReturnOf", + "text": "ReturnOf" + }, + ">" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.RouteRepositoryClient.$1", + "type": "CompoundType", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "{ endpoint: TEndpoint; } & ", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ClientRequestParamsOf", + "text": "ClientRequestParamsOf" + }, + " & TAdditionalClientOptions" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.ServerRoute", + "type": "Type", + "tags": [], + "label": "ServerRoute", + "description": [], + "signature": [ + "{ endpoint: TEndpoint; params?: TRouteParamsRT | undefined; handler: ({}: TRouteHandlerResources & (TRouteParamsRT extends WithoutIncompatibleMethods<", + "Type", + "<{ path?: any; query?: any; body?: any; }, { path?: any; query?: any; body?: any; }, unknown>> ? DecodedRequestParamsOfType : {})) => Promise; } & TRouteCreateOptions" + ], + "path": "packages/kbn-server-route-repository/src/typings.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.routeValidationObject", + "type": "Object", + "tags": [], + "label": "routeValidationObject", + "description": [], + "path": "packages/kbn-server-route-repository/src/route_validation_object.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.routeValidationObject.body", + "type": "Object", + "tags": [], + "label": "body", + "description": [ + "// `body` can be null, but `validate` expects non-nullable types\n// if any validation is defined. Not having validation currently\n// means we don't get the payload. See\n// https://github.com/elastic/kibana/issues/50179" + ], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, + " | null>" + ], + "path": "packages/kbn-server-route-repository/src/route_validation_object.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.routeValidationObject.params", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "<{}>" + ], + "path": "packages/kbn-server-route-repository/src/route_validation_object.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/server-route-repository", + "id": "def-server.routeValidationObject.query", + "type": "Object", + "tags": [], + "label": "query", + "description": [], + "signature": [ + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "<{}>" + ], + "path": "packages/kbn-server-route-repository/src/route_validation_object.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_server_route_repository.mdx b/api_docs/kbn_server_route_repository.mdx new file mode 100644 index 0000000000000..f4b6e0b6258fd --- /dev/null +++ b/api_docs/kbn_server_route_repository.mdx @@ -0,0 +1,36 @@ +--- +id: kibKbnServerRouteRepositoryPluginApi +slug: /kibana-dev-docs/api/kbn-server-route-repository +title: "@kbn/server-route-repository" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/server-route-repository plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/server-route-repository'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnServerRouteRepositoryObj from './kbn_server_route_repository.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 28 | 0 | 27 | 1 | + +## Server + +### Objects + + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_std.json b/api_docs/kbn_std.json new file mode 100644 index 0000000000000..b4b9c4239ce85 --- /dev/null +++ b/api_docs/kbn_std.json @@ -0,0 +1,1603 @@ +{ + "id": "@kbn/std", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.assertNever", + "type": "Function", + "tags": [], + "label": "assertNever", + "description": [ + "\nCan be used in switch statements to ensure we perform exhaustive checks, see\nhttps://www.typescriptlang.org/docs/handbook/advanced-types.html#exhaustiveness-checking\n" + ], + "signature": [ + "(x: never) => never" + ], + "path": "packages/kbn-std/src/assert_never.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.assertNever.$1", + "type": "Uncategorized", + "tags": [], + "label": "x", + "description": [], + "signature": [ + "never" + ], + "path": "packages/kbn-std/src/assert_never.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncForEach", + "type": "Function", + "tags": [], + "label": "asyncForEach", + "description": [ + "\nCreates a promise which resolves with `undefined` after calling `fn` for each\nitem in `iterable`. `fn` can return either a Promise or Observable. If `fn`\nreturns observables then they will properly abort if an error occurs.\n" + ], + "signature": [ + "(iterable: ", + "IterableInput", + ", fn: ", + "AsyncMapFn", + ") => Promise" + ], + "path": "packages/kbn-std/src/iteration/for_each.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncForEach.$1", + "type": "CompoundType", + "tags": [], + "label": "iterable", + "description": [ + "Items to iterate" + ], + "signature": [ + "IterableInput", + "" + ], + "path": "packages/kbn-std/src/iteration/for_each.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncForEach.$2", + "type": "Function", + "tags": [], + "label": "fn", + "description": [ + "Function to call for each item" + ], + "signature": [ + "AsyncMapFn", + "" + ], + "path": "packages/kbn-std/src/iteration/for_each.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncForEachWithLimit", + "type": "Function", + "tags": [], + "label": "asyncForEachWithLimit", + "description": [ + "\nCreates a promise which resolves with `undefined` after calling `fn` for each\nitem in `iterable`. `fn` can return either a Promise or Observable. If `fn`\nreturns observables then they will properly abort if an error occurs.\n\nThe number of concurrent executions of `fn` is limited by `limit`.\n" + ], + "signature": [ + "(iterable: ", + "IterableInput", + ", limit: number, fn: ", + "AsyncMapFn", + ") => Promise" + ], + "path": "packages/kbn-std/src/iteration/for_each.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncForEachWithLimit.$1", + "type": "CompoundType", + "tags": [], + "label": "iterable", + "description": [ + "Items to iterate" + ], + "signature": [ + "IterableInput", + "" + ], + "path": "packages/kbn-std/src/iteration/for_each.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncForEachWithLimit.$2", + "type": "number", + "tags": [], + "label": "limit", + "description": [ + "Maximum number of operations to run in parallel" + ], + "signature": [ + "number" + ], + "path": "packages/kbn-std/src/iteration/for_each.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncForEachWithLimit.$3", + "type": "Function", + "tags": [], + "label": "fn", + "description": [ + "Function to call for each item" + ], + "signature": [ + "AsyncMapFn", + "" + ], + "path": "packages/kbn-std/src/iteration/for_each.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncMap", + "type": "Function", + "tags": [], + "label": "asyncMap", + "description": [ + "\nCreates a promise whose values is the array of results produced by calling `fn` for\neach item in `iterable`. `fn` can return either a Promise or Observable. If `fn`\nreturns observables then they will properly abort if an error occurs.\n\nThe result array follows the order of the input iterable, even though the calls\nto `fn` may not. (so avoid side effects)\n" + ], + "signature": [ + "(iterable: ", + "IterableInput", + ", fn: ", + "AsyncMapFn", + ") => Promise" + ], + "path": "packages/kbn-std/src/iteration/map.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncMap.$1", + "type": "CompoundType", + "tags": [], + "label": "iterable", + "description": [ + "Items to iterate" + ], + "signature": [ + "IterableInput", + "" + ], + "path": "packages/kbn-std/src/iteration/map.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncMap.$2", + "type": "Function", + "tags": [], + "label": "fn", + "description": [ + "Function to call for each item. Result is added/concatenated into the result array in place of the input value" + ], + "signature": [ + "AsyncMapFn", + "" + ], + "path": "packages/kbn-std/src/iteration/map.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncMapWithLimit", + "type": "Function", + "tags": [], + "label": "asyncMapWithLimit", + "description": [ + "\nCreates a promise whose values is the array of results produced by calling `fn` for\neach item in `iterable`. `fn` can return either a Promise or Observable. If `fn`\nreturns observables then they will properly abort if an error occurs.\n\nThe number of concurrent executions of `fn` is limited by `limit`.\n\nThe result array follows the order of the input iterable, even though the calls\nto `fn` may not. (so avoid side effects)\n" + ], + "signature": [ + "(iterable: ", + "IterableInput", + ", limit: number, fn: ", + "AsyncMapFn", + ") => Promise" + ], + "path": "packages/kbn-std/src/iteration/map.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncMapWithLimit.$1", + "type": "CompoundType", + "tags": [], + "label": "iterable", + "description": [ + "Items to iterate" + ], + "signature": [ + "IterableInput", + "" + ], + "path": "packages/kbn-std/src/iteration/map.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncMapWithLimit.$2", + "type": "number", + "tags": [], + "label": "limit", + "description": [ + "Maximum number of operations to run in parallel" + ], + "signature": [ + "number" + ], + "path": "packages/kbn-std/src/iteration/map.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.asyncMapWithLimit.$3", + "type": "Function", + "tags": [], + "label": "fn", + "description": [ + "Function to call for each item. Result is added/concatenated into the result array in place of the input value" + ], + "signature": [ + "AsyncMapFn", + "" + ], + "path": "packages/kbn-std/src/iteration/map.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.deepFreeze", + "type": "Function", + "tags": [], + "label": "deepFreeze", + "description": [ + "\nApply Object.freeze to a value recursively and convert the return type to\nReadonly variant recursively\n" + ], + "signature": [ + "(object: T) => ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonly", + "text": "RecursiveReadonly" + }, + "" + ], + "path": "packages/kbn-std/src/deep_freeze.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.deepFreeze.$1", + "type": "Uncategorized", + "tags": [], + "label": "object", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-std/src/deep_freeze.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.ensureNoUnsafeProperties", + "type": "Function", + "tags": [], + "label": "ensureNoUnsafeProperties", + "description": [], + "signature": [ + "(obj: any) => void" + ], + "path": "packages/kbn-std/src/ensure_no_unsafe_properties.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.ensureNoUnsafeProperties.$1", + "type": "Any", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-std/src/ensure_no_unsafe_properties.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.firstValueFrom", + "type": "Function", + "tags": [], + "label": "firstValueFrom", + "description": [], + "signature": [ + "(source: ", + "Observable", + ") => Promise" + ], + "path": "packages/kbn-std/src/rxjs_7.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.firstValueFrom.$1", + "type": "Object", + "tags": [], + "label": "source", + "description": [], + "signature": [ + "Observable", + "" + ], + "path": "packages/kbn-std/src/rxjs_7.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [ + "\nRetrieve the value for the specified path\n\nNote that dot is _not_ allowed to specify a deeper key, it will assume that\nthe dot is part of the key itself." + ], + "signature": [ + "(obj: CFG, path: [A, B, C, D, E]) => CFG[A][B][C][D][E]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$1", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "CFG" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$2", + "type": "Object", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "[A, B, C, D, E]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(obj: CFG, path: [A, B, C, D]) => CFG[A][B][C][D]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$1", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "CFG" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$2", + "type": "Object", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "[A, B, C, D]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(obj: CFG, path: [A, B, C]) => CFG[A][B][C]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$1", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "CFG" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$2", + "type": "Object", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "[A, B, C]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(obj: CFG, path: [A, B]) => CFG[A][B]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$1", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "CFG" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$2", + "type": "Object", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "[A, B]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(obj: CFG, path: A | [A]) => CFG[A]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$1", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "CFG" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$2", + "type": "CompoundType", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "A | [A]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(obj: CFG, path: string | string[]) => any" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$1", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "CFG" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.get.$2", + "type": "CompoundType", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "packages/kbn-std/src/get.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.getFlattenedObject", + "type": "Function", + "tags": [], + "label": "getFlattenedObject", + "description": [ + "\n Flattens a deeply nested object to a map of dot-separated\n paths pointing to all primitive values **and arrays**\n from `rootValue`.\n\n example:\n getFlattenedObject({ a: { b: 1, c: [2,3] } })\n // => { 'a.b': 1, 'a.c': [2,3] }\n" + ], + "signature": [ + "(rootValue: Record) => { [key: string]: any; }" + ], + "path": "packages/kbn-std/src/get_flattened_object.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.getFlattenedObject.$1", + "type": "Object", + "tags": [], + "label": "rootValue", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-std/src/get_flattened_object.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.getUrlOrigin", + "type": "Function", + "tags": [], + "label": "getUrlOrigin", + "description": [ + "\nReturns the origin (protocol + host + port) from given `url` if `url` is a valid absolute url, or null otherwise" + ], + "signature": [ + "(url: string) => string | null" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.getUrlOrigin.$1", + "type": "string", + "tags": [], + "label": "url", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.isPromise", + "type": "Function", + "tags": [], + "label": "isPromise", + "description": [], + "signature": [ + "(maybePromise: T | Promise) => boolean" + ], + "path": "packages/kbn-std/src/promise.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.isPromise.$1", + "type": "CompoundType", + "tags": [], + "label": "maybePromise", + "description": [], + "signature": [ + "T | Promise" + ], + "path": "packages/kbn-std/src/promise.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.isRelativeUrl", + "type": "Function", + "tags": [], + "label": "isRelativeUrl", + "description": [ + "\nDetermine if a url is relative. Any url including a protocol, hostname, or\nport is not considered relative. This means that absolute *paths* are considered\nto be relative *urls*" + ], + "signature": [ + "(candidatePath: string) => boolean" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.isRelativeUrl.$1", + "type": "string", + "tags": [], + "label": "candidatePath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.lastValueFrom", + "type": "Function", + "tags": [], + "label": "lastValueFrom", + "description": [], + "signature": [ + "(source: ", + "Observable", + ") => Promise" + ], + "path": "packages/kbn-std/src/rxjs_7.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.lastValueFrom.$1", + "type": "Object", + "tags": [], + "label": "source", + "description": [], + "signature": [ + "Observable", + "" + ], + "path": "packages/kbn-std/src/rxjs_7.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.map$", + "type": "Function", + "tags": [], + "label": "map$", + "description": [ + "\nCreates an observable whose values are the result of calling `fn` for each\nitem in `iterable`. `fn` can return either a Promise or an Observable. If\n`fn` returns observables then they will properly abort if an error occurs.\n\nResults are emitted as soon as they are available so their order is very\nlikely to not match their order in the input `array`.\n" + ], + "signature": [ + "(iterable: ", + "IterableInput", + ", fn: ", + "AsyncMapFn", + ") => ", + "Observable", + "" + ], + "path": "packages/kbn-std/src/iteration/observable.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.map$.$1", + "type": "CompoundType", + "tags": [], + "label": "iterable", + "description": [ + "Items to iterate" + ], + "signature": [ + "IterableInput", + "" + ], + "path": "packages/kbn-std/src/iteration/observable.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.map$.$2", + "type": "Function", + "tags": [], + "label": "fn", + "description": [ + "Function to call for each item. Result is added/concatenated into the result array in place of the input value" + ], + "signature": [ + "AsyncMapFn", + "" + ], + "path": "packages/kbn-std/src/iteration/observable.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.mapToObject", + "type": "Function", + "tags": [], + "label": "mapToObject", + "description": [], + "signature": [ + "(map: ReadonlyMap) => Record" + ], + "path": "packages/kbn-std/src/map_to_object.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.mapToObject.$1", + "type": "Object", + "tags": [], + "label": "map", + "description": [], + "signature": [ + "ReadonlyMap" + ], + "path": "packages/kbn-std/src/map_to_object.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.mapWithLimit$", + "type": "Function", + "tags": [], + "label": "mapWithLimit$", + "description": [ + "\nCreates an observable whose values are the result of calling `fn` for each\nitem in `iterable`. `fn` can return either a Promise or an Observable. If\n`fn` returns observables then they will properly abort if an error occurs.\n\nThe number of concurrent executions of `fn` is limited by `limit`.\n\nResults are emitted as soon as they are available so their order is very\nlikely to not match their order in the input `array`.\n" + ], + "signature": [ + "(iterable: ", + "IterableInput", + ", limit: number, fn: ", + "AsyncMapFn", + ") => ", + "Observable", + "" + ], + "path": "packages/kbn-std/src/iteration/observable.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.mapWithLimit$.$1", + "type": "CompoundType", + "tags": [], + "label": "iterable", + "description": [ + "Items to iterate" + ], + "signature": [ + "IterableInput", + "" + ], + "path": "packages/kbn-std/src/iteration/observable.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.mapWithLimit$.$2", + "type": "number", + "tags": [], + "label": "limit", + "description": [ + "Maximum number of operations to run in parallel" + ], + "signature": [ + "number" + ], + "path": "packages/kbn-std/src/iteration/observable.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.mapWithLimit$.$3", + "type": "Function", + "tags": [], + "label": "fn", + "description": [ + "Function to call for each item. Result is added/concatenated into the result array in place of the input value" + ], + "signature": [ + "AsyncMapFn", + "" + ], + "path": "packages/kbn-std/src/iteration/observable.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge", + "type": "Function", + "tags": [], + "label": "merge", + "description": [ + "\nDeeply merges two objects, omitting undefined values, and not deeply merging Arrays.\n" + ], + "signature": [ + "(baseObj: TBase, source1: TSource1) => TBase & TSource1" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$1", + "type": "Uncategorized", + "tags": [], + "label": "baseObj", + "description": [], + "signature": [ + "TBase" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$2", + "type": "Uncategorized", + "tags": [], + "label": "source1", + "description": [], + "signature": [ + "TSource1" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge", + "type": "Function", + "tags": [], + "label": "merge", + "description": [], + "signature": [ + "(baseObj: TBase, overrideObj: TSource1, overrideObj2: TSource2) => TBase & TSource1 & TSource2" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$1", + "type": "Uncategorized", + "tags": [], + "label": "baseObj", + "description": [], + "signature": [ + "TBase" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$2", + "type": "Uncategorized", + "tags": [], + "label": "overrideObj", + "description": [], + "signature": [ + "TSource1" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$3", + "type": "Uncategorized", + "tags": [], + "label": "overrideObj2", + "description": [], + "signature": [ + "TSource2" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge", + "type": "Function", + "tags": [], + "label": "merge", + "description": [], + "signature": [ + "(baseObj: TBase, overrideObj: TSource1, overrideObj2: TSource2) => TBase & TSource1 & TSource2 & TSource3" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$1", + "type": "Uncategorized", + "tags": [], + "label": "baseObj", + "description": [], + "signature": [ + "TBase" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$2", + "type": "Uncategorized", + "tags": [], + "label": "overrideObj", + "description": [], + "signature": [ + "TSource1" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$3", + "type": "Uncategorized", + "tags": [], + "label": "overrideObj2", + "description": [], + "signature": [ + "TSource2" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge", + "type": "Function", + "tags": [], + "label": "merge", + "description": [], + "signature": [ + "(baseObj: Record, sources: Record[]) => TReturn" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$1", + "type": "Object", + "tags": [], + "label": "baseObj", + "description": [], + "signature": [ + "Record" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.merge.$2", + "type": "Array", + "tags": [], + "label": "sources", + "description": [], + "signature": [ + "Record[]" + ], + "path": "packages/kbn-std/src/merge.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.modifyUrl", + "type": "Function", + "tags": [], + "label": "modifyUrl", + "description": [ + "\n Takes a URL and a function that takes the meaningful parts\n of the URL as a key-value object, modifies some or all of\n the parts, and returns the modified parts formatted again\n as a url.\n\n Url Parts sent:\n - protocol\n - slashes (does the url have the //)\n - auth\n - hostname (just the name of the host, no port or auth information)\n - port\n - pathname (the path after the hostname, no query or hash, starts\n with a slash if there was a path)\n - query (always an object, even when no query on original url)\n - hash\n\n Why?\n - The default url library in node produces several conflicting\n properties on the \"parsed\" output. Modifying any of these might\n lead to the modifications being ignored (depending on which\n property was modified)\n - It's not always clear whether to use path/pathname, host/hostname,\n so this tries to add helpful constraints\n" + ], + "signature": [ + "(url: string, urlModifier: (urlParts: ", + { + "pluginId": "@kbn/std", + "scope": "server", + "docId": "kibKbnStdPluginApi", + "section": "def-server.URLMeaningfulParts", + "text": "URLMeaningfulParts" + }, + ") => void | Partial<", + { + "pluginId": "@kbn/std", + "scope": "server", + "docId": "kibKbnStdPluginApi", + "section": "def-server.URLMeaningfulParts", + "text": "URLMeaningfulParts" + }, + ">) => string" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.modifyUrl.$1", + "type": "string", + "tags": [], + "label": "url", + "description": [ + "The string url to parse." + ], + "signature": [ + "string" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.modifyUrl.$2", + "type": "Function", + "tags": [], + "label": "urlModifier", + "description": [ + "A function that will modify the parsed url, or return a new one." + ], + "signature": [ + "(urlParts: ", + { + "pluginId": "@kbn/std", + "scope": "server", + "docId": "kibKbnStdPluginApi", + "section": "def-server.URLMeaningfulParts", + "text": "URLMeaningfulParts" + }, + ") => void | Partial<", + { + "pluginId": "@kbn/std", + "scope": "server", + "docId": "kibKbnStdPluginApi", + "section": "def-server.URLMeaningfulParts", + "text": "URLMeaningfulParts" + }, + ">" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "The modified and reformatted url" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.pick", + "type": "Function", + "tags": [], + "label": "pick", + "description": [], + "signature": [ + "(obj: T, keys: readonly K[]) => Pick" + ], + "path": "packages/kbn-std/src/pick.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.pick.$1", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-std/src/pick.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.pick.$2", + "type": "Object", + "tags": [], + "label": "keys", + "description": [], + "signature": [ + "readonly K[]" + ], + "path": "packages/kbn-std/src/pick.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.unset", + "type": "Function", + "tags": [], + "label": "unset", + "description": [ + "\nUnset a (potentially nested) key from given object.\nThis mutates the original object.\n" + ], + "signature": [ + "(obj: OBJ, atPath: string) => void" + ], + "path": "packages/kbn-std/src/unset.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.unset.$1", + "type": "Uncategorized", + "tags": [], + "label": "obj", + "description": [], + "signature": [ + "OBJ" + ], + "path": "packages/kbn-std/src/unset.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.unset.$2", + "type": "string", + "tags": [], + "label": "atPath", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-std/src/unset.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.withTimeout", + "type": "Function", + "tags": [], + "label": "withTimeout", + "description": [], + "signature": [ + "({\n promise,\n timeoutMs,\n}: { promise: Promise; timeoutMs: number; }) => Promise<{ timedout: true; } | { timedout: false; value: T; }>" + ], + "path": "packages/kbn-std/src/promise.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.withTimeout.$1", + "type": "Object", + "tags": [], + "label": "{\n promise,\n timeoutMs,\n}", + "description": [], + "path": "packages/kbn-std/src/promise.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.withTimeout.$1.promise", + "type": "Object", + "tags": [], + "label": "promise", + "description": [], + "signature": [ + "Promise" + ], + "path": "packages/kbn-std/src/promise.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.withTimeout.$1.timeoutMs", + "type": "number", + "tags": [], + "label": "timeoutMs", + "description": [], + "path": "packages/kbn-std/src/promise.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.URLMeaningfulParts", + "type": "Interface", + "tags": [], + "label": "URLMeaningfulParts", + "description": [ + "\nWe define our own typings because the current version of @types/node\ndeclares properties to be optional \"hostname?: string\".\nAlthough, parse call returns \"hostname: null | string\".\n" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.URLMeaningfulParts.auth", + "type": "CompoundType", + "tags": [], + "label": "auth", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.URLMeaningfulParts.hash", + "type": "CompoundType", + "tags": [], + "label": "hash", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.URLMeaningfulParts.hostname", + "type": "CompoundType", + "tags": [], + "label": "hostname", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.URLMeaningfulParts.pathname", + "type": "CompoundType", + "tags": [], + "label": "pathname", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.URLMeaningfulParts.protocol", + "type": "CompoundType", + "tags": [], + "label": "protocol", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.URLMeaningfulParts.slashes", + "type": "CompoundType", + "tags": [], + "label": "slashes", + "description": [], + "signature": [ + "boolean | null | undefined" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.URLMeaningfulParts.port", + "type": "CompoundType", + "tags": [], + "label": "port", + "description": [], + "signature": [ + "string | null | undefined" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/std", + "id": "def-server.URLMeaningfulParts.query", + "type": "Object", + "tags": [], + "label": "query", + "description": [], + "signature": [ + "ParsedQuery", + "" + ], + "path": "packages/kbn-std/src/url.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/std", + "id": "def-server.Freezable", + "type": "Type", + "tags": [], + "label": "Freezable", + "description": [], + "signature": [ + "any[] | { [k: string]: any; }" + ], + "path": "packages/kbn-std/src/deep_freeze.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_std.mdx b/api_docs/kbn_std.mdx new file mode 100644 index 0000000000000..01c2a347c1252 --- /dev/null +++ b/api_docs/kbn_std.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnStdPluginApi +slug: /kibana-dev-docs/api/kbn-std +title: "@kbn/std" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/std plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/std'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnStdObj from './kbn_std.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 96 | 1 | 63 | 2 | + +## Server + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_storybook.json b/api_docs/kbn_storybook.json new file mode 100644 index 0000000000000..9ca43101a4572 --- /dev/null +++ b/api_docs/kbn_storybook.json @@ -0,0 +1,316 @@ +{ + "id": "@kbn/storybook", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.mergeWebpackFinal", + "type": "Function", + "tags": [], + "label": "mergeWebpackFinal", + "description": [], + "signature": [ + "(extraConfig: ", + "Configuration", + ") => { webpackFinal: (config: ", + "Configuration", + ") => ", + "Configuration", + "; }" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.mergeWebpackFinal.$1", + "type": "Object", + "tags": [], + "label": "extraConfig", + "description": [], + "signature": [ + "Configuration" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.runStorybookCli", + "type": "Function", + "tags": [], + "label": "runStorybookCli", + "description": [], + "signature": [ + "({ configDir, name }: { configDir: string; name: string; }) => void" + ], + "path": "packages/kbn-storybook/src/lib/run_storybook_cli.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.runStorybookCli.$1", + "type": "Object", + "tags": [], + "label": "{ configDir, name }", + "description": [], + "path": "packages/kbn-storybook/src/lib/run_storybook_cli.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.runStorybookCli.$1.configDir", + "type": "string", + "tags": [], + "label": "configDir", + "description": [], + "path": "packages/kbn-storybook/src/lib/run_storybook_cli.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.runStorybookCli.$1.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/kbn-storybook/src/lib/run_storybook_cli.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfig", + "type": "Object", + "tags": [], + "label": "defaultConfig", + "description": [], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfig.addons", + "type": "Array", + "tags": [], + "label": "addons", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfig.stories", + "type": "Array", + "tags": [], + "label": "stories", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfig.typescript", + "type": "Object", + "tags": [], + "label": "typescript", + "description": [], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfig.typescript.reactDocgen", + "type": "boolean", + "tags": [], + "label": "reactDocgen", + "description": [], + "signature": [ + "false" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfig.webpackFinal", + "type": "Function", + "tags": [], + "label": "webpackFinal", + "description": [], + "signature": [ + "(config: ", + "Configuration", + ", options: ", + "StorybookOptions", + ") => { resolve: { alias: { '@emotion/core': string; '@emotion/styled': string; 'emotion-theming': string; }; modules?: string[] | undefined; descriptionFiles?: string[] | undefined; mainFields?: string[] | string[][] | undefined; aliasFields?: string[] | string[][] | undefined; mainFiles?: string[] | undefined; extensions?: string[] | undefined; enforceExtension?: boolean | undefined; unsafeCache?: boolean | {} | undefined; cachePredicate?: ((data: { path: string; request: string; }) => boolean) | undefined; plugins?: ", + "ResolvePlugin", + "[] | undefined; symlinks?: boolean | undefined; cacheWithContext?: boolean | undefined; }; mode?: \"none\" | \"production\" | \"development\" | undefined; name?: string | undefined; context?: string | undefined; entry?: string | string[] | ", + "Entry", + " | ", + "EntryFunc", + " | undefined; devtool?: boolean | \"eval\" | \"inline-source-map\" | \"cheap-eval-source-map\" | \"cheap-source-map\" | \"cheap-module-eval-source-map\" | \"cheap-module-source-map\" | \"eval-source-map\" | \"source-map\" | \"nosources-source-map\" | \"hidden-source-map\" | \"inline-cheap-source-map\" | \"inline-cheap-module-source-map\" | \"@eval\" | \"@inline-source-map\" | \"@cheap-eval-source-map\" | \"@cheap-source-map\" | \"@cheap-module-eval-source-map\" | \"@cheap-module-source-map\" | \"@eval-source-map\" | \"@source-map\" | \"@nosources-source-map\" | \"@hidden-source-map\" | \"#eval\" | \"#inline-source-map\" | \"#cheap-eval-source-map\" | \"#cheap-source-map\" | \"#cheap-module-eval-source-map\" | \"#cheap-module-source-map\" | \"#eval-source-map\" | \"#source-map\" | \"#nosources-source-map\" | \"#hidden-source-map\" | \"#@eval\" | \"#@inline-source-map\" | \"#@cheap-eval-source-map\" | \"#@cheap-source-map\" | \"#@cheap-module-eval-source-map\" | \"#@cheap-module-source-map\" | \"#@eval-source-map\" | \"#@source-map\" | \"#@nosources-source-map\" | \"#@hidden-source-map\" | undefined; output?: ", + "Output", + " | undefined; module?: ", + "Module", + " | undefined; resolveLoader?: ", + "ResolveLoader", + " | undefined; externals?: string | RegExp | ", + "ExternalsObjectElement", + " | ", + "ExternalsFunctionElement", + " | ", + "ExternalsElement", + "[] | undefined; target?: \"web\" | \"node\" | \"webworker\" | \"async-node\" | \"node-webkit\" | \"atom\" | \"electron\" | \"electron-renderer\" | \"electron-preload\" | \"electron-main\" | ((compiler?: any) => void) | undefined; bail?: boolean | undefined; profile?: boolean | undefined; cache?: boolean | object | undefined; watch?: boolean | undefined; watchOptions?: ", + "ICompiler", + ".WatchOptions | undefined; node?: false | ", + "Node", + " | undefined; amd?: { [moduleName: string]: boolean; } | undefined; recordsPath?: string | undefined; recordsInputPath?: string | undefined; recordsOutputPath?: string | undefined; plugins?: ", + "Plugin", + "[] | undefined; stats?: boolean | \"none\" | \"normal\" | \"verbose\" | \"errors-only\" | \"errors-warnings\" | \"minimal\" | ", + "Stats", + ".ToStringOptionsObject | undefined; performance?: false | ", + "Options", + ".Performance | undefined; parallelism?: number | undefined; optimization?: ", + "Options", + ".Optimization | undefined; }" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfig.webpackFinal.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + "Configuration" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfig.webpackFinal.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "StorybookOptions" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfigWebFinal", + "type": "Object", + "tags": [], + "label": "defaultConfigWebFinal", + "description": [], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfigWebFinal.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfigWebFinal.webpackFinal", + "type": "Function", + "tags": [], + "label": "webpackFinal", + "description": [], + "signature": [ + "(config: ", + "Configuration", + ") => ", + "Configuration" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/storybook", + "id": "def-server.defaultConfigWebFinal.webpackFinal.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + "Configuration" + ], + "path": "packages/kbn-storybook/src/lib/default_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_storybook.mdx b/api_docs/kbn_storybook.mdx new file mode 100644 index 0000000000000..796f13a77f13a --- /dev/null +++ b/api_docs/kbn_storybook.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnStorybookPluginApi +slug: /kibana-dev-docs/api/kbn-storybook +title: "@kbn/storybook" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/storybook plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/storybook'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnStorybookObj from './kbn_storybook.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 18 | 1 | 18 | 0 | + +## Server + +### Objects + + +### Functions + + diff --git a/api_docs/kbn_telemetry_tools.json b/api_docs/kbn_telemetry_tools.json new file mode 100644 index 0000000000000..81acf2ca23245 --- /dev/null +++ b/api_docs/kbn_telemetry_tools.json @@ -0,0 +1,60 @@ +{ + "id": "@kbn/telemetry-tools", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/telemetry-tools", + "id": "def-server.runTelemetryCheck", + "type": "Function", + "tags": [], + "label": "runTelemetryCheck", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-telemetry-tools/src/cli/run_telemetry_check.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/telemetry-tools", + "id": "def-server.runTelemetryExtract", + "type": "Function", + "tags": [], + "label": "runTelemetryExtract", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-telemetry-tools/src/cli/run_telemetry_extract.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_telemetry_tools.mdx b/api_docs/kbn_telemetry_tools.mdx new file mode 100644 index 0000000000000..579fd8440dc29 --- /dev/null +++ b/api_docs/kbn_telemetry_tools.mdx @@ -0,0 +1,27 @@ +--- +id: kibKbnTelemetryToolsPluginApi +slug: /kibana-dev-docs/api/kbn-telemetry-tools +title: "@kbn/telemetry-tools" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/telemetry-tools plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/telemetry-tools'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnTelemetryToolsObj from './kbn_telemetry_tools.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 2 | 0 | 2 | 0 | + +## Server + +### Functions + + diff --git a/api_docs/kbn_test.json b/api_docs/kbn_test.json new file mode 100644 index 0000000000000..fb3d38ce178e9 --- /dev/null +++ b/api_docs/kbn_test.json @@ -0,0 +1,3448 @@ +{ + "id": "@kbn/test", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.Config", + "type": "Class", + "tags": [], + "label": "Config", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.Config.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.Config.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Options" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Config.has", + "type": "Function", + "tags": [], + "label": "has", + "description": [], + "signature": [ + "(key: string | string[]) => boolean" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.Config.has.$1", + "type": "CompoundType", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Config.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(key: string | string[], defaultValue?: any) => any" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.Config.get.$1", + "type": "CompoundType", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Config.get.$2", + "type": "Any", + "tags": [], + "label": "defaultValue", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Config.getAll", + "type": "Function", + "tags": [], + "label": "getAll", + "description": [], + "signature": [ + "() => any" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/config.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService", + "type": "Class", + "tags": [], + "label": "DockerServersService", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "configs", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.Unnamed.$1.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.Unnamed.$2", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.Unnamed.$3", + "type": "Object", + "tags": [], + "label": "lifecycle", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Lifecycle", + "text": "Lifecycle" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.isEnabled", + "type": "Function", + "tags": [], + "label": "isEnabled", + "description": [], + "signature": [ + "(name: string) => boolean" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.isEnabled.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.has", + "type": "Function", + "tags": [], + "label": "has", + "description": [], + "signature": [ + "(name: string) => boolean" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.has.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(name: string) => { name: string; url: string; enabled: boolean; portInContainer: number; port: number; image: string; waitForLogLine?: string | RegExp | undefined; waitFor?: ((server: ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServer", + "text": "DockerServer" + }, + ", logLine$: ", + "Observable", + ") => ", + "Observable", + ") | undefined; args?: string[] | undefined; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServersService.get.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/docker_servers_service.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata", + "type": "Class", + "tags": [], + "label": "FailureMetadata", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "lifecycle", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Lifecycle", + "text": "Lifecycle" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.add", + "type": "Function", + "tags": [], + "label": "add", + "description": [], + "signature": [ + "(metadata: Metadata | ((current: Metadata) => Metadata)) => void" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.add.$1", + "type": "CompoundType", + "tags": [], + "label": "metadata", + "description": [], + "signature": [ + "Metadata | ((current: Metadata) => Metadata)" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.addMessages", + "type": "Function", + "tags": [], + "label": "addMessages", + "description": [], + "signature": [ + "(messages: string[]) => void" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.addMessages.$1", + "type": "Array", + "tags": [], + "label": "messages", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.addScreenshot", + "type": "Function", + "tags": [], + "label": "addScreenshot", + "description": [], + "signature": [ + "(name: string, repoPath: string) => { name: string; url: string; } | undefined" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.addScreenshot.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [ + "Name to label the URL with" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.addScreenshot.$2", + "type": "string", + "tags": [], + "label": "repoPath", + "description": [ + "absolute path, within the repo, that will be uploaded" + ], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(runnable: any) => Metadata | undefined" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FailureMetadata.get.$1", + "type": "Any", + "tags": [], + "label": "runnable", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/failure_metadata.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner", + "type": "Class", + "tags": [], + "label": "FunctionalTestRunner", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner.lifecycle", + "type": "Object", + "tags": [], + "label": "lifecycle", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Lifecycle", + "text": "Lifecycle" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner.failureMetadata", + "type": "Object", + "tags": [], + "label": "failureMetadata", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.FailureMetadata", + "text": "FailureMetadata" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner.Unnamed.$2", + "type": "string", + "tags": [], + "label": "configFile", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner.Unnamed.$3", + "type": "Any", + "tags": [], + "label": "configOverrides", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner.run", + "type": "Function", + "tags": [], + "label": "run", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner.getTestStats", + "type": "Function", + "tags": [], + "label": "getTestStats", + "description": [], + "signature": [ + "() => Promise<{ testCount: number; excludedTests: any; }>" + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner._run", + "type": "Function", + "tags": [], + "label": "_run", + "description": [], + "signature": [ + "(handler: (config: ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + ", coreProvider: { type: string; name: string; fn: (...args: any[]) => any; }[]) => Promise) => Promise" + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner._run.$1", + "type": "Function", + "tags": [], + "label": "handler", + "description": [], + "signature": [ + "(config: ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + ", coreProvider: { type: string; name: string; fn: (...args: any[]) => any; }[]) => Promise" + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FunctionalTestRunner.close", + "type": "Function", + "tags": [], + "label": "close", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-test/src/functional_test_runner/functional_test_runner.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrService", + "type": "Class", + "tags": [], + "label": "GenericFtrService", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.GenericFtrService", + "text": "GenericFtrService" + }, + "" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrService.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrService.Unnamed.$1", + "type": "Uncategorized", + "tags": [], + "label": "ctx", + "description": [], + "signature": [ + "ProviderContext" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient", + "type": "Class", + "tags": [], + "label": "KbnClient", + "description": [], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.status", + "type": "Object", + "tags": [], + "label": "status", + "description": [], + "signature": [ + "KbnClientStatus" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.plugins", + "type": "Object", + "tags": [], + "label": "plugins", + "description": [], + "signature": [ + "KbnClientPlugins" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.version", + "type": "Object", + "tags": [], + "label": "version", + "description": [], + "signature": [ + "KbnClientVersion" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.savedObjects", + "type": "Object", + "tags": [], + "label": "savedObjects", + "description": [], + "signature": [ + "KbnClientSavedObjects" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.spaces", + "type": "Object", + "tags": [], + "label": "spaces", + "description": [], + "signature": [ + "KbnClientSpaces" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.uiSettings", + "type": "Object", + "tags": [], + "label": "uiSettings", + "description": [], + "signature": [ + "KbnClientUiSettings" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.importExport", + "type": "Object", + "tags": [], + "label": "importExport", + "description": [], + "signature": [ + "KbnClientImportExport" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [ + "\nBasic Kibana server client that implements common behaviors for talking\nto the Kibana server from dev tooling." + ], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.KbnClientOptions", + "text": "KbnClientOptions" + } + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.request", + "type": "Function", + "tags": [], + "label": "request", + "description": [ + "\nMake a direct request to the Kibana server" + ], + "signature": [ + "(options: ", + "ReqOptions", + ") => Promise<", + "AxiosResponse", + ">" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.request.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "ReqOptions" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.resolveUrl", + "type": "Function", + "tags": [], + "label": "resolveUrl", + "description": [], + "signature": [ + "(relativeUrl: string) => string" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClient.resolveUrl.$1", + "type": "string", + "tags": [], + "label": "relativeUrl", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Lifecycle", + "type": "Class", + "tags": [], + "label": "Lifecycle", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.Lifecycle.beforeTests", + "type": "Object", + "tags": [], + "label": "beforeTests", + "description": [], + "signature": [ + "LifecyclePhase", + "<[", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Suite", + "text": "Suite" + }, + "]>" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Lifecycle.beforeEachRunnable", + "type": "Object", + "tags": [], + "label": "beforeEachRunnable", + "description": [], + "signature": [ + "LifecyclePhase", + "<[", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Test", + "text": "Test" + }, + "]>" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Lifecycle.beforeTestSuite", + "type": "Object", + "tags": [], + "label": "beforeTestSuite", + "description": [], + "signature": [ + "LifecyclePhase", + "<[", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Suite", + "text": "Suite" + }, + "]>" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Lifecycle.beforeEachTest", + "type": "Object", + "tags": [], + "label": "beforeEachTest", + "description": [], + "signature": [ + "LifecyclePhase", + "<[", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Test", + "text": "Test" + }, + "]>" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Lifecycle.afterTestSuite", + "type": "Object", + "tags": [], + "label": "afterTestSuite", + "description": [], + "signature": [ + "LifecyclePhase", + "<[", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Suite", + "text": "Suite" + }, + "]>" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Lifecycle.testFailure", + "type": "Object", + "tags": [], + "label": "testFailure", + "description": [], + "signature": [ + "LifecyclePhase", + "<[Error, ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Test", + "text": "Test" + }, + "]>" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Lifecycle.testHookFailure", + "type": "Object", + "tags": [], + "label": "testHookFailure", + "description": [], + "signature": [ + "LifecyclePhase", + "<[Error, ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Test", + "text": "Test" + }, + "]>" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Lifecycle.cleanup", + "type": "Object", + "tags": [], + "label": "cleanup", + "description": [], + "signature": [ + "LifecyclePhase", + "<[]>" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.createTestEsCluster", + "type": "Function", + "tags": [], + "label": "createTestEsCluster", + "description": [], + "signature": [ + "(options: Options) => ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.EsTestCluster", + "text": "EsTestCluster" + }, + "" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.createTestEsCluster.$1", + "type": "Uncategorized", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Options" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.defineDockerServersConfig", + "type": "Function", + "tags": [], + "label": "defineDockerServersConfig", + "description": [ + "\nHelper that helps authors use the type definitions for the section of the FTR config\nunder the `dockerServers` key." + ], + "signature": [ + "(config: {} | { [name: string]: ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServerSpec", + "text": "DockerServerSpec" + }, + "; }) => {} | { [name: string]: ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServerSpec", + "text": "DockerServerSpec" + }, + "; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.defineDockerServersConfig.$1", + "type": "CompoundType", + "tags": [], + "label": "config", + "description": [], + "signature": [ + "{} | { [name: string]: ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServerSpec", + "text": "DockerServerSpec" + }, + "; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.escapeCdata", + "type": "Function", + "tags": [], + "label": "escapeCdata", + "description": [], + "signature": [ + "(input: string) => string" + ], + "path": "packages/kbn-test/src/mocha/xml.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.escapeCdata.$1", + "type": "string", + "tags": [], + "label": "input", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/mocha/xml.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.getUrl", + "type": "Function", + "tags": [ + "return" + ], + "label": "getUrl", + "description": [ + "\nConverts a config and a pathname to a url" + ], + "signature": [ + "(config: UrlParam, app: UrlParam) => string" + ], + "path": "packages/kbn-test/src/jest/utils/get_url.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.getUrl.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [ + "A url config\nexample:\n{\nprotocol: 'http',\nhostname: 'localhost',\nport: 9220,\nauth: kibanaTestUser.username + ':' + kibanaTestUser.password\n}" + ], + "signature": [ + "UrlParam" + ], + "path": "packages/kbn-test/src/jest/utils/get_url.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.getUrl.$2", + "type": "Object", + "tags": [], + "label": "app", + "description": [ + "The params to append\nexample:\n{\npathname: 'app/kibana',\nhash: '/discover'\n}" + ], + "signature": [ + "UrlParam" + ], + "path": "packages/kbn-test/src/jest/utils/get_url.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.readConfigFile", + "type": "Function", + "tags": [], + "label": "readConfigFile", + "description": [], + "signature": [ + "(log: ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + ", path: string, settingOverrides: any) => Promise<", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + ">" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/read_config_file.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.readConfigFile.$1", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/read_config_file.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.readConfigFile.$2", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/read_config_file.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.readConfigFile.$3", + "type": "Any", + "tags": [], + "label": "settingOverrides", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/config/read_config_file.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.runCheckJestConfigsCli", + "type": "Function", + "tags": [], + "label": "runCheckJestConfigsCli", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-test/src/jest/run_check_jest_configs_cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.runFailedTestsReporterCli", + "type": "Function", + "tags": [], + "label": "runFailedTestsReporterCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-test/src/failed_tests_reporter/run_failed_tests_reporter_cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.runFtrCli", + "type": "Function", + "tags": [], + "label": "runFtrCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-test/src/functional_test_runner/cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.runJest", + "type": "Function", + "tags": [], + "label": "runJest", + "description": [], + "signature": [ + "(configName: string) => void" + ], + "path": "packages/kbn-test/src/jest/run.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.runJest.$1", + "type": "string", + "tags": [], + "label": "configName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/jest/run.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.runKbnArchiverCli", + "type": "Function", + "tags": [], + "label": "runKbnArchiverCli", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-test/src/kbn_archiver_cli.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.runTests", + "type": "Function", + "tags": [], + "label": "runTests", + "description": [], + "signature": [ + "(options: RunTestsParams) => Promise" + ], + "path": "packages/kbn-test/src/functional_tests/tasks.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.runTests.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "RunTestsParams" + ], + "path": "packages/kbn-test/src/functional_tests/tasks.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.startServers", + "type": "Function", + "tags": [], + "label": "startServers", + "description": [], + "signature": [ + "({ ...options }: StartServerOptions) => Promise" + ], + "path": "packages/kbn-test/src/functional_tests/tasks.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.startServers.$1", + "type": "Object", + "tags": [], + "label": "{ ...options }", + "description": [], + "signature": [ + "StartServerOptions" + ], + "path": "packages/kbn-test/src/functional_tests/tasks.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.uriencode", + "type": "Function", + "tags": [], + "label": "uriencode", + "description": [], + "signature": [ + "(strings: TemplateStringsArray, ...values: ", + "PhraseFilterValue", + "[]) => string" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client_requester.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.uriencode.$1", + "type": "Object", + "tags": [], + "label": "strings", + "description": [], + "signature": [ + "TemplateStringsArray" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client_requester.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.uriencode.$2", + "type": "Array", + "tags": [], + "label": "values", + "description": [], + "signature": [ + "PhraseFilterValue", + "[]" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client_requester.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.AsyncInstance", + "type": "Interface", + "tags": [], + "label": "AsyncInstance", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.AsyncInstance", + "text": "AsyncInstance" + }, + "" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.AsyncInstance.init", + "type": "Function", + "tags": [], + "label": "init", + "description": [ + "\nServices that are initialized async are not ready before the tests execute, so you might need\nto call `init()` and await the promise it returns before interacting with the service" + ], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions", + "type": "Interface", + "tags": [], + "label": "CreateTestEsClusterOptions", + "description": [], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.basePath", + "type": "string", + "tags": [], + "label": "basePath", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.clusterName", + "type": "string", + "tags": [], + "label": "clusterName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.dataArchive", + "type": "string", + "tags": [], + "label": "dataArchive", + "description": [ + "\nPath to data archive snapshot to run Elasticsearch with.\nTo prepare the the snapshot:\n- run Elasticsearch server\n- index necessary data\n- stop Elasticsearch server\n- go to Elasticsearch folder: cd .es/${ELASTICSEARCH_VERSION}\n- archive data folder: zip -r my_archive.zip data" + ], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.esArgs", + "type": "Array", + "tags": [], + "label": "esArgs", + "description": [ + "\nElasticsearch configuration options. These are key/value pairs formatted as:\n`['key.1=val1', 'key.2=val2']`" + ], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.esFrom", + "type": "string", + "tags": [], + "label": "esFrom", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.esJavaOpts", + "type": "string", + "tags": [], + "label": "esJavaOpts", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.license", + "type": "CompoundType", + "tags": [], + "label": "license", + "description": [ + "\nLicense to run your cluster under. Keep in mind that a `trial` license\nhas an expiration date. If you are using a `dataArchive` with your tests,\nyou'll likely need to use `basic` or `gold` to prevent the test from failing\nwhen the license expires." + ], + "signature": [ + "\"basic\" | \"gold\" | \"trial\" | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.log", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.nodes", + "type": "Array", + "tags": [], + "label": "nodes", + "description": [ + "\nNode-specific configuration if you wish to run a multi-node\ncluster. One node will be added for each item in the array.\n\nIf this option is not provided, the config will default\nto a single-node cluster.\n" + ], + "signature": [ + "TestEsClusterNodesOptions[] | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.password", + "type": "string", + "tags": [], + "label": "password", + "description": [ + "\nPassword for the `elastic` user. This is set after the cluster has started.\n\nDefaults to `changeme`." + ], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.port", + "type": "number", + "tags": [], + "label": "port", + "description": [ + "\nPort to run Elasticsearch on. If you configure a\nmulti-node cluster with the `nodes` option, this\nport will be incremented by one for each added node.\n" + ], + "signature": [ + "number | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.CreateTestEsClusterOptions.ssl", + "type": "CompoundType", + "tags": [], + "label": "ssl", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServer", + "type": "Interface", + "tags": [], + "label": "DockerServer", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServer", + "text": "DockerServer" + }, + " extends ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServerSpec", + "text": "DockerServerSpec" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServer.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServer.url", + "type": "string", + "tags": [], + "label": "url", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec", + "type": "Interface", + "tags": [], + "label": "DockerServerSpec", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec.enabled", + "type": "boolean", + "tags": [], + "label": "enabled", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec.portInContainer", + "type": "number", + "tags": [], + "label": "portInContainer", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec.port", + "type": "number", + "tags": [], + "label": "port", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec.image", + "type": "string", + "tags": [], + "label": "image", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec.waitForLogLine", + "type": "CompoundType", + "tags": [], + "label": "waitForLogLine", + "description": [], + "signature": [ + "string | RegExp | undefined" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec.waitFor", + "type": "Function", + "tags": [], + "label": "waitFor", + "description": [ + "a function that should return an observable that will allow the tests to execute as soon as it emits anything" + ], + "signature": [ + "((server: ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServer", + "text": "DockerServer" + }, + ", logLine$: ", + "Observable", + ") => ", + "Observable", + ") | undefined" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec.waitFor.$1", + "type": "Object", + "tags": [], + "label": "server", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServer", + "text": "DockerServer" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec.waitFor.$2", + "type": "Object", + "tags": [], + "label": "logLine$", + "description": [], + "signature": [ + "Observable", + "" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.DockerServerSpec.args", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "packages/kbn-test/src/functional_test_runner/lib/docker_servers/define_docker_servers_config.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FtrConfigProviderContext", + "type": "Interface", + "tags": [], + "label": "FtrConfigProviderContext", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FtrConfigProviderContext.log", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.FtrConfigProviderContext.readConfigFile", + "type": "Function", + "tags": [], + "label": "readConfigFile", + "description": [], + "signature": [ + "(path: string) => Promise<", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + ">" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.FtrConfigProviderContext.readConfigFile.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext", + "type": "Interface", + "tags": [], + "label": "GenericFtrProviderContext", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.GenericFtrProviderContext", + "text": "GenericFtrProviderContext" + }, + "" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.hasService", + "type": "Function", + "tags": [], + "label": "hasService", + "description": [ + "\nDetermine if a service is avaliable" + ], + "signature": [ + "{ (serviceName: \"config\" | \"log\" | \"lifecycle\" | \"failureMetadata\" | \"dockerServers\"): true; (serviceName: K): serviceName is K; (serviceName: string): serviceName is Extract; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.hasService.$1", + "type": "CompoundType", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "\"config\" | \"log\" | \"lifecycle\" | \"failureMetadata\" | \"dockerServers\"" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.hasService", + "type": "Function", + "tags": [], + "label": "hasService", + "description": [], + "signature": [ + "{ (serviceName: \"config\" | \"log\" | \"lifecycle\" | \"failureMetadata\" | \"dockerServers\"): true; (serviceName: K): serviceName is K; (serviceName: string): serviceName is Extract; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.hasService.$1", + "type": "Uncategorized", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "K" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.hasService", + "type": "Function", + "tags": [], + "label": "hasService", + "description": [], + "signature": [ + "{ (serviceName: \"config\" | \"log\" | \"lifecycle\" | \"failureMetadata\" | \"dockerServers\"): true; (serviceName: K): serviceName is K; (serviceName: string): serviceName is Extract; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.hasService.$1", + "type": "string", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService", + "type": "Function", + "tags": [], + "label": "getService", + "description": [ + "\nGet the instance of a service, if the service is loaded async and the service needs to be used\noutside of a test/hook, then make sure to call its `.init()` method and await it's promise." + ], + "signature": [ + "{ (serviceName: \"config\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + "; (serviceName: \"log\"): ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + "; (serviceName: \"lifecycle\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Lifecycle", + "text": "Lifecycle" + }, + "; (serviceName: \"dockerServers\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServersService", + "text": "DockerServersService" + }, + "; (serviceName: \"failureMetadata\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.FailureMetadata", + "text": "FailureMetadata" + }, + "; (serviceName: T): ServiceMap[T]; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService.$1", + "type": "string", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "\"config\"" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService", + "type": "Function", + "tags": [], + "label": "getService", + "description": [], + "signature": [ + "{ (serviceName: \"config\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + "; (serviceName: \"log\"): ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + "; (serviceName: \"lifecycle\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Lifecycle", + "text": "Lifecycle" + }, + "; (serviceName: \"dockerServers\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServersService", + "text": "DockerServersService" + }, + "; (serviceName: \"failureMetadata\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.FailureMetadata", + "text": "FailureMetadata" + }, + "; (serviceName: T): ServiceMap[T]; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService.$1", + "type": "string", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "\"log\"" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService", + "type": "Function", + "tags": [], + "label": "getService", + "description": [], + "signature": [ + "{ (serviceName: \"config\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + "; (serviceName: \"log\"): ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + "; (serviceName: \"lifecycle\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Lifecycle", + "text": "Lifecycle" + }, + "; (serviceName: \"dockerServers\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServersService", + "text": "DockerServersService" + }, + "; (serviceName: \"failureMetadata\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.FailureMetadata", + "text": "FailureMetadata" + }, + "; (serviceName: T): ServiceMap[T]; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService.$1", + "type": "string", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "\"lifecycle\"" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService", + "type": "Function", + "tags": [], + "label": "getService", + "description": [], + "signature": [ + "{ (serviceName: \"config\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + "; (serviceName: \"log\"): ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + "; (serviceName: \"lifecycle\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Lifecycle", + "text": "Lifecycle" + }, + "; (serviceName: \"dockerServers\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServersService", + "text": "DockerServersService" + }, + "; (serviceName: \"failureMetadata\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.FailureMetadata", + "text": "FailureMetadata" + }, + "; (serviceName: T): ServiceMap[T]; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService.$1", + "type": "string", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "\"dockerServers\"" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService", + "type": "Function", + "tags": [], + "label": "getService", + "description": [], + "signature": [ + "{ (serviceName: \"config\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + "; (serviceName: \"log\"): ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + "; (serviceName: \"lifecycle\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Lifecycle", + "text": "Lifecycle" + }, + "; (serviceName: \"dockerServers\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServersService", + "text": "DockerServersService" + }, + "; (serviceName: \"failureMetadata\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.FailureMetadata", + "text": "FailureMetadata" + }, + "; (serviceName: T): ServiceMap[T]; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService.$1", + "type": "string", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "\"failureMetadata\"" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService", + "type": "Function", + "tags": [], + "label": "getService", + "description": [], + "signature": [ + "{ (serviceName: \"config\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Config", + "text": "Config" + }, + "; (serviceName: \"log\"): ", + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + }, + "; (serviceName: \"lifecycle\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Lifecycle", + "text": "Lifecycle" + }, + "; (serviceName: \"dockerServers\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.DockerServersService", + "text": "DockerServersService" + }, + "; (serviceName: \"failureMetadata\"): ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.FailureMetadata", + "text": "FailureMetadata" + }, + "; (serviceName: T): ServiceMap[T]; }" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getService.$1", + "type": "Uncategorized", + "tags": [], + "label": "serviceName", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getPageObject", + "type": "Function", + "tags": [], + "label": "getPageObject", + "description": [ + "\nGet the instance of a page object" + ], + "signature": [ + "(pageObjectName: K) => PageObjectMap[K]" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getPageObject.$1", + "type": "Uncategorized", + "tags": [], + "label": "pageObjectName", + "description": [], + "signature": [ + "K" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getPageObjects", + "type": "Function", + "tags": [], + "label": "getPageObjects", + "description": [ + "\nGet a map of PageObjects" + ], + "signature": [ + "(pageObjects: K[]) => Pick" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.getPageObjects.$1", + "type": "Array", + "tags": [], + "label": "pageObjects", + "description": [], + "signature": [ + "K[]" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.loadTestFile", + "type": "Function", + "tags": [], + "label": "loadTestFile", + "description": [ + "\nSynchronously load a test file, can be called within a `describe()` block to add\ncommon setup/teardown steps to several suites" + ], + "signature": [ + "(path: string) => void" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.GenericFtrProviderContext.loadTestFile.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.ICluster", + "type": "Interface", + "tags": [], + "label": "ICluster", + "description": [], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.ICluster.ports", + "type": "Array", + "tags": [], + "label": "ports", + "description": [], + "signature": [ + "number[]" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.ICluster.nodes", + "type": "Array", + "tags": [], + "label": "nodes", + "description": [], + "signature": [ + "Node[]" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.ICluster.getStartTimeout", + "type": "Function", + "tags": [], + "label": "getStartTimeout", + "description": [], + "signature": [ + "() => number" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.ICluster.start", + "type": "Function", + "tags": [], + "label": "start", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.ICluster.stop", + "type": "Function", + "tags": [], + "label": "stop", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.ICluster.cleanup", + "type": "Function", + "tags": [], + "label": "cleanup", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.ICluster.getClient", + "type": "Function", + "tags": [], + "label": "getClient", + "description": [], + "signature": [ + "() => ", + "KibanaClient" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.ICluster.getHostUrls", + "type": "Function", + "tags": [], + "label": "getHostUrls", + "description": [], + "signature": [ + "() => string[]" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClientOptions", + "type": "Interface", + "tags": [], + "label": "KbnClientOptions", + "description": [], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClientOptions.url", + "type": "string", + "tags": [], + "label": "url", + "description": [], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClientOptions.certificateAuthorities", + "type": "Array", + "tags": [], + "label": "certificateAuthorities", + "description": [], + "signature": [ + "Buffer[] | undefined" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClientOptions.log", + "type": "Object", + "tags": [], + "label": "log", + "description": [], + "signature": [ + { + "pluginId": "@kbn/dev-utils", + "scope": "server", + "docId": "kibKbnDevUtilsPluginApi", + "section": "def-server.ToolingLog", + "text": "ToolingLog" + } + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClientOptions.uiSettingDefaults", + "type": "Object", + "tags": [], + "label": "uiSettingDefaults", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KbnClientOptions.importExportBaseDir", + "type": "string", + "tags": [], + "label": "importExportBaseDir", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-test/src/kbn_client/kbn_client.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite", + "type": "Interface", + "tags": [], + "label": "Suite", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite.suites", + "type": "Array", + "tags": [], + "label": "suites", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Suite", + "text": "Suite" + }, + "[]" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite.tests", + "type": "Array", + "tags": [], + "label": "tests", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Test", + "text": "Test" + }, + "[]" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite.file", + "type": "string", + "tags": [], + "label": "file", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite.parent", + "type": "Object", + "tags": [], + "label": "parent", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Suite", + "text": "Suite" + }, + " | undefined" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite.eachTest", + "type": "Function", + "tags": [], + "label": "eachTest", + "description": [], + "signature": [ + "(cb: (test: ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Test", + "text": "Test" + }, + ") => void) => void" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite.eachTest.$1", + "type": "Function", + "tags": [], + "label": "cb", + "description": [], + "signature": [ + "(test: ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Test", + "text": "Test" + }, + ") => void" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite.root", + "type": "boolean", + "tags": [], + "label": "root", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Suite.suiteTag", + "type": "string", + "tags": [], + "label": "suiteTag", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Test", + "type": "Interface", + "tags": [], + "label": "Test", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.Test.fullTitle", + "type": "Function", + "tags": [], + "label": "fullTitle", + "description": [], + "signature": [ + "() => string" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Test.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Test.file", + "type": "string", + "tags": [], + "label": "file", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Test.parent", + "type": "Object", + "tags": [], + "label": "parent", + "description": [], + "signature": [ + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.Suite", + "text": "Suite" + }, + " | undefined" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.Test.isPassed", + "type": "Function", + "tags": [], + "label": "isPassed", + "description": [], + "signature": [ + "() => boolean" + ], + "path": "packages/kbn-test/src/functional_test_runner/fake_mocha_types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.CI_PARALLEL_PROCESS_PREFIX", + "type": "string", + "tags": [], + "label": "CI_PARALLEL_PROCESS_PREFIX", + "description": [ + "\nA prefix string that is unique for each parallel CI process that\nis an empty string outside of CI, so it can be safely injected\ninto strings as a prefix" + ], + "path": "packages/kbn-test/src/ci_parallel_process_prefix.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.EsTestCluster", + "type": "Type", + "tags": [], + "label": "EsTestCluster", + "description": [], + "signature": [ + "Options[\"nodes\"] extends TestEsClusterNodesOptions[] ? ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.ICluster", + "text": "ICluster" + }, + " : ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.ICluster", + "text": "ICluster" + }, + " & { getUrl: () => string; }" + ], + "path": "packages/kbn-test/src/es/test_es_cluster.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.KIBANA_ROOT", + "type": "string", + "tags": [], + "label": "KIBANA_ROOT", + "description": [], + "path": "packages/kbn-test/src/functional_tests/lib/paths.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.ProvidedType", + "type": "Type", + "tags": [], + "label": "ProvidedType", + "description": [ + "\nCovert a Provider type to the instance type it provides" + ], + "signature": [ + "ReturnType extends Promise ? ", + { + "pluginId": "@kbn/test", + "scope": "server", + "docId": "kibKbnTestPluginApi", + "section": "def-server.AsyncInstance", + "text": "AsyncInstance" + }, + " & X : ReturnType" + ], + "path": "packages/kbn-test/src/functional_test_runner/public_types.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.adminTestUser", + "type": "Object", + "tags": [], + "label": "adminTestUser", + "description": [], + "path": "packages/kbn-test/src/kbn/users.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.adminTestUser.username", + "type": "string", + "tags": [], + "label": "username", + "description": [], + "path": "packages/kbn-test/src/kbn/users.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.adminTestUser.password", + "type": "string", + "tags": [], + "label": "password", + "description": [], + "path": "packages/kbn-test/src/kbn/users.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.esTestConfig", + "type": "Object", + "tags": [], + "label": "esTestConfig", + "description": [], + "signature": [ + "EsTestConfig" + ], + "path": "packages/kbn-test/src/es/es_test_config.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.kbnTestConfig", + "type": "Object", + "tags": [], + "label": "kbnTestConfig", + "description": [], + "signature": [ + "KbnTestConfig" + ], + "path": "packages/kbn-test/src/kbn/kbn_test_config.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.kibanaServerTestUser", + "type": "Object", + "tags": [], + "label": "kibanaServerTestUser", + "description": [], + "path": "packages/kbn-test/src/kbn/users.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.kibanaServerTestUser.username", + "type": "string", + "tags": [], + "label": "username", + "description": [], + "path": "packages/kbn-test/src/kbn/users.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.kibanaServerTestUser.password", + "type": "string", + "tags": [], + "label": "password", + "description": [], + "path": "packages/kbn-test/src/kbn/users.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.kibanaTestUser", + "type": "Object", + "tags": [], + "label": "kibanaTestUser", + "description": [], + "path": "packages/kbn-test/src/kbn/users.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/test", + "id": "def-server.kibanaTestUser.username", + "type": "string", + "tags": [], + "label": "username", + "description": [], + "path": "packages/kbn-test/src/kbn/users.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/test", + "id": "def-server.kibanaTestUser.password", + "type": "string", + "tags": [], + "label": "password", + "description": [], + "path": "packages/kbn-test/src/kbn/users.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_test.mdx b/api_docs/kbn_test.mdx new file mode 100644 index 0000000000000..f5c84eb3c32b6 --- /dev/null +++ b/api_docs/kbn_test.mdx @@ -0,0 +1,39 @@ +--- +id: kibKbnTestPluginApi +slug: /kibana-dev-docs/api/kbn-test +title: "@kbn/test" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/test plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/test'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnTestObj from './kbn_test.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 200 | 5 | 177 | 9 | + +## Server + +### Objects + + +### Functions + + +### Classes + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_typed_react_router_config.json b/api_docs/kbn_typed_react_router_config.json new file mode 100644 index 0000000000000..aaa1c025910c6 --- /dev/null +++ b/api_docs/kbn_typed_react_router_config.json @@ -0,0 +1,4358 @@ +{ + "id": "@kbn/typed-react-router-config", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.createRouter", + "type": "Function", + "tags": [], + "label": "createRouter", + "description": [], + "signature": [ + "(routes: TRoutes) => ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Router", + "text": "Router" + }, + "" + ], + "path": "packages/kbn-typed-react-router-config/src/create_router.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.createRouter.$1", + "type": "Uncategorized", + "tags": [], + "label": "routes", + "description": [], + "signature": [ + "TRoutes" + ], + "path": "packages/kbn-typed-react-router-config/src/create_router.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.CurrentRouteContextProvider", + "type": "Function", + "tags": [], + "label": "CurrentRouteContextProvider", + "description": [], + "signature": [ + "({ match, element, children, }: { match: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.RouteMatch", + "text": "RouteMatch" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ">; element: React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>; children: React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>; }) => JSX.Element" + ], + "path": "packages/kbn-typed-react-router-config/src/use_current_route.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.CurrentRouteContextProvider.$1", + "type": "Object", + "tags": [], + "label": "{\n match,\n element,\n children,\n}", + "description": [], + "path": "packages/kbn-typed-react-router-config/src/use_current_route.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.CurrentRouteContextProvider.$1.match", + "type": "Object", + "tags": [], + "label": "match", + "description": [], + "signature": [ + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.RouteMatch", + "text": "RouteMatch" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ">" + ], + "path": "packages/kbn-typed-react-router-config/src/use_current_route.tsx", + "deprecated": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.CurrentRouteContextProvider.$1.element", + "type": "Object", + "tags": [], + "label": "element", + "description": [], + "signature": [ + "React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>" + ], + "path": "packages/kbn-typed-react-router-config/src/use_current_route.tsx", + "deprecated": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.CurrentRouteContextProvider.$1.children", + "type": "Object", + "tags": [], + "label": "children", + "description": [], + "signature": [ + "React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>" + ], + "path": "packages/kbn-typed-react-router-config/src/use_current_route.tsx", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Outlet", + "type": "Function", + "tags": [], + "label": "Outlet", + "description": [], + "signature": [ + "() => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>" + ], + "path": "packages/kbn-typed-react-router-config/src/outlet.tsx", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.route", + "type": "Function", + "tags": [], + "label": "route", + "description": [], + "signature": [ + "(r: TRoute) => ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "" + ], + "path": "packages/kbn-typed-react-router-config/src/route.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.route.$1", + "type": "Uncategorized", + "tags": [], + "label": "r", + "description": [], + "signature": [ + "TRoute" + ], + "path": "packages/kbn-typed-react-router-config/src/route.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouterContextProvider", + "type": "Function", + "tags": [], + "label": "RouterContextProvider", + "description": [], + "signature": [ + "({ router, children, }: { router: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Router", + "text": "Router" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]>; children: React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>; }) => JSX.Element" + ], + "path": "packages/kbn-typed-react-router-config/src/use_router.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouterContextProvider.$1", + "type": "Object", + "tags": [], + "label": "{\n router,\n children,\n}", + "description": [], + "path": "packages/kbn-typed-react-router-config/src/use_router.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouterContextProvider.$1.router", + "type": "Object", + "tags": [], + "label": "router", + "description": [], + "signature": [ + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Router", + "text": "Router" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]>" + ], + "path": "packages/kbn-typed-react-router-config/src/use_router.tsx", + "deprecated": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouterContextProvider.$1.children", + "type": "Object", + "tags": [], + "label": "children", + "description": [], + "signature": [ + "React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>" + ], + "path": "packages/kbn-typed-react-router-config/src/use_router.tsx", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouteRenderer", + "type": "Function", + "tags": [], + "label": "RouteRenderer", + "description": [], + "signature": [ + "() => JSX.Element" + ], + "path": "packages/kbn-typed-react-router-config/src/route_renderer.tsx", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouterProvider", + "type": "Function", + "tags": [], + "label": "RouterProvider", + "description": [], + "signature": [ + "({\n children,\n router,\n history,\n}: { router: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Router", + "text": "Router" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]>; history: ", + "History", + "; children: React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>; }) => JSX.Element" + ], + "path": "packages/kbn-typed-react-router-config/src/router_provider.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouterProvider.$1", + "type": "Object", + "tags": [], + "label": "{\n children,\n router,\n history,\n}", + "description": [], + "path": "packages/kbn-typed-react-router-config/src/router_provider.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouterProvider.$1.router", + "type": "Object", + "tags": [], + "label": "router", + "description": [], + "signature": [ + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Router", + "text": "Router" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]>" + ], + "path": "packages/kbn-typed-react-router-config/src/router_provider.tsx", + "deprecated": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouterProvider.$1.history", + "type": "Object", + "tags": [], + "label": "history", + "description": [], + "signature": [ + "History", + "" + ], + "path": "packages/kbn-typed-react-router-config/src/router_provider.tsx", + "deprecated": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouterProvider.$1.children", + "type": "Object", + "tags": [], + "label": "children", + "description": [], + "signature": [ + "React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>" + ], + "path": "packages/kbn-typed-react-router-config/src/router_provider.tsx", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.unconst", + "type": "Function", + "tags": [], + "label": "unconst", + "description": [], + "signature": [ + "(value: T) => ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "" + ], + "path": "packages/kbn-typed-react-router-config/src/unconst.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.unconst.$1", + "type": "Uncategorized", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "T" + ], + "path": "packages/kbn-typed-react-router-config/src/unconst.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.useCurrentRoute", + "type": "Function", + "tags": [], + "label": "useCurrentRoute", + "description": [], + "signature": [ + "() => { match: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.RouteMatch", + "text": "RouteMatch" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ">; element: React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>; }" + ], + "path": "packages/kbn-typed-react-router-config/src/use_current_route.tsx", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.useMatchRoutes", + "type": "Function", + "tags": [], + "label": "useMatchRoutes", + "description": [], + "signature": [ + "(path: string | undefined) => ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.RouteMatch", + "text": "RouteMatch" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ">[]" + ], + "path": "packages/kbn-typed-react-router-config/src/use_match_routes.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.useMatchRoutes.$1", + "type": "string", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "packages/kbn-typed-react-router-config/src/use_match_routes.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.useParams", + "type": "Function", + "tags": [], + "label": "useParams", + "description": [], + "signature": [ + "(args: any[]) => undefined" + ], + "path": "packages/kbn-typed-react-router-config/src/use_params.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.useParams.$1", + "type": "Array", + "tags": [], + "label": "args", + "description": [], + "signature": [ + "any[]" + ], + "path": "packages/kbn-typed-react-router-config/src/use_params.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.useRoutePath", + "type": "Function", + "tags": [], + "label": "useRoutePath", + "description": [], + "signature": [ + "() => string" + ], + "path": "packages/kbn-typed-react-router-config/src/use_route_path.tsx", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.useRouter", + "type": "Function", + "tags": [], + "label": "useRouter", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Router", + "text": "Router" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]>" + ], + "path": "packages/kbn-typed-react-router-config/src/use_router.tsx", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouteMatch", + "type": "Interface", + "tags": [], + "label": "RouteMatch", + "description": [], + "signature": [ + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.RouteMatch", + "text": "RouteMatch" + }, + "" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouteMatch.route", + "type": "Uncategorized", + "tags": [], + "label": "route", + "description": [], + "signature": [ + "TRoute" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.RouteMatch.match", + "type": "Object", + "tags": [], + "label": "match", + "description": [], + "signature": [ + "{ isExact: boolean; path: string; url: string; params: TRoute extends { params: ", + "Type", + "; } ? ", + "TypeOf", + " : {}; }" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router", + "type": "Interface", + "tags": [], + "label": "Router", + "description": [], + "signature": [ + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Router", + "text": "Router" + }, + "" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.matchRoutes", + "type": "Function", + "tags": [], + "label": "matchRoutes", + "description": [], + "signature": [ + "{ >(path: TPath, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Match", + "text": "Match" + }, + "; (location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Match", + "text": "Match" + }, + ">; }" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.matchRoutes.$1", + "type": "Uncategorized", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "TPath" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.matchRoutes.$2", + "type": "Object", + "tags": [], + "label": "location", + "description": [], + "signature": [ + "Location", + "" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.matchRoutes", + "type": "Function", + "tags": [], + "label": "matchRoutes", + "description": [], + "signature": [ + "{ >(path: TPath, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Match", + "text": "Match" + }, + "; (location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Match", + "text": "Match" + }, + ">; }" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.matchRoutes.$1", + "type": "Object", + "tags": [], + "label": "location", + "description": [], + "signature": [ + "Location", + "" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams", + "type": "Function", + "tags": [], + "label": "getParams", + "description": [], + "signature": [ + "{ >(path: TPath, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ", T3 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, path3: T3, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; }" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$1", + "type": "Uncategorized", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "TPath" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$2", + "type": "Object", + "tags": [], + "label": "location", + "description": [], + "signature": [ + "Location", + "" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams", + "type": "Function", + "tags": [], + "label": "getParams", + "description": [], + "signature": [ + "{ >(path: TPath, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ", T3 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, path3: T3, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; }" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$1", + "type": "Uncategorized", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "TPath" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$2", + "type": "Object", + "tags": [], + "label": "location", + "description": [], + "signature": [ + "Location", + "" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$3", + "type": "Uncategorized", + "tags": [], + "label": "optional", + "description": [], + "signature": [ + "TOptional" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams", + "type": "Function", + "tags": [], + "label": "getParams", + "description": [], + "signature": [ + "{ >(path: TPath, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ", T3 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, path3: T3, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; }" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$1", + "type": "Uncategorized", + "tags": [], + "label": "path1", + "description": [], + "signature": [ + "T1" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$2", + "type": "Uncategorized", + "tags": [], + "label": "path2", + "description": [], + "signature": [ + "T2" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$3", + "type": "Object", + "tags": [], + "label": "location", + "description": [], + "signature": [ + "Location", + "" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams", + "type": "Function", + "tags": [], + "label": "getParams", + "description": [], + "signature": [ + "{ >(path: TPath, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ", T3 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, path3: T3, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; }" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$1", + "type": "Uncategorized", + "tags": [], + "label": "path1", + "description": [], + "signature": [ + "T1" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$2", + "type": "Uncategorized", + "tags": [], + "label": "path2", + "description": [], + "signature": [ + "T2" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$3", + "type": "Uncategorized", + "tags": [], + "label": "path3", + "description": [], + "signature": [ + "T3" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$4", + "type": "Object", + "tags": [], + "label": "location", + "description": [], + "signature": [ + "Location", + "" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams", + "type": "Function", + "tags": [], + "label": "getParams", + "description": [], + "signature": [ + "{ >(path: TPath, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , T2 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ", T3 extends ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + ">(path1: T1, path2: T2, path3: T3, location: ", + "Location", + "): ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; , TOptional extends boolean>(path: TPath, location: ", + "Location", + ", optional: TOptional): TOptional extends true ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + " | undefined : ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + "; }" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$1", + "type": "Uncategorized", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "TPath" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$2", + "type": "Object", + "tags": [], + "label": "location", + "description": [], + "signature": [ + "Location", + "" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getParams.$3", + "type": "Uncategorized", + "tags": [], + "label": "optional", + "description": [], + "signature": [ + "TOptional" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.link", + "type": "Function", + "tags": [], + "label": "link", + "description": [], + "signature": [ + ">(path: TPath, ...args: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeAsArgs", + "text": "TypeAsArgs" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + ">) => string" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.link.$1", + "type": "Uncategorized", + "tags": [], + "label": "path", + "description": [], + "signature": [ + "TPath" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.link.$2", + "type": "Uncategorized", + "tags": [], + "label": "args", + "description": [], + "signature": [ + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeAsArgs", + "text": "TypeAsArgs" + }, + "<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.TypeOf", + "text": "TypeOf" + }, + ">" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getRoutePath", + "type": "Function", + "tags": [], + "label": "getRoutePath", + "description": [], + "signature": [ + "(route: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ") => string" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Router.getRoutePath.$1", + "type": "CompoundType", + "tags": [], + "label": "route", + "description": [], + "signature": [ + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + } + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Match", + "type": "Type", + "tags": [], + "label": "Match", + "description": [], + "signature": [ + "MapRoutes extends { [key in TPath]: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "; } ? UnwrapRouteMap[TPath]> : []" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.MaybeConst", + "type": "Type", + "tags": [], + "label": "MaybeConst", + "description": [], + "signature": [ + "TObject extends [object] ? [TObject | ", + "DeepReadonly", + "] : TObject extends [object, ...infer TTail] ? [TObject | ", + "DeepReadonly", + ", ...TTail extends object[] ? ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.MaybeConst", + "text": "MaybeConst" + }, + " : []] : TObject extends object[] ? ", + "DeepReadonly", + " : TObject extends object ? [TObject | ", + "DeepReadonly", + "] : []" + ], + "path": "packages/kbn-typed-react-router-config/src/unconst.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.OutputOf", + "type": "Type", + "tags": [], + "label": "OutputOf", + "description": [], + "signature": [ + "OutputOfMatches<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Match", + "text": "Match" + }, + "> & DefaultOutput" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.PathsOf", + "type": "Type", + "tags": [], + "label": "PathsOf", + "description": [], + "signature": [ + "TRoutes extends [] ? never : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? PathsOfRoute : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[2][\"path\"] | (TRoutes[2] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[2][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[2][\"path\"] | (TRoutes[2] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[2][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[3][\"path\"] | (TRoutes[3] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[3][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[2][\"path\"] | (TRoutes[2] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[2][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[3][\"path\"] | (TRoutes[3] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[3][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[4][\"path\"] | (TRoutes[4] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[4][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[2][\"path\"] | (TRoutes[2] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[2][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[3][\"path\"] | (TRoutes[3] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[3][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[4][\"path\"] | (TRoutes[4] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[4][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[5][\"path\"] | (TRoutes[5] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[5][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[2][\"path\"] | (TRoutes[2] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[2][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[3][\"path\"] | (TRoutes[3] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[3][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[4][\"path\"] | (TRoutes[4] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[4][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[5][\"path\"] | (TRoutes[5] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[5][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[6][\"path\"] | (TRoutes[6] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[6][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[2][\"path\"] | (TRoutes[2] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[2][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[3][\"path\"] | (TRoutes[3] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[3][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[4][\"path\"] | (TRoutes[4] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[4][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[5][\"path\"] | (TRoutes[5] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[5][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[6][\"path\"] | (TRoutes[6] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[6][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[7][\"path\"] | (TRoutes[7] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[7][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[2][\"path\"] | (TRoutes[2] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[2][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[3][\"path\"] | (TRoutes[3] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[3][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[4][\"path\"] | (TRoutes[4] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[4][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[5][\"path\"] | (TRoutes[5] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[5][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[6][\"path\"] | (TRoutes[6] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[6][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[7][\"path\"] | (TRoutes[7] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[7][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[8][\"path\"] | (TRoutes[8] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[8][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[2][\"path\"] | (TRoutes[2] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[2][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[3][\"path\"] | (TRoutes[3] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[3][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[4][\"path\"] | (TRoutes[4] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[4][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[5][\"path\"] | (TRoutes[5] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[5][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[6][\"path\"] | (TRoutes[6] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[6][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[7][\"path\"] | (TRoutes[7] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[7][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[8][\"path\"] | (TRoutes[8] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[8][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[9][\"path\"] | (TRoutes[9] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[9][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : TRoutes extends [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "] ? TRoutes[0][\"path\"] | (TRoutes[0] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[0][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[1][\"path\"] | (TRoutes[1] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[1][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[2][\"path\"] | (TRoutes[2] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[2][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[3][\"path\"] | (TRoutes[3] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[3][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[4][\"path\"] | (TRoutes[4] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[4][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[5][\"path\"] | (TRoutes[5] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[5][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[6][\"path\"] | (TRoutes[6] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[6][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[7][\"path\"] | (TRoutes[7] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[7][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[8][\"path\"] | (TRoutes[8] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[8][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[9][\"path\"] | (TRoutes[9] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[9][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) | TRoutes[10][\"path\"] | (TRoutes[10] extends { children: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Route", + "text": "Route" + }, + "[]; } ? ", + "NormalizePath", + "<`${TRoutes[10][\"path\"]}/*`> | ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.PathsOf", + "text": "PathsOf" + }, + " : never) : string" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Route", + "type": "Type", + "tags": [], + "label": "Route", + "description": [], + "signature": [ + "PlainRoute | ReadonlyPlainRoute" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.TypeAsArgs", + "type": "Type", + "tags": [], + "label": "TypeAsArgs", + "description": [], + "signature": [ + "keyof TObject extends never ? [] : ", + "RequiredKeys", + " extends never ? [] | [TObject] : [TObject]" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.TypeOf", + "type": "Type", + "tags": [], + "label": "TypeOf", + "description": [], + "signature": [ + "TypeOfMatches<", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Match", + "text": "Match" + }, + "> & (TWithDefaultOutput extends true ? DefaultOutput : {})" + ], + "path": "packages/kbn-typed-react-router-config/src/types/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/typed-react-router-config", + "id": "def-common.Unconst", + "type": "Type", + "tags": [], + "label": "Unconst", + "description": [], + "signature": [ + "T extends React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)> ? React.ReactElement : T extends ", + "Type", + " ? T : T extends readonly [any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [any, any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [any, any, any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [any, any, any, any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [any, any, any, any, any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [any, any, any, any, any, any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [any, any, any, any, any, any, any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [any, any, any, any, any, any, any, any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [any, any, any, any, any, any, any, any, any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [any, any, any, any, any, any, any, any, any, any] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends readonly [infer U, ...infer V] ? [", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + ", ...", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "] : T extends Record ? { -readonly [key in keyof T]: ", + { + "pluginId": "@kbn/typed-react-router-config", + "scope": "common", + "docId": "kibKbnTypedReactRouterConfigPluginApi", + "section": "def-common.Unconst", + "text": "Unconst" + }, + "; } : T" + ], + "path": "packages/kbn-typed-react-router-config/src/unconst.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_typed_react_router_config.mdx b/api_docs/kbn_typed_react_router_config.mdx new file mode 100644 index 0000000000000..9a665ee8e676f --- /dev/null +++ b/api_docs/kbn_typed_react_router_config.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnTypedReactRouterConfigPluginApi +slug: /kibana-dev-docs/api/kbn-typed-react-router-config +title: "@kbn/typed-react-router-config" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/typed-react-router-config plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/typed-react-router-config'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnTypedReactRouterConfigObj from './kbn_typed_react_router_config.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 71 | 0 | 71 | 1 | + +## Common + +### Functions + + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_utility_types.json b/api_docs/kbn_utility_types.json new file mode 100644 index 0000000000000..49e2155b92da4 --- /dev/null +++ b/api_docs/kbn_utility_types.json @@ -0,0 +1,604 @@ +{ + "id": "@kbn/utility-types", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [ + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.JsonArray", + "type": "Interface", + "tags": [], + "label": "JsonArray", + "description": [], + "signature": [ + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonArray", + "text": "JsonArray" + }, + " extends ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonValue", + "text": "JsonValue" + }, + "[]" + ], + "path": "packages/kbn-utility-types/src/serializable/index.ts", + "deprecated": false, + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.JsonObject", + "type": "Interface", + "tags": [], + "label": "JsonObject", + "description": [], + "path": "packages/kbn-utility-types/src/serializable/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.JsonObject.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-utility-types/src/serializable/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.ObservableLike", + "type": "Interface", + "tags": [], + "label": "ObservableLike", + "description": [ + "\nMinimal interface for an object resembling an `Observable`." + ], + "signature": [ + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + "" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.ObservableLike.subscribe", + "type": "Function", + "tags": [], + "label": "subscribe", + "description": [], + "signature": [ + "(observer: (value: T) => void) => void" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.ObservableLike.subscribe.$1", + "type": "Function", + "tags": [], + "label": "observer", + "description": [], + "signature": [ + "(value: T) => void" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.RecursiveReadonlyArray", + "type": "Interface", + "tags": [], + "label": "RecursiveReadonlyArray", + "description": [], + "signature": [ + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, + " extends readonly ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonly", + "text": "RecursiveReadonly" + }, + "[]" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.SerializableRecord", + "type": "Interface", + "tags": [], + "label": "SerializableRecord", + "description": [], + "signature": [ + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + " extends Record" + ], + "path": "packages/kbn-utility-types/src/serializable/index.ts", + "deprecated": false, + "children": [], + "initialIsOpen": false + } + ], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.$Values", + "type": "Type", + "tags": [ + "desc", + "see" + ], + "label": "$Values", + "description": [ + "\n$Values" + ], + "signature": [ + "T[keyof T]" + ], + "path": "node_modules/utility-types/dist/utility-types.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.Assign", + "type": "Type", + "tags": [ + "desc" + ], + "label": "Assign", + "description": [ + "\nAssign" + ], + "signature": [ + "{ [P in keyof I]: I[P]; }" + ], + "path": "node_modules/utility-types/dist/mapped-types.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.AugmentedRequired", + "type": "Type", + "tags": [ + "desc" + ], + "label": "AugmentedRequired", + "description": [ + "\nRequired" + ], + "signature": [ + "Pick> & Required>" + ], + "path": "node_modules/utility-types/dist/mapped-types.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.Class", + "type": "Type", + "tags": [ + "desc", + "see" + ], + "label": "Class", + "description": [ + "\nClass" + ], + "signature": [ + "new (...args: any[]) => T" + ], + "path": "node_modules/utility-types/dist/utility-types.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.Ensure", + "type": "Type", + "tags": [], + "label": "Ensure", + "description": [ + "\nEnsures T is of type X." + ], + "signature": [ + "T extends X ? T : never" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.JsonValue", + "type": "Type", + "tags": [], + "label": "JsonValue", + "description": [], + "signature": [ + "string | number | boolean | ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonArray", + "text": "JsonArray" + }, + " | ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, + " | null" + ], + "path": "packages/kbn-utility-types/src/serializable/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.MaybePromise", + "type": "Type", + "tags": [], + "label": "MaybePromise", + "description": [ + "\nA type that may or may not be a `Promise`." + ], + "signature": [ + "T | Promise" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.MethodKeysOf", + "type": "Type", + "tags": [], + "label": "MethodKeysOf", + "description": [ + "\nReturns public method names" + ], + "signature": [ + "{ [K in keyof T]: T[K] extends (...args: any[]) => any ? K : never; }[keyof T]" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.Optional", + "type": "Type", + "tags": [ + "desc" + ], + "label": "Optional", + "description": [ + "\nOptional" + ], + "signature": [ + "Pick> & Partial>" + ], + "path": "node_modules/utility-types/dist/mapped-types.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.PublicContract", + "type": "Type", + "tags": [], + "label": "PublicContract", + "description": [ + "\nReturns an object with public keys only." + ], + "signature": [ + "{ [P in keyof T]: T[P]; }" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.PublicKeys", + "type": "Type", + "tags": [], + "label": "PublicKeys", + "description": [ + "\nReturns public keys of an object." + ], + "signature": [ + "keyof T" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.PublicMethodsOf", + "type": "Type", + "tags": [], + "label": "PublicMethodsOf", + "description": [ + "\n Returns an object with public methods only." + ], + "signature": [ + "{ [P in ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MethodKeysOf", + "text": "MethodKeysOf" + }, + "]: T[P]; }" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.RecursiveReadonly", + "type": "Type", + "tags": [], + "label": "RecursiveReadonly", + "description": [], + "signature": [ + "T extends (...args: any) => any ? T : T extends any[] ? ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonlyArray", + "text": "RecursiveReadonlyArray" + }, + " : T extends object ? Readonly<{ [K in keyof T]: ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.RecursiveReadonly", + "text": "RecursiveReadonly" + }, + "; }> : T" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.Serializable", + "type": "Type", + "tags": [], + "label": "Serializable", + "description": [], + "signature": [ + "string | number | boolean | ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, + " | ", + "SerializableArray", + " | null | undefined" + ], + "path": "packages/kbn-utility-types/src/serializable/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.ShallowPromise", + "type": "Type", + "tags": [], + "label": "ShallowPromise", + "description": [ + "\nConverts a type to a `Promise`, unless it is already a `Promise`. Useful when proxying the return value of a possibly async function." + ], + "signature": [ + "T extends Promise ? Promise : Promise" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.UnionToIntersection", + "type": "Type", + "tags": [], + "label": "UnionToIntersection", + "description": [ + "\nUtility type for converting a union of types into an intersection.\n\nThis is a bit of \"black magic\" that will interpret a Union type as an Intersection\ntype. This is necessary in the case of distinguishing one collection from\nanother." + ], + "signature": [ + "(U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.UnwrapObservable", + "type": "Type", + "tags": [], + "label": "UnwrapObservable", + "description": [ + "\nReturns wrapped type of an observable." + ], + "signature": [ + "T extends ", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.ObservableLike", + "text": "ObservableLike" + }, + " ? U : never" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.UnwrapPromise", + "type": "Type", + "tags": [], + "label": "UnwrapPromise", + "description": [ + "\nReturns wrapped type of a `Promise`." + ], + "signature": [ + "T extends Promise ? U : never" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.UnwrapPromiseOrReturn", + "type": "Type", + "tags": [], + "label": "UnwrapPromiseOrReturn", + "description": [ + "\nReturns wrapped type of a promise, or returns type as is, if it is not a promise." + ], + "signature": [ + "T extends Promise ? U : T" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.Values", + "type": "Type", + "tags": [], + "label": "Values", + "description": [ + "\nReturns types or array or object values." + ], + "signature": [ + "T extends any[] ? T[number] : T extends object ? T[keyof T] : never" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utility-types", + "id": "def-server.Writable", + "type": "Type", + "tags": [], + "label": "Writable", + "description": [ + "\n Makes an object with readonly properties mutable." + ], + "signature": [ + "{ -readonly [K in keyof T]: T[K]; }" + ], + "path": "packages/kbn-utility-types/src/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_utility_types.mdx b/api_docs/kbn_utility_types.mdx new file mode 100644 index 0000000000000..c2533460c3531 --- /dev/null +++ b/api_docs/kbn_utility_types.mdx @@ -0,0 +1,30 @@ +--- +id: kibKbnUtilityTypesPluginApi +slug: /kibana-dev-docs/api/kbn-utility-types +title: "@kbn/utility-types" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/utility-types plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utility-types'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnUtilityTypesObj from './kbn_utility_types.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 29 | 1 | 10 | 1 | + +## Server + +### Interfaces + + +### Consts, variables and types + + diff --git a/api_docs/kbn_utils.json b/api_docs/kbn_utils.json new file mode 100644 index 0000000000000..5386005a725b4 --- /dev/null +++ b/api_docs/kbn_utils.json @@ -0,0 +1,549 @@ +{ + "id": "@kbn/utils", + "client": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "server": { + "classes": [], + "functions": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.concatStreamProviders", + "type": "Function", + "tags": [ + "return" + ], + "label": "concatStreamProviders", + "description": [ + "\n Write the data and errors from a list of stream providers\n to a single stream in order. Stream providers are only\n called right before they will be consumed, and only one\n provider will be active at a time.\n" + ], + "signature": [ + "(sourceProviders: (() => ", + "Readable", + ")[], options: ", + "TransformOptions", + " | undefined) => ", + "PassThrough" + ], + "path": "packages/kbn-utils/src/streams/concat_stream_providers.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.concatStreamProviders.$1", + "type": "Array", + "tags": [], + "label": "sourceProviders", + "description": [], + "signature": [ + "(() => ", + "Readable", + ")[]" + ], + "path": "packages/kbn-utils/src/streams/concat_stream_providers.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.concatStreamProviders.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [ + "options passed to the PassThrough constructor" + ], + "signature": [ + "TransformOptions", + " | undefined" + ], + "path": "packages/kbn-utils/src/streams/concat_stream_providers.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "combined stream" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createConcatStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createConcatStream", + "description": [ + "\n Creates a Transform stream that consumes all provided\n values and concatenates them using each values `concat`\n method.\n\n Concatenate strings:\n createListStream(['f', 'o', 'o'])\n .pipe(createConcatStream())\n .on('data', console.log)\n // logs \"foo\"\n\n Concatenate values into an array:\n createListStream([1,2,3])\n .pipe(createConcatStream([]))\n .on('data', console.log)\n // logs \"[1,2,3]\"\n\n" + ], + "signature": [ + "(initial: T | undefined) => ", + "Transform" + ], + "path": "packages/kbn-utils/src/streams/concat_stream.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createConcatStream.$1", + "type": "Uncategorized", + "tags": [], + "label": "initial", + "description": [ + "The initial value that subsequent\nitems will concat with" + ], + "signature": [ + "T | undefined" + ], + "path": "packages/kbn-utils/src/streams/concat_stream.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createFilterStream", + "type": "Function", + "tags": [], + "label": "createFilterStream", + "description": [], + "signature": [ + "(fn: (obj: T) => boolean) => ", + "Transform" + ], + "path": "packages/kbn-utils/src/streams/filter_stream.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createFilterStream.$1", + "type": "Function", + "tags": [], + "label": "fn", + "description": [], + "signature": [ + "(obj: T) => boolean" + ], + "path": "packages/kbn-utils/src/streams/filter_stream.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createIntersperseStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createIntersperseStream", + "description": [ + "\n Create a Transform stream that receives values in object mode,\n and intersperses a chunk between each object received.\n\n This is useful for writing lists:\n\n createListStream(['foo', 'bar'])\n .pipe(createIntersperseStream('\\n'))\n .pipe(process.stdout) // outputs \"foo\\nbar\"\n\n Combine with a concat stream to get \"join\" like functionality:\n\n await createPromiseFromStreams([\n createListStream(['foo', 'bar']),\n createIntersperseStream(' '),\n createConcatStream()\n ]) // produces a single value \"foo bar\"\n" + ], + "signature": [ + "(intersperseChunk: string | Buffer) => ", + "Transform" + ], + "path": "packages/kbn-utils/src/streams/intersperse_stream.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createIntersperseStream.$1", + "type": "CompoundType", + "tags": [], + "label": "intersperseChunk", + "description": [], + "signature": [ + "string | Buffer" + ], + "path": "packages/kbn-utils/src/streams/intersperse_stream.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createListStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createListStream", + "description": [ + "\n Create a Readable stream that provides the items\n from a list as objects to subscribers\n" + ], + "signature": [ + "(items: T | T[]) => ", + "Readable" + ], + "path": "packages/kbn-utils/src/streams/list_stream.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createListStream.$1", + "type": "CompoundType", + "tags": [], + "label": "items", + "description": [ + "- the list of items to provide" + ], + "signature": [ + "T | T[]" + ], + "path": "packages/kbn-utils/src/streams/list_stream.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createMapStream", + "type": "Function", + "tags": [], + "label": "createMapStream", + "description": [], + "signature": [ + "(fn: (value: T, i: number) => void) => ", + "Transform" + ], + "path": "packages/kbn-utils/src/streams/map_stream.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createMapStream.$1", + "type": "Function", + "tags": [], + "label": "fn", + "description": [], + "signature": [ + "(value: T, i: number) => void" + ], + "path": "packages/kbn-utils/src/streams/map_stream.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createPromiseFromStreams", + "type": "Function", + "tags": [], + "label": "createPromiseFromStreams", + "description": [], + "signature": [ + "(streams: [", + "Readable", + ", ...", + "Writable", + "[]]) => Promise" + ], + "path": "packages/kbn-utils/src/streams/promise_from_streams.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createPromiseFromStreams.$1", + "type": "Object", + "tags": [], + "label": "streams", + "description": [], + "signature": [ + "[", + "Readable", + ", ...", + "Writable", + "[]]" + ], + "path": "packages/kbn-utils/src/streams/promise_from_streams.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createReduceStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createReduceStream", + "description": [ + "\n Create a transform stream that consumes each chunk it receives\n and passes it to the reducer, which will return the new value\n for the stream. Once all chunks have been received the reduce\n stream provides the result of final call to the reducer to\n subscribers.\n" + ], + "signature": [ + "(reducer: (value: any, chunk: T, enc: string) => T, initial: T | undefined) => ", + "Transform" + ], + "path": "packages/kbn-utils/src/streams/reduce_stream.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createReduceStream.$1", + "type": "Function", + "tags": [], + "label": "reducer", + "description": [], + "signature": [ + "(value: any, chunk: T, enc: string) => T" + ], + "path": "packages/kbn-utils/src/streams/reduce_stream.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createReduceStream.$2", + "type": "Uncategorized", + "tags": [], + "label": "initial", + "description": [ + "Initial value for the stream, if undefined\nthen the first chunk provided is used as the\ninitial value." + ], + "signature": [ + "T | undefined" + ], + "path": "packages/kbn-utils/src/streams/reduce_stream.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createReplaceStream", + "type": "Function", + "tags": [], + "label": "createReplaceStream", + "description": [], + "signature": [ + "(toReplace: string, replacement: string | Buffer) => ", + "Transform" + ], + "path": "packages/kbn-utils/src/streams/replace_stream.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createReplaceStream.$1", + "type": "string", + "tags": [], + "label": "toReplace", + "description": [], + "signature": [ + "string" + ], + "path": "packages/kbn-utils/src/streams/replace_stream.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createReplaceStream.$2", + "type": "CompoundType", + "tags": [], + "label": "replacement", + "description": [], + "signature": [ + "string | Buffer" + ], + "path": "packages/kbn-utils/src/streams/replace_stream.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createSplitStream", + "type": "Function", + "tags": [ + "return" + ], + "label": "createSplitStream", + "description": [ + "\n Creates a Transform stream that consumes a stream of Buffers\n and produces a stream of strings (in object mode) by splitting\n the received bytes using the splitChunk.\n\n Ways this is behaves like String#split:\n - instances of splitChunk are removed from the input\n - splitChunk can be on any size\n - if there are no bytes found after the last splitChunk\n a final empty chunk is emitted\n\n Ways this deviates from String#split:\n - splitChunk cannot be a regexp\n - an empty string or Buffer will not produce a stream of individual\n bytes like `string.split('')` would\n" + ], + "signature": [ + "(splitChunk: string | Uint8Array) => ", + "Transform" + ], + "path": "packages/kbn-utils/src/streams/split_stream.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.createSplitStream.$1", + "type": "CompoundType", + "tags": [], + "label": "splitChunk", + "description": [], + "signature": [ + "string | Uint8Array" + ], + "path": "packages/kbn-utils/src/streams/split_stream.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.fromRoot", + "type": "Function", + "tags": [], + "label": "fromRoot", + "description": [], + "signature": [ + "(...paths: string[]) => string" + ], + "path": "packages/kbn-utils/src/repo_root.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.fromRoot.$1", + "type": "Array", + "tags": [], + "label": "paths", + "description": [], + "signature": [ + "string[]" + ], + "path": "packages/kbn-utils/src/repo_root.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.isKibanaDistributable", + "type": "Function", + "tags": [], + "label": "isKibanaDistributable", + "description": [], + "signature": [ + "() => any" + ], + "path": "packages/kbn-utils/src/package_json/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.PathConfigType", + "type": "Type", + "tags": [], + "label": "PathConfigType", + "description": [], + "signature": [ + "{ readonly data: string; }" + ], + "path": "packages/kbn-utils/src/path/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.REPO_ROOT", + "type": "string", + "tags": [], + "label": "REPO_ROOT", + "description": [], + "path": "packages/kbn-utils/src/repo_root.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "@kbn/utils", + "id": "def-server.UPSTREAM_BRANCH", + "type": "string", + "tags": [], + "label": "UPSTREAM_BRANCH", + "description": [], + "path": "packages/kbn-utils/src/repo_root.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.kibanaPackageJson", + "type": "Object", + "tags": [], + "label": "kibanaPackageJson", + "description": [], + "path": "packages/kbn-utils/src/package_json/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "@kbn/utils", + "id": "def-server.kibanaPackageJson.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "packages/kbn-utils/src/package_json/index.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + } +} \ No newline at end of file diff --git a/api_docs/kbn_utils.mdx b/api_docs/kbn_utils.mdx new file mode 100644 index 0000000000000..bc0fa47b49001 --- /dev/null +++ b/api_docs/kbn_utils.mdx @@ -0,0 +1,33 @@ +--- +id: kibKbnUtilsPluginApi +slug: /kibana-dev-docs/api/kbn-utils +title: "@kbn/utils" +image: https://source.unsplash.com/400x175/?github +summary: API docs for the @kbn/utils plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', '@kbn/utils'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import kbnUtilsObj from './kbn_utils.json'; + + + +Contact [Owner missing] for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 31 | 1 | 21 | 0 | + +## Server + +### Objects + + +### Functions + + +### Consts, variables and types + + diff --git a/api_docs/kibana_legacy.json b/api_docs/kibana_legacy.json index 7753ea9057e0c..0f83b5ca30025 100644 --- a/api_docs/kibana_legacy.json +++ b/api_docs/kibana_legacy.json @@ -28,7 +28,7 @@ "section": "def-public.CoreSetup", "text": "CoreSetup" }, - "<{}, { loadFontAwesome: () => Promise; loadAngularBootstrap: () => Promise; }>) => {}" + "<{}, { loadFontAwesome: () => Promise; }>) => {}" ], "path": "src/plugins/kibana_legacy/public/plugin.ts", "deprecated": false, @@ -48,7 +48,7 @@ "section": "def-public.CoreSetup", "text": "CoreSetup" }, - "<{}, { loadFontAwesome: () => Promise; loadAngularBootstrap: () => Promise; }>" + "<{}, { loadFontAwesome: () => Promise; }>" ], "path": "src/plugins/kibana_legacy/public/plugin.ts", "deprecated": false, @@ -73,7 +73,7 @@ "section": "def-public.CoreStart", "text": "CoreStart" }, - ") => { loadFontAwesome: () => Promise; loadAngularBootstrap: () => Promise; }" + ") => { loadFontAwesome: () => Promise; }" ], "path": "src/plugins/kibana_legacy/public/plugin.ts", "deprecated": false, @@ -137,94 +137,6 @@ "returnComment": [], "initialIsOpen": false }, - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.addFatalError", - "type": "Function", - "tags": [], - "label": "addFatalError", - "description": [], - "signature": [ - "(fatalErrors: ", - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.FatalErrorsSetup", - "text": "FatalErrorsSetup" - }, - ", error: string | Error | ", - { - "pluginId": "kibanaLegacy", - "scope": "public", - "docId": "kibKibanaLegacyPluginApi", - "section": "def-public.AngularHttpError", - "text": "AngularHttpError" - }, - ", location: string | undefined) => void" - ], - "path": "src/plugins/kibana_legacy/public/notify/lib/add_fatal_error.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.addFatalError.$1", - "type": "Object", - "tags": [], - "label": "fatalErrors", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.FatalErrorsSetup", - "text": "FatalErrorsSetup" - } - ], - "path": "src/plugins/kibana_legacy/public/notify/lib/add_fatal_error.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.addFatalError.$2", - "type": "CompoundType", - "tags": [], - "label": "error", - "description": [], - "signature": [ - "string | Error | ", - { - "pluginId": "kibanaLegacy", - "scope": "public", - "docId": "kibKibanaLegacyPluginApi", - "section": "def-public.AngularHttpError", - "text": "AngularHttpError" - } - ], - "path": "src/plugins/kibana_legacy/public/notify/lib/add_fatal_error.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.addFatalError.$3", - "type": "string", - "tags": [], - "label": "location", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/kibana_legacy/public/notify/lib/add_fatal_error.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [], - "initialIsOpen": false - }, { "parentPluginId": "kibanaLegacy", "id": "def-public.configureAppAngularModule", @@ -242,9 +154,21 @@ "text": "CoreStart" }, "; readonly env: { mode: Readonly<", - "EnvironmentMode", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.EnvironmentMode", + "text": "EnvironmentMode" + }, ">; packageInfo: Readonly<", - "PackageInfo", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.PackageInfo", + "text": "PackageInfo" + }, ">; }; }, isLocalAngular: boolean, getHistory?: (() => ", "History", ") | undefined) => void" @@ -304,9 +228,21 @@ "description": [], "signature": [ "{ mode: Readonly<", - "EnvironmentMode", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.EnvironmentMode", + "text": "EnvironmentMode" + }, ">; packageInfo: Readonly<", - "PackageInfo", + { + "pluginId": "@kbn/config", + "scope": "server", + "docId": "kibKbnConfigPluginApi", + "section": "def-server.PackageInfo", + "text": "PackageInfo" + }, ">; }" ], "path": "src/plugins/kibana_legacy/public/angular/angular_config.tsx", @@ -505,37 +441,6 @@ "returnComment": [], "initialIsOpen": false }, - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.formatStack", - "type": "Function", - "tags": [], - "label": "formatStack", - "description": [], - "signature": [ - "(err: Record) => any" - ], - "path": "src/plugins/kibana_legacy/public/notify/lib/format_stack.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.formatStack.$1", - "type": "Object", - "tags": [], - "label": "err", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/kibana_legacy/public/notify/lib/format_stack.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, { "parentPluginId": "kibanaLegacy", "id": "def-public.isAngularHttpError", @@ -598,67 +503,6 @@ "returnComment": [], "initialIsOpen": false }, - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.PaginateControlsDirectiveProvider", - "type": "Function", - "tags": [], - "label": "PaginateControlsDirectiveProvider", - "description": [], - "signature": [ - "() => any" - ], - "path": "src/plugins/kibana_legacy/public/paginate/paginate.d.ts", - "deprecated": false, - "children": [], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.PaginateDirectiveProvider", - "type": "Function", - "tags": [], - "label": "PaginateDirectiveProvider", - "description": [], - "signature": [ - "($parse: any, $compile: any) => any" - ], - "path": "src/plugins/kibana_legacy/public/paginate/paginate.d.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.PaginateDirectiveProvider.$1", - "type": "Any", - "tags": [], - "label": "$parse", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/kibana_legacy/public/paginate/paginate.d.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.PaginateDirectiveProvider.$2", - "type": "Any", - "tags": [], - "label": "$compile", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/kibana_legacy/public/paginate/paginate.d.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, { "parentPluginId": "kibanaLegacy", "id": "def-public.PrivateProvider", @@ -674,158 +518,6 @@ "children": [], "returnComment": [], "initialIsOpen": false - }, - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.registerListenEventListener", - "type": "Function", - "tags": [], - "label": "registerListenEventListener", - "description": [], - "signature": [ - "($rootScope: unknown) => void" - ], - "path": "src/plugins/kibana_legacy/public/utils/register_listen_event_listener.d.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.registerListenEventListener.$1", - "type": "Unknown", - "tags": [], - "label": "$rootScope", - "description": [], - "signature": [ - "unknown" - ], - "path": "src/plugins/kibana_legacy/public/utils/register_listen_event_listener.d.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.subscribeWithScope", - "type": "Function", - "tags": [], - "label": "subscribeWithScope", - "description": [ - "\nSubscribe to an observable at a $scope, ensuring that the digest cycle\nis run for subscriber hooks and routing errors to fatalError if not handled." - ], - "signature": [ - "($scope: angular.IScope, observable: ", - "Observable", - ", observer: ", - "NextObserver", - " | ", - "ErrorObserver", - " | ", - "CompletionObserver", - " | undefined, fatalError: FatalErrorFn | undefined) => ", - "Subscription" - ], - "path": "src/plugins/kibana_legacy/public/angular/subscribe_with_scope.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.subscribeWithScope.$1", - "type": "Object", - "tags": [], - "label": "$scope", - "description": [], - "signature": [ - "angular.IScope" - ], - "path": "src/plugins/kibana_legacy/public/angular/subscribe_with_scope.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.subscribeWithScope.$2", - "type": "Object", - "tags": [], - "label": "observable", - "description": [], - "signature": [ - "Observable", - "" - ], - "path": "src/plugins/kibana_legacy/public/angular/subscribe_with_scope.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.subscribeWithScope.$3", - "type": "CompoundType", - "tags": [], - "label": "observer", - "description": [], - "signature": [ - "NextObserver", - " | ", - "ErrorObserver", - " | ", - "CompletionObserver", - " | undefined" - ], - "path": "src/plugins/kibana_legacy/public/angular/subscribe_with_scope.ts", - "deprecated": false, - "isRequired": false - }, - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.subscribeWithScope.$4", - "type": "Function", - "tags": [], - "label": "fatalError", - "description": [], - "signature": [ - "FatalErrorFn | undefined" - ], - "path": "src/plugins/kibana_legacy/public/angular/subscribe_with_scope.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.watchMultiDecorator", - "type": "Function", - "tags": [], - "label": "watchMultiDecorator", - "description": [], - "signature": [ - "($provide: unknown) => void" - ], - "path": "src/plugins/kibana_legacy/public/angular/watch_multi.d.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.watchMultiDecorator.$1", - "type": "Unknown", - "tags": [], - "label": "$provide", - "description": [], - "signature": [ - "unknown" - ], - "path": "src/plugins/kibana_legacy/public/angular/watch_multi.d.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false } ], "interfaces": [ @@ -1085,20 +777,6 @@ ], "initialIsOpen": false }, - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.KbnAccessibleClickProvider", - "type": "CompoundType", - "tags": [], - "label": "KbnAccessibleClickProvider", - "description": [], - "signature": [ - "angular.IDirectiveFactory | (string | angular.IDirectiveFactory)[]" - ], - "path": "src/plugins/kibana_legacy/public/utils/kbn_accessible_click.d.ts", - "deprecated": false, - "initialIsOpen": false - }, { "parentPluginId": "kibanaLegacy", "id": "def-public.KibanaLegacySetup", @@ -1121,7 +799,7 @@ "label": "KibanaLegacyStart", "description": [], "signature": [ - "{ loadFontAwesome: () => Promise; loadAngularBootstrap: () => Promise; }" + "{ loadFontAwesome: () => Promise; }" ], "path": "src/plugins/kibana_legacy/public/plugin.ts", "deprecated": false, diff --git a/api_docs/kibana_legacy.mdx b/api_docs/kibana_legacy.mdx index f9b560605beb7..601374383e8e1 100644 --- a/api_docs/kibana_legacy.mdx +++ b/api_docs/kibana_legacy.mdx @@ -1,7 +1,7 @@ --- id: kibKibanaLegacyPluginApi -slug: /kibana-dev-docs/kibanaLegacyPluginApi -title: kibanaLegacy +slug: /kibana-dev-docs/api/kibanaLegacy +title: "kibanaLegacy" image: https://source.unsplash.com/400x175/?github summary: API docs for the kibanaLegacy plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 68 | 3 | 64 | 0 | +| 48 | 1 | 45 | 0 | ## Client diff --git a/api_docs/kibana_overview.mdx b/api_docs/kibana_overview.mdx index 85145c706d550..7002d9ad002ee 100644 --- a/api_docs/kibana_overview.mdx +++ b/api_docs/kibana_overview.mdx @@ -1,7 +1,7 @@ --- id: kibKibanaOverviewPluginApi -slug: /kibana-dev-docs/kibanaOverviewPluginApi -title: kibanaOverview +slug: /kibana-dev-docs/api/kibanaOverview +title: "kibanaOverview" image: https://source.unsplash.com/400x175/?github summary: API docs for the kibanaOverview plugin date: 2020-11-16 diff --git a/api_docs/kibana_react.json b/api_docs/kibana_react.json index 7bdea82a4de6c..5d7a7241dd956 100644 --- a/api_docs/kibana_react.json +++ b/api_docs/kibana_react.json @@ -6669,7 +6669,7 @@ "label": "eui", "description": [], "signature": [ - "{ paddingSizes: { xs: string; s: string; m: string; l: string; xl: string; }; avatarSizing: { s: { size: string; 'font-size': string; }; m: { size: string; 'font-size': string; }; l: { size: string; 'font-size': string; }; xl: { size: string; 'font-size': string; }; }; euiBadgeGroupGutterTypes: { gutterExtraSmall: string; gutterSmall: string; }; euiBreadcrumbSpacing: string; euiBreadcrumbTruncateWidth: string; euiButtonEmptyTypes: { primary: string; danger: string; disabled: string; ghost: string; text: string; success: string; warning: string; }; euiCallOutTypes: { primary: string; success: string; warning: string; danger: string; }; euiCardSpacing: string; euiCardBottomNodeHeight: string; euiCardSelectButtonBorders: { text: string; primary: string; success: string; danger: string; ghost: string; }; euiCardSelectButtonBackgrounds: { text: string; primary: string; success: string; danger: string; ghost: string; }; euiCardPaddingModifiers: { paddingNone: number; paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiCheckableCardPadding: string; euiCodeBlockPaddingModifiers: { paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiCollapsibleNavGroupLightBackgroundColor: string; euiCollapsibleNavGroupDarkBackgroundColor: string; euiCollapsibleNavGroupDarkHighContrastColor: string; euiColorPickerValueRange0: string; euiColorPickerValueRange1: string; euiColorPickerSaturationRange0: string; euiColorPickerSaturationRange1: string; euiColorPickerIndicatorSize: string; euiColorPickerWidth: string; euiColorPaletteDisplaySizes: { sizeExtraSmall: string; sizeSmall: string; sizeMedium: string; }; euiContextMenuWidth: string; euiControlBarBackground: string; euiControlBarText: string; euiControlBarBorderColor: string; euiControlBarInitialHeight: string; euiControlBarMaxHeight: string; euiControlBarHeights: { s: string; m: string; l: string; }; euiDataGridPrefix: string; euiDataGridStyles: string; euiZDataGrid: number; euiZHeaderBelowDataGrid: number; euiDataGridColumnResizerWidth: string; euiDataGridPopoverMaxHeight: string; euiDataGridCellPaddingS: string; euiDataGridCellPaddingM: string; euiDataGridCellPaddingL: string; euiDataGridVerticalBorder: string; euiSuperDatePickerWidth: string; euiSuperDatePickerButtonWidth: string; euiDragAndDropSpacing: { s: string; m: string; l: string; }; euiExpressionColors: { subdued: string; primary: string; success: string; secondary: string; warning: string; danger: string; accent: string; }; euiFacetGutterSizes: { gutterNone: number; gutterSmall: string; gutterMedium: string; gutterLarge: string; }; gutterTypes: { gutterExtraSmall: string; gutterSmall: string; gutterMedium: string; gutterLarge: string; gutterExtraLarge: string; }; fractions: { fourths: { percentage: string; count: number; }; thirds: { percentage: string; count: number; }; halves: { percentage: string; count: number; }; single: { percentage: string; count: number; }; }; flyoutSizes: { small: { min: string; width: string; max: string; }; medium: { min: string; width: string; max: string; }; large: { min: string; width: string; max: string; }; }; euiFlyoutBorder: string; euiFlyoutPaddingModifiers: { paddingNone: number; paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiFilePickerTallHeight: string; euiRangeLevelColors: { primary: string; success: string; warning: string; danger: string; }; textareaResizing: { vertical: string; horizontal: string; both: string; none: string; }; euiHeaderLinksGutterSizes: { gutterXS: string; gutterS: string; gutterM: string; gutterL: string; }; ruleMargins: { marginXSmall: string; marginSmall: string; marginMedium: string; marginLarge: string; marginXLarge: string; marginXXLarge: string; }; euiIconLoadingOpacity: number; euiIconColors: { accent: string; danger: string; ghost: string; primary: string; secondary: string; success: string; subdued: string; text: string; warning: string; inherit: string; }; euiIconSizes: { small: string; medium: string; large: string; xLarge: string; xxLarge: string; }; euiKeyPadMenuSize: string; euiKeyPadMenuMarginSize: string; euiLinkColors: { subdued: string; primary: string; secondary: string; success: string; accent: string; warning: string; danger: string; text: string; ghost: string; }; euiListGroupItemHoverBackground: string; euiListGroupItemHoverBackgroundGhost: string; euiListGroupGutterTypes: { gutterSmall: string; gutterMedium: string; }; euiListGroupItemColorTypes: { primary: string; text: string; subdued: string; ghost: string; }; euiListGroupItemSizeTypes: { xSmall: string; small: string; medium: string; large: string; }; euiGradientStartStop: string; euiGradientMiddle: string; euiMarkdownEditorMinHeight: string; euiPopoverArrowSize: string; euiPopoverTranslateDistance: string; euiProgressSizes: { xs: string; s: string; m: string; l: string; }; euiProgressColors: { primary: string; secondary: string; success: string; warning: string; danger: string; accent: string; subdued: string; vis0: string; vis1: string; vis2: string; vis3: string; vis4: string; vis5: string; vis6: string; vis7: string; vis8: string; vis9: string; customColor: string; }; euiResizableButtonTransitionSpeed: string; euiResizableButtonSize: string; euiSelectableListItemBorder: string; euiSelectableListItemPadding: string; euiSelectableTemplateSitewideTypes: { application: { color: string; 'font-weight': number; }; deployment: { color: string; 'font-weight': number; }; article: { color: string; 'font-weight': number; }; case: { color: string; 'font-weight': number; }; platform: { color: string; 'font-weight': number; }; }; euiSideNavEmphasizedBackgroundColor: string; euiSideNavRootTextcolor: string; euiSideNavBranchTextcolor: string; euiSideNavSelectedTextcolor: string; euiSideNavDisabledTextcolor: string; spacerSizes: { xs: string; s: string; m: string; l: string; xl: string; xxl: string; }; euiStepNumberSize: string; euiStepNumberSmallSize: string; euiStepNumberMargin: string; euiStepStatusColorsToFade: { warning: string; danger: string; disabled: string; incomplete: string; }; euiSuggestItemColors: { tint0: string; tint1: string; tint2: string; tint3: string; tint4: string; tint5: string; tint6: string; tint7: string; tint8: string; tint9: string; tint10: string; }; euiTableCellContentPadding: string; euiTableCellContentPaddingCompressed: string; euiTableCellCheckboxWidth: string; euiTableActionsAreaWidth: string; euiTableHoverColor: string; euiTableSelectedColor: string; euiTableHoverSelectedColor: string; euiTableActionsBorderColor: string; euiTableHoverClickableColor: string; euiTableFocusClickableColor: string; euiTabFontSize: string; euiTabFontSizeS: string; euiTabFontSizeL: string; euiTextColors: { default: string; subdued: string; secondary: string; success: string; accent: string; warning: string; danger: string; ghost: string; inherit: string; }; euiTextConstrainedMaxWidth: string; euiToastWidth: string; euiToastTypes: { primary: string; success: string; warning: string; danger: string; }; euiTokenGrayColor: string; euiTokenTypes: { euiColorVis0: { graphic: string; behindText: string; }; euiColorVis1: { graphic: string; behindText: string; }; euiColorVis2: { graphic: string; behindText: string; }; euiColorVis3: { graphic: string; behindText: string; }; euiColorVis4: { graphic: string; behindText: string; }; euiColorVis5: { graphic: string; behindText: string; }; euiColorVis6: { graphic: string; behindText: string; }; euiColorVis7: { graphic: string; behindText: string; }; euiColorVis8: { graphic: string; behindText: string; }; euiColorVis9: { graphic: string; behindText: string; }; gray: { graphic: string; behindText: string; }; }; euiTokenTypeKeys: string; euiContrastRatioText: number; euiContrastRatioGraphic: number; euiContrastRatioDisabled: number; euiDatePickerCalendarWidth: string; euiAnimSlightBounce: string; euiAnimSlightResistance: string; euiAnimSpeedExtraFast: string; euiAnimSpeedFast: string; euiAnimSpeedNormal: string; euiAnimSpeedSlow: string; euiAnimSpeedExtraSlow: string; euiBorderWidthThin: string; euiBorderWidthThick: string; euiBorderColor: string; euiBorderRadius: string; euiBorderRadiusSmall: string; euiBorderThick: string; euiBorderThin: string; euiBorderEditable: string; euiButtonHeight: string; euiButtonHeightSmall: string; euiButtonHeightXSmall: string; euiButtonColorDisabled: string; euiButtonColorDisabledText: string; euiButtonColorGhostDisabled: string; euiButtonTypes: { primary: string; accent: string; secondary: string; success: string; warning: string; danger: string; subdued: string; ghost: string; text: string; }; euiColorGhost: string; euiColorInk: string; euiColorPrimary: string; euiColorSecondary: string; euiColorAccent: string; euiColorSuccess: string; euiColorWarning: string; euiColorDanger: string; euiColorEmptyShade: string; euiColorLightestShade: string; euiColorLightShade: string; euiColorMediumShade: string; euiColorDarkShade: string; euiColorDarkestShade: string; euiColorFullShade: string; euiPageBackgroundColor: string; euiColorHighlight: string; euiTextColor: string; euiTitleColor: string; euiTextSubduedColor: string; euiColorDisabled: string; euiColorPrimaryText: string; euiColorSecondaryText: string; euiColorAccentText: string; euiColorWarningText: string; euiColorDangerText: string; euiColorDisabledText: string; euiColorSuccessText: string; euiLinkColor: string; euiPaletteColorBlind: { euiColorVis0: { graphic: string; behindText: string; }; euiColorVis1: { graphic: string; behindText: string; }; euiColorVis2: { graphic: string; behindText: string; }; euiColorVis3: { graphic: string; behindText: string; }; euiColorVis4: { graphic: string; behindText: string; }; euiColorVis5: { graphic: string; behindText: string; }; euiColorVis6: { graphic: string; behindText: string; }; euiColorVis7: { graphic: string; behindText: string; }; euiColorVis8: { graphic: string; behindText: string; }; euiColorVis9: { graphic: string; behindText: string; }; }; euiPaletteColorBlindKeys: string; euiColorVis0: string; euiColorVis1: string; euiColorVis2: string; euiColorVis3: string; euiColorVis4: string; euiColorVis5: string; euiColorVis6: string; euiColorVis7: string; euiColorVis8: string; euiColorVis9: string; euiColorVis0_behindText: string; euiColorVis1_behindText: string; euiColorVis2_behindText: string; euiColorVis3_behindText: string; euiColorVis4_behindText: string; euiColorVis5_behindText: string; euiColorVis6_behindText: string; euiColorVis7_behindText: string; euiColorVis8_behindText: string; euiColorVis9_behindText: string; euiColorChartLines: string; euiColorChartBand: string; euiCodeBlockBackgroundColor: string; euiCodeBlockColor: string; euiCodeBlockSelectedBackgroundColor: string; euiCodeBlockCommentColor: string; euiCodeBlockSelectorTagColor: string; euiCodeBlockStringColor: string; euiCodeBlockTagColor: string; euiCodeBlockNameColor: string; euiCodeBlockNumberColor: string; euiCodeBlockKeywordColor: string; euiCodeBlockFunctionTitleColor: string; euiCodeBlockTypeColor: string; euiCodeBlockAttributeColor: string; euiCodeBlockSymbolColor: string; euiCodeBlockParamsColor: string; euiCodeBlockMetaColor: string; euiCodeBlockTitleColor: string; euiCodeBlockSectionColor: string; euiCodeBlockAdditionColor: string; euiCodeBlockDeletionColor: string; euiCodeBlockSelectorClassColor: string; euiCodeBlockSelectorIdColor: string; euiFormMaxWidth: string; euiFormControlHeight: string; euiFormControlCompressedHeight: string; euiFormControlPadding: string; euiFormControlCompressedPadding: string; euiFormControlBorderRadius: number; euiFormControlCompressedBorderRadius: string; euiRadioSize: string; euiCheckBoxSize: string; euiCheckboxBorderRadius: string; euiSwitchHeight: string; euiSwitchWidth: string; euiSwitchThumbSize: string; euiSwitchIconHeight: string; euiSwitchHeightCompressed: string; euiSwitchWidthCompressed: string; euiSwitchThumbSizeCompressed: string; euiSwitchHeightMini: string; euiSwitchWidthMini: string; euiSwitchThumbSizeMini: string; euiFormBackgroundColor: string; euiFormBackgroundDisabledColor: string; euiFormBackgroundReadOnlyColor: string; euiFormBorderOpaqueColor: string; euiFormBorderColor: string; euiFormBorderDisabledColor: string; euiFormCustomControlDisabledIconColor: string; euiFormCustomControlBorderColor: string; euiFormControlDisabledColor: string; euiFormControlBoxShadow: string; euiFormControlPlaceholderText: string; euiFormInputGroupLabelBackground: string; euiFormInputGroupBorder: string; euiSwitchOffColor: string; euiFormControlLayoutGroupInputHeight: string; euiFormControlLayoutGroupInputCompressedHeight: string; euiFormControlLayoutGroupInputCompressedBorderRadius: string; euiRangeTrackColor: string; euiRangeThumbRadius: string; euiRangeThumbHeight: string; euiRangeThumbWidth: string; euiRangeThumbBorderColor: string; euiRangeTrackWidth: string; euiRangeTrackHeight: string; euiRangeTrackBorderWidth: number; euiRangeTrackBorderColor: string; euiRangeTrackRadius: string; euiRangeDisabledOpacity: number; euiRangeHighlightHeight: string; euiHeaderBackgroundColor: string; euiHeaderDarkBackgroundColor: string; euiHeaderBorderColor: string; euiHeaderBreadcrumbColor: string; euiHeaderHeight: string; euiHeaderChildSize: string; euiHeaderHeightCompensation: string; euiPageDefaultMaxWidth: string; euiPageSidebarMinWidth: string; euiPanelPaddingModifiers: { paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiPanelBorderRadiusModifiers: { borderRadiusNone: number; borderRadiusMedium: string; }; euiPanelBackgroundColorModifiers: { transparent: string; plain: string; subdued: string; accent: string; primary: string; success: string; warning: string; danger: string; }; euiBreakpoints: { xs: number; s: string; m: string; l: string; xl: string; }; euiBreakpointKeys: string; euiShadowColor: string; euiShadowColorLarge: string; euiSize: string; euiSizeXS: string; euiSizeS: string; euiSizeM: string; euiSizeL: string; euiSizeXL: string; euiSizeXXL: string; euiButtonMinWidth: string; euiScrollBar: string; euiScrollBarCorner: string; euiScrollBarCornerThin: string; euiFocusRingColor: string; euiFocusRingAnimStartColor: string; euiFocusRingAnimStartSize: string; euiFocusRingAnimStartSizeLarge: string; euiFocusRingSizeLarge: string; euiFocusRingSize: string; euiFocusTransparency: number; euiFocusTransparencyPercent: string; euiFocusBackgroundColor: string; euiTooltipBackgroundColor: string; euiTooltipAnimations: { top: string; left: string; bottom: string; right: string; }; euiFontFamily: string; euiCodeFontFamily: string; euiFontFeatureSettings: string; euiTextScale: string; euiFontSize: string; euiFontSizeXS: string; euiFontSizeS: string; euiFontSizeM: string; euiFontSizeL: string; euiFontSizeXL: string; euiFontSizeXXL: string; euiLineHeight: number; euiBodyLineHeight: number; euiFontWeightLight: number; euiFontWeightRegular: number; euiFontWeightMedium: number; euiFontWeightSemiBold: number; euiFontWeightBold: number; euiCodeFontWeightRegular: number; euiCodeFontWeightBold: number; euiTitles: { xxxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xs: { 'font-size': string; 'line-height': string; 'font-weight': number; 'letter-spacing': string; }; s: { 'font-size': string; 'line-height': string; 'font-weight': number; 'letter-spacing': string; }; m: { 'font-size': string; 'line-height': string; 'font-weight': number; 'letter-spacing': string; }; l: { 'font-size': string; 'line-height': string; 'font-weight': number; 'letter-spacing': string; }; }; euiZLevel0: number; euiZLevel1: number; euiZLevel2: number; euiZLevel3: number; euiZLevel4: number; euiZLevel5: number; euiZLevel6: number; euiZLevel7: number; euiZLevel8: number; euiZLevel9: number; euiZToastList: number; euiZModal: number; euiZMask: number; euiZNavigation: number; euiZContentMenu: number; euiZHeader: number; euiZFlyout: number; euiZMaskBelowHeader: number; euiZContent: number; } | { paddingSizes: { xs: string; s: string; m: string; l: string; xl: string; }; avatarSizing: { s: { size: string; 'font-size': string; }; m: { size: string; 'font-size': string; }; l: { size: string; 'font-size': string; }; xl: { size: string; 'font-size': string; }; }; euiBadgeGroupGutterTypes: { gutterExtraSmall: string; gutterSmall: string; }; euiBreadcrumbSpacing: string; euiBreadcrumbTruncateWidth: string; euiButtonEmptyTypes: { primary: string; danger: string; disabled: string; ghost: string; text: string; success: string; warning: string; }; euiCallOutTypes: { primary: string; success: string; warning: string; danger: string; }; euiCardSpacing: string; euiCardBottomNodeHeight: string; euiCardSelectButtonBorders: { text: string; primary: string; success: string; danger: string; ghost: string; }; euiCardSelectButtonBackgrounds: { text: string; primary: string; success: string; danger: string; ghost: string; }; euiCardPaddingModifiers: { paddingNone: number; paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiCheckableCardPadding: string; euiCodeBlockPaddingModifiers: { paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiCollapsibleNavGroupLightBackgroundColor: string; euiCollapsibleNavGroupDarkBackgroundColor: string; euiCollapsibleNavGroupDarkHighContrastColor: string; euiColorPickerValueRange0: string; euiColorPickerValueRange1: string; euiColorPickerSaturationRange0: string; euiColorPickerSaturationRange1: string; euiColorPickerIndicatorSize: string; euiColorPickerWidth: string; euiColorPaletteDisplaySizes: { sizeExtraSmall: string; sizeSmall: string; sizeMedium: string; }; euiContextMenuWidth: string; euiControlBarBackground: string; euiControlBarText: string; euiControlBarBorderColor: string; euiControlBarInitialHeight: string; euiControlBarMaxHeight: string; euiControlBarHeights: { s: string; m: string; l: string; }; euiDataGridPrefix: string; euiDataGridStyles: string; euiZDataGrid: number; euiZHeaderBelowDataGrid: number; euiDataGridColumnResizerWidth: string; euiDataGridPopoverMaxHeight: string; euiDataGridCellPaddingS: string; euiDataGridCellPaddingM: string; euiDataGridCellPaddingL: string; euiDataGridVerticalBorder: string; euiSuperDatePickerWidth: string; euiSuperDatePickerButtonWidth: string; euiDragAndDropSpacing: { s: string; m: string; l: string; }; euiExpressionColors: { subdued: string; primary: string; success: string; secondary: string; warning: string; danger: string; accent: string; }; euiFacetGutterSizes: { gutterNone: number; gutterSmall: string; gutterMedium: string; gutterLarge: string; }; gutterTypes: { gutterExtraSmall: string; gutterSmall: string; gutterMedium: string; gutterLarge: string; gutterExtraLarge: string; }; fractions: { fourths: { percentage: string; count: number; }; thirds: { percentage: string; count: number; }; halves: { percentage: string; count: number; }; single: { percentage: string; count: number; }; }; flyoutSizes: { small: { min: string; width: string; max: string; }; medium: { min: string; width: string; max: string; }; large: { min: string; width: string; max: string; }; }; euiFlyoutBorder: string; euiFlyoutPaddingModifiers: { paddingNone: number; paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiFilePickerTallHeight: string; euiRangeLevelColors: { primary: string; success: string; warning: string; danger: string; }; textareaResizing: { vertical: string; horizontal: string; both: string; none: string; }; euiHeaderLinksGutterSizes: { gutterXS: string; gutterS: string; gutterM: string; gutterL: string; }; ruleMargins: { marginXSmall: string; marginSmall: string; marginMedium: string; marginLarge: string; marginXLarge: string; marginXXLarge: string; }; euiIconLoadingOpacity: number; euiIconColors: { accent: string; danger: string; ghost: string; primary: string; secondary: string; success: string; subdued: string; text: string; warning: string; inherit: string; }; euiIconSizes: { small: string; medium: string; large: string; xLarge: string; xxLarge: string; }; euiKeyPadMenuSize: string; euiKeyPadMenuMarginSize: string; euiLinkColors: { subdued: string; primary: string; secondary: string; success: string; accent: string; warning: string; danger: string; text: string; ghost: string; }; euiListGroupItemHoverBackground: string; euiListGroupItemHoverBackgroundGhost: string; euiListGroupGutterTypes: { gutterSmall: string; gutterMedium: string; }; euiListGroupItemColorTypes: { primary: string; text: string; subdued: string; ghost: string; }; euiListGroupItemSizeTypes: { xSmall: string; small: string; medium: string; large: string; }; euiGradientStartStop: string; euiGradientMiddle: string; euiMarkdownEditorMinHeight: string; euiPopoverArrowSize: string; euiPopoverTranslateDistance: string; euiProgressSizes: { xs: string; s: string; m: string; l: string; }; euiProgressColors: { primary: string; secondary: string; success: string; warning: string; danger: string; accent: string; subdued: string; vis0: string; vis1: string; vis2: string; vis3: string; vis4: string; vis5: string; vis6: string; vis7: string; vis8: string; vis9: string; customColor: string; }; euiResizableButtonTransitionSpeed: string; euiResizableButtonSize: string; euiSelectableListItemBorder: string; euiSelectableListItemPadding: string; euiSelectableTemplateSitewideTypes: { application: { color: string; 'font-weight': number; }; deployment: { color: string; 'font-weight': number; }; article: { color: string; 'font-weight': number; }; case: { color: string; 'font-weight': number; }; platform: { color: string; 'font-weight': number; }; }; euiSideNavEmphasizedBackgroundColor: string; euiSideNavRootTextcolor: string; euiSideNavBranchTextcolor: string; euiSideNavSelectedTextcolor: string; euiSideNavDisabledTextcolor: string; spacerSizes: { xs: string; s: string; m: string; l: string; xl: string; xxl: string; }; euiStepNumberSize: string; euiStepNumberSmallSize: string; euiStepNumberMargin: string; euiStepStatusColorsToFade: { warning: string; danger: string; disabled: string; incomplete: string; }; euiSuggestItemColors: { tint0: string; tint1: string; tint2: string; tint3: string; tint4: string; tint5: string; tint6: string; tint7: string; tint8: string; tint9: string; tint10: string; }; euiTableCellContentPadding: string; euiTableCellContentPaddingCompressed: string; euiTableCellCheckboxWidth: string; euiTableActionsAreaWidth: string; euiTableHoverColor: string; euiTableSelectedColor: string; euiTableHoverSelectedColor: string; euiTableActionsBorderColor: string; euiTableHoverClickableColor: string; euiTableFocusClickableColor: string; euiTabFontSize: string; euiTabFontSizeS: string; euiTabFontSizeL: string; euiTextColors: { default: string; subdued: string; secondary: string; success: string; accent: string; warning: string; danger: string; ghost: string; inherit: string; }; euiTextConstrainedMaxWidth: string; euiToastWidth: string; euiToastTypes: { primary: string; success: string; warning: string; danger: string; }; euiTokenGrayColor: string; euiTokenTypes: { euiColorVis0: { graphic: string; behindText: string; }; euiColorVis1: { graphic: string; behindText: string; }; euiColorVis2: { graphic: string; behindText: string; }; euiColorVis3: { graphic: string; behindText: string; }; euiColorVis4: { graphic: string; behindText: string; }; euiColorVis5: { graphic: string; behindText: string; }; euiColorVis6: { graphic: string; behindText: string; }; euiColorVis7: { graphic: string; behindText: string; }; euiColorVis8: { graphic: string; behindText: string; }; euiColorVis9: { graphic: string; behindText: string; }; gray: { graphic: string; behindText: string; }; }; euiTokenTypeKeys: string; euiContrastRatioText: number; euiContrastRatioGraphic: number; euiContrastRatioDisabled: number; euiAnimSlightBounce: string; euiAnimSlightResistance: string; euiAnimSpeedExtraFast: string; euiAnimSpeedFast: string; euiAnimSpeedNormal: string; euiAnimSpeedSlow: string; euiAnimSpeedExtraSlow: string; euiBorderWidthThin: string; euiBorderWidthThick: string; euiBorderColor: string; euiBorderRadius: string; euiBorderRadiusSmall: string; euiBorderThick: string; euiBorderThin: string; euiBorderEditable: string; euiButtonHeight: string; euiButtonHeightSmall: string; euiButtonHeightXSmall: string; euiButtonColorDisabled: string; euiButtonColorDisabledText: string; euiButtonColorGhostDisabled: string; euiButtonTypes: { primary: string; accent: string; secondary: string; success: string; warning: string; danger: string; subdued: string; ghost: string; text: string; }; euiColorGhost: string; euiColorInk: string; euiColorPrimary: string; euiColorSecondary: string; euiColorAccent: string; euiColorSuccess: string; euiColorWarning: string; euiColorDanger: string; euiColorEmptyShade: string; euiColorLightestShade: string; euiColorLightShade: string; euiColorMediumShade: string; euiColorDarkShade: string; euiColorDarkestShade: string; euiColorFullShade: string; euiPageBackgroundColor: string; euiColorHighlight: string; euiTextColor: string; euiTitleColor: string; euiTextSubduedColor: string; euiColorDisabled: string; euiColorPrimaryText: string; euiColorSecondaryText: string; euiColorAccentText: string; euiColorWarningText: string; euiColorDangerText: string; euiColorDisabledText: string; euiColorSuccessText: string; euiLinkColor: string; euiPaletteColorBlind: { euiColorVis0: { graphic: string; behindText: string; }; euiColorVis1: { graphic: string; behindText: string; }; euiColorVis2: { graphic: string; behindText: string; }; euiColorVis3: { graphic: string; behindText: string; }; euiColorVis4: { graphic: string; behindText: string; }; euiColorVis5: { graphic: string; behindText: string; }; euiColorVis6: { graphic: string; behindText: string; }; euiColorVis7: { graphic: string; behindText: string; }; euiColorVis8: { graphic: string; behindText: string; }; euiColorVis9: { graphic: string; behindText: string; }; }; euiPaletteColorBlindKeys: string; euiColorVis0: string; euiColorVis1: string; euiColorVis2: string; euiColorVis3: string; euiColorVis4: string; euiColorVis5: string; euiColorVis6: string; euiColorVis7: string; euiColorVis8: string; euiColorVis9: string; euiColorVis0_behindText: string; euiColorVis1_behindText: string; euiColorVis2_behindText: string; euiColorVis3_behindText: string; euiColorVis4_behindText: string; euiColorVis5_behindText: string; euiColorVis6_behindText: string; euiColorVis7_behindText: string; euiColorVis8_behindText: string; euiColorVis9_behindText: string; euiColorChartLines: string; euiColorChartBand: string; euiCodeBlockBackgroundColor: string; euiCodeBlockColor: string; euiCodeBlockSelectedBackgroundColor: string; euiCodeBlockCommentColor: string; euiCodeBlockSelectorTagColor: string; euiCodeBlockStringColor: string; euiCodeBlockTagColor: string; euiCodeBlockNameColor: string; euiCodeBlockNumberColor: string; euiCodeBlockKeywordColor: string; euiCodeBlockFunctionTitleColor: string; euiCodeBlockTypeColor: string; euiCodeBlockAttributeColor: string; euiCodeBlockSymbolColor: string; euiCodeBlockParamsColor: string; euiCodeBlockMetaColor: string; euiCodeBlockTitleColor: string; euiCodeBlockSectionColor: string; euiCodeBlockAdditionColor: string; euiCodeBlockDeletionColor: string; euiCodeBlockSelectorClassColor: string; euiCodeBlockSelectorIdColor: string; euiFormMaxWidth: string; euiFormControlHeight: string; euiFormControlCompressedHeight: string; euiFormControlPadding: string; euiFormControlCompressedPadding: string; euiFormControlBorderRadius: string; euiFormControlCompressedBorderRadius: string; euiRadioSize: string; euiCheckBoxSize: string; euiCheckboxBorderRadius: string; euiSwitchHeight: string; euiSwitchWidth: string; euiSwitchThumbSize: string; euiSwitchIconHeight: string; euiSwitchHeightCompressed: string; euiSwitchWidthCompressed: string; euiSwitchThumbSizeCompressed: string; euiSwitchHeightMini: string; euiSwitchWidthMini: string; euiSwitchThumbSizeMini: string; euiFormBackgroundColor: string; euiFormBackgroundDisabledColor: string; euiFormBackgroundReadOnlyColor: string; euiFormBorderOpaqueColor: string; euiFormBorderColor: string; euiFormBorderDisabledColor: string; euiFormCustomControlDisabledIconColor: string; euiFormCustomControlBorderColor: string; euiFormControlDisabledColor: string; euiFormControlBoxShadow: string; euiFormControlPlaceholderText: string; euiFormInputGroupLabelBackground: string; euiFormInputGroupBorder: string; euiSwitchOffColor: string; euiFormControlLayoutGroupInputHeight: string; euiFormControlLayoutGroupInputCompressedHeight: string; euiFormControlLayoutGroupInputCompressedBorderRadius: string; euiRangeTrackColor: string; euiRangeThumbRadius: string; euiRangeThumbHeight: string; euiRangeThumbWidth: string; euiRangeThumbBorderColor: string; euiRangeTrackWidth: string; euiRangeTrackHeight: string; euiRangeTrackBorderWidth: number; euiRangeTrackBorderColor: string; euiRangeTrackRadius: string; euiRangeDisabledOpacity: number; euiRangeHighlightHeight: string; euiHeaderBackgroundColor: string; euiHeaderDarkBackgroundColor: string; euiHeaderBorderColor: string; euiHeaderBreadcrumbColor: string; euiHeaderHeight: string; euiHeaderChildSize: string; euiHeaderHeightCompensation: string; euiPageDefaultMaxWidth: string; euiPageSidebarMinWidth: string; euiPanelPaddingModifiers: { paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiPanelBorderRadiusModifiers: { borderRadiusNone: number; borderRadiusMedium: string; }; euiPanelBackgroundColorModifiers: { transparent: string; plain: string; subdued: string; accent: string; primary: string; success: string; warning: string; danger: string; }; euiBreakpoints: { xs: number; s: string; m: string; l: string; xl: string; }; euiBreakpointKeys: string; euiShadowColor: string; euiShadowColorLarge: string; euiSize: string; euiSizeXS: string; euiSizeS: string; euiSizeM: string; euiSizeL: string; euiSizeXL: string; euiSizeXXL: string; euiButtonMinWidth: string; euiScrollBar: string; euiScrollBarCorner: string; euiScrollBarCornerThin: string; euiFocusRingColor: string; euiFocusRingAnimStartColor: string; euiFocusRingAnimStartSize: string; euiFocusRingAnimStartSizeLarge: string; euiFocusRingSizeLarge: string; euiFocusRingSize: string; euiFocusTransparency: number; euiFocusTransparencyPercent: string; euiFocusBackgroundColor: string; euiTooltipBackgroundColor: string; euiTooltipAnimations: { top: string; left: string; bottom: string; right: string; }; euiFontFamily: string; euiCodeFontFamily: string; euiFontFeatureSettings: string; euiTextScale: string; euiFontSize: string; euiFontSizeXS: string; euiFontSizeS: string; euiFontSizeM: string; euiFontSizeL: string; euiFontSizeXL: string; euiFontSizeXXL: string; euiLineHeight: number; euiBodyLineHeight: number; euiFontWeightLight: number; euiFontWeightRegular: number; euiFontWeightMedium: number; euiFontWeightSemiBold: number; euiFontWeightBold: number; euiCodeFontWeightRegular: number; euiCodeFontWeightBold: number; euiTitles: { xxxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; s: { 'font-size': string; 'line-height': string; 'font-weight': number; }; m: { 'font-size': string; 'line-height': string; 'font-weight': number; }; l: { 'font-size': string; 'line-height': string; 'font-weight': number; }; }; euiZLevel0: number; euiZLevel1: number; euiZLevel2: number; euiZLevel3: number; euiZLevel4: number; euiZLevel5: number; euiZLevel6: number; euiZLevel7: number; euiZLevel8: number; euiZLevel9: number; euiZToastList: number; euiZModal: number; euiZMask: number; euiZNavigation: number; euiZContentMenu: number; euiZHeader: number; euiZFlyout: number; euiZMaskBelowHeader: number; euiZContent: number; euiDatePickerCalendarWidth: string; euiDatePickerPadding: string; euiDatePickerGap: string; euiDatePickerCalendarColumns: number; euiDatePickerButtonSize: string; euiDatePickerMinControlWidth: string; euiDatePickerMaxControlWidth: string; euiButtonDefaultTransparency: number; euiButtonFontWeight: number; euiRangeHighlightColor: string; euiRangeThumbBackgroundColor: string; euiRangeTrackCompressedHeight: string; euiRangeHighlightCompressedHeight: string; euiRangeHeight: string; euiRangeCompressedHeight: string; euiStepStatusColors: { default: string; complete: string; warning: string; danger: string; }; }" + "{ paddingSizes: { xs: string; s: string; m: string; l: string; xl: string; }; avatarSizing: { s: { size: string; 'font-size': string; }; m: { size: string; 'font-size': string; }; l: { size: string; 'font-size': string; }; xl: { size: string; 'font-size': string; }; }; euiBadgeGroupGutterTypes: { gutterExtraSmall: string; gutterSmall: string; }; euiBreadcrumbSpacing: string; euiBreadcrumbTruncateWidth: string; euiButtonEmptyTypes: { primary: string; danger: string; disabled: string; ghost: string; text: string; success: string; warning: string; }; euiCallOutTypes: { primary: string; success: string; warning: string; danger: string; }; euiCardSpacing: string; euiCardBottomNodeHeight: string; euiCardSelectButtonBorders: { text: string; primary: string; success: string; danger: string; ghost: string; }; euiCardSelectButtonBackgrounds: { text: string; primary: string; success: string; danger: string; ghost: string; }; euiCardPaddingModifiers: { paddingNone: number; paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiCheckableCardPadding: string; euiCodeBlockPaddingModifiers: { paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiCollapsibleNavGroupLightBackgroundColor: string; euiCollapsibleNavGroupDarkBackgroundColor: string; euiCollapsibleNavGroupDarkHighContrastColor: string; euiColorPickerValueRange0: string; euiColorPickerValueRange1: string; euiColorPickerSaturationRange0: string; euiColorPickerSaturationRange1: string; euiColorPickerIndicatorSize: string; euiColorPickerWidth: string; euiColorPaletteDisplaySizes: { sizeExtraSmall: string; sizeSmall: string; sizeMedium: string; }; euiContextMenuWidth: string; euiControlBarBackground: string; euiControlBarText: string; euiControlBarBorderColor: string; euiControlBarInitialHeight: string; euiControlBarMaxHeight: string; euiControlBarHeights: { s: string; m: string; l: string; }; euiDataGridPrefix: string; euiDataGridStyles: string; euiZDataGrid: number; euiZHeaderBelowDataGrid: number; euiDataGridColumnResizerWidth: string; euiDataGridPopoverMaxHeight: string; euiDataGridCellPaddingS: string; euiDataGridCellPaddingM: string; euiDataGridCellPaddingL: string; euiDataGridVerticalBorder: string; euiSuperDatePickerWidth: string; euiSuperDatePickerButtonWidth: string; euiDragAndDropSpacing: { s: string; m: string; l: string; }; euiExpressionColors: { subdued: string; primary: string; success: string; secondary: string; warning: string; danger: string; accent: string; }; euiFacetGutterSizes: { gutterNone: number; gutterSmall: string; gutterMedium: string; gutterLarge: string; }; gutterTypes: { gutterExtraSmall: string; gutterSmall: string; gutterMedium: string; gutterLarge: string; gutterExtraLarge: string; }; fractions: { fourths: { percentage: string; count: number; }; thirds: { percentage: string; count: number; }; halves: { percentage: string; count: number; }; single: { percentage: string; count: number; }; }; flyoutSizes: { small: { min: string; width: string; max: string; }; medium: { min: string; width: string; max: string; }; large: { min: string; width: string; max: string; }; }; euiFlyoutBorder: string; euiFlyoutPaddingModifiers: { paddingNone: number; paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiFilePickerTallHeight: string; euiRangeLevelColors: { primary: string; success: string; warning: string; danger: string; }; textareaResizing: { vertical: string; horizontal: string; both: string; none: string; }; euiHeaderLinksGutterSizes: { gutterXS: string; gutterS: string; gutterM: string; gutterL: string; }; ruleMargins: { marginXSmall: string; marginSmall: string; marginMedium: string; marginLarge: string; marginXLarge: string; marginXXLarge: string; }; euiIconLoadingOpacity: number; euiIconColors: { accent: string; danger: string; ghost: string; primary: string; secondary: string; success: string; subdued: string; text: string; warning: string; inherit: string; }; euiIconSizes: { small: string; medium: string; large: string; xLarge: string; xxLarge: string; }; euiKeyPadMenuSize: string; euiKeyPadMenuMarginSize: string; euiLinkColors: { subdued: string; primary: string; secondary: string; success: string; accent: string; warning: string; danger: string; text: string; ghost: string; }; euiListGroupItemHoverBackground: string; euiListGroupItemHoverBackgroundGhost: string; euiListGroupGutterTypes: { gutterSmall: string; gutterMedium: string; }; euiListGroupItemColorTypes: { primary: string; text: string; subdued: string; ghost: string; }; euiListGroupItemSizeTypes: { xSmall: string; small: string; medium: string; large: string; }; euiGradientStartStop: string; euiGradientMiddle: string; euiMarkdownEditorMinHeight: string; euiPopoverArrowSize: string; euiPopoverTranslateDistance: string; euiProgressSizes: { xs: string; s: string; m: string; l: string; }; euiProgressColors: { primary: string; secondary: string; success: string; warning: string; danger: string; accent: string; subdued: string; vis0: string; vis1: string; vis2: string; vis3: string; vis4: string; vis5: string; vis6: string; vis7: string; vis8: string; vis9: string; customColor: string; }; euiResizableButtonTransitionSpeed: string; euiResizableButtonSize: string; euiSelectableListItemBorder: string; euiSelectableListItemPadding: string; euiSelectableTemplateSitewideTypes: { application: { color: string; 'font-weight': number; }; deployment: { color: string; 'font-weight': number; }; article: { color: string; 'font-weight': number; }; case: { color: string; 'font-weight': number; }; platform: { color: string; 'font-weight': number; }; }; euiSideNavEmphasizedBackgroundColor: string; euiSideNavRootTextcolor: string; euiSideNavBranchTextcolor: string; euiSideNavSelectedTextcolor: string; euiSideNavDisabledTextcolor: string; spacerSizes: { xs: string; s: string; m: string; l: string; xl: string; xxl: string; }; euiStepNumberSize: string; euiStepNumberSmallSize: string; euiStepNumberMargin: string; euiStepStatusColorsToFade: { warning: string; danger: string; disabled: string; incomplete: string; }; euiSuggestItemColors: { tint0: string; tint1: string; tint2: string; tint3: string; tint4: string; tint5: string; tint6: string; tint7: string; tint8: string; tint9: string; tint10: string; }; euiTableCellContentPadding: string; euiTableCellContentPaddingCompressed: string; euiTableCellCheckboxWidth: string; euiTableActionsAreaWidth: string; euiTableHoverColor: string; euiTableSelectedColor: string; euiTableHoverSelectedColor: string; euiTableActionsBorderColor: string; euiTableHoverClickableColor: string; euiTableFocusClickableColor: string; euiTextColors: { default: string; subdued: string; secondary: string; success: string; accent: string; warning: string; danger: string; ghost: string; inherit: string; }; euiTextConstrainedMaxWidth: string; euiToastWidth: string; euiToastTypes: { primary: string; success: string; warning: string; danger: string; }; euiTokenGrayColor: string; euiTokenTypes: { euiColorVis0: { graphic: string; behindText: string; }; euiColorVis1: { graphic: string; behindText: string; }; euiColorVis2: { graphic: string; behindText: string; }; euiColorVis3: { graphic: string; behindText: string; }; euiColorVis4: { graphic: string; behindText: string; }; euiColorVis5: { graphic: string; behindText: string; }; euiColorVis6: { graphic: string; behindText: string; }; euiColorVis7: { graphic: string; behindText: string; }; euiColorVis8: { graphic: string; behindText: string; }; euiColorVis9: { graphic: string; behindText: string; }; gray: { graphic: string; behindText: string; }; }; euiTokenTypeKeys: string; euiContrastRatioText: number; euiContrastRatioGraphic: number; euiContrastRatioDisabled: number; euiDatePickerCalendarWidth: string; euiAnimSlightBounce: string; euiAnimSlightResistance: string; euiAnimSpeedExtraFast: string; euiAnimSpeedFast: string; euiAnimSpeedNormal: string; euiAnimSpeedSlow: string; euiAnimSpeedExtraSlow: string; euiBorderWidthThin: string; euiBorderWidthThick: string; euiBorderColor: string; euiBorderRadius: string; euiBorderRadiusSmall: string; euiBorderThick: string; euiBorderThin: string; euiBorderEditable: string; euiButtonHeight: string; euiButtonHeightSmall: string; euiButtonHeightXSmall: string; euiButtonColorDisabled: string; euiButtonColorDisabledText: string; euiButtonColorGhostDisabled: string; euiButtonTypes: { primary: string; accent: string; secondary: string; success: string; warning: string; danger: string; subdued: string; ghost: string; text: string; }; euiColorGhost: string; euiColorInk: string; euiColorPrimary: string; euiColorSecondary: string; euiColorAccent: string; euiColorSuccess: string; euiColorWarning: string; euiColorDanger: string; euiColorEmptyShade: string; euiColorLightestShade: string; euiColorLightShade: string; euiColorMediumShade: string; euiColorDarkShade: string; euiColorDarkestShade: string; euiColorFullShade: string; euiPageBackgroundColor: string; euiColorHighlight: string; euiTextColor: string; euiTitleColor: string; euiTextSubduedColor: string; euiColorDisabled: string; euiColorPrimaryText: string; euiColorSecondaryText: string; euiColorAccentText: string; euiColorWarningText: string; euiColorDangerText: string; euiColorDisabledText: string; euiColorSuccessText: string; euiLinkColor: string; euiPaletteColorBlind: { euiColorVis0: { graphic: string; behindText: string; }; euiColorVis1: { graphic: string; behindText: string; }; euiColorVis2: { graphic: string; behindText: string; }; euiColorVis3: { graphic: string; behindText: string; }; euiColorVis4: { graphic: string; behindText: string; }; euiColorVis5: { graphic: string; behindText: string; }; euiColorVis6: { graphic: string; behindText: string; }; euiColorVis7: { graphic: string; behindText: string; }; euiColorVis8: { graphic: string; behindText: string; }; euiColorVis9: { graphic: string; behindText: string; }; }; euiPaletteColorBlindKeys: string; euiColorVis0: string; euiColorVis1: string; euiColorVis2: string; euiColorVis3: string; euiColorVis4: string; euiColorVis5: string; euiColorVis6: string; euiColorVis7: string; euiColorVis8: string; euiColorVis9: string; euiColorVis0_behindText: string; euiColorVis1_behindText: string; euiColorVis2_behindText: string; euiColorVis3_behindText: string; euiColorVis4_behindText: string; euiColorVis5_behindText: string; euiColorVis6_behindText: string; euiColorVis7_behindText: string; euiColorVis8_behindText: string; euiColorVis9_behindText: string; euiColorChartLines: string; euiColorChartBand: string; euiCodeBlockBackgroundColor: string; euiCodeBlockColor: string; euiCodeBlockSelectedBackgroundColor: string; euiCodeBlockCommentColor: string; euiCodeBlockSelectorTagColor: string; euiCodeBlockStringColor: string; euiCodeBlockTagColor: string; euiCodeBlockNameColor: string; euiCodeBlockNumberColor: string; euiCodeBlockKeywordColor: string; euiCodeBlockFunctionTitleColor: string; euiCodeBlockTypeColor: string; euiCodeBlockAttributeColor: string; euiCodeBlockSymbolColor: string; euiCodeBlockParamsColor: string; euiCodeBlockMetaColor: string; euiCodeBlockTitleColor: string; euiCodeBlockSectionColor: string; euiCodeBlockAdditionColor: string; euiCodeBlockDeletionColor: string; euiCodeBlockSelectorClassColor: string; euiCodeBlockSelectorIdColor: string; euiFontWeightLight: number; euiFontWeightRegular: number; euiFontWeightMedium: number; euiFontWeightSemiBold: number; euiFontWeightBold: number; euiCodeFontWeightRegular: number; euiCodeFontWeightBold: number; euiFormMaxWidth: string; euiFormControlHeight: string; euiFormControlCompressedHeight: string; euiFormControlPadding: string; euiFormControlCompressedPadding: string; euiFormControlBorderRadius: number; euiFormControlCompressedBorderRadius: string; euiRadioSize: string; euiCheckBoxSize: string; euiCheckboxBorderRadius: string; euiSwitchHeight: string; euiSwitchWidth: string; euiSwitchThumbSize: string; euiSwitchIconHeight: string; euiSwitchHeightCompressed: string; euiSwitchWidthCompressed: string; euiSwitchThumbSizeCompressed: string; euiSwitchHeightMini: string; euiSwitchWidthMini: string; euiSwitchThumbSizeMini: string; euiFormBackgroundColor: string; euiFormBackgroundDisabledColor: string; euiFormBackgroundReadOnlyColor: string; euiFormBorderOpaqueColor: string; euiFormBorderColor: string; euiFormBorderDisabledColor: string; euiFormCustomControlDisabledIconColor: string; euiFormCustomControlBorderColor: string; euiFormControlDisabledColor: string; euiFormControlBoxShadow: string; euiFormControlPlaceholderText: string; euiFormInputGroupLabelBackground: string; euiFormInputGroupBorder: string; euiSwitchOffColor: string; euiFormControlLayoutGroupInputHeight: string; euiFormControlLayoutGroupInputCompressedHeight: string; euiFormControlLayoutGroupInputCompressedBorderRadius: string; euiRangeTrackColor: string; euiRangeThumbRadius: string; euiRangeThumbHeight: string; euiRangeThumbWidth: string; euiRangeThumbBorderColor: string; euiRangeTrackWidth: string; euiRangeTrackHeight: string; euiRangeTrackBorderWidth: number; euiRangeTrackBorderColor: string; euiRangeTrackRadius: string; euiRangeDisabledOpacity: number; euiRangeHighlightHeight: string; euiHeaderBackgroundColor: string; euiHeaderDarkBackgroundColor: string; euiHeaderBorderColor: string; euiHeaderBreadcrumbColor: string; euiHeaderHeight: string; euiHeaderChildSize: string; euiHeaderHeightCompensation: string; euiPageDefaultMaxWidth: string; euiPageSidebarMinWidth: string; euiPanelPaddingModifiers: { paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiPanelBorderRadiusModifiers: { borderRadiusNone: number; borderRadiusMedium: string; }; euiPanelBackgroundColorModifiers: { transparent: string; plain: string; subdued: string; accent: string; primary: string; success: string; warning: string; danger: string; }; euiBreakpoints: { xs: number; s: string; m: string; l: string; xl: string; }; euiBreakpointKeys: string; euiShadowColor: string; euiShadowColorLarge: string; euiSize: string; euiSizeXS: string; euiSizeS: string; euiSizeM: string; euiSizeL: string; euiSizeXL: string; euiSizeXXL: string; euiButtonMinWidth: string; euiScrollBar: string; euiScrollBarCorner: string; euiScrollBarCornerThin: string; euiFocusRingColor: string; euiFocusRingAnimStartColor: string; euiFocusRingAnimStartSize: string; euiFocusRingAnimStartSizeLarge: string; euiFocusRingSizeLarge: string; euiFocusRingSize: string; euiFocusTransparency: number; euiFocusTransparencyPercent: string; euiFocusBackgroundColor: string; euiTooltipBackgroundColor: string; euiTooltipAnimations: { top: string; left: string; bottom: string; right: string; }; euiFontFamily: string; euiCodeFontFamily: string; euiFontFeatureSettings: string; euiTextScale: string; euiFontSize: string; euiFontSizeXS: string; euiFontSizeS: string; euiFontSizeM: string; euiFontSizeL: string; euiFontSizeXL: string; euiFontSizeXXL: string; euiLineHeight: number; euiBodyLineHeight: number; euiTitles: { xxxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xs: { 'font-size': string; 'line-height': string; 'font-weight': number; 'letter-spacing': string; }; s: { 'font-size': string; 'line-height': string; 'font-weight': number; 'letter-spacing': string; }; m: { 'font-size': string; 'line-height': string; 'font-weight': number; 'letter-spacing': string; }; l: { 'font-size': string; 'line-height': string; 'font-weight': number; 'letter-spacing': string; }; }; euiZLevel0: number; euiZLevel1: number; euiZLevel2: number; euiZLevel3: number; euiZLevel4: number; euiZLevel5: number; euiZLevel6: number; euiZLevel7: number; euiZLevel8: number; euiZLevel9: number; euiZToastList: number; euiZModal: number; euiZMask: number; euiZNavigation: number; euiZContentMenu: number; euiZHeader: number; euiZFlyout: number; euiZMaskBelowHeader: number; euiZContent: number; } | { paddingSizes: { xs: string; s: string; m: string; l: string; xl: string; }; avatarSizing: { s: { size: string; 'font-size': string; }; m: { size: string; 'font-size': string; }; l: { size: string; 'font-size': string; }; xl: { size: string; 'font-size': string; }; }; euiBadgeGroupGutterTypes: { gutterExtraSmall: string; gutterSmall: string; }; euiBreadcrumbSpacing: string; euiBreadcrumbTruncateWidth: string; euiButtonEmptyTypes: { primary: string; danger: string; disabled: string; ghost: string; text: string; success: string; warning: string; }; euiCallOutTypes: { primary: string; success: string; warning: string; danger: string; }; euiCardSpacing: string; euiCardBottomNodeHeight: string; euiCardSelectButtonBorders: { text: string; primary: string; success: string; danger: string; ghost: string; }; euiCardSelectButtonBackgrounds: { text: string; primary: string; success: string; danger: string; ghost: string; }; euiCardPaddingModifiers: { paddingNone: number; paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiCheckableCardPadding: string; euiCodeBlockPaddingModifiers: { paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiCollapsibleNavGroupLightBackgroundColor: string; euiCollapsibleNavGroupDarkBackgroundColor: string; euiCollapsibleNavGroupDarkHighContrastColor: string; euiColorPickerValueRange0: string; euiColorPickerValueRange1: string; euiColorPickerSaturationRange0: string; euiColorPickerSaturationRange1: string; euiColorPickerIndicatorSize: string; euiColorPickerWidth: string; euiColorPaletteDisplaySizes: { sizeExtraSmall: string; sizeSmall: string; sizeMedium: string; }; euiContextMenuWidth: string; euiControlBarBackground: string; euiControlBarText: string; euiControlBarBorderColor: string; euiControlBarInitialHeight: string; euiControlBarMaxHeight: string; euiControlBarHeights: { s: string; m: string; l: string; }; euiDataGridPrefix: string; euiDataGridStyles: string; euiZDataGrid: number; euiZHeaderBelowDataGrid: number; euiDataGridColumnResizerWidth: string; euiDataGridPopoverMaxHeight: string; euiDataGridCellPaddingS: string; euiDataGridCellPaddingM: string; euiDataGridCellPaddingL: string; euiDataGridVerticalBorder: string; euiSuperDatePickerWidth: string; euiSuperDatePickerButtonWidth: string; euiDragAndDropSpacing: { s: string; m: string; l: string; }; euiExpressionColors: { subdued: string; primary: string; success: string; secondary: string; warning: string; danger: string; accent: string; }; euiFacetGutterSizes: { gutterNone: number; gutterSmall: string; gutterMedium: string; gutterLarge: string; }; gutterTypes: { gutterExtraSmall: string; gutterSmall: string; gutterMedium: string; gutterLarge: string; gutterExtraLarge: string; }; fractions: { fourths: { percentage: string; count: number; }; thirds: { percentage: string; count: number; }; halves: { percentage: string; count: number; }; single: { percentage: string; count: number; }; }; flyoutSizes: { small: { min: string; width: string; max: string; }; medium: { min: string; width: string; max: string; }; large: { min: string; width: string; max: string; }; }; euiFlyoutBorder: string; euiFlyoutPaddingModifiers: { paddingNone: number; paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiFilePickerTallHeight: string; euiRangeLevelColors: { primary: string; success: string; warning: string; danger: string; }; textareaResizing: { vertical: string; horizontal: string; both: string; none: string; }; euiHeaderLinksGutterSizes: { gutterXS: string; gutterS: string; gutterM: string; gutterL: string; }; ruleMargins: { marginXSmall: string; marginSmall: string; marginMedium: string; marginLarge: string; marginXLarge: string; marginXXLarge: string; }; euiIconLoadingOpacity: number; euiIconColors: { accent: string; danger: string; ghost: string; primary: string; secondary: string; success: string; subdued: string; text: string; warning: string; inherit: string; }; euiIconSizes: { small: string; medium: string; large: string; xLarge: string; xxLarge: string; }; euiKeyPadMenuSize: string; euiKeyPadMenuMarginSize: string; euiLinkColors: { subdued: string; primary: string; secondary: string; success: string; accent: string; warning: string; danger: string; text: string; ghost: string; }; euiListGroupItemHoverBackground: string; euiListGroupItemHoverBackgroundGhost: string; euiListGroupGutterTypes: { gutterSmall: string; gutterMedium: string; }; euiListGroupItemColorTypes: { primary: string; text: string; subdued: string; ghost: string; }; euiListGroupItemSizeTypes: { xSmall: string; small: string; medium: string; large: string; }; euiGradientStartStop: string; euiGradientMiddle: string; euiMarkdownEditorMinHeight: string; euiPopoverArrowSize: string; euiPopoverTranslateDistance: string; euiProgressSizes: { xs: string; s: string; m: string; l: string; }; euiProgressColors: { primary: string; secondary: string; success: string; warning: string; danger: string; accent: string; subdued: string; vis0: string; vis1: string; vis2: string; vis3: string; vis4: string; vis5: string; vis6: string; vis7: string; vis8: string; vis9: string; customColor: string; }; euiResizableButtonTransitionSpeed: string; euiResizableButtonSize: string; euiSelectableListItemBorder: string; euiSelectableListItemPadding: string; euiSelectableTemplateSitewideTypes: { application: { color: string; 'font-weight': number; }; deployment: { color: string; 'font-weight': number; }; article: { color: string; 'font-weight': number; }; case: { color: string; 'font-weight': number; }; platform: { color: string; 'font-weight': number; }; }; euiSideNavEmphasizedBackgroundColor: string; euiSideNavRootTextcolor: string; euiSideNavBranchTextcolor: string; euiSideNavSelectedTextcolor: string; euiSideNavDisabledTextcolor: string; spacerSizes: { xs: string; s: string; m: string; l: string; xl: string; xxl: string; }; euiStepNumberSize: string; euiStepNumberSmallSize: string; euiStepNumberMargin: string; euiStepStatusColorsToFade: { warning: string; danger: string; disabled: string; incomplete: string; }; euiSuggestItemColors: { tint0: string; tint1: string; tint2: string; tint3: string; tint4: string; tint5: string; tint6: string; tint7: string; tint8: string; tint9: string; tint10: string; }; euiTableCellContentPadding: string; euiTableCellContentPaddingCompressed: string; euiTableCellCheckboxWidth: string; euiTableActionsAreaWidth: string; euiTableHoverColor: string; euiTableSelectedColor: string; euiTableHoverSelectedColor: string; euiTableActionsBorderColor: string; euiTableHoverClickableColor: string; euiTableFocusClickableColor: string; euiTextColors: { default: string; subdued: string; secondary: string; success: string; accent: string; warning: string; danger: string; ghost: string; inherit: string; }; euiTextConstrainedMaxWidth: string; euiToastWidth: string; euiToastTypes: { primary: string; success: string; warning: string; danger: string; }; euiTokenGrayColor: string; euiTokenTypes: { euiColorVis0: { graphic: string; behindText: string; }; euiColorVis1: { graphic: string; behindText: string; }; euiColorVis2: { graphic: string; behindText: string; }; euiColorVis3: { graphic: string; behindText: string; }; euiColorVis4: { graphic: string; behindText: string; }; euiColorVis5: { graphic: string; behindText: string; }; euiColorVis6: { graphic: string; behindText: string; }; euiColorVis7: { graphic: string; behindText: string; }; euiColorVis8: { graphic: string; behindText: string; }; euiColorVis9: { graphic: string; behindText: string; }; gray: { graphic: string; behindText: string; }; }; euiTokenTypeKeys: string; euiContrastRatioText: number; euiContrastRatioGraphic: number; euiContrastRatioDisabled: number; euiAnimSlightBounce: string; euiAnimSlightResistance: string; euiAnimSpeedExtraFast: string; euiAnimSpeedFast: string; euiAnimSpeedNormal: string; euiAnimSpeedSlow: string; euiAnimSpeedExtraSlow: string; euiBorderWidthThin: string; euiBorderWidthThick: string; euiBorderColor: string; euiBorderRadius: string; euiBorderRadiusSmall: string; euiBorderThick: string; euiBorderThin: string; euiBorderEditable: string; euiButtonHeight: string; euiButtonHeightSmall: string; euiButtonHeightXSmall: string; euiButtonColorDisabled: string; euiButtonColorDisabledText: string; euiButtonColorGhostDisabled: string; euiButtonTypes: { primary: string; accent: string; secondary: string; success: string; warning: string; danger: string; subdued: string; ghost: string; text: string; }; euiColorGhost: string; euiColorInk: string; euiColorPrimary: string; euiColorSecondary: string; euiColorAccent: string; euiColorSuccess: string; euiColorWarning: string; euiColorDanger: string; euiColorEmptyShade: string; euiColorLightestShade: string; euiColorLightShade: string; euiColorMediumShade: string; euiColorDarkShade: string; euiColorDarkestShade: string; euiColorFullShade: string; euiPageBackgroundColor: string; euiColorHighlight: string; euiTextColor: string; euiTitleColor: string; euiTextSubduedColor: string; euiColorDisabled: string; euiColorPrimaryText: string; euiColorSecondaryText: string; euiColorAccentText: string; euiColorWarningText: string; euiColorDangerText: string; euiColorDisabledText: string; euiColorSuccessText: string; euiLinkColor: string; euiPaletteColorBlind: { euiColorVis0: { graphic: string; behindText: string; }; euiColorVis1: { graphic: string; behindText: string; }; euiColorVis2: { graphic: string; behindText: string; }; euiColorVis3: { graphic: string; behindText: string; }; euiColorVis4: { graphic: string; behindText: string; }; euiColorVis5: { graphic: string; behindText: string; }; euiColorVis6: { graphic: string; behindText: string; }; euiColorVis7: { graphic: string; behindText: string; }; euiColorVis8: { graphic: string; behindText: string; }; euiColorVis9: { graphic: string; behindText: string; }; }; euiPaletteColorBlindKeys: string; euiColorVis0: string; euiColorVis1: string; euiColorVis2: string; euiColorVis3: string; euiColorVis4: string; euiColorVis5: string; euiColorVis6: string; euiColorVis7: string; euiColorVis8: string; euiColorVis9: string; euiColorVis0_behindText: string; euiColorVis1_behindText: string; euiColorVis2_behindText: string; euiColorVis3_behindText: string; euiColorVis4_behindText: string; euiColorVis5_behindText: string; euiColorVis6_behindText: string; euiColorVis7_behindText: string; euiColorVis8_behindText: string; euiColorVis9_behindText: string; euiColorChartLines: string; euiColorChartBand: string; euiCodeBlockBackgroundColor: string; euiCodeBlockColor: string; euiCodeBlockSelectedBackgroundColor: string; euiCodeBlockCommentColor: string; euiCodeBlockSelectorTagColor: string; euiCodeBlockStringColor: string; euiCodeBlockTagColor: string; euiCodeBlockNameColor: string; euiCodeBlockNumberColor: string; euiCodeBlockKeywordColor: string; euiCodeBlockFunctionTitleColor: string; euiCodeBlockTypeColor: string; euiCodeBlockAttributeColor: string; euiCodeBlockSymbolColor: string; euiCodeBlockParamsColor: string; euiCodeBlockMetaColor: string; euiCodeBlockTitleColor: string; euiCodeBlockSectionColor: string; euiCodeBlockAdditionColor: string; euiCodeBlockDeletionColor: string; euiCodeBlockSelectorClassColor: string; euiCodeBlockSelectorIdColor: string; euiFontWeightLight: number; euiFontWeightRegular: number; euiFontWeightMedium: number; euiFontWeightSemiBold: number; euiFontWeightBold: number; euiCodeFontWeightRegular: number; euiCodeFontWeightBold: number; euiFormMaxWidth: string; euiFormControlHeight: string; euiFormControlCompressedHeight: string; euiFormControlPadding: string; euiFormControlCompressedPadding: string; euiFormControlBorderRadius: string; euiFormControlCompressedBorderRadius: string; euiRadioSize: string; euiCheckBoxSize: string; euiCheckboxBorderRadius: string; euiSwitchHeight: string; euiSwitchWidth: string; euiSwitchThumbSize: string; euiSwitchIconHeight: string; euiSwitchHeightCompressed: string; euiSwitchWidthCompressed: string; euiSwitchThumbSizeCompressed: string; euiSwitchHeightMini: string; euiSwitchWidthMini: string; euiSwitchThumbSizeMini: string; euiFormBackgroundColor: string; euiFormBackgroundDisabledColor: string; euiFormBackgroundReadOnlyColor: string; euiFormBorderOpaqueColor: string; euiFormBorderColor: string; euiFormBorderDisabledColor: string; euiFormCustomControlDisabledIconColor: string; euiFormCustomControlBorderColor: string; euiFormControlDisabledColor: string; euiFormControlBoxShadow: string; euiFormControlPlaceholderText: string; euiFormInputGroupLabelBackground: string; euiFormInputGroupBorder: string; euiSwitchOffColor: string; euiFormControlLayoutGroupInputHeight: string; euiFormControlLayoutGroupInputCompressedHeight: string; euiFormControlLayoutGroupInputCompressedBorderRadius: string; euiRangeTrackColor: string; euiRangeThumbRadius: string; euiRangeThumbHeight: string; euiRangeThumbWidth: string; euiRangeThumbBorderColor: string; euiRangeTrackWidth: string; euiRangeTrackHeight: string; euiRangeTrackBorderWidth: number; euiRangeTrackBorderColor: string; euiRangeTrackRadius: string; euiRangeDisabledOpacity: number; euiRangeHighlightHeight: string; euiHeaderBackgroundColor: string; euiHeaderDarkBackgroundColor: string; euiHeaderBorderColor: string; euiHeaderBreadcrumbColor: string; euiHeaderHeight: string; euiHeaderChildSize: string; euiHeaderHeightCompensation: string; euiPageDefaultMaxWidth: string; euiPageSidebarMinWidth: string; euiPanelPaddingModifiers: { paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiPanelBorderRadiusModifiers: { borderRadiusNone: number; borderRadiusMedium: string; }; euiPanelBackgroundColorModifiers: { transparent: string; plain: string; subdued: string; accent: string; primary: string; success: string; warning: string; danger: string; }; euiBreakpoints: { xs: number; s: string; m: string; l: string; xl: string; }; euiBreakpointKeys: string; euiShadowColor: string; euiShadowColorLarge: string; euiSize: string; euiSizeXS: string; euiSizeS: string; euiSizeM: string; euiSizeL: string; euiSizeXL: string; euiSizeXXL: string; euiButtonMinWidth: string; euiScrollBar: string; euiScrollBarCorner: string; euiScrollBarCornerThin: string; euiFocusRingColor: string; euiFocusRingAnimStartColor: string; euiFocusRingAnimStartSize: string; euiFocusRingAnimStartSizeLarge: string; euiFocusRingSizeLarge: string; euiFocusRingSize: string; euiFocusTransparency: number; euiFocusTransparencyPercent: string; euiFocusBackgroundColor: string; euiTooltipBackgroundColor: string; euiTooltipAnimations: { top: string; left: string; bottom: string; right: string; }; euiFontFamily: string; euiCodeFontFamily: string; euiFontFeatureSettings: string; euiTextScale: string; euiFontSize: string; euiFontSizeXS: string; euiFontSizeS: string; euiFontSizeM: string; euiFontSizeL: string; euiFontSizeXL: string; euiFontSizeXXL: string; euiLineHeight: number; euiBodyLineHeight: number; euiTitles: { xxxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; s: { 'font-size': string; 'line-height': string; 'font-weight': number; }; m: { 'font-size': string; 'line-height': string; 'font-weight': number; }; l: { 'font-size': string; 'line-height': string; 'font-weight': number; }; }; euiZLevel0: number; euiZLevel1: number; euiZLevel2: number; euiZLevel3: number; euiZLevel4: number; euiZLevel5: number; euiZLevel6: number; euiZLevel7: number; euiZLevel8: number; euiZLevel9: number; euiZToastList: number; euiZModal: number; euiZMask: number; euiZNavigation: number; euiZContentMenu: number; euiZHeader: number; euiZFlyout: number; euiZMaskBelowHeader: number; euiZContent: number; euiDatePickerCalendarWidth: string; euiDatePickerPadding: string; euiDatePickerGap: string; euiDatePickerCalendarColumns: number; euiDatePickerButtonSize: string; euiDatePickerMinControlWidth: string; euiDatePickerMaxControlWidth: string; euiButtonDefaultTransparency: number; euiButtonFontWeight: number; euiRangeHighlightColor: string; euiRangeThumbBackgroundColor: string; euiRangeTrackCompressedHeight: string; euiRangeHighlightCompressedHeight: string; euiRangeHeight: string; euiRangeCompressedHeight: string; euiStepStatusColors: { default: string; complete: string; warning: string; danger: string; }; }" ], "path": "src/plugins/kibana_react/common/eui_styled_components.tsx", "deprecated": false diff --git a/api_docs/kibana_react.mdx b/api_docs/kibana_react.mdx index dbcf2c4aeda83..280fd1334f5fb 100644 --- a/api_docs/kibana_react.mdx +++ b/api_docs/kibana_react.mdx @@ -1,7 +1,7 @@ --- id: kibKibanaReactPluginApi -slug: /kibana-dev-docs/kibanaReactPluginApi -title: kibanaReact +slug: /kibana-dev-docs/api/kibanaReact +title: "kibanaReact" image: https://source.unsplash.com/400x175/?github summary: API docs for the kibanaReact plugin date: 2020-11-16 diff --git a/api_docs/kibana_utils.json b/api_docs/kibana_utils.json index fa1107aea7f28..6411b8b7e1cee 100644 --- a/api_docs/kibana_utils.json +++ b/api_docs/kibana_utils.json @@ -6353,9 +6353,21 @@ "description": [], "signature": [ "{ [K in keyof T]: ReturnType<", - "Ensure", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Ensure", + "text": "Ensure" + }, "<", - "Ensure", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Ensure", + "text": "Ensure" + }, ") => S" ], "path": "src/plugins/kibana_utils/common/persistable_state/migrate_to_latest.ts", @@ -9324,7 +9348,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/kibana_utils/common/persistable_state/migrate_to_latest.ts", @@ -10127,7 +10157,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => P) | undefined" ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", @@ -10151,7 +10187,13 @@ "text": "VersionedState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", @@ -11072,9 +11114,21 @@ ], "signature": [ "(state: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ", version: string) => ", - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", "deprecated": false, @@ -11088,7 +11142,13 @@ "label": "state", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "src/plugins/kibana_utils/common/persistable_state/types.ts", "deprecated": false @@ -11153,9 +11213,21 @@ "description": [], "signature": [ "{ [K in keyof T]: ReturnType<", - "Ensure", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Ensure", + "text": "Ensure" + }, "<", - "Ensure", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.Ensure", + "text": "Ensure" + }, ">; }>; }; }; visualization: VisualizationState; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; }" ], "path": "x-pack/plugins/lens/server/migrations/types.ts", @@ -2874,9 +2899,21 @@ "description": [], "signature": [ "{ datasourceMetaData: { filterableIndexPatterns: { id: string; title: string; }[]; }; datasourceStates: { indexpattern: { currentIndexPatternId: string; layers: Record; }>; }; }; visualization: VisualizationState; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; }" ], "path": "x-pack/plugins/lens/server/migrations/types.ts", @@ -2958,9 +2995,21 @@ "text": "OperationTypePre712" }, "; }>; }>; }; }; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; visualization: VisualizationState; filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; }" ], "path": "x-pack/plugins/lens/server/migrations/types.ts", @@ -3151,9 +3200,21 @@ "text": "LensDocShapePost712" }, ", \"title\" | \"expression\" | \"visualizationType\"> & { state: Pick<{ datasourceMetaData: { filterableIndexPatterns: { id: string; title: string; }[]; }; datasourceStates: { indexpattern: { currentIndexPatternId: string; layers: Record; }>; }; }; visualization: unknown; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; }, \"filters\" | \"query\" | \"visualization\" | \"datasourceMetaData\"> & { datasourceStates: { indexpattern: Pick<{ currentIndexPatternId: string; layers: Record; }>; }, \"currentIndexPatternId\"> & { layers: Record; }, never> & { columns: Record; }>; }; }; }; }" ], "path": "x-pack/plugins/lens/server/migrations/types.ts", @@ -3177,9 +3238,21 @@ "text": "LensDocShapePost712" }, ", \"title\" | \"expression\" | \"visualizationType\"> & { state: Pick<{ datasourceMetaData: { filterableIndexPatterns: { id: string; title: string; }[]; }; datasourceStates: { indexpattern: { currentIndexPatternId: string; layers: Record; }>; }; }; visualization: unknown; query: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]; }, \"filters\" | \"query\" | \"visualization\" | \"datasourceMetaData\"> & { datasourceStates: { indexpattern: Pick<{ currentIndexPatternId: string; layers: Record; }>; }, \"currentIndexPatternId\"> & { layers: Record; }, never> & { columns: Record; }>; }; }; }; }" ], "path": "x-pack/plugins/lens/server/migrations/types.ts", @@ -3984,7 +4057,13 @@ "text": "PersistableFilter" }, " extends ", - "Filter" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + } ], "path": "x-pack/plugins/lens/common/types.ts", "deprecated": false, @@ -4027,7 +4106,13 @@ "text": "PersistableFilterMeta" }, " extends ", - "FilterMeta" + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.FilterMeta", + "text": "FilterMeta" + } ], "path": "x-pack/plugins/lens/common/types.ts", "deprecated": false, diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index 8c3b2e91fb5d6..6165c3ec65d5d 100644 --- a/api_docs/lens.mdx +++ b/api_docs/lens.mdx @@ -1,7 +1,7 @@ --- id: kibLensPluginApi -slug: /kibana-dev-docs/lensPluginApi -title: lens +slug: /kibana-dev-docs/api/lens +title: "lens" image: https://source.unsplash.com/400x175/?github summary: API docs for the lens plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 251 | 0 | 233 | 24 | +| 252 | 0 | 234 | 24 | ## Client diff --git a/api_docs/license_api_guard.mdx b/api_docs/license_api_guard.mdx index fca19ef23fb1e..8249d6b1edb44 100644 --- a/api_docs/license_api_guard.mdx +++ b/api_docs/license_api_guard.mdx @@ -1,7 +1,7 @@ --- id: kibLicenseApiGuardPluginApi -slug: /kibana-dev-docs/licenseApiGuardPluginApi -title: licenseApiGuard +slug: /kibana-dev-docs/api/licenseApiGuard +title: "licenseApiGuard" image: https://source.unsplash.com/400x175/?github summary: API docs for the licenseApiGuard plugin date: 2020-11-16 diff --git a/api_docs/license_management.mdx b/api_docs/license_management.mdx index 9a69affb1d55d..4a71c00e343f8 100644 --- a/api_docs/license_management.mdx +++ b/api_docs/license_management.mdx @@ -1,7 +1,7 @@ --- id: kibLicenseManagementPluginApi -slug: /kibana-dev-docs/licenseManagementPluginApi -title: licenseManagement +slug: /kibana-dev-docs/api/licenseManagement +title: "licenseManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the licenseManagement plugin date: 2020-11-16 diff --git a/api_docs/licensing.json b/api_docs/licensing.json index c363aea16420e..c1251b9be1edd 100644 --- a/api_docs/licensing.json +++ b/api_docs/licensing.json @@ -560,6 +560,14 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts" }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.test.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/index.test.ts" @@ -2297,6 +2305,14 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts" }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.test.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/index.test.ts" diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index a09339c9cf17e..538c9ec9d2faa 100644 --- a/api_docs/licensing.mdx +++ b/api_docs/licensing.mdx @@ -1,7 +1,7 @@ --- id: kibLicensingPluginApi -slug: /kibana-dev-docs/licensingPluginApi -title: licensing +slug: /kibana-dev-docs/api/licensing +title: "licensing" image: https://source.unsplash.com/400x175/?github summary: API docs for the licensing plugin date: 2020-11-16 diff --git a/api_docs/lists.json b/api_docs/lists.json index cbbf19153aed0..d6e2a97fa78ab 100644 --- a/api_docs/lists.json +++ b/api_docs/lists.json @@ -346,7 +346,7 @@ "signature": [ "({ listId, id, namespaceType, }: ", "GetExceptionListOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\"; updated_at: string; updated_by: string; version: number; } | null>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -442,7 +442,7 @@ "\nThis creates an agnostic space endpoint list if it does not exist. This tries to be\nas fast as possible by ignoring conflict errors and not returning the contents of the\nlist if it already exists." ], "signature": [ - "() => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\"; updated_at: string; updated_by: string; version: number; } | null>" + "() => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -461,7 +461,7 @@ "\nCreate the Trusted Apps Agnostic list if it does not yet exist (`null` is returned if it does exist)" ], "signature": [ - "() => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\"; updated_at: string; updated_by: string; version: number; } | null>" + "() => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -580,7 +580,7 @@ "signature": [ "({ description, immutable, listId, meta, name, namespaceType, tags, type, version, }: ", "CreateExceptionListOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\"; updated_at: string; updated_by: string; version: number; }>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -612,7 +612,7 @@ "signature": [ "({ _version, id, description, listId, meta, name, namespaceType, osTypes, tags, type, version, }: ", "UpdateExceptionListOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\"; updated_at: string; updated_by: string; version: number; } | null>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -644,7 +644,7 @@ "signature": [ "({ id, listId, namespaceType, }: ", "DeleteExceptionListOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\"; updated_at: string; updated_by: string; version: number; } | null>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -958,7 +958,7 @@ "signature": [ "({ filter, perPage, page, sortField, sortOrder, namespaceType, }: ", "FindExceptionListOptions", - ") => Promise<{ data: { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\"; updated_at: string; updated_by: string; version: number; }[]; page: number; per_page: number; total: number; }>" + ") => Promise<{ data: { _version: string | undefined; created_at: string; created_by: string; description: string; id: string; immutable: boolean; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"endpoint\" | \"detection\" | \"endpoint_events\" | \"endpoint_host_isolation_exceptions\"; updated_at: string; updated_by: string; version: number; }[]; page: number; per_page: number; total: number; }>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, diff --git a/api_docs/lists.mdx b/api_docs/lists.mdx index 721db99d9e627..8ccbd971903ab 100644 --- a/api_docs/lists.mdx +++ b/api_docs/lists.mdx @@ -1,7 +1,7 @@ --- id: kibListsPluginApi -slug: /kibana-dev-docs/listsPluginApi -title: lists +slug: /kibana-dev-docs/api/lists +title: "lists" image: https://source.unsplash.com/400x175/?github summary: API docs for the lists plugin date: 2020-11-16 diff --git a/api_docs/management.mdx b/api_docs/management.mdx index 75442078212e5..f9002f1256afd 100644 --- a/api_docs/management.mdx +++ b/api_docs/management.mdx @@ -1,7 +1,7 @@ --- id: kibManagementPluginApi -slug: /kibana-dev-docs/managementPluginApi -title: management +slug: /kibana-dev-docs/api/management +title: "management" image: https://source.unsplash.com/400x175/?github summary: API docs for the management plugin date: 2020-11-16 diff --git a/api_docs/maps.json b/api_docs/maps.json index c4394a9b09f51..b5ff309ccbbbf 100644 --- a/api_docs/maps.json +++ b/api_docs/maps.json @@ -83,11 +83,23 @@ "() => Partial<", "DataFilters", " & { applyGlobalQuery: boolean; applyGlobalTime: boolean; applyForceRefresh: boolean; fieldNames: string[]; geogridPrecision?: number | undefined; timesliceMaskField?: string | undefined; sourceQuery?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined; sourceMeta: object | null; isForceRefresh: boolean; } & Pick<", "VectorSourceRequestMeta", ", \"filters\" | \"query\" | \"searchSessionId\" | \"buffer\" | \"extent\" | \"timeFilters\" | \"timeslice\" | \"zoom\" | \"isReadOnly\" | \"applyGlobalQuery\" | \"applyGlobalTime\" | \"applyForceRefresh\" | \"fieldNames\" | \"timesliceMaskField\" | \"sourceQuery\" | \"sourceMeta\" | \"isForceRefresh\"> & { dynamicStyleFields: string[]; isTimeAware: boolean; sourceQuery: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, "; timeFilters: ", { "pluginId": "data", @@ -614,7 +626,13 @@ "description": [], "signature": [ "() => ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx", @@ -851,7 +869,13 @@ "description": [], "signature": [ "(filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], actionId?: string) => Promise" ], "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx", @@ -865,7 +889,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx", @@ -1054,7 +1084,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", @@ -1068,7 +1104,13 @@ "label": "query", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", @@ -1082,7 +1124,13 @@ "label": "sourceQuery", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx", @@ -1634,7 +1682,13 @@ "description": [], "signature": [ "() => Promise<", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]>" ], "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", @@ -2321,7 +2375,13 @@ "description": [], "signature": [ "((filters: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[], actionId: string) => Promise) | null" ], "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts", @@ -2824,9 +2884,9 @@ }, " & { indexPatterns: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -3224,7 +3284,13 @@ " & { id: string; indexPatternId: string; geoField?: string | undefined; applyGlobalQuery: boolean; applyGlobalTime: boolean; applyForceRefresh: boolean; } & { metrics: ", "AggDescriptor", "[]; } & { indexPatternTitle?: string | undefined; term: string; whereQuery?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined; size?: number | undefined; type: ", { "pluginId": "maps", @@ -3266,7 +3332,13 @@ " | null; type?: string | undefined; visible?: boolean | undefined; style?: ", "StyleDescriptor", " | null | undefined; query?: ", - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined; includeInFitToBounds?: boolean | undefined; }" ], "path": "x-pack/plugins/maps/common/descriptor_types/layer_descriptor_types.ts", diff --git a/api_docs/maps.mdx b/api_docs/maps.mdx index 45349976fee2b..f3aee195234be 100644 --- a/api_docs/maps.mdx +++ b/api_docs/maps.mdx @@ -1,7 +1,7 @@ --- id: kibMapsPluginApi -slug: /kibana-dev-docs/mapsPluginApi -title: maps +slug: /kibana-dev-docs/api/maps +title: "maps" image: https://source.unsplash.com/400x175/?github summary: API docs for the maps plugin date: 2020-11-16 diff --git a/api_docs/maps_ems.mdx b/api_docs/maps_ems.mdx index d3e4e0289e3d8..6f22ae26afb7d 100644 --- a/api_docs/maps_ems.mdx +++ b/api_docs/maps_ems.mdx @@ -1,7 +1,7 @@ --- id: kibMapsEmsPluginApi -slug: /kibana-dev-docs/mapsEmsPluginApi -title: mapsEms +slug: /kibana-dev-docs/api/mapsEms +title: "mapsEms" image: https://source.unsplash.com/400x175/?github summary: API docs for the mapsEms plugin date: 2020-11-16 diff --git a/api_docs/metrics_entities.mdx b/api_docs/metrics_entities.mdx index cba8d5ebebd11..446e99f3f03f1 100644 --- a/api_docs/metrics_entities.mdx +++ b/api_docs/metrics_entities.mdx @@ -1,7 +1,7 @@ --- id: kibMetricsEntitiesPluginApi -slug: /kibana-dev-docs/metricsEntitiesPluginApi -title: metricsEntities +slug: /kibana-dev-docs/api/metricsEntities +title: "metricsEntities" image: https://source.unsplash.com/400x175/?github summary: API docs for the metricsEntities plugin date: 2020-11-16 diff --git a/api_docs/ml.json b/api_docs/ml.json index c6efe6aae64d7..102e433e4600e 100644 --- a/api_docs/ml.json +++ b/api_docs/ml.json @@ -236,6 +236,37 @@ "returnComment": [], "initialIsOpen": false }, + { + "parentPluginId": "ml", + "id": "def-public.MLJobsAwaitingNodeWarning", + "type": "Function", + "tags": [], + "label": "MLJobsAwaitingNodeWarning", + "description": [], + "signature": [ + "({ jobIds }: React.PropsWithChildren) => JSX.Element" + ], + "path": "x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "ml", + "id": "def-public.MLJobsAwaitingNodeWarning.$1", + "type": "CompoundType", + "tags": [], + "label": "{ jobIds }", + "description": [], + "signature": [ + "React.PropsWithChildren" + ], + "path": "x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "ml", "id": "def-public.useMlHref", @@ -3259,9 +3290,6 @@ "tags": [], "label": "MlJobBlocked", "description": [], - "signature": [ - "MlJobBlocked" - ], "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/job.ts", "deprecated": false, "initialIsOpen": false diff --git a/api_docs/ml.mdx b/api_docs/ml.mdx index 066d4205e1bec..52618ec948857 100644 --- a/api_docs/ml.mdx +++ b/api_docs/ml.mdx @@ -1,7 +1,7 @@ --- id: kibMlPluginApi -slug: /kibana-dev-docs/mlPluginApi -title: ml +slug: /kibana-dev-docs/api/ml +title: "ml" image: https://source.unsplash.com/400x175/?github summary: API docs for the ml plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) for q | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 280 | 10 | 276 | 33 | +| 282 | 10 | 278 | 33 | ## Client diff --git a/api_docs/monitoring.mdx b/api_docs/monitoring.mdx index a3f80349340a0..bcee20c45c461 100644 --- a/api_docs/monitoring.mdx +++ b/api_docs/monitoring.mdx @@ -1,7 +1,7 @@ --- id: kibMonitoringPluginApi -slug: /kibana-dev-docs/monitoringPluginApi -title: monitoring +slug: /kibana-dev-docs/api/monitoring +title: "monitoring" image: https://source.unsplash.com/400x175/?github summary: API docs for the monitoring plugin date: 2020-11-16 diff --git a/api_docs/navigation.mdx b/api_docs/navigation.mdx index ea669ba4949f6..efffb0c893591 100644 --- a/api_docs/navigation.mdx +++ b/api_docs/navigation.mdx @@ -1,7 +1,7 @@ --- id: kibNavigationPluginApi -slug: /kibana-dev-docs/navigationPluginApi -title: navigation +slug: /kibana-dev-docs/api/navigation +title: "navigation" image: https://source.unsplash.com/400x175/?github summary: API docs for the navigation plugin date: 2020-11-16 diff --git a/api_docs/newsfeed.mdx b/api_docs/newsfeed.mdx index 4fff51ffffcd5..62eb93a63abc8 100644 --- a/api_docs/newsfeed.mdx +++ b/api_docs/newsfeed.mdx @@ -1,7 +1,7 @@ --- id: kibNewsfeedPluginApi -slug: /kibana-dev-docs/newsfeedPluginApi -title: newsfeed +slug: /kibana-dev-docs/api/newsfeed +title: "newsfeed" image: https://source.unsplash.com/400x175/?github summary: API docs for the newsfeed plugin date: 2020-11-16 diff --git a/api_docs/observability.json b/api_docs/observability.json index da0967f11c483..5887895476e3e 100644 --- a/api_docs/observability.json +++ b/api_docs/observability.json @@ -89,15 +89,15 @@ "label": "createExploratoryViewUrl", "description": [], "signature": [ - "(allSeries: Record; allSeries: ", { "pluginId": "observability", "scope": "public", "docId": "kibObservabilityPluginApi", - "section": "def-public.SeriesUrl", - "text": "SeriesUrl" + "section": "def-public.AllSeries", + "text": "AllSeries" }, - ">, baseHref: string) => string" + "; }, baseHref: string) => string" ], "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts", "deprecated": false, @@ -107,22 +107,45 @@ "id": "def-public.createExploratoryViewUrl.$1", "type": "Object", "tags": [], - "label": "allSeries", + "label": "{ reportType, allSeries }", "description": [], - "signature": [ - "Record" - ], "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts", "deprecated": false, - "isRequired": true + "children": [ + { + "parentPluginId": "observability", + "id": "def-public.createExploratoryViewUrl.$1.reportType", + "type": "CompoundType", + "tags": [], + "label": "reportType", + "description": [], + "signature": [ + "\"data-distribution\" | \"kpi-over-time\" | \"core-web-vitals\" | \"device-data-distribution\"" + ], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts", + "deprecated": false + }, + { + "parentPluginId": "observability", + "id": "def-public.createExploratoryViewUrl.$1.allSeries", + "type": "Array", + "tags": [], + "label": "allSeries", + "description": [], + "signature": [ + { + "pluginId": "observability", + "scope": "public", + "docId": "kibObservabilityPluginApi", + "section": "def-public.SeriesUrl", + "text": "SeriesUrl" + }, + "[]" + ], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts", + "deprecated": false + } + ] }, { "parentPluginId": "observability", @@ -1293,6 +1316,91 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "observability", + "id": "def-public.ExploratoryEmbeddableProps", + "type": "Interface", + "tags": [], + "label": "ExploratoryEmbeddableProps", + "description": [], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx", + "deprecated": false, + "children": [ + { + "parentPluginId": "observability", + "id": "def-public.ExploratoryEmbeddableProps.reportType", + "type": "CompoundType", + "tags": [], + "label": "reportType", + "description": [], + "signature": [ + "\"data-distribution\" | \"kpi-over-time\" | \"core-web-vitals\" | \"device-data-distribution\"" + ], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx", + "deprecated": false + }, + { + "parentPluginId": "observability", + "id": "def-public.ExploratoryEmbeddableProps.attributes", + "type": "Array", + "tags": [], + "label": "attributes", + "description": [], + "signature": [ + { + "pluginId": "observability", + "scope": "public", + "docId": "kibObservabilityPluginApi", + "section": "def-public.SeriesUrl", + "text": "SeriesUrl" + }, + "[]" + ], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx", + "deprecated": false + }, + { + "parentPluginId": "observability", + "id": "def-public.ExploratoryEmbeddableProps.appendTitle", + "type": "Object", + "tags": [], + "label": "appendTitle", + "description": [], + "signature": [ + "JSX.Element | undefined" + ], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx", + "deprecated": false + }, + { + "parentPluginId": "observability", + "id": "def-public.ExploratoryEmbeddableProps.title", + "type": "CompoundType", + "tags": [], + "label": "title", + "description": [], + "signature": [ + "string | JSX.Element" + ], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx", + "deprecated": false + }, + { + "parentPluginId": "observability", + "id": "def-public.ExploratoryEmbeddableProps.showCalculationMethod", + "type": "CompoundType", + "tags": [], + "label": "showCalculationMethod", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "observability", "id": "def-public.FetchDataParams", @@ -2147,6 +2255,25 @@ ], "path": "x-pack/plugins/observability/public/plugin.ts", "deprecated": false + }, + { + "parentPluginId": "observability", + "id": "def-public.ObservabilityPublicPluginsStart.discover", + "type": "Object", + "tags": [], + "label": "discover", + "description": [], + "signature": [ + { + "pluginId": "discover", + "scope": "public", + "docId": "kibDiscoverPluginApi", + "section": "def-public.DiscoverStart", + "text": "DiscoverStart" + } + ], + "path": "x-pack/plugins/observability/public/plugin.ts", + "deprecated": false } ], "initialIsOpen": false @@ -2189,7 +2316,7 @@ "signature": [ "(options: { fields: OutputOf<", "Optional", - "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }) => { reason: string; link: string; }" + "<{ readonly \"kibana.alert.rule.params\": { readonly type: \"keyword\"; readonly index: false; }; readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.params\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }) => { reason: string; link: string; }" ], "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false, @@ -2205,7 +2332,7 @@ "signature": [ "{ fields: OutputOf<", "Optional", - "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }" + "<{ readonly \"kibana.alert.rule.params\": { readonly type: \"keyword\"; readonly index: false; }; readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.params\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }" ], "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false @@ -2258,6 +2385,16 @@ "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts", "deprecated": false, "children": [ + { + "parentPluginId": "observability", + "id": "def-public.SeriesUrl.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts", + "deprecated": false + }, { "parentPluginId": "observability", "id": "def-public.SeriesUrl.time", @@ -2311,19 +2448,6 @@ "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts", "deprecated": false }, - { - "parentPluginId": "observability", - "id": "def-public.SeriesUrl.reportType", - "type": "CompoundType", - "tags": [], - "label": "reportType", - "description": [], - "signature": [ - "\"data-distribution\" | \"kpi-over-time\" | \"core-web-vitals\" | \"device-data-distribution\"" - ], - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts", - "deprecated": false - }, { "parentPluginId": "observability", "id": "def-public.SeriesUrl.operationType", @@ -2378,16 +2502,29 @@ }, { "parentPluginId": "observability", - "id": "def-public.SeriesUrl.isNew", + "id": "def-public.SeriesUrl.hidden", "type": "CompoundType", "tags": [], - "label": "isNew", + "label": "hidden", "description": [], "signature": [ "boolean | undefined" ], "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts", "deprecated": false + }, + { + "parentPluginId": "observability", + "id": "def-public.SeriesUrl.color", + "type": "string", + "tags": [], + "label": "color", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts", + "deprecated": false } ], "initialIsOpen": false @@ -2813,9 +2950,6 @@ "tags": [], "label": "METRIC_TYPE", "description": [], - "signature": [ - "METRIC_TYPE" - ], "path": "node_modules/@kbn/analytics/target_types/metrics/index.d.ts", "deprecated": false, "initialIsOpen": false @@ -2836,6 +2970,27 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "observability", + "id": "def-public.AllSeries", + "type": "Type", + "tags": [], + "label": "AllSeries", + "description": [], + "signature": [ + { + "pluginId": "observability", + "scope": "public", + "docId": "kibObservabilityPluginApi", + "section": "def-public.SeriesUrl", + "text": "SeriesUrl" + }, + "[]" + ], + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_series_storage.tsx", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "observability", "id": "def-public.DragHandleProps", @@ -2858,9 +3013,6 @@ "tags": [], "label": "DropResult", "description": [], - "signature": [ - "DropResult" - ], "path": "x-pack/plugins/observability/public/typings/eui_draggable/index.ts", "deprecated": false, "initialIsOpen": false @@ -3036,7 +3188,7 @@ "signature": [ "(options: { fields: OutputOf<", "Optional", - "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }) => { reason: string; link: string; }" + "<{ readonly \"kibana.alert.rule.params\": { readonly type: \"keyword\"; readonly index: false; }; readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.params\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }) => { reason: string; link: string; }" ], "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false, @@ -3052,7 +3204,7 @@ "signature": [ "{ fields: OutputOf<", "Optional", - "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }" + "<{ readonly \"kibana.alert.rule.params\": { readonly type: \"keyword\"; readonly index: false; }; readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.params\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }" ], "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false @@ -3252,7 +3404,23 @@ "signature": [ "{ navigation: { PageTemplate: (pageTemplateProps: ", "WrappedPageTemplateProps", - ") => JSX.Element; }; }" + ") => JSX.Element; }; createExploratoryViewUrl: ({ reportType, allSeries }: { reportType: ValueOf<{ readonly dist: \"data-distribution\"; readonly kpi: \"kpi-over-time\"; readonly cwv: \"core-web-vitals\"; readonly mdd: \"device-data-distribution\"; }>; allSeries: ", + { + "pluginId": "observability", + "scope": "public", + "docId": "kibObservabilityPluginApi", + "section": "def-public.AllSeries", + "text": "AllSeries" + }, + "; }, baseHref?: string) => string; ExploratoryViewEmbeddable: (props: ", + { + "pluginId": "observability", + "scope": "public", + "docId": "kibObservabilityPluginApi", + "section": "def-public.ExploratoryEmbeddableProps", + "text": "ExploratoryEmbeddableProps" + }, + ") => JSX.Element; }" ], "path": "x-pack/plugins/observability/public/plugin.ts", "deprecated": false, @@ -3355,7 +3523,13 @@ "text": "ElasticsearchClient" }, "; logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; }) => Promise" ], "path": "x-pack/plugins/observability/server/utils/create_or_update_index.ts", @@ -3469,7 +3643,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/observability/server/utils/create_or_update_index.ts", "deprecated": false @@ -3734,7 +3914,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/observability/server/routes/types.ts", "deprecated": false @@ -3753,7 +3939,13 @@ "label": "AbstractObservabilityServerRouteRepository", "description": [], "signature": [ - "ServerRouteRepository", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, "<", { "pluginId": "observability", @@ -3771,7 +3963,13 @@ "text": "ObservabilityRouteCreateOptions" }, ", Record; }[TEndpoint] extends ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "> ? TReturnType : never : never" ], "path": "x-pack/plugins/observability/server/routes/types.ts", @@ -3920,7 +4130,13 @@ "label": "ObservabilityServerRouteRepository", "description": [], "signature": [ - "ServerRouteRepository", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRouteRepository", + "text": "ServerRouteRepository" + }, "<", { "pluginId": "observability", @@ -3938,7 +4154,13 @@ "text": "ObservabilityRouteCreateOptions" }, ", { \"GET /api/observability/rules/alerts/dynamic_index_pattern\": ", - "ServerRoute", + { + "pluginId": "@kbn/server-route-repository", + "scope": "server", + "docId": "kibKbnServerRouteRepositoryPluginApi", + "section": "def-server.ServerRoute", + "text": "ServerRoute" + }, "<\"GET /api/observability/rules/alerts/dynamic_index_pattern\", ", "TypeC", "<{ query: ", @@ -4155,6 +4377,34 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "observability", + "id": "def-common.enableInspectEsQueries", + "type": "string", + "tags": [], + "label": "enableInspectEsQueries", + "description": [], + "signature": [ + "\"observability:enableInspectEsQueries\"" + ], + "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "observability", + "id": "def-common.maxSuggestions", + "type": "string", + "tags": [], + "label": "maxSuggestions", + "description": [], + "signature": [ + "\"observability:maxSuggestions\"" + ], + "path": "x-pack/plugins/observability/common/ui_settings_keys.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "observability", "id": "def-common.observabilityAppId", diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index 0a7cebd1795ae..4b7ac03a70e14 100644 --- a/api_docs/observability.mdx +++ b/api_docs/observability.mdx @@ -1,7 +1,7 @@ --- id: kibObservabilityPluginApi -slug: /kibana-dev-docs/observabilityPluginApi -title: observability +slug: /kibana-dev-docs/api/observability +title: "observability" image: https://source.unsplash.com/400x175/?github summary: API docs for the observability plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Observability UI](https://github.com/orgs/elastic/teams/observability-u | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 232 | 0 | 232 | 10 | +| 245 | 0 | 245 | 10 | ## Client diff --git a/api_docs/osquery.mdx b/api_docs/osquery.mdx index 6ff3e070e969d..8ee0154c6ff8a 100644 --- a/api_docs/osquery.mdx +++ b/api_docs/osquery.mdx @@ -1,7 +1,7 @@ --- id: kibOsqueryPluginApi -slug: /kibana-dev-docs/osqueryPluginApi -title: osquery +slug: /kibana-dev-docs/api/osquery +title: "osquery" image: https://source.unsplash.com/400x175/?github summary: API docs for the osquery plugin date: 2020-11-16 diff --git a/api_docs/plugin_directory.mdx b/api_docs/plugin_directory.mdx index b63f72a01c909..ab85e02919102 100644 --- a/api_docs/plugin_directory.mdx +++ b/api_docs/plugin_directory.mdx @@ -1,8 +1,8 @@ --- id: kibDevDocsPluginDirectory -slug: /kibana-dev-docs/plugin-directory -title: Plugin directory -summary: Plugin directory +slug: /kibana-dev-docs/api-meta/plugin-api-directory +title: Directory +summary: Directory of public APIs available through plugins or packages. date: 2021-09-22 tags: ['contributor', 'dev', 'apidocs', 'kibana'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. @@ -10,15 +10,15 @@ warning: This document is auto-generated and is meant to be viewed inside our ex ### Overall stats -| Plugin Count | Plugins with a
public API | Number of teams | +| Count | Plugins or Packages with a
public API | Number of teams | |--------------|----------|------------------------| -| 129 | 108 | 28 | +| 201 | 156 | 32 | ### Public API health stats | API Count | Any Count | Missing comments | Missing exports | |--------------|----------|-----------------|--------| -| 20153 | 269 | 16232 | 601 | +| 24158 | 274 | 19590 | 1579 | ## Plugin Directory @@ -26,8 +26,8 @@ warning: This document is auto-generated and is meant to be viewed inside our ex |--------------|----------------|-----------|--------------|----------|---------------|--------| | | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 125 | 0 | 125 | 8 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | - | 23 | 0 | 22 | 1 | -| | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 248 | 0 | 240 | 17 | -| | [APM UI](https://github.com/orgs/elastic/teams/apm-ui) | - | 42 | 0 | 42 | 36 | +| | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 249 | 0 | 241 | 17 | +| | [APM UI](https://github.com/orgs/elastic/teams/apm-ui) | - | 42 | 0 | 42 | 37 | | | [APM UI](https://github.com/orgs/elastic/teams/apm-ui) | - | 6 | 0 | 6 | 0 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 9 | 0 | 9 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Considering using bfetch capabilities when fetching large amounts of data. This services supports batching HTTP requests and streaming responses back. | 77 | 1 | 66 | 2 | @@ -36,23 +36,24 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | - | 223 | 2 | 192 | 3 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 22 | 0 | 22 | 0 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 9 | 0 | 9 | 1 | -| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 2293 | 27 | 1020 | 30 | +| | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 2293 | 27 | 1020 | 29 | | crossClusterReplication | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 0 | 0 | 0 | 0 | -| | [Fleet](https://github.com/orgs/elastic/teams/fleet) | Add custom data integrations so they can be displayed in the Fleet integrations app | 66 | 0 | 66 | 0 | +| | [Fleet](https://github.com/orgs/elastic/teams/fleet) | Add custom data integrations so they can be displayed in the Fleet integrations app | 85 | 1 | 78 | 1 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds the Dashboard app to Kibana | 145 | 1 | 132 | 10 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 51 | 0 | 50 | 0 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 3186 | 44 | 2800 | 49 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 3181 | 43 | 2796 | 48 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Enhanced data plugin. (See src/plugins/data.) Enhances the main data plugin with a search session management UI. Includes a reusable search session indicator component to use in other applications. Exposes routes for managing search sessions. Includes a service that monitors, updates, and cleans up search session saved objects. | 16 | 0 | 16 | 2 | -| | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | The Data Visualizer tools help you understand your data, by analyzing the metrics and fields in a log file or an existing Elasticsearch index. | 108 | 5 | 108 | 0 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters. | 671 | 6 | 531 | 5 | +| | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | The Data Visualizer tools help you understand your data, by analyzing the metrics and fields in a log file or an existing Elasticsearch index. | 80 | 5 | 80 | 0 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 10 | 0 | 8 | 2 | | | [Data Discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | This plugin contains the Discover application and the saved search embeddable. | 82 | 0 | 56 | 6 | -| | [Data Discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 39 | 0 | 37 | 2 | +| | [Data Discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) | - | 37 | 0 | 35 | 2 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds embeddables service to Kibana | 469 | 5 | 393 | 3 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Extends embeddable plugin with more functionality | 14 | 0 | 14 | 0 | | | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides encryption and decryption utilities for saved objects containing sensitive information. | 29 | 0 | 27 | 4 | | | [Enterprise Search](https://github.com/orgs/elastic/teams/enterprise-search-frontend) | Adds dashboards for discovering and managing Enterprise Search products. | 2 | 0 | 2 | 0 | -| | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 106 | 5 | 102 | 1 | -| | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 81 | 0 | 81 | 4 | +| | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 110 | 5 | 106 | 3 | +| | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 80 | 0 | 80 | 4 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'error' renderer to expressions | 12 | 0 | 12 | 2 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'image' function and renderer to expressions | 24 | 0 | 24 | 0 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'metric' function and renderer to expressions | 30 | 0 | 25 | 0 | @@ -60,11 +61,11 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'revealImage' function and renderer to expressions | 12 | 0 | 12 | 3 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds 'shape' function and renderer to expressions | 143 | 0 | 143 | 0 | | | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Expression Tagcloud plugin adds a `tagcloud` renderer and function to the expression plugin. The renderer will display the `Wordcloud` chart. | 5 | 0 | 5 | 0 | -| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds expression runtime to Kibana | 2072 | 65 | 1626 | 4 | +| | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds expression runtime to Kibana | 2095 | 27 | 1646 | 4 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 216 | 0 | 98 | 2 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Index pattern fields and ambiguous values formatters | 288 | 7 | 250 | 3 | | | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | The file upload plugin contains components and services for uploading a file, analyzing its data, and then importing the data into an Elasticsearch index. Supported file types include CSV, TSV, newline-delimited JSON and GeoJSON. | 129 | 4 | 129 | 1 | -| | [Fleet](https://github.com/orgs/elastic/teams/fleet) | - | 1196 | 15 | 1095 | 11 | +| | [Fleet](https://github.com/orgs/elastic/teams/fleet) | - | 1207 | 15 | 1106 | 10 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 68 | 0 | 14 | 5 | | globalSearchBar | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 0 | 0 | 0 | 0 | | globalSearchProviders | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 0 | 0 | 0 | 0 | @@ -72,7 +73,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | grokdebugger | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 0 | 0 | 0 | 0 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 99 | 3 | 77 | 5 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 4 | 0 | 4 | 0 | -| | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 168 | 9 | 163 | 3 | +| | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 169 | 9 | 164 | 3 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | This plugin provides the ability to create index patterns via a modal flyout from any kibana app | 13 | 1 | 8 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Reusable index pattern field editor across Kibana | 42 | 2 | 39 | 3 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Index pattern management app | 2 | 0 | 2 | 0 | @@ -81,12 +82,12 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | inputControlVis | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | Adds Input Control visualization to Kibana | 0 | 0 | 0 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 123 | 6 | 96 | 4 | | | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides UI and APIs for the interactive setup mode. | 19 | 0 | 9 | 0 | -| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | - | 68 | 3 | 64 | 0 | +| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | - | 48 | 1 | 45 | 0 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 6 | 0 | 6 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 297 | 8 | 260 | 5 | | kibanaUsageCollection | [Kibana Telemtry](https://github.com/orgs/elastic/teams/kibana-telemetry) | - | 0 | 0 | 0 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 603 | 3 | 410 | 8 | -| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Visualization editor allowing to quickly and easily configure compelling visualizations to use on dashboards and canvas workpads. Exposes components to embed visualizations and link into the Lens editor from within other apps in Kibana. | 251 | 0 | 233 | 24 | +| | [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) | Visualization editor allowing to quickly and easily configure compelling visualizations to use on dashboards and canvas workpads. Exposes components to embed visualizations and link into the Lens editor from within other apps in Kibana. | 252 | 0 | 234 | 24 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 8 | 0 | 8 | 0 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 3 | 0 | 3 | 0 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 117 | 0 | 42 | 8 | @@ -96,11 +97,11 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [GIS](https://github.com/orgs/elastic/teams/kibana-gis) | - | 202 | 0 | 201 | 29 | | | [GIS](https://github.com/orgs/elastic/teams/kibana-gis) | - | 64 | 1 | 64 | 0 | | | [Security solution](https://github.com/orgs/elastic/teams/security-solution) | - | 9 | 0 | 6 | 1 | -| | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | This plugin provides access to the machine learning features provided by Elastic. | 280 | 10 | 276 | 33 | +| | [Machine Learning UI](https://github.com/orgs/elastic/teams/ml-ui) | This plugin provides access to the machine learning features provided by Elastic. | 282 | 10 | 278 | 33 | | | [Stack Monitoring](https://github.com/orgs/elastic/teams/stack-monitoring-ui) | - | 10 | 0 | 10 | 2 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 31 | 0 | 31 | 2 | | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 17 | 0 | 17 | 0 | -| | [Observability UI](https://github.com/orgs/elastic/teams/observability-ui) | - | 232 | 0 | 232 | 10 | +| | [Observability UI](https://github.com/orgs/elastic/teams/observability-ui) | - | 245 | 0 | 245 | 10 | | | [Security asset management](https://github.com/orgs/elastic/teams/security-asset-management) | - | 11 | 0 | 11 | 0 | | painlessLab | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 0 | 0 | 0 | 0 | | | [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-presentation) | The Presentation Utility Plugin is a set of common, shared components and toolkits for solutions within the Presentation space, (e.g. Dashboards, Canvas). | 178 | 3 | 151 | 5 | @@ -115,12 +116,12 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 90 | 3 | 51 | 0 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | - | 22 | 0 | 17 | 1 | | searchprofiler | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 0 | 0 | 0 | 0 | -| | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides authentication and authorization features, and exposes functionality to understand the capabilities of the currently authenticated user. | 112 | 0 | 51 | 6 | +| | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides authentication and authorization features, and exposes functionality to understand the capabilities of the currently authenticated user. | 113 | 0 | 51 | 7 | | | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin exposes a limited set of security functionality to OSS plugins. | 12 | 0 | 9 | 3 | -| | [Security solution](https://github.com/orgs/elastic/teams/security-solution) | - | 1350 | 8 | 1296 | 29 | +| | [Security solution](https://github.com/orgs/elastic/teams/security-solution) | - | 1353 | 8 | 1299 | 29 | | | [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) | Adds URL Service and sharing capabilities to Kibana | 137 | 1 | 90 | 10 | | | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 23 | 1 | 22 | 1 | -| | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides the Spaces feature, which allows saved objects to be organized into meaningful categories. | 203 | 0 | 20 | 1 | +| | [Platform Security](https://github.com/orgs/elastic/teams/kibana-security) | This plugin provides the Spaces feature, which allows saved objects to be organized into meaningful categories. | 205 | 0 | 21 | 2 | | | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 4 | 0 | 4 | 0 | | | [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-services) | - | 70 | 0 | 32 | 7 | | | [Kibana Telemetry](https://github.com/orgs/elastic/teams/kibana-telemetry) | - | 41 | 0 | 0 | 0 | @@ -154,3 +155,55 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | watcher | [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-management) | - | 0 | 0 | 0 | 0 | | xpackLegacy | [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) | - | 0 | 0 | 0 | 0 | +## Package Directory + +| Package name           | Maintaining team | Description | API Cnt | Any Cnt | Missing
comments | Missing
exports | +|--------------|----------------|-----------|--------------|----------|---------------|--------| +| | [Owner missing] | elasticsearch datemath parser, used in kibana | 44 | 0 | 43 | 0 | +| | [Owner missing] | - | 11 | 5 | 11 | 0 | +| | [Owner missing] | Alerts components and hooks | 9 | 1 | 9 | 0 | +| | Ahmad Bamieh ahmadbamieh@gmail.com | Kibana Analytics tool | 69 | 0 | 69 | 4 | +| | [Owner missing] | - | 14 | 0 | 14 | 0 | +| | [Owner missing] | - | 11 | 0 | 11 | 0 | +| | [Owner missing] | - | 2 | 0 | 2 | 0 | +| | [Owner missing] | - | 57 | 0 | 42 | 2 | +| | [Owner missing] | - | 109 | 3 | 107 | 18 | +| | [Owner missing] | - | 13 | 0 | 7 | 0 | +| | [Owner missing] | - | 258 | 7 | 231 | 4 | +| | [Owner missing] | - | 1 | 0 | 1 | 0 | +| | [Owner missing] | - | 25 | 0 | 12 | 1 | +| | [Owner missing] | - | 198 | 2 | 146 | 12 | +| | [Owner missing] | - | 20 | 0 | 16 | 0 | +| | [Owner missing] | - | 2 | 0 | 2 | 2 | +| | [Owner missing] | - | 18 | 0 | 18 | 2 | +| | [Owner missing] | - | 30 | 0 | 5 | 37 | +| | [Owner missing] | - | 467 | 9 | 378 | 0 | +| | [Owner missing] | - | 28 | 0 | 28 | 3 | +| | [Owner missing] | - | 42 | 0 | 42 | 9 | +| | [Owner missing] | - | 1 | 0 | 1 | 0 | +| | [Owner missing] | Just some helpers for kibana plugin devs. | 1 | 0 | 1 | 0 | +| | [Owner missing] | - | 63 | 0 | 49 | 5 | +| | [Owner missing] | - | 74 | 0 | 71 | 0 | +| | [Owner missing] | Security Solution auto complete | 47 | 1 | 34 | 0 | +| | [Owner missing] | security solution elastic search utilities to use across plugins such lists, security_solution, cases, etc... | 54 | 0 | 51 | 0 | +| | [Owner missing] | Security Solution utilities for React hooks | 8 | 0 | 1 | 1 | +| | [Owner missing] | io ts utilities and types to be shared with plugins from the security solution project | 147 | 1 | 128 | 0 | +| | [Owner missing] | io ts utilities and types to be shared with plugins from the security solution project | 418 | 1 | 409 | 0 | +| | [Owner missing] | io ts utilities and types to be shared with plugins from the security solution project | 45 | 0 | 23 | 0 | +| | [Owner missing] | io ts utilities and types to be shared with plugins from the security solution project | 28 | 0 | 22 | 0 | +| | [Owner missing] | security solution list REST API | 42 | 0 | 41 | 5 | +| | [Owner missing] | security solution list constants to use across plugins such lists, security_solution, cases, etc... | 23 | 0 | 9 | 0 | +| | [Owner missing] | Security solution list ReactJS hooks | 56 | 0 | 44 | 0 | +| | [Owner missing] | security solution list utilities | 222 | 0 | 177 | 0 | +| | [Owner missing] | security solution t-grid packages will allow sharing components between timelines and security_solution plugin until we transfer all functionality to timelines plugin | 120 | 0 | 116 | 0 | +| | [Owner missing] | security solution utilities to use across plugins such lists, security_solution, cases, etc... | 4 | 0 | 2 | 0 | +| | [Owner missing] | - | 53 | 0 | 50 | 1 | +| | [Owner missing] | - | 28 | 0 | 27 | 1 | +| | [Owner missing] | - | 96 | 1 | 63 | 2 | +| | [Owner missing] | - | 18 | 1 | 18 | 0 | +| | [Owner missing] | - | 2 | 0 | 2 | 0 | +| | [Owner missing] | - | 200 | 5 | 177 | 9 | +| | [Owner missing] | - | 71 | 0 | 71 | 1 | +| | [Owner missing] | - | 29 | 1 | 10 | 1 | +| | [Owner missing] | - | 31 | 1 | 21 | 0 | + diff --git a/api_docs/presentation_util.json b/api_docs/presentation_util.json index e41bd55d8c2ca..ecec195628cf6 100644 --- a/api_docs/presentation_util.json +++ b/api_docs/presentation_util.json @@ -598,7 +598,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">) => any" ], "path": "src/plugins/presentation_util/common/lib/test_helpers/function_wrapper.ts", diff --git a/api_docs/presentation_util.mdx b/api_docs/presentation_util.mdx index e559bfe1d241b..4c31547582b17 100644 --- a/api_docs/presentation_util.mdx +++ b/api_docs/presentation_util.mdx @@ -1,7 +1,7 @@ --- id: kibPresentationUtilPluginApi -slug: /kibana-dev-docs/presentationUtilPluginApi -title: presentationUtil +slug: /kibana-dev-docs/api/presentationUtil +title: "presentationUtil" image: https://source.unsplash.com/400x175/?github summary: API docs for the presentationUtil plugin date: 2020-11-16 diff --git a/api_docs/remote_clusters.mdx b/api_docs/remote_clusters.mdx index 63c51f3d0598f..2fc6f87d286d1 100644 --- a/api_docs/remote_clusters.mdx +++ b/api_docs/remote_clusters.mdx @@ -1,7 +1,7 @@ --- id: kibRemoteClustersPluginApi -slug: /kibana-dev-docs/remoteClustersPluginApi -title: remoteClusters +slug: /kibana-dev-docs/api/remoteClusters +title: "remoteClusters" image: https://source.unsplash.com/400x175/?github summary: API docs for the remoteClusters plugin date: 2020-11-16 diff --git a/api_docs/reporting.json b/api_docs/reporting.json index 949134f73d91d..8843a7ed21b92 100644 --- a/api_docs/reporting.json +++ b/api_docs/reporting.json @@ -925,8 +925,14 @@ "section": "def-server.PluginInitializerContext", "text": "PluginInitializerContext" }, - "; }>; autoDownload: boolean; }>; zoom: number; timeouts: Readonly<{} & { openUrl: number | moment.Duration; waitForElements: number | moment.Duration; renderComplete: number | moment.Duration; }>; networkPolicy: Readonly<{} & { enabled: boolean; rules: Readonly<{ host?: string | undefined; protocol?: string | undefined; } & { allow: boolean; }>[]; }>; viewport: Readonly<{} & { height: number; width: number; }>; loadDelay: number | moment.Duration; maxAttempts: number; }>; roles: Readonly<{} & { enabled: boolean; allow: string[]; }>; kibanaServer: Readonly<{ hostname?: string | undefined; port?: number | undefined; protocol?: string | undefined; } & {}>; queue: Readonly<{} & { timeout: number | moment.Duration; pollInterval: number | moment.Duration; indexInterval: string; pollEnabled: boolean; pollIntervalErrorMultiplier: number; }>; csv: Readonly<{} & { scroll: Readonly<{} & { size: number; duration: string; }>; checkForFormulas: boolean; escapeFormulaValues: boolean; enablePanelActionDownload: boolean; maxSizeBytes: number | ", - "ByteSizeValue", + "; }>; autoDownload: boolean; }>; zoom: number; timeouts: Readonly<{} & { openUrl: number | moment.Duration; waitForElements: number | moment.Duration; renderComplete: number | moment.Duration; }>; networkPolicy: Readonly<{} & { enabled: boolean; rules: Readonly<{ host?: string | undefined; protocol?: string | undefined; } & { allow: boolean; }>[]; }>; viewport: Readonly<{} & { height: number; width: number; }>; loadDelay: number | moment.Duration; maxAttempts: number; }>; roles: Readonly<{} & { enabled: boolean; allow: string[]; }>; kibanaServer: Readonly<{ hostname?: string | undefined; port?: number | undefined; protocol?: string | undefined; } & {}>; queue: Readonly<{} & { timeout: number | moment.Duration; pollInterval: number | moment.Duration; indexInterval: string; pollEnabled: boolean; pollIntervalErrorMultiplier: number; }>; csv: Readonly<{} & { scroll: Readonly<{} & { size: number; duration: string; }>; checkForFormulas: boolean; escapeFormulaValues: boolean; enablePanelActionDownload: boolean; maxSizeBytes: number | ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, "; useByteOrderMarkEncoding: boolean; }>; poll: Readonly<{} & { jobCompletionNotifier: Readonly<{} & { interval: number; intervalErrorMultiplier: number; }>; jobsRefresh: Readonly<{} & { interval: number; intervalErrorMultiplier: number; }>; }>; }>>" ], "path": "x-pack/plugins/reporting/server/core.ts", @@ -1765,8 +1771,14 @@ "section": "def-server.PluginInitializerContext", "text": "PluginInitializerContext" }, - "; }>; autoDownload: boolean; }>; zoom: number; timeouts: Readonly<{} & { openUrl: number | moment.Duration; waitForElements: number | moment.Duration; renderComplete: number | moment.Duration; }>; networkPolicy: Readonly<{} & { enabled: boolean; rules: Readonly<{ host?: string | undefined; protocol?: string | undefined; } & { allow: boolean; }>[]; }>; viewport: Readonly<{} & { height: number; width: number; }>; loadDelay: number | moment.Duration; maxAttempts: number; }>; roles: Readonly<{} & { enabled: boolean; allow: string[]; }>; kibanaServer: Readonly<{ hostname?: string | undefined; port?: number | undefined; protocol?: string | undefined; } & {}>; queue: Readonly<{} & { timeout: number | moment.Duration; pollInterval: number | moment.Duration; indexInterval: string; pollEnabled: boolean; pollIntervalErrorMultiplier: number; }>; csv: Readonly<{} & { scroll: Readonly<{} & { size: number; duration: string; }>; checkForFormulas: boolean; escapeFormulaValues: boolean; enablePanelActionDownload: boolean; maxSizeBytes: number | ", - "ByteSizeValue", + "; }>; autoDownload: boolean; }>; zoom: number; timeouts: Readonly<{} & { openUrl: number | moment.Duration; waitForElements: number | moment.Duration; renderComplete: number | moment.Duration; }>; networkPolicy: Readonly<{} & { enabled: boolean; rules: Readonly<{ host?: string | undefined; protocol?: string | undefined; } & { allow: boolean; }>[]; }>; viewport: Readonly<{} & { height: number; width: number; }>; loadDelay: number | moment.Duration; maxAttempts: number; }>; roles: Readonly<{} & { enabled: boolean; allow: string[]; }>; kibanaServer: Readonly<{ hostname?: string | undefined; port?: number | undefined; protocol?: string | undefined; } & {}>; queue: Readonly<{} & { timeout: number | moment.Duration; pollInterval: number | moment.Duration; indexInterval: string; pollEnabled: boolean; pollIntervalErrorMultiplier: number; }>; csv: Readonly<{} & { scroll: Readonly<{} & { size: number; duration: string; }>; checkForFormulas: boolean; escapeFormulaValues: boolean; enablePanelActionDownload: boolean; maxSizeBytes: number | ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, "; useByteOrderMarkEncoding: boolean; }>; poll: Readonly<{} & { jobCompletionNotifier: Readonly<{} & { interval: number; intervalErrorMultiplier: number; }>; jobsRefresh: Readonly<{} & { interval: number; intervalErrorMultiplier: number; }>; }>; }>>" ], "path": "x-pack/plugins/reporting/server/plugin.ts", @@ -1956,8 +1968,14 @@ "section": "def-server.ReportingConfig", "text": "ReportingConfig" }, - " extends Config; }>; autoDownload: boolean; }>; zoom: number; timeouts: Readonly<{} & { openUrl: number | moment.Duration; waitForElements: number | moment.Duration; renderComplete: number | moment.Duration; }>; networkPolicy: Readonly<{} & { enabled: boolean; rules: Readonly<{ host?: string | undefined; protocol?: string | undefined; } & { allow: boolean; }>[]; }>; viewport: Readonly<{} & { height: number; width: number; }>; loadDelay: number | moment.Duration; maxAttempts: number; }>; roles: Readonly<{} & { enabled: boolean; allow: string[]; }>; kibanaServer: Readonly<{ hostname?: string | undefined; port?: number | undefined; protocol?: string | undefined; } & {}>; queue: Readonly<{} & { timeout: number | moment.Duration; pollInterval: number | moment.Duration; indexInterval: string; pollEnabled: boolean; pollIntervalErrorMultiplier: number; }>; csv: Readonly<{} & { scroll: Readonly<{} & { size: number; duration: string; }>; checkForFormulas: boolean; escapeFormulaValues: boolean; enablePanelActionDownload: boolean; maxSizeBytes: number | ", - "ByteSizeValue", + " extends Config; }>; autoDownload: boolean; }>; zoom: number; timeouts: Readonly<{} & { openUrl: number | moment.Duration; waitForElements: number | moment.Duration; renderComplete: number | moment.Duration; }>; networkPolicy: Readonly<{} & { enabled: boolean; rules: Readonly<{ host?: string | undefined; protocol?: string | undefined; } & { allow: boolean; }>[]; }>; viewport: Readonly<{} & { height: number; width: number; }>; loadDelay: number | moment.Duration; maxAttempts: number; }>; roles: Readonly<{} & { enabled: boolean; allow: string[]; }>; kibanaServer: Readonly<{ hostname?: string | undefined; port?: number | undefined; protocol?: string | undefined; } & {}>; queue: Readonly<{} & { timeout: number | moment.Duration; pollInterval: number | moment.Duration; indexInterval: string; pollEnabled: boolean; pollIntervalErrorMultiplier: number; }>; csv: Readonly<{} & { scroll: Readonly<{} & { size: number; duration: string; }>; checkForFormulas: boolean; escapeFormulaValues: boolean; enablePanelActionDownload: boolean; maxSizeBytes: number | ", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ByteSizeValue", + "text": "ByteSizeValue" + }, "; useByteOrderMarkEncoding: boolean; }>; poll: Readonly<{} & { jobCompletionNotifier: Readonly<{} & { interval: number; intervalErrorMultiplier: number; }>; jobsRefresh: Readonly<{} & { interval: number; intervalErrorMultiplier: number; }>; }>; }>>" ], "path": "x-pack/plugins/reporting/server/config/config.ts", diff --git a/api_docs/reporting.mdx b/api_docs/reporting.mdx index c0d061ff5ec8d..9d3ed2ce0b7ee 100644 --- a/api_docs/reporting.mdx +++ b/api_docs/reporting.mdx @@ -1,7 +1,7 @@ --- id: kibReportingPluginApi -slug: /kibana-dev-docs/reportingPluginApi -title: reporting +slug: /kibana-dev-docs/api/reporting +title: "reporting" image: https://source.unsplash.com/400x175/?github summary: API docs for the reporting plugin date: 2020-11-16 diff --git a/api_docs/rollup.mdx b/api_docs/rollup.mdx index f4112014db153..9fa774ae413fd 100644 --- a/api_docs/rollup.mdx +++ b/api_docs/rollup.mdx @@ -1,7 +1,7 @@ --- id: kibRollupPluginApi -slug: /kibana-dev-docs/rollupPluginApi -title: rollup +slug: /kibana-dev-docs/api/rollup +title: "rollup" image: https://source.unsplash.com/400x175/?github summary: API docs for the rollup plugin date: 2020-11-16 diff --git a/api_docs/rule_registry.json b/api_docs/rule_registry.json index 6aae6e1651fd8..2d9e79f727c0e 100644 --- a/api_docs/rule_registry.json +++ b/api_docs/rule_registry.json @@ -62,7 +62,7 @@ "signature": [ "({ id, index }: GetAlertParams) => Promise> | undefined>" + "<{ readonly \"kibana.alert.rule.params\": { readonly type: \"keyword\"; readonly index: false; }; readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.params\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> | undefined>" ], "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, @@ -98,7 +98,7 @@ "InlineGet", ">> | undefined; _id: string; _index: string; _primary_term: number; result: ", + "<{ readonly \"kibana.alert.rule.params\": { readonly type: \"keyword\"; readonly index: false; }; readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.params\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">>> | undefined; _id: string; _index: string; _primary_term: number; result: ", "Result", "; _seq_no: number; _shards: ", "ShardStatistics", @@ -178,7 +178,7 @@ "SearchResponse", ">>>" + "<{ readonly \"kibana.alert.rule.params\": { readonly type: \"keyword\"; readonly index: false; }; readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.params\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">>>>" ], "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, @@ -757,7 +757,13 @@ ], "signature": [ "(featureId: ", - "AlertConsumers", + { + "pluginId": "@kbn/rule-data-utils", + "scope": "server", + "docId": "kibKbnRuleDataUtilsPluginApi", + "section": "def-server.AlertConsumers", + "text": "AlertConsumers" + }, ", dataset?: ", { "pluginId": "ruleRegistry", @@ -781,7 +787,13 @@ "label": "featureId", "description": [], "signature": [ - "AlertConsumers" + { + "pluginId": "@kbn/rule-data-utils", + "scope": "server", + "docId": "kibKbnRuleDataUtilsPluginApi", + "section": "def-server.AlertConsumers", + "text": "AlertConsumers" + } ], "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, @@ -878,7 +890,13 @@ "description": [], "signature": [ "(logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, ", ruleDataClient: Pick<", { "pluginId": "ruleRegistry", @@ -920,7 +938,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_executor.ts", "deprecated": false, @@ -961,7 +985,13 @@ "description": [], "signature": [ "({ logger, ruleDataClient }: { logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; ruleDataClient: ", { "pluginId": "ruleRegistry", @@ -1017,7 +1047,13 @@ "label": "logger", "description": [], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_rule_type_factory.ts", "deprecated": false @@ -1064,7 +1100,13 @@ "text": "IRuleDataClient" }, "; logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; }) => , TParams extends Record, TServices extends ", { "pluginId": "ruleRegistry", @@ -1141,7 +1183,7 @@ }, "; injectReferences: (params: TParams, references: ", "SavedObjectReference", - "[]) => TParams; } | undefined; isExportable: boolean; }" + "[]) => TParams; } | undefined; isExportable: boolean; ruleTaskTimeout?: string | undefined; }" ], "path": "x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_factory.ts", "deprecated": false, @@ -1163,7 +1205,13 @@ "text": "IRuleDataClient" }, "; logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; }" ], "path": "x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_factory.ts", @@ -1590,7 +1638,7 @@ "SearchRequest", ">(request: TSearchRequest) => Promise<", "InferSearchResponseOf", - ">, TSearchRequest, { restTotalHitsAsInt: false; }>>" + ">, TSearchRequest, { restTotalHitsAsInt: false; }>>" ], "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", "deprecated": false, @@ -1622,9 +1670,9 @@ "signature": [ "(target?: string | undefined) => Promise<{ title: string; timeFieldName: string; fields: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "server", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-server.FieldDescriptor", "text": "FieldDescriptor" }, @@ -1897,7 +1945,7 @@ "section": "def-server.AlertType", "text": "AlertType" }, - ", \"id\" | \"name\" | \"validate\" | \"actionGroups\" | \"defaultActionGroupId\" | \"recoveryActionGroup\" | \"producer\" | \"actionVariables\" | \"minimumLicenseRequired\" | \"useSavedObjectReferences\" | \"isExportable\"> & { executor: ", + ", \"id\" | \"name\" | \"validate\" | \"actionGroups\" | \"defaultActionGroupId\" | \"recoveryActionGroup\" | \"producer\" | \"actionVariables\" | \"minimumLicenseRequired\" | \"useSavedObjectReferences\" | \"isExportable\" | \"ruleTaskTimeout\"> & { executor: ", "AlertTypeExecutor", "; }" ], @@ -1922,7 +1970,13 @@ "text": "IRuleDataClient" }, "; logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; }) => , TParams extends Record, TServices extends ", { "pluginId": "ruleRegistry", @@ -1970,7 +2024,13 @@ "text": "IRuleDataClient" }, "; logger: ", - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, "; }" ], "path": "x-pack/plugins/rule_registry/server/utils/persistence_types.ts", @@ -2432,7 +2492,7 @@ "signature": [ "(input: unknown) => OutputOf<", "Optional", - "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">>" + "<{ readonly \"kibana.alert.rule.params\": { readonly type: \"keyword\"; readonly index: false; }; readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.params\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">>" ], "path": "x-pack/plugins/rule_registry/common/parse_technical_fields.ts", "deprecated": false, diff --git a/api_docs/rule_registry.mdx b/api_docs/rule_registry.mdx index 775cebd477af9..5bd8aeff7d1b2 100644 --- a/api_docs/rule_registry.mdx +++ b/api_docs/rule_registry.mdx @@ -1,7 +1,7 @@ --- id: kibRuleRegistryPluginApi -slug: /kibana-dev-docs/ruleRegistryPluginApi -title: ruleRegistry +slug: /kibana-dev-docs/api/ruleRegistry +title: "ruleRegistry" image: https://source.unsplash.com/400x175/?github summary: API docs for the ruleRegistry plugin date: 2020-11-16 diff --git a/api_docs/runtime_fields.mdx b/api_docs/runtime_fields.mdx index 8c284c976c756..f39d200e444d9 100644 --- a/api_docs/runtime_fields.mdx +++ b/api_docs/runtime_fields.mdx @@ -1,7 +1,7 @@ --- id: kibRuntimeFieldsPluginApi -slug: /kibana-dev-docs/runtimeFieldsPluginApi -title: runtimeFields +slug: /kibana-dev-docs/api/runtimeFields +title: "runtimeFields" image: https://source.unsplash.com/400x175/?github summary: API docs for the runtimeFields plugin date: 2020-11-16 diff --git a/api_docs/saved_objects.json b/api_docs/saved_objects.json index 1345833ddd2d4..b4e8c07d33ca2 100644 --- a/api_docs/saved_objects.json +++ b/api_docs/saved_objects.json @@ -560,14 +560,6 @@ "path": "src/plugins/saved_objects/public/saved_object/saved_object_loader.ts", "deprecated": true, "references": [ - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/find_list_items.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/saved_visualizations/find_list_items.ts" - }, { "plugin": "discover", "path": "src/plugins/discover/public/saved_searches/saved_searches.ts" @@ -584,6 +576,14 @@ "plugin": "discover", "path": "src/plugins/discover/public/plugin.tsx" }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/find_list_items.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/find_list_items.ts" + }, { "plugin": "visualizations", "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualizations.ts" @@ -1071,14 +1071,6 @@ "plugin": "embeddable", "path": "src/plugins/embeddable/public/lib/attribute_service/attribute_service.tsx" }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" - }, { "plugin": "presentationUtil", "path": "src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx" @@ -1087,6 +1079,14 @@ "plugin": "presentationUtil", "path": "src/plugins/presentation_util/public/components/saved_object_save_modal_dashboard.tsx" }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, { "plugin": "dashboard", "path": "src/plugins/dashboard/public/services/saved_objects.ts" @@ -2102,14 +2102,6 @@ "plugin": "savedObjectsTaggingOss", "path": "src/plugins/saved_objects_tagging_oss/public/api.ts" }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/types.ts" - }, - { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/types.ts" - }, { "plugin": "discover", "path": "src/plugins/discover/public/saved_searches/_saved_search.ts" @@ -2126,6 +2118,14 @@ "plugin": "discover", "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/types.ts" + }, { "plugin": "visualizations", "path": "src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts" @@ -2494,9 +2494,9 @@ "signature": [ "((id?: string | undefined) => Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -2929,9 +2929,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, diff --git a/api_docs/saved_objects.mdx b/api_docs/saved_objects.mdx index 0df66e05e2f99..4fe64c7cf70ae 100644 --- a/api_docs/saved_objects.mdx +++ b/api_docs/saved_objects.mdx @@ -1,7 +1,7 @@ --- id: kibSavedObjectsPluginApi -slug: /kibana-dev-docs/savedObjectsPluginApi -title: savedObjects +slug: /kibana-dev-docs/api/savedObjects +title: "savedObjects" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjects plugin date: 2020-11-16 diff --git a/api_docs/saved_objects_management.mdx b/api_docs/saved_objects_management.mdx index 557406598fc40..35e4424c99c54 100644 --- a/api_docs/saved_objects_management.mdx +++ b/api_docs/saved_objects_management.mdx @@ -1,7 +1,7 @@ --- id: kibSavedObjectsManagementPluginApi -slug: /kibana-dev-docs/savedObjectsManagementPluginApi -title: savedObjectsManagement +slug: /kibana-dev-docs/api/savedObjectsManagement +title: "savedObjectsManagement" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjectsManagement plugin date: 2020-11-16 diff --git a/api_docs/saved_objects_tagging.mdx b/api_docs/saved_objects_tagging.mdx index c3484ec108118..bef36ddde8ba6 100644 --- a/api_docs/saved_objects_tagging.mdx +++ b/api_docs/saved_objects_tagging.mdx @@ -1,7 +1,7 @@ --- id: kibSavedObjectsTaggingPluginApi -slug: /kibana-dev-docs/savedObjectsTaggingPluginApi -title: savedObjectsTagging +slug: /kibana-dev-docs/api/savedObjectsTagging +title: "savedObjectsTagging" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjectsTagging plugin date: 2020-11-16 diff --git a/api_docs/saved_objects_tagging_oss.mdx b/api_docs/saved_objects_tagging_oss.mdx index 75c8e78c56515..206d6ad01a49e 100644 --- a/api_docs/saved_objects_tagging_oss.mdx +++ b/api_docs/saved_objects_tagging_oss.mdx @@ -1,7 +1,7 @@ --- id: kibSavedObjectsTaggingOssPluginApi -slug: /kibana-dev-docs/savedObjectsTaggingOssPluginApi -title: savedObjectsTaggingOss +slug: /kibana-dev-docs/api/savedObjectsTaggingOss +title: "savedObjectsTaggingOss" image: https://source.unsplash.com/400x175/?github summary: API docs for the savedObjectsTaggingOss plugin date: 2020-11-16 diff --git a/api_docs/screenshot_mode.mdx b/api_docs/screenshot_mode.mdx index d9af2146ec3d2..593d145d81e53 100644 --- a/api_docs/screenshot_mode.mdx +++ b/api_docs/screenshot_mode.mdx @@ -1,7 +1,7 @@ --- id: kibScreenshotModePluginApi -slug: /kibana-dev-docs/screenshotModePluginApi -title: screenshotMode +slug: /kibana-dev-docs/api/screenshotMode +title: "screenshotMode" image: https://source.unsplash.com/400x175/?github summary: API docs for the screenshotMode plugin date: 2020-11-16 diff --git a/api_docs/security.json b/api_docs/security.json index 056bb8a768b3e..0bdd1c3689fa6 100644 --- a/api_docs/security.json +++ b/api_docs/security.json @@ -737,7 +737,7 @@ "tags": [], "label": "AuditEvent", "description": [ - "\nAudit event schema using ECS format: https://www.elastic.co/guide/en/ecs/1.9/index.html\n\nIf you add additional fields to the schema ensure you update the Kibana Filebeat module:\nhttps://github.com/elastic/beats/tree/master/filebeat/module/kibana\n" + "\nAudit event schema using ECS format: https://www.elastic.co/guide/en/ecs/1.12/index.html\n\nIf you add additional fields to the schema ensure you update the Kibana Filebeat module:\nhttps://github.com/elastic/beats/tree/master/filebeat/module/kibana\n" ], "signature": [ { @@ -748,7 +748,13 @@ "text": "AuditEvent" }, " extends ", - "LogMeta" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.LogMeta", + "text": "LogMeta" + } ], "path": "x-pack/plugins/security/server/audit/audit_events.ts", "deprecated": false, @@ -1765,6 +1771,21 @@ ], "path": "x-pack/plugins/security/server/plugin.ts", "deprecated": false + }, + { + "parentPluginId": "security", + "id": "def-server.SecurityPluginSetup.privilegeDeprecationsService", + "type": "Object", + "tags": [], + "label": "privilegeDeprecationsService", + "description": [ + "\nExposes services to access kibana roles per feature id with the GetDeprecationsContext" + ], + "signature": [ + "PrivilegeDeprecationsService" + ], + "path": "x-pack/plugins/security/server/plugin.ts", + "deprecated": false } ], "lifecycle": "setup", diff --git a/api_docs/security.mdx b/api_docs/security.mdx index 21371c328cc0a..7c5a336fed7e7 100644 --- a/api_docs/security.mdx +++ b/api_docs/security.mdx @@ -1,7 +1,7 @@ --- id: kibSecurityPluginApi -slug: /kibana-dev-docs/securityPluginApi -title: security +slug: /kibana-dev-docs/api/security +title: "security" image: https://source.unsplash.com/400x175/?github summary: API docs for the security plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Platform Security](https://github.com/orgs/elastic/teams/kibana-securit | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 112 | 0 | 51 | 6 | +| 113 | 0 | 51 | 7 | ## Client diff --git a/api_docs/security_oss.mdx b/api_docs/security_oss.mdx index 8d85247ecedf3..4cd5bc2a76135 100644 --- a/api_docs/security_oss.mdx +++ b/api_docs/security_oss.mdx @@ -1,7 +1,7 @@ --- id: kibSecurityOssPluginApi -slug: /kibana-dev-docs/securityOssPluginApi -title: securityOss +slug: /kibana-dev-docs/api/securityOss +title: "securityOss" image: https://source.unsplash.com/400x175/?github summary: API docs for the securityOss plugin date: 2020-11-16 diff --git a/api_docs/security_solution.json b/api_docs/security_solution.json index b7c66f78f0e06..fe6a5cbb9858d 100644 --- a/api_docs/security_solution.json +++ b/api_docs/security_solution.json @@ -2942,7 +2942,13 @@ "text": "ColumnHeaderType" }, "; description?: string | undefined; example?: string | undefined; format?: string | undefined; linkField?: string | undefined; placeholder?: string | undefined; subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; type?: string | undefined; }" ], "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx", @@ -8936,7 +8942,13 @@ "label": "subType", "description": [], "signature": [ - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined" ], "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts", @@ -14017,7 +14029,13 @@ "description": [], "signature": [ "string | ", - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | ", "ESRangeQuery", " | ", @@ -15715,7 +15733,13 @@ "label": "authFilter", "description": [], "signature": [ - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | undefined" ], "path": "x-pack/plugins/timelines/common/search_strategy/timeline/events/all/index.ts", @@ -15972,7 +15996,13 @@ "label": "authFilter", "description": [], "signature": [ - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | undefined" ], "path": "x-pack/plugins/timelines/common/search_strategy/timeline/events/details/index.ts", @@ -16809,7 +16839,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "x-pack/plugins/security_solution/common/types/timeline/store.ts", @@ -17052,7 +17088,13 @@ "description": [], "signature": [ "string | ", - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | ", "ESRangeQuery", " | ", @@ -19221,7 +19263,13 @@ "text": "ColumnHeaderType" }, "; description?: string | undefined; example?: string | undefined; format?: string | undefined; linkField?: string | undefined; placeholder?: string | undefined; subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; type?: string | undefined; }" ], "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx", @@ -20836,6 +20884,52 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "securitySolution", + "id": "def-common.ResolvedTimelineWithOutcomeSavedObject", + "type": "Type", + "tags": [], + "label": "ResolvedTimelineWithOutcomeSavedObject", + "description": [], + "signature": [ + "{ timeline: { columns?: { aggregatable?: boolean | null | undefined; category?: string | null | undefined; columnHeaderType?: string | null | undefined; description?: string | null | undefined; example?: string | null | undefined; indexes?: string[] | null | undefined; id?: string | null | undefined; name?: string | null | undefined; placeholder?: string | null | undefined; searchable?: boolean | null | undefined; type?: string | null | undefined; }[] | null | undefined; dataProviders?: { id?: string | null | undefined; name?: string | null | undefined; enabled?: boolean | null | undefined; excluded?: boolean | null | undefined; kqlQuery?: string | null | undefined; queryMatch?: { field?: string | null | undefined; displayField?: string | null | undefined; value?: string | null | undefined; displayValue?: string | null | undefined; operator?: string | null | undefined; } | null | undefined; and?: { id?: string | null | undefined; name?: string | null | undefined; enabled?: boolean | null | undefined; excluded?: boolean | null | undefined; kqlQuery?: string | null | undefined; queryMatch?: { field?: string | null | undefined; displayField?: string | null | undefined; value?: string | null | undefined; displayValue?: string | null | undefined; operator?: string | null | undefined; } | null | undefined; }[] | null | undefined; type?: ", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.DataProviderType", + "text": "DataProviderType" + }, + " | null | undefined; }[] | null | undefined; description?: string | null | undefined; eqlOptions?: { eventCategoryField?: string | null | undefined; query?: string | null | undefined; tiebreakerField?: string | null | undefined; timestampField?: string | null | undefined; size?: string | number | null | undefined; } | null | undefined; eventType?: string | null | undefined; excludedRowRendererIds?: ", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.RowRendererId", + "text": "RowRendererId" + }, + "[] | null | undefined; favorite?: { keySearch?: string | null | undefined; favoriteDate?: number | null | undefined; fullName?: string | null | undefined; userName?: string | null | undefined; }[] | null | undefined; filters?: { exists?: string | null | undefined; meta?: { alias?: string | null | undefined; controlledBy?: string | null | undefined; disabled?: boolean | null | undefined; field?: string | null | undefined; formattedValue?: string | null | undefined; index?: string | null | undefined; key?: string | null | undefined; negate?: boolean | null | undefined; params?: string | null | undefined; type?: string | null | undefined; value?: string | null | undefined; } | null | undefined; match_all?: string | null | undefined; missing?: string | null | undefined; query?: string | null | undefined; range?: string | null | undefined; script?: string | null | undefined; }[] | null | undefined; indexNames?: string[] | null | undefined; kqlMode?: string | null | undefined; kqlQuery?: { filterQuery?: { kuery?: { kind?: string | null | undefined; expression?: string | null | undefined; } | null | undefined; serializedQuery?: string | null | undefined; } | null | undefined; } | null | undefined; title?: string | null | undefined; templateTimelineId?: string | null | undefined; templateTimelineVersion?: number | null | undefined; timelineType?: ", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineType", + "text": "TimelineType" + }, + " | null | undefined; dateRange?: { start?: string | number | null | undefined; end?: string | number | null | undefined; } | null | undefined; savedQueryId?: string | null | undefined; sort?: { columnId?: string | null | undefined; columnType?: string | null | undefined; sortDirection?: string | null | undefined; } | { columnId?: string | null | undefined; columnType?: string | null | undefined; sortDirection?: string | null | undefined; }[] | null | undefined; status?: ", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineStatus", + "text": "TimelineStatus" + }, + " | null | undefined; created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { savedObjectId: string; version: string; } & { eventIdToNoteIds?: ({ timelineId: string | null; } & { eventId?: string | null | undefined; note?: string | null | undefined; created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { noteId: string; version: string; } & { timelineVersion?: string | null | undefined; })[] | undefined; noteIds?: string[] | undefined; notes?: ({ timelineId: string | null; } & { eventId?: string | null | undefined; note?: string | null | undefined; created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { noteId: string; version: string; } & { timelineVersion?: string | null | undefined; })[] | undefined; pinnedEventIds?: string[] | undefined; pinnedEventsSaveObject?: ({ pinnedEventId: string; version: string; } & { timelineId: string; eventId: string; } & { created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { timelineVersion?: string | null | undefined; })[] | undefined; }; outcome: \"conflict\" | \"exactMatch\" | \"aliasMatch\"; } & { alias_target_id?: string | undefined; }" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "securitySolution", "id": "def-common.ResponseFavoriteTimeline", @@ -21140,6 +21234,52 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "securitySolution", + "id": "def-common.SingleTimelineResolveResponse", + "type": "Type", + "tags": [], + "label": "SingleTimelineResolveResponse", + "description": [], + "signature": [ + "{ data: { timeline: { columns?: { aggregatable?: boolean | null | undefined; category?: string | null | undefined; columnHeaderType?: string | null | undefined; description?: string | null | undefined; example?: string | null | undefined; indexes?: string[] | null | undefined; id?: string | null | undefined; name?: string | null | undefined; placeholder?: string | null | undefined; searchable?: boolean | null | undefined; type?: string | null | undefined; }[] | null | undefined; dataProviders?: { id?: string | null | undefined; name?: string | null | undefined; enabled?: boolean | null | undefined; excluded?: boolean | null | undefined; kqlQuery?: string | null | undefined; queryMatch?: { field?: string | null | undefined; displayField?: string | null | undefined; value?: string | null | undefined; displayValue?: string | null | undefined; operator?: string | null | undefined; } | null | undefined; and?: { id?: string | null | undefined; name?: string | null | undefined; enabled?: boolean | null | undefined; excluded?: boolean | null | undefined; kqlQuery?: string | null | undefined; queryMatch?: { field?: string | null | undefined; displayField?: string | null | undefined; value?: string | null | undefined; displayValue?: string | null | undefined; operator?: string | null | undefined; } | null | undefined; }[] | null | undefined; type?: ", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.DataProviderType", + "text": "DataProviderType" + }, + " | null | undefined; }[] | null | undefined; description?: string | null | undefined; eqlOptions?: { eventCategoryField?: string | null | undefined; query?: string | null | undefined; tiebreakerField?: string | null | undefined; timestampField?: string | null | undefined; size?: string | number | null | undefined; } | null | undefined; eventType?: string | null | undefined; excludedRowRendererIds?: ", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.RowRendererId", + "text": "RowRendererId" + }, + "[] | null | undefined; favorite?: { keySearch?: string | null | undefined; favoriteDate?: number | null | undefined; fullName?: string | null | undefined; userName?: string | null | undefined; }[] | null | undefined; filters?: { exists?: string | null | undefined; meta?: { alias?: string | null | undefined; controlledBy?: string | null | undefined; disabled?: boolean | null | undefined; field?: string | null | undefined; formattedValue?: string | null | undefined; index?: string | null | undefined; key?: string | null | undefined; negate?: boolean | null | undefined; params?: string | null | undefined; type?: string | null | undefined; value?: string | null | undefined; } | null | undefined; match_all?: string | null | undefined; missing?: string | null | undefined; query?: string | null | undefined; range?: string | null | undefined; script?: string | null | undefined; }[] | null | undefined; indexNames?: string[] | null | undefined; kqlMode?: string | null | undefined; kqlQuery?: { filterQuery?: { kuery?: { kind?: string | null | undefined; expression?: string | null | undefined; } | null | undefined; serializedQuery?: string | null | undefined; } | null | undefined; } | null | undefined; title?: string | null | undefined; templateTimelineId?: string | null | undefined; templateTimelineVersion?: number | null | undefined; timelineType?: ", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineType", + "text": "TimelineType" + }, + " | null | undefined; dateRange?: { start?: string | number | null | undefined; end?: string | number | null | undefined; } | null | undefined; savedQueryId?: string | null | undefined; sort?: { columnId?: string | null | undefined; columnType?: string | null | undefined; sortDirection?: string | null | undefined; } | { columnId?: string | null | undefined; columnType?: string | null | undefined; sortDirection?: string | null | undefined; }[] | null | undefined; status?: ", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineStatus", + "text": "TimelineStatus" + }, + " | null | undefined; created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { savedObjectId: string; version: string; } & { eventIdToNoteIds?: ({ timelineId: string | null; } & { eventId?: string | null | undefined; note?: string | null | undefined; created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { noteId: string; version: string; } & { timelineVersion?: string | null | undefined; })[] | undefined; noteIds?: string[] | undefined; notes?: ({ timelineId: string | null; } & { eventId?: string | null | undefined; note?: string | null | undefined; created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { noteId: string; version: string; } & { timelineVersion?: string | null | undefined; })[] | undefined; pinnedEventIds?: string[] | undefined; pinnedEventsSaveObject?: ({ pinnedEventId: string; version: string; } & { timelineId: string; eventId: string; } & { created?: number | null | undefined; createdBy?: string | null | undefined; updated?: number | null | undefined; updatedBy?: string | null | undefined; } & { timelineVersion?: string | null | undefined; })[] | undefined; }; outcome: \"conflict\" | \"exactMatch\" | \"aliasMatch\"; } & { alias_target_id?: string | undefined; }; }" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "securitySolution", "id": "def-common.SingleTimelineResponse", @@ -25224,130 +25364,20 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.responseFavoriteTimeline", + "id": "def-common.ResolvedSingleTimelineResponseType", "type": "Object", "tags": [], - "label": "responseFavoriteTimeline", + "label": "ResolvedSingleTimelineResponseType", "description": [], "signature": [ - "PartialC", - "<{ savedObjectId: ", - "StringC", - "; version: ", - "StringC", - "; code: ", - "UnionC", - "<[", - "NumberC", - ", ", - "NullC", - "]>; message: ", - "UnionC", - "<[", - "StringC", - ", ", - "NullC", - "]>; templateTimelineId: ", - "UnionC", - "<[", - "StringC", - ", ", - "NullC", - "]>; templateTimelineVersion: ", - "UnionC", - "<[", - "NumberC", - ", ", - "NullC", - "]>; timelineType: ", - "UnionC", - "<[", - "UnionC", - "<[", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineType", - "text": "TimelineType" - }, - ".template>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineType", - "text": "TimelineType" - }, - ".default>]>, ", - "NullC", - "]>; favorite: ", - "UnionC", - "<[", - "ArrayC", - "<", - "PartialC", - "<{ fullName: ", - "UnionC", - "<[", - "StringC", - ", ", - "NullC", - "]>; userName: ", - "UnionC", + "TypeC", + "<{ data: ", + "IntersectionC", "<[", - "StringC", - ", ", - "NullC", - "]>; favoriteDate: ", - "UnionC", + "TypeC", + "<{ timeline: ", + "IntersectionC", "<[", - "NumberC", - ", ", - "NullC", - "]>; }>>, ", - "NullC", - "]>; }>" - ], - "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "securitySolution", - "id": "def-common.RowRendererIdRuntimeType", - "type": "Object", - "tags": [], - "label": "RowRendererIdRuntimeType", - "description": [], - "signature": [ - "Type", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.RowRendererId", - "text": "RowRendererId" - }, - ", string, unknown>" - ], - "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "securitySolution", - "id": "def-common.SavedTimelineRuntimeType", - "type": "Object", - "tags": [], - "label": "SavedTimelineRuntimeType", - "description": [], - "signature": [ "PartialC", "<{ columns: ", "UnionC", @@ -26049,30 +26079,244 @@ "StringC", ", ", "NullC", - "]>; }>" - ], - "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "securitySolution", - "id": "def-common.SingleTimelineResponseType", - "type": "Object", - "tags": [], - "label": "SingleTimelineResponseType", - "description": [], - "signature": [ - "TypeC", - "<{ data: ", + "]>; }>, ", "TypeC", - "<{ getOneTimeline: ", - "IntersectionC", - "<[", - "PartialC", - "<{ columns: ", - "UnionC", - "<[", + "<{ savedObjectId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "PartialC", + "<{ eventIdToNoteIds: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "IntersectionC", + "<[", + "TypeC", + "<{ timelineId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "PartialC", + "<{ eventId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; note: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; created: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; createdBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; updated: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; updatedBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>, ", + "TypeC", + "<{ noteId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "PartialC", + "<{ timelineVersion: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>>; noteIds: ", + "ArrayC", + "<", + "StringC", + ">; notes: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "IntersectionC", + "<[", + "TypeC", + "<{ timelineId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "PartialC", + "<{ eventId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; note: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; created: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; createdBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; updated: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; updatedBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>, ", + "TypeC", + "<{ noteId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "PartialC", + "<{ timelineVersion: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>>; pinnedEventIds: ", + "ArrayC", + "<", + "StringC", + ">; pinnedEventsSaveObject: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "TypeC", + "<{ pinnedEventId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "IntersectionC", + "<[", + "TypeC", + "<{ timelineId: ", + "StringC", + "; eventId: ", + "StringC", + "; }>, ", + "PartialC", + "<{ created: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; createdBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; updated: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; updatedBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>, ", + "PartialC", + "<{ timelineVersion: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>>; }>]>; outcome: ", + "UnionC", + "<[", + "LiteralC", + "<\"exactMatch\">, ", + "LiteralC", + "<\"aliasMatch\">, ", + "LiteralC", + "<\"conflict\">]>; }>, ", + "PartialC", + "<{ alias_target_id: ", + "StringC", + "; }>]>; }>" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.ResolvedTimelineSavedObjectToReturnObjectRuntimeType", + "type": "Object", + "tags": [], + "label": "ResolvedTimelineSavedObjectToReturnObjectRuntimeType", + "description": [ + "Resolved Timeline Response" + ], + "signature": [ + "IntersectionC", + "<[", + "TypeC", + "<{ timeline: ", + "IntersectionC", + "<[", + "PartialC", + "<{ columns: ", + "UnionC", + "<[", "ArrayC", "<", "PartialC", @@ -26970,7 +27214,19 @@ "StringC", ", ", "NullC", - "]>; }>]>>; }>]>; }>; }>" + "]>; }>]>>; }>]>; outcome: ", + "UnionC", + "<[", + "LiteralC", + "<\"exactMatch\">, ", + "LiteralC", + "<\"aliasMatch\">, ", + "LiteralC", + "<\"conflict\">]>; }>, ", + "PartialC", + "<{ alias_target_id: ", + "StringC", + "; }>]>" ], "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", "deprecated": false, @@ -26978,69 +27234,44 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.sortFieldTimeline", + "id": "def-common.responseFavoriteTimeline", "type": "Object", "tags": [], - "label": "sortFieldTimeline", + "label": "responseFavoriteTimeline", "description": [], "signature": [ + "PartialC", + "<{ savedObjectId: ", + "StringC", + "; version: ", + "StringC", + "; code: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; message: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; templateTimelineId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; templateTimelineVersion: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; timelineType: ", "UnionC", "<[", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.SortFieldTimeline", - "text": "SortFieldTimeline" - }, - ".title>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.SortFieldTimeline", - "text": "SortFieldTimeline" - }, - ".description>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.SortFieldTimeline", - "text": "SortFieldTimeline" - }, - ".updated>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.SortFieldTimeline", - "text": "SortFieldTimeline" - }, - ".created>]>" - ], - "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "securitySolution", - "id": "def-common.sortTimeline", - "type": "Object", - "tags": [], - "label": "sortTimeline", - "description": [], - "signature": [ - "TypeC", - "<{ sortField: ", "UnionC", "<[", "LiteralC", @@ -27049,62 +27280,48 @@ "pluginId": "securitySolution", "scope": "common", "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.SortFieldTimeline", - "text": "SortFieldTimeline" - }, - ".title>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.SortFieldTimeline", - "text": "SortFieldTimeline" - }, - ".description>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.SortFieldTimeline", - "text": "SortFieldTimeline" + "section": "def-common.TimelineType", + "text": "TimelineType" }, - ".updated>, ", + ".template>, ", "LiteralC", "<", { "pluginId": "securitySolution", "scope": "common", "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.SortFieldTimeline", - "text": "SortFieldTimeline" + "section": "def-common.TimelineType", + "text": "TimelineType" }, - ".created>]>; sortOrder: ", + ".default>]>, ", + "NullC", + "]>; favorite: ", "UnionC", "<[", - "LiteralC", - "<", - { - "pluginId": "timelines", - "scope": "common", - "docId": "kibTimelinesPluginApi", - "section": "def-common.Direction", - "text": "Direction" - }, - ".asc>, ", - "LiteralC", + "ArrayC", "<", - { - "pluginId": "timelines", - "scope": "common", - "docId": "kibTimelinesPluginApi", - "section": "def-common.Direction", - "text": "Direction" - }, - ".desc>]>; }>" + "PartialC", + "<{ fullName: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; userName: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; favoriteDate: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; }>>, ", + "NullC", + "]>; }>" ], "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", "deprecated": false, @@ -27112,34 +27329,22 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.TemplateTimelineTypeLiteralRt", + "id": "def-common.RowRendererIdRuntimeType", "type": "Object", "tags": [], - "label": "TemplateTimelineTypeLiteralRt", + "label": "RowRendererIdRuntimeType", "description": [], "signature": [ - "UnionC", - "<[", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TemplateTimelineType", - "text": "TemplateTimelineType" - }, - ".elastic>, ", - "LiteralC", + "Type", "<", { "pluginId": "securitySolution", "scope": "common", "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TemplateTimelineType", - "text": "TemplateTimelineType" + "section": "def-common.RowRendererId", + "text": "RowRendererId" }, - ".custom>]>" + ", string, unknown>" ], "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", "deprecated": false, @@ -27147,211 +27352,32 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.TemplateTimelineTypeLiteralWithNullRt", + "id": "def-common.SavedTimelineRuntimeType", "type": "Object", "tags": [], - "label": "TemplateTimelineTypeLiteralWithNullRt", + "label": "SavedTimelineRuntimeType", "description": [], "signature": [ + "PartialC", + "<{ columns: ", "UnionC", "<[", + "ArrayC", + "<", + "PartialC", + "<{ aggregatable: ", "UnionC", "<[", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TemplateTimelineType", - "text": "TemplateTimelineType" - }, - ".elastic>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TemplateTimelineType", - "text": "TemplateTimelineType" - }, - ".custom>]>, ", + "BooleanC", + ", ", "NullC", - "]>" - ], - "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "securitySolution", - "id": "def-common.TimelineErrorResponseType", - "type": "Object", - "tags": [], - "label": "TimelineErrorResponseType", - "description": [], - "signature": [ - "TypeC", - "<{ status_code: ", - "NumberC", - "; message: ", + "]>; category: ", + "UnionC", + "<[", "StringC", - "; }>" - ], - "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "securitySolution", - "id": "def-common.TimelineIdLiteralRt", - "type": "Object", - "tags": [], - "label": "TimelineIdLiteralRt", - "description": [], - "signature": [ - "UnionC", - "<[", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineId", - "text": "TimelineId" - }, - ".hostsPageEvents>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineId", - "text": "TimelineId" - }, - ".hostsPageExternalAlerts>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineId", - "text": "TimelineId" - }, - ".detectionsRulesDetailsPage>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineId", - "text": "TimelineId" - }, - ".detectionsPage>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineId", - "text": "TimelineId" - }, - ".networkPageExternalAlerts>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineId", - "text": "TimelineId" - }, - ".uebaPageExternalAlerts>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineId", - "text": "TimelineId" - }, - ".active>, ", - "LiteralC", - "<", - { - "pluginId": "securitySolution", - "scope": "common", - "docId": "kibSecuritySolutionPluginApi", - "section": "def-common.TimelineId", - "text": "TimelineId" - }, - ".test>]>" - ], - "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "securitySolution", - "id": "def-common.TimelineResponseType", - "type": "Object", - "tags": [], - "label": "TimelineResponseType", - "description": [ - "\nAll Timeline Saved object type with metadata" - ], - "signature": [ - "TypeC", - "<{ data: ", - "TypeC", - "<{ persistTimeline: ", - "IntersectionC", - "<[", - "PartialC", - "<{ code: ", - "UnionC", - "<[", - "NumberC", - ", ", - "NullC", - "]>; message: ", - "UnionC", - "<[", - "StringC", - ", ", - "NullC", - "]>; }>, ", - "TypeC", - "<{ timeline: ", - "IntersectionC", - "<[", - "PartialC", - "<{ columns: ", - "UnionC", - "<[", - "ArrayC", - "<", - "PartialC", - "<{ aggregatable: ", - "UnionC", - "<[", - "BooleanC", - ", ", - "NullC", - "]>; category: ", - "UnionC", - "<[", - "StringC", - ", ", - "NullC", - "]>; columnHeaderType: ", + ", ", + "NullC", + "]>; columnHeaderType: ", "UnionC", "<[", "StringC", @@ -28033,228 +28059,1289 @@ "StringC", ", ", "NullC", - "]>; }>, ", + "]>; }>" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.SingleTimelineResponseType", + "type": "Object", + "tags": [], + "label": "SingleTimelineResponseType", + "description": [], + "signature": [ "TypeC", - "<{ savedObjectId: ", - "StringC", - "; version: ", - "StringC", - "; }>, ", + "<{ data: ", + "TypeC", + "<{ getOneTimeline: ", + "IntersectionC", + "<[", "PartialC", - "<{ eventIdToNoteIds: ", + "<{ columns: ", + "UnionC", + "<[", "ArrayC", "<", - "IntersectionC", - "<[", - "IntersectionC", + "PartialC", + "<{ aggregatable: ", + "UnionC", "<[", - "TypeC", - "<{ timelineId: ", + "BooleanC", + ", ", + "NullC", + "]>; category: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; }>, ", - "PartialC", - "<{ eventId: ", + "]>; columnHeaderType: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; note: ", + "]>; description: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; created: ", + "]>; example: ", "UnionC", "<[", - "NumberC", + "StringC", ", ", "NullC", - "]>; createdBy: ", + "]>; indexes: ", "UnionC", "<[", + "ArrayC", + "<", "StringC", - ", ", + ">, ", "NullC", - "]>; updated: ", + "]>; id: ", "UnionC", "<[", - "NumberC", + "StringC", ", ", "NullC", - "]>; updatedBy: ", + "]>; name: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; }>]>, ", - "TypeC", - "<{ noteId: ", - "StringC", - "; version: ", - "StringC", - "; }>, ", - "PartialC", - "<{ timelineVersion: ", + "]>; placeholder: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; }>]>>; noteIds: ", - "ArrayC", - "<", - "StringC", - ">; notes: ", - "ArrayC", - "<", - "IntersectionC", - "<[", - "IntersectionC", + "]>; searchable: ", + "UnionC", "<[", - "TypeC", - "<{ timelineId: ", + "BooleanC", + ", ", + "NullC", + "]>; type: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; }>, ", + "]>; }>>, ", + "NullC", + "]>; dataProviders: ", + "UnionC", + "<[", + "ArrayC", + "<", "PartialC", - "<{ eventId: ", + "<{ id: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; note: ", + "]>; name: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; created: ", + "]>; enabled: ", "UnionC", "<[", - "NumberC", + "BooleanC", ", ", "NullC", - "]>; createdBy: ", + "]>; excluded: ", "UnionC", "<[", - "StringC", + "BooleanC", ", ", "NullC", - "]>; updated: ", + "]>; kqlQuery: ", "UnionC", "<[", - "NumberC", + "StringC", ", ", "NullC", - "]>; updatedBy: ", + "]>; queryMatch: ", + "UnionC", + "<[", + "PartialC", + "<{ field: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; }>]>, ", - "TypeC", - "<{ noteId: ", - "StringC", - "; version: ", - "StringC", - "; }>, ", - "PartialC", - "<{ timelineVersion: ", + "]>; displayField: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; }>]>>; pinnedEventIds: ", + "]>; value: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; displayValue: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; operator: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "NullC", + "]>; and: ", + "UnionC", + "<[", "ArrayC", "<", + "PartialC", + "<{ id: ", + "UnionC", + "<[", "StringC", - ">; pinnedEventsSaveObject: ", + ", ", + "NullC", + "]>; name: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; enabled: ", + "UnionC", + "<[", + "BooleanC", + ", ", + "NullC", + "]>; excluded: ", + "UnionC", + "<[", + "BooleanC", + ", ", + "NullC", + "]>; kqlQuery: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; queryMatch: ", + "UnionC", + "<[", + "PartialC", + "<{ field: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; displayField: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; value: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; displayValue: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; operator: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "NullC", + "]>; }>>, ", + "NullC", + "]>; type: ", + "UnionC", + "<[", + "UnionC", + "<[", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.DataProviderType", + "text": "DataProviderType" + }, + ".default>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.DataProviderType", + "text": "DataProviderType" + }, + ".template>]>, ", + "NullC", + "]>; }>>, ", + "NullC", + "]>; description: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; eqlOptions: ", + "UnionC", + "<[", + "PartialC", + "<{ eventCategoryField: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; query: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; tiebreakerField: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; timestampField: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; size: ", + "UnionC", + "<[", + "UnionC", + "<[", + "StringC", + ", ", + "NumberC", + "]>, ", + "NullC", + "]>; }>, ", + "NullC", + "]>; eventType: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; excludedRowRendererIds: ", + "UnionC", + "<[", "ArrayC", "<", - "IntersectionC", + "Type", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.RowRendererId", + "text": "RowRendererId" + }, + ", string, unknown>>, ", + "NullC", + "]>; favorite: ", + "UnionC", + "<[", + "ArrayC", + "<", + "PartialC", + "<{ keySearch: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; favoriteDate: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; fullName: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; userName: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>>, ", + "NullC", + "]>; filters: ", + "UnionC", + "<[", + "ArrayC", + "<", + "PartialC", + "<{ exists: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; meta: ", + "UnionC", + "<[", + "PartialC", + "<{ alias: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; controlledBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; disabled: ", + "UnionC", + "<[", + "BooleanC", + ", ", + "NullC", + "]>; field: ", + "UnionC", "<[", + "StringC", + ", ", + "NullC", + "]>; formattedValue: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; index: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; key: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; negate: ", + "UnionC", + "<[", + "BooleanC", + ", ", + "NullC", + "]>; params: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; type: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; value: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "NullC", + "]>; match_all: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; missing: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; query: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; range: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; script: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>>, ", + "NullC", + "]>; indexNames: ", + "UnionC", + "<[", + "ArrayC", + "<", + "StringC", + ">, ", + "NullC", + "]>; kqlMode: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; kqlQuery: ", + "UnionC", + "<[", + "PartialC", + "<{ filterQuery: ", + "UnionC", + "<[", + "PartialC", + "<{ kuery: ", + "UnionC", + "<[", + "PartialC", + "<{ kind: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; expression: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "NullC", + "]>; serializedQuery: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "NullC", + "]>; }>, ", + "NullC", + "]>; title: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; templateTimelineId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; templateTimelineVersion: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; timelineType: ", + "UnionC", + "<[", + "UnionC", + "<[", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineType", + "text": "TimelineType" + }, + ".template>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineType", + "text": "TimelineType" + }, + ".default>]>, ", + "NullC", + "]>; dateRange: ", + "UnionC", + "<[", + "PartialC", + "<{ start: ", + "UnionC", + "<[", + "UnionC", + "<[", + "StringC", + ", ", + "NumberC", + "]>, ", + "NullC", + "]>; end: ", + "UnionC", + "<[", + "UnionC", + "<[", + "StringC", + ", ", + "NumberC", + "]>, ", + "NullC", + "]>; }>, ", + "NullC", + "]>; savedQueryId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; sort: ", + "UnionC", + "<[", + "UnionC", + "<[", + "ArrayC", + "<", + "PartialC", + "<{ columnId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; columnType: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; sortDirection: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>>, ", + "PartialC", + "<{ columnId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; columnType: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; sortDirection: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>, ", + "NullC", + "]>; status: ", + "UnionC", + "<[", + "UnionC", + "<[", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineStatus", + "text": "TimelineStatus" + }, + ".active>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineStatus", + "text": "TimelineStatus" + }, + ".draft>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineStatus", + "text": "TimelineStatus" + }, + ".immutable>]>, ", + "NullC", + "]>; created: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; createdBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; updated: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; updatedBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "TypeC", + "<{ savedObjectId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "PartialC", + "<{ eventIdToNoteIds: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "IntersectionC", + "<[", + "TypeC", + "<{ timelineId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "PartialC", + "<{ eventId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; note: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; created: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; createdBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; updated: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; updatedBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>, ", + "TypeC", + "<{ noteId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "PartialC", + "<{ timelineVersion: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>>; noteIds: ", + "ArrayC", + "<", + "StringC", + ">; notes: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "IntersectionC", + "<[", + "TypeC", + "<{ timelineId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "PartialC", + "<{ eventId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; note: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; created: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; createdBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; updated: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; updatedBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>, ", + "TypeC", + "<{ noteId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "PartialC", + "<{ timelineVersion: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>>; pinnedEventIds: ", + "ArrayC", + "<", + "StringC", + ">; pinnedEventsSaveObject: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "TypeC", + "<{ pinnedEventId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "IntersectionC", + "<[", + "TypeC", + "<{ timelineId: ", + "StringC", + "; eventId: ", + "StringC", + "; }>, ", + "PartialC", + "<{ created: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; createdBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; updated: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; updatedBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>, ", + "PartialC", + "<{ timelineVersion: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>>; }>]>; }>; }>" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.sortFieldTimeline", + "type": "Object", + "tags": [], + "label": "sortFieldTimeline", + "description": [], + "signature": [ + "UnionC", + "<[", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.SortFieldTimeline", + "text": "SortFieldTimeline" + }, + ".title>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.SortFieldTimeline", + "text": "SortFieldTimeline" + }, + ".description>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.SortFieldTimeline", + "text": "SortFieldTimeline" + }, + ".updated>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.SortFieldTimeline", + "text": "SortFieldTimeline" + }, + ".created>]>" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.sortTimeline", + "type": "Object", + "tags": [], + "label": "sortTimeline", + "description": [], + "signature": [ + "TypeC", + "<{ sortField: ", + "UnionC", + "<[", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.SortFieldTimeline", + "text": "SortFieldTimeline" + }, + ".title>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.SortFieldTimeline", + "text": "SortFieldTimeline" + }, + ".description>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.SortFieldTimeline", + "text": "SortFieldTimeline" + }, + ".updated>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.SortFieldTimeline", + "text": "SortFieldTimeline" + }, + ".created>]>; sortOrder: ", + "UnionC", + "<[", + "LiteralC", + "<", + { + "pluginId": "timelines", + "scope": "common", + "docId": "kibTimelinesPluginApi", + "section": "def-common.Direction", + "text": "Direction" + }, + ".asc>, ", + "LiteralC", + "<", + { + "pluginId": "timelines", + "scope": "common", + "docId": "kibTimelinesPluginApi", + "section": "def-common.Direction", + "text": "Direction" + }, + ".desc>]>; }>" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.TemplateTimelineTypeLiteralRt", + "type": "Object", + "tags": [], + "label": "TemplateTimelineTypeLiteralRt", + "description": [], + "signature": [ + "UnionC", + "<[", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TemplateTimelineType", + "text": "TemplateTimelineType" + }, + ".elastic>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TemplateTimelineType", + "text": "TemplateTimelineType" + }, + ".custom>]>" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.TemplateTimelineTypeLiteralWithNullRt", + "type": "Object", + "tags": [], + "label": "TemplateTimelineTypeLiteralWithNullRt", + "description": [], + "signature": [ + "UnionC", + "<[", + "UnionC", + "<[", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TemplateTimelineType", + "text": "TemplateTimelineType" + }, + ".elastic>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TemplateTimelineType", + "text": "TemplateTimelineType" + }, + ".custom>]>, ", + "NullC", + "]>" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.TimelineErrorResponseType", + "type": "Object", + "tags": [], + "label": "TimelineErrorResponseType", + "description": [], + "signature": [ + "TypeC", + "<{ status_code: ", + "NumberC", + "; message: ", + "StringC", + "; }>" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.TimelineIdLiteralRt", + "type": "Object", + "tags": [], + "label": "TimelineIdLiteralRt", + "description": [], + "signature": [ + "UnionC", + "<[", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineId", + "text": "TimelineId" + }, + ".hostsPageEvents>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineId", + "text": "TimelineId" + }, + ".hostsPageExternalAlerts>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineId", + "text": "TimelineId" + }, + ".detectionsRulesDetailsPage>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineId", + "text": "TimelineId" + }, + ".detectionsPage>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineId", + "text": "TimelineId" + }, + ".networkPageExternalAlerts>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineId", + "text": "TimelineId" + }, + ".uebaPageExternalAlerts>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineId", + "text": "TimelineId" + }, + ".active>, ", + "LiteralC", + "<", + { + "pluginId": "securitySolution", + "scope": "common", + "docId": "kibSecuritySolutionPluginApi", + "section": "def-common.TimelineId", + "text": "TimelineId" + }, + ".test>]>" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.TimelineResponseType", + "type": "Object", + "tags": [], + "label": "TimelineResponseType", + "description": [ + "\nAll Timeline Saved object type with metadata" + ], + "signature": [ "TypeC", - "<{ pinnedEventId: ", - "StringC", - "; version: ", - "StringC", - "; }>, ", + "<{ data: ", + "TypeC", + "<{ persistTimeline: ", "IntersectionC", "<[", - "TypeC", - "<{ timelineId: ", - "StringC", - "; eventId: ", - "StringC", - "; }>, ", "PartialC", - "<{ created: ", - "UnionC", - "<[", - "NumberC", - ", ", - "NullC", - "]>; createdBy: ", - "UnionC", - "<[", - "StringC", - ", ", - "NullC", - "]>; updated: ", + "<{ code: ", "UnionC", "<[", "NumberC", ", ", "NullC", - "]>; updatedBy: ", - "UnionC", - "<[", - "StringC", - ", ", - "NullC", - "]>; }>]>, ", - "PartialC", - "<{ timelineVersion: ", + "]>; message: ", "UnionC", "<[", "StringC", ", ", "NullC", - "]>; }>]>>; }>]>; }>]>; }>; }>" - ], - "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "securitySolution", - "id": "def-common.TimelineSavedObjectRuntimeType", - "type": "Object", - "tags": [], - "label": "TimelineSavedObjectRuntimeType", - "description": [ - "\nTimeline Saved object type with metadata" - ], - "signature": [ + "]>; }>, ", + "TypeC", + "<{ timeline: ", "IntersectionC", "<[", - "TypeC", - "<{ id: ", - "StringC", - "; attributes: ", "PartialC", "<{ columns: ", "UnionC", @@ -28956,13 +30043,207 @@ "StringC", ", ", "NullC", - "]>; }>; version: ", + "]>; }>, ", + "TypeC", + "<{ savedObjectId: ", + "StringC", + "; version: ", "StringC", "; }>, ", "PartialC", - "<{ savedObjectId: ", + "<{ eventIdToNoteIds: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "IntersectionC", + "<[", + "TypeC", + "<{ timelineId: ", + "UnionC", + "<[", "StringC", - "; }>]>" + ", ", + "NullC", + "]>; }>, ", + "PartialC", + "<{ eventId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; note: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; created: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; createdBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; updated: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; updatedBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>, ", + "TypeC", + "<{ noteId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "PartialC", + "<{ timelineVersion: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>>; noteIds: ", + "ArrayC", + "<", + "StringC", + ">; notes: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "IntersectionC", + "<[", + "TypeC", + "<{ timelineId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>, ", + "PartialC", + "<{ eventId: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; note: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; created: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; createdBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; updated: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; updatedBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>, ", + "TypeC", + "<{ noteId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "PartialC", + "<{ timelineVersion: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>>; pinnedEventIds: ", + "ArrayC", + "<", + "StringC", + ">; pinnedEventsSaveObject: ", + "ArrayC", + "<", + "IntersectionC", + "<[", + "TypeC", + "<{ pinnedEventId: ", + "StringC", + "; version: ", + "StringC", + "; }>, ", + "IntersectionC", + "<[", + "TypeC", + "<{ timelineId: ", + "StringC", + "; eventId: ", + "StringC", + "; }>, ", + "PartialC", + "<{ created: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; createdBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; updated: ", + "UnionC", + "<[", + "NumberC", + ", ", + "NullC", + "]>; updatedBy: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>, ", + "PartialC", + "<{ timelineVersion: ", + "UnionC", + "<[", + "StringC", + ", ", + "NullC", + "]>; }>]>>; }>]>; }>]>; }>; }>" ], "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", "deprecated": false, diff --git a/api_docs/security_solution.mdx b/api_docs/security_solution.mdx index ba8a31b900684..e3920a4a3685f 100644 --- a/api_docs/security_solution.mdx +++ b/api_docs/security_solution.mdx @@ -1,7 +1,7 @@ --- id: kibSecuritySolutionPluginApi -slug: /kibana-dev-docs/securitySolutionPluginApi -title: securitySolution +slug: /kibana-dev-docs/api/securitySolution +title: "securitySolution" image: https://source.unsplash.com/400x175/?github summary: API docs for the securitySolution plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Security solution](https://github.com/orgs/elastic/teams/security-solut | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 1350 | 8 | 1296 | 29 | +| 1353 | 8 | 1299 | 29 | ## Client diff --git a/api_docs/share.json b/api_docs/share.json index b43475c924341..df192ba86bec3 100644 --- a/api_docs/share.json +++ b/api_docs/share.json @@ -362,7 +362,13 @@ "description": [], "signature": [ "

(locator: ", { "pluginId": "share", @@ -1899,7 +1905,13 @@ "; navigate(options: ", "RedirectOptions", "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">): void; }" ], "path": "src/plugins/share/public/plugin.ts", @@ -1930,7 +1942,13 @@ "; navigate(options: ", "RedirectOptions", "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">): void; }" ], "path": "src/plugins/share/public/plugin.ts", @@ -2050,7 +2068,13 @@ "(opts: ", "RedirectOptions", "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">, { lzCompress }: ", "FormatSearchParamsOptions", ") => URLSearchParams" @@ -2068,7 +2092,13 @@ "signature": [ "RedirectOptions", "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/share/common/url_service/locators/redirect/format_search_params.ts", @@ -2102,7 +2132,13 @@ "description": [], "signature": [ "

(locator: ", { "pluginId": "share", diff --git a/api_docs/share.mdx b/api_docs/share.mdx index 30329f244d340..38fb5dc1a8485 100644 --- a/api_docs/share.mdx +++ b/api_docs/share.mdx @@ -1,7 +1,7 @@ --- id: kibSharePluginApi -slug: /kibana-dev-docs/sharePluginApi -title: share +slug: /kibana-dev-docs/api/share +title: "share" image: https://source.unsplash.com/400x175/?github summary: API docs for the share plugin date: 2020-11-16 diff --git a/api_docs/snapshot_restore.mdx b/api_docs/snapshot_restore.mdx index ba3bae054440c..8d8e7fc210009 100644 --- a/api_docs/snapshot_restore.mdx +++ b/api_docs/snapshot_restore.mdx @@ -1,7 +1,7 @@ --- id: kibSnapshotRestorePluginApi -slug: /kibana-dev-docs/snapshotRestorePluginApi -title: snapshotRestore +slug: /kibana-dev-docs/api/snapshotRestore +title: "snapshotRestore" image: https://source.unsplash.com/400x175/?github summary: API docs for the snapshotRestore plugin date: 2020-11-16 diff --git a/api_docs/spaces.json b/api_docs/spaces.json index 4ec738fc62625..e8195a0a47fc4 100644 --- a/api_docs/spaces.json +++ b/api_docs/spaces.json @@ -1380,6 +1380,39 @@ "deprecated": false } ] + }, + { + "parentPluginId": "spaces", + "id": "def-public.SpacesApiUiComponent.getSavedObjectConflictMessage", + "type": "Function", + "tags": [], + "label": "getSavedObjectConflictMessage", + "description": [ + "\nDisplays a saved object conflict message that directs user to disable legacy URL alias" + ], + "signature": [ + "(props: ", + "SavedObjectConflictMessageProps", + ") => React.ReactElement React.ReactElement React.Component)> | null) | (new (props: any) => React.Component)>" + ], + "path": "x-pack/plugins/spaces/public/ui_api/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "spaces", + "id": "def-public.SpacesApiUiComponent.getSavedObjectConflictMessage.$1", + "type": "Uncategorized", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "T" + ], + "path": "x-pack/plugins/spaces/public/ui_api/types.ts", + "deprecated": false + } + ] } ], "initialIsOpen": false diff --git a/api_docs/spaces.mdx b/api_docs/spaces.mdx index 84d4f9a25360f..12e803604cede 100644 --- a/api_docs/spaces.mdx +++ b/api_docs/spaces.mdx @@ -1,7 +1,7 @@ --- id: kibSpacesPluginApi -slug: /kibana-dev-docs/spacesPluginApi -title: spaces +slug: /kibana-dev-docs/api/spaces +title: "spaces" image: https://source.unsplash.com/400x175/?github summary: API docs for the spaces plugin date: 2020-11-16 @@ -18,7 +18,7 @@ Contact [Platform Security](https://github.com/orgs/elastic/teams/kibana-securit | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 203 | 0 | 20 | 1 | +| 205 | 0 | 21 | 2 | ## Client diff --git a/api_docs/stack_alerts.json b/api_docs/stack_alerts.json index 2bb589a0801d4..0d1073a8c814e 100644 --- a/api_docs/stack_alerts.json +++ b/api_docs/stack_alerts.json @@ -45,7 +45,7 @@ "label": "Config", "description": [], "signature": [ - "{ readonly enabled: boolean; }" + "{}" ], "path": "x-pack/plugins/stack_alerts/common/config.ts", "deprecated": false, @@ -75,10 +75,14 @@ "label": "configSchema", "description": [], "signature": [ - "ObjectType", - "<{ enabled: ", - "Type", - "; }>" + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.ObjectType", + "text": "ObjectType" + }, + "<{}>" ], "path": "x-pack/plugins/stack_alerts/common/config.ts", "deprecated": false, diff --git a/api_docs/stack_alerts.mdx b/api_docs/stack_alerts.mdx index 151a55e1fa99f..c993ebc1bc37d 100644 --- a/api_docs/stack_alerts.mdx +++ b/api_docs/stack_alerts.mdx @@ -1,7 +1,7 @@ --- id: kibStackAlertsPluginApi -slug: /kibana-dev-docs/stackAlertsPluginApi -title: stackAlerts +slug: /kibana-dev-docs/api/stackAlerts +title: "stackAlerts" image: https://source.unsplash.com/400x175/?github summary: API docs for the stackAlerts plugin date: 2020-11-16 diff --git a/api_docs/task_manager.mdx b/api_docs/task_manager.mdx index 5ab7b60f8b2d0..2d1d8d0ea9c59 100644 --- a/api_docs/task_manager.mdx +++ b/api_docs/task_manager.mdx @@ -1,7 +1,7 @@ --- id: kibTaskManagerPluginApi -slug: /kibana-dev-docs/taskManagerPluginApi -title: taskManager +slug: /kibana-dev-docs/api/taskManager +title: "taskManager" image: https://source.unsplash.com/400x175/?github summary: API docs for the taskManager plugin date: 2020-11-16 diff --git a/api_docs/telemetry.mdx b/api_docs/telemetry.mdx index b7b7c1179891d..7a8ecc815a938 100644 --- a/api_docs/telemetry.mdx +++ b/api_docs/telemetry.mdx @@ -1,7 +1,7 @@ --- id: kibTelemetryPluginApi -slug: /kibana-dev-docs/telemetryPluginApi -title: telemetry +slug: /kibana-dev-docs/api/telemetry +title: "telemetry" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetry plugin date: 2020-11-16 diff --git a/api_docs/telemetry_collection_manager.json b/api_docs/telemetry_collection_manager.json index 237f1cc697691..39189b20705ae 100644 --- a/api_docs/telemetry_collection_manager.json +++ b/api_docs/telemetry_collection_manager.json @@ -465,7 +465,13 @@ "label": "logger", "description": [], "signature": [ - "Logger", + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + }, " | Console" ], "path": "src/plugins/telemetry_collection_manager/server/types.ts", diff --git a/api_docs/telemetry_collection_manager.mdx b/api_docs/telemetry_collection_manager.mdx index 9a42e2c1d1342..bd586fe9fd12d 100644 --- a/api_docs/telemetry_collection_manager.mdx +++ b/api_docs/telemetry_collection_manager.mdx @@ -1,7 +1,7 @@ --- id: kibTelemetryCollectionManagerPluginApi -slug: /kibana-dev-docs/telemetryCollectionManagerPluginApi -title: telemetryCollectionManager +slug: /kibana-dev-docs/api/telemetryCollectionManager +title: "telemetryCollectionManager" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetryCollectionManager plugin date: 2020-11-16 diff --git a/api_docs/telemetry_collection_xpack.mdx b/api_docs/telemetry_collection_xpack.mdx index f1c8e4503dd36..31554b7a78a46 100644 --- a/api_docs/telemetry_collection_xpack.mdx +++ b/api_docs/telemetry_collection_xpack.mdx @@ -1,7 +1,7 @@ --- id: kibTelemetryCollectionXpackPluginApi -slug: /kibana-dev-docs/telemetryCollectionXpackPluginApi -title: telemetryCollectionXpack +slug: /kibana-dev-docs/api/telemetryCollectionXpack +title: "telemetryCollectionXpack" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetryCollectionXpack plugin date: 2020-11-16 diff --git a/api_docs/telemetry_management_section.mdx b/api_docs/telemetry_management_section.mdx index 6929aaf47f75d..d30e107f313a4 100644 --- a/api_docs/telemetry_management_section.mdx +++ b/api_docs/telemetry_management_section.mdx @@ -1,7 +1,7 @@ --- id: kibTelemetryManagementSectionPluginApi -slug: /kibana-dev-docs/telemetryManagementSectionPluginApi -title: telemetryManagementSection +slug: /kibana-dev-docs/api/telemetryManagementSection +title: "telemetryManagementSection" image: https://source.unsplash.com/400x175/?github summary: API docs for the telemetryManagementSection plugin date: 2020-11-16 diff --git a/api_docs/timelines.json b/api_docs/timelines.json index 3df35d3b8ac28..eb31eb6849a86 100644 --- a/api_docs/timelines.json +++ b/api_docs/timelines.json @@ -1657,9 +1657,21 @@ "text": "ColumnHeaderType" }, "; description?: string | undefined; example?: string | undefined; format?: string | undefined; linkField?: string | undefined; placeholder?: string | undefined; subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; type?: string | undefined; })[]; id: string; title: string; filters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; sort: ", { "pluginId": "timelines", @@ -1697,7 +1709,13 @@ "text": "ColumnHeaderType" }, "; description?: string | undefined; example?: string | undefined; format?: string | undefined; linkField?: string | undefined; placeholder?: string | undefined; subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; type?: string | undefined; })[]; savedObjectId: string | null; unit?: ((n: number) => React.ReactNode) | undefined; dataProviders: ", { "pluginId": "timelines", @@ -6135,7 +6153,13 @@ "text": "ColumnHeaderType" }, "; description?: string | undefined; example?: string | undefined; format?: string | undefined; linkField?: string | undefined; placeholder?: string | undefined; subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; type?: string | undefined; }" ], "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx", @@ -8399,7 +8423,13 @@ "label": "subType", "description": [], "signature": [ - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined" ], "path": "x-pack/plugins/timelines/common/search_strategy/index_fields/index.ts", @@ -10157,7 +10187,13 @@ "label": "authFilter", "description": [], "signature": [ - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | undefined" ], "path": "x-pack/plugins/timelines/common/search_strategy/timeline/events/all/index.ts", @@ -10414,7 +10450,13 @@ "label": "authFilter", "description": [], "signature": [ - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | undefined" ], "path": "x-pack/plugins/timelines/common/search_strategy/timeline/events/details/index.ts", @@ -11251,7 +11293,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "x-pack/plugins/timelines/common/types/timeline/store.ts", @@ -11467,7 +11515,13 @@ "description": [], "signature": [ "string | ", - "JsonObject", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.JsonObject", + "text": "JsonObject" + }, " | ", "ESRangeQuery", " | ", @@ -12662,7 +12716,13 @@ "text": "ColumnHeaderType" }, "; description?: string | undefined; example?: string | undefined; format?: string | undefined; linkField?: string | undefined; placeholder?: string | undefined; subType?: ", - "IFieldSubType", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.IFieldSubType", + "text": "IFieldSubType" + }, " | undefined; type?: string | undefined; }" ], "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx", @@ -13548,7 +13608,13 @@ "description": [], "signature": [ "(status: ", - "STATUS_VALUES", + { + "pluginId": "@kbn/rule-data-utils", + "scope": "server", + "docId": "kibKbnRuleDataUtilsPluginApi", + "section": "def-server.STATUS_VALUES", + "text": "STATUS_VALUES" + }, ", error: Error) => void" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", @@ -13593,7 +13659,13 @@ "description": [], "signature": [ "(updated: number, conflicts: number, status: ", - "STATUS_VALUES", + { + "pluginId": "@kbn/rule-data-utils", + "scope": "server", + "docId": "kibKbnRuleDataUtilsPluginApi", + "section": "def-server.STATUS_VALUES", + "text": "STATUS_VALUES" + }, ") => void" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", @@ -14220,7 +14292,13 @@ "text": "TimelineNonEcsData" }, "[][]; globalFilters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; pageSize: number; timelineId: string; }) => (props: ", "EuiDataGridColumnCellActionProps", ") => React.ReactNode" @@ -14254,7 +14332,13 @@ "text": "TimelineNonEcsData" }, "[][]; globalFilters?: ", - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined; pageSize: number; timelineId: string; }" ], "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx", diff --git a/api_docs/timelines.mdx b/api_docs/timelines.mdx index 95b8dba3ce10a..2bcb5f5fabb72 100644 --- a/api_docs/timelines.mdx +++ b/api_docs/timelines.mdx @@ -1,7 +1,7 @@ --- id: kibTimelinesPluginApi -slug: /kibana-dev-docs/timelinesPluginApi -title: timelines +slug: /kibana-dev-docs/api/timelines +title: "timelines" image: https://source.unsplash.com/400x175/?github summary: API docs for the timelines plugin date: 2020-11-16 diff --git a/api_docs/triggers_actions_ui.json b/api_docs/triggers_actions_ui.json index eeb23ea589d99..b7e953917aaad 100644 --- a/api_docs/triggers_actions_ui.json +++ b/api_docs/triggers_actions_ui.json @@ -3444,7 +3444,13 @@ "// name of the indices to search" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -3460,7 +3466,13 @@ "// field in index used for date/time" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -3476,7 +3488,13 @@ "// aggregation type" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -3492,7 +3510,13 @@ "// aggregation field" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -3508,7 +3532,13 @@ "// how to group" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -3524,7 +3554,13 @@ "// field to group on (for groupBy: top)" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -3540,7 +3576,13 @@ "// limit on number of groups returned" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -3556,7 +3598,13 @@ "// size of time window for date range aggregations" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", @@ -3572,7 +3620,13 @@ "// units of time window for date range aggregations" ], "signature": [ - "Type", + { + "pluginId": "@kbn/config-schema", + "scope": "server", + "docId": "kibKbnConfigSchemaPluginApi", + "section": "def-server.Type", + "text": "Type" + }, "" ], "path": "x-pack/plugins/triggers_actions_ui/server/data/lib/core_query_types.ts", diff --git a/api_docs/triggers_actions_ui.mdx b/api_docs/triggers_actions_ui.mdx index 4bdd41535d348..0b6139e8ae9db 100644 --- a/api_docs/triggers_actions_ui.mdx +++ b/api_docs/triggers_actions_ui.mdx @@ -1,7 +1,7 @@ --- id: kibTriggersActionsUiPluginApi -slug: /kibana-dev-docs/triggersActionsUiPluginApi -title: triggersActionsUi +slug: /kibana-dev-docs/api/triggersActionsUi +title: "triggersActionsUi" image: https://source.unsplash.com/400x175/?github summary: API docs for the triggersActionsUi plugin date: 2020-11-16 diff --git a/api_docs/ui_actions.mdx b/api_docs/ui_actions.mdx index 6c5d6381c3b7c..b5e8c1f69d8a7 100644 --- a/api_docs/ui_actions.mdx +++ b/api_docs/ui_actions.mdx @@ -1,7 +1,7 @@ --- id: kibUiActionsPluginApi -slug: /kibana-dev-docs/uiActionsPluginApi -title: uiActions +slug: /kibana-dev-docs/api/uiActions +title: "uiActions" image: https://source.unsplash.com/400x175/?github summary: API docs for the uiActions plugin date: 2020-11-16 diff --git a/api_docs/ui_actions_enhanced.json b/api_docs/ui_actions_enhanced.json index 0bf79e6636110..afbe1367be1d3 100644 --- a/api_docs/ui_actions_enhanced.json +++ b/api_docs/ui_actions_enhanced.json @@ -1566,7 +1566,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">, triggers: string[]) => Promise" ], "path": "x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts", @@ -1590,7 +1596,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts", @@ -1635,7 +1647,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">, triggers: string[]) => Promise" ], "path": "x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts", @@ -1675,7 +1693,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts", @@ -1856,7 +1880,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">; }[]>" ], "path": "x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_storage.ts", @@ -3051,7 +3081,13 @@ "text": "ActionFactory" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ", object, ", { "pluginId": "uiActionsEnhanced", @@ -3196,7 +3232,13 @@ "label": "BaseActionConfig", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "x-pack/plugins/ui_actions_enhanced/common/types.ts", "deprecated": false, @@ -3271,7 +3313,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">; }" ], "path": "x-pack/plugins/ui_actions_enhanced/common/types.ts", @@ -3351,7 +3399,13 @@ "text": "UiActionsService" }, ", ", - "MethodKeysOf", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.MethodKeysOf", + "text": "MethodKeysOf" + }, "<", { "pluginId": "uiActions", @@ -3765,7 +3819,13 @@ "label": "BaseActionConfig", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "x-pack/plugins/ui_actions_enhanced/common/types.ts", "deprecated": false, @@ -3826,7 +3886,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">; }" ], "path": "x-pack/plugins/ui_actions_enhanced/common/types.ts", @@ -3940,7 +4006,13 @@ "label": "BaseActionConfig", "description": [], "signature": [ - "SerializableRecord" + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + } ], "path": "x-pack/plugins/ui_actions_enhanced/common/types.ts", "deprecated": false, @@ -4001,7 +4073,13 @@ "text": "SerializedAction" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">; }" ], "path": "x-pack/plugins/ui_actions_enhanced/common/types.ts", diff --git a/api_docs/ui_actions_enhanced.mdx b/api_docs/ui_actions_enhanced.mdx index b8472e2e56e08..52f5c0f38743b 100644 --- a/api_docs/ui_actions_enhanced.mdx +++ b/api_docs/ui_actions_enhanced.mdx @@ -1,7 +1,7 @@ --- id: kibUiActionsEnhancedPluginApi -slug: /kibana-dev-docs/uiActionsEnhancedPluginApi -title: uiActionsEnhanced +slug: /kibana-dev-docs/api/uiActionsEnhanced +title: "uiActionsEnhanced" image: https://source.unsplash.com/400x175/?github summary: API docs for the uiActionsEnhanced plugin date: 2020-11-16 diff --git a/api_docs/url_forwarding.mdx b/api_docs/url_forwarding.mdx index 2a6fe2f30e73d..d047a26076504 100644 --- a/api_docs/url_forwarding.mdx +++ b/api_docs/url_forwarding.mdx @@ -1,7 +1,7 @@ --- id: kibUrlForwardingPluginApi -slug: /kibana-dev-docs/urlForwardingPluginApi -title: urlForwarding +slug: /kibana-dev-docs/api/urlForwarding +title: "urlForwarding" image: https://source.unsplash.com/400x175/?github summary: API docs for the urlForwarding plugin date: 2020-11-16 diff --git a/api_docs/usage_collection.json b/api_docs/usage_collection.json index f6e5ca81bc7ec..d091924dd664f 100644 --- a/api_docs/usage_collection.json +++ b/api_docs/usage_collection.json @@ -140,7 +140,13 @@ ], "signature": [ "(appName: string, type: ", - "UiCounterMetricType", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, ", eventNames: string | string[], count?: number | undefined) => void" ], "path": "src/plugins/usage_collection/public/plugin.tsx", @@ -168,7 +174,13 @@ "label": "type", "description": [], "signature": [ - "UiCounterMetricType" + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + } ], "path": "src/plugins/usage_collection/public/plugin.tsx", "deprecated": false, @@ -232,7 +244,13 @@ ], "signature": [ "(appName: string, type: ", - "UiCounterMetricType", + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + }, ", eventNames: string | string[], count?: number | undefined) => void" ], "path": "src/plugins/usage_collection/public/plugin.tsx", @@ -260,7 +278,13 @@ "label": "type", "description": [], "signature": [ - "UiCounterMetricType" + { + "pluginId": "@kbn/analytics", + "scope": "common", + "docId": "kibKbnAnalyticsPluginApi", + "section": "def-common.UiCounterMetricType", + "text": "UiCounterMetricType" + } ], "path": "src/plugins/usage_collection/public/plugin.tsx", "deprecated": false, @@ -338,7 +362,13 @@ "Logger" ], "signature": [ - "Logger" + { + "pluginId": "@kbn/logging", + "scope": "server", + "docId": "kibKbnLoggingPluginApi", + "section": "def-server.Logger", + "text": "Logger" + } ], "path": "src/plugins/usage_collection/server/collector/types.ts", "deprecated": false diff --git a/api_docs/usage_collection.mdx b/api_docs/usage_collection.mdx index 3395c5e5277e3..1ae8276529778 100644 --- a/api_docs/usage_collection.mdx +++ b/api_docs/usage_collection.mdx @@ -1,7 +1,7 @@ --- id: kibUsageCollectionPluginApi -slug: /kibana-dev-docs/usageCollectionPluginApi -title: usageCollection +slug: /kibana-dev-docs/api/usageCollection +title: "usageCollection" image: https://source.unsplash.com/400x175/?github summary: API docs for the usageCollection plugin date: 2020-11-16 diff --git a/api_docs/vis_default_editor.mdx b/api_docs/vis_default_editor.mdx index 608b2478b1cd0..a60d151241420 100644 --- a/api_docs/vis_default_editor.mdx +++ b/api_docs/vis_default_editor.mdx @@ -1,7 +1,7 @@ --- id: kibVisDefaultEditorPluginApi -slug: /kibana-dev-docs/visDefaultEditorPluginApi -title: visDefaultEditor +slug: /kibana-dev-docs/api/visDefaultEditor +title: "visDefaultEditor" image: https://source.unsplash.com/400x175/?github summary: API docs for the visDefaultEditor plugin date: 2020-11-16 diff --git a/api_docs/vis_type_pie.mdx b/api_docs/vis_type_pie.mdx index dfa84fd6578b4..e8d44f047911b 100644 --- a/api_docs/vis_type_pie.mdx +++ b/api_docs/vis_type_pie.mdx @@ -1,7 +1,7 @@ --- id: kibVisTypePiePluginApi -slug: /kibana-dev-docs/visTypePiePluginApi -title: visTypePie +slug: /kibana-dev-docs/api/visTypePie +title: "visTypePie" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypePie plugin date: 2020-11-16 diff --git a/api_docs/vis_type_table.mdx b/api_docs/vis_type_table.mdx index 53e8402a850ed..0ce75b5e80990 100644 --- a/api_docs/vis_type_table.mdx +++ b/api_docs/vis_type_table.mdx @@ -1,7 +1,7 @@ --- id: kibVisTypeTablePluginApi -slug: /kibana-dev-docs/visTypeTablePluginApi -title: visTypeTable +slug: /kibana-dev-docs/api/visTypeTable +title: "visTypeTable" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeTable plugin date: 2020-11-16 diff --git a/api_docs/vis_type_timelion.mdx b/api_docs/vis_type_timelion.mdx index 54ff65c2dc18a..b3db40c41a9f8 100644 --- a/api_docs/vis_type_timelion.mdx +++ b/api_docs/vis_type_timelion.mdx @@ -1,7 +1,7 @@ --- id: kibVisTypeTimelionPluginApi -slug: /kibana-dev-docs/visTypeTimelionPluginApi -title: visTypeTimelion +slug: /kibana-dev-docs/api/visTypeTimelion +title: "visTypeTimelion" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeTimelion plugin date: 2020-11-16 diff --git a/api_docs/vis_type_timeseries.mdx b/api_docs/vis_type_timeseries.mdx index abdc4801664b9..ee1f1e860dbd0 100644 --- a/api_docs/vis_type_timeseries.mdx +++ b/api_docs/vis_type_timeseries.mdx @@ -1,7 +1,7 @@ --- id: kibVisTypeTimeseriesPluginApi -slug: /kibana-dev-docs/visTypeTimeseriesPluginApi -title: visTypeTimeseries +slug: /kibana-dev-docs/api/visTypeTimeseries +title: "visTypeTimeseries" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeTimeseries plugin date: 2020-11-16 diff --git a/api_docs/vis_type_vega.mdx b/api_docs/vis_type_vega.mdx index 7bb64a0dc1721..b8a3010b808c3 100644 --- a/api_docs/vis_type_vega.mdx +++ b/api_docs/vis_type_vega.mdx @@ -1,7 +1,7 @@ --- id: kibVisTypeVegaPluginApi -slug: /kibana-dev-docs/visTypeVegaPluginApi -title: visTypeVega +slug: /kibana-dev-docs/api/visTypeVega +title: "visTypeVega" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeVega plugin date: 2020-11-16 diff --git a/api_docs/vis_type_vislib.mdx b/api_docs/vis_type_vislib.mdx index f7705094f018f..a16a11a4fb5d1 100644 --- a/api_docs/vis_type_vislib.mdx +++ b/api_docs/vis_type_vislib.mdx @@ -1,7 +1,7 @@ --- id: kibVisTypeVislibPluginApi -slug: /kibana-dev-docs/visTypeVislibPluginApi -title: visTypeVislib +slug: /kibana-dev-docs/api/visTypeVislib +title: "visTypeVislib" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeVislib plugin date: 2020-11-16 diff --git a/api_docs/vis_type_xy.mdx b/api_docs/vis_type_xy.mdx index 2efaa05e9ca2e..58a554c36bba6 100644 --- a/api_docs/vis_type_xy.mdx +++ b/api_docs/vis_type_xy.mdx @@ -1,7 +1,7 @@ --- id: kibVisTypeXyPluginApi -slug: /kibana-dev-docs/visTypeXyPluginApi -title: visTypeXy +slug: /kibana-dev-docs/api/visTypeXy +title: "visTypeXy" image: https://source.unsplash.com/400x175/?github summary: API docs for the visTypeXy plugin date: 2020-11-16 diff --git a/api_docs/visualizations.json b/api_docs/visualizations.json index b27658351a3e4..e93eec8a07ee8 100644 --- a/api_docs/visualizations.json +++ b/api_docs/visualizations.json @@ -270,17 +270,17 @@ }, ") => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, "[] | Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -1256,7 +1256,13 @@ "text": "SerializedFieldFormat" }, "> | undefined; source?: string | undefined; sourceParams?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }; id: string; name: string; }[]; type: \"datatable\"; rows: Record[]; }" ], "path": "src/plugins/visualizations/common/prepare_log_table.ts", @@ -1324,7 +1330,13 @@ "text": "SavedVisState" }, "<", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">" ], "path": "src/plugins/visualizations/public/legacy/vis_update_state.d.ts", @@ -2104,7 +2116,13 @@ "description": [], "signature": [ "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }[]" ], "path": "src/plugins/visualizations/public/vis.ts", @@ -2197,9 +2215,9 @@ "description": [], "signature": [ { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -2606,9 +2624,9 @@ }, ">) => void; createFilter: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -2621,16 +2639,28 @@ "text": "TimeRange" }, " | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined; createRelativeFilter: (indexPattern: ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IIndexPattern", "text": "IIndexPattern" }, @@ -2643,9 +2673,21 @@ "text": "TimeRange" }, " | undefined) => ", - "RangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.RangeFilter", + "text": "RangeFilter" + }, " | ", - "ScriptedRangeFilter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.ScriptedRangeFilter", + "text": "ScriptedRangeFilter" + }, " | ", "MatchAllRangeFilter", " | undefined; getBounds: () => ", @@ -3015,17 +3057,17 @@ }, ") => ", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, "[] | Promise<", { - "pluginId": "data", + "pluginId": "dataViews", "scope": "common", - "docId": "kibDataDataViewsPluginApi", + "docId": "kibDataViewsPluginApi", "section": "def-common.IndexPattern", "text": "IndexPattern" }, @@ -3749,7 +3791,13 @@ "label": "query", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts", @@ -3763,7 +3811,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[] | undefined" ], "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts", @@ -3934,7 +3988,13 @@ "description": [], "signature": [ "{ title: string; type: string; params: TVisParams; aggs: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }[]; }" ], "path": "src/plugins/visualizations/common/types.ts", @@ -5067,7 +5127,13 @@ "text": "SerializedFieldFormat" }, "> | undefined; source?: string | undefined; sourceParams?: ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; }; id: string; name: string; }[]; type: \"datatable\"; rows: Record[]; }" ], "path": "src/plugins/visualizations/common/prepare_log_table.ts", @@ -5167,7 +5233,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/visualizations/common/expression_functions/range.ts", @@ -5241,7 +5313,13 @@ "text": "Adapters" }, ", ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, ">>" ], "path": "src/plugins/visualizations/common/expression_functions/vis_dimension.ts", @@ -5511,7 +5589,13 @@ "description": [], "signature": [ "{ title: string; type: string; params: TVisParams; aggs: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", + { + "pluginId": "@kbn/utility-types", + "scope": "server", + "docId": "kibKbnUtilityTypesPluginApi", + "section": "def-server.SerializableRecord", + "text": "SerializableRecord" + }, " | undefined; schema?: string | undefined; }[]; }" ], "path": "src/plugins/visualizations/common/types.ts", diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index 012db4b9db9d8..a9501b59a1a55 100644 --- a/api_docs/visualizations.mdx +++ b/api_docs/visualizations.mdx @@ -1,7 +1,7 @@ --- id: kibVisualizationsPluginApi -slug: /kibana-dev-docs/visualizationsPluginApi -title: visualizations +slug: /kibana-dev-docs/api/visualizations +title: "visualizations" image: https://source.unsplash.com/400x175/?github summary: API docs for the visualizations plugin date: 2020-11-16 diff --git a/api_docs/visualize.json b/api_docs/visualize.json index 7cafece8d41af..86196b0ba34c0 100644 --- a/api_docs/visualize.json +++ b/api_docs/visualize.json @@ -60,7 +60,13 @@ "label": "filters", "description": [], "signature": [ - "Filter", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Filter", + "text": "Filter" + }, "[]" ], "path": "src/plugins/visualize/public/application/types.ts", @@ -87,7 +93,13 @@ "label": "query", "description": [], "signature": [ - "Query", + { + "pluginId": "@kbn/es-query", + "scope": "common", + "docId": "kibKbnEsQueryPluginApi", + "section": "def-common.Query", + "text": "Query" + }, " | undefined" ], "path": "src/plugins/visualize/public/application/types.ts", diff --git a/api_docs/visualize.mdx b/api_docs/visualize.mdx index 0d387e370c1a0..6b10d622e473c 100644 --- a/api_docs/visualize.mdx +++ b/api_docs/visualize.mdx @@ -1,7 +1,7 @@ --- id: kibVisualizePluginApi -slug: /kibana-dev-docs/visualizePluginApi -title: visualize +slug: /kibana-dev-docs/api/visualize +title: "visualize" image: https://source.unsplash.com/400x175/?github summary: API docs for the visualize plugin date: 2020-11-16 diff --git a/config/kibana.yml b/config/kibana.yml index dea9849f17b28..2648cdfa924ae 100644 --- a/config/kibana.yml +++ b/config/kibana.yml @@ -84,24 +84,31 @@ # Time in milliseconds for Elasticsearch to wait for responses from shards. Set to 0 to disable. #elasticsearch.shardTimeout: 30000 -# Logs queries sent to Elasticsearch. Requires logging.verbose set to true. -#elasticsearch.logQueries: false - # Specifies the path where Kibana creates the process ID file. #pid.file: /run/kibana/kibana.pid -# Enables you to specify a file where Kibana stores log output. -#logging.dest: stdout - -# Set the value of this setting to true to suppress all logging output. -#logging.silent: false +# Set the value of this setting to off to suppress all logging output, or to debug to log everything. +#logging.root.level: debug -# Set the value of this setting to true to suppress all logging output other than error messages. -#logging.quiet: false - -# Set the value of this setting to true to log all events, including system usage information -# and all requests. -#logging.verbose: false +# Enables you to specify a file where Kibana stores log output. +#logging.appenders.default: +# type: file +# fileName: /var/logs/kibana.log + +# Logs queries sent to Elasticsearch. +#logging.loggers: +# - name: elasticsearch.queries +# level: debug + +# Logs http responses. +#logging.loggers: +# - name: http.server.response +# level: debug + +# Logs system usage information. +#logging.loggers: +# - name: metrics.ops +# level: debug # Set the interval in milliseconds to sample system and process performance # metrics. Minimum is 100ms. Defaults to 5000. diff --git a/dev_docs/assets/1000_ft_arch.png b/dev_docs/assets/1000_ft_arch.png new file mode 100644 index 0000000000000..715c830606d76 Binary files /dev/null and b/dev_docs/assets/1000_ft_arch.png differ diff --git a/dev_docs/assets/state_inside_the_link.png b/dev_docs/assets/state_inside_the_link.png new file mode 100644 index 0000000000000..833478ccbda68 Binary files /dev/null and b/dev_docs/assets/state_inside_the_link.png differ diff --git a/dev_docs/key_concepts/kibana_platform_plugin_intro.mdx b/dev_docs/key_concepts/kibana_platform_plugin_intro.mdx index b2255dbc8e5c4..133b96f44da88 100644 --- a/dev_docs/key_concepts/kibana_platform_plugin_intro.mdx +++ b/dev_docs/key_concepts/kibana_platform_plugin_intro.mdx @@ -1,7 +1,7 @@ --- id: kibPlatformIntro slug: /kibana-dev-docs/key-concepts/platform-intro -title: Plugins and the Kibana platform +title: Plugins, packages, and the platform summary: An introduction to the Kibana platform and how to use it to build a plugin. date: 2021-01-06 tags: ['kibana', 'onboarding', 'dev', 'architecture'] @@ -17,30 +17,47 @@ already existing applications. Did you know that almost everything you see in th Kibana UI is built inside a plugin? If you removed all plugins from Kibana, you'd be left with an empty navigation menu, and a set of developer tools. The Kibana platform is a blank canvas, just waiting for a developer to come along and create something! -![Kibana personas](assets/kibana_platform_plugin_end_user.png) +![Kibana personas](../assets/kibana_platform_plugin_end_user.png) -## Platform services +## 1,000 foot view -Plugins have access to three kinds of public services: +At a super high-level, Kibana is composed of **plugins**, **core**, and **Kibana packages**. -- Platform services provided by `core` () -- Platform services provided by plugins () -- Shared services provided by plugins, that are only relevant for only a few, specific plugins (e.g. "presentation utils"). +![Kibana 1000 ft arch](../assets/1000_ft_arch.png) -The first two items are what make up "Platform services". +**Plugins** provide the majority of all functionality in Kibana. All applications and UIs are defined here. - +**Core** provides the runtime and the most fundamental services. -We try to put only the most stable and fundamental code into `Core`, while more application focused functionality goes in a plugin, but the heuristic isn't -clear, and we haven't done a great job of sticking to it. For example, notifications and toasts are core services, but data and search are plugin services. +**@kbn packages** provide static utilities that can be imported anywhere in Kibana. + + + +If it's stateful, it has to go in a plugin, but packages are often a good choices for stateless utilities. Stateless code exported publicly from a plugin will increase the page load bundle size of _every single page_, even if none of those plugin's services are actually needed. With packages, however, only code that is needed for the current page is downloaded. + +The downside however is that the packages folder is far away from the plugins folder so having a part of your code in a plugin and the rest in a package may make it hard to find, leading to duplication. + +The Operations team hopes to resolve this conundrum by supporting co-located packages and plugins and automatically putting all stateless code inside a package. You can track this work by following [this issue](https://github.com/elastic/kibana/issues/112886). + +Until then, consider whether it makes sense to logically separate the code, and consider the size of the exports, when determining whether you should put stateless public exports in a package or a plugin. + + + + + + + +We try to put only the most stable and fundamental code into `Core`, while optional add-ons, applications, and solution-oriented functionality goes in a plugin. Unfortunately, we haven't done a great job of sticking to that. For example, notifications and toasts are core services, but data and search are plugin services. Today it looks something like this. -![Core vs platform plugins vs plugins](assets/platform_plugins_core.png) +![Core vs platform plugins vs plugins](../assets/platform_plugins_core.png) + +"Platform plugins" provide core-like functionality, just outside of core, and their public APIs tend to be more volatile. Other plugins may still expose shared services, but they are intended only for usage by a small subset of specific plugins, and may not be generic or "platform-like". - -When the Kibana platform and plugin infrastructure was built, we thought of two types of code: core services, and other plugin services. We planned to keep the most stable and fundamental -code needed to build plugins inside core. +**A bit of history** + +When the Kibana platform and plugin infrastructure was built, we thought of two types of code: core services, and other plugin services. We planned to keep the most stable and fundamental code needed to build plugins inside core. In reality, we ended up with many platform-like services living outside of core, with no (short term) intention of moving them. We highly encourage plugin developers to use them, so we consider them part of platform services. @@ -49,36 +66,18 @@ When we built our platform system, we also thought we'd end up with only a handf footprint and speed up Kibana. In reality, our plugin model ended up being used like micro-services. Plugins are the only form of encapsulation we provide developers, and they liked it! However, we ended -up with a ton of small plugins, that developers never intended to be uninstallable, nor tested in this manner. We are considering ways to provide developers the ability to build services -with the encapsulation -they desire, without the need to build a plugin. +up with a ton of small plugins, that developers never intended to be uninstallable, nor tested in this manner. We are considering ways to provide developers the ability to build services with the encapsulation they desire, without the need to build a plugin. Another side effect of having many small plugins is that common code often ends up extracted into another plugin. Use case specific utilities are exported, that are not meant to be used in a general manner. This makes our definition of "platform code" a bit trickier to define. We'd like to say "The platform is made up of -every publically exposed service", but in today's world, that wouldn't be a very accurate picture. +every publicly exposed service", but in today's world, that wouldn't be a very accurate picture. We recognize the need to better clarify the relationship between core functionality, platform-like plugin functionality, and functionality exposed by other plugins. It's something we will be working on! - - We will continue to focus on adding clarity around these types of services and what developers can expect from each. - - -### Core services - -Sometimes referred to just as provide the most basic and fundamental tools neccessary for building a plugin, like creating saved objects, -routing, application registration, notifications and . The Core platform is not a plugin itself, although -there are some plugins that provide platform functionality. We call these . - -### Platform plugins - -Plugins that provide fundamental services and functionality to extend and customize Kibana, for example, the - - plugin. There is no official way to tell if a plugin is a -platform plugin or not. Platform plugins are _usually_ plugins that are managed by the Platform Group, -but we are starting to see some exceptions. + ## Plugins @@ -92,7 +91,7 @@ A plugin may register many applications, or none. Applications are top level pages in the Kibana UI. Dashboard, Canvas, Maps, App Search, etc, are all examples of applications: -![applications in kibana](./assets/applications.png) +![applications in kibana](../assets/applications.png) A plugin can register an application by adding it to core's application . diff --git a/dev_docs/key_concepts/navigation.mdx b/dev_docs/key_concepts/navigation.mdx new file mode 100644 index 0000000000000..85b0fe8429a54 --- /dev/null +++ b/dev_docs/key_concepts/navigation.mdx @@ -0,0 +1,219 @@ +--- +id: kibDevKeyConceptsNavigation +slug: /kibana-dev-docs/routing-and-navigation +title: Routing, Navigation and URL +summary: Learn best practices about navigation inside Kibana +date: 2021-10-05 +tags: ['kibana', 'dev', 'architecture', 'contributor'] +--- + +The Kibana platform provides a set of tools to help developers build consistent experience around routing and browser navigation. +Some of that tooling is inside `core`, some is available as part of various plugins. + +The purpose of this guide is to give a high-level overview of available tools and to explain common approaches for handling routing and browser navigation. + +This guide covers following topics: + +* [Deep-linking into apps](#deep-linking) +* [Navigating between apps](#navigating-between-kibana-apps) +* [Setting up internal app routing](#routing) +* [Using history and browser location](#history-and-location) +* [Syncing state with URL](#state-sync) +* [Preserving state between navigations](#preserve-state) + +## Deep-linking into apps + +Assuming you want to link from your app to *Discover*. When building such URL there are two things to consider: + +1. Prepending a proper `basePath`. +2. Specifying *Discover* state. + +### Prepending a proper `basePath` + +To prepend Kibana's `basePath` use the [core.http.basePath.prepend](https://github.com/elastic/kibana/blob/master/docs/development/core/public/kibana-plugin-core-public.ibasepath.prepend.md) helper: + +```tsx +const discoverUrl = core.http.basePath.prepend(`/discover`); + +console.log(discoverUrl); // http://localhost:5601/bpr/s/space/app/discover +``` + +### Specifying state + +**Consider a Kibana app URL a part of app's plugin contract:** + +- Avoid hardcoding other app's URL in your app's code. +- Avoid generating other app's state and serializing it into URL query params. + +```tsx +// Avoid relying on other app's state structure in your app's code: +const discoverUrlWithSomeState = core.http.basePath.prepend(`/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:'2020-09-10T11:39:50.203Z',to:'2020-09-10T11:40:20.249Z'))&_a=(columns:!(_source),filters:!(),index:'90943e30-9a47-11e8-b64d-95841ca0b247',interval:auto,query:(language:kuery,query:''),sort:!())`); +``` + +Instead, each app should expose {kib-repo}tree/{branch}/src/plugins/share/common/url_service/locators/README.md[a locator]. +Other apps should use those locators for navigation or URL creation. + +```tsx +// Properly generated URL to *Discover* app. Locator code is owned by *Discover* app and available on *Discover*'s plugin contract. +const discoverUrl = await plugins.discover.locator.getUrl({filters, timeRange}); +// or directly execute navigation +await plugins.discover.locator.navigate({filters, timeRange}); +``` + +To get a better idea, take a look at *Discover* locator [implementation](https://github.com/elastic/kibana/blob/master/src/plugins/discover/public/locator.ts). +It allows specifying various **Discover** app state pieces like: index pattern, filters, query, time range and more. + +There are two ways to access locators of other apps: + +1. From a plugin contract of a destination app *(preferred)*. +2. Using locator client in `share` plugin (case an explicit plugin dependency is not possible). + +In case you want other apps to link to your app, then you should create a locator and expose it on your plugin's contract. + +## Navigating between apps + +Kibana is a single page application and there is a set of simple rules developers should follow +to make sure there is no page reload when navigating from one place in Kibana to another. + +For example, navigation using native browser APIs would cause a full page reload. + +```ts +const urlToADashboard = core.http.basePath.prepend(`/dashboard/my-dashboard`); + +// this would cause a full page reload: +window.location.href = urlToADashboard; +``` + +To navigate between different Kibana apps without a page reload there are APIs in `core`: + +* [core.application.navigateToApp](https://github.com/elastic/kibana/blob/master/docs/development/core/public/kibana-plugin-core-public.applicationstart.navigatetoapp.md) +* [core.application.navigateToUrl](https://github.com/elastic/kibana/blob/master/docs/development/core/public/kibana-plugin-core-public.applicationstart.navigatetourl.md) + +*Rendering a link to a different app on its own would also cause a full page reload:* + +```jsx +const myLink = () => +Go to Dashboard; +``` + +A workaround could be to handle a click, prevent browser navigation and use `core.application.navigateToApp` API: + +```jsx +const MySPALink = () => + { + e.preventDefault(); + core.application.navigateToApp('dashboard', { path: '/my-dashboard' }); + }} +> + Go to Dashboard +; +``` + +As it would be too much boilerplate to do this for each link in your app, there is a handy wrapper that helps with it: +[RedirectAppLinks](https://github.com/elastic/kibana/blob/master/src/plugins/kibana_react/public/app_links/redirect_app_link.tsx#L49). + +[source,typescript jsx] +---- +const MyApp = () => + + {/*...*/} + {/* navigations using this link will happen in SPA friendly way */} + Go to Dashboard + {/*...*/} + +---- + +## Setting up internal app routing + +It is very common for Kibana apps to use React and React Router. + +Common rules to follow in this scenario: +- Set up `BrowserRouter` and not `HashRouter`. +- Initialize your router with `history` instance provided by the `core`. + +This is required to make sure `core` is aware of navigations triggered inside your app, so it could act accordingly when needed. + +* `Core`'s [ScopedHistory](https://github.com/elastic/kibana/blob/master/docs/development/core/public/kibana-plugin-core-public.scopedhistory.md) instance. +* [Example usage](https://github.com/elastic/kibana/blob/master/docs/development/core/public/kibana-plugin-core-public.appmountparameters.history.md) +* [Example plugin](https://github.com/elastic/kibana/blob/master/test/plugin_functional/plugins/core_plugin_a/public/application.tsx#L120) + +Relative links will be resolved relative to your app's route (e.g.: `http://localhost5601/app/{your-app-id}`) +and setting up internal links in your app in SPA friendly way would look something like: + +```tsx +import { Link } from 'react-router-dom'; + +const MyInternalLink = () => +``` + +## Using history and browser location + +Try to avoid using `window.location` and `window.history` directly. + + + Instead, use [ScopedHistory](https://github.com/elastic/kibana/blob/master/docs/development/core/public/kibana-plugin-core-public.scopedhistory.md) instance provided by `core`. + + +- This way `core` will know about location changes triggered within your app, and it would act accordingly. +- Some plugins are listening to location changes. Triggering location change manually could lead to unpredictable and hard-to-catch bugs. + +Common use-case for using `core`'s `ScopedHistory` directly: +- Reading/writing query params or hash. +- Imperatively triggering internal navigations within your app. +- Listening to browser location changes. + +## Syncing state with URL + +Historically Kibana apps store _a lot_ of application state in the URL. +The most common pattern that {kib} apps follow today is storing state in `_a` and `_g` query params in [rison](https://github.com/w33ble/rison-node#readme) format. + +Those query params follow the convention: + +- `_g` (*global*) - global UI state that should be shared and synced across multiple apps. common example from Analyze group apps: time range, refresh interval, *pinned* filters. +- `_a` (*application*) - UI state scoped to current app. + +NOTE: After migrating to KP platform we got navigations without page reloads. Since then there is no real need to follow `_g` and `_a` separation anymore. It's up you to decide if you want to follow this pattern or if you prefer a single query param or something else. The need for this separation earlier is explained in the next section. + +There are utils to help you to implement such kind of state syncing. + +**When you should consider using state syncing utils:** + +- You want to sync your application state with URL in similar manner Analyze group applications do. +- You want to follow platform's history and location best practices out of the box. +- You want to support `state:storeInSessionStore` escape hatch for URL overflowing out of the box. +- You should also consider using them if you'd like to serialize state to different (not `rison`) format. Utils are composable, and you can implement your own `storage`. +- In case you want to sync part of your state with URL, but other part of it with browser storage. + +**When you shouldn't use state syncing utils:** + +- Adding a query param flag or simple key/value to the URL. + + + Follow [these docs](https://github.com/elastic/kibana/blob/master/src/plugins/kibana_utils/docs/state_sync#state-syncing-utilities) to learn more. + + +## Preserving state between navigations + +Consider the scenario: + +1. You are in *Dashboard* app looking at a dashboard with some filters applied; +2. Navigate to *Discover* using in-app navigation; +3. Change the time filter' +4. Navigate to *Dashboard* using in-app navigation. + +You'd notice that you were navigated to *Dashboard* app with the *same state* that you left it with, +except that the time filter has changed to the one you applied on *Discover* app. + +Historically Kibana Analyze groups apps achieve that behavior relying on state in the URL. +If you'd have a closer look on a link in the navigation, +you'd notice that state is stored inside that link, and it also gets updated whenever relevant state changes happen: + +![image](../assets/state_inside_the_link.png) + +This is where separation into `_a` and `_g` query params comes into play. What is considered a *global* state gets constantly updated in those navigation links. In the example above it was a time filter. +This is backed by [KbnUrlTracker](https://github.com/elastic/kibana/blob/master/src/plugins/kibana_utils/public/state_management/url/kbn_url_tracker.ts#L57) util. You can use it to achieve similar behavior. + +NOTE: After migrating to KP navigation works without page reloads and all plugins are loaded simultaneously. +Hence, likely there are simpler ways to preserve state of your application, unless you want to do it through URL. diff --git a/dev_docs/tutorials/endpoints.mdx b/dev_docs/tutorials/endpoints.mdx new file mode 100644 index 0000000000000..92ead4d714626 --- /dev/null +++ b/dev_docs/tutorials/endpoints.mdx @@ -0,0 +1,87 @@ +--- +id: kibDevTutorialServerEndpoint +slug: /kibana-dev-docs/tutorials/registering-endpoints +title: Registering and accessing an endpoint +summary: Learn how to register a new endpoint and access it +date: 2021-10-05 +tags: ['kibana', 'dev', 'architecture', 'tutorials'] +--- + +## Registering an endpoint + +The server-side `HttpService` allows server-side plugins to register endpoints with built-in support for request validation. These endpoints may be used by client-side code or be exposed as a public API for users. Most plugins integrate directly with this service. + +The service allows plugins to: +- to extend the Kibana server with custom HTTP API. +- to execute custom logic on an incoming request or server response. +- to implement custom authentication and authorization strategy. + + + See [the server-side HTTP service API docs](https://github.com/elastic/kibana/blob/master/docs/development/core/server/kibana-plugin-core-server.httpservicesetup.md) + + +**Registering a basic GET endpoint** + +```ts +import { schema } from '@kbn/config-schema'; +import type { CoreSetup, Plugin } from 'kibana/server'; + +export class MyPlugin implements Plugin { + public setup(core: CoreSetup) { + const router = core.http.createRouter(); + + const validate = { + params: schema.object({ + id: schema.string(), + }), + }; + + router.get({ + path: '/api/my_plugin/{id}', + validate + }, + async (context, request, response) => { + const data = await findObject(request.params.id); + if (!data) return response.notFound(); + return response.ok({ + body: data, + headers: { + 'content-type': 'application/json' + } + }); + }); + } +} +``` + + + See [the routing example plugin](https://github.com/elastic/kibana/blob/master/examples/routing_example) for more route registration examples. + + +## Consuming the endpoint from the client-side + +The client-side HTTP service provides an API to communicate with the Kibana server via HTTP interface. +The client-side `HttpService` is a preconfigured wrapper around `window.fetch` that includes some default behavior and automatically handles common errors (such as session expiration). + +**The service should only be used for access to backend endpoints registered by the same plugin.** Feel free to use another HTTP client library to request 3rd party services. + +```ts +import { HttpStart } from 'kibana/public'; + +interface ResponseType {…}; + +async function fetchData(http: HttpStart, id: string) { + return await http.get( + `/api/my_plugin/${id}`, + { query: … }, + ); +} +``` + + + See [the client-side HTTP service API docs](https://github.com/elastic/kibana/blob/master/docs/development/core/public/kibana-plugin-core-public.httpsetup.md) + + + + See [the routing example plugin](https://github.com/elastic/kibana/blob/master/examples/routing_example) for more endpoint consumption examples. + diff --git a/docs/apm/troubleshooting.asciidoc b/docs/apm/troubleshooting.asciidoc index 4a62f71528676..6e0c3b1decda8 100644 --- a/docs/apm/troubleshooting.asciidoc +++ b/docs/apm/troubleshooting.asciidoc @@ -72,8 +72,6 @@ then the index template will not be set up automatically. Instead, you'll need t *Using a custom index names* This problem can also occur if you've customized the index name that you write APM data to. -The default index name that APM writes events to can be found -{apm-server-ref}/elasticsearch-output.html#index-option-es[here]. If you change the default, you must also configure the `setup.template.name` and `setup.template.pattern` options. See {apm-server-ref}/configuration-template.html[Load the Elasticsearch index template]. If the Elasticsearch index template has already been successfully loaded to the index, diff --git a/docs/dev-tools/grokdebugger/index.asciidoc b/docs/dev-tools/grokdebugger/index.asciidoc index 934452c54ccca..6a809c13fcb93 100644 --- a/docs/dev-tools/grokdebugger/index.asciidoc +++ b/docs/dev-tools/grokdebugger/index.asciidoc @@ -9,21 +9,22 @@ structure it. Grok is good for parsing syslog, apache, and other webserver logs, mysql logs, and in general, any log format that is written for human consumption. -Grok patterns are supported in the ingest node -{ref}/grok-processor.html[grok processor] and the Logstash -{logstash-ref}/plugins-filters-grok.html[grok filter]. See -{logstash-ref}/plugins-filters-grok.html#_grok_basics[grok basics] -for more information on the syntax for a grok pattern. - -The Elastic Stack ships -with more than 120 reusable grok patterns. See -https://github.com/elastic/elasticsearch/tree/master/libs/grok/src/main/resources/patterns[Ingest node grok patterns] and https://github.com/logstash-plugins/logstash-patterns-core/tree/master/patterns[Logstash grok patterns] -for the complete list of patterns. +Grok patterns are supported in {es} {ref}/runtime.html[runtime fields], the {es} +{ref}/grok-processor.html[grok ingest processor], and the {ls} +{logstash-ref}/plugins-filters-grok.html[grok filter]. For syntax, see +{ref}/grok.html[Grokking grok]. + +The {stack} ships with more than 120 reusable grok patterns. For a complete +list of patterns, see +https://github.com/elastic/elasticsearch/tree/master/libs/grok/src/main/resources/patterns[{es} +grok patterns] and +https://github.com/logstash-plugins/logstash-patterns-core/tree/master/patterns[{ls} +grok patterns]. Because -ingest node and Logstash share the same grok implementation and pattern +{es} and {ls} share the same grok implementation and pattern libraries, any grok pattern that you create in the *Grok Debugger* will work -in ingest node and Logstash. +in both {es} and {ls}. [float] [[grokdebugger-getting-started]] diff --git a/docs/developer/architecture/core/logging-configuration-migration.asciidoc b/docs/developer/architecture/core/logging-configuration-migration.asciidoc index 19f10a881d5e8..db02b4d4e507f 100644 --- a/docs/developer/architecture/core/logging-configuration-migration.asciidoc +++ b/docs/developer/architecture/core/logging-configuration-migration.asciidoc @@ -76,9 +76,5 @@ you can override the flags with: |--verbose| --logging.root.level=debug --logging.root.appenders[0]=default --logging.root.appenders[1]=custom | --verbose -|--quiet| --logging.root.level=error --logging.root.appenders[0]=default --logging.root.appenders[1]=custom | not supported - |--silent| --logging.root.level=off | --silent |=== - -NOTE: To preserve backwards compatibility, you are required to pass the root `default` appender until the legacy logging system is removed in `v8.0`. diff --git a/docs/developer/getting-started/monorepo-packages.asciidoc b/docs/developer/getting-started/monorepo-packages.asciidoc index b42bc980c8758..7754463339771 100644 --- a/docs/developer/getting-started/monorepo-packages.asciidoc +++ b/docs/developer/getting-started/monorepo-packages.asciidoc @@ -74,7 +74,6 @@ yarn kbn watch - @kbn/i18n - @kbn/interpreter - @kbn/io-ts-utils -- @kbn/legacy-logging - @kbn/logging - @kbn/mapbox-gl - @kbn/monaco diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 7f7041f7815cd..cbf46801fa86f 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -458,7 +458,7 @@ the infrastructure monitoring use-case within Kibana. |{kib-repo}blob/{branch}/x-pack/plugins/ingest_pipelines/README.md[ingestPipelines] -|The ingest_pipelines plugin provides Kibana support for Elasticsearch's ingest nodes. Please refer to the Elasticsearch documentation for more details. +|The ingest_pipelines plugin provides Kibana support for Elasticsearch's ingest pipelines. |{kib-repo}blob/{branch}/x-pack/plugins/lens/readme.md[lens] diff --git a/docs/development/core/public/kibana-plugin-core-public.doclinksstart.links.md b/docs/development/core/public/kibana-plugin-core-public.doclinksstart.links.md index f40f52db55de9..ab0f2d0ee5a17 100644 --- a/docs/development/core/public/kibana-plugin-core-public.doclinksstart.links.md +++ b/docs/development/core/public/kibana-plugin-core-public.doclinksstart.links.md @@ -234,5 +234,17 @@ readonly links: { readonly ecs: { readonly guide: string; }; + readonly clients: { + readonly guide: string; + readonly goOverview: string; + readonly javaIndex: string; + readonly jsIntro: string; + readonly netGuide: string; + readonly perlGuide: string; + readonly phpGuide: string; + readonly pythonGuide: string; + readonly rubyOverview: string; + readonly rustGuide: string; + }; }; ``` diff --git a/docs/development/core/public/kibana-plugin-core-public.doclinksstart.md b/docs/development/core/public/kibana-plugin-core-public.doclinksstart.md index 2499227d20ad4..f0fe058c403ed 100644 --- a/docs/development/core/public/kibana-plugin-core-public.doclinksstart.md +++ b/docs/development/core/public/kibana-plugin-core-public.doclinksstart.md @@ -17,5 +17,5 @@ export interface DocLinksStart | --- | --- | --- | | [DOC\_LINK\_VERSION](./kibana-plugin-core-public.doclinksstart.doc_link_version.md) | string | | | [ELASTIC\_WEBSITE\_URL](./kibana-plugin-core-public.doclinksstart.elastic_website_url.md) | string | | -| [links](./kibana-plugin-core-public.doclinksstart.links.md) | {
readonly settings: string;
readonly apm: {
readonly kibanaSettings: string;
readonly supportedServiceMaps: string;
readonly customLinks: string;
readonly droppedTransactionSpans: string;
readonly upgrading: string;
readonly metaData: string;
};
readonly canvas: {
readonly guide: string;
};
readonly dashboard: {
readonly guide: string;
readonly drilldowns: string;
readonly drilldownsTriggerPicker: string;
readonly urlDrilldownTemplateSyntax: string;
readonly urlDrilldownVariables: string;
};
readonly discover: Record<string, string>;
readonly filebeat: {
readonly base: string;
readonly installation: string;
readonly configuration: string;
readonly elasticsearchOutput: string;
readonly elasticsearchModule: string;
readonly startup: string;
readonly exportedFields: string;
readonly suricataModule: string;
readonly zeekModule: string;
};
readonly auditbeat: {
readonly base: string;
readonly auditdModule: string;
readonly systemModule: string;
};
readonly metricbeat: {
readonly base: string;
readonly configure: string;
readonly httpEndpoint: string;
readonly install: string;
readonly start: string;
};
readonly enterpriseSearch: {
readonly base: string;
readonly appSearchBase: string;
readonly workplaceSearchBase: string;
};
readonly heartbeat: {
readonly base: string;
};
readonly libbeat: {
readonly getStarted: string;
};
readonly logstash: {
readonly base: string;
};
readonly functionbeat: {
readonly base: string;
};
readonly winlogbeat: {
readonly base: string;
};
readonly aggs: {
readonly composite: string;
readonly composite_missing_bucket: string;
readonly date_histogram: string;
readonly date_range: string;
readonly date_format_pattern: string;
readonly filter: string;
readonly filters: string;
readonly geohash_grid: string;
readonly histogram: string;
readonly ip_range: string;
readonly range: string;
readonly significant_terms: string;
readonly terms: string;
readonly avg: string;
readonly avg_bucket: string;
readonly max_bucket: string;
readonly min_bucket: string;
readonly sum_bucket: string;
readonly cardinality: string;
readonly count: string;
readonly cumulative_sum: string;
readonly derivative: string;
readonly geo_bounds: string;
readonly geo_centroid: string;
readonly max: string;
readonly median: string;
readonly min: string;
readonly moving_avg: string;
readonly percentile_ranks: string;
readonly serial_diff: string;
readonly std_dev: string;
readonly sum: string;
readonly top_hits: string;
};
readonly runtimeFields: {
readonly overview: string;
readonly mapping: string;
};
readonly scriptedFields: {
readonly scriptFields: string;
readonly scriptAggs: string;
readonly painless: string;
readonly painlessApi: string;
readonly painlessLangSpec: string;
readonly painlessSyntax: string;
readonly painlessWalkthrough: string;
readonly luceneExpressions: string;
};
readonly search: {
readonly sessions: string;
readonly sessionLimits: string;
};
readonly indexPatterns: {
readonly introduction: string;
readonly fieldFormattersNumber: string;
readonly fieldFormattersString: string;
readonly runtimeFields: string;
};
readonly addData: string;
readonly kibana: string;
readonly upgradeAssistant: string;
readonly rollupJobs: string;
readonly elasticsearch: Record<string, string>;
readonly siem: {
readonly privileges: string;
readonly guide: string;
readonly gettingStarted: string;
readonly ml: string;
readonly ruleChangeLog: string;
readonly detectionsReq: string;
readonly networkMap: string;
};
readonly query: {
readonly eql: string;
readonly kueryQuerySyntax: string;
readonly luceneQuerySyntax: string;
readonly percolate: string;
readonly queryDsl: string;
readonly autocompleteChanges: string;
};
readonly date: {
readonly dateMath: string;
readonly dateMathIndexNames: string;
};
readonly management: Record<string, string>;
readonly ml: Record<string, string>;
readonly transforms: Record<string, string>;
readonly visualize: Record<string, string>;
readonly apis: Readonly<{
bulkIndexAlias: string;
byteSizeUnits: string;
createAutoFollowPattern: string;
createFollower: string;
createIndex: string;
createSnapshotLifecyclePolicy: string;
createRoleMapping: string;
createRoleMappingTemplates: string;
createRollupJobsRequest: string;
createApiKey: string;
createPipeline: string;
createTransformRequest: string;
cronExpressions: string;
executeWatchActionModes: string;
indexExists: string;
openIndex: string;
putComponentTemplate: string;
painlessExecute: string;
painlessExecuteAPIContexts: string;
putComponentTemplateMetadata: string;
putSnapshotLifecyclePolicy: string;
putIndexTemplateV1: string;
putWatch: string;
simulatePipeline: string;
timeUnits: string;
updateTransform: string;
}>;
readonly observability: Readonly<{
guide: string;
infrastructureThreshold: string;
logsThreshold: string;
metricsThreshold: string;
monitorStatus: string;
monitorUptime: string;
tlsCertificate: string;
uptimeDurationAnomaly: string;
}>;
readonly alerting: Record<string, string>;
readonly maps: Record<string, string>;
readonly monitoring: Record<string, string>;
readonly security: Readonly<{
apiKeyServiceSettings: string;
clusterPrivileges: string;
elasticsearchSettings: string;
elasticsearchEnableSecurity: string;
indicesPrivileges: string;
kibanaTLS: string;
kibanaPrivileges: string;
mappingRoles: string;
mappingRolesFieldRules: string;
runAsPrivilege: string;
}>;
readonly watcher: Record<string, string>;
readonly ccs: Record<string, string>;
readonly plugins: Record<string, string>;
readonly snapshotRestore: Record<string, string>;
readonly ingest: Record<string, string>;
readonly fleet: Readonly<{
guide: string;
fleetServer: string;
fleetServerAddFleetServer: string;
settings: string;
settingsFleetServerHostSettings: string;
troubleshooting: string;
elasticAgent: string;
datastreams: string;
datastreamsNamingScheme: string;
upgradeElasticAgent: string;
upgradeElasticAgent712lower: string;
}>;
readonly ecs: {
readonly guide: string;
};
} | | +| [links](./kibana-plugin-core-public.doclinksstart.links.md) | {
readonly settings: string;
readonly apm: {
readonly kibanaSettings: string;
readonly supportedServiceMaps: string;
readonly customLinks: string;
readonly droppedTransactionSpans: string;
readonly upgrading: string;
readonly metaData: string;
};
readonly canvas: {
readonly guide: string;
};
readonly dashboard: {
readonly guide: string;
readonly drilldowns: string;
readonly drilldownsTriggerPicker: string;
readonly urlDrilldownTemplateSyntax: string;
readonly urlDrilldownVariables: string;
};
readonly discover: Record<string, string>;
readonly filebeat: {
readonly base: string;
readonly installation: string;
readonly configuration: string;
readonly elasticsearchOutput: string;
readonly elasticsearchModule: string;
readonly startup: string;
readonly exportedFields: string;
readonly suricataModule: string;
readonly zeekModule: string;
};
readonly auditbeat: {
readonly base: string;
readonly auditdModule: string;
readonly systemModule: string;
};
readonly metricbeat: {
readonly base: string;
readonly configure: string;
readonly httpEndpoint: string;
readonly install: string;
readonly start: string;
};
readonly enterpriseSearch: {
readonly base: string;
readonly appSearchBase: string;
readonly workplaceSearchBase: string;
};
readonly heartbeat: {
readonly base: string;
};
readonly libbeat: {
readonly getStarted: string;
};
readonly logstash: {
readonly base: string;
};
readonly functionbeat: {
readonly base: string;
};
readonly winlogbeat: {
readonly base: string;
};
readonly aggs: {
readonly composite: string;
readonly composite_missing_bucket: string;
readonly date_histogram: string;
readonly date_range: string;
readonly date_format_pattern: string;
readonly filter: string;
readonly filters: string;
readonly geohash_grid: string;
readonly histogram: string;
readonly ip_range: string;
readonly range: string;
readonly significant_terms: string;
readonly terms: string;
readonly avg: string;
readonly avg_bucket: string;
readonly max_bucket: string;
readonly min_bucket: string;
readonly sum_bucket: string;
readonly cardinality: string;
readonly count: string;
readonly cumulative_sum: string;
readonly derivative: string;
readonly geo_bounds: string;
readonly geo_centroid: string;
readonly max: string;
readonly median: string;
readonly min: string;
readonly moving_avg: string;
readonly percentile_ranks: string;
readonly serial_diff: string;
readonly std_dev: string;
readonly sum: string;
readonly top_hits: string;
};
readonly runtimeFields: {
readonly overview: string;
readonly mapping: string;
};
readonly scriptedFields: {
readonly scriptFields: string;
readonly scriptAggs: string;
readonly painless: string;
readonly painlessApi: string;
readonly painlessLangSpec: string;
readonly painlessSyntax: string;
readonly painlessWalkthrough: string;
readonly luceneExpressions: string;
};
readonly search: {
readonly sessions: string;
readonly sessionLimits: string;
};
readonly indexPatterns: {
readonly introduction: string;
readonly fieldFormattersNumber: string;
readonly fieldFormattersString: string;
readonly runtimeFields: string;
};
readonly addData: string;
readonly kibana: string;
readonly upgradeAssistant: string;
readonly rollupJobs: string;
readonly elasticsearch: Record<string, string>;
readonly siem: {
readonly privileges: string;
readonly guide: string;
readonly gettingStarted: string;
readonly ml: string;
readonly ruleChangeLog: string;
readonly detectionsReq: string;
readonly networkMap: string;
};
readonly query: {
readonly eql: string;
readonly kueryQuerySyntax: string;
readonly luceneQuerySyntax: string;
readonly percolate: string;
readonly queryDsl: string;
readonly autocompleteChanges: string;
};
readonly date: {
readonly dateMath: string;
readonly dateMathIndexNames: string;
};
readonly management: Record<string, string>;
readonly ml: Record<string, string>;
readonly transforms: Record<string, string>;
readonly visualize: Record<string, string>;
readonly apis: Readonly<{
bulkIndexAlias: string;
byteSizeUnits: string;
createAutoFollowPattern: string;
createFollower: string;
createIndex: string;
createSnapshotLifecyclePolicy: string;
createRoleMapping: string;
createRoleMappingTemplates: string;
createRollupJobsRequest: string;
createApiKey: string;
createPipeline: string;
createTransformRequest: string;
cronExpressions: string;
executeWatchActionModes: string;
indexExists: string;
openIndex: string;
putComponentTemplate: string;
painlessExecute: string;
painlessExecuteAPIContexts: string;
putComponentTemplateMetadata: string;
putSnapshotLifecyclePolicy: string;
putIndexTemplateV1: string;
putWatch: string;
simulatePipeline: string;
timeUnits: string;
updateTransform: string;
}>;
readonly observability: Readonly<{
guide: string;
infrastructureThreshold: string;
logsThreshold: string;
metricsThreshold: string;
monitorStatus: string;
monitorUptime: string;
tlsCertificate: string;
uptimeDurationAnomaly: string;
}>;
readonly alerting: Record<string, string>;
readonly maps: Record<string, string>;
readonly monitoring: Record<string, string>;
readonly security: Readonly<{
apiKeyServiceSettings: string;
clusterPrivileges: string;
elasticsearchSettings: string;
elasticsearchEnableSecurity: string;
indicesPrivileges: string;
kibanaTLS: string;
kibanaPrivileges: string;
mappingRoles: string;
mappingRolesFieldRules: string;
runAsPrivilege: string;
}>;
readonly watcher: Record<string, string>;
readonly ccs: Record<string, string>;
readonly plugins: Record<string, string>;
readonly snapshotRestore: Record<string, string>;
readonly ingest: Record<string, string>;
readonly fleet: Readonly<{
guide: string;
fleetServer: string;
fleetServerAddFleetServer: string;
settings: string;
settingsFleetServerHostSettings: string;
troubleshooting: string;
elasticAgent: string;
datastreams: string;
datastreamsNamingScheme: string;
upgradeElasticAgent: string;
upgradeElasticAgent712lower: string;
}>;
readonly ecs: {
readonly guide: string;
};
readonly clients: {
readonly guide: string;
readonly goOverview: string;
readonly javaIndex: string;
readonly jsIntro: string;
readonly netGuide: string;
readonly perlGuide: string;
readonly phpGuide: string;
readonly pythonGuide: string;
readonly rubyOverview: string;
readonly rustGuide: string;
};
} | | diff --git a/docs/development/core/public/kibana-plugin-core-public.domaindeprecationdetails.domainid.md b/docs/development/core/public/kibana-plugin-core-public.domaindeprecationdetails.domainid.md deleted file mode 100644 index b6d1f9386be8f..0000000000000 --- a/docs/development/core/public/kibana-plugin-core-public.domaindeprecationdetails.domainid.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [kibana-plugin-core-public](./kibana-plugin-core-public.md) > [DomainDeprecationDetails](./kibana-plugin-core-public.domaindeprecationdetails.md) > [domainId](./kibana-plugin-core-public.domaindeprecationdetails.domainid.md) - -## DomainDeprecationDetails.domainId property - -Signature: - -```typescript -domainId: string; -``` diff --git a/docs/development/core/public/kibana-plugin-core-public.domaindeprecationdetails.md b/docs/development/core/public/kibana-plugin-core-public.domaindeprecationdetails.md deleted file mode 100644 index 93d715a11c503..0000000000000 --- a/docs/development/core/public/kibana-plugin-core-public.domaindeprecationdetails.md +++ /dev/null @@ -1,18 +0,0 @@ - - -[Home](./index.md) > [kibana-plugin-core-public](./kibana-plugin-core-public.md) > [DomainDeprecationDetails](./kibana-plugin-core-public.domaindeprecationdetails.md) - -## DomainDeprecationDetails interface - -Signature: - -```typescript -export interface DomainDeprecationDetails extends DeprecationsDetails -``` - -## Properties - -| Property | Type | Description | -| --- | --- | --- | -| [domainId](./kibana-plugin-core-public.domaindeprecationdetails.domainid.md) | string | | - diff --git a/docs/development/core/public/kibana-plugin-core-public.md b/docs/development/core/public/kibana-plugin-core-public.md index 08c3c376df4e8..e5fbe7c3524ed 100644 --- a/docs/development/core/public/kibana-plugin-core-public.md +++ b/docs/development/core/public/kibana-plugin-core-public.md @@ -60,7 +60,6 @@ The plugin integrates with the core system via lifecycle events: `setup` | [CoreStart](./kibana-plugin-core-public.corestart.md) | Core services exposed to the Plugin start lifecycle | | [DeprecationsServiceStart](./kibana-plugin-core-public.deprecationsservicestart.md) | DeprecationsService provides methods to fetch domain deprecation details from the Kibana server. | | [DocLinksStart](./kibana-plugin-core-public.doclinksstart.md) | | -| [DomainDeprecationDetails](./kibana-plugin-core-public.domaindeprecationdetails.md) | | | [ErrorToastOptions](./kibana-plugin-core-public.errortoastoptions.md) | Options available for [IToasts](./kibana-plugin-core-public.itoasts.md) error APIs. | | [FatalErrorInfo](./kibana-plugin-core-public.fatalerrorinfo.md) | Represents the message and stack of a fatal Error | | [FatalErrorsSetup](./kibana-plugin-core-public.fatalerrorssetup.md) | FatalErrors stop the Kibana Public Core and displays a fatal error screen with details about the Kibana build and the error. | diff --git a/docs/development/core/server/kibana-plugin-core-server.appenderconfigtype.md b/docs/development/core/server/kibana-plugin-core-server.appenderconfigtype.md index f6de959589eca..7d9772af91c38 100644 --- a/docs/development/core/server/kibana-plugin-core-server.appenderconfigtype.md +++ b/docs/development/core/server/kibana-plugin-core-server.appenderconfigtype.md @@ -8,5 +8,5 @@ Signature: ```typescript -export declare type AppenderConfigType = ConsoleAppenderConfig | FileAppenderConfig | LegacyAppenderConfig | RewriteAppenderConfig | RollingFileAppenderConfig; +export declare type AppenderConfigType = ConsoleAppenderConfig | FileAppenderConfig | RewriteAppenderConfig | RollingFileAppenderConfig; ``` diff --git a/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.correctiveactions.md b/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.correctiveactions.md index 447823a5c3491..657c62a21c581 100644 --- a/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.correctiveactions.md +++ b/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.correctiveactions.md @@ -4,6 +4,8 @@ ## DeprecationsDetails.correctiveActions property +corrective action needed to fix this deprecation. + Signature: ```typescript diff --git a/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.documentationurl.md b/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.documentationurl.md index 467d6d76cf842..457cf7b61dac8 100644 --- a/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.documentationurl.md +++ b/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.documentationurl.md @@ -4,6 +4,8 @@ ## DeprecationsDetails.documentationUrl property +(optional) link to the documentation for more details on the deprecation. + Signature: ```typescript diff --git a/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.md b/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.md index bd0fc1e5b3713..86418a1d0c1c3 100644 --- a/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.md +++ b/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.md @@ -4,6 +4,7 @@ ## DeprecationsDetails interface + Signature: ```typescript @@ -14,11 +15,11 @@ export interface DeprecationsDetails | Property | Type | Description | | --- | --- | --- | -| [correctiveActions](./kibana-plugin-core-server.deprecationsdetails.correctiveactions.md) | {
api?: {
path: string;
method: 'POST' | 'PUT';
body?: {
[key: string]: any;
};
};
manualSteps: string[];
} | | +| [correctiveActions](./kibana-plugin-core-server.deprecationsdetails.correctiveactions.md) | {
api?: {
path: string;
method: 'POST' | 'PUT';
body?: {
[key: string]: any;
};
};
manualSteps: string[];
} | corrective action needed to fix this deprecation. | | [deprecationType](./kibana-plugin-core-server.deprecationsdetails.deprecationtype.md) | 'config' | 'feature' | (optional) Used to identify between different deprecation types. Example use case: in Upgrade Assistant, we may want to allow the user to sort by deprecation type or show each type in a separate tab.Feel free to add new types if necessary. Predefined types are necessary to reduce having similar definitions with different keywords across kibana deprecations. | -| [documentationUrl](./kibana-plugin-core-server.deprecationsdetails.documentationurl.md) | string | | +| [documentationUrl](./kibana-plugin-core-server.deprecationsdetails.documentationurl.md) | string | (optional) link to the documentation for more details on the deprecation. | | [level](./kibana-plugin-core-server.deprecationsdetails.level.md) | 'warning' | 'critical' | 'fetch_error' | levels: - warning: will not break deployment upon upgrade - critical: needs to be addressed before upgrade. - fetch\_error: Deprecations service failed to grab the deprecation details for the domain. | | [message](./kibana-plugin-core-server.deprecationsdetails.message.md) | string | The description message to be displayed for the deprecation. Check the README for writing deprecations in src/core/server/deprecations/README.mdx | -| [requireRestart](./kibana-plugin-core-server.deprecationsdetails.requirerestart.md) | boolean | | +| [requireRestart](./kibana-plugin-core-server.deprecationsdetails.requirerestart.md) | boolean | (optional) specify the fix for this deprecation requires a full kibana restart. | | [title](./kibana-plugin-core-server.deprecationsdetails.title.md) | string | The title of the deprecation. Check the README for writing deprecations in src/core/server/deprecations/README.mdx | diff --git a/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.requirerestart.md b/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.requirerestart.md index 52c0fcf1c3001..85bddd9436e73 100644 --- a/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.requirerestart.md +++ b/docs/development/core/server/kibana-plugin-core-server.deprecationsdetails.requirerestart.md @@ -4,6 +4,8 @@ ## DeprecationsDetails.requireRestart property +(optional) specify the fix for this deprecation requires a full kibana restart. + Signature: ```typescript diff --git a/docs/development/core/server/kibana-plugin-core-server.deprecationsservicesetup.md b/docs/development/core/server/kibana-plugin-core-server.deprecationsservicesetup.md index 2bc7f6cba594d..7b2cbdecd146a 100644 --- a/docs/development/core/server/kibana-plugin-core-server.deprecationsservicesetup.md +++ b/docs/development/core/server/kibana-plugin-core-server.deprecationsservicesetup.md @@ -27,7 +27,6 @@ async function getDeprecations({ esClient, savedObjectsClient }: GetDeprecations const deprecations: DeprecationsDetails[] = []; const count = await getFooCount(savedObjectsClient); if (count > 0) { - // Example of a manual correctiveAction deprecations.push({ title: i18n.translate('xpack.foo.deprecations.title', { defaultMessage: `Foo's are deprecated` diff --git a/docs/development/core/server/kibana-plugin-core-server.getdeprecationscontext.md b/docs/development/core/server/kibana-plugin-core-server.getdeprecationscontext.md index 1018444f0849a..96dd2ceb524ce 100644 --- a/docs/development/core/server/kibana-plugin-core-server.getdeprecationscontext.md +++ b/docs/development/core/server/kibana-plugin-core-server.getdeprecationscontext.md @@ -4,6 +4,7 @@ ## GetDeprecationsContext interface + Signature: ```typescript diff --git a/docs/development/core/server/kibana-plugin-core-server.registerdeprecationsconfig.md b/docs/development/core/server/kibana-plugin-core-server.registerdeprecationsconfig.md index 59e6d406f84bf..444c2653512de 100644 --- a/docs/development/core/server/kibana-plugin-core-server.registerdeprecationsconfig.md +++ b/docs/development/core/server/kibana-plugin-core-server.registerdeprecationsconfig.md @@ -4,6 +4,7 @@ ## RegisterDeprecationsConfig interface + Signature: ```typescript diff --git a/docs/management/connectors/action-types/email.asciidoc b/docs/management/connectors/action-types/email.asciidoc index 131ff5ea5e9f6..5523201dce36f 100644 --- a/docs/management/connectors/action-types/email.asciidoc +++ b/docs/management/connectors/action-types/email.asciidoc @@ -5,7 +5,7 @@ Email ++++ -The email connector uses the SMTP protocol to send mail messages, using an integration of https://nodemailer.com/[Nodemailer]. Email message text is sent as both plain text and html text. +The email connector uses the SMTP protocol to send mail messages, using an integration of https://nodemailer.com/[Nodemailer]. An exception is Microsoft Exchange, which uses HTTP protocol for sending emails, https://docs.microsoft.com/en-us/graph/api/user-sendmail[Send mail]. Email message text is sent as both plain text and html text. NOTE: For emails to have a footer with a link back to {kib}, set the <> configuration setting. @@ -17,9 +17,13 @@ Email connectors have the following configuration properties. Name:: The name of the connector. The name is used to identify a connector in the management UI connector listing, or in the connector list when configuring an action. Sender:: The from address for all emails sent with this connector. This can be specified in `user@host-name` format or as `"human name "` format. See the https://nodemailer.com/message/addresses/[Nodemailer address documentation] for more information. +Service:: The name of the email service. If `service` is one of Nodemailer's https://nodemailer.com/smtp/well-known/[well-known email service providers], the `host`, `port`, and `secure` properties are defined with the default values and disabled for modification. If `service` is `MS Exchange Server`, the `host`, `port`, and `secure` properties are ignored and `tenantId`, `clientId`, `clientSecret` are required instead. If `service` is `other`, the `host` and `port` properties must be defined. Host:: Host name of the service provider. If you are using the <> setting, make sure this hostname is added to the allowed hosts. Port:: The port to connect to on the service provider. Secure:: If true, the connection will use TLS when connecting to the service provider. Refer to the https://nodemailer.com/smtp/#tls-options[Nodemailer TLS documentation] for more information. If not true, the connection will initially connect over TCP, then attempt to switch to TLS via the SMTP STARTTLS command. +Tenant ID:: The directory tenant that the application plans to operate against, in GUID format. +Client ID:: The application ID that is assigned to your app, in GUID format. You can find this information in the portal where you registered your app. +Client Secret:: The client secret that you generated for your app in the app registration portal. The client secret must be URL-encoded before being sent. The Basic auth pattern of providing credentials in the Authorization header, per https://datatracker.ietf.org/doc/html/rfc6749#section-2.3.1[RFC 6749], is also supported. Require authentication:: If true, a username and password for login type authentication must be provided. Username:: Username for login type authentication. Password:: Password for login type authentication. @@ -40,6 +44,7 @@ Use the <> to customize connecto name: preconfigured-email-connector-type actionTypeId: .email config: + service: other from: testsender@test.com host: validhostname port: 8080 @@ -51,17 +56,20 @@ Use the <> to customize connecto Config defines information for the connector type. -`service`:: The name of the email service. If `service` is `elastic_cloud` (for Elastic Cloud notifications) or one of Nodemailer's https://nodemailer.com/smtp/well-known/[well-known email service providers], `host`, `port`, and `secure` properties are ignored. If `service` is `other`, `host` and `port` properties must be defined. For more information on the `gmail` service value, see the https://nodemailer.com/usage/using-gmail/[Nodemailer Gmail documentation]. +`service`:: The name of the email service. If `service` is `elastic_cloud` (for Elastic Cloud notifications) or one of Nodemailer's https://nodemailer.com/smtp/well-known/[well-known email service providers], the `host`, `port`, and `secure` properties are ignored. If `service` is `other`, the `host` and `port` properties must be defined. For more information on the `gmail` service value, refer to https://nodemailer.com/usage/using-gmail/[Nodemailer Gmail documentation]. If `service` is `exchange_server`, the `tenantId`, `clientId`, `clientSecret` properties are required instead of `host` and `port`. `from`:: An email address that corresponds to *Sender*. `host`:: A string that corresponds to *Host*. `port`:: A number that corresponds to *Port*. `secure`:: A boolean that corresponds to *Secure*. `hasAuth`:: A boolean that corresponds to *Requires authentication*. If `true`, this connector will require values for `user` and `password` inside the secrets configuration. Defaults to `true`. +`tenantId`:: A GUID format value that corresponds to *Tenant ID*, which is a part of OAuth 2.0 Client Credentials Authentication. +`clientId`:: A GUID format value that corresponds to *Client ID*, which is a part of OAuth 2.0 Client Credentials Authentication. Secrets defines sensitive information for the connector type. `user`:: A string that corresponds to *Username*. Required if `hasAuth` is set to `true`. `password`:: A string that corresponds to *Password*. Should be stored in the <>. Required if `hasAuth` is set to `true`. +`clientSecret`:: A string that corresponds to *Client Secret*. Should be stored in the <>. Required if `service` is set to `exchange_server`, which uses OAuth 2.0 Client Credentials Authentication. [float] [[define-email-ui]] @@ -91,15 +99,15 @@ Message:: The message text of the email. Markdown format is supported. [[configuring-email]] ==== Configuring email accounts for well-known services -The email connector can send email using many popular SMTP email services. +The email connector can send email using many popular SMTP email services and the Microsoft Exchange Graph API. For more information about configuring the email connector to work with different email systems, refer to: * <> * <> * <> -* <> * <> +* <> For other email servers, you can check the list of well-known services that Nodemailer supports in the JSON file https://github.com/nodemailer/nodemailer/blob/master/lib/well-known/services.json[well-known/services.json]. The properties of the objects in those files — `host`, `port`, and `secure` — correspond to the same email connector configuration properties. A missing `secure` property in the "well-known/services.json" file is considered `false`. Typically, `port: 465` uses `secure: true`, and `port: 25` and `port: 587` use `secure: false`. @@ -114,6 +122,9 @@ Use the following connector settings to send email from Elastic Cloud: Sender:: `noreply@watcheralert.found.io` +Service:: +`elastic_cloud` + Host:: `dockerhost` @@ -136,9 +147,11 @@ https://mail.google.com[Gmail] SMTP service: [source,text] -------------------------------------------------- config: - host: smtp.gmail.com - port: 465 - secure: true + service: gmail + // `host`, `port` and `secure` have the following default values and do not need to set: + // host: smtp.gmail.com + // port: 465 + // secure: true secrets: user: password: @@ -164,9 +177,11 @@ https://www.outlook.com/[Outlook.com] SMTP service: [source,text] -------------------------------------------------- config: - host: smtp.office365.com - port: 587 - secure: false + service: outlook365 + // `host`, `port` and `secure` have the following default values and do not need to set: + // host: smtp.office365.com + // port: 587 + // secure: false secrets: user: password: @@ -189,9 +204,11 @@ http://aws.amazon.com/ses[Amazon Simple Email Service] (SES) SMTP service: [source,text] -------------------------------------------------- config: - host: email-smtp.us-east-1.amazonaws.com <1> - port: 465 - secure: true + service: ses + // `host`, `port` and `secure` have the following default values and do not need to set: + // host: email-smtp.us-east-1.amazonaws.com <1> + // port: 465 + // secure: true secrets: user: password: @@ -207,15 +224,15 @@ NOTE: You must use your Amazon SES SMTP credentials to send email through at AWS. [float] -[[exchange]] -==== Sending email from Microsoft Exchange +[[exchange-basic-auth]] +==== Sending email from Microsoft Exchange with Basic Authentication -Use the following email connector configuration to send email from Microsoft -Exchange: +deprecated:[This Microsoft Exchange configuration is deprecated in 7.16.0, and will be removed later, because Microsoft is deprecating https://docs.microsoft.com/en-us/lifecycle/announcements/exchange-online-basic-auth-deprecated [Basic Authentication]: [source,text] -------------------------------------------------- config: + service: other host: port: 465 secure: true @@ -229,3 +246,64 @@ secrets: <2> Many organizations support use of your email address as your username. Check with your system administrator if you receive authentication-related failures. + +To prepare for the removal of Basic Auth, you must update all existing Microsoft Exchange connectors with the new configuration based on the https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow[OAuth 2.0 Client Credentials Authentication]. + +[float] +[[exchange]] +==== Sending email from Microsoft Exchange with OAuth 2.0 + +Before you create an email connector for Microsoft Exchange, you must create and register the client integration application on the https://go.microsoft.com/fwlink/?linkid=2083908[Azure portal]: + +[role="screenshot"] +image::management/connectors/images/exchange-register-app.png[Register client application for MS Exchange] + +Next, open *Manage > API permissions*, and then define the permissions for the registered application to send emails. Refer to the https://docs.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=http#permissions[documentation] for the Microsoft Graph API. +[role="screenshot"] +image::management/connectors/images/exchange-api-permissions.png[MS Exchange API permissions] + +Add the "Mail.Send" permission for Microsoft Graph. The permission appears in the list with the status "Not granted for ": +[role="screenshot"] +image::management/connectors/images/exchange-not-granted.png[MS Exchange "Mail.Send" not granted] + +Click *Grant admin consent for *. +[role="screenshot"] +image::management/connectors/images/exchange-grant-confirm.png[MS Exchange grant confirmation] + +Confirm that the status for the "Mail.Send" permission is now granted. +[role="screenshot"] +image::management/connectors/images/exchange-granted.png[MS Exchange grant confirmation] + +[float] +[[exchange-client-secret]] +===== Configure Microsoft Exchange Client secret +To configure the Client secret , open *Manage > Certificates & secrets*. +[role="screenshot"] +image::management/connectors/images/exchange-secrets.png[MS Exchange secrets configuration] + +Add a new client secret, then copy the value and put it to the proper field in the Microsoft Exchange email connector. + +[float] +[[exchange-client-tenant-id]] +===== Configure Microsoft Exchange Client ID and Tenant ID +To find the application Client ID, open the *Overview* page. +[role="screenshot"] +image::management/connectors/images/exchange-client-tenant.png[MS Exchange Client ID and Tenant ID configuration] + +Copy and paste this values to the proper fields in the Microsoft Exchange email connector. + +Use the following email connector configuration to send email from Microsoft Exchange: +[source,text] +-------------------------------------------------- +config: + service: exchange_server + clientId: <1> + tenantId: + from: <2> +secrets: + clientSecret: +-------------------------------------------------- +<1> This application information is on the https://go.microsoft.com/fwlink/?linkid=2083908[Azure portal – App registrations]. +<2> Some organizations configure Exchange to validate that the `from` field is a + valid local email account. + diff --git a/docs/management/connectors/images/exchange-api-permissions.png b/docs/management/connectors/images/exchange-api-permissions.png new file mode 100644 index 0000000000000..d9a8205f82687 Binary files /dev/null and b/docs/management/connectors/images/exchange-api-permissions.png differ diff --git a/docs/management/connectors/images/exchange-client-tenant.png b/docs/management/connectors/images/exchange-client-tenant.png new file mode 100644 index 0000000000000..3a4cddf6710a9 Binary files /dev/null and b/docs/management/connectors/images/exchange-client-tenant.png differ diff --git a/docs/management/connectors/images/exchange-grant-confirm.png b/docs/management/connectors/images/exchange-grant-confirm.png new file mode 100644 index 0000000000000..62c11ec3b0734 Binary files /dev/null and b/docs/management/connectors/images/exchange-grant-confirm.png differ diff --git a/docs/management/connectors/images/exchange-granted.png b/docs/management/connectors/images/exchange-granted.png new file mode 100644 index 0000000000000..02f17534317a2 Binary files /dev/null and b/docs/management/connectors/images/exchange-granted.png differ diff --git a/docs/management/connectors/images/exchange-not-granted.png b/docs/management/connectors/images/exchange-not-granted.png new file mode 100644 index 0000000000000..90ee240b5ef1f Binary files /dev/null and b/docs/management/connectors/images/exchange-not-granted.png differ diff --git a/docs/management/connectors/images/exchange-register-app.png b/docs/management/connectors/images/exchange-register-app.png new file mode 100644 index 0000000000000..488a749fb1e8e Binary files /dev/null and b/docs/management/connectors/images/exchange-register-app.png differ diff --git a/docs/management/connectors/images/exchange-secrets.png b/docs/management/connectors/images/exchange-secrets.png new file mode 100644 index 0000000000000..2f16df06db301 Binary files /dev/null and b/docs/management/connectors/images/exchange-secrets.png differ diff --git a/docs/management/connectors/images/exchange-send-mail-permission.png b/docs/management/connectors/images/exchange-send-mail-permission.png new file mode 100644 index 0000000000000..2af3344a8dba8 Binary files /dev/null and b/docs/management/connectors/images/exchange-send-mail-permission.png differ diff --git a/docs/migration/migrate_8_0.asciidoc b/docs/migration/migrate_8_0.asciidoc index 4c0c335b3c33e..60a65580501a6 100644 --- a/docs/migration/migrate_8_0.asciidoc +++ b/docs/migration/migrate_8_0.asciidoc @@ -364,4 +364,34 @@ Configuration management tools and automation will need to be updated to use the === `server.xsrf.token` is no longer valid *Details:* The deprecated `server.xsrf.token` setting in the `kibana.yml` file has been removed. +[float] +=== `newsfeed.defaultLanguage` is no longer valid +*Details:* Specifying a default language to retrieve newsfeed items is no longer supported. + +*Impact:* Newsfeed items will be retrieved based on the browser locale and fallback to 'en' if an item does not have a translation for the locale. Configure {kibana-ref}/i18n-settings-kb.html#general-i18n-settings-kb[`i18n.locale`] to override the default behavior. + +[float] +=== `xpack.banners.placement` has changed value +*Details:* `xpack.banners.placement: 'header'` setting in `kibana.yml` has changed value. + +*Impact:* Use {kibana-ref}/banners-settings-kb.html#banners-settings-kb[`xpack.banners.placement: 'top'`] instead. + +[float] +=== `cpu.cgroup.path.override` is no longer valid +*Details:* The deprecated `cpu.cgroup.path.override` setting is no longer supported. + +*Impact:* Configure {kibana-ref}/settings.html#ops-cGroupOverrides-cpuPath[`ops.cGroupOverrides.cpuPath`] instead. + +[float] +=== `cpuacct.cgroup.path.override` is no longer valid +*Details:* The deprecated `cpuacct.cgroup.path.override` setting is no longer supported. + +*Impact:* Configure {kibana-ref}/settings.html#ops-cGroupOverrides-cpuAcctPath[`ops.cGroupOverrides.cpuAcctPath`] instead. + +[float] +=== `server.xsrf.whitelist` is no longer valid +*Details:* The deprecated `server.xsrf.whitelist` setting is no longer supported. + +*Impact:* Use {kibana-ref}/settings.html#settings-xsrf-allowlist[`server.xsrf.allowlist`] instead. + // end::notable-breaking-changes[] diff --git a/docs/redirects.asciidoc b/docs/redirects.asciidoc index 97a87506f2337..d5bc2ccd8ef7d 100644 --- a/docs/redirects.asciidoc +++ b/docs/redirects.asciidoc @@ -293,7 +293,7 @@ This content has moved. Refer to <>. This content has moved. Refer to <>. [role="exclude",id="ingest-node-pipelines"] -== Ingest Node Pipelines +== Ingest Pipelines This content has moved. Refer to {ref}/ingest.html[Ingest pipelines]. diff --git a/docs/settings/alert-action-settings.asciidoc b/docs/settings/alert-action-settings.asciidoc index 92357a8800d67..3a94e652d2ea0 100644 --- a/docs/settings/alert-action-settings.asciidoc +++ b/docs/settings/alert-action-settings.asciidoc @@ -31,11 +31,6 @@ Be sure to back up the encryption key value somewhere safe, as your alerting rul [[action-settings]] ==== Action settings -`xpack.actions.enabled`:: -deprecated:[7.16.0,"In 8.0 and later, this setting will no longer be supported."] -Feature toggle that enables Actions in {kib}. -If `false`, all features dependent on Actions are disabled, including the *Observability* and *Security* apps. Default: `true`. - `xpack.actions.allowedHosts` {ess-icon}:: A list of hostnames that {kib} is allowed to connect to when built-in actions are triggered. It defaults to `[*]`, allowing any host, but keep in mind the potential for SSRF attacks when hosts are not explicitly added to the allowed hosts. An empty list `[]` can be used to block built-in actions from making any external connections. + @@ -179,3 +174,10 @@ For example, `20m`, `24h`, `7d`, `1w`. Default: `60s`. `xpack.alerting.maxEphemeralActionsPerAlert`:: Sets the number of actions that will be executed ephemerally. To use this, enable ephemeral tasks in task manager first with <> + +`xpack.alerting.defaultRuleTaskTimeout`:: +Specifies the default timeout for the all rule types tasks. The time is formatted as: ++ +`[ms,s,m,h,d,w,M,Y]` ++ +For example, `20m`, `24h`, `7d`, `1w`. Default: `60s`. diff --git a/docs/settings/apm-settings.asciidoc b/docs/settings/apm-settings.asciidoc index d812576878f2b..e565bda0dff47 100644 --- a/docs/settings/apm-settings.asciidoc +++ b/docs/settings/apm-settings.asciidoc @@ -66,7 +66,7 @@ Changing these settings may disable features of the APM App. | Index name where Observability annotations are stored. Defaults to `observability-annotations`. | `xpack.apm.searchAggregatedTransactions` - | experimental[] Enables Transaction histogram metrics. Defaults to `auto` and the UI will use metric indices over transaction indices for transactions if aggregated transactions are found. When set to `always`, additional configuration in APM Server is required. When set to `never`, aggregated transactions are not used. + | experimental[] Enables Transaction histogram metrics. Defaults to `never` and aggregated transactions are not used. When set to `auto`, the UI will use metric indices over transaction indices for transactions if aggregated transactions are found. When set to `always`, additional configuration in APM Server is required. See {apm-server-ref-v}/transaction-metrics.html[Configure transaction metrics] for more information. | `apm_oss.indexPattern` {ess-icon} diff --git a/docs/settings/logging-settings.asciidoc b/docs/settings/logging-settings.asciidoc index 77f3bd90a911a..177d1bc8db118 100644 --- a/docs/settings/logging-settings.asciidoc +++ b/docs/settings/logging-settings.asciidoc @@ -12,16 +12,6 @@ Refer to the <> for common configuration use cases. To learn more about possible configuration values, go to {kibana-ref}/logging-service.html[{kib}'s Logging service]. -[[log-settings-compatibility]] -==== Backwards compatibility -Compatibility with the legacy logging system is assured until the end of the `v7` version. -All log messages handled by `root` context (default) are forwarded to the legacy logging service. -The logging configuration is validated against the predefined schema and if there are -any issues with it, {kib} will fail to start with the detailed error message. - -NOTE: When you switch to the new logging configuration, you will start seeing duplicate log entries in both formats. -These will be removed when the `default` appender is no longer required. - [[log-settings-examples]] ==== Examples Here are some configuration examples for the most common logging use cases: diff --git a/docs/settings/reporting-settings.asciidoc b/docs/settings/reporting-settings.asciidoc index 694f8c53f6745..560f2d850c6d5 100644 --- a/docs/settings/reporting-settings.asciidoc +++ b/docs/settings/reporting-settings.asciidoc @@ -11,7 +11,6 @@ You can configure `xpack.reporting` settings in your `kibana.yml` to: * <> * <> -* <> * <> * <> * <> @@ -47,33 +46,6 @@ The static encryption key for reporting. Use an alphanumeric text string that is xpack.reporting.encryptionKey: "something_secret" -------------------------------------------------------------------------------- -[float] -[[report-indices]] -==== Reporting index setting - - - -`xpack.reporting.index`:: -deprecated:[7.11.0,This setting will be removed in 8.0.0.] Multitenancy by changing `kibana.index` is unsupported starting in 8.0.0. For more details, refer to https://ela.st/kbn-remove-legacy-multitenancy[8.0 Breaking Changes]. When you divide workspaces in an Elastic cluster using multiple {kib} instances with a different `kibana.index` setting per instance, you must set a unique `xpack.reporting.index` setting per `kibana.index`. Otherwise, report generation periodically fails if a report is queued through an instance with one `kibana.index` setting, and an instance with a different `kibana.index` attempts to claim the job. Reporting uses a weekly index in {es} to store the reporting job and the report content. The index is automatically created if it does not already exist. Configure a unique value for `xpack.reporting.index`, beginning with `.reporting-`, for every {kib} instance that has a unique <> setting. Defaults to `.reporting`. - -{kib} instance A: -[source,yaml] --------------------------------------------------------------------------------- -kibana.index: ".kibana-a" -xpack.reporting.index: ".reporting-a" -xpack.reporting.encryptionKey: "something_secret" --------------------------------------------------------------------------------- - -{kib} instance B: -[source,yaml] --------------------------------------------------------------------------------- -kibana.index: ".kibana-b" -xpack.reporting.index: ".reporting-b" -xpack.reporting.encryptionKey: "something_secret" --------------------------------------------------------------------------------- - -NOTE: If security is enabled, the `xpack.reporting.index` setting should begin with `.reporting-` for the `kibana_system` role to have the necessary privileges over the index. - [float] [[reporting-kibana-server-settings]] ==== {kib} server settings diff --git a/docs/setup/configuring-reporting.asciidoc b/docs/setup/configuring-reporting.asciidoc index 6d209092d3338..38bf2955fb56e 100644 --- a/docs/setup/configuring-reporting.asciidoc +++ b/docs/setup/configuring-reporting.asciidoc @@ -148,56 +148,6 @@ reporting_user: - "cn=Bill Murray,dc=example,dc=com" -------------------------------------------------------------------------------- -[float] -==== Grant access with a custom index - -If you are using a custom index, the `xpack.reporting.index` setting must begin with `.reporting-*`. The default {kib} system user has `all` privileges against the `.reporting-*` pattern of indices. - -If you use a different pattern for the `xpack.reporting.index` setting, you must create a custom `kibana_system` user with appropriate access to the index. - -NOTE: In the next major version of Kibana, granting access with a custom index is unsupported. - -. Create the reporting role. - -.. Open the main menu, then click *Stack Management*. - -.. Click *Roles > Create role*. - -. Specify the role settings. - -.. Enter the *Role name*. For example, `custom-reporting-user`. - -.. From the *Indices* dropdown, select the custom index. - -.. From the *Privileges* dropdown, select *all*. - -.. Click *Add Kibana privilege*. - -.. Select one or more *Spaces* that you want to grant reporting privileges to. - -.. Click *Customize*, then click *Analytics*. - -.. Next to each application you want to grant reporting privileges to, click *All*. - -.. Click *Add {kib} privilege*, then click *Create role*. - -. Assign the reporting role to a user. - -.. Open the main menu, then click *Stack Management*. - -.. Click *Users*, then click the user you want to assign the reporting role to. - -.. From the *Roles* dropdown, select *kibana_system* and *custom-reporting-user*. - -.. Click *Update user*. - -. Configure {kib} to use the new account. -+ -[source,js] --------------------------------------------------------------------------------- -elasticsearch.username: 'custom_kibana_system' --------------------------------------------------------------------------------- - [float] [[securing-reporting]] === Secure the reporting endpoints diff --git a/docs/setup/settings.asciidoc b/docs/setup/settings.asciidoc index c098fb697de04..7a85411065db6 100644 --- a/docs/setup/settings.asciidoc +++ b/docs/setup/settings.asciidoc @@ -26,16 +26,6 @@ Toggling this causes the server to regenerate assets on the next startup, which may cause a delay before pages start being served. Set to `false` to disable Console. *Default: `true`* -| `cpu.cgroup.path.override:` - | deprecated:[7.10.0,"In 8.0 and later, this setting will no longer be supported."] - This setting has been renamed to - <>. - -| `cpuacct.cgroup.path.override:` - | deprecated:[7.10.0,"In 8.0 and later, this setting will no longer be supported."] - This setting has been renamed to - <>. - | `csp.rules:` | deprecated:[7.14.0,"In 8.0 and later, this setting will no longer be supported."] A https://w3c.github.io/webappsec-csp/[Content Security Policy] template diff --git a/docs/user/management.asciidoc b/docs/user/management.asciidoc index 4e5f70db9aef6..1f38d50e2d0bd 100644 --- a/docs/user/management.asciidoc +++ b/docs/user/management.asciidoc @@ -17,7 +17,7 @@ Consult your administrator if you do not have the appropriate access. [cols="50, 50"] |=== -| {ref}/ingest.html[Ingest Node Pipelines] +| {ref}/ingest.html[Ingest Pipelines] | Create and manage ingest pipelines that let you perform common transformations and enrichments on your data. diff --git a/docs/user/monitoring/monitoring-metricbeat.asciidoc b/docs/user/monitoring/monitoring-metricbeat.asciidoc index 5ef3b8177a9c5..101377e047588 100644 --- a/docs/user/monitoring/monitoring-metricbeat.asciidoc +++ b/docs/user/monitoring/monitoring-metricbeat.asciidoc @@ -189,8 +189,9 @@ If you configured the monitoring cluster to use encrypted communications, you must access it via HTTPS. For example, use a `hosts` setting like `https://es-mon-1:9200`. -IMPORTANT: The {es} {monitor-features} use ingest pipelines, therefore the -cluster that stores the monitoring data must have at least one ingest node. +IMPORTANT: The {es} {monitor-features} use ingest pipelines. The +cluster that stores the monitoring data must have at least one node with the +`ingest` role. If the {es} {security-features} are enabled on the monitoring cluster, you must provide a valid user ID and password so that {metricbeat} can send metrics diff --git a/docs/user/production-considerations/production.asciidoc b/docs/user/production-considerations/production.asciidoc index 455e07e452807..db8d0738323ff 100644 --- a/docs/user/production-considerations/production.asciidoc +++ b/docs/user/production-considerations/production.asciidoc @@ -32,12 +32,21 @@ server.name Settings unique across each host (for example, running multiple installations on the same virtual machine): [source,js] -------- -logging.dest path.data pid.file server.port -------- +When using a file appender, the target file must also be unique: +[source,yaml] +-------- +logging: + appenders: + default: + type: file + fileName: /unique/path/per/instance +-------- + Settings that must be the same: [source,js] -------- diff --git a/package.json b/package.json index f04a8423196fd..e91f9c1a7ba3d 100644 --- a/package.json +++ b/package.json @@ -93,6 +93,10 @@ }, "dependencies": { "@babel/runtime": "^7.15.4", + "@dnd-kit/core": "^3.1.1", + "@dnd-kit/sortable": "^4.0.0", + "@dnd-kit/utilities": "^2.0.0", + "@elastic/apm-generator": "link:bazel-bin/packages/elastic-apm-generator", "@elastic/apm-rum": "^5.9.1", "@elastic/apm-rum-react": "^1.3.1", "@elastic/charts": "34.2.1", @@ -101,7 +105,6 @@ "@elastic/ems-client": "7.15.0", "@elastic/eui": "38.0.1", "@elastic/filesaver": "1.1.2", - "@elastic/good": "^9.0.1-kibana3", "@elastic/maki": "6.3.0", "@elastic/node-crypto": "1.2.1", "@elastic/numeral": "^2.5.1", @@ -113,12 +116,10 @@ "@hapi/accept": "^5.0.2", "@hapi/boom": "^9.1.4", "@hapi/cookie": "^11.0.2", - "@hapi/good-squeeze": "6.0.0", "@hapi/h2o2": "^9.1.0", "@hapi/hapi": "^20.2.0", "@hapi/hoek": "^9.2.0", "@hapi/inert": "^6.0.4", - "@hapi/podium": "^4.1.3", "@hapi/wreck": "^17.1.0", "@kbn/ace": "link:bazel-bin/packages/kbn-ace", "@kbn/alerts": "link:bazel-bin/packages/kbn-alerts", @@ -133,7 +134,6 @@ "@kbn/i18n": "link:bazel-bin/packages/kbn-i18n", "@kbn/interpreter": "link:bazel-bin/packages/kbn-interpreter", "@kbn/io-ts-utils": "link:bazel-bin/packages/kbn-io-ts-utils", - "@kbn/legacy-logging": "link:bazel-bin/packages/kbn-legacy-logging", "@kbn/logging": "link:bazel-bin/packages/kbn-logging", "@kbn/mapbox-gl": "link:bazel-bin/packages/kbn-mapbox-gl", "@kbn/monaco": "link:bazel-bin/packages/kbn-monaco", diff --git a/packages/BUILD.bazel b/packages/BUILD.bazel index 36bdee5303cb7..ace4f982b8515 100644 --- a/packages/BUILD.bazel +++ b/packages/BUILD.bazel @@ -3,7 +3,8 @@ filegroup( name = "build", srcs = [ - "//packages/elastic-datemath:build", + "//packages/elastic-apm-generator:build", + "//packages/elastic-datemath:build", "//packages/elastic-eslint-config-kibana:build", "//packages/elastic-safer-lodash-set:build", "//packages/kbn-ace:build", @@ -29,7 +30,6 @@ filegroup( "//packages/kbn-i18n:build", "//packages/kbn-interpreter:build", "//packages/kbn-io-ts-utils:build", - "//packages/kbn-legacy-logging:build", "//packages/kbn-logging:build", "//packages/kbn-mapbox-gl:build", "//packages/kbn-monaco:build", diff --git a/packages/kbn-legacy-logging/BUILD.bazel b/packages/elastic-apm-generator/BUILD.bazel similarity index 71% rename from packages/kbn-legacy-logging/BUILD.bazel rename to packages/elastic-apm-generator/BUILD.bazel index c4927fe076e15..6b46b2b9181e5 100644 --- a/packages/kbn-legacy-logging/BUILD.bazel +++ b/packages/elastic-apm-generator/BUILD.bazel @@ -2,8 +2,8 @@ load("@npm//@bazel/typescript:index.bzl", "ts_config", "ts_project") load("@build_bazel_rules_nodejs//:index.bzl", "js_library", "pkg_npm") load("//src/dev/bazel:index.bzl", "jsts_transpiler") -PKG_BASE_NAME = "kbn-legacy-logging" -PKG_REQUIRE_NAME = "@kbn/legacy-logging" +PKG_BASE_NAME = "elastic-apm-generator" +PKG_REQUIRE_NAME = "@elastic/apm-generator" SOURCE_FILES = glob( [ @@ -25,33 +25,25 @@ NPM_MODULE_EXTRA_FILES = [ ] RUNTIME_DEPS = [ - "//packages/kbn-config-schema", - "//packages/kbn-utils", - "@npm//@elastic/numeral", - "@npm//@hapi/hapi", - "@npm//@hapi/podium", - "@npm//chokidar", + "@npm//@elastic/elasticsearch", "@npm//lodash", - "@npm//moment-timezone", - "@npm//query-string", - "@npm//rxjs", - "@npm//tslib", + "@npm//moment", + "@npm//object-hash", + "@npm//p-limit", + "@npm//utility-types", + "@npm//uuid", + "@npm//yargs", ] TYPES_DEPS = [ - "//packages/kbn-config-schema", - "//packages/kbn-utils", - "@npm//@elastic/numeral", - "@npm//@hapi/podium", - "@npm//chokidar", - "@npm//query-string", - "@npm//rxjs", - "@npm//tslib", - "@npm//@types/hapi__hapi", + "@npm//@elastic/elasticsearch", + "@npm//moment", + "@npm//p-limit", "@npm//@types/jest", "@npm//@types/lodash", - "@npm//@types/moment-timezone", "@npm//@types/node", + "@npm//@types/uuid", + "@npm//@types/object-hash", ] jsts_transpiler( @@ -78,8 +70,8 @@ ts_project( declaration_map = True, emit_declaration_only = True, out_dir = "target_types", - source_map = True, root_dir = "src", + source_map = True, tsconfig = ":tsconfig", ) diff --git a/packages/elastic-apm-generator/README.md b/packages/elastic-apm-generator/README.md new file mode 100644 index 0000000000000..e69de29bb2d1d diff --git a/packages/kbn-legacy-logging/jest.config.js b/packages/elastic-apm-generator/jest.config.js similarity index 80% rename from packages/kbn-legacy-logging/jest.config.js rename to packages/elastic-apm-generator/jest.config.js index d00b1c56dae81..64aaa43741cc3 100644 --- a/packages/kbn-legacy-logging/jest.config.js +++ b/packages/elastic-apm-generator/jest.config.js @@ -9,5 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../..', - roots: ['/packages/kbn-legacy-logging'], + roots: ['/packages/elastic-apm-generator'], + setupFiles: [], + setupFilesAfterEnv: [], }; diff --git a/packages/elastic-apm-generator/package.json b/packages/elastic-apm-generator/package.json new file mode 100644 index 0000000000000..57dafd5d6431d --- /dev/null +++ b/packages/elastic-apm-generator/package.json @@ -0,0 +1,9 @@ +{ + "name": "@elastic/apm-generator", + "version": "0.1.0", + "description": "Elastic APM trace data generator", + "license": "SSPL-1.0 OR Elastic License 2.0", + "main": "./target_node/index.js", + "types": "./target_types/index.d.ts", + "private": true +} diff --git a/packages/elastic-apm-generator/src/index.ts b/packages/elastic-apm-generator/src/index.ts new file mode 100644 index 0000000000000..fd83ce483ad4f --- /dev/null +++ b/packages/elastic-apm-generator/src/index.ts @@ -0,0 +1,14 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +export { service } from './lib/service'; +export { timerange } from './lib/timerange'; +export { getTransactionMetrics } from './lib/utils/get_transaction_metrics'; +export { getSpanDestinationMetrics } from './lib/utils/get_span_destination_metrics'; +export { getObserverDefaults } from './lib/defaults/get_observer_defaults'; +export { toElasticsearchOutput } from './lib/output/to_elasticsearch_output'; diff --git a/packages/elastic-apm-generator/src/lib/base_span.ts b/packages/elastic-apm-generator/src/lib/base_span.ts new file mode 100644 index 0000000000000..24a51282687f4 --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/base_span.ts @@ -0,0 +1,55 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { Fields } from './entity'; +import { Serializable } from './serializable'; +import { generateTraceId } from './utils/generate_id'; + +export class BaseSpan extends Serializable { + private _children: BaseSpan[] = []; + + constructor(fields: Fields) { + super({ + ...fields, + 'event.outcome': 'unknown', + 'trace.id': generateTraceId(), + 'processor.name': 'transaction', + }); + } + + traceId(traceId: string) { + this.fields['trace.id'] = traceId; + this._children.forEach((child) => { + child.fields['trace.id'] = traceId; + }); + return this; + } + + children(...children: BaseSpan[]) { + this._children.push(...children); + children.forEach((child) => { + child.traceId(this.fields['trace.id']!); + }); + + return this; + } + + success() { + this.fields['event.outcome'] = 'success'; + return this; + } + + failure() { + this.fields['event.outcome'] = 'failure'; + return this; + } + + serialize(): Fields[] { + return [this.fields, ...this._children.flatMap((child) => child.serialize())]; + } +} diff --git a/packages/elastic-apm-generator/src/lib/defaults/get_observer_defaults.ts b/packages/elastic-apm-generator/src/lib/defaults/get_observer_defaults.ts new file mode 100644 index 0000000000000..67a4d5773b937 --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/defaults/get_observer_defaults.ts @@ -0,0 +1,16 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { Fields } from '../entity'; + +export function getObserverDefaults(): Fields { + return { + 'observer.version': '7.16.0', + 'observer.version_major': 7, + }; +} diff --git a/packages/elastic-apm-generator/src/lib/entity.ts b/packages/elastic-apm-generator/src/lib/entity.ts new file mode 100644 index 0000000000000..e0a048c876213 --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/entity.ts @@ -0,0 +1,63 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +export type Fields = Partial<{ + '@timestamp': number; + 'agent.name': string; + 'agent.version': string; + 'ecs.version': string; + 'event.outcome': string; + 'event.ingested': number; + 'metricset.name': string; + 'observer.version': string; + 'observer.version_major': number; + 'parent.id': string; + 'processor.event': string; + 'processor.name': string; + 'trace.id': string; + 'transaction.name': string; + 'transaction.type': string; + 'transaction.id': string; + 'transaction.duration.us': number; + 'transaction.duration.histogram': { + values: number[]; + counts: number[]; + }; + 'transaction.sampled': true; + 'service.name': string; + 'service.environment': string; + 'service.node.name': string; + 'span.id': string; + 'span.name': string; + 'span.type': string; + 'span.subtype': string; + 'span.duration.us': number; + 'span.destination.service.name': string; + 'span.destination.service.resource': string; + 'span.destination.service.type': string; + 'span.destination.service.response_time.sum.us': number; + 'span.destination.service.response_time.count': number; +}>; + +export class Entity { + constructor(public readonly fields: Fields) { + this.fields = fields; + } + + defaults(defaults: Fields) { + Object.keys(defaults).forEach((key) => { + const fieldName: keyof Fields = key as any; + + if (!(fieldName in this.fields)) { + this.fields[fieldName] = defaults[fieldName] as any; + } + }); + + return this; + } +} diff --git a/packages/elastic-apm-generator/src/lib/instance.ts b/packages/elastic-apm-generator/src/lib/instance.ts new file mode 100644 index 0000000000000..4218a9e23f4b4 --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/instance.ts @@ -0,0 +1,30 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { Entity } from './entity'; +import { Span } from './span'; +import { Transaction } from './transaction'; + +export class Instance extends Entity { + transaction(transactionName: string, transactionType = 'request') { + return new Transaction({ + ...this.fields, + 'transaction.name': transactionName, + 'transaction.type': transactionType, + }); + } + + span(spanName: string, spanType: string, spanSubtype?: string) { + return new Span({ + ...this.fields, + 'span.name': spanName, + 'span.type': spanType, + 'span.subtype': spanSubtype, + }); + } +} diff --git a/packages/elastic-apm-generator/src/lib/interval.ts b/packages/elastic-apm-generator/src/lib/interval.ts new file mode 100644 index 0000000000000..f13d54fd7415e --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/interval.ts @@ -0,0 +1,32 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ +import moment from 'moment'; + +export class Interval { + constructor( + private readonly from: number, + private readonly to: number, + private readonly interval: string + ) {} + + rate(rate: number) { + let now = this.from; + const args = this.interval.match(/(.*)(s|m|h|d)/); + if (!args) { + throw new Error('Failed to parse interval'); + } + const timestamps: number[] = []; + while (now <= this.to) { + timestamps.push(...new Array(rate).fill(now)); + now = moment(now) + .add(Number(args[1]), args[2] as any) + .valueOf(); + } + return timestamps; + } +} diff --git a/src/plugins/discover/public/application/components/table/table_helper.tsx b/packages/elastic-apm-generator/src/lib/metricset.ts similarity index 64% rename from src/plugins/discover/public/application/components/table/table_helper.tsx rename to packages/elastic-apm-generator/src/lib/metricset.ts index e1c3de8d87c34..f7abec6fde958 100644 --- a/src/plugins/discover/public/application/components/table/table_helper.tsx +++ b/packages/elastic-apm-generator/src/lib/metricset.ts @@ -6,9 +6,12 @@ * Side Public License, v 1. */ -/** - * Removes markup added by kibana fields html formatter - */ -export function trimAngularSpan(text: string): string { - return text.replace(/^/, '').replace(/<\/span>$/, ''); +import { Serializable } from './serializable'; + +export class Metricset extends Serializable {} + +export function metricset(name: string) { + return new Metricset({ + 'metricset.name': name, + }); } diff --git a/packages/elastic-apm-generator/src/lib/output/to_elasticsearch_output.ts b/packages/elastic-apm-generator/src/lib/output/to_elasticsearch_output.ts new file mode 100644 index 0000000000000..ded94f9ad2276 --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/output/to_elasticsearch_output.ts @@ -0,0 +1,33 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { set } from 'lodash'; +import { getObserverDefaults } from '../..'; +import { Fields } from '../entity'; + +export function toElasticsearchOutput(events: Fields[], versionOverride?: string) { + return events.map((event) => { + const values = { + ...event, + '@timestamp': new Date(event['@timestamp']!).toISOString(), + 'timestamp.us': event['@timestamp']! * 1000, + 'ecs.version': '1.4', + ...getObserverDefaults(), + }; + + const document = {}; + // eslint-disable-next-line guard-for-in + for (const key in values) { + set(document, key, values[key as keyof typeof values]); + } + return { + _index: `apm-${versionOverride || values['observer.version']}-${values['processor.event']}`, + _source: document, + }; + }); +} diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_missing.ts b/packages/elastic-apm-generator/src/lib/serializable.ts similarity index 54% rename from src/plugins/data/public/query/filter_manager/lib/mappers/map_missing.ts rename to packages/elastic-apm-generator/src/lib/serializable.ts index 41af3760a652e..3a92dc539855a 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_missing.ts +++ b/packages/elastic-apm-generator/src/lib/serializable.ts @@ -6,16 +6,20 @@ * Side Public License, v 1. */ -import { Filter, isMissingFilter, FILTERS } from '@kbn/es-query'; +import { Entity, Fields } from './entity'; -export const mapMissing = (filter: Filter) => { - if (isMissingFilter(filter)) { - return { - type: FILTERS.MISSING, - value: FILTERS.MISSING, - key: filter.missing.field, - }; +export class Serializable extends Entity { + constructor(fields: Fields) { + super({ + ...fields, + }); } - throw filter; -}; + timestamp(time: number) { + this.fields['@timestamp'] = time; + return this; + } + serialize(): Fields[] { + return [this.fields]; + } +} diff --git a/packages/elastic-apm-generator/src/lib/service.ts b/packages/elastic-apm-generator/src/lib/service.ts new file mode 100644 index 0000000000000..8ddbd827e842e --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/service.ts @@ -0,0 +1,27 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { Entity } from './entity'; +import { Instance } from './instance'; + +export class Service extends Entity { + instance(instanceName: string) { + return new Instance({ + ...this.fields, + ['service.node.name']: instanceName, + }); + } +} + +export function service(name: string, environment: string, agentName: string) { + return new Service({ + 'service.name': name, + 'service.environment': environment, + 'agent.name': agentName, + }); +} diff --git a/packages/elastic-apm-generator/src/lib/span.ts b/packages/elastic-apm-generator/src/lib/span.ts new file mode 100644 index 0000000000000..da9ba9cdff722 --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/span.ts @@ -0,0 +1,53 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { BaseSpan } from './base_span'; +import { Fields } from './entity'; +import { generateEventId } from './utils/generate_id'; + +export class Span extends BaseSpan { + constructor(fields: Fields) { + super({ + ...fields, + 'processor.event': 'span', + 'span.id': generateEventId(), + }); + } + + children(...children: BaseSpan[]) { + super.children(...children); + + children.forEach((child) => + child.defaults({ + 'parent.id': this.fields['span.id'], + }) + ); + + return this; + } + + duration(duration: number) { + this.fields['span.duration.us'] = duration * 1000; + return this; + } + + destination(resource: string, type?: string, name?: string) { + if (!type) { + type = this.fields['span.type']; + } + + if (!name) { + name = resource; + } + this.fields['span.destination.service.resource'] = resource; + this.fields['span.destination.service.name'] = name; + this.fields['span.destination.service.type'] = type; + + return this; + } +} diff --git a/packages/elastic-apm-generator/src/lib/timerange.ts b/packages/elastic-apm-generator/src/lib/timerange.ts new file mode 100644 index 0000000000000..14111ad7b8495 --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/timerange.ts @@ -0,0 +1,21 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { Interval } from './interval'; + +export class Timerange { + constructor(private from: number, private to: number) {} + + interval(interval: string) { + return new Interval(this.from, this.to, interval); + } +} + +export function timerange(from: number, to: number) { + return new Timerange(from, to); +} diff --git a/packages/elastic-apm-generator/src/lib/transaction.ts b/packages/elastic-apm-generator/src/lib/transaction.ts new file mode 100644 index 0000000000000..14ed6ac1ea85e --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/transaction.ts @@ -0,0 +1,37 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { BaseSpan } from './base_span'; +import { Fields } from './entity'; +import { generateEventId } from './utils/generate_id'; + +export class Transaction extends BaseSpan { + constructor(fields: Fields) { + super({ + ...fields, + 'processor.event': 'transaction', + 'transaction.id': generateEventId(), + 'transaction.sampled': true, + }); + } + children(...children: BaseSpan[]) { + super.children(...children); + children.forEach((child) => + child.defaults({ + 'transaction.id': this.fields['transaction.id'], + 'parent.id': this.fields['transaction.id'], + }) + ); + return this; + } + + duration(duration: number) { + this.fields['transaction.duration.us'] = duration * 1000; + return this; + } +} diff --git a/packages/elastic-apm-generator/src/lib/utils/generate_id.ts b/packages/elastic-apm-generator/src/lib/utils/generate_id.ts new file mode 100644 index 0000000000000..6c8b33fc19077 --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/utils/generate_id.ts @@ -0,0 +1,25 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import uuidv5 from 'uuid/v5'; + +let seq = 0; + +const namespace = 'f38d5b83-8eee-4f5b-9aa6-2107e15a71e3'; + +function generateId() { + return uuidv5(String(seq++), namespace).replace(/-/g, ''); +} + +export function generateEventId() { + return generateId().substr(0, 16); +} + +export function generateTraceId() { + return generateId().substr(0, 32); +} diff --git a/packages/elastic-apm-generator/src/lib/utils/get_span_destination_metrics.ts b/packages/elastic-apm-generator/src/lib/utils/get_span_destination_metrics.ts new file mode 100644 index 0000000000000..3740ad685735e --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/utils/get_span_destination_metrics.ts @@ -0,0 +1,51 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { pick } from 'lodash'; +import moment from 'moment'; +import objectHash from 'object-hash'; +import { Fields } from '../entity'; + +export function getSpanDestinationMetrics(events: Fields[]) { + const exitSpans = events.filter((event) => !!event['span.destination.service.resource']); + + const metricsets = new Map(); + + function getSpanBucketKey(span: Fields) { + return { + '@timestamp': moment(span['@timestamp']).startOf('minute').valueOf(), + ...pick(span, [ + 'event.outcome', + 'agent.name', + 'service.environment', + 'service.name', + 'span.destination.service.resource', + ]), + }; + } + + for (const span of exitSpans) { + const key = getSpanBucketKey(span); + const id = objectHash(key); + + let metricset = metricsets.get(id); + if (!metricset) { + metricset = { + ['processor.event']: 'metric', + ...key, + 'span.destination.service.response_time.sum.us': 0, + 'span.destination.service.response_time.count': 0, + }; + metricsets.set(id, metricset); + } + metricset['span.destination.service.response_time.count']! += 1; + metricset['span.destination.service.response_time.sum.us']! += span['span.duration.us']!; + } + + return [...Array.from(metricsets.values())]; +} diff --git a/packages/elastic-apm-generator/src/lib/utils/get_transaction_metrics.ts b/packages/elastic-apm-generator/src/lib/utils/get_transaction_metrics.ts new file mode 100644 index 0000000000000..62ecb9e20006f --- /dev/null +++ b/packages/elastic-apm-generator/src/lib/utils/get_transaction_metrics.ts @@ -0,0 +1,89 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { pick, sortBy } from 'lodash'; +import moment from 'moment'; +import objectHash from 'object-hash'; +import { Fields } from '../entity'; + +function sortAndCompressHistogram(histogram?: { values: number[]; counts: number[] }) { + return sortBy(histogram?.values).reduce( + (prev, current) => { + const lastValue = prev.values[prev.values.length - 1]; + if (lastValue === current) { + prev.counts[prev.counts.length - 1]++; + return prev; + } + + prev.counts.push(1); + prev.values.push(current); + + return prev; + }, + { values: [] as number[], counts: [] as number[] } + ); +} + +export function getTransactionMetrics(events: Fields[]) { + const transactions = events.filter((event) => event['processor.event'] === 'transaction'); + + const metricsets = new Map(); + + function getTransactionBucketKey(transaction: Fields) { + return { + '@timestamp': moment(transaction['@timestamp']).startOf('minute').valueOf(), + 'trace.root': transaction['parent.id'] === undefined, + ...pick(transaction, [ + 'transaction.name', + 'transaction.type', + 'event.outcome', + 'transaction.result', + 'agent.name', + 'service.environment', + 'service.name', + 'service.version', + 'host.name', + 'container.id', + 'kubernetes.pod.name', + ]), + }; + } + + for (const transaction of transactions) { + const key = getTransactionBucketKey(transaction); + const id = objectHash(key); + let metricset = metricsets.get(id); + if (!metricset) { + metricset = { + ...key, + ['processor.event']: 'metric', + 'transaction.duration.histogram': { + values: [], + counts: [], + }, + }; + metricsets.set(id, metricset); + } + metricset['transaction.duration.histogram']?.counts.push(1); + metricset['transaction.duration.histogram']?.values.push( + Number(transaction['transaction.duration.us']) + ); + } + + return [ + ...Array.from(metricsets.values()).map((metricset) => { + return { + ...metricset, + ['transaction.duration.histogram']: sortAndCompressHistogram( + metricset['transaction.duration.histogram'] + ), + _doc_count: metricset['transaction.duration.histogram']!.values.length, + }; + }), + ]; +} diff --git a/packages/elastic-apm-generator/src/scripts/es.js b/packages/elastic-apm-generator/src/scripts/es.js new file mode 100644 index 0000000000000..9f99a5d19b8f8 --- /dev/null +++ b/packages/elastic-apm-generator/src/scripts/es.js @@ -0,0 +1,15 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +/* eslint-disable @typescript-eslint/no-var-requires*/ +require('@babel/register')({ + extensions: ['.ts', '.js'], + presets: [['@babel/preset-env', { targets: { node: 'current' } }], '@babel/preset-typescript'], +}); + +require('./es.ts'); diff --git a/packages/elastic-apm-generator/src/scripts/es.ts b/packages/elastic-apm-generator/src/scripts/es.ts new file mode 100644 index 0000000000000..d023ef7172892 --- /dev/null +++ b/packages/elastic-apm-generator/src/scripts/es.ts @@ -0,0 +1,113 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { inspect } from 'util'; +import { Client } from '@elastic/elasticsearch'; +import { chunk } from 'lodash'; +import pLimit from 'p-limit'; +import yargs from 'yargs/yargs'; +import { toElasticsearchOutput } from '..'; +import { simpleTrace } from './examples/01_simple_trace'; + +yargs(process.argv.slice(2)) + .command( + 'example', + 'run an example scenario', + (y) => { + return y + .positional('scenario', { + describe: 'scenario to run', + choices: ['simple-trace'], + demandOption: true, + }) + .option('target', { + describe: 'elasticsearch target, including username/password', + }) + .option('from', { describe: 'start of timerange' }) + .option('to', { describe: 'end of timerange' }) + .option('workers', { + default: 1, + describe: 'number of concurrently connected ES clients', + }) + .option('apm-server-version', { + describe: 'APM Server version override', + }) + .demandOption('target'); + }, + (argv) => { + let events: any[] = []; + const toDateString = (argv.to as string | undefined) || new Date().toISOString(); + const fromDateString = + (argv.from as string | undefined) || + new Date(new Date(toDateString).getTime() - 15 * 60 * 1000).toISOString(); + + const to = new Date(toDateString).getTime(); + const from = new Date(fromDateString).getTime(); + + switch (argv._[1]) { + case 'simple-trace': + events = simpleTrace(from, to); + break; + } + + const docs = toElasticsearchOutput(events, argv['apm-server-version'] as string); + + const client = new Client({ + node: argv.target as string, + }); + + const fn = pLimit(argv.workers); + + const batches = chunk(docs, 1000); + + // eslint-disable-next-line no-console + console.log( + 'Uploading', + docs.length, + 'docs in', + batches.length, + 'batches', + 'from', + fromDateString, + 'to', + toDateString + ); + + Promise.all( + batches.map((batch) => + fn(() => { + return client.bulk({ + require_alias: true, + body: batch.flatMap((doc) => { + return [{ index: { _index: doc._index } }, doc._source]; + }), + }); + }) + ) + ) + .then((results) => { + const errors = results + .flatMap((result) => result.body.items) + .filter((item) => !!item.index?.error) + .map((item) => item.index?.error); + + if (errors.length) { + // eslint-disable-next-line no-console + console.error(inspect(errors.slice(0, 10), { depth: null })); + throw new Error('Failed to upload some items'); + } + process.exit(); + }) + .catch((err) => { + // eslint-disable-next-line no-console + console.error(err); + process.exit(1); + }); + } + ) + .parse(); diff --git a/packages/elastic-apm-generator/src/scripts/examples/01_simple_trace.ts b/packages/elastic-apm-generator/src/scripts/examples/01_simple_trace.ts new file mode 100644 index 0000000000000..eef3e6cc40560 --- /dev/null +++ b/packages/elastic-apm-generator/src/scripts/examples/01_simple_trace.ts @@ -0,0 +1,54 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { service, timerange, getTransactionMetrics, getSpanDestinationMetrics } from '../..'; + +export function simpleTrace(from: number, to: number) { + const instance = service('opbeans-go', 'production', 'go').instance('instance'); + + const range = timerange(from, to); + + const transactionName = '100rpm (75% success) failed 1000ms'; + + const successfulTraceEvents = range + .interval('1m') + .rate(75) + .flatMap((timestamp) => + instance + .transaction(transactionName) + .timestamp(timestamp) + .duration(1000) + .success() + .children( + instance + .span('GET apm-*/_search', 'db', 'elasticsearch') + .duration(1000) + .success() + .destination('elasticsearch') + .timestamp(timestamp), + instance.span('custom_operation', 'app').duration(50).success().timestamp(timestamp) + ) + .serialize() + ); + + const failedTraceEvents = range + .interval('1m') + .rate(25) + .flatMap((timestamp) => + instance + .transaction(transactionName) + .timestamp(timestamp) + .duration(1000) + .failure() + .serialize() + ); + + const events = successfulTraceEvents.concat(failedTraceEvents); + + return events.concat(getTransactionMetrics(events)).concat(getSpanDestinationMetrics(events)); +} diff --git a/packages/elastic-apm-generator/src/test/scenarios/01_simple_trace.test.ts b/packages/elastic-apm-generator/src/test/scenarios/01_simple_trace.test.ts new file mode 100644 index 0000000000000..6bae70507dcbe --- /dev/null +++ b/packages/elastic-apm-generator/src/test/scenarios/01_simple_trace.test.ts @@ -0,0 +1,108 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { service } from '../../lib/service'; +import { timerange } from '../../lib/timerange'; + +describe('simple trace', () => { + let events: Array>; + + beforeEach(() => { + const javaService = service('opbeans-java', 'production', 'java'); + const javaInstance = javaService.instance('instance-1'); + + const range = timerange( + new Date('2021-01-01T00:00:00.000Z').getTime(), + new Date('2021-01-01T00:15:00.000Z').getTime() - 1 + ); + + events = range + .interval('1m') + .rate(1) + .flatMap((timestamp) => + javaInstance + .transaction('GET /api/product/list') + .duration(1000) + .success() + .timestamp(timestamp) + .children( + javaInstance + .span('GET apm-*/_search', 'db', 'elasticsearch') + .success() + .duration(900) + .timestamp(timestamp + 50) + ) + .serialize() + ); + }); + + it('generates the same data every time', () => { + expect(events).toMatchSnapshot(); + }); + + it('generates 15 transaction events', () => { + expect(events.filter((event) => event['processor.event'] === 'transaction').length).toEqual(15); + }); + + it('generates 15 span events', () => { + expect(events.filter((event) => event['processor.event'] === 'span').length).toEqual(15); + }); + + it('correctly sets the trace/transaction id of children', () => { + const [transaction, span] = events; + + expect(span['transaction.id']).toEqual(transaction['transaction.id']); + expect(span['parent.id']).toEqual(transaction['transaction.id']); + + expect(span['trace.id']).toEqual(transaction['trace.id']); + }); + + it('outputs transaction events', () => { + const [transaction] = events; + + expect(transaction).toEqual({ + '@timestamp': 1609459200000, + 'agent.name': 'java', + 'event.outcome': 'success', + 'processor.event': 'transaction', + 'processor.name': 'transaction', + 'service.environment': 'production', + 'service.name': 'opbeans-java', + 'service.node.name': 'instance-1', + 'trace.id': 'f6eb2f1cbba2597e89d2a63771c4344d', + 'transaction.duration.us': 1000000, + 'transaction.id': 'e9ece67cbacb52bf', + 'transaction.name': 'GET /api/product/list', + 'transaction.type': 'request', + 'transaction.sampled': true, + }); + }); + + it('outputs span events', () => { + const [, span] = events; + + expect(span).toEqual({ + '@timestamp': 1609459200050, + 'agent.name': 'java', + 'event.outcome': 'success', + 'parent.id': 'e7433020f2745625', + 'processor.event': 'span', + 'processor.name': 'transaction', + 'service.environment': 'production', + 'service.name': 'opbeans-java', + 'service.node.name': 'instance-1', + 'span.duration.us': 900000, + 'span.id': '21a776b44b9853dd', + 'span.name': 'GET apm-*/_search', + 'span.subtype': 'elasticsearch', + 'span.type': 'db', + 'trace.id': '048a0647263853abb94649ec0b92bdb4', + 'transaction.id': 'e7433020f2745625', + }); + }); +}); diff --git a/packages/elastic-apm-generator/src/test/scenarios/02_transaction_metrics.test.ts b/packages/elastic-apm-generator/src/test/scenarios/02_transaction_metrics.test.ts new file mode 100644 index 0000000000000..0b9f192d3d27d --- /dev/null +++ b/packages/elastic-apm-generator/src/test/scenarios/02_transaction_metrics.test.ts @@ -0,0 +1,107 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { service } from '../../lib/service'; +import { timerange } from '../../lib/timerange'; +import { getTransactionMetrics } from '../../lib/utils/get_transaction_metrics'; + +describe('transaction metrics', () => { + let events: Array>; + + beforeEach(() => { + const javaService = service('opbeans-java', 'production', 'java'); + const javaInstance = javaService.instance('instance-1'); + + const range = timerange( + new Date('2021-01-01T00:00:00.000Z').getTime(), + new Date('2021-01-01T00:15:00.000Z').getTime() - 1 + ); + + events = getTransactionMetrics( + range + .interval('1m') + .rate(25) + .flatMap((timestamp) => + javaInstance + .transaction('GET /api/product/list') + .duration(1000) + .success() + .timestamp(timestamp) + .serialize() + ) + .concat( + range + .interval('1m') + .rate(50) + .flatMap((timestamp) => + javaInstance + .transaction('GET /api/product/list') + .duration(1000) + .failure() + .timestamp(timestamp) + .serialize() + ) + ) + ); + }); + + it('generates the right amount of transaction metrics', () => { + expect(events.length).toBe(30); + }); + + it('generates a metricset per interval', () => { + const metricsSetsForSuccessfulTransactions = events.filter( + (event) => event['event.outcome'] === 'success' + ); + + const [first, second] = metricsSetsForSuccessfulTransactions.map((event) => + new Date(event['@timestamp']).toISOString() + ); + + expect([first, second]).toEqual(['2021-01-01T00:00:00.000Z', '2021-01-01T00:01:00.000Z']); + }); + + it('generates a metricset per value of event.outcome', () => { + const metricsSetsForSuccessfulTransactions = events.filter( + (event) => event['event.outcome'] === 'success' + ); + + const metricsSetsForFailedTransactions = events.filter( + (event) => event['event.outcome'] === 'failure' + ); + + expect(metricsSetsForSuccessfulTransactions.length).toBe(15); + expect(metricsSetsForFailedTransactions.length).toBe(15); + }); + + it('captures all the values from aggregated transactions', () => { + const metricsSetsForSuccessfulTransactions = events.filter( + (event) => event['event.outcome'] === 'success' + ); + + const metricsSetsForFailedTransactions = events.filter( + (event) => event['event.outcome'] === 'failure' + ); + + expect(metricsSetsForSuccessfulTransactions.length).toBe(15); + + metricsSetsForSuccessfulTransactions.forEach((event) => { + expect(event['transaction.duration.histogram']).toEqual({ + values: [1000000], + counts: [25], + }); + }); + + metricsSetsForFailedTransactions.forEach((event) => { + expect(event['transaction.duration.histogram']).toEqual({ + values: [1000000], + counts: [50], + }); + }); + }); +}); diff --git a/packages/elastic-apm-generator/src/test/scenarios/03_span_destination_metrics.test.ts b/packages/elastic-apm-generator/src/test/scenarios/03_span_destination_metrics.test.ts new file mode 100644 index 0000000000000..158ccc5b5e714 --- /dev/null +++ b/packages/elastic-apm-generator/src/test/scenarios/03_span_destination_metrics.test.ts @@ -0,0 +1,105 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { service } from '../../lib/service'; +import { timerange } from '../../lib/timerange'; +import { getSpanDestinationMetrics } from '../../lib/utils/get_span_destination_metrics'; + +describe('span destination metrics', () => { + let events: Array>; + + beforeEach(() => { + const javaService = service('opbeans-java', 'production', 'java'); + const javaInstance = javaService.instance('instance-1'); + + const range = timerange( + new Date('2021-01-01T00:00:00.000Z').getTime(), + new Date('2021-01-01T00:15:00.000Z').getTime() - 1 + ); + + events = getSpanDestinationMetrics( + range + .interval('1m') + .rate(25) + .flatMap((timestamp) => + javaInstance + .transaction('GET /api/product/list') + .duration(1000) + .success() + .timestamp(timestamp) + .children( + javaInstance + .span('GET apm-*/_search', 'db', 'elasticsearch') + .timestamp(timestamp) + .duration(1000) + .destination('elasticsearch') + .success() + ) + .serialize() + ) + .concat( + range + .interval('1m') + .rate(50) + .flatMap((timestamp) => + javaInstance + .transaction('GET /api/product/list') + .duration(1000) + .failure() + .timestamp(timestamp) + .children( + javaInstance + .span('GET apm-*/_search', 'db', 'elasticsearch') + .timestamp(timestamp) + .duration(1000) + .destination('elasticsearch') + .failure(), + javaInstance + .span('custom_operation', 'app') + .timestamp(timestamp) + .duration(500) + .success() + ) + .serialize() + ) + ) + ); + }); + + it('generates the right amount of span metrics', () => { + expect(events.length).toBe(30); + }); + + it('does not generate metricsets for non-exit spans', () => { + expect( + events.every((event) => event['span.destination.service.resource'] === 'elasticsearch') + ).toBe(true); + }); + + it('captures all the values from aggregated exit spans', () => { + const metricsSetsForSuccessfulExitSpans = events.filter( + (event) => event['event.outcome'] === 'success' + ); + + const metricsSetsForFailedExitSpans = events.filter( + (event) => event['event.outcome'] === 'failure' + ); + + expect(metricsSetsForSuccessfulExitSpans.length).toBe(15); + + metricsSetsForSuccessfulExitSpans.forEach((event) => { + expect(event['span.destination.service.response_time.count']).toEqual(25); + expect(event['span.destination.service.response_time.sum.us']).toEqual(25000000); + }); + + metricsSetsForFailedExitSpans.forEach((event) => { + expect(event['span.destination.service.response_time.count']).toEqual(50); + expect(event['span.destination.service.response_time.sum.us']).toEqual(50000000); + }); + }); +}); diff --git a/packages/elastic-apm-generator/src/test/scenarios/__snapshots__/01_simple_trace.test.ts.snap b/packages/elastic-apm-generator/src/test/scenarios/__snapshots__/01_simple_trace.test.ts.snap new file mode 100644 index 0000000000000..6eec0ce38ba30 --- /dev/null +++ b/packages/elastic-apm-generator/src/test/scenarios/__snapshots__/01_simple_trace.test.ts.snap @@ -0,0 +1,516 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`simple trace generates the same data every time 1`] = ` +Array [ + Object { + "@timestamp": 1609459200000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "b1c6c04a9ac15b138f716d383cc85e6b", + "transaction.duration.us": 1000000, + "transaction.id": "36c16f18e75058f8", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459200050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "36c16f18e75058f8", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "fe778a305e6d57dd", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "b1c6c04a9ac15b138f716d383cc85e6b", + "transaction.id": "36c16f18e75058f8", + }, + Object { + "@timestamp": 1609459260000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "53c6c37bd4c85f4fbc880cd80704a9cd", + "transaction.duration.us": 1000000, + "transaction.id": "65ce74106eb050be", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459260050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "65ce74106eb050be", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "ad8c5e249a8658ec", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "53c6c37bd4c85f4fbc880cd80704a9cd", + "transaction.id": "65ce74106eb050be", + }, + Object { + "@timestamp": 1609459320000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "5eebf2e8d8cc5f85be8c573a1b501c7d", + "transaction.duration.us": 1000000, + "transaction.id": "91fa709d90625fff", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459320050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "91fa709d90625fff", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "228b569c530c52ac", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "5eebf2e8d8cc5f85be8c573a1b501c7d", + "transaction.id": "91fa709d90625fff", + }, + Object { + "@timestamp": 1609459380000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "6e8da4beb752589a86d53287c9d902de", + "transaction.duration.us": 1000000, + "transaction.id": "6c500d1d19835e68", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459380050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "6c500d1d19835e68", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "5eb13f140bde5334", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "6e8da4beb752589a86d53287c9d902de", + "transaction.id": "6c500d1d19835e68", + }, + Object { + "@timestamp": 1609459440000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "0aaa92bd91df543c8fd10b662051d9e8", + "transaction.duration.us": 1000000, + "transaction.id": "1b3246cc83595869", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459440050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "1b3246cc83595869", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "582221c79fd75a76", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "0aaa92bd91df543c8fd10b662051d9e8", + "transaction.id": "1b3246cc83595869", + }, + Object { + "@timestamp": 1609459500000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "26be5f0e2c16576ebf5f39c505eb1ff2", + "transaction.duration.us": 1000000, + "transaction.id": "12b49e3c83fe58d5", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459500050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "12b49e3c83fe58d5", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "526d186996835c09", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "26be5f0e2c16576ebf5f39c505eb1ff2", + "transaction.id": "12b49e3c83fe58d5", + }, + Object { + "@timestamp": 1609459560000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "c17c414c0b51564ca30e2ad839393180", + "transaction.duration.us": 1000000, + "transaction.id": "d9272009dd4354a1", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459560050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "d9272009dd4354a1", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "7582541fcbfc5dc6", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "c17c414c0b51564ca30e2ad839393180", + "transaction.id": "d9272009dd4354a1", + }, + Object { + "@timestamp": 1609459620000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "0280b1ffaae75e7ab097c0b52c3b3e6a", + "transaction.duration.us": 1000000, + "transaction.id": "bc52ca08063c505b", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459620050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "bc52ca08063c505b", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "37ab978487935abb", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "0280b1ffaae75e7ab097c0b52c3b3e6a", + "transaction.id": "bc52ca08063c505b", + }, + Object { + "@timestamp": 1609459680000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "6fb5191297fb59cebdb6a0196e273676", + "transaction.duration.us": 1000000, + "transaction.id": "186858dd88b75d59", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459680050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "186858dd88b75d59", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "5ab56f27d0ae569b", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "6fb5191297fb59cebdb6a0196e273676", + "transaction.id": "186858dd88b75d59", + }, + Object { + "@timestamp": 1609459740000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "77b5ffe303ae59b49f9b0e5d5270c16a", + "transaction.duration.us": 1000000, + "transaction.id": "0d5f44d48189546c", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459740050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "0d5f44d48189546c", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "80e94b0847cd5104", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "77b5ffe303ae59b49f9b0e5d5270c16a", + "transaction.id": "0d5f44d48189546c", + }, + Object { + "@timestamp": 1609459800000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "51c6b70db4dc5cf89b690de45c0c7b71", + "transaction.duration.us": 1000000, + "transaction.id": "7483e0606e435c83", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459800050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "7483e0606e435c83", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "2e99d193e0f954c1", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "51c6b70db4dc5cf89b690de45c0c7b71", + "transaction.id": "7483e0606e435c83", + }, + Object { + "@timestamp": 1609459860000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "5d91a6cde6015897935e413bc500f211", + "transaction.duration.us": 1000000, + "transaction.id": "f142c4cbc7f3568e", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459860050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "f142c4cbc7f3568e", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "1fc52f16e2f551ea", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "5d91a6cde6015897935e413bc500f211", + "transaction.id": "f142c4cbc7f3568e", + }, + Object { + "@timestamp": 1609459920000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "c097c19d884d52579bb11a601b8a98b3", + "transaction.duration.us": 1000000, + "transaction.id": "2e3a47fa2d905519", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459920050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "2e3a47fa2d905519", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "7c7828c850685337", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "c097c19d884d52579bb11a601b8a98b3", + "transaction.id": "2e3a47fa2d905519", + }, + Object { + "@timestamp": 1609459980000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "4591e57f4d7f5986bdd7892561224e0f", + "transaction.duration.us": 1000000, + "transaction.id": "de5eaa1e47dc56b1", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609459980050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "de5eaa1e47dc56b1", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "8f62257f4a41546a", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "4591e57f4d7f5986bdd7892561224e0f", + "transaction.id": "de5eaa1e47dc56b1", + }, + Object { + "@timestamp": 1609460040000, + "agent.name": "java", + "event.outcome": "success", + "processor.event": "transaction", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "trace.id": "85ee8e618433577b9316a1e14961aa89", + "transaction.duration.us": 1000000, + "transaction.id": "af7eac7ae61e576a", + "transaction.name": "GET /api/product/list", + "transaction.sampled": true, + "transaction.type": "request", + }, + Object { + "@timestamp": 1609460040050, + "agent.name": "java", + "event.outcome": "success", + "parent.id": "af7eac7ae61e576a", + "processor.event": "span", + "processor.name": "transaction", + "service.environment": "production", + "service.name": "opbeans-java", + "service.node.name": "instance-1", + "span.duration.us": 900000, + "span.id": "cc88b4cd921e590e", + "span.name": "GET apm-*/_search", + "span.subtype": "elasticsearch", + "span.type": "db", + "trace.id": "85ee8e618433577b9316a1e14961aa89", + "transaction.id": "af7eac7ae61e576a", + }, +] +`; diff --git a/packages/elastic-apm-generator/src/test/to_elasticsearch_output.test.ts b/packages/elastic-apm-generator/src/test/to_elasticsearch_output.test.ts new file mode 100644 index 0000000000000..c1a5d47654fc9 --- /dev/null +++ b/packages/elastic-apm-generator/src/test/to_elasticsearch_output.test.ts @@ -0,0 +1,37 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { Fields } from '../lib/entity'; +import { toElasticsearchOutput } from '../lib/output/to_elasticsearch_output'; + +describe('output to elasticsearch', () => { + let event: Fields; + + beforeEach(() => { + event = { + '@timestamp': new Date('2020-12-31T23:00:00.000Z').getTime(), + 'processor.event': 'transaction', + 'processor.name': 'transaction', + }; + }); + + it('properly formats @timestamp', () => { + const doc = toElasticsearchOutput([event])[0] as any; + + expect(doc._source['@timestamp']).toEqual('2020-12-31T23:00:00.000Z'); + }); + + it('formats a nested object', () => { + const doc = toElasticsearchOutput([event])[0] as any; + + expect(doc._source.processor).toEqual({ + event: 'transaction', + name: 'transaction', + }); + }); +}); diff --git a/packages/kbn-legacy-logging/tsconfig.json b/packages/elastic-apm-generator/tsconfig.json similarity index 54% rename from packages/kbn-legacy-logging/tsconfig.json rename to packages/elastic-apm-generator/tsconfig.json index 55047dbcadc91..534e8481dce9a 100644 --- a/packages/kbn-legacy-logging/tsconfig.json +++ b/packages/elastic-apm-generator/tsconfig.json @@ -5,11 +5,15 @@ "declarationMap": true, "emitDeclarationOnly": true, "outDir": "target_types", - "rootDir": "src", + "rootDir": "./src", "sourceMap": true, - "sourceRoot": "../../../../packages/kbn-legacy-logging/src", - "stripInternal": false, - "types": ["jest", "node"] + "sourceRoot": "../../../../packages/elastic-apm-generator/src", + "types": [ + "node", + "jest" + ] }, - "include": ["src/**/*"] + "include": [ + "./src/**/*.ts" + ] } diff --git a/packages/kbn-cli-dev-mode/src/bootstrap.ts b/packages/kbn-cli-dev-mode/src/bootstrap.ts index 86a276c64f1f5..0428051b77e31 100644 --- a/packages/kbn-cli-dev-mode/src/bootstrap.ts +++ b/packages/kbn-cli-dev-mode/src/bootstrap.ts @@ -20,7 +20,7 @@ interface BootstrapArgs { } export async function bootstrapDevMode({ configs, cliArgs, applyConfigOverrides }: BootstrapArgs) { - const log = new CliLog(!!cliArgs.quiet, !!cliArgs.silent); + const log = new CliLog(!!cliArgs.silent); const env = Env.createDefault(REPO_ROOT, { configs, diff --git a/packages/kbn-cli-dev-mode/src/cli_dev_mode.test.ts b/packages/kbn-cli-dev-mode/src/cli_dev_mode.test.ts index 8937eadfa4ee3..e5e009e51e69e 100644 --- a/packages/kbn-cli-dev-mode/src/cli_dev_mode.test.ts +++ b/packages/kbn-cli-dev-mode/src/cli_dev_mode.test.ts @@ -74,7 +74,6 @@ const createCliArgs = (parts: Partial = {}): SomeCliArgs => ({ runExamples: false, watch: true, silent: false, - quiet: false, ...parts, }); diff --git a/packages/kbn-cli-dev-mode/src/cli_dev_mode.ts b/packages/kbn-cli-dev-mode/src/cli_dev_mode.ts index 28f38592ff3c4..2396b316aa3a2 100644 --- a/packages/kbn-cli-dev-mode/src/cli_dev_mode.ts +++ b/packages/kbn-cli-dev-mode/src/cli_dev_mode.ts @@ -48,7 +48,6 @@ const GRACEFUL_TIMEOUT = 30000; export type SomeCliArgs = Pick< CliArgs, - | 'quiet' | 'silent' | 'verbose' | 'disableOptimizer' @@ -108,7 +107,7 @@ export class CliDevMode { private subscription?: Rx.Subscription; constructor({ cliArgs, config, log }: { cliArgs: SomeCliArgs; config: CliDevConfig; log?: Log }) { - this.log = log || new CliLog(!!cliArgs.quiet, !!cliArgs.silent); + this.log = log || new CliLog(!!cliArgs.silent); if (cliArgs.basePath) { this.basePathProxy = new BasePathProxyServer(this.log, config.http, config.dev); @@ -163,7 +162,7 @@ export class CliDevMode { runExamples: cliArgs.runExamples, cache: cliArgs.cache, dist: cliArgs.dist, - quiet: !!cliArgs.quiet, + quiet: false, silent: !!cliArgs.silent, verbose: !!cliArgs.verbose, watch: cliArgs.watch, diff --git a/packages/kbn-cli-dev-mode/src/dev_server.test.ts b/packages/kbn-cli-dev-mode/src/dev_server.test.ts index 9962a9a285a42..92dbe484eb005 100644 --- a/packages/kbn-cli-dev-mode/src/dev_server.test.ts +++ b/packages/kbn-cli-dev-mode/src/dev_server.test.ts @@ -130,7 +130,6 @@ describe('#run$', () => { Array [ "foo", "bar", - "--logging.json=false", ], Object { "env": Object { diff --git a/packages/kbn-cli-dev-mode/src/log.ts b/packages/kbn-cli-dev-mode/src/log.ts index 86956abec202a..2cbd02b94a844 100644 --- a/packages/kbn-cli-dev-mode/src/log.ts +++ b/packages/kbn-cli-dev-mode/src/log.ts @@ -21,7 +21,7 @@ export interface Log { export class CliLog implements Log { public toolingLog = new ToolingLog({ - level: this.silent ? 'silent' : this.quiet ? 'error' : 'info', + level: this.silent ? 'silent' : 'info', writeTo: { write: (msg) => { this.write(msg); @@ -29,10 +29,10 @@ export class CliLog implements Log { }, }); - constructor(private readonly quiet: boolean, private readonly silent: boolean) {} + constructor(private readonly silent: boolean) {} good(label: string, ...args: any[]) { - if (this.quiet || this.silent) { + if (this.silent) { return; } @@ -41,7 +41,7 @@ export class CliLog implements Log { } warn(label: string, ...args: any[]) { - if (this.quiet || this.silent) { + if (this.silent) { return; } diff --git a/packages/kbn-cli-dev-mode/src/using_server_process.ts b/packages/kbn-cli-dev-mode/src/using_server_process.ts index 0d0227c63adc2..eb997295035d8 100644 --- a/packages/kbn-cli-dev-mode/src/using_server_process.ts +++ b/packages/kbn-cli-dev-mode/src/using_server_process.ts @@ -25,7 +25,7 @@ export function usingServerProcess( ) { return Rx.using( (): ProcResource => { - const proc = execa.node(script, [...argv, '--logging.json=false'], { + const proc = execa.node(script, argv, { stdio: 'pipe', nodeOptions: [ ...process.execArgv, diff --git a/packages/kbn-config/src/__mocks__/env.ts b/packages/kbn-config/src/__mocks__/env.ts index 6f05f8f1f5a45..124a798501a96 100644 --- a/packages/kbn-config/src/__mocks__/env.ts +++ b/packages/kbn-config/src/__mocks__/env.ts @@ -19,7 +19,6 @@ export function getEnvOptions(options: DeepPartial = {}): EnvOptions configs: options.configs || [], cliArgs: { dev: true, - quiet: false, silent: false, watch: false, basePath: false, diff --git a/packages/kbn-config/src/__snapshots__/env.test.ts.snap b/packages/kbn-config/src/__snapshots__/env.test.ts.snap index 570ed948774cc..a8e2eb62dbedb 100644 --- a/packages/kbn-config/src/__snapshots__/env.test.ts.snap +++ b/packages/kbn-config/src/__snapshots__/env.test.ts.snap @@ -11,7 +11,6 @@ Env { "dist": false, "envName": "development", "oss": false, - "quiet": false, "runExamples": false, "silent": false, "watch": false, @@ -54,7 +53,6 @@ Env { "dist": false, "envName": "production", "oss": false, - "quiet": false, "runExamples": false, "silent": false, "watch": false, @@ -96,7 +94,6 @@ Env { "disableOptimizer": true, "dist": false, "oss": false, - "quiet": false, "runExamples": false, "silent": false, "watch": false, @@ -138,7 +135,6 @@ Env { "disableOptimizer": true, "dist": false, "oss": false, - "quiet": false, "runExamples": false, "silent": false, "watch": false, @@ -180,7 +176,6 @@ Env { "disableOptimizer": true, "dist": false, "oss": false, - "quiet": false, "runExamples": false, "silent": false, "watch": false, @@ -222,7 +217,6 @@ Env { "disableOptimizer": true, "dist": false, "oss": false, - "quiet": false, "runExamples": false, "silent": false, "watch": false, diff --git a/packages/kbn-config/src/config_service.test.ts b/packages/kbn-config/src/config_service.test.ts index 754de1c0a99f5..e8fd7ab187596 100644 --- a/packages/kbn-config/src/config_service.test.ts +++ b/packages/kbn-config/src/config_service.test.ts @@ -15,6 +15,7 @@ import { rawConfigServiceMock } from './raw/raw_config_service.mock'; import { schema } from '@kbn/config-schema'; import { MockedLogger, loggerMock } from '@kbn/logging/mocks'; +import type { ConfigDeprecationContext } from './deprecation'; import { ConfigService, Env, RawPackageInfo } from '.'; import { getEnvOptions } from './__mocks__/env'; @@ -475,6 +476,43 @@ test('logs deprecation warning during validation', async () => { `); }); +test('calls `applyDeprecations` with the correct parameters', async () => { + const cfg = { foo: { bar: 1 } }; + const rawConfig = getRawConfigProvider(cfg); + const configService = new ConfigService(rawConfig, defaultEnv, logger); + + const context: ConfigDeprecationContext = { + branch: defaultEnv.packageInfo.branch, + version: defaultEnv.packageInfo.version, + }; + + const deprecationA = jest.fn(); + const deprecationB = jest.fn(); + + configService.addDeprecationProvider('foo', () => [deprecationA]); + configService.addDeprecationProvider('bar', () => [deprecationB]); + + await configService.validate(); + + expect(mockApplyDeprecations).toHaveBeenCalledTimes(1); + expect(mockApplyDeprecations).toHaveBeenCalledWith( + cfg, + [ + { + deprecation: deprecationA, + path: 'foo', + context, + }, + { + deprecation: deprecationB, + path: 'bar', + context, + }, + ], + expect.any(Function) + ); +}); + test('does not log warnings for silent deprecations during validation', async () => { const rawConfig = getRawConfigProvider({}); const configService = new ConfigService(rawConfig, defaultEnv, logger); diff --git a/packages/kbn-config/src/config_service.ts b/packages/kbn-config/src/config_service.ts index 5883ce8ab513c..5103aa1a2d49d 100644 --- a/packages/kbn-config/src/config_service.ts +++ b/packages/kbn-config/src/config_service.ts @@ -19,12 +19,13 @@ import { RawConfigurationProvider } from './raw/raw_config_service'; import { applyDeprecations, ConfigDeprecationWithContext, + ConfigDeprecationContext, ConfigDeprecationProvider, configDeprecationFactory, DeprecatedConfigDetails, ChangedDeprecatedPaths, } from './deprecation'; -import { LegacyObjectToConfigAdapter } from './legacy'; +import { ObjectToConfigAdapter } from './object_to_config_adapter'; /** @internal */ export type IConfigService = PublicMethodsOf; @@ -71,7 +72,7 @@ export class ConfigService { map(([rawConfig, deprecations]) => { const migrated = applyDeprecations(rawConfig, deprecations); this.deprecatedConfigPaths.next(migrated.changedPaths); - return new LegacyObjectToConfigAdapter(migrated.config); + return new ObjectToConfigAdapter(migrated.config); }), tap((config) => { this.lastConfig = config; @@ -103,6 +104,7 @@ export class ConfigService { ...provider(configDeprecationFactory).map((deprecation) => ({ deprecation, path: flatPath, + context: createDeprecationContext(this.env), })), ]); } @@ -298,3 +300,10 @@ const pathToString = (path: ConfigPath) => (Array.isArray(path) ? path.join('.') */ const isPathHandled = (path: string, handledPaths: string[]) => handledPaths.some((handledPath) => hasConfigPathIntersection(path, handledPath)); + +const createDeprecationContext = (env: Env): ConfigDeprecationContext => { + return { + branch: env.packageInfo.branch, + version: env.packageInfo.version, + }; +}; diff --git a/packages/kbn-config/src/deprecation/apply_deprecations.test.ts b/packages/kbn-config/src/deprecation/apply_deprecations.test.ts index 8ad1491c19c9b..70945b2d96b32 100644 --- a/packages/kbn-config/src/deprecation/apply_deprecations.test.ts +++ b/packages/kbn-config/src/deprecation/apply_deprecations.test.ts @@ -7,18 +7,24 @@ */ import { applyDeprecations } from './apply_deprecations'; -import { ConfigDeprecation, ConfigDeprecationWithContext } from './types'; +import { ConfigDeprecation, ConfigDeprecationContext, ConfigDeprecationWithContext } from './types'; import { configDeprecationFactory as deprecations } from './deprecation_factory'; -const wrapHandler = ( - handler: ConfigDeprecation, - path: string = '' -): ConfigDeprecationWithContext => ({ - deprecation: handler, - path, -}); - describe('applyDeprecations', () => { + const context: ConfigDeprecationContext = { + version: '7.16.2', + branch: '7.16', + }; + + const wrapHandler = ( + handler: ConfigDeprecation, + path: string = '' + ): ConfigDeprecationWithContext => ({ + deprecation: handler, + path, + context, + }); + it('calls all deprecations handlers once', () => { const handlerA = jest.fn(); const handlerB = jest.fn(); @@ -32,6 +38,26 @@ describe('applyDeprecations', () => { expect(handlerC).toHaveBeenCalledTimes(1); }); + it('calls deprecations handlers with the correct parameters', () => { + const config = { foo: 'bar' }; + const addDeprecation = jest.fn(); + const createAddDeprecation = jest.fn().mockReturnValue(addDeprecation); + + const handlerA = jest.fn(); + const handlerB = jest.fn(); + applyDeprecations( + config, + [wrapHandler(handlerA, 'pathA'), wrapHandler(handlerB, 'pathB')], + createAddDeprecation + ); + + expect(handlerA).toHaveBeenCalledTimes(1); + expect(handlerA).toHaveBeenCalledWith(config, 'pathA', addDeprecation, context); + + expect(handlerB).toHaveBeenCalledTimes(1); + expect(handlerB).toHaveBeenCalledWith(config, 'pathB', addDeprecation, context); + }); + it('passes path to addDeprecation factory', () => { const addDeprecation = jest.fn(); const createAddDeprecation = jest.fn().mockReturnValue(addDeprecation); @@ -51,7 +77,7 @@ describe('applyDeprecations', () => { expect(createAddDeprecation).toHaveBeenNthCalledWith(2, 'pathB'); }); - it('calls handlers with correct arguments', () => { + it('calls handlers with correct config argument', () => { const addDeprecation = jest.fn(); const createAddDeprecation = jest.fn().mockReturnValue(addDeprecation); const initialConfig = { foo: 'bar', deprecated: 'deprecated' }; diff --git a/packages/kbn-config/src/deprecation/apply_deprecations.ts b/packages/kbn-config/src/deprecation/apply_deprecations.ts index d38ae98835831..11b35840969d0 100644 --- a/packages/kbn-config/src/deprecation/apply_deprecations.ts +++ b/packages/kbn-config/src/deprecation/apply_deprecations.ts @@ -15,6 +15,7 @@ import type { } from './types'; const noopAddDeprecationFactory: () => AddConfigDeprecation = () => () => undefined; + /** * Applies deprecations on given configuration and passes addDeprecation hook. * This hook is used for logging any deprecation warning using provided logger. @@ -32,8 +33,8 @@ export const applyDeprecations = ( set: [], unset: [], }; - deprecations.forEach(({ deprecation, path }) => { - const commands = deprecation(result, path, createAddDeprecation(path)); + deprecations.forEach(({ deprecation, path, context }) => { + const commands = deprecation(result, path, createAddDeprecation(path), context); if (commands) { if (commands.set) { changedPaths.set.push(...commands.set.map((c) => c.path)); diff --git a/packages/kbn-config/src/deprecation/deprecation_factory.test.ts b/packages/kbn-config/src/deprecation/deprecation_factory.test.ts index dfd6b8fac681f..415c8fb9f0610 100644 --- a/packages/kbn-config/src/deprecation/deprecation_factory.test.ts +++ b/packages/kbn-config/src/deprecation/deprecation_factory.test.ts @@ -7,11 +7,13 @@ */ import { DeprecatedConfigDetails } from './types'; +import { configDeprecationsMock } from './deprecations.mock'; import { configDeprecationFactory } from './deprecation_factory'; describe('DeprecationFactory', () => { const { deprecate, deprecateFromRoot, rename, renameFromRoot, unused, unusedFromRoot } = configDeprecationFactory; + const context = configDeprecationsMock.createContext(); const addDeprecation = jest.fn(); @@ -30,7 +32,12 @@ describe('DeprecationFactory', () => { property: 'value', }, }; - const commands = deprecate('deprecated', '8.0.0')(rawConfig, 'myplugin', addDeprecation); + const commands = deprecate('deprecated', '8.0.0')( + rawConfig, + 'myplugin', + addDeprecation, + context + ); expect(commands).toBeUndefined(); expect(addDeprecation.mock.calls).toMatchInlineSnapshot(` Array [ @@ -64,7 +71,8 @@ describe('DeprecationFactory', () => { const commands = deprecate('section.deprecated', '8.0.0')( rawConfig, 'myplugin', - addDeprecation + addDeprecation, + context ); expect(commands).toBeUndefined(); expect(addDeprecation.mock.calls).toMatchInlineSnapshot(` @@ -93,7 +101,12 @@ describe('DeprecationFactory', () => { property: 'value', }, }; - const commands = deprecate('deprecated', '8.0.0')(rawConfig, 'myplugin', addDeprecation); + const commands = deprecate('deprecated', '8.0.0')( + rawConfig, + 'myplugin', + addDeprecation, + context + ); expect(commands).toBeUndefined(); expect(addDeprecation).toBeCalledTimes(0); }); @@ -113,7 +126,8 @@ describe('DeprecationFactory', () => { const commands = deprecateFromRoot('myplugin.deprecated', '8.0.0')( rawConfig, 'does-not-matter', - addDeprecation + addDeprecation, + context ); expect(commands).toBeUndefined(); expect(addDeprecation.mock.calls).toMatchInlineSnapshot(` @@ -145,7 +159,8 @@ describe('DeprecationFactory', () => { const commands = deprecateFromRoot('myplugin.deprecated', '8.0.0')( rawConfig, 'does-not-matter', - addDeprecation + addDeprecation, + context ); expect(commands).toBeUndefined(); expect(addDeprecation).toBeCalledTimes(0); @@ -163,7 +178,12 @@ describe('DeprecationFactory', () => { property: 'value', }, }; - const commands = rename('deprecated', 'renamed')(rawConfig, 'myplugin', addDeprecation); + const commands = rename('deprecated', 'renamed')( + rawConfig, + 'myplugin', + addDeprecation, + context + ); expect(commands).toEqual({ set: [ { @@ -199,7 +219,7 @@ describe('DeprecationFactory', () => { property: 'value', }, }; - const commands = rename('deprecated', 'new')(rawConfig, 'myplugin', addDeprecation); + const commands = rename('deprecated', 'new')(rawConfig, 'myplugin', addDeprecation, context); expect(commands).toBeUndefined(); expect(addDeprecation).toHaveBeenCalledTimes(0); }); @@ -218,7 +238,8 @@ describe('DeprecationFactory', () => { const commands = rename('oldsection.deprecated', 'newsection.renamed')( rawConfig, 'myplugin', - addDeprecation + addDeprecation, + context ); expect(commands).toEqual({ set: [ @@ -252,7 +273,12 @@ describe('DeprecationFactory', () => { renamed: 'renamed', }, }; - const commands = rename('deprecated', 'renamed')(rawConfig, 'myplugin', addDeprecation); + const commands = rename('deprecated', 'renamed')( + rawConfig, + 'myplugin', + addDeprecation, + context + ); expect(commands).toEqual({ unset: [{ path: 'myplugin.deprecated' }], }); @@ -289,7 +315,8 @@ describe('DeprecationFactory', () => { const commands = renameFromRoot('myplugin.deprecated', 'myplugin.renamed')( rawConfig, 'does-not-matter', - addDeprecation + addDeprecation, + context ); expect(commands).toEqual({ set: [ @@ -330,7 +357,8 @@ describe('DeprecationFactory', () => { const commands = renameFromRoot('oldplugin.deprecated', 'newplugin.renamed')( rawConfig, 'does-not-matter', - addDeprecation + addDeprecation, + context ); expect(commands).toEqual({ set: [ @@ -371,7 +399,8 @@ describe('DeprecationFactory', () => { const commands = renameFromRoot('myplugin.deprecated', 'myplugin.new')( rawConfig, 'does-not-matter', - addDeprecation + addDeprecation, + context ); expect(commands).toBeUndefined(); expect(addDeprecation).toBeCalledTimes(0); @@ -387,7 +416,8 @@ describe('DeprecationFactory', () => { const commands = renameFromRoot('myplugin.deprecated', 'myplugin.renamed')( rawConfig, 'does-not-matter', - addDeprecation + addDeprecation, + context ); expect(commands).toEqual({ unset: [{ path: 'myplugin.deprecated' }], @@ -423,7 +453,7 @@ describe('DeprecationFactory', () => { property: 'value', }, }; - const commands = unused('deprecated')(rawConfig, 'myplugin', addDeprecation); + const commands = unused('deprecated')(rawConfig, 'myplugin', addDeprecation, context); expect(commands).toEqual({ unset: [{ path: 'myplugin.deprecated' }], }); @@ -456,7 +486,7 @@ describe('DeprecationFactory', () => { property: 'value', }, }; - const commands = unused('section.deprecated')(rawConfig, 'myplugin', addDeprecation); + const commands = unused('section.deprecated')(rawConfig, 'myplugin', addDeprecation, context); expect(commands).toEqual({ unset: [{ path: 'myplugin.section.deprecated' }], }); @@ -486,7 +516,7 @@ describe('DeprecationFactory', () => { property: 'value', }, }; - const commands = unused('deprecated')(rawConfig, 'myplugin', addDeprecation); + const commands = unused('deprecated')(rawConfig, 'myplugin', addDeprecation, context); expect(commands).toBeUndefined(); expect(addDeprecation).toBeCalledTimes(0); }); @@ -506,7 +536,8 @@ describe('DeprecationFactory', () => { const commands = unusedFromRoot('myplugin.deprecated')( rawConfig, 'does-not-matter', - addDeprecation + addDeprecation, + context ); expect(commands).toEqual({ unset: [{ path: 'myplugin.deprecated' }], @@ -540,7 +571,8 @@ describe('DeprecationFactory', () => { const commands = unusedFromRoot('myplugin.deprecated')( rawConfig, 'does-not-matter', - addDeprecation + addDeprecation, + context ); expect(commands).toBeUndefined(); expect(addDeprecation).toBeCalledTimes(0); diff --git a/packages/kbn-config/src/deprecation/deprecations.mock.ts b/packages/kbn-config/src/deprecation/deprecations.mock.ts new file mode 100644 index 0000000000000..80b65c84b4879 --- /dev/null +++ b/packages/kbn-config/src/deprecation/deprecations.mock.ts @@ -0,0 +1,20 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import type { ConfigDeprecationContext } from './types'; + +const createMockedContext = (): ConfigDeprecationContext => { + return { + branch: 'master', + version: '8.0.0', + }; +}; + +export const configDeprecationsMock = { + createContext: createMockedContext, +}; diff --git a/packages/kbn-config/src/deprecation/index.ts b/packages/kbn-config/src/deprecation/index.ts index ce10bafd9c575..fd06ddb6aaa30 100644 --- a/packages/kbn-config/src/deprecation/index.ts +++ b/packages/kbn-config/src/deprecation/index.ts @@ -9,6 +9,7 @@ export type { ConfigDeprecation, ConfigDeprecationCommand, + ConfigDeprecationContext, ConfigDeprecationWithContext, ConfigDeprecationFactory, AddConfigDeprecation, diff --git a/packages/kbn-config/src/deprecation/types.ts b/packages/kbn-config/src/deprecation/types.ts index 47a31b9e6725a..12b561aa2b1b9 100644 --- a/packages/kbn-config/src/deprecation/types.ts +++ b/packages/kbn-config/src/deprecation/types.ts @@ -6,6 +6,7 @@ * Side Public License, v 1. */ import type { RecursiveReadonly } from '@kbn/utility-types'; + /** * Config deprecation hook used when invoking a {@link ConfigDeprecation} * @@ -19,9 +20,9 @@ export type AddConfigDeprecation = (details: DeprecatedConfigDetails) => void; * @public */ export interface DeprecatedConfigDetails { - /* The title to be displayed for the deprecation. */ + /** The title to be displayed for the deprecation. */ title?: string; - /* The message to be displayed for the deprecation. */ + /** The message to be displayed for the deprecation. */ message: string; /** * levels: @@ -29,11 +30,11 @@ export interface DeprecatedConfigDetails { * - critical: needs to be addressed before upgrade. */ level?: 'warning' | 'critical'; - /* (optional) set false to prevent the config service from logging the deprecation message. */ + /** (optional) set false to prevent the config service from logging the deprecation message. */ silent?: boolean; - /* (optional) link to the documentation for more details on the deprecation. */ + /** (optional) link to the documentation for more details on the deprecation. */ documentationUrl?: string; - /* corrective action needed to fix this deprecation. */ + /** corrective action needed to fix this deprecation. */ correctiveActions: { /** * Specify a list of manual steps our users need to follow @@ -55,14 +56,27 @@ export interface DeprecatedConfigDetails { * ```typescript * const provider: ConfigDeprecation = (config, path) => ({ unset: [{ key: 'path.to.key' }] }) * ``` - * @internal + * @public */ export type ConfigDeprecation = ( config: RecursiveReadonly>, fromPath: string, - addDeprecation: AddConfigDeprecation + addDeprecation: AddConfigDeprecation, + context: ConfigDeprecationContext ) => void | ConfigDeprecationCommand; +/** + * Deprecation context provided to {@link ConfigDeprecation | config deprecations} + * + * @public + */ +export interface ConfigDeprecationContext { + /** The current Kibana version, e.g `7.16.1`, `8.0.0` */ + version: string; + /** The current Kibana branch, e.g `7.x`, `7.16`, `master` */ + branch: string; +} + /** * List of config paths changed during deprecation. * @@ -137,6 +151,7 @@ export interface ConfigDeprecationFactory { removeBy: string, details?: Partial ): ConfigDeprecation; + /** * Deprecate a configuration property from the root configuration. * Will log a deprecation warning if the deprecatedKey was found. @@ -157,6 +172,7 @@ export interface ConfigDeprecationFactory { removeBy: string, details?: Partial ): ConfigDeprecation; + /** * Rename a configuration property from inside a plugin's configuration path. * Will log a deprecation warning if the oldKey was found and deprecation applied. @@ -174,6 +190,7 @@ export interface ConfigDeprecationFactory { newKey: string, details?: Partial ): ConfigDeprecation; + /** * Rename a configuration property from the root configuration. * Will log a deprecation warning if the oldKey was found and deprecation applied. @@ -194,6 +211,7 @@ export interface ConfigDeprecationFactory { newKey: string, details?: Partial ): ConfigDeprecation; + /** * Remove a configuration property from inside a plugin's configuration path. * Will log a deprecation warning if the unused key was found and deprecation applied. @@ -207,6 +225,7 @@ export interface ConfigDeprecationFactory { * ``` */ unused(unusedKey: string, details?: Partial): ConfigDeprecation; + /** * Remove a configuration property from the root configuration. * Will log a deprecation warning if the unused key was found and deprecation applied. @@ -229,4 +248,5 @@ export interface ConfigDeprecationFactory { export interface ConfigDeprecationWithContext { deprecation: ConfigDeprecation; path: string; + context: ConfigDeprecationContext; } diff --git a/packages/kbn-config/src/env.ts b/packages/kbn-config/src/env.ts index 053bb93ce158c..73f32606c463f 100644 --- a/packages/kbn-config/src/env.ts +++ b/packages/kbn-config/src/env.ts @@ -21,8 +21,6 @@ export interface EnvOptions { export interface CliArgs { dev: boolean; envName?: string; - /** @deprecated */ - quiet?: boolean; silent?: boolean; verbose?: boolean; watch: boolean; diff --git a/packages/kbn-config/src/index.ts b/packages/kbn-config/src/index.ts index 08cf12343f459..0068fc87855b0 100644 --- a/packages/kbn-config/src/index.ts +++ b/packages/kbn-config/src/index.ts @@ -13,6 +13,7 @@ export type { ConfigDeprecationWithContext, ConfigDeprecation, ConfigDeprecationCommand, + ConfigDeprecationContext, ChangedDeprecatedPaths, } from './deprecation'; @@ -30,5 +31,4 @@ export { Config, ConfigPath, isConfigPath, hasConfigPathIntersection } from './c export { ObjectToConfigAdapter } from './object_to_config_adapter'; export { CliArgs, Env, RawPackageInfo } from './env'; export { EnvironmentMode, PackageInfo } from './types'; -export { LegacyObjectToConfigAdapter, LegacyLoggingConfig } from './legacy'; export { getPluginSearchPaths } from './plugins'; diff --git a/packages/kbn-config/src/legacy/__snapshots__/legacy_object_to_config_adapter.test.ts.snap b/packages/kbn-config/src/legacy/__snapshots__/legacy_object_to_config_adapter.test.ts.snap deleted file mode 100644 index 17ac75e9f3d9e..0000000000000 --- a/packages/kbn-config/src/legacy/__snapshots__/legacy_object_to_config_adapter.test.ts.snap +++ /dev/null @@ -1,95 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`#get correctly handles silent logging config. 1`] = ` -Object { - "appenders": Object { - "default": Object { - "legacyLoggingConfig": Object { - "silent": true, - }, - "type": "legacy-appender", - }, - }, - "loggers": undefined, - "root": Object { - "level": "off", - }, - "silent": true, -} -`; - -exports[`#get correctly handles verbose file logging config with json format. 1`] = ` -Object { - "appenders": Object { - "default": Object { - "legacyLoggingConfig": Object { - "dest": "/some/path.log", - "json": true, - "verbose": true, - }, - "type": "legacy-appender", - }, - }, - "dest": "/some/path.log", - "json": true, - "loggers": undefined, - "root": Object { - "level": "all", - }, - "verbose": true, -} -`; - -exports[`#getFlattenedPaths returns all paths of the underlying object. 1`] = ` -Array [ - "known", - "knownContainer.sub1", - "knownContainer.sub2", - "legacy.known", -] -`; - -exports[`#set correctly sets values for existing paths. 1`] = ` -Object { - "known": "value", - "knownContainer": Object { - "sub1": "sub-value-1", - "sub2": "sub-value-2", - }, -} -`; - -exports[`#set correctly sets values for paths that do not exist. 1`] = ` -Object { - "unknown": Object { - "sub1": "sub-value-1", - "sub2": "sub-value-2", - }, -} -`; - -exports[`#toRaw returns a deep copy of the underlying raw config object. 1`] = ` -Object { - "known": "foo", - "knownContainer": Object { - "sub1": "bar", - "sub2": "baz", - }, - "legacy": Object { - "known": "baz", - }, -} -`; - -exports[`#toRaw returns a deep copy of the underlying raw config object. 2`] = ` -Object { - "known": "bar", - "knownContainer": Object { - "sub1": "baz", - "sub2": "baz", - }, - "legacy": Object { - "known": "baz", - }, -} -`; diff --git a/packages/kbn-config/src/legacy/legacy_object_to_config_adapter.test.ts b/packages/kbn-config/src/legacy/legacy_object_to_config_adapter.test.ts deleted file mode 100644 index 47151503e1634..0000000000000 --- a/packages/kbn-config/src/legacy/legacy_object_to_config_adapter.test.ts +++ /dev/null @@ -1,161 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { LegacyObjectToConfigAdapter } from './legacy_object_to_config_adapter'; - -describe('#get', () => { - test('correctly handles paths that do not exist.', () => { - const configAdapter = new LegacyObjectToConfigAdapter({}); - - expect(configAdapter.get('one')).not.toBeDefined(); - expect(configAdapter.get(['one', 'two'])).not.toBeDefined(); - expect(configAdapter.get(['one.three'])).not.toBeDefined(); - }); - - test('correctly handles paths that do not need to be transformed.', () => { - const configAdapter = new LegacyObjectToConfigAdapter({ - one: 'value-one', - two: { - sub: 'value-two-sub', - }, - container: { - value: 'some', - }, - }); - - expect(configAdapter.get('one')).toEqual('value-one'); - expect(configAdapter.get(['two', 'sub'])).toEqual('value-two-sub'); - expect(configAdapter.get('two.sub')).toEqual('value-two-sub'); - expect(configAdapter.get('container')).toEqual({ value: 'some' }); - }); - - test('correctly handles csp config.', () => { - const configAdapter = new LegacyObjectToConfigAdapter({ - csp: { - rules: ['strict'], - }, - }); - - expect(configAdapter.get('csp')).toMatchInlineSnapshot(` - Object { - "rules": Array [ - "strict", - ], - } - `); - }); - - test('correctly handles silent logging config.', () => { - const configAdapter = new LegacyObjectToConfigAdapter({ - logging: { silent: true }, - }); - - expect(configAdapter.get('logging')).toMatchSnapshot(); - }); - - test('correctly handles verbose file logging config with json format.', () => { - const configAdapter = new LegacyObjectToConfigAdapter({ - logging: { verbose: true, json: true, dest: '/some/path.log' }, - }); - - expect(configAdapter.get('logging')).toMatchSnapshot(); - }); -}); - -describe('#set', () => { - test('correctly sets values for paths that do not exist.', () => { - const configAdapter = new LegacyObjectToConfigAdapter({}); - - configAdapter.set('unknown', 'value'); - configAdapter.set(['unknown', 'sub1'], 'sub-value-1'); - configAdapter.set('unknown.sub2', 'sub-value-2'); - - expect(configAdapter.toRaw()).toMatchSnapshot(); - }); - - test('correctly sets values for existing paths.', () => { - const configAdapter = new LegacyObjectToConfigAdapter({ - known: '', - knownContainer: { - sub1: 'sub-1', - sub2: 'sub-2', - }, - }); - - configAdapter.set('known', 'value'); - configAdapter.set(['knownContainer', 'sub1'], 'sub-value-1'); - configAdapter.set('knownContainer.sub2', 'sub-value-2'); - - expect(configAdapter.toRaw()).toMatchSnapshot(); - }); -}); - -describe('#has', () => { - test('returns false if config is not set', () => { - const configAdapter = new LegacyObjectToConfigAdapter({}); - - expect(configAdapter.has('unknown')).toBe(false); - expect(configAdapter.has(['unknown', 'sub1'])).toBe(false); - expect(configAdapter.has('unknown.sub2')).toBe(false); - }); - - test('returns true if config is set.', () => { - const configAdapter = new LegacyObjectToConfigAdapter({ - known: 'foo', - knownContainer: { - sub1: 'bar', - sub2: 'baz', - }, - }); - - expect(configAdapter.has('known')).toBe(true); - expect(configAdapter.has(['knownContainer', 'sub1'])).toBe(true); - expect(configAdapter.has('knownContainer.sub2')).toBe(true); - }); -}); - -describe('#toRaw', () => { - test('returns a deep copy of the underlying raw config object.', () => { - const configAdapter = new LegacyObjectToConfigAdapter({ - known: 'foo', - knownContainer: { - sub1: 'bar', - sub2: 'baz', - }, - legacy: { known: 'baz' }, - }); - - const firstRawCopy = configAdapter.toRaw(); - - configAdapter.set('known', 'bar'); - configAdapter.set(['knownContainer', 'sub1'], 'baz'); - - const secondRawCopy = configAdapter.toRaw(); - - expect(firstRawCopy).not.toBe(secondRawCopy); - expect(firstRawCopy.knownContainer).not.toBe(secondRawCopy.knownContainer); - - expect(firstRawCopy).toMatchSnapshot(); - expect(secondRawCopy).toMatchSnapshot(); - }); -}); - -describe('#getFlattenedPaths', () => { - test('returns all paths of the underlying object.', () => { - const configAdapter = new LegacyObjectToConfigAdapter({ - known: 'foo', - knownContainer: { - sub1: 'bar', - sub2: 'baz', - }, - legacy: { known: 'baz' }, - }); - - expect(configAdapter.getFlattenedPaths()).toMatchSnapshot(); - }); -}); diff --git a/packages/kbn-config/src/legacy/legacy_object_to_config_adapter.ts b/packages/kbn-config/src/legacy/legacy_object_to_config_adapter.ts deleted file mode 100644 index bc6fd49e2498a..0000000000000 --- a/packages/kbn-config/src/legacy/legacy_object_to_config_adapter.ts +++ /dev/null @@ -1,65 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { ConfigPath } from '../config'; -import { ObjectToConfigAdapter } from '../object_to_config_adapter'; - -/** - * Represents logging config supported by the legacy platform. - */ -export interface LegacyLoggingConfig { - silent?: boolean; - verbose?: boolean; - quiet?: boolean; - dest?: string; - json?: boolean; - events?: Record; -} - -type MixedLoggingConfig = LegacyLoggingConfig & Record; - -/** - * Represents adapter between config provided by legacy platform and `Config` - * supported by the current platform. - * @internal - */ -export class LegacyObjectToConfigAdapter extends ObjectToConfigAdapter { - private static transformLogging(configValue: MixedLoggingConfig = {}) { - const { appenders, root, loggers, ...legacyLoggingConfig } = configValue; - - const loggingConfig = { - appenders: { - ...appenders, - default: { type: 'legacy-appender', legacyLoggingConfig }, - }, - root: { level: 'info', ...root }, - loggers, - ...legacyLoggingConfig, - }; - - if (configValue.silent) { - loggingConfig.root.level = 'off'; - } else if (configValue.quiet) { - loggingConfig.root.level = 'error'; - } else if (configValue.verbose) { - loggingConfig.root.level = 'all'; - } - - return loggingConfig; - } - - public get(configPath: ConfigPath) { - const configValue = super.get(configPath); - switch (configPath) { - case 'logging': - return LegacyObjectToConfigAdapter.transformLogging(configValue as LegacyLoggingConfig); - default: - return configValue; - } - } -} diff --git a/packages/kbn-config/src/mocks.ts b/packages/kbn-config/src/mocks.ts index 0306b0cc0663e..40df96eb41f08 100644 --- a/packages/kbn-config/src/mocks.ts +++ b/packages/kbn-config/src/mocks.ts @@ -14,4 +14,5 @@ export { configMock } from './config.mock'; export { configServiceMock } from './config_service.mock'; export { rawConfigServiceMock } from './raw/raw_config_service.mock'; +export { configDeprecationsMock } from './deprecation/deprecations.mock'; export { getEnvOptions } from './__mocks__/env'; diff --git a/packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts b/packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts index 4d6ea646b2ab1..45d31c1eefad9 100644 --- a/packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts +++ b/packages/kbn-dev-utils/src/ci_stats_reporter/ci_stats_reporter.ts @@ -82,6 +82,7 @@ export class CiStatsReporter { const upstreamBranch = options.upstreamBranch ?? this.getUpstreamBranch(); const kibanaUuid = options.kibanaUuid === undefined ? this.getKibanaUuid() : options.kibanaUuid; let email; + let branch; try { const { stdout } = await execa('git', ['config', 'user.email']); @@ -90,19 +91,33 @@ export class CiStatsReporter { this.log.debug(e.message); } + try { + const { stdout } = await execa('git', ['branch', '--show-current']); + branch = stdout; + } catch (e) { + this.log.debug(e.message); + } + + const memUsage = process.memoryUsage(); const isElasticCommitter = email && email.endsWith('@elastic.co') ? true : false; const defaultMetadata = { + kibanaUuid, + isElasticCommitter, committerHash: email ? crypto.createHash('sha256').update(email).digest('hex').substring(0, 20) : undefined, + email: isElasticCommitter ? email : undefined, + branch: isElasticCommitter ? branch : undefined, cpuCount: Os.cpus()?.length, cpuModel: Os.cpus()[0]?.model, cpuSpeed: Os.cpus()[0]?.speed, - email: isElasticCommitter ? email : undefined, freeMem: Os.freemem(), - isElasticCommitter, - kibanaUuid, + memoryUsageRss: memUsage.rss, + memoryUsageHeapTotal: memUsage.heapTotal, + memoryUsageHeapUsed: memUsage.heapUsed, + memoryUsageExternal: memUsage.external, + memoryUsageArrayBuffers: memUsage.arrayBuffers, nestedTiming: process.env.CI_STATS_NESTED_TIMING ? true : false, osArch: Os.arch(), osPlatform: Os.platform(), diff --git a/packages/kbn-dev-utils/src/ci_stats_reporter/index.ts b/packages/kbn-dev-utils/src/ci_stats_reporter/index.ts index d99217c38b410..9cb05608526eb 100644 --- a/packages/kbn-dev-utils/src/ci_stats_reporter/index.ts +++ b/packages/kbn-dev-utils/src/ci_stats_reporter/index.ts @@ -8,3 +8,4 @@ export * from './ci_stats_reporter'; export * from './ship_ci_stats_cli'; +export { getTimeReporter } from './report_time'; diff --git a/packages/kbn-dev-utils/src/ci_stats_reporter/report_time.ts b/packages/kbn-dev-utils/src/ci_stats_reporter/report_time.ts new file mode 100644 index 0000000000000..d10250a03f091 --- /dev/null +++ b/packages/kbn-dev-utils/src/ci_stats_reporter/report_time.ts @@ -0,0 +1,25 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { CiStatsReporter, ToolingLog } from '..'; + +export const getTimeReporter = (log: ToolingLog, group: string) => { + const reporter = CiStatsReporter.fromEnv(log); + return async (startTime: number, id: string, meta: Record) => { + await reporter.timings({ + timings: [ + { + group, + id, + ms: Date.now() - startTime, + meta, + }, + ], + }); + }; +}; diff --git a/packages/kbn-dev-utils/src/vscode_config/managed_config_keys.ts b/packages/kbn-dev-utils/src/vscode_config/managed_config_keys.ts index 07156ca9257fb..f5bee0ce67fe4 100644 --- a/packages/kbn-dev-utils/src/vscode_config/managed_config_keys.ts +++ b/packages/kbn-dev-utils/src/vscode_config/managed_config_keys.ts @@ -8,7 +8,7 @@ export interface ManagedConfigKey { key: string; - value: string | Record | boolean; + value: string | Record | boolean | number; } /** @@ -46,4 +46,8 @@ export const MANAGED_CONFIG_KEYS: ManagedConfigKey[] = [ key: 'typescript.enablePromptUseWorkspaceTsdk', value: true, }, + { + key: 'typescript.tsserver.maxTsServerMemory', + value: 4096, + }, ]; diff --git a/packages/kbn-dev-utils/src/vscode_config/update_vscode_config.ts b/packages/kbn-dev-utils/src/vscode_config/update_vscode_config.ts index b337c8baa5e32..5c33b00262cc6 100644 --- a/packages/kbn-dev-utils/src/vscode_config/update_vscode_config.ts +++ b/packages/kbn-dev-utils/src/vscode_config/update_vscode_config.ts @@ -69,13 +69,13 @@ const createObjectPropOfManagedValues = (key: string, value: Record const addManagedProp = ( ast: t.ObjectExpression, key: string, - value: string | Record | boolean + value: string | Record | boolean | number ) => { - ast.properties.push( - typeof value === 'string' || typeof value === 'boolean' - ? createManagedProp(key, value) - : createObjectPropOfManagedValues(key, value) - ); + if (['number', 'string', 'boolean'].includes(typeof value)) { + ast.properties.push(createManagedProp(key, value)); + } else { + ast.properties.push(createObjectPropOfManagedValues(key, value as Record)); + } }; /** @@ -89,7 +89,7 @@ const addManagedProp = ( const replaceManagedProp = ( ast: t.ObjectExpression, existing: BasicObjectProp, - value: string | Record | boolean + value: string | Record | boolean | number ) => { remove(ast.properties, existing); addManagedProp(ast, existing.key.value, value); diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/buid_api_declaration.test.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/buid_api_declaration.test.ts index 7002f72ae2db0..6697dfe53ee36 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/buid_api_declaration.test.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/buid_api_declaration.test.ts @@ -8,9 +8,9 @@ import Path from 'path'; import { Project, Node } from 'ts-morph'; -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; -import { TypeKind, ApiScope } from '../types'; +import { TypeKind, ApiScope, PluginOrPackage } from '../types'; import { getKibanaPlatformPlugin } from '../tests/kibana_platform_plugin_mock'; import { getDeclarationNodesForPluginScope } from '../get_declaration_nodes_for_plugin'; import { buildApiDeclarationTopNode } from './build_api_declaration'; @@ -22,7 +22,7 @@ const log = new ToolingLog({ }); let nodes: Node[]; -let plugins: KibanaPlatformPlugin[]; +let plugins: PluginOrPackage[]; function getNodeName(node: Node): string { return isNamedNode(node) ? node.getName() : ''; diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_api_declaration.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_api_declaration.ts index 2f6b03de15b7a..55ab51b1208b4 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_api_declaration.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_api_declaration.ts @@ -7,11 +7,11 @@ */ import { FunctionTypeNode, Node } from 'ts-morph'; -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import { buildClassDec } from './build_class_dec'; import { buildFunctionDec } from './build_function_dec'; import { isNamedNode } from '../tsmorph_utils'; -import { ApiDeclaration } from '../types'; +import { ApiDeclaration, PluginOrPackage } from '../types'; import { buildVariableDec } from './build_variable_dec'; import { buildTypeLiteralDec } from './build_type_literal_dec'; import { ApiScope } from '../types'; @@ -25,7 +25,7 @@ import { buildApiId } from './utils'; export function buildApiDeclarationTopNode( node: Node, opts: { - plugins: KibanaPlatformPlugin[]; + plugins: PluginOrPackage[]; log: ToolingLog; currentPluginId: string; captureReferences: boolean; diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.test.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.test.ts index d381734c09aca..bf3f85114c660 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.test.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.test.ts @@ -7,14 +7,18 @@ */ import { REPO_ROOT } from '@kbn/utils'; -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import { getPluginApiDocId } from '../utils'; import { extractImportReferences } from './extract_import_refs'; -import { ApiScope, Reference } from '../types'; -import { getKibanaPlatformPlugin } from '../tests/kibana_platform_plugin_mock'; +import { ApiScope, PluginOrPackage, Reference } from '../types'; +import { + getKibanaPlatformPackage, + getKibanaPlatformPlugin, +} from '../tests/kibana_platform_plugin_mock'; const plugin = getKibanaPlatformPlugin('pluginA'); -const plugins: KibanaPlatformPlugin[] = [plugin]; +const packageA = getKibanaPlatformPackage('@kbn/package-a'); +const plugins: PluginOrPackage[] = [plugin, packageA]; const log = new ToolingLog({ level: 'debug', @@ -44,6 +48,23 @@ it('test extractImportReference', () => { }); }); +it('test extractImportReference with a package', () => { + const results = extractImportReferences( + `(param: string) => import("Users/foo/node_modules/${packageA.manifest.id}/target_types").Bar`, + plugins, + log + ); + expect(results.length).toBe(2); + expect(results[0]).toBe('(param: string) => '); + expect(results[1]).toEqual({ + text: 'Bar', + docId: getPluginApiDocId(packageA.manifest.id), + section: 'def-common.Bar', + pluginId: packageA.manifest.id, + scope: ApiScope.COMMON, + }); +}); + it('test extractImportReference with public folder nested under server folder', () => { const results = extractImportReferences( `import("${plugin.directory}/server/routes/public/bar").Bar`, diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.ts index 74a9cbac59399..8420a0cee4cd0 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.ts @@ -6,9 +6,9 @@ * Side Public License, v 1. */ -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import { getApiSectionId, getPluginApiDocId, getPluginForPath } from '../utils'; -import { ApiScope, TextWithLinks } from '../types'; +import { ApiScope, PluginOrPackage, TextWithLinks } from '../types'; import { getRelativePath, pathsOutsideScopes } from './utils'; /** @@ -27,7 +27,7 @@ import { getRelativePath, pathsOutsideScopes } from './utils'; */ export function extractImportReferences( text: string, - plugins: KibanaPlatformPlugin[], + plugins: PluginOrPackage[], log: ToolingLog ): TextWithLinks { const texts: TextWithLinks = []; @@ -40,7 +40,6 @@ export function extractImportReferences( texts.push(textSegment.substr(0, index)); } const plugin = getPluginForPath(path, plugins); - if (!plugin) { if (path.indexOf('plugin') >= 0) { log.warning('WARN: no plugin found for reference path ' + path); @@ -101,13 +100,15 @@ function extractImportRef( * * @param path An absolute path to a file inside a plugin directory. */ -function getScopeFromPath(path: string, plugin: KibanaPlatformPlugin, log: ToolingLog): ApiScope { +function getScopeFromPath(path: string, plugin: PluginOrPackage, log: ToolingLog): ApiScope { if (path.startsWith(`${plugin.directory}/public/`)) { return ApiScope.CLIENT; } else if (path.startsWith(`${plugin.directory}/server/`)) { return ApiScope.SERVER; } else if (path.startsWith(`${plugin.directory}/common/`)) { return ApiScope.COMMON; + } else if (!plugin.isPlugin) { + return plugin.scope ?? ApiScope.COMMON; } else { pathsOutsideScopes[path] = plugin.directory; return ApiScope.COMMON; diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/get_references.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/get_references.ts index 213db6c8d8ad9..5055723aa445a 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/get_references.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/get_references.ts @@ -7,15 +7,15 @@ */ import { Node, ReferenceFindableNode } from 'ts-morph'; -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import { getPluginForPath } from '../utils'; import { getSourceForNode } from './utils'; -import { ApiDeclaration, ApiReference } from '../types'; +import { ApiDeclaration, ApiReference, PluginOrPackage } from '../types'; import { isNamedNode } from '../tsmorph_utils'; interface Opts { node: ReferenceFindableNode; - plugins: KibanaPlatformPlugin[]; + plugins: PluginOrPackage[]; /** * The name of the plugin the node belongs in. This is used to filter out internal plugin * references. @@ -53,7 +53,7 @@ export function getReferences({ node, plugins, currentPluginId, log }: Opts): Ap } interface MaybeCollectReferencesOpt { - plugins: KibanaPlatformPlugin[]; + plugins: PluginOrPackage[]; /** * The name of the plugin the node belongs in. This is used to filter out internal plugin * references. diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/get_signature.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/get_signature.ts index b6250bd9bea34..46fe93e49e448 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/get_signature.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/get_signature.ts @@ -8,10 +8,10 @@ /* eslint-disable no-bitwise */ -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import { Node, TypeFormatFlags } from 'ts-morph'; import { isNamedNode } from '../tsmorph_utils'; -import { Reference } from '../types'; +import { PluginOrPackage, Reference } from '../types'; import { extractImportReferences } from './extract_import_refs'; import { getTypeKind } from './get_type_kind'; @@ -29,7 +29,7 @@ import { getTypeKind } from './get_type_kind'; */ export function getSignature( node: Node, - plugins: KibanaPlatformPlugin[], + plugins: PluginOrPackage[], log: ToolingLog ): Array | undefined { let signature = ''; diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/types.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/types.ts index bbe49cc2345a2..cf88a51d69ba4 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/types.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/types.ts @@ -6,11 +6,11 @@ * Side Public License, v 1. */ -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; -import { ApiScope } from '../types'; +import { ToolingLog } from '@kbn/dev-utils'; +import { ApiScope, PluginOrPackage } from '../types'; export interface BuildApiDecOpts { - plugins: KibanaPlatformPlugin[]; + plugins: PluginOrPackage[]; log: ToolingLog; currentPluginId: string; /** diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_docs_cli.ts b/packages/kbn-docs-utils/src/api_docs/build_api_docs_cli.ts index 9bd83d0b40968..1f709a52a0fc1 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_docs_cli.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_docs_cli.ts @@ -91,6 +91,7 @@ export function runBuildApiDocsCli() { ...collectApiStatsForPlugin(pluginApi, missingApiItems, referencedDeprecations), owner: plugin.manifest.owner, description: plugin.manifest.description, + isPlugin: plugin.isPlugin, }; return acc; }, {} as { [key: string]: PluginMetaInfo }); @@ -256,6 +257,7 @@ function getTsProject(repoPath: string) { }); project.addSourceFilesAtPaths(`${repoPath}/x-pack/plugins/**/*{.d.ts,.ts}`); project.addSourceFilesAtPaths(`${repoPath}/src/plugins/**/*{.d.ts,.ts}`); + project.addSourceFilesAtPaths(`${repoPath}/packages/**/*{.d.ts,.ts}`); project.resolveSourceFileDependencies(); return project; } diff --git a/packages/kbn-docs-utils/src/api_docs/find_plugins.ts b/packages/kbn-docs-utils/src/api_docs/find_plugins.ts index 004124f13889d..78cba3f3a9476 100644 --- a/packages/kbn-docs-utils/src/api_docs/find_plugins.ts +++ b/packages/kbn-docs-utils/src/api_docs/find_plugins.ts @@ -7,19 +7,71 @@ */ import Path from 'path'; +import globby from 'globby'; + +import loadJsonFile from 'load-json-file'; import { getPluginSearchPaths } from '@kbn/config'; import { simpleKibanaPlatformPluginDiscovery, REPO_ROOT } from '@kbn/dev-utils'; +import { ApiScope, PluginOrPackage } from './types'; -export function findPlugins() { +export function findPlugins(): PluginOrPackage[] { const pluginSearchPaths = getPluginSearchPaths({ rootDir: REPO_ROOT, oss: false, examples: false, }); - return simpleKibanaPlatformPluginDiscovery(pluginSearchPaths, [ - // discover "core" as a plugin - Path.resolve(REPO_ROOT, 'src/core'), - ]); + return ( + simpleKibanaPlatformPluginDiscovery(pluginSearchPaths, [ + // discover "core" as a plugin + Path.resolve(REPO_ROOT, 'src/core'), + ]).map((p) => ({ ...p, isPlugin: true, importPath: p.directory })) as PluginOrPackage[] + ).concat(...findPackages()); +} + +/** + * Helper to find packages. + */ +export function findPackages(): PluginOrPackage[] { + const packagePaths = globby + .sync(Path.resolve(REPO_ROOT, 'packages/**/package.json'), { absolute: true }) + .map((path) => + // absolute paths returned from globby are using normalize or + // something so the path separators are `/` even on windows, + // Path.resolve solves this + Path.resolve(path) + ); + + if (packagePaths.length === 0) { + throw new Error('No packages found!'); + } + + return packagePaths.reduce((acc, path) => { + const manifest: { name: string; author?: string; main?: string; browser?: string } = + loadJsonFile.sync(path); + if (manifest.name === undefined) return acc; + + let scope = ApiScope.COMMON; + if (manifest.main && !manifest.browser) { + scope = ApiScope.SERVER; + } else if (manifest.browser && !manifest.main) { + scope = ApiScope.CLIENT; + } + + acc.push({ + directory: Path.dirname(path), + manifestPath: path, + manifest: { + ...manifest, + id: manifest.name, + serviceFolders: [], + // Some of these author fields have "" in the name which mdx chokes on. Removing the < and > seems to work. + owner: { name: manifest.author?.replace(/[<>]/gi, '') || '[Owner missing]' }, + }, + isPlugin: false, + scope, + }); + return acc; + }, [] as PluginOrPackage[]); } diff --git a/packages/kbn-docs-utils/src/api_docs/get_declaration_nodes_for_plugin.ts b/packages/kbn-docs-utils/src/api_docs/get_declaration_nodes_for_plugin.ts index ee1fdc7f8803d..0d587559d3512 100644 --- a/packages/kbn-docs-utils/src/api_docs/get_declaration_nodes_for_plugin.ts +++ b/packages/kbn-docs-utils/src/api_docs/get_declaration_nodes_for_plugin.ts @@ -7,9 +7,9 @@ */ import Path from 'path'; -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import { Project, SourceFile, Node } from 'ts-morph'; -import { ApiScope } from './types'; +import { ApiScope, PluginOrPackage } from './types'; import { isNamedNode, getSourceFileMatching } from './tsmorph_utils'; /** @@ -24,11 +24,17 @@ import { isNamedNode, getSourceFileMatching } from './tsmorph_utils'; */ export function getDeclarationNodesForPluginScope( project: Project, - plugin: KibanaPlatformPlugin, + plugin: PluginOrPackage, scope: ApiScope, log: ToolingLog ): Node[] { - const path = Path.join(`${plugin.directory}`, scope.toString(), 'index.ts'); + // Packages specify the intended scope in the package.json, while plugins specify the scope + // using folder structure. + if (!plugin.isPlugin && scope !== plugin.scope) return []; + + const path = plugin.isPlugin + ? Path.join(`${plugin.directory}`, scope.toString(), 'index.ts') + : Path.join(`${plugin.directory}`, 'src', 'index.ts'); const file = getSourceFileMatching(project, path); if (file) { diff --git a/packages/kbn-docs-utils/src/api_docs/get_plugin_api.ts b/packages/kbn-docs-utils/src/api_docs/get_plugin_api.ts index d41d66b5dd189..e0169f964dd99 100644 --- a/packages/kbn-docs-utils/src/api_docs/get_plugin_api.ts +++ b/packages/kbn-docs-utils/src/api_docs/get_plugin_api.ts @@ -8,8 +8,8 @@ import Path from 'path'; import { Node, Project } from 'ts-morph'; -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; -import { ApiScope, Lifecycle } from './types'; +import { ToolingLog } from '@kbn/dev-utils'; +import { ApiScope, Lifecycle, PluginOrPackage } from './types'; import { ApiDeclaration, PluginApi } from './types'; import { buildApiDeclarationTopNode } from './build_api_declarations/build_api_declaration'; import { getDeclarationNodesForPluginScope } from './get_declaration_nodes_for_plugin'; @@ -20,8 +20,8 @@ import { getSourceFileMatching } from './tsmorph_utils'; */ export function getPluginApi( project: Project, - plugin: KibanaPlatformPlugin, - plugins: KibanaPlatformPlugin[], + plugin: PluginOrPackage, + plugins: PluginOrPackage[], log: ToolingLog, captureReferences: boolean ): PluginApi { @@ -44,9 +44,9 @@ export function getPluginApi( */ function getDeclarations( project: Project, - plugin: KibanaPlatformPlugin, + plugin: PluginOrPackage, scope: ApiScope, - plugins: KibanaPlatformPlugin[], + plugins: PluginOrPackage[], log: ToolingLog, captureReferences: boolean ): ApiDeclaration[] { @@ -113,7 +113,7 @@ function getLifecycle( */ function getContractTypes( project: Project, - plugin: KibanaPlatformPlugin, + plugin: PluginOrPackage, scope: ApiScope ): { setup?: string; start?: string } { const contractTypes: { setup?: string; start?: string } = {}; diff --git a/packages/kbn-docs-utils/src/api_docs/get_plugin_api_map.ts b/packages/kbn-docs-utils/src/api_docs/get_plugin_api_map.ts index e6deae7b65a0a..6d3285f31a189 100644 --- a/packages/kbn-docs-utils/src/api_docs/get_plugin_api_map.ts +++ b/packages/kbn-docs-utils/src/api_docs/get_plugin_api_map.ts @@ -6,20 +6,21 @@ * Side Public License, v 1. */ -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import { Project } from 'ts-morph'; import { getPluginApi } from './get_plugin_api'; import { ApiDeclaration, MissingApiItemMap, PluginApi, + PluginOrPackage, ReferencedDeprecationsByPlugin, } from './types'; import { removeBrokenLinks } from './utils'; export function getPluginApiMap( project: Project, - plugins: KibanaPlatformPlugin[], + plugins: PluginOrPackage[], log: ToolingLog, { collectReferences, pluginFilter }: { collectReferences: boolean; pluginFilter?: string[] } ): { diff --git a/packages/kbn-docs-utils/src/api_docs/mdx/split_apis_by_folder.test.ts b/packages/kbn-docs-utils/src/api_docs/mdx/split_apis_by_folder.test.ts index d91cadce10754..993e28aab50a0 100644 --- a/packages/kbn-docs-utils/src/api_docs/mdx/split_apis_by_folder.test.ts +++ b/packages/kbn-docs-utils/src/api_docs/mdx/split_apis_by_folder.test.ts @@ -8,9 +8,9 @@ import Path from 'path'; import { Project } from 'ts-morph'; -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; -import { PluginApi } from '../types'; +import { PluginApi, PluginOrPackage } from '../types'; import { getKibanaPlatformPlugin } from '../tests/kibana_platform_plugin_mock'; import { getPluginApi } from '../get_plugin_api'; import { splitApisByFolder } from './write_plugin_split_by_folder'; @@ -32,7 +32,7 @@ beforeAll(() => { const pluginA = getKibanaPlatformPlugin('pluginA'); pluginA.manifest.serviceFolders = ['foo']; - const plugins: KibanaPlatformPlugin[] = [pluginA]; + const plugins: PluginOrPackage[] = [pluginA]; doc = getPluginApi(project, plugins[0], plugins, log, false); }); diff --git a/packages/kbn-docs-utils/src/api_docs/mdx/types.ts b/packages/kbn-docs-utils/src/api_docs/mdx/types.ts index 38c25fe68f7bb..8ad7c22486d60 100644 --- a/packages/kbn-docs-utils/src/api_docs/mdx/types.ts +++ b/packages/kbn-docs-utils/src/api_docs/mdx/types.ts @@ -6,12 +6,12 @@ * Side Public License, v 1. */ -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; -import { ApiStats, PluginApi } from '../types'; +import { ToolingLog } from '@kbn/dev-utils'; +import { ApiStats, PluginApi, PluginOrPackage } from '../types'; export interface WritePluginDocsOpts { doc: PluginApi; - plugin: KibanaPlatformPlugin; + plugin: PluginOrPackage; pluginStats: ApiStats; log: ToolingLog; } diff --git a/packages/kbn-docs-utils/src/api_docs/mdx/write_deprecations_doc_by_api.ts b/packages/kbn-docs-utils/src/api_docs/mdx/write_deprecations_doc_by_api.ts index 8fbf5f89d9b0d..9681c086777d9 100644 --- a/packages/kbn-docs-utils/src/api_docs/mdx/write_deprecations_doc_by_api.ts +++ b/packages/kbn-docs-utils/src/api_docs/mdx/write_deprecations_doc_by_api.ts @@ -76,7 +76,7 @@ export function writeDeprecationDocByApi( const mdx = dedent(` --- id: kibDevDocsDeprecationsByApi -slug: /kibana-dev-docs/deprecated-api-list-by-api +slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-api title: Deprecated API usage by API summary: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. date: 2021-07-27 diff --git a/packages/kbn-docs-utils/src/api_docs/mdx/write_deprecations_doc_by_plugin.ts b/packages/kbn-docs-utils/src/api_docs/mdx/write_deprecations_doc_by_plugin.ts index ddc8245a1052d..896dd806603e3 100644 --- a/packages/kbn-docs-utils/src/api_docs/mdx/write_deprecations_doc_by_plugin.ts +++ b/packages/kbn-docs-utils/src/api_docs/mdx/write_deprecations_doc_by_plugin.ts @@ -70,7 +70,7 @@ export function writeDeprecationDocByPlugin( const mdx = dedent(` --- id: kibDevDocsDeprecationsByPlugin -slug: /kibana-dev-docs/deprecated-api-list-by-plugin +slug: /kibana-dev-docs/api-meta/deprecated-api-list-by-plugin title: Deprecated API usage by plugin summary: A list of deprecated APIs, which plugins are still referencing them, and when they need to be removed by. date: 2021-05-02 diff --git a/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_directory_doc.ts b/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_directory_doc.ts index a6b2d2ce9ee5b..05613cdbd34fe 100644 --- a/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_directory_doc.ts +++ b/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_directory_doc.ts @@ -75,9 +75,9 @@ export function writePluginDirectoryDoc( dedent(` --- id: kibDevDocsPluginDirectory -slug: /kibana-dev-docs/plugin-directory -title: Plugin directory -summary: Plugin directory +slug: /kibana-dev-docs/api-meta/plugin-api-directory +title: Directory +summary: Directory of public APIs available through plugins or packages. date: 2021-09-22 tags: ['contributor', 'dev', 'apidocs', 'kibana'] warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. @@ -85,7 +85,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex ### Overall stats -| Plugin Count | Plugins with a
public API | Number of teams | +| Count | Plugins or Packages with a
public API | Number of teams | |--------------|----------|------------------------| | ${totalStats.pluginCnt} | ${totalStats.pluginCntWithPublicApi} | ${totalStats.teamCnt} | @@ -101,29 +101,61 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Plugin name           | Maintaining team | Description | API Cnt | Any Cnt | Missing
comments | Missing
exports | |--------------|----------------|-----------|--------------|----------|---------------|--------| -${Object.keys(pluginApiMap) - .sort() - .map((id) => { - const metaInfo = pluginStatsMap[id]; - const doc = pluginApiMap[id]; - const docWithLink = hasPublicApi(doc) - ? `` - : doc.id; - const contact = metaInfo.owner.githubTeam - ? `[${metaInfo.owner.name}](https://github.com/orgs/elastic/teams/${metaInfo.owner.githubTeam})` - : metaInfo.owner.name; - - return `| ${[ - docWithLink, - contact, - metaInfo.description || '-', - metaInfo.apiCount, - metaInfo.isAnyType.length, - metaInfo.missingComments.length, - metaInfo.missingExports, - ].join(' | ')} |`; - }) - .join('\n')}`) + '\n\n'; +${getDirectoryTable(pluginApiMap, pluginStatsMap, true)} + +## Package Directory + +| Package name           | Maintaining team | Description | API Cnt | Any Cnt | Missing
comments | Missing
exports | +|--------------|----------------|-----------|--------------|----------|---------------|--------| +${getDirectoryTable(pluginApiMap, pluginStatsMap, false)} + +`) + '\n\n'; fs.writeFileSync(Path.resolve(folder, 'plugin_directory.mdx'), mdx); } + +function getDirectoryTable( + pluginApiMap: { [key: string]: PluginApi }, + pluginStatsMap: { [key: string]: PluginMetaInfo }, + includePlugins: boolean +): string { + return Object.keys(pluginApiMap) + .sort() + .reduce((acc, id) => { + const metaInfo = pluginStatsMap[id]; + const doc = pluginApiMap[id]; + const hasApi = hasPublicApi(doc); + if (!includePlugins) { + // We are building the package list, skip plugins. + if (metaInfo.isPlugin) return acc; + + // Also don't include packages without a public API. These are much more likely to be internal build/ops code and not + // of interest to any plugin developer. + if (!hasApi) return acc; + } + + if (metaInfo.isPlugin && !includePlugins) return acc; + if (!metaInfo.isPlugin && includePlugins) return acc; + + const docWithLink = hasApi + ? `` + : doc.id; + const contact = metaInfo.owner.githubTeam + ? `[${metaInfo.owner.name}](https://github.com/orgs/elastic/teams/${metaInfo.owner.githubTeam})` + : metaInfo.owner.name; + + acc.push( + `| ${[ + docWithLink, + contact, + metaInfo.description || '-', + metaInfo.apiCount, + metaInfo.isAnyType.length, + metaInfo.missingComments.length, + metaInfo.missingExports, + ].join(' | ')} |` + ); + return acc; + }, [] as string[]) + .join('\n'); +} diff --git a/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_mdx_docs.ts b/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_mdx_docs.ts index 1eb24e99e7dd8..aae77a7508954 100644 --- a/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_mdx_docs.ts +++ b/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_mdx_docs.ts @@ -14,8 +14,9 @@ import { countScopeApi, getPluginApiDocId, snakeToCamel, - camelToSnake, groupPluginApi, + getFileName, + getSlug, } from '../utils'; import { writePluginDocSplitByFolder } from './write_plugin_split_by_folder'; import { WritePluginDocsOpts } from './types'; @@ -65,6 +66,8 @@ export function writePluginDoc( log.debug(`Writing plugin file for ${doc.id}`); const fileName = getFileName(doc.id); + const slug = getSlug(doc.id); + // Append "obj" to avoid special names in here. 'case' is one in particular that // caused issues. const json = getJsonName(fileName) + 'Obj'; @@ -73,8 +76,8 @@ export function writePluginDoc( dedent(` --- id: ${getPluginApiDocId(doc.id)} -slug: /kibana-dev-docs/${doc.id}PluginApi -title: ${doc.id} +slug: /kibana-dev-docs/api/${slug} +title: "${doc.id}" image: https://source.unsplash.com/400x175/?github summary: API docs for the ${doc.id} plugin date: 2020-11-16 @@ -122,10 +125,6 @@ function getJsonName(name: string): string { return snakeToCamel(getFileName(name)); } -function getFileName(name: string): string { - return camelToSnake(name.replace('.', '_')); -} - function scopApiToMdx(scope: ScopeApi, title: string, json: string, scopeName: string): string { let mdx = ''; if (countScopeApi(scope) > 0) { diff --git a/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_split_by_folder.test.ts b/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_split_by_folder.test.ts index 56e9ecb41911e..9e96544b0143b 100644 --- a/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_split_by_folder.test.ts +++ b/packages/kbn-docs-utils/src/api_docs/mdx/write_plugin_split_by_folder.test.ts @@ -7,10 +7,11 @@ */ import { Project } from 'ts-morph'; -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import { splitApisByFolder } from './write_plugin_split_by_folder'; import { getPluginApi } from '../get_plugin_api'; import { getKibanaPlatformPlugin } from '../tests/kibana_platform_plugin_mock'; +import { PluginOrPackage } from '../types'; const log = new ToolingLog({ level: 'debug', @@ -44,7 +45,7 @@ export interface Zed = { zed: string }` ); const plugin = getKibanaPlatformPlugin('example', '/src/plugins/example'); - const plugins: KibanaPlatformPlugin[] = [ + const plugins: PluginOrPackage[] = [ { ...plugin, manifest: { diff --git a/packages/kbn-docs-utils/src/api_docs/tests/api_doc_suite.test.ts b/packages/kbn-docs-utils/src/api_docs/tests/api_doc_suite.test.ts index 389289d6576b0..b5e2deb62817a 100644 --- a/packages/kbn-docs-utils/src/api_docs/tests/api_doc_suite.test.ts +++ b/packages/kbn-docs-utils/src/api_docs/tests/api_doc_suite.test.ts @@ -10,10 +10,18 @@ import fs from 'fs'; import Path from 'path'; import { Project } from 'ts-morph'; -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import { writePluginDocs } from '../mdx/write_plugin_mdx_docs'; -import { ApiDeclaration, ApiStats, PluginApi, Reference, TextWithLinks, TypeKind } from '../types'; +import { + ApiDeclaration, + ApiStats, + PluginApi, + PluginOrPackage, + Reference, + TextWithLinks, + TypeKind, +} from '../types'; import { getKibanaPlatformPlugin } from './kibana_platform_plugin_mock'; import { groupPluginApi } from '../utils'; import { getPluginApiMap } from '../get_plugin_api_map'; @@ -96,7 +104,7 @@ beforeAll(() => { Path.resolve(__dirname, '__fixtures__/src/plugin_b') ); pluginA.manifest.serviceFolders = ['foo']; - const plugins: KibanaPlatformPlugin[] = [pluginA, pluginB]; + const plugins: PluginOrPackage[] = [pluginA, pluginB]; const { pluginApiMap } = getPluginApiMap(project, plugins, log, { collectReferences: false }); const pluginStats: ApiStats = { diff --git a/packages/kbn-docs-utils/src/api_docs/tests/kibana_platform_plugin_mock.ts b/packages/kbn-docs-utils/src/api_docs/tests/kibana_platform_plugin_mock.ts index 08ddfb1ffd421..c373b9be0c6ff 100644 --- a/packages/kbn-docs-utils/src/api_docs/tests/kibana_platform_plugin_mock.ts +++ b/packages/kbn-docs-utils/src/api_docs/tests/kibana_platform_plugin_mock.ts @@ -6,28 +6,37 @@ * Side Public License, v 1. */ -import { KibanaPlatformPlugin } from '@kbn/dev-utils'; import Path from 'path'; +import { PluginOrPackage } from '../types'; -export function getKibanaPlatformPlugin(id: string, dir?: string): KibanaPlatformPlugin { +export function getKibanaPlatformPlugin(id: string, dir?: string): PluginOrPackage { const directory = dir ?? Path.resolve(__dirname, '__fixtures__/src/plugin_a'); return { manifest: { id, - ui: true, - server: true, - kibanaVersion: '1', - version: '1', owner: { name: 'Kibana Core', }, serviceFolders: [], - requiredPlugins: [], - requiredBundles: [], - optionalPlugins: [], - extraPublicDirs: [], }, directory, manifestPath: Path.resolve(directory, 'kibana.json'), + isPlugin: true, + }; +} + +export function getKibanaPlatformPackage(id: string, importPath?: string): PluginOrPackage { + const directory = Path.resolve(__dirname, '__fixtures__/src/plugin_a'); + return { + manifest: { + id, + owner: { + name: 'Kibana Core', + }, + serviceFolders: [], + }, + directory, + manifestPath: Path.resolve(directory, 'kibana.json'), + isPlugin: false, }; } diff --git a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.foo.json b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.foo.json new file mode 100644 index 0000000000000..c7b43d9436cb9 --- /dev/null +++ b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.foo.json @@ -0,0 +1,76 @@ +{ + "id": "pluginA.foo", + "client": { + "classes": [], + "functions": [ + { + "parentPluginId": "pluginA", + "id": "def-public.doTheFooFnThing", + "type": "Function", + "tags": [], + "label": "doTheFooFnThing", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/foo/index.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "pluginA", + "id": "def-public.FooType", + "type": "Type", + "tags": [], + "label": "FooType", + "description": [], + "signature": [ + "() => \"foo\"" + ], + "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/foo/index.ts", + "deprecated": false, + "returnComment": [], + "children": [], + "initialIsOpen": false + } + ], + "objects": [] + }, + "server": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [], + "objects": [] + }, + "common": { + "classes": [], + "functions": [], + "interfaces": [], + "enums": [], + "misc": [ + { + "parentPluginId": "pluginA", + "id": "def-common.commonFoo", + "type": "string", + "tags": [], + "label": "commonFoo", + "description": [], + "signature": [ + "\"COMMON VAR!\"" + ], + "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/common/foo/index.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [] + } +} \ No newline at end of file diff --git a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.foo.mdx b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.foo.mdx new file mode 100644 index 0000000000000..1fd371b585ce7 --- /dev/null +++ b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.foo.mdx @@ -0,0 +1,35 @@ +--- +id: kibPluginAFooPluginApi +slug: /kibana-dev-docs/pluginA.fooPluginApi +title: pluginA.foo +image: https://source.unsplash.com/400x175/?github +summary: API docs for the pluginA.foo plugin +date: 2020-11-16 +tags: ['contributor', 'dev', 'apidocs', 'kibana', 'pluginA.foo'] +warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info. +--- +import pluginA.fooObj from './plugin_a.foo.json'; + + + +Contact Kibana Core for questions regarding this plugin. + +**Code health stats** + +| Public API count | Any count | Items lacking comments | Missing exports | +|-------------------|-----------|------------------------|-----------------| +| 3 | 0 | 0 | 0 | + +## Client + +### Functions + + +### Consts, variables and types + + +## Common + +### Consts, variables and types + + diff --git a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.mdx b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.mdx index e4c1eb0f0d421..2b2094d3e82e1 100644 --- a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.mdx +++ b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.mdx @@ -1,7 +1,7 @@ --- id: kibPluginAPluginApi -slug: /kibana-dev-docs/pluginAPluginApi -title: pluginA +slug: /kibana-dev-docs/api/pluginA +title: "pluginA" image: https://source.unsplash.com/400x175/?github summary: API docs for the pluginA plugin date: 2020-11-16 diff --git a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a_foo.mdx b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a_foo.mdx index 0d952cb34d0da..a89e036b64e77 100644 --- a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a_foo.mdx +++ b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a_foo.mdx @@ -1,7 +1,7 @@ --- id: kibPluginAFooPluginApi -slug: /kibana-dev-docs/pluginA.fooPluginApi -title: pluginA.foo +slug: /kibana-dev-docs/api/pluginA-foo +title: "pluginA.foo" image: https://source.unsplash.com/400x175/?github summary: API docs for the pluginA.foo plugin date: 2020-11-16 diff --git a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_b.mdx b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_b.mdx index 67b93a8db6d9c..e78752ef49524 100644 --- a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_b.mdx +++ b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_b.mdx @@ -1,7 +1,7 @@ --- id: kibPluginBPluginApi -slug: /kibana-dev-docs/pluginBPluginApi -title: pluginB +slug: /kibana-dev-docs/api/pluginB +title: "pluginB" image: https://source.unsplash.com/400x175/?github summary: API docs for the pluginB plugin date: 2020-11-16 diff --git a/packages/kbn-docs-utils/src/api_docs/types.ts b/packages/kbn-docs-utils/src/api_docs/types.ts index e38017cacba5b..a87613075d651 100644 --- a/packages/kbn-docs-utils/src/api_docs/types.ts +++ b/packages/kbn-docs-utils/src/api_docs/types.ts @@ -6,6 +6,23 @@ * Side Public License, v 1. */ +export interface PluginOrPackage { + manifest: { + id: string; + description?: string; + owner: { name: string; githubTeam?: string }; + serviceFolders: readonly string[]; + }; + isPlugin: boolean; + directory: string; + manifestPath: string; + /** + * Only relevant if `isPlugin` is false. Plugins define functionality for each scope using folder structure, + * while a package defines it's intended usage via package.json fields. + */ + scope?: ApiScope; +} + /** * The kinds of typescript types we want to show in the docs. `Unknown` is used if * we aren't accounting for a particular type. See {@link getPropertyTypeKind} @@ -230,4 +247,5 @@ export interface ApiStats { export type PluginMetaInfo = ApiStats & { owner: { name: string; githubTeam?: string }; description?: string; + isPlugin: boolean; // True if plugin, false if a package; }; diff --git a/packages/kbn-docs-utils/src/api_docs/utils.test.ts b/packages/kbn-docs-utils/src/api_docs/utils.test.ts index 5239e3433a05c..488a115554e80 100644 --- a/packages/kbn-docs-utils/src/api_docs/utils.test.ts +++ b/packages/kbn-docs-utils/src/api_docs/utils.test.ts @@ -6,20 +6,24 @@ * Side Public License, v 1. */ -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; +import { ToolingLog } from '@kbn/dev-utils'; import Path from 'path'; import { Project } from 'ts-morph'; import { findPlugins } from './find_plugins'; import { getPluginApi } from './get_plugin_api'; import { getKibanaPlatformPlugin } from './tests/kibana_platform_plugin_mock'; -import { PluginApi } from './types'; -import { getPluginForPath, getServiceForPath, removeBrokenLinks } from './utils'; +import { PluginApi, PluginOrPackage } from './types'; +import { getPluginForPath, getServiceForPath, removeBrokenLinks, getFileName } from './utils'; const log = new ToolingLog({ level: 'debug', writeTo: process.stdout, }); +it('getFileName', () => { + expect(getFileName('@elastic/datemath')).toBe('elastic_datemath'); +}); + it('test getPluginForPath', () => { const plugins = findPlugins(); const path = Path.resolve(__dirname, '../../../../src/plugins/embeddable/public/service/file.ts'); @@ -65,7 +69,7 @@ it('test removeBrokenLinks', () => { const pluginA = getKibanaPlatformPlugin('pluginA'); pluginA.manifest.serviceFolders = ['foo']; - const plugins: KibanaPlatformPlugin[] = [pluginA]; + const plugins: PluginOrPackage[] = [pluginA]; const pluginApiMap: { [key: string]: PluginApi } = {}; plugins.map((plugin) => { diff --git a/packages/kbn-docs-utils/src/api_docs/utils.ts b/packages/kbn-docs-utils/src/api_docs/utils.ts index c599695502027..c4c89cd070034 100644 --- a/packages/kbn-docs-utils/src/api_docs/utils.ts +++ b/packages/kbn-docs-utils/src/api_docs/utils.ts @@ -6,8 +6,16 @@ * Side Public License, v 1. */ import path from 'path'; -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; -import { ApiDeclaration, ScopeApi, TypeKind, Lifecycle, PluginApi, ApiScope } from './types'; +import { ToolingLog } from '@kbn/dev-utils'; +import { + ApiDeclaration, + ScopeApi, + TypeKind, + Lifecycle, + PluginApi, + ApiScope, + PluginOrPackage, +} from './types'; function capitalize(str: string): string { return str.charAt(0).toUpperCase() + str.slice(1); @@ -25,9 +33,15 @@ export const snakeToCamel = (str: string): string => */ export function getPluginForPath( filePath: string, - plugins: KibanaPlatformPlugin[] -): KibanaPlatformPlugin | undefined { - return plugins.find((plugin) => filePath.startsWith(plugin.directory + path.sep)); + plugins: PluginOrPackage[] +): PluginOrPackage | undefined { + if (filePath.indexOf('@') >= 0) { + return plugins.find( + (plugin) => !plugin.isPlugin && filePath.indexOf(plugin.manifest.id + path.sep) >= 0 + ); + } else { + return plugins.find((plugin) => filePath.startsWith(plugin.directory + path.sep)); + } } /** @@ -86,7 +100,7 @@ export function getPluginApiDocId( } ) { let service = ''; - const cleanName = id.replace('.', '_'); + const cleanName = id.replace('@', '').replace(/[./\\]/gi, '_'); if (serviceInfo) { const serviceName = getServiceForPath(serviceInfo.apiPath, serviceInfo.directory); const serviceFolder = serviceInfo.serviceFolders?.find((f) => f === serviceName); @@ -233,6 +247,16 @@ function apiItemExists(name: string, scope: ApiScope, pluginApi: PluginApi): boo ); } +export function getFileName(name: string): string { + // Remove the initial `@` if one exists, then replace all dots, slashes and dashes with an `_`. + return camelToSnake(name.replace(/@/gi, '').replace(/[.\\/-]/gi, '_')); +} + +export function getSlug(name: string): string { + // Remove the initial `@` if one exists, then replace all dots and slashes with a `-`. + return name.replace(/@/gi, '').replace(/[.\\/]/gi, '-'); +} + function scopeAccessor(scope: ApiScope): 'server' | 'common' | 'client' { switch (scope) { case ApiScope.CLIENT: diff --git a/packages/kbn-docs-utils/src/index.ts b/packages/kbn-docs-utils/src/index.ts index 5accd1fa2984f..b216b9d5cee0a 100644 --- a/packages/kbn-docs-utils/src/index.ts +++ b/packages/kbn-docs-utils/src/index.ts @@ -6,4 +6,4 @@ * Side Public License, v 1. */ -export * from './api_docs'; +export { runBuildApiDocsCli } from './api_docs'; diff --git a/packages/kbn-es-query/src/es_query/build_es_query.test.ts b/packages/kbn-es-query/src/es_query/build_es_query.test.ts index b31269c4f8160..aca40632960f8 100644 --- a/packages/kbn-es-query/src/es_query/build_es_query.test.ts +++ b/packages/kbn-es-query/src/es_query/build_es_query.test.ts @@ -41,8 +41,10 @@ describe('build query', () => { { query: 'bar:baz', language: 'lucene' }, ] as Query[]; const filters = { - match: { - a: 'b', + query: { + match: { + a: 'b', + }, }, meta: { alias: '', @@ -80,8 +82,10 @@ describe('build query', () => { it('should accept queries and filters as either single objects or arrays', () => { const queries = { query: 'extension:jpg', language: 'lucene' } as Query; const filters = { - match: { - a: 'b', + query: { + match: { + a: 'b', + }, }, meta: { alias: '', @@ -118,12 +122,14 @@ describe('build query', () => { it('should remove match_all clauses', () => { const filters = [ { - match_all: {}, + query: { match_all: {} }, meta: { type: 'match_all' }, } as MatchAllFilter, { - match: { - a: 'b', + query: { + match: { + a: 'b', + }, }, meta: { alias: '', @@ -163,7 +169,7 @@ describe('build query', () => { { query: '@timestamp:"2019-03-23T13:18:00"', language: 'kuery' }, { query: '@timestamp:"2019-03-23T13:18:00"', language: 'lucene' }, ] as Query[]; - const filters = [{ match_all: {}, meta: { type: 'match_all' } } as MatchAllFilter]; + const filters = [{ query: { match_all: {} }, meta: { type: 'match_all' } } as MatchAllFilter]; const config = { allowLeadingWildcards: true, queryStringOptions: {}, diff --git a/packages/kbn-es-query/src/es_query/from_filters.test.ts b/packages/kbn-es-query/src/es_query/from_filters.test.ts index 0e376fe3f299e..eacf775194bb8 100644 --- a/packages/kbn-es-query/src/es_query/from_filters.test.ts +++ b/packages/kbn-es-query/src/es_query/from_filters.test.ts @@ -31,11 +31,11 @@ describe('build query', () => { test('should transform an array of kibana filters into ES queries combined in the bool clauses', () => { const filters = [ { - match_all: {}, + query: { match_all: {} }, meta: { type: 'match_all' }, } as MatchAllFilter, { - exists: { field: 'foo' }, + query: { exists: { field: 'foo' } }, meta: { type: 'exists' }, } as ExistsFilter, ] as Filter[]; @@ -50,7 +50,7 @@ describe('build query', () => { test('should remove disabled filters', () => { const filters = [ { - match_all: {}, + query: { match_all: {} }, meta: { type: 'match_all', negate: true, disabled: true }, } as MatchAllFilter, ] as Filter[]; @@ -70,7 +70,7 @@ describe('build query', () => { test('should place negated filters in the must_not clause', () => { const filters = [ { - match_all: {}, + query: { match_all: {} }, meta: { type: 'match_all', negate: true }, } as MatchAllFilter, ] as Filter[]; @@ -104,10 +104,10 @@ describe('build query', () => { test('should migrate deprecated match syntax', () => { const filters = [ { - query: { match: { extension: { query: 'foo', type: 'phrase' } } }, + match: { extension: { query: 'foo', type: 'phrase' } }, meta: { type: 'phrase' }, }, - ] as Filter[]; + ] as unknown as Filter[]; const expectedESQueries = [ { @@ -137,7 +137,7 @@ describe('build query', () => { test('should wrap filters targeting nested fields in a nested query', () => { const filters = [ { - exists: { field: 'nestedField.child' }, + query: { exists: { field: 'nestedField.child' } }, meta: { type: 'exists', alias: '', disabled: false, negate: false }, }, ]; diff --git a/packages/kbn-es-query/src/es_query/from_filters.ts b/packages/kbn-es-query/src/es_query/from_filters.ts index 9c93fba6fad92..ac6c8a4a6b2b8 100644 --- a/packages/kbn-es-query/src/es_query/from_filters.ts +++ b/packages/kbn-es-query/src/es_query/from_filters.ts @@ -35,12 +35,7 @@ const filterNegate = (reverse: boolean) => (filter: Filter) => { * @return {Object} the query version of that filter */ const translateToQuery = (filter: Partial): estypes.QueryDslQueryContainer => { - if (filter.query) { - return filter.query as estypes.QueryDslQueryContainer; - } - - // TODO: investigate what's going on here! What does this mean for filters that don't have a query! - return filter as estypes.QueryDslQueryContainer; + return filter.query || filter; }; /** diff --git a/packages/kbn-es-query/src/es_query/handle_nested_filter.test.ts b/packages/kbn-es-query/src/es_query/handle_nested_filter.test.ts index 9c7b6070c7ec0..333f4bad54a46 100644 --- a/packages/kbn-es-query/src/es_query/handle_nested_filter.test.ts +++ b/packages/kbn-es-query/src/es_query/handle_nested_filter.test.ts @@ -25,11 +25,13 @@ describe('handleNestedFilter', function () { meta: { index: 'logstash-*', }, - nested: { - path: 'nestedField', - query: { - match_phrase: { - 'nestedField.child': 'foo', + query: { + nested: { + path: 'nestedField', + query: { + match_phrase: { + 'nestedField.child': 'foo', + }, }, }, }, @@ -65,10 +67,8 @@ describe('handleNestedFilter', function () { // for example, we don't support query_string queries const filter = buildQueryFilter( { - query: { - query_string: { - query: 'response:200', - }, + query_string: { + query: 'response:200', }, }, 'logstash-*', diff --git a/packages/kbn-es-query/src/es_query/handle_nested_filter.ts b/packages/kbn-es-query/src/es_query/handle_nested_filter.ts index 74c758c1c54bf..08c177f205771 100644 --- a/packages/kbn-es-query/src/es_query/handle_nested_filter.ts +++ b/packages/kbn-es-query/src/es_query/handle_nested_filter.ts @@ -8,6 +8,7 @@ import { getFilterField, cleanFilter, Filter } from '../filters'; import { IndexPatternBase } from './types'; +import { getDataViewFieldSubtypeNested } from '../utils'; /** @internal */ export const handleNestedFilter = (filter: Filter, indexPattern?: IndexPatternBase) => { @@ -21,7 +22,9 @@ export const handleNestedFilter = (filter: Filter, indexPattern?: IndexPatternBa const field = indexPattern.fields.find( (indexPatternField) => indexPatternField.name === fieldName ); - if (!field || !field.subType || !field.subType.nested || !field.subType.nested.path) { + + const subTypeNested = field && getDataViewFieldSubtypeNested(field); + if (!subTypeNested) { return filter; } @@ -29,9 +32,11 @@ export const handleNestedFilter = (filter: Filter, indexPattern?: IndexPatternBa return { meta: filter.meta, - nested: { - path: field.subType.nested.path, - query: query.query || query, + query: { + nested: { + path: subTypeNested.nested.path, + query: query.query || query, + }, }, }; }; diff --git a/packages/kbn-es-query/src/es_query/index.ts b/packages/kbn-es-query/src/es_query/index.ts index 0690e6ab98434..8045b625cd921 100644 --- a/packages/kbn-es-query/src/es_query/index.ts +++ b/packages/kbn-es-query/src/es_query/index.ts @@ -6,6 +6,7 @@ * Side Public License, v 1. */ +export { migrateFilter } from './migrate_filter'; export { buildEsQuery, EsQueryConfig } from './build_es_query'; export { buildQueryFromFilters } from './from_filters'; export { luceneStringToDsl } from './lucene_string_to_dsl'; @@ -17,4 +18,6 @@ export { BoolQuery, DataViewBase, DataViewFieldBase, + IFieldSubTypeMulti, + IFieldSubTypeNested, } from './types'; diff --git a/packages/kbn-es-query/src/es_query/migrate_filter.test.ts b/packages/kbn-es-query/src/es_query/migrate_filter.test.ts index 77118e2cbdb1c..8ec5a1083bc4a 100644 --- a/packages/kbn-es-query/src/es_query/migrate_filter.test.ts +++ b/packages/kbn-es-query/src/es_query/migrate_filter.test.ts @@ -12,6 +12,16 @@ import { PhraseFilter, MatchAllFilter } from '../filters'; describe('migrateFilter', function () { const oldMatchPhraseFilter = { + match: { + fieldFoo: { + query: 'foobar', + type: 'phrase', + }, + }, + meta: {}, + } as unknown as DeprecatedMatchPhraseFilter; + + const oldMatchPhraseFilter2 = { query: { match: { fieldFoo: { @@ -36,8 +46,10 @@ describe('migrateFilter', function () { it('should migrate match filters of type phrase', function () { const migratedFilter = migrateFilter(oldMatchPhraseFilter, undefined); - expect(migratedFilter).toEqual(newMatchPhraseFilter); + + const migratedFilter2 = migrateFilter(oldMatchPhraseFilter2, undefined); + expect(migratedFilter2).toEqual(newMatchPhraseFilter); }); it('should not modify the original filter', function () { @@ -50,7 +62,7 @@ describe('migrateFilter', function () { it('should return the original filter if no migration is necessary', function () { const originalFilter = { - match_all: {}, + query: { match_all: {} }, } as MatchAllFilter; const migratedFilter = migrateFilter(originalFilter, undefined); diff --git a/packages/kbn-es-query/src/es_query/migrate_filter.ts b/packages/kbn-es-query/src/es_query/migrate_filter.ts index eb480a82d4384..313121e402c1a 100644 --- a/packages/kbn-es-query/src/es_query/migrate_filter.ts +++ b/packages/kbn-es-query/src/es_query/migrate_filter.ts @@ -13,26 +13,31 @@ import { IndexPatternBase } from './types'; /** @internal */ export interface DeprecatedMatchPhraseFilter extends Filter { - query: { - match: { - [field: string]: { - query: any; - type: 'phrase'; - }; + match: { + [field: string]: { + query: any; + type: 'phrase'; }; }; } function isDeprecatedMatchPhraseFilter(filter: Filter): filter is DeprecatedMatchPhraseFilter { - const fieldName = Object.keys(filter.query?.match ?? {})[0]; - return Boolean(fieldName && get(filter, ['query', 'match', fieldName, 'type']) === 'phrase'); + // @ts-ignore + const fieldName = Object.keys((filter.match || filter.query?.match) ?? {})[0]; + return Boolean( + fieldName && + (get(filter, ['query', 'match', fieldName, 'type']) === 'phrase' || + get(filter, ['match', fieldName, 'type']) === 'phrase') + ); } /** @internal */ export function migrateFilter(filter: Filter, indexPattern?: IndexPatternBase) { if (isDeprecatedMatchPhraseFilter(filter)) { - const fieldName = Object.keys(filter.query.match)[0]; - const params: Record = get(filter, ['query', 'match', fieldName]); + // @ts-ignore + const match = filter.match || filter.query.match; + const fieldName = Object.keys(match)[0]; + const params: Record = get(match, [fieldName]); let query = params.query; if (indexPattern) { const field = indexPattern.fields.find((f) => f.name === fieldName); @@ -42,7 +47,8 @@ export function migrateFilter(filter: Filter, indexPattern?: IndexPatternBase) { } } return { - ...filter, + meta: filter.meta, + $state: filter.$state, query: { match_phrase: { [fieldName]: omit( @@ -57,5 +63,44 @@ export function migrateFilter(filter: Filter, indexPattern?: IndexPatternBase) { }; } + if (!filter.query) { + filter.query = {}; + } + + // @ts-ignore + if (filter.exists) { + // @ts-ignore + filter.query.exists = filter.exists; + // @ts-ignore + delete filter.exists; + } + + // @ts-ignore + if (filter.range) { + // @ts-ignore + filter.query.range = filter.range; + // @ts-ignore + delete filter.range; + } + + // @ts-ignore + if (filter.match_all) { + // @ts-ignore + filter.query.match_all = filter.match_all; + // @ts-ignore + delete filter.match_all; + } + + // move all other keys under query + Object.keys(filter).forEach((key) => { + if (key === 'meta' || key === 'query' || key === '$state') { + return; + } + // @ts-ignore + filter.query[key] = filter[key]; + // @ts-ignore + delete filter[key]; + }); + return filter; } diff --git a/packages/kbn-es-query/src/es_query/types.ts b/packages/kbn-es-query/src/es_query/types.ts index 0d443366626a0..3a5893d20ef25 100644 --- a/packages/kbn-es-query/src/es_query/types.ts +++ b/packages/kbn-es-query/src/es_query/types.ts @@ -12,11 +12,24 @@ import type { estypes } from '@elastic/elasticsearch'; * A field's sub type * @public */ -export interface IFieldSubType { +export type IFieldSubType = IFieldSubTypeMultiOptional | IFieldSubTypeNestedOptional; + +export interface IFieldSubTypeMultiOptional { multi?: { parent: string }; +} + +export interface IFieldSubTypeMulti { + multi: { parent: string }; +} + +export interface IFieldSubTypeNestedOptional { nested?: { path: string }; } +export interface IFieldSubTypeNested { + nested: { path: string }; +} + /** * A base interface for an index pattern field * @public diff --git a/packages/kbn-es-query/src/filters/build_filters/exists_filter.ts b/packages/kbn-es-query/src/filters/build_filters/exists_filter.ts index e8be99db1d7e1..897ebc06a6fc9 100644 --- a/packages/kbn-es-query/src/filters/build_filters/exists_filter.ts +++ b/packages/kbn-es-query/src/filters/build_filters/exists_filter.ts @@ -13,8 +13,10 @@ import type { Filter, FilterMeta } from './types'; /** @public */ export type ExistsFilter = Filter & { meta: FilterMeta; - exists?: { - field: string; + query: { + exists?: { + field: string; + }; }; }; @@ -24,13 +26,14 @@ export type ExistsFilter = Filter & { * * @public */ -export const isExistsFilter = (filter: Filter): filter is ExistsFilter => has(filter, 'exists'); +export const isExistsFilter = (filter: Filter): filter is ExistsFilter => + has(filter, 'query.exists'); /** * @internal */ export const getExistsFilterField = (filter: ExistsFilter) => { - return filter.exists && filter.exists.field; + return filter.query.exists && filter.query.exists.field; }; /** @@ -46,8 +49,10 @@ export const buildExistsFilter = (field: IndexPatternFieldBase, indexPattern: In meta: { index: indexPattern.id, }, - exists: { - field: field.name, + query: { + exists: { + field: field.name, + }, }, } as ExistsFilter; }; diff --git a/packages/kbn-es-query/src/filters/build_filters/get_filter_field.test.ts b/packages/kbn-es-query/src/filters/build_filters/get_filter_field.test.ts index 6f20c727c1481..ca67a439757de 100644 --- a/packages/kbn-es-query/src/filters/build_filters/get_filter_field.test.ts +++ b/packages/kbn-es-query/src/filters/build_filters/get_filter_field.test.ts @@ -28,10 +28,8 @@ describe('getFilterField', function () { it('should return undefined for filters that do not target a specific field', () => { const filter = buildQueryFilter( { - query: { - query_string: { - query: 'response:200 and extension:jpg', - }, + query_string: { + query: 'response:200 and extension:jpg', }, }, indexPattern.id!, diff --git a/packages/kbn-es-query/src/filters/build_filters/get_filter_field.ts b/packages/kbn-es-query/src/filters/build_filters/get_filter_field.ts index 70949be18a61f..9ae820cfea4e7 100644 --- a/packages/kbn-es-query/src/filters/build_filters/get_filter_field.ts +++ b/packages/kbn-es-query/src/filters/build_filters/get_filter_field.ts @@ -7,7 +7,6 @@ */ import { getExistsFilterField, isExistsFilter } from './exists_filter'; -import { getMissingFilterField, isMissingFilter } from './missing_filter'; import { getPhrasesFilterField, isPhrasesFilter } from './phrases_filter'; import { getPhraseFilterField, isPhraseFilter } from './phrase_filter'; import { getRangeFilterField, isRangeFilter } from './range_filter'; @@ -27,9 +26,6 @@ export const getFilterField = (filter: Filter) => { if (isRangeFilter(filter)) { return getRangeFilterField(filter); } - if (isMissingFilter(filter)) { - return getMissingFilterField(filter); - } return; }; diff --git a/packages/kbn-es-query/src/filters/build_filters/index.ts b/packages/kbn-es-query/src/filters/build_filters/index.ts index 7f81d83e6627d..d9d4bbb82aeb1 100644 --- a/packages/kbn-es-query/src/filters/build_filters/index.ts +++ b/packages/kbn-es-query/src/filters/build_filters/index.ts @@ -14,7 +14,6 @@ export * from './exists_filter'; export * from './get_filter_field'; export * from './get_filter_params'; export * from './match_all_filter'; -export * from './missing_filter'; export * from './phrase_filter'; export * from './phrases_filter'; export * from './query_string_filter'; diff --git a/packages/kbn-es-query/src/filters/build_filters/match_all_filter.ts b/packages/kbn-es-query/src/filters/build_filters/match_all_filter.ts index aadf949b6624a..2d14ee8096f13 100644 --- a/packages/kbn-es-query/src/filters/build_filters/match_all_filter.ts +++ b/packages/kbn-es-query/src/filters/build_filters/match_all_filter.ts @@ -17,7 +17,9 @@ export interface MatchAllFilterMeta extends FilterMeta { export type MatchAllFilter = Filter & { meta: MatchAllFilterMeta; - match_all: estypes.QueryDslMatchAllQuery; + query: { + match_all: estypes.QueryDslMatchAllQuery; + }; }; /** @@ -27,4 +29,4 @@ export type MatchAllFilter = Filter & { * @public */ export const isMatchAllFilter = (filter: Filter): filter is MatchAllFilter => - has(filter, 'match_all'); + has(filter, 'query.match_all'); diff --git a/packages/kbn-es-query/src/filters/build_filters/missing_filter.test.ts b/packages/kbn-es-query/src/filters/build_filters/missing_filter.test.ts deleted file mode 100644 index 13b51b1c48ac7..0000000000000 --- a/packages/kbn-es-query/src/filters/build_filters/missing_filter.test.ts +++ /dev/null @@ -1,28 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { getMissingFilterField } from './missing_filter'; - -describe('missing filter', function () { - describe('getMissingFilterField', function () { - it('should return the name of the field an missing query is targeting', () => { - const filter = { - missing: { - field: 'extension', - }, - meta: { - disabled: false, - negate: false, - alias: null, - }, - }; - const result = getMissingFilterField(filter); - expect(result).toBe('extension'); - }); - }); -}); diff --git a/packages/kbn-es-query/src/filters/build_filters/missing_filter.ts b/packages/kbn-es-query/src/filters/build_filters/missing_filter.ts deleted file mode 100644 index ee95b50ab7174..0000000000000 --- a/packages/kbn-es-query/src/filters/build_filters/missing_filter.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { has } from 'lodash'; -import type { Filter, FilterMeta } from './types'; - -export type MissingFilterMeta = FilterMeta; - -export type MissingFilter = Filter & { - meta: MissingFilterMeta; - missing: { - field: string; - }; -}; - -/** - * @param filter - * @returns `true` if a filter is an `MissingFilter` - * - * @public - */ -export const isMissingFilter = (filter: Filter): filter is MissingFilter => has(filter, 'missing'); - -/** - * @internal - */ -export const getMissingFilterField = (filter: MissingFilter) => { - return filter.missing && filter.missing.field; -}; diff --git a/packages/kbn-es-query/src/filters/build_filters/phrase_filter.test.ts b/packages/kbn-es-query/src/filters/build_filters/phrase_filter.test.ts index 58e639afda3b6..f23dfde12d977 100644 --- a/packages/kbn-es-query/src/filters/build_filters/phrase_filter.test.ts +++ b/packages/kbn-es-query/src/filters/build_filters/phrase_filter.test.ts @@ -83,13 +83,15 @@ describe('Phrase filter builder', () => { index: 'id', field: 'script number', }, - script: { + query: { script: { - lang: 'expression', - params: { - value: 5, + script: { + lang: 'expression', + params: { + value: 5, + }, + source: '(1234) == value', }, - source: '(1234) == value', }, }, }); @@ -103,13 +105,15 @@ describe('Phrase filter builder', () => { index: 'id', field: 'script number', }, - script: { + query: { script: { - lang: 'expression', - params: { - value: 5, + script: { + lang: 'expression', + params: { + value: 5, + }, + source: '(1234) == value', }, - source: '(1234) == value', }, }, }); diff --git a/packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts b/packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts index 1e8f95921e700..1e123900463b5 100644 --- a/packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts +++ b/packages/kbn-es-query/src/filters/build_filters/phrase_filter.ts @@ -100,7 +100,7 @@ export const buildPhraseFilter = ( if (field.scripted) { return { meta: { index: indexPattern.id, field: field.name } as PhraseFilterMeta, - script: getPhraseScript(field, value), + query: { script: getPhraseScript(field, value) }, }; } else { return { diff --git a/packages/kbn-es-query/src/filters/build_filters/query_string_filter.test.ts b/packages/kbn-es-query/src/filters/build_filters/query_string_filter.test.ts index 94aad49269a55..787ffbcb426d7 100644 --- a/packages/kbn-es-query/src/filters/build_filters/query_string_filter.test.ts +++ b/packages/kbn-es-query/src/filters/build_filters/query_string_filter.test.ts @@ -14,13 +14,15 @@ describe('Query string filter builder', () => { }); it('should return a query filter when passed a standard field', () => { - expect(buildQueryFilter({ foo: 'bar' }, 'index', '')).toEqual({ + expect(buildQueryFilter({ query_string: { query: 'bar' } }, 'index', '')).toEqual({ meta: { alias: '', index: 'index', }, query: { - foo: 'bar', + query_string: { + query: 'bar', + }, }, }); }); diff --git a/packages/kbn-es-query/src/filters/build_filters/range_filter.test.ts b/packages/kbn-es-query/src/filters/build_filters/range_filter.test.ts index 8895b766e2335..de9b6c112bd3b 100644 --- a/packages/kbn-es-query/src/filters/build_filters/range_filter.test.ts +++ b/packages/kbn-es-query/src/filters/build_filters/range_filter.test.ts @@ -38,10 +38,12 @@ describe('Range filter builder', () => { index: 'id', params: {}, }, - range: { - bytes: { - gte: 1, - lte: 3, + query: { + range: { + bytes: { + gte: 1, + lte: 3, + }, }, }, }); @@ -56,14 +58,16 @@ describe('Range filter builder', () => { index: 'id', params: {}, }, - script: { + query: { script: { - lang: 'expression', - source: '(' + field!.script + ')>=gte && (' + field!.script + ')<=lte', - params: { - value: '>=1 <=3', - gte: 1, - lte: 3, + script: { + lang: 'expression', + source: '(' + field!.script + ')>=gte && (' + field!.script + ')<=lte', + params: { + value: '>=1 <=3', + gte: 1, + lte: 3, + }, }, }, }, @@ -79,14 +83,16 @@ describe('Range filter builder', () => { index: 'id', params: {}, }, - script: { + query: { script: { - lang: 'expression', - source: '(' + field!.script + ')>=gte && (' + field!.script + ')<=lte', - params: { - value: '>=1 <=3', - gte: 1, - lte: 3, + script: { + lang: 'expression', + source: '(' + field!.script + ')>=gte && (' + field!.script + ')<=lte', + params: { + value: '>=1 <=3', + gte: 1, + lte: 3, + }, }, }, }, @@ -106,7 +112,7 @@ describe('Range filter builder', () => { { gte: 1, lte: 3 }, indexPattern ) as ScriptedRangeFilter; - expect(rangeFilter.script.script.source).toBe(expected); + expect(rangeFilter.query.script.script.source).toBe(expected); }); it('should throw an error when gte and gt, or lte and lt are both passed', () => { @@ -130,7 +136,7 @@ describe('Range filter builder', () => { }; const filter = buildRangeFilter(field!, params, indexPattern) as ScriptedRangeFilter; - const script = filter.script!.script; + const script = filter.query.script!.script; expect(script.source).toBe('(' + field!.script + ')' + operator + key); expect(script.params?.[key]).toBe(5); @@ -153,21 +159,21 @@ describe('Range filter builder', () => { describe('returned filter', () => { it('is a script filter', () => { - expect(filter).toHaveProperty('script'); + expect(filter.query).toHaveProperty('script'); }); it('contain a param for the finite side', () => { - expect(filter.script!.script.params).toHaveProperty('gte', 0); + expect(filter.query.script!.script.params).toHaveProperty('gte', 0); }); it('does not contain a param for the infinite side', () => { - expect(filter.script!.script.params).not.toHaveProperty('lt'); + expect(filter.query.script!.script.params).not.toHaveProperty('lt'); }); it('does not contain a script condition for the infinite side', () => { const script = field!.script; - expect(filter.script!.script.source).toEqual(`(${script})>=gte`); + expect(filter.query.script!.script.source).toEqual(`(${script})>=gte`); }); }); }); @@ -187,12 +193,12 @@ describe('Range filter builder', () => { describe('returned filter', () => { it('is a match_all filter', () => { - expect(filter).not.toHaveProperty('script'); - expect(filter).toHaveProperty('match_all'); + expect(filter.query).not.toHaveProperty('script'); + expect(filter.query).toHaveProperty('match_all'); }); it('does not contain params', () => { - expect(filter).not.toHaveProperty('params'); + expect(filter.query).not.toHaveProperty('params'); }); it('meta field is set to field name', () => { diff --git a/packages/kbn-es-query/src/filters/build_filters/range_filter.ts b/packages/kbn-es-query/src/filters/build_filters/range_filter.ts index a7ebff7c3500e..e559e4d7e1d80 100644 --- a/packages/kbn-es-query/src/filters/build_filters/range_filter.ts +++ b/packages/kbn-es-query/src/filters/build_filters/range_filter.ts @@ -60,14 +60,18 @@ export type RangeFilterMeta = FilterMeta & { export type ScriptedRangeFilter = Filter & { meta: RangeFilterMeta; - script: { - script: estypes.InlineScript; + query: { + script: { + script: estypes.InlineScript; + }; }; }; export type MatchAllRangeFilter = Filter & { meta: RangeFilterMeta; - match_all: estypes.QueryDslQueryContainer['match_all']; + query: { + match_all: estypes.QueryDslQueryContainer['match_all']; + }; }; /** @@ -75,7 +79,9 @@ export type MatchAllRangeFilter = Filter & { */ export type RangeFilter = Filter & { meta: RangeFilterMeta; - range: { [key: string]: RangeFilterParams }; + query: { + range: { [key: string]: RangeFilterParams }; + }; }; /** @@ -84,7 +90,7 @@ export type RangeFilter = Filter & { * * @public */ -export const isRangeFilter = (filter?: Filter): filter is RangeFilter => has(filter, 'range'); +export const isRangeFilter = (filter?: Filter): filter is RangeFilter => has(filter, 'query.range'); /** * @@ -94,7 +100,7 @@ export const isRangeFilter = (filter?: Filter): filter is RangeFilter => has(fil * @public */ export const isScriptedRangeFilter = (filter: Filter): filter is ScriptedRangeFilter => { - const params: RangeFilterParams = get(filter, 'script.script.params', {}); + const params: RangeFilterParams = get(filter, 'query.script.script.params', {}); return hasRangeKeys(params); }; @@ -103,7 +109,7 @@ export const isScriptedRangeFilter = (filter: Filter): filter is ScriptedRangeFi * @internal */ export const getRangeFilterField = (filter: RangeFilter) => { - return filter.range && Object.keys(filter.range)[0]; + return filter.query.range && Object.keys(filter.query.range)[0]; }; const formatValue = (params: any[]) => @@ -154,14 +160,14 @@ export const buildRangeFilter = ( }; if (totalInfinite === OPERANDS_IN_RANGE) { - return { meta, match_all: {} } as MatchAllRangeFilter; + return { meta, query: { match_all: {} } } as MatchAllRangeFilter; } else if (field.scripted) { const scr = getRangeScript(field, params); // TODO: type mismatch enforced scr.script.params.value = formatValue(scr.script.params as any); - return { meta, script: scr } as ScriptedRangeFilter; + return { meta, query: { script: scr } } as ScriptedRangeFilter; } else { - return { meta, range: { [field.name]: params } } as RangeFilter; + return { meta, query: { range: { [field.name]: params } } } as RangeFilter; } }; diff --git a/packages/kbn-es-query/src/filters/build_filters/types.ts b/packages/kbn-es-query/src/filters/build_filters/types.ts index 8bca81ea62465..12830e4b6eeac 100644 --- a/packages/kbn-es-query/src/filters/build_filters/types.ts +++ b/packages/kbn-es-query/src/filters/build_filters/types.ts @@ -11,7 +11,6 @@ import { PhrasesFilter } from './phrases_filter'; import { PhraseFilter } from './phrase_filter'; import { RangeFilter } from './range_filter'; import { MatchAllFilter } from './match_all_filter'; -import { MissingFilter } from './missing_filter'; /** * A common type for filters supported by this package @@ -22,8 +21,7 @@ export type FieldFilter = | PhraseFilter | PhrasesFilter | RangeFilter - | MatchAllFilter - | MissingFilter; + | MatchAllFilter; /** * An enum of all types of filters supported by this package @@ -35,7 +33,6 @@ export enum FILTERS { PHRASE = 'phrase', EXISTS = 'exists', MATCH_ALL = 'match_all', - MISSING = 'missing', QUERY_STRING = 'query_string', RANGE = 'range', RANGE_FROM_VALUE = 'range_from_value', @@ -74,8 +71,6 @@ export type Filter = { store: FilterStateStore; }; meta: FilterMeta; - - // TODO: research me! This is being extracted into the top level by translateToQuery. Maybe we can simplify. query?: Record; }; diff --git a/packages/kbn-es-query/src/filters/helpers/compare_filters.test.ts b/packages/kbn-es-query/src/filters/helpers/compare_filters.test.ts index 1216180d76193..cfb812fd6cd23 100644 --- a/packages/kbn-es-query/src/filters/helpers/compare_filters.test.ts +++ b/packages/kbn-es-query/src/filters/helpers/compare_filters.test.ts @@ -12,37 +12,21 @@ import { buildEmptyFilter, buildQueryFilter, FilterStateStore } from '..'; describe('filter manager utilities', () => { describe('compare filters', () => { test('should compare filters', () => { - const f1 = buildQueryFilter( - { _type: { match: { query: 'apache', type: 'phrase' } } }, - 'index', - '' - ); + const f1 = buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''); const f2 = buildEmptyFilter(true); expect(compareFilters(f1, f2)).toBeFalsy(); }); test('should compare duplicates', () => { - const f1 = buildQueryFilter( - { _type: { match: { query: 'apache', type: 'phrase' } } }, - 'index', - '' - ); - const f2 = buildQueryFilter( - { _type: { match: { query: 'apache', type: 'phrase' } } }, - 'index', - '' - ); + const f1 = buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''); + const f2 = buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''); expect(compareFilters(f1, f2)).toBeTruthy(); }); test('should compare filters, where one filter is null', () => { - const f1 = buildQueryFilter( - { _type: { match: { query: 'apache', type: 'phrase' } } }, - 'index', - '' - ); + const f1 = buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''); const f2 = null; expect(compareFilters(f1, f2 as any)).toBeFalsy(); }); @@ -54,16 +38,8 @@ describe('filter manager utilities', () => { }); test('should compare duplicates, ignoring meta attributes', () => { - const f1 = buildQueryFilter( - { _type: { match: { query: 'apache', type: 'phrase' } } }, - 'index1', - '' - ); - const f2 = buildQueryFilter( - { _type: { match: { query: 'apache', type: 'phrase' } } }, - 'index2', - '' - ); + const f1 = buildQueryFilter({ query_string: { query: 'apache' } }, 'index1', ''); + const f2 = buildQueryFilter({ query_string: { query: 'apache' } }, 'index2', ''); expect(compareFilters(f1, f2)).toBeTruthy(); }); @@ -71,75 +47,43 @@ describe('filter manager utilities', () => { test('should compare duplicates, ignoring $state attributes', () => { const f1 = { $state: { store: FilterStateStore.APP_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; const f2 = { $state: { store: FilterStateStore.GLOBAL_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; expect(compareFilters(f1, f2)).toBeTruthy(); }); test('should compare filters array to non array', () => { - const f1 = buildQueryFilter( - { _type: { match: { query: 'apache', type: 'phrase' } } }, - 'index', - '' - ); - - const f2 = buildQueryFilter( - { _type: { match: { query: 'mochi', type: 'phrase' } } }, - 'index', - '' - ); + const f1 = buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''); + + const f2 = buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''); expect(compareFilters([f1, f2], f1)).toBeFalsy(); }); test('should compare filters array to partial array', () => { - const f1 = buildQueryFilter( - { _type: { match: { query: 'apache', type: 'phrase' } } }, - 'index', - '' - ); - - const f2 = buildQueryFilter( - { _type: { match: { query: 'mochi', type: 'phrase' } } }, - 'index', - '' - ); + const f1 = buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''); + + const f2 = buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''); expect(compareFilters([f1, f2], [f1])).toBeFalsy(); }); test('should compare filters array to exact array', () => { - const f1 = buildQueryFilter( - { _type: { match: { query: 'apache', type: 'phrase' } } }, - 'index', - '' - ); - - const f2 = buildQueryFilter( - { _type: { match: { query: 'mochi', type: 'phrase' } } }, - 'index', - '' - ); + const f1 = buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''); + + const f2 = buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''); expect(compareFilters([f1, f2], [f1, f2])).toBeTruthy(); }); test('should compare array of duplicates, ignoring meta attributes', () => { - const f1 = buildQueryFilter( - { _type: { match: { query: 'apache', type: 'phrase' } } }, - 'index1', - '' - ); - const f2 = buildQueryFilter( - { _type: { match: { query: 'apache', type: 'phrase' } } }, - 'index2', - '' - ); + const f1 = buildQueryFilter({ query_string: { query: 'apache' } }, 'index1', ''); + const f2 = buildQueryFilter({ query_string: { query: 'apache' } }, 'index2', ''); expect(compareFilters([f1], [f2])).toBeTruthy(); }); @@ -147,11 +91,11 @@ describe('filter manager utilities', () => { test('should compare array of duplicates, ignoring $state attributes', () => { const f1 = { $state: { store: FilterStateStore.APP_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; const f2 = { $state: { store: FilterStateStore.GLOBAL_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; expect(compareFilters([f1], [f2])).toBeTruthy(); @@ -160,11 +104,11 @@ describe('filter manager utilities', () => { test('should compare duplicates with COMPARE_ALL_OPTIONS should check store', () => { const f1 = { $state: { store: FilterStateStore.APP_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; const f2 = { $state: { store: FilterStateStore.GLOBAL_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; expect(compareFilters([f1], [f2], COMPARE_ALL_OPTIONS)).toBeFalsy(); @@ -173,11 +117,11 @@ describe('filter manager utilities', () => { test('should compare duplicates with COMPARE_ALL_OPTIONS should not check key and value ', () => { const f1 = { $state: { store: FilterStateStore.GLOBAL_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; const f2 = { $state: { store: FilterStateStore.GLOBAL_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; f2.meta.key = 'wassup'; @@ -189,11 +133,11 @@ describe('filter manager utilities', () => { test('should compare alias with alias true', () => { const f1 = { $state: { store: FilterStateStore.GLOBAL_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; const f2 = { $state: { store: FilterStateStore.GLOBAL_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; f2.meta.alias = 'wassup'; @@ -205,11 +149,11 @@ describe('filter manager utilities', () => { test('should compare alias with COMPARE_ALL_OPTIONS', () => { const f1 = { $state: { store: FilterStateStore.GLOBAL_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; const f2 = { $state: { store: FilterStateStore.GLOBAL_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; f2.meta.alias = 'wassup'; @@ -221,11 +165,11 @@ describe('filter manager utilities', () => { test('should compare index with index true', () => { const f1 = { $state: { store: FilterStateStore.GLOBAL_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; const f2 = { $state: { store: FilterStateStore.GLOBAL_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; f2.meta.index = 'wassup'; diff --git a/packages/kbn-es-query/src/filters/helpers/dedup_filters.test.ts b/packages/kbn-es-query/src/filters/helpers/dedup_filters.test.ts index 0d86e95c67f24..8c8f394ffc190 100644 --- a/packages/kbn-es-query/src/filters/helpers/dedup_filters.test.ts +++ b/packages/kbn-es-query/src/filters/helpers/dedup_filters.test.ts @@ -28,7 +28,7 @@ describe('filter manager utilities', () => { indexPattern, '' ), - buildQueryFilter({ match: { _term: { query: 'apache', type: 'phrase' } } }, 'index', ''), + buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), ]; const filters: Filter[] = [ buildRangeFilter( @@ -37,7 +37,7 @@ describe('filter manager utilities', () => { indexPattern, '' ), - buildQueryFilter({ match: { _term: { query: 'apache', type: 'phrase' } } }, 'index', ''), + buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), ]; const results = dedupFilters(existing, filters); @@ -54,11 +54,7 @@ describe('filter manager utilities', () => { '' ), { - ...buildQueryFilter( - { match: { _term: { query: 'apache', type: 'phrase' } } }, - 'index1', - '' - ), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index1', ''), meta: { disabled: true, negate: false, alias: null }, }, ]; @@ -69,7 +65,7 @@ describe('filter manager utilities', () => { indexPattern, '' ), - buildQueryFilter({ match: { _term: { query: 'apache', type: 'phrase' } } }, 'index1', ''), + buildQueryFilter({ query_string: { query: 'apache' } }, 'index1', ''), ]; const results = dedupFilters(existing, filters); @@ -86,11 +82,7 @@ describe('filter manager utilities', () => { '' ), { - ...buildQueryFilter( - { match: { _term: { query: 'apache', type: 'phrase' } } }, - 'index', - '' - ), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), $state: { store: FilterStateStore.APP_STATE }, }, ]; @@ -102,11 +94,7 @@ describe('filter manager utilities', () => { '' ), { - ...buildQueryFilter( - { match: { _term: { query: 'apache', type: 'phrase' } } }, - 'index', - '' - ), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), $state: { store: FilterStateStore.GLOBAL_STATE }, }, ]; diff --git a/packages/kbn-es-query/src/filters/helpers/uniq_filters.test.ts b/packages/kbn-es-query/src/filters/helpers/uniq_filters.test.ts index bc72df6237831..fc45d3f294c79 100644 --- a/packages/kbn-es-query/src/filters/helpers/uniq_filters.test.ts +++ b/packages/kbn-es-query/src/filters/helpers/uniq_filters.test.ts @@ -13,8 +13,8 @@ describe('filter manager utilities', () => { describe('niqFilter', () => { test('should filter out dups', () => { const before: Filter[] = [ - buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), - buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), + buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), ]; const results = uniqFilters(before); @@ -23,8 +23,8 @@ describe('filter manager utilities', () => { test('should filter out duplicates, ignoring meta attributes', () => { const before: Filter[] = [ - buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index1', ''), - buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index2', ''), + buildQueryFilter({ query_string: { query: 'apache' } }, 'index1', ''), + buildQueryFilter({ query_string: { query: 'apache' } }, 'index2', ''), ]; const results = uniqFilters(before); @@ -35,19 +35,11 @@ describe('filter manager utilities', () => { const before: Filter[] = [ { $state: { store: FilterStateStore.APP_STATE }, - ...buildQueryFilter( - { _type: { match: { query: 'apache', type: 'phrase' } } }, - 'index', - '' - ), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }, { $state: { store: FilterStateStore.GLOBAL_STATE }, - ...buildQueryFilter( - { _type: { match: { query: 'apache', type: 'phrase' } } }, - 'index', - '' - ), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }, ]; const results = uniqFilters(before); diff --git a/packages/kbn-es-query/src/filters/index.ts b/packages/kbn-es-query/src/filters/index.ts index 9c3e1ec50d431..21011db9462ca 100644 --- a/packages/kbn-es-query/src/filters/index.ts +++ b/packages/kbn-es-query/src/filters/index.ts @@ -30,7 +30,6 @@ export { export { isExistsFilter, isMatchAllFilter, - isMissingFilter, isPhraseFilter, isPhrasesFilter, isRangeFilter, @@ -69,7 +68,6 @@ export { RangeFilterMeta, MatchAllFilter, CustomFilter, - MissingFilter, RangeFilterParams, QueryStringFilter, } from './build_filters'; diff --git a/packages/kbn-es-query/src/filters/stubs/exists_filter.ts b/packages/kbn-es-query/src/filters/stubs/exists_filter.ts index b10aa67db517e..82df9b73abdd3 100644 --- a/packages/kbn-es-query/src/filters/stubs/exists_filter.ts +++ b/packages/kbn-es-query/src/filters/stubs/exists_filter.ts @@ -20,4 +20,5 @@ export const existsFilter: ExistsFilter = { $state: { store: FilterStateStore.APP_STATE, }, + query: {}, }; diff --git a/packages/kbn-es-query/src/filters/stubs/range_filter.ts b/packages/kbn-es-query/src/filters/stubs/range_filter.ts index 89106b2ee2941..e2058f8c07359 100644 --- a/packages/kbn-es-query/src/filters/stubs/range_filter.ts +++ b/packages/kbn-es-query/src/filters/stubs/range_filter.ts @@ -25,5 +25,5 @@ export const rangeFilter: RangeFilter = { $state: { store: FilterStateStore.APP_STATE, }, - range: {}, + query: { range: {} }, }; diff --git a/packages/kbn-es-query/src/index.ts b/packages/kbn-es-query/src/index.ts index bbba52871d4c8..232df8ce509eb 100644 --- a/packages/kbn-es-query/src/index.ts +++ b/packages/kbn-es-query/src/index.ts @@ -9,3 +9,9 @@ export * from './es_query'; export * from './filters'; export * from './kuery'; +export { + isDataViewFieldSubtypeMulti, + isDataViewFieldSubtypeNested, + getDataViewFieldSubtypeMulti, + getDataViewFieldSubtypeNested, +} from './utils'; diff --git a/packages/kbn-es-query/src/kuery/functions/is.ts b/packages/kbn-es-query/src/kuery/functions/is.ts index 596dd91df22b3..38a62309721a2 100644 --- a/packages/kbn-es-query/src/kuery/functions/is.ts +++ b/packages/kbn-es-query/src/kuery/functions/is.ts @@ -6,11 +6,11 @@ * Side Public License, v 1. */ -import { get, isUndefined } from 'lodash'; +import { isUndefined } from 'lodash'; import { estypes } from '@elastic/elasticsearch'; import { getPhraseScript } from '../../filters'; import { getFields } from './utils/get_fields'; -import { getTimeZoneFromSettings } from '../../utils'; +import { getTimeZoneFromSettings, getDataViewFieldSubtypeNested } from '../../utils'; import { getFullFieldNameNode } from './utils/get_full_field_name_node'; import { IndexPatternBase, KueryNode, IndexPatternFieldBase, KueryQueryOptions } from '../..'; @@ -105,16 +105,13 @@ export function toElasticsearchQuery( const wrapWithNestedQuery = (query: any) => { // Wildcards can easily include nested and non-nested fields. There isn't a good way to let // users handle this themselves so we automatically add nested queries in this scenario. - if ( - !(fullFieldNameArg.type === 'wildcard') || - !get(field, 'subType.nested') || - context?.nested - ) { + const subTypeNested = getDataViewFieldSubtypeNested(field); + if (!(fullFieldNameArg.type === 'wildcard') || !subTypeNested?.nested || context?.nested) { return query; } else { return { nested: { - path: field.subType!.nested!.path, + path: subTypeNested.nested.path, query, score_mode: 'none', }, diff --git a/packages/kbn-es-query/src/kuery/functions/range.ts b/packages/kbn-es-query/src/kuery/functions/range.ts index 51f686925518d..c5f24a1afdd6f 100644 --- a/packages/kbn-es-query/src/kuery/functions/range.ts +++ b/packages/kbn-es-query/src/kuery/functions/range.ts @@ -6,24 +6,24 @@ * Side Public License, v 1. */ -import _ from 'lodash'; +import { pick, map, mapValues } from 'lodash'; import { estypes } from '@elastic/elasticsearch'; import { nodeTypes } from '../node_types'; import * as ast from '../ast'; import { getRangeScript, RangeFilterParams } from '../../filters'; import { getFields } from './utils/get_fields'; -import { getTimeZoneFromSettings } from '../../utils'; +import { getTimeZoneFromSettings, getDataViewFieldSubtypeNested } from '../../utils'; import { getFullFieldNameNode } from './utils/get_full_field_name_node'; import { IndexPatternBase, KueryNode, KueryQueryOptions } from '../..'; export function buildNodeParams(fieldName: string, params: RangeFilterParams) { - const paramsToMap = _.pick(params, 'gt', 'lt', 'gte', 'lte', 'format'); + const paramsToMap = pick(params, 'gt', 'lt', 'gte', 'lte', 'format'); const fieldNameArg = typeof fieldName === 'string' ? ast.fromLiteralExpression(fieldName) : nodeTypes.literal.buildNode(fieldName); - const args = _.map(paramsToMap, (value: number | string, key: string) => { + const args = map(paramsToMap, (value: number | string, key: string) => { return nodeTypes.namedArg.buildNode(key, value); }); @@ -46,7 +46,7 @@ export function toElasticsearchQuery( ); const fields = indexPattern ? getFields(fullFieldNameArg, indexPattern) : []; const namedArgs = extractArguments(args); - const queryParams = _.mapValues(namedArgs, (arg: KueryNode) => { + const queryParams = mapValues(namedArgs, (arg: KueryNode) => { return ast.toElasticsearchQuery(arg); }); @@ -67,16 +67,13 @@ export function toElasticsearchQuery( const wrapWithNestedQuery = (query: any) => { // Wildcards can easily include nested and non-nested fields. There isn't a good way to let // users handle this themselves so we automatically add nested queries in this scenario. - if ( - !(fullFieldNameArg.type === 'wildcard') || - !_.get(field, 'subType.nested') || - context!.nested - ) { + const subTypeNested = getDataViewFieldSubtypeNested(field); + if (!(fullFieldNameArg.type === 'wildcard') || !subTypeNested?.nested || context!.nested) { return query; } else { return { nested: { - path: field.subType!.nested!.path, + path: subTypeNested.nested.path, query, score_mode: 'none', }, diff --git a/packages/kbn-es-query/src/kuery/functions/utils/get_full_field_name_node.ts b/packages/kbn-es-query/src/kuery/functions/utils/get_full_field_name_node.ts index 6b575fbdea8fb..239d2c73f5caf 100644 --- a/packages/kbn-es-query/src/kuery/functions/utils/get_full_field_name_node.ts +++ b/packages/kbn-es-query/src/kuery/functions/utils/get_full_field_name_node.ts @@ -8,6 +8,7 @@ import { getFields } from './get_fields'; import { IndexPatternBase, IndexPatternFieldBase, KueryNode } from '../../..'; +import { getDataViewFieldSubtypeNested } from '../../../utils'; export function getFullFieldNameNode( rootNameNode: any, @@ -28,8 +29,8 @@ export function getFullFieldNameNode( const fields = getFields(fullFieldNameNode, indexPattern); const errors = fields!.reduce((acc: any, field: IndexPatternFieldBase) => { - const nestedPathFromField = - field.subType && field.subType.nested ? field.subType.nested.path : undefined; + const subTypeNested = getDataViewFieldSubtypeNested(field); + const nestedPathFromField = subTypeNested?.nested.path; if (nestedPath && !nestedPathFromField) { return [ @@ -48,11 +49,7 @@ export function getFullFieldNameNode( if (nestedPathFromField !== nestedPath) { return [ ...acc, - `Nested field ${ - field.name - } is being queried with the incorrect nested path. The correct path is ${ - field.subType!.nested!.path - }.`, + `Nested field ${field.name} is being queried with the incorrect nested path. The correct path is ${subTypeNested?.nested.path}.`, ]; } diff --git a/packages/kbn-es-query/src/utils.ts b/packages/kbn-es-query/src/utils.ts index 48d17e75e346c..486aeb40681cd 100644 --- a/packages/kbn-es-query/src/utils.ts +++ b/packages/kbn-es-query/src/utils.ts @@ -7,6 +7,7 @@ */ import moment from 'moment-timezone'; +import { DataViewFieldBase, IFieldSubTypeNested, IFieldSubTypeMulti } from './es_query'; /** @internal */ export function getTimeZoneFromSettings(dateFormatTZ: string) { @@ -14,3 +15,23 @@ export function getTimeZoneFromSettings(dateFormatTZ: string) { return dateFormatTZ === 'Browser' ? detectedTimezone : dateFormatTZ; } + +type HasSubtype = Pick; + +export function isDataViewFieldSubtypeNested(field: HasSubtype) { + const subTypeNested = field?.subType as IFieldSubTypeNested; + return !!subTypeNested?.nested?.path; +} + +export function getDataViewFieldSubtypeNested(field: HasSubtype) { + return isDataViewFieldSubtypeNested(field) ? (field.subType as IFieldSubTypeNested) : undefined; +} + +export function isDataViewFieldSubtypeMulti(field: HasSubtype) { + const subTypeNested = field?.subType as IFieldSubTypeMulti; + return !!subTypeNested?.multi?.parent; +} + +export function getDataViewFieldSubtypeMulti(field: HasSubtype) { + return isDataViewFieldSubtypeMulti(field) ? (field.subType as IFieldSubTypeMulti) : undefined; +} diff --git a/packages/kbn-es/src/cli_commands/snapshot.js b/packages/kbn-es/src/cli_commands/snapshot.js index 7f5653db72b49..e64dcb7c77318 100644 --- a/packages/kbn-es/src/cli_commands/snapshot.js +++ b/packages/kbn-es/src/cli_commands/snapshot.js @@ -8,6 +8,7 @@ const dedent = require('dedent'); const getopts = require('getopts'); +import { ToolingLog, getTimeReporter } from '@kbn/dev-utils'; const { Cluster } = require('../cluster'); exports.description = 'Downloads and run from a nightly snapshot'; @@ -36,6 +37,13 @@ exports.help = (defaults = {}) => { }; exports.run = async (defaults = {}) => { + const runStartTime = Date.now(); + const log = new ToolingLog({ + level: 'info', + writeTo: process.stdout, + }); + const reportTime = getTimeReporter(log, 'scripts/es snapshot'); + const argv = process.argv.slice(2); const options = getopts(argv, { alias: { @@ -56,12 +64,22 @@ exports.run = async (defaults = {}) => { if (options['download-only']) { await cluster.downloadSnapshot(options); } else { + const installStartTime = Date.now(); const { installPath } = await cluster.installSnapshot(options); if (options.dataArchive) { await cluster.extractDataDirectory(installPath, options.dataArchive); } - await cluster.run(installPath, options); + reportTime(installStartTime, 'installed', { + success: true, + ...options, + }); + + await cluster.run(installPath, { + reportTime, + startTime: runStartTime, + ...options, + }); } }; diff --git a/packages/kbn-es/src/cluster.js b/packages/kbn-es/src/cluster.js index ac4380da88be0..0866b14f4ade8 100644 --- a/packages/kbn-es/src/cluster.js +++ b/packages/kbn-es/src/cluster.js @@ -240,7 +240,7 @@ exports.Cluster = class Cluster { * @return {undefined} */ _exec(installPath, opts = {}) { - const { skipNativeRealmSetup = false, ...options } = opts; + const { skipNativeRealmSetup = false, reportTime = () => {}, startTime, ...options } = opts; if (this._process || this._outcome) { throw new Error('ES has already been started'); @@ -321,10 +321,17 @@ exports.Cluster = class Cluster { await nativeRealm.setPasswords(options); }); + let reportSent = false; // parse and forward es stdout to the log this._process.stdout.on('data', (data) => { const lines = parseEsLog(data.toString()); lines.forEach((line) => { + if (!reportSent && line.message.includes('publish_address')) { + reportSent = true; + reportTime(startTime, 'ready', { + success: true, + }); + } this._log.info(line.formattedMessage); }); }); @@ -341,7 +348,16 @@ exports.Cluster = class Cluster { // JVM exits with 143 on SIGTERM and 130 on SIGINT, dont' treat them as errors if (code > 0 && !(code === 143 || code === 130)) { + reportTime(startTime, 'abort', { + success: true, + error: code, + }); throw createCliError(`ES exited with code ${code}`); + } else { + reportTime(startTime, 'error', { + success: false, + error: `exited with ${code}`, + }); } }); } diff --git a/packages/kbn-legacy-logging/README.md b/packages/kbn-legacy-logging/README.md deleted file mode 100644 index 4c5989fc892dc..0000000000000 --- a/packages/kbn-legacy-logging/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# @kbn/legacy-logging - -This package contains the implementation of the legacy logging -system, based on `@hapi/good` \ No newline at end of file diff --git a/packages/kbn-legacy-logging/package.json b/packages/kbn-legacy-logging/package.json deleted file mode 100644 index 6e846ffc5bfaf..0000000000000 --- a/packages/kbn-legacy-logging/package.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "name": "@kbn/legacy-logging", - "version": "1.0.0", - "private": true, - "license": "SSPL-1.0 OR Elastic License 2.0", - "main": "./target_node/index.js", - "types": "./target_types/index.d.ts" -} diff --git a/packages/kbn-legacy-logging/src/get_logging_config.ts b/packages/kbn-legacy-logging/src/get_logging_config.ts deleted file mode 100644 index f74bc5904e24b..0000000000000 --- a/packages/kbn-legacy-logging/src/get_logging_config.ts +++ /dev/null @@ -1,85 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import _ from 'lodash'; -import { getLogReporter } from './log_reporter'; -import { LegacyLoggingConfig } from './schema'; - -/** - * Returns the `@hapi/good` plugin configuration to be used for the legacy logging - * @param config - */ -export function getLoggingConfiguration(config: LegacyLoggingConfig, opsInterval: number) { - const events = config.events; - - if (config.silent) { - _.defaults(events, {}); - } else if (config.quiet) { - _.defaults(events, { - log: ['listening', 'error', 'fatal'], - request: ['error'], - error: '*', - }); - } else if (config.verbose) { - _.defaults(events, { - error: '*', - log: '*', - // To avoid duplicate logs, we explicitly disable these in verbose - // mode as they are already provided by the new logging config under - // the `http.server.response` and `metrics.ops` contexts. - ops: '!', - request: '!', - response: '!', - }); - } else { - _.defaults(events, { - log: ['info', 'warning', 'error', 'fatal'], - request: ['info', 'warning', 'error', 'fatal'], - error: '*', - }); - } - - const loggerStream = getLogReporter({ - config: { - json: config.json, - dest: config.dest, - timezone: config.timezone, - - // I'm adding the default here because if you add another filter - // using the commandline it will remove authorization. I want users - // to have to explicitly set --logging.filter.authorization=none or - // --logging.filter.cookie=none to have it show up in the logs. - filter: _.defaults(config.filter, { - authorization: 'remove', - cookie: 'remove', - }), - }, - events: _.transform( - events, - function (filtered: Record, val: string, key: string) { - // provide a string compatible way to remove events - if (val !== '!') filtered[key] = val; - }, - {} - ), - }); - - const options = { - ops: { - interval: opsInterval, - }, - includes: { - request: ['headers', 'payload'], - response: ['headers', 'payload'], - }, - reporters: { - logReporter: [loggerStream], - }, - }; - return options; -} diff --git a/packages/kbn-legacy-logging/src/index.ts b/packages/kbn-legacy-logging/src/index.ts deleted file mode 100644 index 670df4e95f337..0000000000000 --- a/packages/kbn-legacy-logging/src/index.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -export { LegacyLoggingConfig, legacyLoggingConfigSchema } from './schema'; -export { attachMetaData } from './metadata'; -export { setupLoggingRotate } from './rotate'; -export { setupLogging, reconfigureLogging } from './setup_logging'; -export { getLoggingConfiguration } from './get_logging_config'; -export { LegacyLoggingServer } from './legacy_logging_server'; diff --git a/packages/kbn-legacy-logging/src/legacy_logging_server.test.ts b/packages/kbn-legacy-logging/src/legacy_logging_server.test.ts deleted file mode 100644 index 40019fc90ff42..0000000000000 --- a/packages/kbn-legacy-logging/src/legacy_logging_server.test.ts +++ /dev/null @@ -1,105 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -jest.mock('./setup_logging'); - -import { LegacyLoggingServer, LogRecord } from './legacy_logging_server'; - -test('correctly forwards log records.', () => { - const loggingServer = new LegacyLoggingServer({ events: {} }); - const onLogMock = jest.fn(); - loggingServer.events.on('log', onLogMock); - - const timestamp = 1554433221100; - const firstLogRecord: LogRecord = { - timestamp: new Date(timestamp), - pid: 5355, - level: { - id: 'info', - value: 5, - }, - context: 'some-context', - message: 'some-message', - }; - - const secondLogRecord: LogRecord = { - timestamp: new Date(timestamp), - pid: 5355, - level: { - id: 'error', - value: 3, - }, - context: 'some-context.sub-context', - message: 'some-message', - meta: { unknown: 2 }, - error: new Error('some-error'), - }; - - const thirdLogRecord: LogRecord = { - timestamp: new Date(timestamp), - pid: 5355, - level: { - id: 'trace', - value: 7, - }, - context: 'some-context.sub-context', - message: 'some-message', - meta: { tags: ['important', 'tags'], unknown: 2 }, - }; - - loggingServer.log(firstLogRecord); - loggingServer.log(secondLogRecord); - loggingServer.log(thirdLogRecord); - - expect(onLogMock).toHaveBeenCalledTimes(3); - - const [[firstCall], [secondCall], [thirdCall]] = onLogMock.mock.calls; - expect(firstCall).toMatchInlineSnapshot(` -Object { - "data": "some-message", - "tags": Array [ - "info", - "some-context", - ], - "timestamp": 1554433221100, -} -`); - - expect(secondCall).toMatchInlineSnapshot(` -Object { - "data": [Error: some-error], - "tags": Array [ - "error", - "some-context", - "sub-context", - ], - "timestamp": 1554433221100, -} -`); - - expect(thirdCall).toMatchInlineSnapshot(` -Object { - "data": Object { - Symbol(log message with metadata): Object { - "message": "some-message", - "metadata": Object { - "unknown": 2, - }, - }, - }, - "tags": Array [ - "debug", - "some-context", - "sub-context", - "important", - "tags", - ], - "timestamp": 1554433221100, -} -`); -}); diff --git a/packages/kbn-legacy-logging/src/legacy_logging_server.ts b/packages/kbn-legacy-logging/src/legacy_logging_server.ts deleted file mode 100644 index f6c42dd1b161f..0000000000000 --- a/packages/kbn-legacy-logging/src/legacy_logging_server.ts +++ /dev/null @@ -1,140 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { ServerExtType, Server } from '@hapi/hapi'; -import Podium from '@hapi/podium'; -import { setupLogging } from './setup_logging'; -import { attachMetaData } from './metadata'; -import { legacyLoggingConfigSchema } from './schema'; - -// these LogXXX types are duplicated to avoid a cross dependency with the @kbn/logging package. -// typescript will error if they diverge at some point. -type LogLevelId = 'all' | 'fatal' | 'error' | 'warn' | 'info' | 'debug' | 'trace' | 'off'; - -interface LogLevel { - id: LogLevelId; - value: number; -} - -export interface LogRecord { - timestamp: Date; - level: LogLevel; - context: string; - message: string; - error?: Error; - meta?: { [name: string]: any }; - pid: number; -} - -const isEmptyObject = (obj: object) => Object.keys(obj).length === 0; - -function getDataToLog(error: Error | undefined, metadata: object, message: string) { - if (error) { - return error; - } - if (!isEmptyObject(metadata)) { - return attachMetaData(message, metadata); - } - return message; -} - -interface PluginRegisterParams { - plugin: { - register: ( - server: LegacyLoggingServer, - options: PluginRegisterParams['options'] - ) => Promise; - }; - options: Record; -} - -/** - * Converts core log level to a one that's known to the legacy platform. - * @param level Log level from the core. - */ -function getLegacyLogLevel(level: LogLevel) { - const logLevel = level.id.toLowerCase(); - if (logLevel === 'warn') { - return 'warning'; - } - - if (logLevel === 'trace') { - return 'debug'; - } - - return logLevel; -} - -/** - * The "legacy" Kibana uses Hapi server + even-better plugin to log, so we should - * use the same approach here to make log records generated by the core to look the - * same as the rest of the records generated by the "legacy" Kibana. But to reduce - * overhead of having full blown Hapi server instance we create our own "light" version. - * @internal - */ -export class LegacyLoggingServer { - public connections = []; - // Emulates Hapi's usage of the podium event bus. - public events: Podium = new Podium(['log', 'request', 'response']); - - private onPostStopCallback?: () => void; - - constructor(legacyLoggingConfig: any) { - // We set `ops.interval` to max allowed number and `ops` filter to value - // that doesn't exist to avoid logging of ops at all, if turned on it will be - // logged by the "legacy" Kibana. - const loggingConfig = legacyLoggingConfigSchema.validate({ - ...legacyLoggingConfig, - events: { - ...legacyLoggingConfig.events, - ops: '__no-ops__', - }, - }); - - setupLogging(this as unknown as Server, loggingConfig, 2147483647); - } - - public register({ plugin: { register }, options }: PluginRegisterParams): Promise { - return register(this, options); - } - - public log({ level, context, message, error, timestamp, meta = {} }: LogRecord) { - const { tags = [], ...metadata } = meta; - - this.events - .emit('log', { - data: getDataToLog(error, metadata, message), - tags: [getLegacyLogLevel(level), ...context.split('.'), ...tags], - timestamp: timestamp.getTime(), - }) - .catch((err) => { - // eslint-disable-next-line no-console - console.error('An unexpected error occurred while writing to the log:', err.stack); - process.exit(1); - }); - } - - public stop() { - // Tell the plugin we're stopping. - if (this.onPostStopCallback !== undefined) { - this.onPostStopCallback(); - } - } - - public ext(eventName: ServerExtType, callback: () => void) { - // method is called by plugin that's being registered. - if (eventName === 'onPostStop') { - this.onPostStopCallback = callback; - } - // We don't care about any others the plugin registers - } - - public expose() { - // method is called by plugin that's being registered. - } -} diff --git a/packages/kbn-legacy-logging/src/log_events.ts b/packages/kbn-legacy-logging/src/log_events.ts deleted file mode 100644 index 193bfbea42ace..0000000000000 --- a/packages/kbn-legacy-logging/src/log_events.ts +++ /dev/null @@ -1,71 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import type { ResponseObject } from '@hapi/hapi'; -import { EventData, isEventData } from './metadata'; - -export interface BaseEvent { - event: string; - timestamp: number; - pid: number; - tags?: string[]; -} - -export interface ResponseEvent extends BaseEvent { - event: 'response'; - method: 'GET' | 'POST' | 'PUT' | 'DELETE'; - statusCode: number; - path: string; - headers: Record; - responseHeaders: Record; - responsePayload: ResponseObject['source']; - responseTime: string; - query: Record; -} - -export interface OpsEvent extends BaseEvent { - event: 'ops'; - os: { - load: string[]; - }; - proc: Record; - load: string; -} - -export interface ErrorEvent extends BaseEvent { - event: 'error'; - error: Error; - url: string; -} - -export interface UndeclaredErrorEvent extends BaseEvent { - error: Error; -} - -export interface LogEvent extends BaseEvent { - data: EventData; -} - -export interface UnkownEvent extends BaseEvent { - data: string | Record; -} - -export type AnyEvent = - | ResponseEvent - | OpsEvent - | ErrorEvent - | UndeclaredErrorEvent - | LogEvent - | UnkownEvent; - -export const isResponseEvent = (e: AnyEvent): e is ResponseEvent => e.event === 'response'; -export const isOpsEvent = (e: AnyEvent): e is OpsEvent => e.event === 'ops'; -export const isErrorEvent = (e: AnyEvent): e is ErrorEvent => e.event === 'error'; -export const isLogEvent = (e: AnyEvent): e is LogEvent => isEventData((e as LogEvent).data); -export const isUndeclaredErrorEvent = (e: AnyEvent): e is UndeclaredErrorEvent => - (e as any).error instanceof Error; diff --git a/packages/kbn-legacy-logging/src/log_format.ts b/packages/kbn-legacy-logging/src/log_format.ts deleted file mode 100644 index a0eaf023dff19..0000000000000 --- a/packages/kbn-legacy-logging/src/log_format.ts +++ /dev/null @@ -1,176 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import Stream from 'stream'; -import moment from 'moment-timezone'; -import _ from 'lodash'; -import queryString from 'query-string'; -import numeral from '@elastic/numeral'; -import chalk from 'chalk'; -import { inspect } from 'util'; - -import { applyFiltersToKeys, getResponsePayloadBytes } from './utils'; -import { getLogEventData } from './metadata'; -import { LegacyLoggingConfig } from './schema'; -import { - AnyEvent, - ResponseEvent, - isResponseEvent, - isOpsEvent, - isErrorEvent, - isLogEvent, - isUndeclaredErrorEvent, -} from './log_events'; - -export type LogFormatConfig = Pick; - -function serializeError(err: any = {}) { - return { - message: err.message, - name: err.name, - stack: err.stack, - code: err.code, - signal: err.signal, - }; -} - -const levelColor = function (code: number) { - if (code < 299) return chalk.green(String(code)); - if (code < 399) return chalk.yellow(String(code)); - if (code < 499) return chalk.magentaBright(String(code)); - return chalk.red(String(code)); -}; - -export abstract class BaseLogFormat extends Stream.Transform { - constructor(private readonly config: LogFormatConfig) { - super({ - readableObjectMode: false, - writableObjectMode: true, - }); - } - - abstract format(data: Record): string; - - filter(data: Record) { - if (!this.config.filter) { - return data; - } - return applyFiltersToKeys(data, this.config.filter); - } - - _transform(event: AnyEvent, enc: string, next: Stream.TransformCallback) { - const data = this.filter(this.readEvent(event)); - this.push(this.format(data) + '\n'); - next(); - } - - getContentLength({ responsePayload, responseHeaders }: ResponseEvent): number | undefined { - try { - return getResponsePayloadBytes(responsePayload, responseHeaders); - } catch (e) { - // We intentionally swallow any errors as this information is - // only a nicety for logging purposes, and should not cause the - // server to crash if it cannot be determined. - this.push( - this.format({ - type: 'log', - tags: ['warning', 'logging'], - message: `Failed to calculate response payload bytes. [${e}]`, - }) + '\n' - ); - } - } - - extractAndFormatTimestamp(data: Record, format?: string) { - const { timezone } = this.config; - const date = moment(data['@timestamp']); - if (timezone) { - date.tz(timezone); - } - return date.format(format); - } - - readEvent(event: AnyEvent) { - const data: Record = { - type: event.event, - '@timestamp': event.timestamp, - tags: [...(event.tags || [])], - pid: event.pid, - }; - - if (isResponseEvent(event)) { - _.defaults(data, _.pick(event, ['method', 'statusCode'])); - - const source = _.get(event, 'source', {}); - data.req = { - url: event.path, - method: event.method || '', - headers: event.headers, - remoteAddress: source.remoteAddress, - userAgent: source.userAgent, - referer: source.referer, - }; - - data.res = { - statusCode: event.statusCode, - responseTime: event.responseTime, - contentLength: this.getContentLength(event), - }; - - const query = queryString.stringify(event.query, { sort: false }); - if (query) { - data.req.url += '?' + query; - } - - data.message = data.req.method.toUpperCase() + ' '; - data.message += data.req.url; - data.message += ' '; - data.message += levelColor(data.res.statusCode); - data.message += ' '; - data.message += chalk.gray(data.res.responseTime + 'ms'); - if (data.res.contentLength) { - data.message += chalk.gray(' - ' + numeral(data.res.contentLength).format('0.0b')); - } - } else if (isOpsEvent(event)) { - _.defaults(data, _.pick(event, ['pid', 'os', 'proc', 'load'])); - data.message = chalk.gray('memory: '); - data.message += numeral(_.get(data, 'proc.mem.heapUsed')).format('0.0b'); - data.message += ' '; - data.message += chalk.gray('uptime: '); - data.message += numeral(_.get(data, 'proc.uptime')).format('00:00:00'); - data.message += ' '; - data.message += chalk.gray('load: ['); - data.message += _.get(data, 'os.load', []) - .map((val: number) => { - return numeral(val).format('0.00'); - }) - .join(' '); - data.message += chalk.gray(']'); - data.message += ' '; - data.message += chalk.gray('delay: '); - data.message += numeral(_.get(data, 'proc.delay')).format('0.000'); - } else if (isErrorEvent(event)) { - data.level = 'error'; - data.error = serializeError(event.error); - data.url = event.url; - const message = _.get(event, 'error.message'); - data.message = message || 'Unknown error (no message)'; - } else if (isUndeclaredErrorEvent(event)) { - data.type = 'error'; - data.level = _.includes(event.tags, 'fatal') ? 'fatal' : 'error'; - data.error = serializeError(event.error); - const message = _.get(event, 'error.message'); - data.message = message || 'Unknown error object (no message)'; - } else if (isLogEvent(event)) { - _.assign(data, getLogEventData(event.data)); - } else { - data.message = _.isString(event.data) ? event.data : inspect(event.data); - } - return data; - } -} diff --git a/packages/kbn-legacy-logging/src/log_format_json.test.ts b/packages/kbn-legacy-logging/src/log_format_json.test.ts deleted file mode 100644 index 3255c5d17bb30..0000000000000 --- a/packages/kbn-legacy-logging/src/log_format_json.test.ts +++ /dev/null @@ -1,281 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import moment from 'moment'; - -import { attachMetaData } from './metadata'; -import { createListStream, createPromiseFromStreams } from '@kbn/utils'; -import { KbnLoggerJsonFormat } from './log_format_json'; - -const time = +moment('2010-01-01T05:15:59Z', moment.ISO_8601); - -const makeEvent = (eventType: string) => ({ - event: eventType, - timestamp: time, -}); - -describe('KbnLoggerJsonFormat', () => { - const config: any = {}; - - describe('event types and messages', () => { - let format: KbnLoggerJsonFormat; - beforeEach(() => { - format = new KbnLoggerJsonFormat(config); - }); - - it('log', async () => { - const result = await createPromiseFromStreams([ - createListStream([makeEvent('log')]), - format, - ]); - const { type, message } = JSON.parse(result); - - expect(type).toBe('log'); - expect(message).toBe('undefined'); - }); - - describe('response', () => { - it('handles a response object', async () => { - const event = { - ...makeEvent('response'), - statusCode: 200, - contentLength: 800, - responseTime: 12000, - method: 'GET', - path: '/path/to/resource', - responsePayload: '1234567879890', - source: { - remoteAddress: '127.0.0.1', - userAgent: 'Test Thing', - referer: 'elastic.co', - }, - }; - const result = await createPromiseFromStreams([createListStream([event]), format]); - const { type, method, statusCode, message, req } = JSON.parse(result); - - expect(type).toBe('response'); - expect(method).toBe('GET'); - expect(statusCode).toBe(200); - expect(message).toBe('GET /path/to/resource 200 12000ms - 13.0B'); - expect(req.remoteAddress).toBe('127.0.0.1'); - expect(req.userAgent).toBe('Test Thing'); - }); - - it('leaves payload size empty if not available', async () => { - const event = { - ...makeEvent('response'), - statusCode: 200, - responseTime: 12000, - method: 'GET', - path: '/path/to/resource', - responsePayload: null, - }; - const result = await createPromiseFromStreams([createListStream([event]), format]); - expect(JSON.parse(result).message).toBe('GET /path/to/resource 200 12000ms'); - }); - }); - - it('ops', async () => { - const event = { - ...makeEvent('ops'), - os: { - load: [1, 1, 2], - }, - }; - const result = await createPromiseFromStreams([createListStream([event]), format]); - const { type, message } = JSON.parse(result); - - expect(type).toBe('ops'); - expect(message).toBe('memory: 0.0B uptime: 0:00:00 load: [1.00 1.00 2.00] delay: 0.000'); - }); - - describe('with metadata', () => { - it('logs an event with meta data', async () => { - const event = { - data: attachMetaData('message for event', { - prop1: 'value1', - prop2: 'value2', - }), - tags: ['tag1', 'tag2'], - }; - const result = await createPromiseFromStreams([createListStream([event]), format]); - const { level, message, prop1, prop2, tags } = JSON.parse(result); - - expect(level).toBe(undefined); - expect(message).toBe('message for event'); - expect(prop1).toBe('value1'); - expect(prop2).toBe('value2'); - expect(tags).toEqual(['tag1', 'tag2']); - }); - - it('meta data rewrites event fields', async () => { - const event = { - data: attachMetaData('message for event', { - tags: ['meta-data-tag'], - prop1: 'value1', - prop2: 'value2', - }), - tags: ['tag1', 'tag2'], - }; - const result = await createPromiseFromStreams([createListStream([event]), format]); - const { level, message, prop1, prop2, tags } = JSON.parse(result); - - expect(level).toBe(undefined); - expect(message).toBe('message for event'); - expect(prop1).toBe('value1'); - expect(prop2).toBe('value2'); - expect(tags).toEqual(['meta-data-tag']); - }); - - it('logs an event with empty meta data', async () => { - const event = { - data: attachMetaData('message for event'), - tags: ['tag1', 'tag2'], - }; - const result = await createPromiseFromStreams([createListStream([event]), format]); - const { level, message, prop1, prop2, tags } = JSON.parse(result); - - expect(level).toBe(undefined); - expect(message).toBe('message for event'); - expect(prop1).toBe(undefined); - expect(prop2).toBe(undefined); - expect(tags).toEqual(['tag1', 'tag2']); - }); - - it('does not log meta data for an error event', async () => { - const event = { - error: new Error('reason'), - data: attachMetaData('message for event', { - prop1: 'value1', - prop2: 'value2', - }), - tags: ['tag1', 'tag2'], - }; - const result = await createPromiseFromStreams([createListStream([event]), format]); - const { level, message, prop1, prop2, tags } = JSON.parse(result); - - expect(level).toBe('error'); - expect(message).toBe('reason'); - expect(prop1).toBe(undefined); - expect(prop2).toBe(undefined); - expect(tags).toEqual(['tag1', 'tag2']); - }); - }); - - describe('errors', () => { - it('error type', async () => { - const event = { - ...makeEvent('error'), - error: { - message: 'test error 0', - }, - }; - const result = await createPromiseFromStreams([createListStream([event]), format]); - const { level, message, error } = JSON.parse(result); - - expect(level).toBe('error'); - expect(message).toBe('test error 0'); - expect(error).toEqual({ message: 'test error 0' }); - }); - - it('with no message', async () => { - const event = { - event: 'error', - error: {}, - }; - const result = await createPromiseFromStreams([createListStream([event]), format]); - const { level, message, error } = JSON.parse(result); - - expect(level).toBe('error'); - expect(message).toBe('Unknown error (no message)'); - expect(error).toEqual({}); - }); - - it('event error instanceof Error', async () => { - const event = { - error: new Error('test error 2') as any, - }; - const result = await createPromiseFromStreams([createListStream([event]), format]); - const { level, message, error } = JSON.parse(result); - - expect(level).toBe('error'); - expect(message).toBe('test error 2'); - - expect(error.message).toBe(event.error.message); - expect(error.name).toBe(event.error.name); - expect(error.stack).toBe(event.error.stack); - expect(error.code).toBe(event.error.code); - expect(error.signal).toBe(event.error.signal); - }); - - it('event error instanceof Error - fatal', async () => { - const event = { - error: new Error('test error 2') as any, - tags: ['fatal', 'tag2'], - }; - const result = await createPromiseFromStreams([createListStream([event]), format]); - const { tags, level, message, error } = JSON.parse(result); - - expect(tags).toEqual(['fatal', 'tag2']); - expect(level).toBe('fatal'); - expect(message).toBe('test error 2'); - - expect(error.message).toBe(event.error.message); - expect(error.name).toBe(event.error.name); - expect(error.stack).toBe(event.error.stack); - expect(error.code).toBe(event.error.code); - expect(error.signal).toBe(event.error.signal); - }); - - it('event error instanceof Error, no message', async () => { - const event = { - error: new Error('') as any, - }; - const result = await createPromiseFromStreams([createListStream([event]), format]); - const { level, message, error } = JSON.parse(result); - - expect(level).toBe('error'); - expect(message).toBe('Unknown error object (no message)'); - - expect(error.message).toBe(event.error.message); - expect(error.name).toBe(event.error.name); - expect(error.stack).toBe(event.error.stack); - expect(error.code).toBe(event.error.code); - expect(error.signal).toBe(event.error.signal); - }); - }); - }); - - describe('timezone', () => { - it('logs in UTC', async () => { - const format = new KbnLoggerJsonFormat({ - timezone: 'UTC', - } as any); - - const result = await createPromiseFromStreams([ - createListStream([makeEvent('log')]), - format, - ]); - - const { '@timestamp': timestamp } = JSON.parse(result); - expect(timestamp).toBe(moment.utc(time).format()); - }); - - it('logs in local timezone timezone is undefined', async () => { - const format = new KbnLoggerJsonFormat({} as any); - - const result = await createPromiseFromStreams([ - createListStream([makeEvent('log')]), - format, - ]); - - const { '@timestamp': timestamp } = JSON.parse(result); - expect(timestamp).toBe(moment(time).format()); - }); - }); -}); diff --git a/packages/kbn-legacy-logging/src/log_format_json.ts b/packages/kbn-legacy-logging/src/log_format_json.ts deleted file mode 100644 index 427415d1715a6..0000000000000 --- a/packages/kbn-legacy-logging/src/log_format_json.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -// @ts-expect-error missing type def -import stringify from 'json-stringify-safe'; -import { BaseLogFormat } from './log_format'; - -const stripColors = function (string: string) { - return string.replace(/\u001b[^m]+m/g, ''); -}; - -export class KbnLoggerJsonFormat extends BaseLogFormat { - format(data: Record) { - data.message = stripColors(data.message); - data['@timestamp'] = this.extractAndFormatTimestamp(data); - return stringify(data); - } -} diff --git a/packages/kbn-legacy-logging/src/log_format_string.test.ts b/packages/kbn-legacy-logging/src/log_format_string.test.ts deleted file mode 100644 index 3ea02c2cfb286..0000000000000 --- a/packages/kbn-legacy-logging/src/log_format_string.test.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import moment from 'moment'; - -import { attachMetaData } from './metadata'; -import { createListStream, createPromiseFromStreams } from '@kbn/utils'; -import { KbnLoggerStringFormat } from './log_format_string'; - -const time = +moment('2010-01-01T05:15:59Z', moment.ISO_8601); - -const makeEvent = () => ({ - event: 'log', - timestamp: time, - tags: ['tag'], - pid: 1, - data: 'my log message', -}); - -describe('KbnLoggerStringFormat', () => { - it('logs in UTC', async () => { - const format = new KbnLoggerStringFormat({ - timezone: 'UTC', - } as any); - - const result = await createPromiseFromStreams([createListStream([makeEvent()]), format]); - - expect(String(result)).toContain(moment.utc(time).format('HH:mm:ss.SSS')); - }); - - it('logs in local timezone when timezone is undefined', async () => { - const format = new KbnLoggerStringFormat({} as any); - - const result = await createPromiseFromStreams([createListStream([makeEvent()]), format]); - - expect(String(result)).toContain(moment(time).format('HH:mm:ss.SSS')); - }); - describe('with metadata', () => { - it('does not log meta data', async () => { - const format = new KbnLoggerStringFormat({} as any); - const event = { - data: attachMetaData('message for event', { - prop1: 'value1', - }), - tags: ['tag1', 'tag2'], - }; - - const result = await createPromiseFromStreams([createListStream([event]), format]); - - const resultString = String(result); - expect(resultString).toContain('tag1'); - expect(resultString).toContain('tag2'); - expect(resultString).toContain('message for event'); - - expect(resultString).not.toContain('value1'); - expect(resultString).not.toContain('prop1'); - }); - }); -}); diff --git a/packages/kbn-legacy-logging/src/log_format_string.ts b/packages/kbn-legacy-logging/src/log_format_string.ts deleted file mode 100644 index da21e56e00340..0000000000000 --- a/packages/kbn-legacy-logging/src/log_format_string.ts +++ /dev/null @@ -1,65 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import _ from 'lodash'; -import chalk from 'chalk'; - -import { BaseLogFormat } from './log_format'; - -const statuses = ['err', 'info', 'error', 'warning', 'fatal', 'status', 'debug']; - -const typeColors: Record = { - log: 'white', - req: 'green', - res: 'green', - ops: 'cyan', - config: 'cyan', - err: 'red', - info: 'green', - error: 'red', - warning: 'red', - fatal: 'magentaBright', - status: 'yellowBright', - debug: 'gray', - server: 'gray', - optmzr: 'white', - manager: 'green', - optimize: 'magentaBright', - listening: 'magentaBright', - scss: 'magentaBright', -}; - -const color = _.memoize((name: string): ((...text: string[]) => string) => { - // @ts-expect-error couldn't even get rid of the error with an any cast - return chalk[typeColors[name]] || _.identity; -}); - -const type = _.memoize((t: string) => { - return color(t)(_.pad(t, 7).slice(0, 7)); -}); - -const prefix = process.env.isDevCliChild ? `${type('server')} ` : ''; - -export class KbnLoggerStringFormat extends BaseLogFormat { - format(data: Record) { - const time = color('time')(this.extractAndFormatTimestamp(data, 'HH:mm:ss.SSS')); - const msg = data.error ? color('error')(data.error.stack) : color('message')(data.message); - - const tags = _(data.tags) - .sortBy(function (tag) { - if (color(tag) === _.identity) return `2${tag}`; - if (_.includes(statuses, tag)) return `0${tag}`; - return `1${tag}`; - }) - .reduce(function (s, t) { - return s + `[${color(t)(t)}]`; - }, ''); - - return `${prefix}${type(data.type)} [${time}] ${tags} ${msg}`; - } -} diff --git a/packages/kbn-legacy-logging/src/log_interceptor.test.ts b/packages/kbn-legacy-logging/src/log_interceptor.test.ts deleted file mode 100644 index 53d622444ece8..0000000000000 --- a/packages/kbn-legacy-logging/src/log_interceptor.test.ts +++ /dev/null @@ -1,153 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { ErrorEvent } from './log_events'; -import { LogInterceptor } from './log_interceptor'; - -function stubClientErrorEvent(errorMeta: Record): ErrorEvent { - const error = new Error(); - Object.assign(error, errorMeta); - return { - event: 'error', - url: '', - pid: 1234, - timestamp: Date.now(), - tags: ['connection', 'client', 'error'], - error, - }; -} - -const stubEconnresetEvent = () => stubClientErrorEvent({ code: 'ECONNRESET' }); -const stubEpipeEvent = () => stubClientErrorEvent({ errno: 'EPIPE' }); -const stubEcanceledEvent = () => stubClientErrorEvent({ errno: 'ECANCELED' }); - -function assertDowngraded(transformed: Record) { - expect(!!transformed).toBe(true); - expect(transformed).toHaveProperty('event', 'log'); - expect(transformed).toHaveProperty('tags'); - expect(transformed.tags).not.toContain('error'); -} - -describe('server logging LogInterceptor', () => { - describe('#downgradeIfEconnreset()', () => { - it('transforms ECONNRESET events', () => { - const interceptor = new LogInterceptor(); - const event = stubEconnresetEvent(); - assertDowngraded(interceptor.downgradeIfEconnreset(event)!); - }); - - it('does not match if the tags are not in order', () => { - const interceptor = new LogInterceptor(); - const event = stubEconnresetEvent(); - event.tags = [...event.tags!.slice(1), event.tags![0]]; - expect(interceptor.downgradeIfEconnreset(event)).toBe(null); - }); - - it('ignores non ECONNRESET events', () => { - const interceptor = new LogInterceptor(); - const event = stubClientErrorEvent({ errno: 'not ECONNRESET' }); - expect(interceptor.downgradeIfEconnreset(event)).toBe(null); - }); - - it('ignores if tags are wrong', () => { - const interceptor = new LogInterceptor(); - const event = stubEconnresetEvent(); - event.tags = ['different', 'tags']; - expect(interceptor.downgradeIfEconnreset(event)).toBe(null); - }); - }); - - describe('#downgradeIfEpipe()', () => { - it('transforms EPIPE events', () => { - const interceptor = new LogInterceptor(); - const event = stubEpipeEvent(); - assertDowngraded(interceptor.downgradeIfEpipe(event)!); - }); - - it('does not match if the tags are not in order', () => { - const interceptor = new LogInterceptor(); - const event = stubEpipeEvent(); - event.tags = [...event.tags!.slice(1), event.tags![0]]; - expect(interceptor.downgradeIfEpipe(event)).toBe(null); - }); - - it('ignores non EPIPE events', () => { - const interceptor = new LogInterceptor(); - const event = stubClientErrorEvent({ errno: 'not EPIPE' }); - expect(interceptor.downgradeIfEpipe(event)).toBe(null); - }); - - it('ignores if tags are wrong', () => { - const interceptor = new LogInterceptor(); - const event = stubEpipeEvent(); - event.tags = ['different', 'tags']; - expect(interceptor.downgradeIfEpipe(event)).toBe(null); - }); - }); - - describe('#downgradeIfEcanceled()', () => { - it('transforms ECANCELED events', () => { - const interceptor = new LogInterceptor(); - const event = stubEcanceledEvent(); - assertDowngraded(interceptor.downgradeIfEcanceled(event)!); - }); - - it('does not match if the tags are not in order', () => { - const interceptor = new LogInterceptor(); - const event = stubEcanceledEvent(); - event.tags = [...event.tags!.slice(1), event.tags![0]]; - expect(interceptor.downgradeIfEcanceled(event)).toBe(null); - }); - - it('ignores non ECANCELED events', () => { - const interceptor = new LogInterceptor(); - const event = stubClientErrorEvent({ errno: 'not ECANCELLED' }); - expect(interceptor.downgradeIfEcanceled(event)).toBe(null); - }); - - it('ignores if tags are wrong', () => { - const interceptor = new LogInterceptor(); - const event = stubEcanceledEvent(); - event.tags = ['different', 'tags']; - expect(interceptor.downgradeIfEcanceled(event)).toBe(null); - }); - }); - - describe('#downgradeIfHTTPSWhenHTTP', () => { - it('transforms https requests when serving http errors', () => { - const interceptor = new LogInterceptor(); - const event = stubClientErrorEvent({ message: 'Parse Error', code: 'HPE_INVALID_METHOD' }); - assertDowngraded(interceptor.downgradeIfHTTPSWhenHTTP(event)!); - }); - - it('ignores non events', () => { - const interceptor = new LogInterceptor(); - const event = stubClientErrorEvent({ - message: 'Parse Error', - code: 'NOT_HPE_INVALID_METHOD', - }); - expect(interceptor.downgradeIfEcanceled(event)).toBe(null); - }); - }); - - describe('#downgradeIfHTTPWhenHTTPS', () => { - it('transforms http requests when serving https errors', () => { - const message = - '4584650176:error:1408F09C:SSL routines:ssl3_get_record:http request:../deps/openssl/openssl/ssl/record/ssl3_record.c:322:\n'; - const interceptor = new LogInterceptor(); - const event = stubClientErrorEvent({ message }); - assertDowngraded(interceptor.downgradeIfHTTPWhenHTTPS(event)!); - }); - - it('ignores non events', () => { - const interceptor = new LogInterceptor(); - const event = stubClientErrorEvent({ message: 'Not error' }); - expect(interceptor.downgradeIfEcanceled(event)).toBe(null); - }); - }); -}); diff --git a/packages/kbn-legacy-logging/src/log_interceptor.ts b/packages/kbn-legacy-logging/src/log_interceptor.ts deleted file mode 100644 index 1085806135ca6..0000000000000 --- a/packages/kbn-legacy-logging/src/log_interceptor.ts +++ /dev/null @@ -1,144 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import Stream from 'stream'; -import { get, isEqual } from 'lodash'; -import { AnyEvent } from './log_events'; - -/** - * Matches error messages when clients connect via HTTP instead of HTTPS; see unit test for full message. Warning: this can change when Node - * and its bundled OpenSSL binary are upgraded. - */ -const OPENSSL_GET_RECORD_REGEX = /ssl3_get_record:http/; - -function doTagsMatch(event: AnyEvent, tags: string[]) { - return isEqual(event.tags, tags); -} - -function doesMessageMatch(errorMessage: string, match: RegExp | string) { - if (!errorMessage) { - return false; - } - if (match instanceof RegExp) { - return match.test(errorMessage); - } - return errorMessage === match; -} - -// converts the given event into a debug log if it's an error of the given type -function downgradeIfErrorType(errorType: string, event: AnyEvent) { - const isClientError = doTagsMatch(event, ['connection', 'client', 'error']); - if (!isClientError) { - return null; - } - - const matchesErrorType = - get(event, 'error.code') === errorType || get(event, 'error.errno') === errorType; - if (!matchesErrorType) { - return null; - } - - const errorTypeTag = errorType.toLowerCase(); - - return { - event: 'log', - pid: event.pid, - timestamp: event.timestamp, - tags: ['debug', 'connection', errorTypeTag], - data: `${errorType}: Socket was closed by the client (probably the browser) before it could be read completely`, - }; -} - -function downgradeIfErrorMessage(match: RegExp | string, event: AnyEvent) { - const isClientError = doTagsMatch(event, ['connection', 'client', 'error']); - const errorMessage = get(event, 'error.message'); - const matchesErrorMessage = isClientError && doesMessageMatch(errorMessage, match); - - if (!matchesErrorMessage) { - return null; - } - - return { - event: 'log', - pid: event.pid, - timestamp: event.timestamp, - tags: ['debug', 'connection'], - data: errorMessage, - }; -} - -export class LogInterceptor extends Stream.Transform { - constructor() { - super({ - readableObjectMode: true, - writableObjectMode: true, - }); - } - - /** - * Since the upgrade to hapi 14, any socket read - * error is surfaced as a generic "client error" - * but "ECONNRESET" specifically is not useful for the - * logs unless you are trying to debug edge-case behaviors. - * - * For that reason, we downgrade this from error to debug level - * - * @param {object} - log event - */ - downgradeIfEconnreset(event: AnyEvent) { - return downgradeIfErrorType('ECONNRESET', event); - } - - /** - * Since the upgrade to hapi 14, any socket write - * error is surfaced as a generic "client error" - * but "EPIPE" specifically is not useful for the - * logs unless you are trying to debug edge-case behaviors. - * - * For that reason, we downgrade this from error to debug level - * - * @param {object} - log event - */ - downgradeIfEpipe(event: AnyEvent) { - return downgradeIfErrorType('EPIPE', event); - } - - /** - * Since the upgrade to hapi 14, any socket write - * error is surfaced as a generic "client error" - * but "ECANCELED" specifically is not useful for the - * logs unless you are trying to debug edge-case behaviors. - * - * For that reason, we downgrade this from error to debug level - * - * @param {object} - log event - */ - downgradeIfEcanceled(event: AnyEvent) { - return downgradeIfErrorType('ECANCELED', event); - } - - downgradeIfHTTPSWhenHTTP(event: AnyEvent) { - return downgradeIfErrorType('HPE_INVALID_METHOD', event); - } - - downgradeIfHTTPWhenHTTPS(event: AnyEvent) { - return downgradeIfErrorMessage(OPENSSL_GET_RECORD_REGEX, event); - } - - _transform(event: AnyEvent, enc: string, next: Stream.TransformCallback) { - const downgraded = - this.downgradeIfEconnreset(event) || - this.downgradeIfEpipe(event) || - this.downgradeIfEcanceled(event) || - this.downgradeIfHTTPSWhenHTTP(event) || - this.downgradeIfHTTPWhenHTTPS(event); - - this.push(downgraded || event); - next(); - } -} diff --git a/packages/kbn-legacy-logging/src/log_reporter.test.ts b/packages/kbn-legacy-logging/src/log_reporter.test.ts deleted file mode 100644 index a2ad8984ba244..0000000000000 --- a/packages/kbn-legacy-logging/src/log_reporter.test.ts +++ /dev/null @@ -1,131 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import os from 'os'; -import path from 'path'; -import fs from 'fs'; - -import stripAnsi from 'strip-ansi'; - -import { getLogReporter } from './log_reporter'; - -const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)); - -describe('getLogReporter', () => { - it('should log to stdout (not json)', async () => { - const lines: string[] = []; - const origWrite = process.stdout.write; - process.stdout.write = (buffer: string | Uint8Array): boolean => { - lines.push(stripAnsi(buffer.toString()).trim()); - return true; - }; - - const loggerStream = getLogReporter({ - config: { - json: false, - dest: 'stdout', - filter: {}, - }, - events: { log: '*' }, - }); - - loggerStream.end({ event: 'log', tags: ['foo'], data: 'hello world' }); - - await sleep(500); - - process.stdout.write = origWrite; - expect(lines.length).toBe(1); - expect(lines[0]).toMatch(/^log \[[^\]]*\] \[foo\] hello world$/); - }); - - it('should log to stdout (as json)', async () => { - const lines: string[] = []; - const origWrite = process.stdout.write; - process.stdout.write = (buffer: string | Uint8Array): boolean => { - lines.push(JSON.parse(buffer.toString().trim())); - return true; - }; - - const loggerStream = getLogReporter({ - config: { - json: true, - dest: 'stdout', - filter: {}, - }, - events: { log: '*' }, - }); - - loggerStream.end({ event: 'log', tags: ['foo'], data: 'hello world' }); - - await sleep(500); - - process.stdout.write = origWrite; - expect(lines.length).toBe(1); - expect(lines[0]).toMatchObject({ - type: 'log', - tags: ['foo'], - message: 'hello world', - }); - }); - - it('should log to custom file (not json)', async () => { - const dir = os.tmpdir(); - const logfile = `dest-${Date.now()}.log`; - const dest = path.join(dir, logfile); - - const loggerStream = getLogReporter({ - config: { - json: false, - dest, - filter: {}, - }, - events: { log: '*' }, - }); - - loggerStream.end({ event: 'log', tags: ['foo'], data: 'hello world' }); - - await sleep(500); - - const lines = stripAnsi(fs.readFileSync(dest, { encoding: 'utf8' })) - .trim() - .split(os.EOL); - expect(lines.length).toBe(1); - expect(lines[0]).toMatch(/^log \[[^\]]*\] \[foo\] hello world$/); - }); - - it('should log to custom file (as json)', async () => { - const dir = os.tmpdir(); - const logfile = `dest-${Date.now()}.log`; - const dest = path.join(dir, logfile); - - const loggerStream = getLogReporter({ - config: { - json: true, - dest, - filter: {}, - }, - events: { log: '*' }, - }); - - loggerStream.end({ event: 'log', tags: ['foo'], data: 'hello world' }); - - await sleep(500); - - const lines = fs - .readFileSync(dest, { encoding: 'utf8' }) - .trim() - .split(os.EOL) - .map((data) => JSON.parse(data)); - expect(lines.length).toBe(1); - expect(lines[0]).toMatchObject({ - type: 'log', - tags: ['foo'], - message: 'hello world', - }); - }); -}); diff --git a/packages/kbn-legacy-logging/src/log_reporter.ts b/packages/kbn-legacy-logging/src/log_reporter.ts deleted file mode 100644 index d42fb78f1647b..0000000000000 --- a/packages/kbn-legacy-logging/src/log_reporter.ts +++ /dev/null @@ -1,49 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { createWriteStream } from 'fs'; -import { pipeline } from 'stream'; - -// @ts-expect-error missing type def -import { Squeeze } from '@hapi/good-squeeze'; - -import { KbnLoggerJsonFormat } from './log_format_json'; -import { KbnLoggerStringFormat } from './log_format_string'; -import { LogInterceptor } from './log_interceptor'; -import { LogFormatConfig } from './log_format'; - -export function getLogReporter({ events, config }: { events: any; config: LogFormatConfig }) { - const squeeze = new Squeeze(events); - const format = config.json ? new KbnLoggerJsonFormat(config) : new KbnLoggerStringFormat(config); - const logInterceptor = new LogInterceptor(); - - if (config.dest === 'stdout') { - pipeline(logInterceptor, squeeze, format, onFinished); - // The `pipeline` function is used to properly close all streams in the - // pipeline in case one of them ends or fails. Since stdout obviously - // shouldn't be closed in case of a failure in one of the other streams, - // we're not including that in the call to `pipeline`, but rely on the old - // `pipe` function instead. - format.pipe(process.stdout); - } else { - const dest = createWriteStream(config.dest, { - flags: 'a', - encoding: 'utf8', - }); - pipeline(logInterceptor, squeeze, format, dest, onFinished); - } - - return logInterceptor; -} - -function onFinished(err: NodeJS.ErrnoException | null) { - if (err) { - // eslint-disable-next-line no-console - console.error('An unexpected error occurred in the logging pipeline:', err.stack); - } -} diff --git a/packages/kbn-legacy-logging/src/metadata.ts b/packages/kbn-legacy-logging/src/metadata.ts deleted file mode 100644 index 0f41673ef6723..0000000000000 --- a/packages/kbn-legacy-logging/src/metadata.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { isPlainObject } from 'lodash'; - -export const metadataSymbol = Symbol('log message with metadata'); - -export interface EventData { - [metadataSymbol]?: EventMetadata; - [key: string]: any; -} - -export interface EventMetadata { - message: string; - metadata: Record; -} - -export const isEventData = (eventData: EventData) => { - return Boolean(isPlainObject(eventData) && eventData[metadataSymbol]); -}; - -export const getLogEventData = (eventData: EventData) => { - const { message, metadata } = eventData[metadataSymbol]!; - return { - ...metadata, - message, - }; -}; - -export const attachMetaData = (message: string, metadata: Record = {}) => { - return { - [metadataSymbol]: { - message, - metadata, - }, - }; -}; diff --git a/packages/kbn-legacy-logging/src/rotate/index.ts b/packages/kbn-legacy-logging/src/rotate/index.ts deleted file mode 100644 index 39305dcccf788..0000000000000 --- a/packages/kbn-legacy-logging/src/rotate/index.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { Server } from '@hapi/hapi'; -import { LogRotator } from './log_rotator'; -import { LegacyLoggingConfig } from '../schema'; - -let logRotator: LogRotator; - -export async function setupLoggingRotate(server: Server, config: LegacyLoggingConfig) { - // If log rotate is not enabled we skip - if (!config.rotate.enabled) { - return; - } - - // We don't want to run logging rotate server if - // we are not logging to a file - if (config.dest === 'stdout') { - server.log( - ['warning', 'logging:rotate'], - 'Log rotation is enabled but logging.dest is configured for stdout. Set logging.dest to a file for this setting to take effect.' - ); - return; - } - - // Enable Logging Rotate Service - // We need the master process and it can - // try to setupLoggingRotate more than once, - // so we'll need to assure it only loads once. - if (!logRotator) { - logRotator = new LogRotator(config, server); - await logRotator.start(); - } - - return logRotator; -} diff --git a/packages/kbn-legacy-logging/src/rotate/log_rotator.test.ts b/packages/kbn-legacy-logging/src/rotate/log_rotator.test.ts deleted file mode 100644 index ce9a24e63455f..0000000000000 --- a/packages/kbn-legacy-logging/src/rotate/log_rotator.test.ts +++ /dev/null @@ -1,261 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import del from 'del'; -import fs, { existsSync, mkdirSync, statSync, writeFileSync } from 'fs'; -import { tmpdir } from 'os'; -import { dirname, join } from 'path'; -import { LogRotator } from './log_rotator'; -import { LegacyLoggingConfig } from '../schema'; - -const mockOn = jest.fn(); -jest.mock('chokidar', () => ({ - watch: jest.fn(() => ({ - on: mockOn, - close: jest.fn(), - })), -})); - -jest.mock('lodash', () => ({ - ...(jest.requireActual('lodash') as any), - throttle: (fn: any) => fn, -})); - -const tempDir = join(tmpdir(), 'kbn_log_rotator_test'); -const testFilePath = join(tempDir, 'log_rotator_test_log_file.log'); - -const createLogRotatorConfig = (logFilePath: string): LegacyLoggingConfig => { - return { - dest: logFilePath, - rotate: { - enabled: true, - keepFiles: 2, - everyBytes: 2, - usePolling: false, - pollingInterval: 10000, - pollingPolicyTestTimeout: 4000, - }, - } as LegacyLoggingConfig; -}; - -const mockServer: any = { - log: jest.fn(), -}; - -const writeBytesToFile = (filePath: string, numberOfBytes: number) => { - writeFileSync(filePath, 'a'.repeat(numberOfBytes), { flag: 'a' }); -}; - -describe('LogRotator', () => { - beforeEach(() => { - mkdirSync(tempDir, { recursive: true }); - writeFileSync(testFilePath, ''); - }); - - afterEach(() => { - del.sync(tempDir, { force: true }); - mockOn.mockClear(); - }); - - it('rotates log file when bigger than set limit on start', async () => { - writeBytesToFile(testFilePath, 3); - - const logRotator = new LogRotator(createLogRotatorConfig(testFilePath), mockServer); - jest.spyOn(logRotator, '_sendReloadLogConfigSignal').mockImplementation(() => {}); - - await logRotator.start(); - - expect(logRotator.running).toBe(true); - - await logRotator.stop(); - - expect(existsSync(join(tempDir, 'log_rotator_test_log_file.log.0'))).toBeTruthy(); - }); - - it('rotates log file when equal than set limit over time', async () => { - writeBytesToFile(testFilePath, 1); - - const logRotator = new LogRotator(createLogRotatorConfig(testFilePath), mockServer); - jest.spyOn(logRotator, '_sendReloadLogConfigSignal').mockImplementation(() => {}); - await logRotator.start(); - - expect(logRotator.running).toBe(true); - - const testLogFileDir = dirname(testFilePath); - expect(existsSync(join(testLogFileDir, 'log_rotator_test_log_file.log.0'))).toBeFalsy(); - - writeBytesToFile(testFilePath, 1); - - // ['change', [asyncFunction]] - const onChangeCb = mockOn.mock.calls[0][1]; - await onChangeCb(testLogFileDir, { size: 2 }); - - await logRotator.stop(); - expect(existsSync(join(testLogFileDir, 'log_rotator_test_log_file.log.0'))).toBeTruthy(); - }); - - it('rotates log file when file size is bigger than limit', async () => { - writeBytesToFile(testFilePath, 1); - - const logRotator = new LogRotator(createLogRotatorConfig(testFilePath), mockServer); - jest.spyOn(logRotator, '_sendReloadLogConfigSignal').mockImplementation(() => {}); - await logRotator.start(); - - expect(logRotator.running).toBe(true); - - const testLogFileDir = dirname(testFilePath); - expect(existsSync(join(testLogFileDir, 'log_rotator_test_log_file.log.0'))).toBeFalsy(); - - writeBytesToFile(testFilePath, 2); - - // ['change', [asyncFunction]] - const onChangeCb = mockOn.mock.calls[0][1]; - await onChangeCb(testLogFileDir, { size: 3 }); - - await logRotator.stop(); - expect(existsSync(join(testLogFileDir, 'log_rotator_test_log_file.log.0'))).toBeTruthy(); - }); - - it('rotates log file service correctly keeps number of files', async () => { - writeBytesToFile(testFilePath, 3); - - const logRotator = new LogRotator(createLogRotatorConfig(testFilePath), mockServer); - jest.spyOn(logRotator, '_sendReloadLogConfigSignal').mockImplementation(() => {}); - await logRotator.start(); - - expect(logRotator.running).toBe(true); - - const testLogFileDir = dirname(testFilePath); - expect(existsSync(join(testLogFileDir, 'log_rotator_test_log_file.log.0'))).toBeTruthy(); - - writeBytesToFile(testFilePath, 2); - - // ['change', [asyncFunction]] - const onChangeCb = mockOn.mock.calls[0][1]; - await onChangeCb(testLogFileDir, { size: 2 }); - - writeBytesToFile(testFilePath, 5); - await onChangeCb(testLogFileDir, { size: 5 }); - - await logRotator.stop(); - expect(existsSync(join(testLogFileDir, 'log_rotator_test_log_file.log.0'))).toBeTruthy(); - expect(existsSync(join(testLogFileDir, 'log_rotator_test_log_file.log.1'))).toBeTruthy(); - expect(existsSync(join(testLogFileDir, 'log_rotator_test_log_file.log.2'))).toBeFalsy(); - expect(statSync(join(testLogFileDir, 'log_rotator_test_log_file.log.0')).size).toBe(5); - }); - - it('rotates log file service correctly keeps number of files even when number setting changes', async () => { - writeBytesToFile(testFilePath, 3); - - const logRotator = new LogRotator(createLogRotatorConfig(testFilePath), mockServer); - jest.spyOn(logRotator, '_sendReloadLogConfigSignal').mockImplementation(() => {}); - await logRotator.start(); - - expect(logRotator.running).toBe(true); - - const testLogFileDir = dirname(testFilePath); - expect(existsSync(join(testLogFileDir, 'log_rotator_test_log_file.log.0'))).toBeTruthy(); - - writeBytesToFile(testFilePath, 2); - - // ['change', [asyncFunction]] - const onChangeCb = mockOn.mock.calls[0][1]; - await onChangeCb(testLogFileDir, { size: 2 }); - - writeBytesToFile(testFilePath, 5); - await onChangeCb(testLogFileDir, { size: 5 }); - - await logRotator.stop(); - expect(existsSync(join(testLogFileDir, 'log_rotator_test_log_file.log.0'))).toBeTruthy(); - expect(existsSync(join(testLogFileDir, 'log_rotator_test_log_file.log.1'))).toBeTruthy(); - expect(existsSync(join(testLogFileDir, 'log_rotator_test_log_file.log.2'))).toBeFalsy(); - expect(statSync(join(testLogFileDir, 'log_rotator_test_log_file.log.0')).size).toBe(5); - - logRotator.keepFiles = 1; - await logRotator.start(); - - writeBytesToFile(testFilePath, 5); - await onChangeCb(testLogFileDir, { size: 5 }); - - await logRotator.stop(); - expect(existsSync(join(testLogFileDir, 'log_rotator_test_log_file.log.0'))).toBeTruthy(); - expect(existsSync(join(testLogFileDir, 'log_rotator_test_log_file.log.1'))).toBeFalsy(); - expect(statSync(join(testLogFileDir, 'log_rotator_test_log_file.log.0')).size).toBe(5); - }); - - it('rotates log file service correctly detects usePolling when it should be false', async () => { - writeBytesToFile(testFilePath, 1); - - const logRotator = new LogRotator(createLogRotatorConfig(testFilePath), mockServer); - jest.spyOn(logRotator, '_sendReloadLogConfigSignal').mockImplementation(() => {}); - await logRotator.start(); - - expect(logRotator.running).toBe(true); - expect(logRotator.usePolling).toBe(false); - - const shouldUsePolling = await logRotator._shouldUsePolling(); - expect(shouldUsePolling).toBe(false); - - await logRotator.stop(); - }); - - it('rotates log file service correctly detects usePolling when it should be true', async () => { - writeBytesToFile(testFilePath, 1); - - const logRotator = new LogRotator(createLogRotatorConfig(testFilePath), mockServer); - jest.spyOn(logRotator, '_sendReloadLogConfigSignal').mockImplementation(() => {}); - - jest.spyOn(fs, 'watch').mockImplementation( - () => - ({ - on: jest.fn((eventType, cb) => { - if (eventType === 'error') { - cb(); - } - }), - close: jest.fn(), - } as any) - ); - - await logRotator.start(); - - expect(logRotator.running).toBe(true); - expect(logRotator.usePolling).toBe(false); - expect(logRotator.shouldUsePolling).toBe(true); - - await logRotator.stop(); - }); - - it('rotates log file service correctly fallback to usePolling true after defined timeout', async () => { - jest.useFakeTimers(); - writeBytesToFile(testFilePath, 1); - - const logRotator = new LogRotator(createLogRotatorConfig(testFilePath), mockServer); - jest.spyOn(logRotator, '_sendReloadLogConfigSignal').mockImplementation(() => {}); - jest.spyOn(fs, 'watch').mockImplementation( - () => - ({ - on: jest.fn((ev: string) => { - if (ev === 'error') { - jest.runTimersToTime(15000); - } - }), - close: jest.fn(), - } as any) - ); - - await logRotator.start(); - - expect(logRotator.running).toBe(true); - expect(logRotator.usePolling).toBe(false); - expect(logRotator.shouldUsePolling).toBe(true); - - await logRotator.stop(); - jest.useRealTimers(); - }); -}); diff --git a/packages/kbn-legacy-logging/src/rotate/log_rotator.ts b/packages/kbn-legacy-logging/src/rotate/log_rotator.ts deleted file mode 100644 index 4b1e34839030f..0000000000000 --- a/packages/kbn-legacy-logging/src/rotate/log_rotator.ts +++ /dev/null @@ -1,352 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import * as chokidar from 'chokidar'; -import fs from 'fs'; -import { Server } from '@hapi/hapi'; -import { throttle } from 'lodash'; -import { tmpdir } from 'os'; -import { basename, dirname, join, sep } from 'path'; -import { Observable } from 'rxjs'; -import { first } from 'rxjs/operators'; -import { promisify } from 'util'; -import { LegacyLoggingConfig } from '../schema'; - -const mkdirAsync = promisify(fs.mkdir); -const readdirAsync = promisify(fs.readdir); -const renameAsync = promisify(fs.rename); -const statAsync = promisify(fs.stat); -const unlinkAsync = promisify(fs.unlink); -const writeFileAsync = promisify(fs.writeFile); - -export class LogRotator { - private readonly config: LegacyLoggingConfig; - private readonly log: Server['log']; - public logFilePath: string; - public everyBytes: number; - public keepFiles: number; - public running: boolean; - private logFileSize: number; - public isRotating: boolean; - public throttledRotate: () => void; - public stalker: chokidar.FSWatcher | null; - public usePolling: boolean; - public pollingInterval: number; - private stalkerUsePollingPolicyTestTimeout: NodeJS.Timeout | null; - public shouldUsePolling: boolean; - - constructor(config: LegacyLoggingConfig, server: Server) { - this.config = config; - this.log = server.log.bind(server); - this.logFilePath = config.dest; - this.everyBytes = config.rotate.everyBytes; - this.keepFiles = config.rotate.keepFiles; - this.running = false; - this.logFileSize = 0; - this.isRotating = false; - this.throttledRotate = throttle(async () => await this._rotate(), 5000); - this.stalker = null; - this.usePolling = config.rotate.usePolling; - this.pollingInterval = config.rotate.pollingInterval; - this.shouldUsePolling = false; - this.stalkerUsePollingPolicyTestTimeout = null; - } - - async start() { - if (this.running) { - return; - } - - this.running = true; - - // create exit listener for cleanup purposes - this._createExitListener(); - - // call rotate on startup - await this._callRotateOnStartup(); - - // init log file size monitor - await this._startLogFileSizeMonitor(); - } - - stop = () => { - if (!this.running) { - return; - } - - // cleanup exit listener - this._deleteExitListener(); - - // stop log file size monitor - this._stopLogFileSizeMonitor(); - - this.running = false; - }; - - async _shouldUsePolling() { - try { - // Setup a test file in order to try the fs env - // and understand if we need to usePolling or not - const tempFileDir = tmpdir(); - const tempFile = join(tempFileDir, 'kbn_log_rotation_use_polling_test_file.log'); - - await mkdirAsync(tempFileDir, { recursive: true }); - await writeFileAsync(tempFile, ''); - - // setup fs.watch for the temp test file - const testWatcher = fs.watch(tempFile, { persistent: false }); - - // await writeFileAsync(tempFile, 'test'); - - const usePollingTest$ = new Observable((observer) => { - // observable complete function - const completeFn = (completeStatus: boolean) => { - if (this.stalkerUsePollingPolicyTestTimeout) { - clearTimeout(this.stalkerUsePollingPolicyTestTimeout); - } - testWatcher.close(); - - observer.next(completeStatus); - observer.complete(); - }; - - // setup conditions that would fire the observable - this.stalkerUsePollingPolicyTestTimeout = setTimeout( - () => completeFn(true), - this.config.rotate.pollingPolicyTestTimeout || 15000 - ); - testWatcher.on('change', () => completeFn(false)); - testWatcher.on('error', () => completeFn(true)); - - // fire test watcher events - setTimeout(() => { - fs.writeFileSync(tempFile, 'test'); - }, 0); - }); - - // wait for the first observable result and consider it as the result - // for our use polling test - const usePollingTestResult = await usePollingTest$.pipe(first()).toPromise(); - - // delete the temp file used for the test - await unlinkAsync(tempFile); - - return usePollingTestResult; - } catch { - return true; - } - } - - async _startLogFileSizeMonitor() { - this.usePolling = this.config.rotate.usePolling; - this.shouldUsePolling = await this._shouldUsePolling(); - - if (this.usePolling && !this.shouldUsePolling) { - this.log( - ['warning', 'logging:rotate'], - 'Looks like your current environment support a faster algorithm than polling. You can try to disable `usePolling`' - ); - } - - if (!this.usePolling && this.shouldUsePolling) { - this.log( - ['error', 'logging:rotate'], - 'Looks like within your current environment you need to use polling in order to enable log rotator. Please enable `usePolling`' - ); - } - - this.stalker = chokidar.watch(this.logFilePath, { - ignoreInitial: true, - awaitWriteFinish: false, - useFsEvents: false, - usePolling: this.usePolling, - interval: this.pollingInterval, - binaryInterval: this.pollingInterval, - alwaysStat: true, - atomic: false, - }); - this.stalker.on('change', this._logFileSizeMonitorHandler); - } - - _logFileSizeMonitorHandler = async (filename: string, stats: fs.Stats) => { - if (!filename || !stats) { - return; - } - - this.logFileSize = stats.size || 0; - await this.throttledRotate(); - }; - - _stopLogFileSizeMonitor() { - if (!this.stalker) { - return; - } - - this.stalker.close(); - - if (this.stalkerUsePollingPolicyTestTimeout) { - clearTimeout(this.stalkerUsePollingPolicyTestTimeout); - } - } - - _createExitListener() { - process.on('exit', this.stop); - } - - _deleteExitListener() { - process.removeListener('exit', this.stop); - } - - async _getLogFileSizeAndCreateIfNeeded() { - try { - const logFileStats = await statAsync(this.logFilePath); - return logFileStats.size; - } catch { - // touch the file to make the watcher being able to register - // change events - await writeFileAsync(this.logFilePath, ''); - return 0; - } - } - - async _callRotateOnStartup() { - this.logFileSize = await this._getLogFileSizeAndCreateIfNeeded(); - await this._rotate(); - } - - _shouldRotate() { - // should rotate evaluation - // 1. should rotate if current log size exceeds - // the defined one on everyBytes - // 2. should not rotate if is already rotating or if any - // of the conditions on 1. do not apply - if (this.isRotating) { - return false; - } - - return this.logFileSize >= this.everyBytes; - } - - async _rotate() { - if (!this._shouldRotate()) { - return; - } - - await this._rotateNow(); - } - - async _rotateNow() { - // rotate process - // 1. get rotated files metadata (list of log rotated files present on the log folder, numerical sorted) - // 2. delete last file - // 3. rename all files to the correct index +1 - // 4. rename + compress current log into 1 - // 5. send SIGHUP to reload log config - - // rotate process is starting - this.isRotating = true; - - // get rotated files metadata - const foundRotatedFiles = await this._readRotatedFilesMetadata(); - - // delete number of rotated files exceeding the keepFiles limit setting - const rotatedFiles: string[] = await this._deleteFoundRotatedFilesAboveKeepFilesLimit( - foundRotatedFiles - ); - - // delete last file - await this._deleteLastRotatedFile(rotatedFiles); - - // rename all files to correct index + 1 - // and normalize numbering if by some reason - // (for example log file deletion) that numbering - // was interrupted - await this._renameRotatedFilesByOne(rotatedFiles); - - // rename current log into 0 - await this._rotateCurrentLogFile(); - - // send SIGHUP to reload log configuration - this._sendReloadLogConfigSignal(); - - // Reset log file size - this.logFileSize = 0; - - // rotate process is finished - this.isRotating = false; - } - - async _readRotatedFilesMetadata() { - const logFileBaseName = basename(this.logFilePath); - const logFilesFolder = dirname(this.logFilePath); - const foundLogFiles: string[] = await readdirAsync(logFilesFolder); - - return ( - foundLogFiles - .filter((file) => new RegExp(`${logFileBaseName}\\.\\d`).test(file)) - // we use .slice(-1) here in order to retrieve the last number match in the read filenames - .sort((a, b) => Number(a.match(/(\d+)/g)!.slice(-1)) - Number(b.match(/(\d+)/g)!.slice(-1))) - .map((filename) => `${logFilesFolder}${sep}${filename}`) - ); - } - - async _deleteFoundRotatedFilesAboveKeepFilesLimit(foundRotatedFiles: string[]) { - if (foundRotatedFiles.length <= this.keepFiles) { - return foundRotatedFiles; - } - - const finalRotatedFiles = foundRotatedFiles.slice(0, this.keepFiles); - const rotatedFilesToDelete = foundRotatedFiles.slice( - finalRotatedFiles.length, - foundRotatedFiles.length - ); - - await Promise.all( - rotatedFilesToDelete.map((rotatedFilePath: string) => unlinkAsync(rotatedFilePath)) - ); - - return finalRotatedFiles; - } - - async _deleteLastRotatedFile(rotatedFiles: string[]) { - if (rotatedFiles.length < this.keepFiles) { - return; - } - - const lastFilePath: string = rotatedFiles.pop() as string; - await unlinkAsync(lastFilePath); - } - - async _renameRotatedFilesByOne(rotatedFiles: string[]) { - const logFileBaseName = basename(this.logFilePath); - const logFilesFolder = dirname(this.logFilePath); - - for (let i = rotatedFiles.length - 1; i >= 0; i--) { - const oldFilePath = rotatedFiles[i]; - const newFilePath = `${logFilesFolder}${sep}${logFileBaseName}.${i + 1}`; - await renameAsync(oldFilePath, newFilePath); - } - } - - async _rotateCurrentLogFile() { - const newFilePath = `${this.logFilePath}.0`; - await renameAsync(this.logFilePath, newFilePath); - } - - _sendReloadLogConfigSignal() { - if (!process.env.isDevCliChild || !process.send) { - process.emit('SIGHUP', 'SIGHUP'); - return; - } - - // Send a special message to the cluster manager - // so it can forward it correctly - // It will only run when we are under cluster mode (not under a production environment) - process.send(['RELOAD_LOGGING_CONFIG_FROM_SERVER_WORKER']); - } -} diff --git a/packages/kbn-legacy-logging/src/schema.ts b/packages/kbn-legacy-logging/src/schema.ts deleted file mode 100644 index 0330708e746c0..0000000000000 --- a/packages/kbn-legacy-logging/src/schema.ts +++ /dev/null @@ -1,97 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { schema } from '@kbn/config-schema'; - -/** - * @deprecated - * - * Legacy logging has been deprecated and will be removed in 8.0. - * Set up logging from the platform logging instead - */ -export interface LegacyLoggingConfig { - silent: boolean; - quiet: boolean; - verbose: boolean; - events: Record; - dest: string; - filter: Record; - json: boolean; - timezone?: string; - rotate: { - enabled: boolean; - everyBytes: number; - keepFiles: number; - pollingInterval: number; - usePolling: boolean; - pollingPolicyTestTimeout?: number; - }; -} - -export const legacyLoggingConfigSchema = schema.object({ - silent: schema.boolean({ defaultValue: false }), - quiet: schema.conditional( - schema.siblingRef('silent'), - true, - schema.boolean({ - defaultValue: true, - validate: (quiet) => { - if (!quiet) { - return 'must be true when `silent` is true'; - } - }, - }), - schema.boolean({ defaultValue: false }) - ), - verbose: schema.conditional( - schema.siblingRef('quiet'), - true, - schema.boolean({ - defaultValue: false, - validate: (verbose) => { - if (verbose) { - return 'must be false when `quiet` is true'; - } - }, - }), - schema.boolean({ defaultValue: false }) - ), - events: schema.recordOf(schema.string(), schema.any(), { defaultValue: {} }), - dest: schema.string({ defaultValue: 'stdout' }), - filter: schema.recordOf(schema.string(), schema.any(), { defaultValue: {} }), - json: schema.conditional( - schema.siblingRef('dest'), - 'stdout', - schema.boolean({ - defaultValue: !process.stdout.isTTY, - }), - schema.boolean({ - defaultValue: true, - }) - ), - timezone: schema.maybe(schema.string()), - rotate: schema.object({ - enabled: schema.boolean({ defaultValue: false }), - everyBytes: schema.number({ - min: 1048576, // > 1MB - max: 1073741825, // < 1GB - defaultValue: 10485760, // 10MB - }), - keepFiles: schema.number({ - min: 2, - max: 1024, - defaultValue: 7, - }), - pollingInterval: schema.number({ - min: 5000, - max: 3600000, - defaultValue: 10000, - }), - usePolling: schema.boolean({ defaultValue: false }), - }), -}); diff --git a/packages/kbn-legacy-logging/src/setup_logging.test.ts b/packages/kbn-legacy-logging/src/setup_logging.test.ts deleted file mode 100644 index 8e1d76477f64a..0000000000000 --- a/packages/kbn-legacy-logging/src/setup_logging.test.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { Server } from '@hapi/hapi'; -import { reconfigureLogging, setupLogging } from './setup_logging'; -import { LegacyLoggingConfig } from './schema'; - -describe('reconfigureLogging', () => { - test(`doesn't throw an error`, () => { - const server = new Server(); - const config: LegacyLoggingConfig = { - silent: false, - quiet: false, - verbose: true, - events: {}, - dest: '/tmp/foo', - filter: {}, - json: true, - rotate: { - enabled: false, - everyBytes: 0, - keepFiles: 0, - pollingInterval: 0, - usePolling: false, - }, - }; - setupLogging(server, config, 10); - reconfigureLogging(server, { ...config, dest: '/tmp/bar' }, 0); - }); -}); diff --git a/packages/kbn-legacy-logging/src/setup_logging.ts b/packages/kbn-legacy-logging/src/setup_logging.ts deleted file mode 100644 index a045469e81251..0000000000000 --- a/packages/kbn-legacy-logging/src/setup_logging.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -// @ts-expect-error missing typedef -import { plugin as good } from '@elastic/good'; -import { Server } from '@hapi/hapi'; -import { LegacyLoggingConfig } from './schema'; -import { getLoggingConfiguration } from './get_logging_config'; - -export async function setupLogging( - server: Server, - config: LegacyLoggingConfig, - opsInterval: number -) { - // NOTE: legacy logger creates a new stream for each new access - // In https://github.com/elastic/kibana/pull/55937 we reach the max listeners - // default limit of 10 for process.stdout which starts a long warning/error - // thrown every time we start the server. - // In order to keep using the legacy logger until we remove it I'm just adding - // a new hard limit here. - process.stdout.setMaxListeners(60); - - return await server.register({ - plugin: good, - options: getLoggingConfiguration(config, opsInterval), - }); -} - -export function reconfigureLogging( - server: Server, - config: LegacyLoggingConfig, - opsInterval: number -) { - const loggingOptions = getLoggingConfiguration(config, opsInterval); - (server.plugins as any).good.reconfigure(loggingOptions); -} diff --git a/packages/kbn-legacy-logging/src/utils/apply_filters_to_keys.test.ts b/packages/kbn-legacy-logging/src/utils/apply_filters_to_keys.test.ts deleted file mode 100644 index b662c88eba7b7..0000000000000 --- a/packages/kbn-legacy-logging/src/utils/apply_filters_to_keys.test.ts +++ /dev/null @@ -1,49 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { applyFiltersToKeys } from './apply_filters_to_keys'; - -describe('applyFiltersToKeys(obj, actionsByKey)', function () { - it('applies for each key+prop in actionsByKey', function () { - const data = applyFiltersToKeys( - { - a: { - b: { - c: 1, - }, - d: { - e: 'foobar', - }, - }, - req: { - headers: { - authorization: 'Basic dskd939k2i', - }, - }, - }, - { - b: 'remove', - e: 'censor', - authorization: '/([^\\s]+)$/', - } - ); - - expect(data).toEqual({ - a: { - d: { - e: 'XXXXXX', - }, - }, - req: { - headers: { - authorization: 'Basic XXXXXXXXXX', - }, - }, - }); - }); -}); diff --git a/packages/kbn-legacy-logging/src/utils/apply_filters_to_keys.ts b/packages/kbn-legacy-logging/src/utils/apply_filters_to_keys.ts deleted file mode 100644 index 578fa3a835129..0000000000000 --- a/packages/kbn-legacy-logging/src/utils/apply_filters_to_keys.ts +++ /dev/null @@ -1,50 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -function toPojo(obj: Record) { - return JSON.parse(JSON.stringify(obj)); -} - -function replacer(match: string, group: any[]) { - return new Array(group.length + 1).join('X'); -} - -function apply(obj: Record, key: string, action: string) { - for (const k in obj) { - if (obj.hasOwnProperty(k)) { - let val = obj[k]; - if (k === key) { - if (action === 'remove') { - delete obj[k]; - } else if (action === 'censor' && typeof val === 'object') { - delete obj[key]; - } else if (action === 'censor') { - obj[k] = ('' + val).replace(/./g, 'X'); - } else if (/\/.+\//.test(action)) { - const matches = action.match(/\/(.+)\//); - if (matches) { - const regex = new RegExp(matches[1]); - obj[k] = ('' + val).replace(regex, replacer); - } - } - } else if (typeof val === 'object') { - val = apply(val as Record, key, action); - } - } - } - return obj; -} - -export function applyFiltersToKeys( - obj: Record, - actionsByKey: Record -) { - return Object.keys(actionsByKey).reduce((output, key) => { - return apply(output, key, actionsByKey[key]); - }, toPojo(obj)); -} diff --git a/packages/kbn-legacy-logging/src/utils/get_payload_size.test.ts b/packages/kbn-legacy-logging/src/utils/get_payload_size.test.ts deleted file mode 100644 index 01d2cf29758db..0000000000000 --- a/packages/kbn-legacy-logging/src/utils/get_payload_size.test.ts +++ /dev/null @@ -1,158 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import mockFs from 'mock-fs'; -import { createReadStream } from 'fs'; -import { PassThrough } from 'stream'; -import { createGzip, createGunzip } from 'zlib'; - -import { getResponsePayloadBytes } from './get_payload_size'; - -describe('getPayloadSize', () => { - describe('handles Buffers', () => { - test('with ascii characters', () => { - const payload = 'heya'; - const result = getResponsePayloadBytes(Buffer.from(payload)); - expect(result).toBe(4); - }); - - test('with special characters', () => { - const payload = '¡hola!'; - const result = getResponsePayloadBytes(Buffer.from(payload)); - expect(result).toBe(7); - }); - }); - - describe('handles streams', () => { - afterEach(() => mockFs.restore()); - - test('ignores streams that are not fs or zlib streams', async () => { - const result = getResponsePayloadBytes(new PassThrough()); - expect(result).toBe(undefined); - }); - - describe('fs streams', () => { - test('with ascii characters', async () => { - mockFs({ 'test.txt': 'heya' }); - const readStream = createReadStream('test.txt'); - - let data = ''; - for await (const chunk of readStream) { - data += chunk; - } - - const result = getResponsePayloadBytes(readStream); - expect(result).toBe(Buffer.byteLength(data)); - }); - - test('with special characters', async () => { - mockFs({ 'test.txt': '¡hola!' }); - const readStream = createReadStream('test.txt'); - - let data = ''; - for await (const chunk of readStream) { - data += chunk; - } - - const result = getResponsePayloadBytes(readStream); - expect(result).toBe(Buffer.byteLength(data)); - }); - - describe('zlib streams', () => { - test('with ascii characters', async () => { - mockFs({ 'test.txt': 'heya' }); - const readStream = createReadStream('test.txt'); - const source = readStream.pipe(createGzip()).pipe(createGunzip()); - - let data = ''; - for await (const chunk of source) { - data += chunk; - } - - const result = getResponsePayloadBytes(source); - - expect(data).toBe('heya'); - expect(result).toBe(source.bytesWritten); - }); - - test('with special characters', async () => { - mockFs({ 'test.txt': '¡hola!' }); - const readStream = createReadStream('test.txt'); - const source = readStream.pipe(createGzip()).pipe(createGunzip()); - - let data = ''; - for await (const chunk of source) { - data += chunk; - } - - const result = getResponsePayloadBytes(source); - - expect(data).toBe('¡hola!'); - expect(result).toBe(source.bytesWritten); - }); - }); - }); - }); - - describe('handles plain responses', () => { - test('when source is text', () => { - const result = getResponsePayloadBytes('heya'); - expect(result).toBe(4); - }); - - test('when source contains special characters', () => { - const result = getResponsePayloadBytes('¡hola!'); - expect(result).toBe(7); - }); - - test('when source is object', () => { - const payload = { message: 'heya' }; - const result = getResponsePayloadBytes(payload); - expect(result).toBe(JSON.stringify(payload).length); - }); - - test('when source is array object', () => { - const payload = [{ message: 'hey' }, { message: 'ya' }]; - const result = getResponsePayloadBytes(payload); - expect(result).toBe(JSON.stringify(payload).length); - }); - - test('returns undefined when source is not plain object', () => { - class TestClass { - constructor() {} - } - const result = getResponsePayloadBytes(new TestClass()); - expect(result).toBe(undefined); - }); - }); - - describe('handles content-length header', () => { - test('always provides content-length header if available', () => { - const headers = { 'content-length': '123' }; - const result = getResponsePayloadBytes('heya', headers); - expect(result).toBe(123); - }); - - test('uses first value when hapi header is an array', () => { - const headers = { 'content-length': ['123', '456'] }; - const result = getResponsePayloadBytes(null, headers); - expect(result).toBe(123); - }); - - test('returns undefined if length is NaN', () => { - const headers = { 'content-length': 'oops' }; - const result = getResponsePayloadBytes(null, headers); - expect(result).toBeUndefined(); - }); - }); - - test('defaults to undefined', () => { - const result = getResponsePayloadBytes(null); - expect(result).toBeUndefined(); - }); -}); diff --git a/packages/kbn-legacy-logging/src/utils/get_payload_size.ts b/packages/kbn-legacy-logging/src/utils/get_payload_size.ts deleted file mode 100644 index acc517c74c2d4..0000000000000 --- a/packages/kbn-legacy-logging/src/utils/get_payload_size.ts +++ /dev/null @@ -1,71 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { isPlainObject } from 'lodash'; -import { ReadStream } from 'fs'; -import { Zlib } from 'zlib'; -import type { ResponseObject } from '@hapi/hapi'; - -const isBuffer = (obj: unknown): obj is Buffer => Buffer.isBuffer(obj); -const isFsReadStream = (obj: unknown): obj is ReadStream => - typeof obj === 'object' && obj !== null && 'bytesRead' in obj && obj instanceof ReadStream; -const isZlibStream = (obj: unknown): obj is Zlib => { - return typeof obj === 'object' && obj !== null && 'bytesWritten' in obj; -}; -const isString = (obj: unknown): obj is string => typeof obj === 'string'; - -/** - * Attempts to determine the size (in bytes) of a hapi/good - * responsePayload based on the payload type. Falls back to - * `undefined` if the size cannot be determined. - * - * This is similar to the implementation in `core/server/http/logging`, - * however it uses more duck typing as we do not have access to the - * entire hapi request object like we do in the HttpServer. - * - * @param headers responseHeaders from hapi/good event - * @param payload responsePayload from hapi/good event - * - * @internal - */ -export function getResponsePayloadBytes( - payload: ResponseObject['source'], - headers: Record = {} -): number | undefined { - const contentLength = headers['content-length']; - if (contentLength) { - const val = parseInt( - // hapi response headers can be `string | string[]`, so we need to handle both cases - Array.isArray(contentLength) ? String(contentLength) : contentLength, - 10 - ); - return !isNaN(val) ? val : undefined; - } - - if (isBuffer(payload)) { - return payload.byteLength; - } - - if (isFsReadStream(payload)) { - return payload.bytesRead; - } - - if (isZlibStream(payload)) { - return payload.bytesWritten; - } - - if (isString(payload)) { - return Buffer.byteLength(payload); - } - - if (isPlainObject(payload) || Array.isArray(payload)) { - return Buffer.byteLength(JSON.stringify(payload)); - } - - return undefined; -} diff --git a/packages/kbn-logging/src/ecs/agent.ts b/packages/kbn-logging/src/ecs/agent.ts index fc01fc649d266..711880d5989af 100644 --- a/packages/kbn-logging/src/ecs/agent.ts +++ b/packages/kbn-logging/src/ecs/agent.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-agent.html + * https://www.elastic.co/guide/en/ecs/master/ecs-agent.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/autonomous_system.ts b/packages/kbn-logging/src/ecs/autonomous_system.ts index 5e59cb84e198b..ca9841bd4d7a7 100644 --- a/packages/kbn-logging/src/ecs/autonomous_system.ts +++ b/packages/kbn-logging/src/ecs/autonomous_system.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-as.html + * https://www.elastic.co/guide/en/ecs/master/ecs-as.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/base.ts b/packages/kbn-logging/src/ecs/base.ts index 95c67623869f5..382770f6a59de 100644 --- a/packages/kbn-logging/src/ecs/base.ts +++ b/packages/kbn-logging/src/ecs/base.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-base.html + * https://www.elastic.co/guide/en/ecs/master/ecs-base.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/client.ts b/packages/kbn-logging/src/ecs/client.ts index ef4b227593e62..5597ee8080060 100644 --- a/packages/kbn-logging/src/ecs/client.ts +++ b/packages/kbn-logging/src/ecs/client.ts @@ -17,7 +17,7 @@ interface NestedFields { } /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-client.html + * https://www.elastic.co/guide/en/ecs/master/ecs-client.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/cloud.ts b/packages/kbn-logging/src/ecs/cloud.ts index 803fc63bef216..55f43a523cced 100644 --- a/packages/kbn-logging/src/ecs/cloud.ts +++ b/packages/kbn-logging/src/ecs/cloud.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-cloud.html + * https://www.elastic.co/guide/en/ecs/master/ecs-cloud.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/code_signature.ts b/packages/kbn-logging/src/ecs/code_signature.ts index e2e5eaf5c89af..ead0a9dc73570 100644 --- a/packages/kbn-logging/src/ecs/code_signature.ts +++ b/packages/kbn-logging/src/ecs/code_signature.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-code_signature.html + * https://www.elastic.co/guide/en/ecs/master/ecs-code_signature.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/container.ts b/packages/kbn-logging/src/ecs/container.ts index 746b5b917a745..ecd8575f5b75d 100644 --- a/packages/kbn-logging/src/ecs/container.ts +++ b/packages/kbn-logging/src/ecs/container.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-container.html + * https://www.elastic.co/guide/en/ecs/master/ecs-container.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/data_stream.ts b/packages/kbn-logging/src/ecs/data_stream.ts index fae0a30f69cc4..1f941e3ec5f9d 100644 --- a/packages/kbn-logging/src/ecs/data_stream.ts +++ b/packages/kbn-logging/src/ecs/data_stream.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-data_stream.html + * https://www.elastic.co/guide/en/ecs/master/ecs-data_stream.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/destination.ts b/packages/kbn-logging/src/ecs/destination.ts index 00473da4a1e78..7c2facd3dc2f9 100644 --- a/packages/kbn-logging/src/ecs/destination.ts +++ b/packages/kbn-logging/src/ecs/destination.ts @@ -17,7 +17,7 @@ interface NestedFields { } /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-destination.html + * https://www.elastic.co/guide/en/ecs/master/ecs-destination.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/dll.ts b/packages/kbn-logging/src/ecs/dll.ts index 2983361f753e7..3440afa9cfad2 100644 --- a/packages/kbn-logging/src/ecs/dll.ts +++ b/packages/kbn-logging/src/ecs/dll.ts @@ -17,7 +17,7 @@ interface NestedFields { } /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-dll.html + * https://www.elastic.co/guide/en/ecs/master/ecs-dll.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/dns.ts b/packages/kbn-logging/src/ecs/dns.ts index c45f8f6b91fc5..b271999295fe7 100644 --- a/packages/kbn-logging/src/ecs/dns.ts +++ b/packages/kbn-logging/src/ecs/dns.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-dns.html + * https://www.elastic.co/guide/en/ecs/master/ecs-dns.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/elf.ts b/packages/kbn-logging/src/ecs/elf.ts index a1cb2a85038e6..6b2588c63ffaa 100644 --- a/packages/kbn-logging/src/ecs/elf.ts +++ b/packages/kbn-logging/src/ecs/elf.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-elf.html + * https://www.elastic.co/guide/en/ecs/master/ecs-elf.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/error.ts b/packages/kbn-logging/src/ecs/error.ts index a48b03075d469..ad5373b1bfea7 100644 --- a/packages/kbn-logging/src/ecs/error.ts +++ b/packages/kbn-logging/src/ecs/error.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-error.html + * https://www.elastic.co/guide/en/ecs/master/ecs-error.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/event.ts b/packages/kbn-logging/src/ecs/event.ts index 2baf320de8db4..ab4aed15c87e4 100644 --- a/packages/kbn-logging/src/ecs/event.ts +++ b/packages/kbn-logging/src/ecs/event.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-event.html + * https://www.elastic.co/guide/en/ecs/master/ecs-event.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/file.ts b/packages/kbn-logging/src/ecs/file.ts index dbd1653e21190..e406a4f8b1664 100644 --- a/packages/kbn-logging/src/ecs/file.ts +++ b/packages/kbn-logging/src/ecs/file.ts @@ -21,7 +21,7 @@ interface NestedFields { } /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-file.html + * https://www.elastic.co/guide/en/ecs/master/ecs-file.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/geo.ts b/packages/kbn-logging/src/ecs/geo.ts index 2373f4f119dfc..3189e1a5557e3 100644 --- a/packages/kbn-logging/src/ecs/geo.ts +++ b/packages/kbn-logging/src/ecs/geo.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-geo.html + * https://www.elastic.co/guide/en/ecs/master/ecs-geo.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/group.ts b/packages/kbn-logging/src/ecs/group.ts index c0d007d3bea0a..fe91ce82b64cb 100644 --- a/packages/kbn-logging/src/ecs/group.ts +++ b/packages/kbn-logging/src/ecs/group.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-group.html + * https://www.elastic.co/guide/en/ecs/master/ecs-group.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/hash.ts b/packages/kbn-logging/src/ecs/hash.ts index fcf134349d7a4..ead7fc012df81 100644 --- a/packages/kbn-logging/src/ecs/hash.ts +++ b/packages/kbn-logging/src/ecs/hash.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-hash.html + * https://www.elastic.co/guide/en/ecs/master/ecs-hash.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/host.ts b/packages/kbn-logging/src/ecs/host.ts index 6c5046ef458e2..2c5563120806a 100644 --- a/packages/kbn-logging/src/ecs/host.ts +++ b/packages/kbn-logging/src/ecs/host.ts @@ -8,17 +8,14 @@ import { EcsGeo } from './geo'; import { EcsOs } from './os'; -import { EcsNestedUser } from './user'; interface NestedFields { geo?: EcsGeo; os?: EcsOs; - /** @deprecated */ - user?: EcsNestedUser; } /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-host.html + * https://www.elastic.co/guide/en/ecs/master/ecs-host.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/http.ts b/packages/kbn-logging/src/ecs/http.ts index 914e35c0f1fd7..809ad19fd6a79 100644 --- a/packages/kbn-logging/src/ecs/http.ts +++ b/packages/kbn-logging/src/ecs/http.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-http.html + * https://www.elastic.co/guide/en/ecs/master/ecs-http.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/index.ts b/packages/kbn-logging/src/ecs/index.ts index 613945d22ad80..08a363ab70275 100644 --- a/packages/kbn-logging/src/ecs/index.ts +++ b/packages/kbn-logging/src/ecs/index.ts @@ -48,13 +48,13 @@ export { EcsEventCategory, EcsEventKind, EcsEventOutcome, EcsEventType } from '. interface EcsField { /** - * These typings were written as of ECS 1.12.0. + * These typings were written as of ECS 8.0.0. * Don't change this value without checking the rest * of the types to conform to that ECS version. * - * https://www.elastic.co/guide/en/ecs/1.12/index.html + * https://www.elastic.co/guide/en/ecs/master/index.html */ - version: '1.12.0'; + version: '8.0.0'; } /** diff --git a/packages/kbn-logging/src/ecs/interface.ts b/packages/kbn-logging/src/ecs/interface.ts index 80c00fe8d8a12..e1129b60efd24 100644 --- a/packages/kbn-logging/src/ecs/interface.ts +++ b/packages/kbn-logging/src/ecs/interface.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-interface.html + * https://www.elastic.co/guide/en/ecs/master/ecs-interface.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/log.ts b/packages/kbn-logging/src/ecs/log.ts index e55915094e528..4f796d25fa407 100644 --- a/packages/kbn-logging/src/ecs/log.ts +++ b/packages/kbn-logging/src/ecs/log.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-log.html + * https://www.elastic.co/guide/en/ecs/master/ecs-log.html * * @internal */ @@ -16,8 +16,6 @@ export interface EcsLog { level?: string; logger?: string; origin?: Origin; - /** @deprecated - use `event.original` instead */ - original?: string; syslog?: Syslog; } diff --git a/packages/kbn-logging/src/ecs/network.ts b/packages/kbn-logging/src/ecs/network.ts index 6d00aa10a9968..c736cdeec248a 100644 --- a/packages/kbn-logging/src/ecs/network.ts +++ b/packages/kbn-logging/src/ecs/network.ts @@ -14,7 +14,7 @@ interface NestedFields { } /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-network.html + * https://www.elastic.co/guide/en/ecs/master/ecs-network.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/observer.ts b/packages/kbn-logging/src/ecs/observer.ts index 89e1cbb59880c..77627eed7a6bf 100644 --- a/packages/kbn-logging/src/ecs/observer.ts +++ b/packages/kbn-logging/src/ecs/observer.ts @@ -29,7 +29,7 @@ interface NestedIngressFields { } /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-observer.html + * https://www.elastic.co/guide/en/ecs/master/ecs-observer.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/orchestrator.ts b/packages/kbn-logging/src/ecs/orchestrator.ts index ac92006091a93..bfc9656f869c6 100644 --- a/packages/kbn-logging/src/ecs/orchestrator.ts +++ b/packages/kbn-logging/src/ecs/orchestrator.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-orchestrator.html + * https://www.elastic.co/guide/en/ecs/master/ecs-orchestrator.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/organization.ts b/packages/kbn-logging/src/ecs/organization.ts index e9274f864b7d2..e42e04a33e0bc 100644 --- a/packages/kbn-logging/src/ecs/organization.ts +++ b/packages/kbn-logging/src/ecs/organization.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-organization.html + * https://www.elastic.co/guide/en/ecs/master/ecs-organization.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/os.ts b/packages/kbn-logging/src/ecs/os.ts index 76690bffaf69f..f0fda34606dcc 100644 --- a/packages/kbn-logging/src/ecs/os.ts +++ b/packages/kbn-logging/src/ecs/os.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-os.html + * https://www.elastic.co/guide/en/ecs/master/ecs-os.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/package.ts b/packages/kbn-logging/src/ecs/package.ts index f0e75b3cd2753..fce1415d08c4b 100644 --- a/packages/kbn-logging/src/ecs/package.ts +++ b/packages/kbn-logging/src/ecs/package.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-package.html + * https://www.elastic.co/guide/en/ecs/master/ecs-package.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/pe.ts b/packages/kbn-logging/src/ecs/pe.ts index c017dfa87fb23..53a21ce7662ce 100644 --- a/packages/kbn-logging/src/ecs/pe.ts +++ b/packages/kbn-logging/src/ecs/pe.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-pe.html + * https://www.elastic.co/guide/en/ecs/master/ecs-pe.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/process.ts b/packages/kbn-logging/src/ecs/process.ts index 4e527d0b21d4c..317d50453d9d5 100644 --- a/packages/kbn-logging/src/ecs/process.ts +++ b/packages/kbn-logging/src/ecs/process.ts @@ -21,7 +21,7 @@ interface NestedFields { } /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-process.html + * https://www.elastic.co/guide/en/ecs/master/ecs-process.html * * @internal */ @@ -36,7 +36,6 @@ export interface EcsProcess extends NestedFields { name?: string; pgid?: number; pid?: number; - ppid?: number; start?: string; title?: string; uptime?: number; diff --git a/packages/kbn-logging/src/ecs/registry.ts b/packages/kbn-logging/src/ecs/registry.ts index 8cc12de6c136e..27042ae552e82 100644 --- a/packages/kbn-logging/src/ecs/registry.ts +++ b/packages/kbn-logging/src/ecs/registry.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-registry.html + * https://www.elastic.co/guide/en/ecs/master/ecs-registry.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/related.ts b/packages/kbn-logging/src/ecs/related.ts index 6616780177d16..d4556bea24d19 100644 --- a/packages/kbn-logging/src/ecs/related.ts +++ b/packages/kbn-logging/src/ecs/related.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-related.html + * https://www.elastic.co/guide/en/ecs/master/ecs-related.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/rule.ts b/packages/kbn-logging/src/ecs/rule.ts index 5a961302de918..144d93b12a42b 100644 --- a/packages/kbn-logging/src/ecs/rule.ts +++ b/packages/kbn-logging/src/ecs/rule.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-rule.html + * https://www.elastic.co/guide/en/ecs/master/ecs-rule.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/server.ts b/packages/kbn-logging/src/ecs/server.ts index 01b2394c6bccc..2d6666925cb99 100644 --- a/packages/kbn-logging/src/ecs/server.ts +++ b/packages/kbn-logging/src/ecs/server.ts @@ -17,7 +17,7 @@ interface NestedFields { } /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-server.html + * https://www.elastic.co/guide/en/ecs/master/ecs-server.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/service.ts b/packages/kbn-logging/src/ecs/service.ts index 04cff203da961..1d81077f21ed1 100644 --- a/packages/kbn-logging/src/ecs/service.ts +++ b/packages/kbn-logging/src/ecs/service.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-service.html + * https://www.elastic.co/guide/en/ecs/master/ecs-service.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/source.ts b/packages/kbn-logging/src/ecs/source.ts index 2879adb0d996e..10fd3df7efe23 100644 --- a/packages/kbn-logging/src/ecs/source.ts +++ b/packages/kbn-logging/src/ecs/source.ts @@ -17,7 +17,7 @@ interface NestedFields { } /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-source.html + * https://www.elastic.co/guide/en/ecs/master/ecs-source.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/threat.ts b/packages/kbn-logging/src/ecs/threat.ts index 78adf583b0ee2..7c01808a316ba 100644 --- a/packages/kbn-logging/src/ecs/threat.ts +++ b/packages/kbn-logging/src/ecs/threat.ts @@ -23,7 +23,7 @@ interface IndicatorNestedFields { } /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-threat.html + * https://www.elastic.co/guide/en/ecs/master/ecs-threat.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/tls.ts b/packages/kbn-logging/src/ecs/tls.ts index 75667170f6059..a4aa8dce04a98 100644 --- a/packages/kbn-logging/src/ecs/tls.ts +++ b/packages/kbn-logging/src/ecs/tls.ts @@ -17,7 +17,7 @@ interface NestedServerFields { } /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-tls.html + * https://www.elastic.co/guide/en/ecs/master/ecs-tls.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/tracing.ts b/packages/kbn-logging/src/ecs/tracing.ts index ea1ff300e4c3f..05413770ca2d0 100644 --- a/packages/kbn-logging/src/ecs/tracing.ts +++ b/packages/kbn-logging/src/ecs/tracing.ts @@ -12,7 +12,7 @@ * the base fields, we will need to do an intersection with these types at * the root level. * - * https://www.elastic.co/guide/en/ecs/1.12/ecs-tracing.html + * https://www.elastic.co/guide/en/ecs/master/ecs-tracing.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/url.ts b/packages/kbn-logging/src/ecs/url.ts index 069ff6b09aec5..7e4fe59bab4af 100644 --- a/packages/kbn-logging/src/ecs/url.ts +++ b/packages/kbn-logging/src/ecs/url.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-url.html + * https://www.elastic.co/guide/en/ecs/master/ecs-url.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/user.ts b/packages/kbn-logging/src/ecs/user.ts index 6bce3552e23ec..ec6f78473f3e3 100644 --- a/packages/kbn-logging/src/ecs/user.ts +++ b/packages/kbn-logging/src/ecs/user.ts @@ -20,7 +20,7 @@ interface NestedFields { * placed at the root level, but not if it is nested inside another field like * `destination`. A more detailed explanation of these nuances can be found at: * - * https://www.elastic.co/guide/en/ecs/1.12/ecs-user-usage.html + * https://www.elastic.co/guide/en/ecs/master/ecs-user-usage.html * * As a result, we need to export a separate `NestedUser` type to import into * other interfaces internally. This contains the reusable subset of properties diff --git a/packages/kbn-logging/src/ecs/user_agent.ts b/packages/kbn-logging/src/ecs/user_agent.ts index 0ff8aa681d964..b0a97a47eac62 100644 --- a/packages/kbn-logging/src/ecs/user_agent.ts +++ b/packages/kbn-logging/src/ecs/user_agent.ts @@ -13,7 +13,7 @@ interface NestedFields { } /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-user_agent.html + * https://www.elastic.co/guide/en/ecs/master/ecs-user_agent.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/vlan.ts b/packages/kbn-logging/src/ecs/vlan.ts index a2939380ea57f..e2a45f30cb484 100644 --- a/packages/kbn-logging/src/ecs/vlan.ts +++ b/packages/kbn-logging/src/ecs/vlan.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-vlan.html + * https://www.elastic.co/guide/en/ecs/master/ecs-vlan.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/vulnerability.ts b/packages/kbn-logging/src/ecs/vulnerability.ts index a3648a9c5df17..6dec07ff5874f 100644 --- a/packages/kbn-logging/src/ecs/vulnerability.ts +++ b/packages/kbn-logging/src/ecs/vulnerability.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-vulnerability.html + * https://www.elastic.co/guide/en/ecs/master/ecs-vulnerability.html * * @internal */ diff --git a/packages/kbn-logging/src/ecs/x509.ts b/packages/kbn-logging/src/ecs/x509.ts index a38fb93585c83..1b5b9f194923f 100644 --- a/packages/kbn-logging/src/ecs/x509.ts +++ b/packages/kbn-logging/src/ecs/x509.ts @@ -7,7 +7,7 @@ */ /** - * https://www.elastic.co/guide/en/ecs/1.12/ecs-x509.html + * https://www.elastic.co/guide/en/ecs/master/ecs-x509.html * * @internal */ diff --git a/packages/kbn-monaco/src/esql/index.ts b/packages/kbn-monaco/src/esql/index.ts index 4b50a222ad2d6..9f0bbb7b64c7d 100644 --- a/packages/kbn-monaco/src/esql/index.ts +++ b/packages/kbn-monaco/src/esql/index.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { LangModule as LangModuleType } from '../types'; +import { LangModuleType } from '../types'; import { ID } from './constants'; import { lexerRules } from './lexer_rules'; diff --git a/packages/kbn-monaco/src/helpers.ts b/packages/kbn-monaco/src/helpers.ts index e525b8c132132..25040bc1a55f1 100644 --- a/packages/kbn-monaco/src/helpers.ts +++ b/packages/kbn-monaco/src/helpers.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ import { monaco } from './monaco_imports'; -import { LangModule as LangModuleType } from './types'; +import { LangModuleType } from './types'; function registerLanguage(language: LangModuleType) { const { ID, lexerRules, languageConfiguration } = language; diff --git a/packages/kbn-monaco/src/index.ts b/packages/kbn-monaco/src/index.ts index 85d3518461a49..5394a46b142db 100644 --- a/packages/kbn-monaco/src/index.ts +++ b/packages/kbn-monaco/src/index.ts @@ -11,14 +11,11 @@ import './register_globals'; export { monaco } from './monaco_imports'; export { XJsonLang } from './xjson'; -export { PainlessLang, PainlessContext, PainlessAutocompleteField } from './painless'; +export * from './painless'; /* eslint-disable-next-line @kbn/eslint/module_migration */ import * as BarePluginApi from 'monaco-editor/esm/vs/editor/editor.api'; import { registerLanguage } from './helpers'; -import { - LangModule as LangModuleType, - CompleteLangModule as CompleteLangModuleType, -} from './types'; -export { BarePluginApi, registerLanguage, LangModuleType, CompleteLangModuleType }; +export { BarePluginApi, registerLanguage }; +export * from './types'; diff --git a/packages/kbn-monaco/src/painless/index.ts b/packages/kbn-monaco/src/painless/index.ts index 9863204117b12..3bba7643e28b6 100644 --- a/packages/kbn-monaco/src/painless/index.ts +++ b/packages/kbn-monaco/src/painless/index.ts @@ -9,7 +9,7 @@ import { ID } from './constants'; import { lexerRules, languageConfiguration } from './lexer_rules'; import { getSuggestionProvider, getSyntaxErrors } from './language'; -import { CompleteLangModule as CompleteLangModuleType } from '../types'; +import { CompleteLangModuleType } from '../types'; export const PainlessLang: CompleteLangModuleType = { ID, @@ -19,4 +19,4 @@ export const PainlessLang: CompleteLangModuleType = { getSyntaxErrors, }; -export { PainlessContext, PainlessAutocompleteField } from './types'; +export * from './types'; diff --git a/packages/kbn-monaco/src/types.ts b/packages/kbn-monaco/src/types.ts index f977ada5b624b..0e20021bf69eb 100644 --- a/packages/kbn-monaco/src/types.ts +++ b/packages/kbn-monaco/src/types.ts @@ -7,7 +7,7 @@ */ import { monaco } from './monaco_imports'; -export interface LangModule { +export interface LangModuleType { ID: string; lexerRules: monaco.languages.IMonarchLanguage; languageConfiguration?: monaco.languages.LanguageConfiguration; @@ -15,7 +15,7 @@ export interface LangModule { getSyntaxErrors?: Function; } -export interface CompleteLangModule extends LangModule { +export interface CompleteLangModuleType extends LangModuleType { languageConfiguration: monaco.languages.LanguageConfiguration; getSuggestionProvider: Function; getSyntaxErrors: Function; diff --git a/packages/kbn-monaco/src/xjson/index.ts b/packages/kbn-monaco/src/xjson/index.ts index e9ece97ac0023..a376f627eade5 100644 --- a/packages/kbn-monaco/src/xjson/index.ts +++ b/packages/kbn-monaco/src/xjson/index.ts @@ -12,6 +12,6 @@ import './language'; import { ID } from './constants'; import { lexerRules, languageConfiguration } from './lexer_rules'; -import { LangModule as LangModuleType } from '../types'; +import { LangModuleType } from '../types'; export const XJsonLang: LangModuleType = { ID, lexerRules, languageConfiguration }; diff --git a/packages/kbn-pm/dist/index.js b/packages/kbn-pm/dist/index.js index c96a1eb28cfce..cab1f6d916f02 100644 --- a/packages/kbn-pm/dist/index.js +++ b/packages/kbn-pm/dist/index.js @@ -9014,6 +9014,7 @@ class CiStatsReporter { const upstreamBranch = (_options$upstreamBran = options.upstreamBranch) !== null && _options$upstreamBran !== void 0 ? _options$upstreamBran : this.getUpstreamBranch(); const kibanaUuid = options.kibanaUuid === undefined ? this.getKibanaUuid() : options.kibanaUuid; let email; + let branch; try { const { @@ -9024,16 +9025,32 @@ class CiStatsReporter { this.log.debug(e.message); } + try { + const { + stdout + } = await (0, _execa.default)('git', ['branch', '--show-current']); + branch = stdout; + } catch (e) { + this.log.debug(e.message); + } + + const memUsage = process.memoryUsage(); const isElasticCommitter = email && email.endsWith('@elastic.co') ? true : false; const defaultMetadata = { + kibanaUuid, + isElasticCommitter, committerHash: email ? _crypto.default.createHash('sha256').update(email).digest('hex').substring(0, 20) : undefined, + email: isElasticCommitter ? email : undefined, + branch: isElasticCommitter ? branch : undefined, cpuCount: (_Os$cpus = _os.default.cpus()) === null || _Os$cpus === void 0 ? void 0 : _Os$cpus.length, cpuModel: (_Os$cpus$ = _os.default.cpus()[0]) === null || _Os$cpus$ === void 0 ? void 0 : _Os$cpus$.model, cpuSpeed: (_Os$cpus$2 = _os.default.cpus()[0]) === null || _Os$cpus$2 === void 0 ? void 0 : _Os$cpus$2.speed, - email: isElasticCommitter ? email : undefined, freeMem: _os.default.freemem(), - isElasticCommitter, - kibanaUuid, + memoryUsageRss: memUsage.rss, + memoryUsageHeapTotal: memUsage.heapTotal, + memoryUsageHeapUsed: memUsage.heapUsed, + memoryUsageExternal: memUsage.external, + memoryUsageArrayBuffers: memUsage.arrayBuffers, nestedTiming: process.env.CI_STATS_NESTED_TIMING ? true : false, osArch: _os.default.arch(), osPlatform: _os.default.platform(), diff --git a/packages/kbn-rule-data-utils/src/technical_field_names.ts b/packages/kbn-rule-data-utils/src/technical_field_names.ts index 86a036bbb9fe2..6ac897bbafb08 100644 --- a/packages/kbn-rule-data-utils/src/technical_field_names.ts +++ b/packages/kbn-rule-data-utils/src/technical_field_names.ts @@ -52,6 +52,7 @@ const ALERT_RULE_LICENSE = `${ALERT_RULE_NAMESPACE}.license` as const; const ALERT_RULE_CATEGORY = `${ALERT_RULE_NAMESPACE}.category` as const; const ALERT_RULE_NAME = `${ALERT_RULE_NAMESPACE}.name` as const; const ALERT_RULE_NOTE = `${ALERT_RULE_NAMESPACE}.note` as const; +const ALERT_RULE_PARAMS = `${ALERT_RULE_NAMESPACE}.params` as const; const ALERT_RULE_REFERENCES = `${ALERT_RULE_NAMESPACE}.references` as const; const ALERT_RULE_RISK_SCORE = `${ALERT_RULE_NAMESPACE}.risk_score` as const; const ALERT_RULE_RISK_SCORE_MAPPING = `${ALERT_RULE_NAMESPACE}.risk_score_mapping` as const; @@ -109,6 +110,7 @@ const fields = { ALERT_RULE_LICENSE, ALERT_RULE_NAME, ALERT_RULE_NOTE, + ALERT_RULE_PARAMS, ALERT_RULE_REFERENCES, ALERT_RULE_RISK_SCORE, ALERT_RULE_RISK_SCORE_MAPPING, @@ -164,6 +166,7 @@ export { ALERT_RULE_LICENSE, ALERT_RULE_NAME, ALERT_RULE_NOTE, + ALERT_RULE_PARAMS, ALERT_RULE_REFERENCES, ALERT_RULE_RISK_SCORE, ALERT_RULE_RISK_SCORE_MAPPING, diff --git a/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts b/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts index 2b65051a6c67d..32f8cdc71a028 100644 --- a/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts +++ b/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts @@ -9,7 +9,11 @@ import { useEffect, useRef, useState } from 'react'; import { debounce } from 'lodash'; import { ListOperatorTypeEnum as OperatorTypeEnum } from '@kbn/securitysolution-io-ts-list-types'; -import { IndexPatternBase, IndexPatternFieldBase } from '@kbn/es-query'; +import { + IndexPatternBase, + IndexPatternFieldBase, + getDataViewFieldSubtypeNested, +} from '@kbn/es-query'; // TODO: I have to use any here for now, but once this is available below, we should use the correct types, https://github.com/elastic/kibana/issues/100715 // import { AutocompleteStart } from '../../../../../../../../src/plugins/data/public'; @@ -68,14 +72,13 @@ export const useFieldValueAutocomplete = ({ } setIsLoading(true); - - const field = - fieldSelected.subType != null && fieldSelected.subType.nested != null - ? { - ...fieldSelected, - name: `${fieldSelected.subType.nested.path}.${fieldSelected.name}`, - } - : fieldSelected; + const subTypeNested = getDataViewFieldSubtypeNested(fieldSelected); + const field = subTypeNested + ? { + ...fieldSelected, + name: `${subTypeNested.nested.path}.${fieldSelected.name}`, + } + : fieldSelected; const newSuggestions = await autocompleteService.getValueSuggestions({ field, diff --git a/packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts b/packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts index 2ff65aa525eba..2aa4cf64073ab 100644 --- a/packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts +++ b/packages/kbn-securitysolution-list-utils/src/build_exception_filter/index.ts @@ -23,6 +23,7 @@ import { } from '@kbn/securitysolution-io-ts-list-types'; import { Filter } from '@kbn/es-query'; +import { QueryDslBoolQuery, QueryDslNestedQuery } from '@elastic/elasticsearch/api/types'; import { hasLargeValueList } from '../has_large_value_list'; type NonListEntry = EntryMatch | EntryMatchAny | EntryNested | EntryExists; @@ -39,21 +40,11 @@ export type ExceptionItemSansLargeValueLists = | CreateExceptionListItemNonLargeList; export interface BooleanFilter { - bool: { - must?: unknown | unknown[]; - must_not?: unknown | unknown[]; - should?: unknown[]; - filter?: unknown | unknown[]; - minimum_should_match?: number; - }; + bool: QueryDslBoolQuery; } export interface NestedFilter { - nested: { - path: string; - query: unknown | unknown[]; - score_mode: string; - }; + nested: QueryDslNestedQuery; } export const chunkExceptions = ( @@ -178,7 +169,7 @@ export const buildExceptionFilter = ({ return undefined; } else if (exceptionsWithoutLargeValueLists.length <= chunkSize) { const clause = createOrClauses(exceptionsWithoutLargeValueLists); - exceptionFilter.query!.bool.should = clause; + exceptionFilter.query!.bool!.should = clause; return exceptionFilter; } else { const chunks = chunkExceptions(exceptionsWithoutLargeValueLists, chunkSize); diff --git a/packages/kbn-securitysolution-list-utils/src/helpers/index.ts b/packages/kbn-securitysolution-list-utils/src/helpers/index.ts index eeab05fadb126..6266cea5b268a 100644 --- a/packages/kbn-securitysolution-list-utils/src/helpers/index.ts +++ b/packages/kbn-securitysolution-list-utils/src/helpers/index.ts @@ -28,7 +28,12 @@ import { exceptionListItemSchema, nestedEntryItem, } from '@kbn/securitysolution-io-ts-list-types'; -import { IndexPatternBase, IndexPatternFieldBase } from '@kbn/es-query'; +import { + IndexPatternBase, + IndexPatternFieldBase, + getDataViewFieldSubtypeNested, + isDataViewFieldSubtypeNested, +} from '@kbn/es-query'; import { EXCEPTION_OPERATORS, @@ -297,11 +302,11 @@ export const getFilteredIndexPatterns = ( ...indexPatterns, fields: indexPatterns.fields .filter((indexField) => { + const subTypeNested = getDataViewFieldSubtypeNested(indexField); const fieldHasCommonParentPath = - indexField.subType != null && - indexField.subType.nested != null && + subTypeNested && item.parent != null && - indexField.subType.nested.path === item.parent.parent.field; + subTypeNested.nested.path === item.parent.parent.field; return fieldHasCommonParentPath; }) @@ -317,9 +322,7 @@ export const getFilteredIndexPatterns = ( // when user selects to add a nested entry, only nested fields are shown as options return { ...indexPatterns, - fields: indexPatterns.fields.filter( - (field) => field.subType != null && field.subType.nested != null - ), + fields: indexPatterns.fields.filter((field) => isDataViewFieldSubtypeNested(field)), }; } else { return indexPatterns; @@ -346,10 +349,8 @@ export const getEntryOnFieldChange = ( // a user selects "exists", as soon as they make a selection // we can now identify the 'parent' and 'child' this is where // we first convert the entry into type "nested" - const newParentFieldValue = - newField.subType != null && newField.subType.nested != null - ? newField.subType.nested.path - : ''; + const subTypeNested = getDataViewFieldSubtypeNested(newField); + const newParentFieldValue = subTypeNested?.nested.path || ''; return { index: entryIndex, diff --git a/packages/kbn-test/src/failed_tests_reporter/es_config b/packages/kbn-test/src/failed_tests_reporter/es_config index 2720c0be42962..b8f499029b018 100644 --- a/packages/kbn-test/src/failed_tests_reporter/es_config +++ b/packages/kbn-test/src/failed_tests_reporter/es_config @@ -78,17 +78,32 @@ PUT _component_template/test-failures-mappings "properties": { "classname": { "type": "keyword", - "ignore_above": 256 + "ignore_above": 256, + "fields": { + "text": { + "type": "text" + } + } }, "failure": { "type": "keyword", - "ignore_above": 256 + "ignore_above": 256, + "fields": { + "text": { + "type": "text" + } + } }, "likelyIrrelevant": { "type": "boolean" }, "name": { - "type": "keyword" + "type": "keyword", + "fields": { + "text": { + "type": "text" + } + } }, "system-out": { "type": "match_only_text" diff --git a/packages/kbn-test/src/functional_test_runner/cli.ts b/packages/kbn-test/src/functional_test_runner/cli.ts index ccd578aa038f8..3ad365a028b65 100644 --- a/packages/kbn-test/src/functional_test_runner/cli.ts +++ b/packages/kbn-test/src/functional_test_runner/cli.ts @@ -9,7 +9,7 @@ import { resolve } from 'path'; import { inspect } from 'util'; -import { run, createFlagError, Flags } from '@kbn/dev-utils'; +import { run, createFlagError, Flags, ToolingLog, getTimeReporter } from '@kbn/dev-utils'; import exitHook from 'exit-hook'; import { FunctionalTestRunner } from './functional_test_runner'; @@ -27,6 +27,12 @@ const parseInstallDir = (flags: Flags) => { }; export function runFtrCli() { + const runStartTime = Date.now(); + const toolingLog = new ToolingLog({ + level: 'info', + writeTo: process.stdout, + }); + const reportTime = getTimeReporter(toolingLog, 'scripts/functional_test_runner'); run( async ({ flags, log }) => { const functionalTestRunner = new FunctionalTestRunner( @@ -68,9 +74,19 @@ export function runFtrCli() { teardownRun = true; if (err) { + await reportTime(runStartTime, 'total', { + success: false, + err: err.message, + ...flags, + }); log.indent(-log.indent()); log.error(err); process.exitCode = 1; + } else { + await reportTime(runStartTime, 'total', { + success: true, + ...flags, + }); } try { diff --git a/packages/kbn-test/src/functional_tests/cli/start_servers/cli.js b/packages/kbn-test/src/functional_tests/cli/start_servers/cli.js index 824cf3e6ceec1..df7f8750b2ae3 100644 --- a/packages/kbn-test/src/functional_tests/cli/start_servers/cli.js +++ b/packages/kbn-test/src/functional_tests/cli/start_servers/cli.js @@ -18,6 +18,8 @@ import { processOptions, displayHelp } from './args'; export async function startServersCli(defaultConfigPath) { await runCli(displayHelp, async (userOptions) => { const options = processOptions(userOptions, defaultConfigPath); - await startServers(options); + await startServers({ + ...options, + }); }); } diff --git a/packages/kbn-test/src/functional_tests/tasks.ts b/packages/kbn-test/src/functional_tests/tasks.ts index d45f8656ed728..3bc697c143f40 100644 --- a/packages/kbn-test/src/functional_tests/tasks.ts +++ b/packages/kbn-test/src/functional_tests/tasks.ts @@ -9,7 +9,7 @@ import { relative } from 'path'; import * as Rx from 'rxjs'; import { startWith, switchMap, take } from 'rxjs/operators'; -import { withProcRunner, ToolingLog, REPO_ROOT } from '@kbn/dev-utils'; +import { withProcRunner, ToolingLog, REPO_ROOT, getTimeReporter } from '@kbn/dev-utils'; import dedent from 'dedent'; import { @@ -147,7 +147,14 @@ interface StartServerOptions { useDefaultConfig?: boolean; } -export async function startServers(options: StartServerOptions) { +export async function startServers({ ...options }: StartServerOptions) { + const runStartTime = Date.now(); + const toolingLog = new ToolingLog({ + level: 'info', + writeTo: process.stdout, + }); + const reportTime = getTimeReporter(toolingLog, 'scripts/functional_tests_server'); + const log = options.createLogger(); const opts = { ...options, @@ -170,6 +177,11 @@ export async function startServers(options: StartServerOptions) { }, }); + reportTime(runStartTime, 'ready', { + success: true, + ...options, + }); + // wait for 5 seconds of silence before logging the // success message so that it doesn't get buried await silence(log, 5000); diff --git a/packages/kbn-test/src/jest/run.ts b/packages/kbn-test/src/jest/run.ts index 441104befde91..07610a3eb84c6 100644 --- a/packages/kbn-test/src/jest/run.ts +++ b/packages/kbn-test/src/jest/run.ts @@ -21,7 +21,8 @@ import { resolve, relative, sep as osSep } from 'path'; import { existsSync } from 'fs'; import { run } from 'jest'; import { buildArgv } from 'jest-cli/build/cli'; -import { ToolingLog } from '@kbn/dev-utils'; +import { ToolingLog, getTimeReporter } from '@kbn/dev-utils'; +import { map } from 'lodash'; // yarn test:jest src/core/server/saved_objects // yarn test:jest src/core/public/core_system.test.ts @@ -35,9 +36,14 @@ export function runJest(configName = 'jest.config.js') { writeTo: process.stdout, }); + const runStartTime = Date.now(); + const reportTime = getTimeReporter(log, 'scripts/jest'); + let cwd: string; + let testFiles: string[]; + if (!argv.config) { - const cwd = process.env.INIT_CWD || process.cwd(); - const testFiles = argv._.splice(2).map((p) => resolve(cwd, p)); + cwd = process.env.INIT_CWD || process.cwd(); + testFiles = argv._.splice(2).map((p) => resolve(cwd, p)); const commonTestFiles = commonBasePath(testFiles); const testFilesProvided = testFiles.length > 0; @@ -73,7 +79,14 @@ export function runJest(configName = 'jest.config.js') { process.env.NODE_ENV = 'test'; } - run(); + run().then(() => { + // Success means that tests finished, doesn't mean they passed. + reportTime(runStartTime, 'total', { + success: true, + isXpack: cwd.includes('x-pack'), + testFiles: map(testFiles, (testFile) => relative(cwd, testFile)), + }); + }); } /** diff --git a/packages/kbn-typed-react-router-config/src/create_router.ts b/packages/kbn-typed-react-router-config/src/create_router.ts index 13f09e7546de5..77c2bba14e85a 100644 --- a/packages/kbn-typed-react-router-config/src/create_router.ts +++ b/packages/kbn-typed-react-router-config/src/create_router.ts @@ -20,7 +20,7 @@ import type { deepExactRt as deepExactRtTyped, mergeRt as mergeRtTyped } from '@ import { deepExactRt as deepExactRtNonTyped } from '@kbn/io-ts-utils/target_node/deep_exact_rt'; // @ts-expect-error import { mergeRt as mergeRtNonTyped } from '@kbn/io-ts-utils/target_node/merge_rt'; -import { Route, Router } from './types'; +import { FlattenRoutesOf, Route, Router } from './types'; const deepExactRt: typeof deepExactRtTyped = deepExactRtNonTyped; const mergeRt: typeof mergeRtTyped = mergeRtNonTyped; @@ -51,6 +51,20 @@ export function createRouter(routes: TRoutes): Router { + return routesByReactRouterConfig.get(match.route)!; + }); + + return matchedRoutes; + } + const matchRoutes = (...args: any[]) => { let optional: boolean = false; @@ -142,15 +156,7 @@ export function createRouter(routes: TRoutes): Router { - return routesByReactRouterConfig.get(match.route)!; - }); + const matchedRoutes = getRoutesToMatch(path); const validationType = mergeRt( ...(compact( @@ -200,5 +206,8 @@ export function createRouter(routes: TRoutes): Router { return reactRouterConfigsByRoute.get(route)!.path as string; }, + getRoutesToMatch: (path: string) => { + return getRoutesToMatch(path) as unknown as FlattenRoutesOf; + }, }; } diff --git a/packages/kbn-typed-react-router-config/src/outlet.tsx b/packages/kbn-typed-react-router-config/src/outlet.tsx index 696085489abee..9af7b8bdd6422 100644 --- a/packages/kbn-typed-react-router-config/src/outlet.tsx +++ b/packages/kbn-typed-react-router-config/src/outlet.tsx @@ -5,9 +5,24 @@ * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ -import { useCurrentRoute } from './use_current_route'; +import React, { createContext, useContext } from 'react'; + +const OutletContext = createContext<{ element?: React.ReactElement } | undefined>(undefined); + +export function OutletContextProvider({ + element, + children, +}: { + element: React.ReactElement; + children: React.ReactNode; +}) { + return {children}; +} export function Outlet() { - const { element } = useCurrentRoute(); - return element; + const outletContext = useContext(OutletContext); + if (!outletContext) { + throw new Error('Outlet context not available'); + } + return outletContext.element || null; } diff --git a/packages/kbn-typed-react-router-config/src/router_provider.tsx b/packages/kbn-typed-react-router-config/src/router_provider.tsx index d2512ba8fe426..657df9e9fc592 100644 --- a/packages/kbn-typed-react-router-config/src/router_provider.tsx +++ b/packages/kbn-typed-react-router-config/src/router_provider.tsx @@ -18,7 +18,7 @@ export function RouterProvider({ }: { router: Router; history: History; - children: React.ReactElement; + children: React.ReactNode; }) { return ( diff --git a/packages/kbn-typed-react-router-config/src/types/index.ts b/packages/kbn-typed-react-router-config/src/types/index.ts index 9c19c8dca323b..c1ae5afd816ee 100644 --- a/packages/kbn-typed-react-router-config/src/types/index.ts +++ b/packages/kbn-typed-react-router-config/src/types/index.ts @@ -147,6 +147,7 @@ interface PlainRoute { children?: PlainRoute[]; params?: t.Type; defaults?: Record>; + pre?: ReactElement; } interface ReadonlyPlainRoute { @@ -155,6 +156,7 @@ interface ReadonlyPlainRoute { readonly children?: readonly ReadonlyPlainRoute[]; readonly params?: t.Type; readonly defaults?: Record>; + pre?: ReactElement; } export type Route = PlainRoute | ReadonlyPlainRoute; @@ -209,6 +211,10 @@ export type TypeAsArgs = keyof TObject extends never ? [TObject] | [] : [TObject]; +export type FlattenRoutesOf = Array< + Omit>, 'parents'> +>; + export interface Router { matchRoutes>( path: TPath, @@ -245,6 +251,7 @@ export interface Router { ...args: TypeAsArgs> ): string; getRoutePath(route: Route): string; + getRoutesToMatch(path: string): FlattenRoutesOf; } type AppendPath< @@ -256,23 +263,21 @@ type MaybeUnion, U extends Record> = [key in keyof U]: key extends keyof T ? T[key] | U[key] : U[key]; }; -type MapRoute = TRoute extends Route - ? MaybeUnion< - { - [key in TRoute['path']]: TRoute & { parents: TParents }; - }, - TRoute extends { children: Route[] } - ? MaybeUnion< - MapRoutes, - { - [key in AppendPath]: ValuesType< - MapRoutes - >; - } - > - : {} - > - : {}; +type MapRoute = MaybeUnion< + { + [key in TRoute['path']]: TRoute & { parents: TParents }; + }, + TRoute extends { children: Route[] } + ? MaybeUnion< + MapRoutes, + { + [key in AppendPath]: ValuesType< + MapRoutes + >; + } + > + : {} +>; type MapRoutes = TRoutes extends [Route] ? MapRoute diff --git a/packages/kbn-typed-react-router-config/src/use_current_route.tsx b/packages/kbn-typed-react-router-config/src/use_current_route.tsx index 9227b119107b3..a36e6f4ec9c8e 100644 --- a/packages/kbn-typed-react-router-config/src/use_current_route.tsx +++ b/packages/kbn-typed-react-router-config/src/use_current_route.tsx @@ -6,6 +6,7 @@ * Side Public License, v 1. */ import React, { createContext, useContext } from 'react'; +import { OutletContextProvider } from './outlet'; import { RouteMatch } from './types'; const CurrentRouteContext = createContext< @@ -23,7 +24,7 @@ export const CurrentRouteContextProvider = ({ }) => { return ( - {children} + {children} ); }; diff --git a/packages/kbn-typed-react-router-config/src/use_match_routes.ts b/packages/kbn-typed-react-router-config/src/use_match_routes.ts index b818ff06e9ae6..12c5af1f4412d 100644 --- a/packages/kbn-typed-react-router-config/src/use_match_routes.ts +++ b/packages/kbn-typed-react-router-config/src/use_match_routes.ts @@ -5,7 +5,7 @@ * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ - +import { useMemo } from 'react'; import { useLocation } from 'react-router-dom'; import { RouteMatch } from './types'; import { useRouter } from './use_router'; @@ -14,7 +14,11 @@ export function useMatchRoutes(path?: string): RouteMatch[] { const router = useRouter(); const location = useLocation(); - return typeof path === 'undefined' - ? router.matchRoutes(location) - : router.matchRoutes(path as never, location); + const routeMatches = useMemo(() => { + return typeof path === 'undefined' + ? router.matchRoutes(location) + : router.matchRoutes(path as never, location); + }, [path, router, location]); + + return routeMatches; } diff --git a/packages/kbn-typed-react-router-config/src/use_router.tsx b/packages/kbn-typed-react-router-config/src/use_router.tsx index b54530ed0fbdb..c78e85650f26d 100644 --- a/packages/kbn-typed-react-router-config/src/use_router.tsx +++ b/packages/kbn-typed-react-router-config/src/use_router.tsx @@ -16,7 +16,7 @@ export const RouterContextProvider = ({ children, }: { router: Router; - children: React.ReactElement; + children: React.ReactNode; }) => {children}; export function useRouter(): Router { diff --git a/packages/kbn-utils/src/path/index.ts b/packages/kbn-utils/src/path/index.ts index 9ee699c22c30c..15d6a3eddf01e 100644 --- a/packages/kbn-utils/src/path/index.ts +++ b/packages/kbn-utils/src/path/index.ts @@ -15,14 +15,12 @@ const isString = (v: any): v is string => typeof v === 'string'; const CONFIG_PATHS = [ process.env.KBN_PATH_CONF && join(process.env.KBN_PATH_CONF, 'kibana.yml'), - process.env.KIBANA_PATH_CONF && join(process.env.KIBANA_PATH_CONF, 'kibana.yml'), // deprecated join(REPO_ROOT, 'config/kibana.yml'), '/etc/kibana/kibana.yml', ].filter(isString); const CONFIG_DIRECTORIES = [ process.env.KBN_PATH_CONF, - process.env.KIBANA_PATH_CONF, // deprecated join(REPO_ROOT, 'config'), '/etc/kibana', ].filter(isString); diff --git a/src/cli/serve/integration_tests/__fixtures__/invalid_config.yml b/src/cli/serve/integration_tests/__fixtures__/invalid_config.yml index df9ea641cd3fe..d8e59ced89c80 100644 --- a/src/cli/serve/integration_tests/__fixtures__/invalid_config.yml +++ b/src/cli/serve/integration_tests/__fixtures__/invalid_config.yml @@ -1,3 +1,13 @@ +logging: + root: + level: fatal + appenders: [console-json] + appenders: + console-json: + type: console + layout: + type: json + unknown: key: 1 diff --git a/src/cli/serve/integration_tests/__fixtures__/reload_logging_config/kibana.test.yml b/src/cli/serve/integration_tests/__fixtures__/reload_logging_config/kibana.test.yml deleted file mode 100644 index 1761a7984e0e7..0000000000000 --- a/src/cli/serve/integration_tests/__fixtures__/reload_logging_config/kibana.test.yml +++ /dev/null @@ -1,13 +0,0 @@ -server: - autoListen: false - port: 8274 -logging: - json: true -optimize: - enabled: false -plugins: - initialize: false -migrations: - skip: true -elasticsearch: - skipStartupConnectionCheck: true diff --git a/src/cli/serve/integration_tests/invalid_config.test.ts b/src/cli/serve/integration_tests/invalid_config.test.ts index 724998699da85..2de902582a548 100644 --- a/src/cli/serve/integration_tests/invalid_config.test.ts +++ b/src/cli/serve/integration_tests/invalid_config.test.ts @@ -14,14 +14,15 @@ const INVALID_CONFIG_PATH = require.resolve('./__fixtures__/invalid_config.yml') interface LogEntry { message: string; - tags?: string[]; - type: string; + log: { + level: string; + }; } -describe('cli invalid config support', function () { +describe('cli invalid config support', () => { it( - 'exits with statusCode 64 and logs a single line when config is invalid', - function () { + 'exits with statusCode 64 and logs an error when config is invalid', + () => { // Unused keys only throw once LegacyService starts, so disable migrations so that Core // will finish the start lifecycle without a running Elasticsearch instance. const { error, status, stdout, stderr } = spawnSync( @@ -31,41 +32,27 @@ describe('cli invalid config support', function () { cwd: REPO_ROOT, } ); + expect(error).toBe(undefined); - let fatalLogLine; + let fatalLogEntries; try { - [fatalLogLine] = stdout + fatalLogEntries = stdout .toString('utf8') .split('\n') .filter(Boolean) .map((line) => JSON.parse(line) as LogEntry) - .filter((line) => line.tags?.includes('fatal')) - .map((obj) => ({ - ...obj, - pid: '## PID ##', - '@timestamp': '## @timestamp ##', - error: '## Error with stack trace ##', - })); + .filter((line) => line.log.level === 'FATAL'); } catch (e) { throw new Error( `error parsing log output:\n\n${e.stack}\n\nstdout: \n${stdout}\n\nstderr:\n${stderr}` ); } - expect(error).toBe(undefined); - - if (!fatalLogLine) { - throw new Error( - `cli did not log the expected fatal error message:\n\nstdout: \n${stdout}\n\nstderr:\n${stderr}` - ); - } - - expect(fatalLogLine.message).toContain( - 'Error: Unknown configuration key(s): "unknown.key", "other.unknown.key", "other.third", "some.flat.key", ' + + expect(fatalLogEntries).toHaveLength(1); + expect(fatalLogEntries[0].message).toContain( + 'Unknown configuration key(s): "unknown.key", "other.unknown.key", "other.third", "some.flat.key", ' + '"some.array". Check for spelling errors and ensure that expected plugins are installed.' ); - expect(fatalLogLine.tags).toEqual(['fatal', 'root']); - expect(fatalLogLine.type).toEqual('log'); expect(status).toBe(64); }, diff --git a/src/cli/serve/integration_tests/reload_logging_config.test.ts b/src/cli/serve/integration_tests/reload_logging_config.test.ts index 80ce52661565c..4cee7dfae4126 100644 --- a/src/cli/serve/integration_tests/reload_logging_config.test.ts +++ b/src/cli/serve/integration_tests/reload_logging_config.test.ts @@ -17,7 +17,6 @@ import { map, filter, take } from 'rxjs/operators'; import { safeDump } from 'js-yaml'; import { getConfigFromFiles } from '@kbn/config'; -const legacyConfig = follow('__fixtures__/reload_logging_config/kibana.test.yml'); const configFileLogConsole = follow( '__fixtures__/reload_logging_config/kibana_log_console.test.yml' ); @@ -96,81 +95,6 @@ describe.skip('Server logging configuration', function () { return; } - describe('legacy logging', () => { - it( - 'should be reloadable via SIGHUP process signaling', - async function () { - const configFilePath = Path.resolve(tempDir, 'kibana.yml'); - Fs.copyFileSync(legacyConfig, configFilePath); - - child = Child.spawn(process.execPath, [ - kibanaPath, - '--oss', - '--config', - configFilePath, - '--verbose', - ]); - - // TypeScript note: As long as the child stdio[1] is 'pipe', then stdout will not be null - const message$ = Rx.fromEvent(child.stdout!, 'data').pipe( - map((messages) => String(messages).split('\n').filter(Boolean)) - ); - - await message$ - .pipe( - // We know the sighup handler will be registered before this message logged - filter((messages: string[]) => messages.some((m) => m.includes('setting up root'))), - take(1) - ) - .toPromise(); - - const lastMessage = await message$.pipe(take(1)).toPromise(); - expect(containsJsonOnly(lastMessage)).toBe(true); - - createConfigManager(configFilePath).modify((oldConfig) => { - oldConfig.logging.json = false; - return oldConfig; - }); - - child.kill('SIGHUP'); - - await message$ - .pipe( - filter((messages) => !containsJsonOnly(messages)), - take(1) - ) - .toPromise(); - }, - minute - ); - - it( - 'should recreate file handle on SIGHUP', - async function () { - const logPath = Path.resolve(tempDir, 'kibana.log'); - const logPathArchived = Path.resolve(tempDir, 'kibana_archive.log'); - - child = Child.spawn(process.execPath, [ - kibanaPath, - '--oss', - '--config', - legacyConfig, - '--logging.dest', - logPath, - '--verbose', - ]); - - await watchFileUntil(logPath, /setting up root/, 30 * second); - // once the server is running, archive the log file and issue SIGHUP - Fs.renameSync(logPath, logPathArchived); - child.kill('SIGHUP'); - - await watchFileUntil(logPath, /Reloaded logging configuration due to SIGHUP/, 30 * second); - }, - minute - ); - }); - describe('platform logging', () => { it( 'should be reloadable via SIGHUP process signaling', diff --git a/src/cli/serve/serve.js b/src/cli/serve/serve.js index 705acfe4fdf54..8b346d38cfea8 100644 --- a/src/cli/serve/serve.js +++ b/src/cli/serve/serve.js @@ -124,17 +124,12 @@ function applyConfigOverrides(rawConfig, opts, extraCliOptions) { if (opts.elasticsearch) set('elasticsearch.hosts', opts.elasticsearch.split(',')); if (opts.port) set('server.port', opts.port); if (opts.host) set('server.host', opts.host); + if (opts.silent) { - set('logging.silent', true); set('logging.root.level', 'off'); } if (opts.verbose) { - if (has('logging.root.appenders')) { - set('logging.root.level', 'all'); - } else { - // Only set logging.verbose to true for legacy logging when KP logging isn't configured. - set('logging.verbose', true); - } + set('logging.root.level', 'all'); } set('plugins.paths', _.compact([].concat(get('plugins.paths'), opts.pluginPath))); @@ -159,9 +154,8 @@ export default function (program) { [getConfigPath()] ) .option('-p, --port ', 'The port to bind to', parseInt) - .option('-q, --quiet', 'Deprecated, set logging level in your configuration') - .option('-Q, --silent', 'Prevent all logging') - .option('--verbose', 'Turns on verbose logging') + .option('-Q, --silent', 'Set the root logger level to off') + .option('--verbose', 'Set the root logger level to all') .option('-H, --host ', 'The host to bind to') .option( '-l, --log-file ', @@ -217,8 +211,6 @@ export default function (program) { const cliArgs = { dev: !!opts.dev, envName: unknownOptions.env ? unknownOptions.env.name : undefined, - // no longer supported - quiet: !!opts.quiet, silent: !!opts.silent, verbose: !!opts.verbose, watch: !!opts.watch, diff --git a/src/core/public/doc_links/doc_links_service.ts b/src/core/public/doc_links/doc_links_service.ts index 0fe1347d299f9..9a9b7aabc4dec 100644 --- a/src/core/public/doc_links/doc_links_service.ts +++ b/src/core/public/doc_links/doc_links_service.ts @@ -283,6 +283,8 @@ export class DocLinksService { }, transforms: { guide: `${ELASTICSEARCH_DOCS}transforms.html`, + // TODO add valid docs URL + alertingRules: `${ELASTIC_WEBSITE_URL}guide/en/machine-learning/${DOC_LINK_VERSION}/ml-configuring-alerts.html`, }, visualize: { guide: `${KIBANA_DOCS}dashboard.html`, @@ -308,6 +310,8 @@ export class DocLinksService { apmRules: `${KIBANA_DOCS}apm-alerts.html`, emailAction: `${KIBANA_DOCS}email-action-type.html`, emailActionConfig: `${KIBANA_DOCS}email-action-type.html`, + emailExchangeClientSecretConfig: `${KIBANA_DOCS}email-action-type.html#exchange-client-secret`, + emailExchangeClientIdConfig: `${KIBANA_DOCS}email-action-type.html#exchange-client-tenant-id`, generalSettings: `${KIBANA_DOCS}alert-action-settings-kb.html#general-alert-action-settings`, indexAction: `${KIBANA_DOCS}index-action-type.html`, esQuery: `${KIBANA_DOCS}rule-type-es-query.html`, @@ -470,6 +474,19 @@ export class DocLinksService { ecs: { guide: `${ELASTIC_WEBSITE_URL}guide/en/ecs/current/index.html`, }, + clients: { + /** Changes to these URLs must also be synched in src/plugins/custom_integrations/server/language_clients/index.ts */ + guide: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/index.html`, + goOverview: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/go-api/${DOC_LINK_VERSION}/overview.html`, + javaIndex: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/java-api-client/${DOC_LINK_VERSION}/index.html`, + jsIntro: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/javascript-api/${DOC_LINK_VERSION}/introduction.html`, + netGuide: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/net-api/${DOC_LINK_VERSION}/index.html`, + perlGuide: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/perl-api/${DOC_LINK_VERSION}/index.html`, + phpGuide: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/php-api/${DOC_LINK_VERSION}/index.html`, + pythonGuide: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/net-api/${DOC_LINK_VERSION}/index.html`, + rubyOverview: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/ruby-api/${DOC_LINK_VERSION}/ruby_client.html`, + rustGuide: `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/client/rust-api/${DOC_LINK_VERSION}/index.html`, + }, }, }); } @@ -706,5 +723,17 @@ export interface DocLinksStart { readonly ecs: { readonly guide: string; }; + readonly clients: { + readonly guide: string; + readonly goOverview: string; + readonly javaIndex: string; + readonly jsIntro: string; + readonly netGuide: string; + readonly perlGuide: string; + readonly phpGuide: string; + readonly pythonGuide: string; + readonly rubyOverview: string; + readonly rustGuide: string; + }; }; } diff --git a/src/core/public/public.api.md b/src/core/public/public.api.md index eace9c4011942..7871558574074 100644 --- a/src/core/public/public.api.md +++ b/src/core/public/public.api.md @@ -459,9 +459,13 @@ export const DEFAULT_APP_CATEGORIES: Record; // @public export interface DeprecationsServiceStart { + // Warning: (ae-incompatible-release-tags) The symbol "getAllDeprecations" is marked as @public, but its signature references "DomainDeprecationDetails" which is marked as @internal getAllDeprecations: () => Promise; + // Warning: (ae-incompatible-release-tags) The symbol "getDeprecations" is marked as @public, but its signature references "DomainDeprecationDetails" which is marked as @internal getDeprecations: (domainId: string) => Promise; + // Warning: (ae-incompatible-release-tags) The symbol "isDeprecationResolvable" is marked as @public, but its signature references "DomainDeprecationDetails" which is marked as @internal isDeprecationResolvable: (details: DomainDeprecationDetails) => boolean; + // Warning: (ae-incompatible-release-tags) The symbol "resolveDeprecation" is marked as @public, but its signature references "DomainDeprecationDetails" which is marked as @internal resolveDeprecation: (details: DomainDeprecationDetails) => Promise; } @@ -699,13 +703,24 @@ export interface DocLinksStart { readonly ecs: { readonly guide: string; }; + readonly clients: { + readonly guide: string; + readonly goOverview: string; + readonly javaIndex: string; + readonly jsIntro: string; + readonly netGuide: string; + readonly perlGuide: string; + readonly phpGuide: string; + readonly pythonGuide: string; + readonly rubyOverview: string; + readonly rustGuide: string; + }; }; } // Warning: (ae-forgotten-export) The symbol "DeprecationsDetails" needs to be exported by the entry point index.d.ts -// Warning: (ae-missing-release-tag) "DomainDeprecationDetails" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) // -// @public (undocumented) +// @internal (undocumented) export interface DomainDeprecationDetails extends DeprecationsDetails { // (undocumented) domainId: string; diff --git a/src/core/server/config/deprecation/core_deprecations.test.ts b/src/core/server/config/deprecation/core_deprecations.test.ts index d3a4d7f997062..95e23561a9378 100644 --- a/src/core/server/config/deprecation/core_deprecations.test.ts +++ b/src/core/server/config/deprecation/core_deprecations.test.ts @@ -8,6 +8,7 @@ import { getDeprecationsForGlobalSettings } from '../test_utils'; import { coreDeprecationProvider } from './core_deprecations'; + const initialEnv = { ...process.env }; const applyCoreDeprecations = (settings?: Record) => @@ -18,38 +19,6 @@ describe('core deprecations', () => { process.env = { ...initialEnv }; }); - describe('kibanaPathConf', () => { - it('logs a warning if KIBANA_PATH_CONF environ variable is set', () => { - process.env.KIBANA_PATH_CONF = 'somepath'; - const { messages } = applyCoreDeprecations(); - expect(messages).toMatchInlineSnapshot(` - Array [ - "Environment variable \\"KIBANA_PATH_CONF\\" is deprecated. It has been replaced with \\"KBN_PATH_CONF\\" pointing to a config folder", - ] - `); - }); - - it('does not log a warning if KIBANA_PATH_CONF environ variable is unset', () => { - delete process.env.KIBANA_PATH_CONF; - const { messages } = applyCoreDeprecations(); - expect(messages).toHaveLength(0); - }); - }); - - describe('xsrfDeprecation', () => { - it('logs a warning if server.xsrf.whitelist is set', () => { - const { migrated, messages } = applyCoreDeprecations({ - server: { xsrf: { whitelist: ['/path'] } }, - }); - expect(migrated.server.xsrf.allowlist).toEqual(['/path']); - expect(messages).toMatchInlineSnapshot(` - Array [ - "Setting \\"server.xsrf.whitelist\\" has been replaced by \\"server.xsrf.allowlist\\"", - ] - `); - }); - }); - describe('server.cors', () => { it('renames server.cors to server.cors.enabled', () => { const { migrated } = applyCoreDeprecations({ @@ -57,8 +26,9 @@ describe('core deprecations', () => { }); expect(migrated.server.cors).toEqual({ enabled: true }); }); + it('logs a warning message about server.cors renaming', () => { - const { messages } = applyCoreDeprecations({ + const { messages, levels } = applyCoreDeprecations({ server: { cors: true }, }); expect(messages).toMatchInlineSnapshot(` @@ -66,7 +36,13 @@ describe('core deprecations', () => { "\\"server.cors\\" is deprecated and has been replaced by \\"server.cors.enabled\\"", ] `); + expect(levels).toMatchInlineSnapshot(` + Array [ + "warning", + ] + `); }); + it('does not log deprecation message when server.cors.enabled set', () => { const { migrated, messages } = applyCoreDeprecations({ server: { cors: { enabled: true } }, @@ -203,230 +179,4 @@ describe('core deprecations', () => { ).toEqual([`worker-src blob:`]); }); }); - - describe('logging.events.ops', () => { - it('warns when ops events are used', () => { - const { messages } = applyCoreDeprecations({ - logging: { events: { ops: '*' } }, - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"logging.events.ops\\" has been deprecated and will be removed in 8.0. To access ops data moving forward, please enable debug logs for the \\"metrics.ops\\" context in your logging configuration. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx", - ] - `); - }); - }); - - describe('logging.events.request and logging.events.response', () => { - it('warns when request and response events are used', () => { - const { messages } = applyCoreDeprecations({ - logging: { events: { request: '*', response: '*' } }, - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"logging.events.request\\" and \\"logging.events.response\\" have been deprecated and will be removed in 8.0. To access request and/or response data moving forward, please enable debug logs for the \\"http.server.response\\" context in your logging configuration. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx", - ] - `); - }); - - it('warns when only request event is used', () => { - const { messages } = applyCoreDeprecations({ - logging: { events: { request: '*' } }, - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"logging.events.request\\" and \\"logging.events.response\\" have been deprecated and will be removed in 8.0. To access request and/or response data moving forward, please enable debug logs for the \\"http.server.response\\" context in your logging configuration. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx", - ] - `); - }); - - it('warns when only response event is used', () => { - const { messages } = applyCoreDeprecations({ - logging: { events: { response: '*' } }, - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"logging.events.request\\" and \\"logging.events.response\\" have been deprecated and will be removed in 8.0. To access request and/or response data moving forward, please enable debug logs for the \\"http.server.response\\" context in your logging configuration. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx", - ] - `); - }); - }); - - describe('logging.timezone', () => { - it('warns when ops events are used', () => { - const { messages } = applyCoreDeprecations({ - logging: { timezone: 'GMT' }, - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"logging.timezone\\" has been deprecated and will be removed in 8.0. To set the timezone moving forward, please add a timezone date modifier to the log pattern in your logging configuration. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx", - ] - `); - }); - }); - - describe('logging.dest', () => { - it('warns when dest is used', () => { - const { messages } = applyCoreDeprecations({ - logging: { dest: 'stdout' }, - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"logging.dest\\" has been deprecated and will be removed in 8.0. To set the destination moving forward, you can use the \\"console\\" appender in your logging configuration or define a custom one. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx", - ] - `); - }); - it('warns when dest path is given', () => { - const { messages } = applyCoreDeprecations({ - logging: { dest: '/log-log.txt' }, - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"logging.dest\\" has been deprecated and will be removed in 8.0. To set the destination moving forward, you can use the \\"console\\" appender in your logging configuration or define a custom one. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx", - ] - `); - }); - }); - - describe('logging.quiet, logging.silent and logging.verbose', () => { - it('warns when quiet is used', () => { - const { messages } = applyCoreDeprecations({ - logging: { quiet: true }, - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"logging.quiet\\" has been deprecated and will be removed in 8.0. Moving forward, you can use \\"logging.root.level:error\\" in your logging configuration. ", - ] - `); - }); - it('warns when silent is used', () => { - const { messages } = applyCoreDeprecations({ - logging: { silent: true }, - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"logging.silent\\" has been deprecated and will be removed in 8.0. Moving forward, you can use \\"logging.root.level:off\\" in your logging configuration. ", - ] - `); - }); - it('warns when verbose is used', () => { - const { messages } = applyCoreDeprecations({ - logging: { verbose: true }, - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"logging.verbose\\" has been deprecated and will be removed in 8.0. Moving forward, you can use \\"logging.root.level:all\\" in your logging configuration. ", - ] - `); - }); - }); - - describe('logging.json', () => { - it('warns when json is used', () => { - const { messages } = applyCoreDeprecations({ - logging: { json: true }, - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"logging.json\\" has been deprecated and will be removed in 8.0. To specify log message format moving forward, you can configure the \\"appender.layout\\" property for every custom appender in your logging configuration. There is currently no default layout for custom appenders and each one must be declared explicitly. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx", - ] - `); - }); - }); - - describe('logging.rotate.enabled, logging.rotate.usePolling, logging.rotate.pollingInterval, logging.rotate.everyBytes and logging.rotate.keepFiles', () => { - it('warns when logging.rotate configurations are used', () => { - const { messages } = applyCoreDeprecations({ - logging: { rotate: { enabled: true } }, - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"logging.rotate\\" and sub-options have been deprecated and will be removed in 8.0. Moving forward, you can enable log rotation using the \\"rolling-file\\" appender for a logger in your logging configuration. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#rolling-file-appender", - ] - `); - }); - - it('warns when logging.rotate polling configurations are used', () => { - const { messages } = applyCoreDeprecations({ - logging: { rotate: { enabled: true, usePolling: true, pollingInterval: 5000 } }, - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"logging.rotate\\" and sub-options have been deprecated and will be removed in 8.0. Moving forward, you can enable log rotation using the \\"rolling-file\\" appender for a logger in your logging configuration. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#rolling-file-appender", - ] - `); - }); - - it('warns when logging.rotate.everyBytes configurations are used', () => { - const { messages } = applyCoreDeprecations({ - logging: { rotate: { enabled: true, everyBytes: 1048576 } }, - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"logging.rotate\\" and sub-options have been deprecated and will be removed in 8.0. Moving forward, you can enable log rotation using the \\"rolling-file\\" appender for a logger in your logging configuration. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#rolling-file-appender", - ] - `); - }); - - it('warns when logging.rotate.keepFiles is used', () => { - const { messages } = applyCoreDeprecations({ - logging: { rotate: { enabled: true, keepFiles: 1024 } }, - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"logging.rotate\\" and sub-options have been deprecated and will be removed in 8.0. Moving forward, you can enable log rotation using the \\"rolling-file\\" appender for a logger in your logging configuration. For more details, see https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#rolling-file-appender", - ] - `); - }); - }); - - describe('logging.events.log', () => { - it('warns when events.log is used', () => { - const { messages } = applyCoreDeprecations({ - logging: { events: { log: ['info'] } }, - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"logging.events.log\\" has been deprecated and will be removed in 8.0. Moving forward, log levels can be customized on a per-logger basis using the new logging configuration.", - ] - `); - }); - }); - - describe('logging.events.error', () => { - it('warns when events.error is used', () => { - const { messages } = applyCoreDeprecations({ - logging: { events: { error: ['some error'] } }, - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"logging.events.error\\" has been deprecated and will be removed in 8.0. Moving forward, you can use \\"logging.root.level: error\\" in your logging configuration.", - ] - `); - }); - }); - - describe('logging.filter', () => { - it('warns when filter.cookie is used', () => { - const { messages } = applyCoreDeprecations({ - logging: { filter: { cookie: 'none' } }, - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"logging.filter\\" has been deprecated and will be removed in 8.0.", - ] - `); - }); - - it('warns when filter.authorization is used', () => { - const { messages } = applyCoreDeprecations({ - logging: { filter: { authorization: 'none' } }, - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"logging.filter\\" has been deprecated and will be removed in 8.0.", - ] - `); - }); - }); }); diff --git a/src/core/server/config/deprecation/core_deprecations.ts b/src/core/server/config/deprecation/core_deprecations.ts index 6e7365d0d5cbf..4e5f711fe9f3a 100644 --- a/src/core/server/config/deprecation/core_deprecations.ts +++ b/src/core/server/config/deprecation/core_deprecations.ts @@ -8,19 +8,6 @@ import { ConfigDeprecationProvider, ConfigDeprecation } from '@kbn/config'; -const kibanaPathConf: ConfigDeprecation = (settings, fromPath, addDeprecation) => { - if (process.env?.KIBANA_PATH_CONF) { - addDeprecation({ - message: `Environment variable "KIBANA_PATH_CONF" is deprecated. It has been replaced with "KBN_PATH_CONF" pointing to a config folder`, - correctiveActions: { - manualSteps: [ - 'Use "KBN_PATH_CONF" instead of "KIBANA_PATH_CONF" to point to a config folder.', - ], - }, - }); - } -}; - const rewriteBasePathDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { if (settings.server?.basePath && !settings.server?.rewriteBasePath) { addDeprecation({ @@ -44,6 +31,7 @@ const rewriteCorsSettings: ConfigDeprecation = (settings, fromPath, addDeprecati if (typeof corsSettings === 'boolean') { addDeprecation({ message: '"server.cors" is deprecated and has been replaced by "server.cors.enabled"', + level: 'warning', correctiveActions: { manualSteps: [ `Replace "server.cors: ${corsSettings}" with "server.cors.enabled: ${corsSettings}"`, @@ -113,263 +101,8 @@ const cspRulesDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecati } }; -const opsLoggingEventDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { - if (settings.logging?.events?.ops) { - addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingevents', - message: - '"logging.events.ops" has been deprecated and will be removed ' + - 'in 8.0. To access ops data moving forward, please enable debug logs for the ' + - '"metrics.ops" context in your logging configuration. For more details, see ' + - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx', - correctiveActions: { - manualSteps: [ - `Remove "logging.events.ops" from your kibana settings.`, - `Enable debug logs for the "metrics.ops" context in your logging configuration`, - ], - }, - }); - } -}; - -const requestLoggingEventDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { - if (settings.logging?.events?.request || settings.logging?.events?.response) { - const removeConfigsSteps = []; - - if (settings.logging?.events?.request) { - removeConfigsSteps.push(`Remove "logging.events.request" from your kibana configs.`); - } - - if (settings.logging?.events?.response) { - removeConfigsSteps.push(`Remove "logging.events.response" from your kibana configs.`); - } - - addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingevents', - message: - '"logging.events.request" and "logging.events.response" have been deprecated and will be removed ' + - 'in 8.0. To access request and/or response data moving forward, please enable debug logs for the ' + - '"http.server.response" context in your logging configuration. For more details, see ' + - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx', - correctiveActions: { - manualSteps: [ - ...removeConfigsSteps, - `enable debug logs for the "http.server.response" context in your logging configuration.`, - ], - }, - }); - } -}; - -const timezoneLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { - if (settings.logging?.timezone) { - addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingtimezone', - message: - '"logging.timezone" has been deprecated and will be removed ' + - 'in 8.0. To set the timezone moving forward, please add a timezone date modifier to the log pattern ' + - 'in your logging configuration. For more details, see ' + - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx', - correctiveActions: { - manualSteps: [ - `Remove "logging.timezone" from your kibana configs.`, - `To set the timezone add a timezone date modifier to the log pattern in your logging configuration.`, - ], - }, - }); - } -}; - -const destLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { - if (settings.logging?.dest) { - addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingdest', - message: - '"logging.dest" has been deprecated and will be removed ' + - 'in 8.0. To set the destination moving forward, you can use the "console" appender ' + - 'in your logging configuration or define a custom one. For more details, see ' + - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx', - correctiveActions: { - manualSteps: [ - `Remove "logging.dest" from your kibana configs.`, - `To set the destination use the "console" appender in your logging configuration or define a custom one.`, - ], - }, - }); - } -}; - -const quietLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { - if (settings.logging?.quiet) { - addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingquiet', - message: - '"logging.quiet" has been deprecated and will be removed ' + - 'in 8.0. Moving forward, you can use "logging.root.level:error" in your logging configuration. ', - correctiveActions: { - manualSteps: [ - `Remove "logging.quiet" from your kibana configs.`, - `Use "logging.root.level:error" in your logging configuration.`, - ], - }, - }); - } -}; - -const silentLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { - if (settings.logging?.silent) { - addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingsilent', - message: - '"logging.silent" has been deprecated and will be removed ' + - 'in 8.0. Moving forward, you can use "logging.root.level:off" in your logging configuration. ', - correctiveActions: { - manualSteps: [ - `Remove "logging.silent" from your kibana configs.`, - `Use "logging.root.level:off" in your logging configuration.`, - ], - }, - }); - } -}; - -const verboseLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { - if (settings.logging?.verbose) { - addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingverbose', - message: - '"logging.verbose" has been deprecated and will be removed ' + - 'in 8.0. Moving forward, you can use "logging.root.level:all" in your logging configuration. ', - correctiveActions: { - manualSteps: [ - `Remove "logging.verbose" from your kibana configs.`, - `Use "logging.root.level:all" in your logging configuration.`, - ], - }, - }); - } -}; - -const jsonLoggingDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { - // We silence the deprecation warning when running in development mode because - // the dev CLI code in src/dev/cli_dev_mode/using_server_process.ts manually - // specifies `--logging.json=false`. Since it's executed in a child process, the - // ` legacyLoggingConfigSchema` returns `true` for the TTY check on `process.stdout.isTTY` - if (settings.logging?.json && settings.env !== 'development') { - addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx', - message: - '"logging.json" has been deprecated and will be removed ' + - 'in 8.0. To specify log message format moving forward, ' + - 'you can configure the "appender.layout" property for every custom appender in your logging configuration. ' + - 'There is currently no default layout for custom appenders and each one must be declared explicitly. ' + - 'For more details, see ' + - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx', - correctiveActions: { - manualSteps: [ - `Remove "logging.json" from your kibana configs.`, - `Configure the "appender.layout" property for every custom appender in your logging configuration.`, - ], - }, - }); - } -}; - -const logRotateDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { - if (settings.logging?.rotate) { - addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#rolling-file-appender', - message: - '"logging.rotate" and sub-options have been deprecated and will be removed in 8.0. ' + - 'Moving forward, you can enable log rotation using the "rolling-file" appender for a logger ' + - 'in your logging configuration. For more details, see ' + - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#rolling-file-appender', - correctiveActions: { - manualSteps: [ - `Remove "logging.rotate" from your kibana configs.`, - `Enable log rotation using the "rolling-file" appender for a logger in your logging configuration.`, - ], - }, - }); - } -}; - -const logEventsLogDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { - if (settings.logging?.events?.log) { - addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingevents', - message: - '"logging.events.log" has been deprecated and will be removed ' + - 'in 8.0. Moving forward, log levels can be customized on a per-logger basis using the new logging configuration.', - correctiveActions: { - manualSteps: [ - `Remove "logging.events.log" from your kibana configs.`, - `Customize log levels can be per-logger using the new logging configuration.`, - ], - }, - }); - } -}; - -const logEventsErrorDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { - if (settings.logging?.events?.error) { - addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingevents', - message: - '"logging.events.error" has been deprecated and will be removed ' + - 'in 8.0. Moving forward, you can use "logging.root.level: error" in your logging configuration.', - correctiveActions: { - manualSteps: [ - `Remove "logging.events.error" from your kibana configs.`, - `Use "logging.root.level: error" in your logging configuration.`, - ], - }, - }); - } -}; - -const logFilterDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { - if (settings.logging?.filter) { - addDeprecation({ - documentationUrl: - 'https://github.com/elastic/kibana/blob/master/src/core/server/logging/README.mdx#loggingfilter', - message: '"logging.filter" has been deprecated and will be removed in 8.0.', - correctiveActions: { - manualSteps: [`Remove "logging.filter" from your kibana configs.`], - }, - }); - } -}; - export const coreDeprecationProvider: ConfigDeprecationProvider = ({ rename, unusedFromRoot }) => [ - rename('cpu.cgroup.path.override', 'ops.cGroupOverrides.cpuPath'), - rename('cpuacct.cgroup.path.override', 'ops.cGroupOverrides.cpuAcctPath'), - rename('server.xsrf.whitelist', 'server.xsrf.allowlist'), rewriteCorsSettings, - kibanaPathConf, rewriteBasePathDeprecation, cspRulesDeprecation, - opsLoggingEventDeprecation, - requestLoggingEventDeprecation, - timezoneLoggingDeprecation, - destLoggingDeprecation, - quietLoggingDeprecation, - silentLoggingDeprecation, - verboseLoggingDeprecation, - jsonLoggingDeprecation, - logRotateDeprecation, - logEventsLogDeprecation, - logEventsErrorDeprecation, - logFilterDeprecation, ]; diff --git a/src/core/server/config/index.ts b/src/core/server/config/index.ts index 686564c6d678a..62e8ad755795f 100644 --- a/src/core/server/config/index.ts +++ b/src/core/server/config/index.ts @@ -25,10 +25,10 @@ export type { ConfigPath, CliArgs, ConfigDeprecation, + ConfigDeprecationContext, AddConfigDeprecation, ConfigDeprecationProvider, ConfigDeprecationFactory, EnvironmentMode, PackageInfo, - LegacyObjectToConfigAdapter, } from '@kbn/config'; diff --git a/src/core/server/config/integration_tests/config_deprecation.test.ts b/src/core/server/config/integration_tests/config_deprecation.test.ts index 0138c6e7ef154..5036fa4742b59 100644 --- a/src/core/server/config/integration_tests/config_deprecation.test.ts +++ b/src/core/server/config/integration_tests/config_deprecation.test.ts @@ -23,17 +23,13 @@ describe('configuration deprecations', () => { } }); - it('should not log deprecation warnings for default configuration that is not one of `logging.verbose`, `logging.quiet` or `logging.silent`', async () => { + it('should not log deprecation warnings for default configuration', async () => { root = kbnTestServer.createRoot(); await root.preboot(); await root.setup(); const logs = loggingSystemMock.collect(mockLoggingSystem); - expect(logs.warn.flat()).toMatchInlineSnapshot(` - Array [ - "\\"logging.silent\\" has been deprecated and will be removed in 8.0. Moving forward, you can use \\"logging.root.level:off\\" in your logging configuration. ", - ] - `); + expect(logs.warn.flat()).toHaveLength(0); }); }); diff --git a/src/core/server/config/mocks.ts b/src/core/server/config/mocks.ts index 46f6c3e95cefb..1ac4ea745aeec 100644 --- a/src/core/server/config/mocks.ts +++ b/src/core/server/config/mocks.ts @@ -11,6 +11,7 @@ import type { rawConfigServiceMock as rawConfigServiceMockTyped, configServiceMock as configServiceMockTyped, configMock as configMockTyped, + configDeprecationsMock as configDeprecationsMockTyped, } from '@kbn/config/target_types/mocks'; import { @@ -18,6 +19,7 @@ import { rawConfigServiceMock as rawConfigServiceMockNonTyped, configServiceMock as configServiceMockNonTyped, configMock as configMockNonTyped, + configDeprecationsMock as configDeprecationsMockNonTyped, // @ts-expect-error } from '@kbn/config/target_node/mocks'; @@ -25,5 +27,12 @@ const getEnvOptions: typeof getEnvOptionsTyped = getEnvOptionsNonTyped; const rawConfigServiceMock: typeof rawConfigServiceMockTyped = rawConfigServiceMockNonTyped; const configServiceMock: typeof configServiceMockTyped = configServiceMockNonTyped; const configMock: typeof configMockTyped = configMockNonTyped; +const configDeprecationsMock: typeof configDeprecationsMockTyped = configDeprecationsMockNonTyped; -export { getEnvOptions, rawConfigServiceMock, configServiceMock, configMock }; +export { + getEnvOptions, + rawConfigServiceMock, + configServiceMock, + configMock, + configDeprecationsMock, +}; diff --git a/src/core/server/config/test_utils.ts b/src/core/server/config/test_utils.ts index e3f9ca7eb29f2..f4d452005fbe4 100644 --- a/src/core/server/config/test_utils.ts +++ b/src/core/server/config/test_utils.ts @@ -6,28 +6,37 @@ * Side Public License, v 1. */ import { set } from '@elastic/safer-lodash-set'; -import type { ConfigDeprecationProvider } from '@kbn/config'; +import type { ConfigDeprecationProvider, ConfigDeprecationContext } from '@kbn/config'; import { configDeprecationFactory, applyDeprecations } from '@kbn/config'; +import { configDeprecationsMock } from './mocks'; + +const defaultContext = configDeprecationsMock.createContext(); function collectDeprecations( provider: ConfigDeprecationProvider, settings: Record, - path: string + path: string, + context: ConfigDeprecationContext = defaultContext ) { const deprecations = provider(configDeprecationFactory); const deprecationMessages: string[] = []; + const deprecationLevels: string[] = []; const { config: migrated } = applyDeprecations( settings, deprecations.map((deprecation) => ({ deprecation, path, + context, })), () => - ({ message }) => - deprecationMessages.push(message) + ({ message, level }) => { + deprecationMessages.push(message); + deprecationLevels.push(level ?? ''); + } ); return { messages: deprecationMessages, + levels: deprecationLevels, migrated, }; } diff --git a/src/core/server/deprecations/types.ts b/src/core/server/deprecations/types.ts index c924cacd02e28..7e276514a64d3 100644 --- a/src/core/server/deprecations/types.ts +++ b/src/core/server/deprecations/types.ts @@ -11,10 +11,16 @@ import type { IScopedClusterClient } from '../elasticsearch'; type MaybePromise = T | Promise; +/** + * @internal + */ export interface DomainDeprecationDetails extends DeprecationsDetails { domainId: string; } +/** + * @public + */ export interface DeprecationsDetails { /** * The title of the deprecation. @@ -43,11 +49,11 @@ export interface DeprecationsDetails { * across kibana deprecations. */ deprecationType?: 'config' | 'feature'; - /* (optional) link to the documentation for more details on the deprecation. */ + /** (optional) link to the documentation for more details on the deprecation. */ documentationUrl?: string; - /* (optional) specify the fix for this deprecation requires a full kibana restart. */ + /** (optional) specify the fix for this deprecation requires a full kibana restart. */ requireRestart?: boolean; - /* corrective action needed to fix this deprecation. */ + /** corrective action needed to fix this deprecation. */ correctiveActions: { /** * (optional) The api to be called to automatically fix the deprecation @@ -55,11 +61,11 @@ export interface DeprecationsDetails { * handle their deprecations. */ api?: { - /* Kibana route path. Passing a query string is allowed */ + /** Kibana route path. Passing a query string is allowed */ path: string; - /* Kibana route method: 'POST' or 'PUT'. */ + /** Kibana route method: 'POST' or 'PUT'. */ method: 'POST' | 'PUT'; - /* Additional details to be passed to the route. */ + /** Additional details to be passed to the route. */ body?: { [key: string]: any; }; @@ -74,15 +80,24 @@ export interface DeprecationsDetails { }; } +/** + * @public + */ export interface RegisterDeprecationsConfig { getDeprecations: (context: GetDeprecationsContext) => MaybePromise; } +/** + * @public + */ export interface GetDeprecationsContext { esClient: IScopedClusterClient; savedObjectsClient: SavedObjectsClientContract; } +/** + * @public + */ export interface DeprecationsGetResponse { deprecations: DomainDeprecationDetails[]; } diff --git a/src/core/server/elasticsearch/client/client_config.test.ts b/src/core/server/elasticsearch/client/client_config.test.ts index 7956bcc64ea2f..af8e2d64cb6a2 100644 --- a/src/core/server/elasticsearch/client/client_config.test.ts +++ b/src/core/server/elasticsearch/client/client_config.test.ts @@ -37,6 +37,19 @@ describe('parseClientOptions', () => { ); }); + it('specifies `headers.maxSockets` Infinity and `keepAlive` true by default', () => { + const config = createConfig({}); + + expect(parseClientOptions(config, false)).toEqual( + expect.objectContaining({ + agent: { + keepAlive: true, + maxSockets: Infinity, + }, + }) + ); + }); + describe('basic options', () => { it('`customHeaders` option', () => { const config = createConfig({ @@ -76,11 +89,21 @@ describe('parseClientOptions', () => { ); }); - it('`keepAlive` option', () => { - expect(parseClientOptions(createConfig({ keepAlive: true }), false)).toEqual( - expect.objectContaining({ agent: { keepAlive: true } }) - ); - expect(parseClientOptions(createConfig({ keepAlive: false }), false).agent).toBeUndefined(); + describe('`keepAlive option`', () => { + it('`keepAlive` is true', () => { + const options = parseClientOptions(createConfig({ keepAlive: true }), false); + expect(options.agent).toHaveProperty('keepAlive', true); + }); + + it('`keepAlive` is false', () => { + const options = parseClientOptions(createConfig({ keepAlive: false }), false); + expect(options.agent).toHaveProperty('keepAlive', false); + }); + + it('`keepAlive` is undefined', () => { + const options = parseClientOptions(createConfig({}), false); + expect(options.agent).toHaveProperty('keepAlive', true); + }); }); it('`sniffOnStart` options', () => { diff --git a/src/core/server/elasticsearch/client/client_config.ts b/src/core/server/elasticsearch/client/client_config.ts index a6b0891fc12dd..24c48012346da 100644 --- a/src/core/server/elasticsearch/client/client_config.ts +++ b/src/core/server/elasticsearch/client/client_config.ts @@ -59,6 +59,10 @@ export function parseClientOptions( // do not make assumption on user-supplied data content // fixes https://github.com/elastic/kibana/issues/101944 disablePrototypePoisoningProtection: true, + agent: { + maxSockets: Infinity, + keepAlive: config.keepAlive ?? true, + }, }; if (config.pingTimeout != null) { @@ -73,11 +77,6 @@ export function parseClientOptions( ? config.sniffInterval : getDurationAsMs(config.sniffInterval); } - if (config.keepAlive) { - clientOptions.agent = { - keepAlive: config.keepAlive, - }; - } if (!scoped) { if (config.username && config.password) { diff --git a/src/core/server/elasticsearch/elasticsearch_config.ts b/src/core/server/elasticsearch/elasticsearch_config.ts index 995b3ffbd947d..7470ff7081717 100644 --- a/src/core/server/elasticsearch/elasticsearch_config.ts +++ b/src/core/server/elasticsearch/elasticsearch_config.ts @@ -211,7 +211,7 @@ const deprecations: ConfigDeprecationProvider = () => [ }); } else if (es.logQueries === true) { addDeprecation({ - message: `Setting [${fromPath}.logQueries] is deprecated and no longer used. You should set the log level to "debug" for the "elasticsearch.queries" context in "logging.loggers" or use "logging.verbose: true".`, + message: `Setting [${fromPath}.logQueries] is deprecated and no longer used. You should set the log level to "debug" for the "elasticsearch.queries" context in "logging.loggers".`, correctiveActions: { manualSteps: [ `Remove Setting [${fromPath}.logQueries] from your kibana configs`, diff --git a/src/core/server/http/integration_tests/logging.test.ts b/src/core/server/http/integration_tests/logging.test.ts index 12d555a240cde..20e0175d4b19d 100644 --- a/src/core/server/http/integration_tests/logging.test.ts +++ b/src/core/server/http/integration_tests/logging.test.ts @@ -51,7 +51,6 @@ describe('request logging', () => { it('logs at the correct level and with the correct context', async () => { const root = kbnTestServer.createRoot({ logging: { - silent: true, appenders: { 'test-console': { type: 'console', @@ -99,7 +98,6 @@ describe('request logging', () => { let root: ReturnType; const config = { logging: { - silent: true, appenders: { 'test-console': { type: 'console', @@ -300,7 +298,6 @@ describe('request logging', () => { it('filters sensitive request headers when RewriteAppender is configured', async () => { root = kbnTestServer.createRoot({ logging: { - silent: true, appenders: { 'test-console': { type: 'console', @@ -402,7 +399,6 @@ describe('request logging', () => { it('filters sensitive response headers when RewriteAppender is configured', async () => { root = kbnTestServer.createRoot({ logging: { - silent: true, appenders: { 'test-console': { type: 'console', diff --git a/src/core/server/index.ts b/src/core/server/index.ts index 110ac4d5bd973..2e46e8f68570c 100644 --- a/src/core/server/index.ts +++ b/src/core/server/index.ts @@ -96,6 +96,7 @@ export type { ConfigPath, ConfigService, ConfigDeprecation, + ConfigDeprecationContext, ConfigDeprecationProvider, ConfigDeprecationFactory, AddConfigDeprecation, diff --git a/src/core/server/legacy/integration_tests/logging.test.ts b/src/core/server/legacy/integration_tests/logging.test.ts deleted file mode 100644 index a79e434ce4576..0000000000000 --- a/src/core/server/legacy/integration_tests/logging.test.ts +++ /dev/null @@ -1,234 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { LegacyLoggingConfig } from '@kbn/config'; -import * as kbnTestServer from '../../../test_helpers/kbn_server'; - -import { - getPlatformLogsFromMock, - getLegacyPlatformLogsFromMock, -} from '../../logging/integration_tests/utils'; - -function createRoot(legacyLoggingConfig: LegacyLoggingConfig = {}) { - return kbnTestServer.createRoot({ - migrations: { skip: true }, // otherwise stuck in polling ES - plugins: { initialize: false }, - elasticsearch: { skipStartupConnectionCheck: true }, - logging: { - // legacy platform config - silent: false, - json: false, - ...legacyLoggingConfig, - events: { - log: ['test-file-legacy'], - }, - // platform config - appenders: { - 'test-console': { - type: 'console', - layout: { - highlight: false, - type: 'pattern', - }, - }, - }, - loggers: [ - { - name: 'test-file', - appenders: ['test-console'], - level: 'info', - }, - ], - }, - }); -} - -describe('logging service', () => { - let mockConsoleLog: jest.SpyInstance; - let mockStdout: jest.SpyInstance; - - beforeAll(async () => { - mockConsoleLog = jest.spyOn(global.console, 'log'); - mockStdout = jest.spyOn(global.process.stdout, 'write'); - }); - - afterAll(async () => { - mockConsoleLog.mockRestore(); - mockStdout.mockRestore(); - }); - - describe('compatibility', () => { - describe('uses configured loggers', () => { - let root: ReturnType; - beforeAll(async () => { - root = createRoot(); - - await root.preboot(); - await root.setup(); - await root.start(); - }, 30000); - - afterAll(async () => { - await root.shutdown(); - }); - - beforeEach(() => { - mockConsoleLog.mockClear(); - mockStdout.mockClear(); - }); - - it('when context matches', async () => { - root.logger.get('test-file').info('handled by NP'); - - expect(mockConsoleLog).toHaveBeenCalledTimes(1); - const loggedString = getPlatformLogsFromMock(mockConsoleLog); - expect(loggedString).toMatchInlineSnapshot(` - Array [ - "[xxxx-xx-xxTxx:xx:xx.xxx-xx:xx][INFO ][test-file] handled by NP", - ] - `); - }); - - it('falls back to the root legacy logger otherwise', async () => { - root.logger.get('test-file-legacy').info('handled by LP'); - - expect(mockStdout).toHaveBeenCalledTimes(1); - - const loggedString = getLegacyPlatformLogsFromMock(mockStdout); - expect(loggedString).toMatchInlineSnapshot(` - Array [ - " log [xx:xx:xx.xxx] [info][test-file-legacy] handled by LP - ", - ] - `); - }); - }); - - describe('logging config respects legacy logging settings', () => { - let root: ReturnType; - - afterEach(async () => { - mockConsoleLog.mockClear(); - mockStdout.mockClear(); - await root.shutdown(); - }); - - it('"silent": true', async () => { - root = createRoot({ silent: true }); - - await root.preboot(); - await root.setup(); - await root.start(); - - const platformLogger = root.logger.get('test-file'); - platformLogger.info('info'); - platformLogger.warn('warn'); - platformLogger.error('error'); - - expect(mockConsoleLog).toHaveBeenCalledTimes(3); - - expect(getPlatformLogsFromMock(mockConsoleLog)).toMatchInlineSnapshot(` - Array [ - "[xxxx-xx-xxTxx:xx:xx.xxx-xx:xx][INFO ][test-file] info", - "[xxxx-xx-xxTxx:xx:xx.xxx-xx:xx][WARN ][test-file] warn", - "[xxxx-xx-xxTxx:xx:xx.xxx-xx:xx][ERROR][test-file] error", - ] - `); - - mockStdout.mockClear(); - - const legacyPlatformLogger = root.logger.get('test-file-legacy'); - legacyPlatformLogger.info('info'); - legacyPlatformLogger.warn('warn'); - legacyPlatformLogger.error('error'); - - expect(mockStdout).toHaveBeenCalledTimes(0); - }); - - it('"quiet": true', async () => { - root = createRoot({ quiet: true }); - - await root.preboot(); - await root.setup(); - await root.start(); - - const platformLogger = root.logger.get('test-file'); - platformLogger.info('info'); - platformLogger.warn('warn'); - platformLogger.error('error'); - - expect(mockConsoleLog).toHaveBeenCalledTimes(3); - - expect(getPlatformLogsFromMock(mockConsoleLog)).toMatchInlineSnapshot(` - Array [ - "[xxxx-xx-xxTxx:xx:xx.xxx-xx:xx][INFO ][test-file] info", - "[xxxx-xx-xxTxx:xx:xx.xxx-xx:xx][WARN ][test-file] warn", - "[xxxx-xx-xxTxx:xx:xx.xxx-xx:xx][ERROR][test-file] error", - ] - `); - - mockStdout.mockClear(); - - const legacyPlatformLogger = root.logger.get('test-file-legacy'); - legacyPlatformLogger.info('info'); - legacyPlatformLogger.warn('warn'); - legacyPlatformLogger.error('error'); - - expect(mockStdout).toHaveBeenCalledTimes(1); - expect(getLegacyPlatformLogsFromMock(mockStdout)).toMatchInlineSnapshot(` - Array [ - " log [xx:xx:xx.xxx] [error][test-file-legacy] error - ", - ] - `); - }); - - it('"verbose": true', async () => { - root = createRoot({ verbose: true }); - - await root.preboot(); - await root.setup(); - await root.start(); - - const platformLogger = root.logger.get('test-file'); - platformLogger.info('info'); - platformLogger.warn('warn'); - platformLogger.error('error'); - - expect(mockConsoleLog).toHaveBeenCalledTimes(3); - - expect(getPlatformLogsFromMock(mockConsoleLog)).toMatchInlineSnapshot(` - Array [ - "[xxxx-xx-xxTxx:xx:xx.xxx-xx:xx][INFO ][test-file] info", - "[xxxx-xx-xxTxx:xx:xx.xxx-xx:xx][WARN ][test-file] warn", - "[xxxx-xx-xxTxx:xx:xx.xxx-xx:xx][ERROR][test-file] error", - ] - `); - - mockStdout.mockClear(); - - const legacyPlatformLogger = root.logger.get('test-file-legacy'); - legacyPlatformLogger.info('info'); - legacyPlatformLogger.warn('warn'); - legacyPlatformLogger.error('error'); - - expect(mockStdout).toHaveBeenCalledTimes(3); - expect(getLegacyPlatformLogsFromMock(mockStdout)).toMatchInlineSnapshot(` - Array [ - " log [xx:xx:xx.xxx] [info][test-file-legacy] info - ", - " log [xx:xx:xx.xxx] [warning][test-file-legacy] warn - ", - " log [xx:xx:xx.xxx] [error][test-file-legacy] error - ", - ] - `); - }); - }); - }); -}); diff --git a/src/core/server/legacy/legacy_service.mock.ts b/src/core/server/legacy/legacy_service.mock.ts deleted file mode 100644 index 0d72318a630e0..0000000000000 --- a/src/core/server/legacy/legacy_service.mock.ts +++ /dev/null @@ -1,21 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import type { PublicMethodsOf } from '@kbn/utility-types'; -import { LegacyService } from './legacy_service'; - -type LegacyServiceMock = jest.Mocked>; - -const createLegacyServiceMock = (): LegacyServiceMock => ({ - setup: jest.fn(), - stop: jest.fn(), -}); - -export const legacyServiceMock = { - create: createLegacyServiceMock, -}; diff --git a/src/core/server/legacy/legacy_service.test.mocks.ts b/src/core/server/legacy/legacy_service.test.mocks.ts deleted file mode 100644 index 506f0fd6f96d3..0000000000000 --- a/src/core/server/legacy/legacy_service.test.mocks.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -export const reconfigureLoggingMock = jest.fn(); -export const setupLoggingMock = jest.fn(); -export const setupLoggingRotateMock = jest.fn(); - -jest.doMock('@kbn/legacy-logging', () => ({ - ...(jest.requireActual('@kbn/legacy-logging') as any), - reconfigureLogging: reconfigureLoggingMock, - setupLogging: setupLoggingMock, - setupLoggingRotate: setupLoggingRotateMock, -})); diff --git a/src/core/server/legacy/legacy_service.test.ts b/src/core/server/legacy/legacy_service.test.ts deleted file mode 100644 index 6b20bd7434baf..0000000000000 --- a/src/core/server/legacy/legacy_service.test.ts +++ /dev/null @@ -1,197 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { - setupLoggingMock, - setupLoggingRotateMock, - reconfigureLoggingMock, -} from './legacy_service.test.mocks'; - -import { BehaviorSubject } from 'rxjs'; -import moment from 'moment'; -import { REPO_ROOT } from '@kbn/dev-utils'; - -import { Config, Env, ObjectToConfigAdapter } from '../config'; - -import { getEnvOptions, configServiceMock } from '../config/mocks'; -import { loggingSystemMock } from '../logging/logging_system.mock'; -import { httpServiceMock } from '../http/http_service.mock'; -import { LegacyService, LegacyServiceSetupDeps } from './legacy_service'; - -let coreId: symbol; -let env: Env; -let config$: BehaviorSubject; - -let setupDeps: LegacyServiceSetupDeps; - -const logger = loggingSystemMock.create(); -let configService: ReturnType; - -beforeEach(() => { - coreId = Symbol(); - env = Env.createDefault(REPO_ROOT, getEnvOptions()); - configService = configServiceMock.create(); - - setupDeps = { - http: httpServiceMock.createInternalSetupContract(), - }; - - config$ = new BehaviorSubject( - new ObjectToConfigAdapter({ - elasticsearch: { hosts: ['http://127.0.0.1'] }, - server: { autoListen: true }, - }) - ); - - configService.getConfig$.mockReturnValue(config$); -}); - -afterEach(() => { - jest.clearAllMocks(); - setupLoggingMock.mockReset(); - setupLoggingRotateMock.mockReset(); - reconfigureLoggingMock.mockReset(); -}); - -describe('#setup', () => { - it('initializes legacy logging', async () => { - const opsConfig = { - interval: moment.duration(5, 'second'), - }; - const opsConfig$ = new BehaviorSubject(opsConfig); - - const loggingConfig = { - foo: 'bar', - }; - const loggingConfig$ = new BehaviorSubject(loggingConfig); - - configService.atPath.mockImplementation((path) => { - if (path === 'ops') { - return opsConfig$; - } - if (path === 'logging') { - return loggingConfig$; - } - return new BehaviorSubject({}); - }); - - const legacyService = new LegacyService({ - coreId, - env, - logger, - configService: configService as any, - }); - - await legacyService.setup(setupDeps); - - expect(setupLoggingMock).toHaveBeenCalledTimes(1); - expect(setupLoggingMock).toHaveBeenCalledWith( - setupDeps.http.server, - loggingConfig, - opsConfig.interval.asMilliseconds() - ); - - expect(setupLoggingRotateMock).toHaveBeenCalledTimes(1); - expect(setupLoggingRotateMock).toHaveBeenCalledWith(setupDeps.http.server, loggingConfig); - }); - - it('reloads the logging config when the config changes', async () => { - const opsConfig = { - interval: moment.duration(5, 'second'), - }; - const opsConfig$ = new BehaviorSubject(opsConfig); - - const loggingConfig = { - foo: 'bar', - }; - const loggingConfig$ = new BehaviorSubject(loggingConfig); - - configService.atPath.mockImplementation((path) => { - if (path === 'ops') { - return opsConfig$; - } - if (path === 'logging') { - return loggingConfig$; - } - return new BehaviorSubject({}); - }); - - const legacyService = new LegacyService({ - coreId, - env, - logger, - configService: configService as any, - }); - - await legacyService.setup(setupDeps); - - expect(reconfigureLoggingMock).toHaveBeenCalledTimes(1); - expect(reconfigureLoggingMock).toHaveBeenCalledWith( - setupDeps.http.server, - loggingConfig, - opsConfig.interval.asMilliseconds() - ); - - loggingConfig$.next({ - foo: 'changed', - }); - - expect(reconfigureLoggingMock).toHaveBeenCalledTimes(2); - expect(reconfigureLoggingMock).toHaveBeenCalledWith( - setupDeps.http.server, - { foo: 'changed' }, - opsConfig.interval.asMilliseconds() - ); - }); - - it('stops reloading logging config once the service is stopped', async () => { - const opsConfig = { - interval: moment.duration(5, 'second'), - }; - const opsConfig$ = new BehaviorSubject(opsConfig); - - const loggingConfig = { - foo: 'bar', - }; - const loggingConfig$ = new BehaviorSubject(loggingConfig); - - configService.atPath.mockImplementation((path) => { - if (path === 'ops') { - return opsConfig$; - } - if (path === 'logging') { - return loggingConfig$; - } - return new BehaviorSubject({}); - }); - - const legacyService = new LegacyService({ - coreId, - env, - logger, - configService: configService as any, - }); - - await legacyService.setup(setupDeps); - - expect(reconfigureLoggingMock).toHaveBeenCalledTimes(1); - expect(reconfigureLoggingMock).toHaveBeenCalledWith( - setupDeps.http.server, - loggingConfig, - opsConfig.interval.asMilliseconds() - ); - - await legacyService.stop(); - - loggingConfig$.next({ - foo: 'changed', - }); - - expect(reconfigureLoggingMock).toHaveBeenCalledTimes(1); - }); -}); diff --git a/src/core/server/legacy/legacy_service.ts b/src/core/server/legacy/legacy_service.ts deleted file mode 100644 index 1d5343ff5311d..0000000000000 --- a/src/core/server/legacy/legacy_service.ts +++ /dev/null @@ -1,75 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { combineLatest, Observable, Subscription } from 'rxjs'; -import { first } from 'rxjs/operators'; -import { Server } from '@hapi/hapi'; -import type { PublicMethodsOf } from '@kbn/utility-types'; -import { - reconfigureLogging, - setupLogging, - setupLoggingRotate, - LegacyLoggingConfig, -} from '@kbn/legacy-logging'; - -import { CoreContext } from '../core_context'; -import { config as loggingConfig } from '../logging'; -import { opsConfig, OpsConfigType } from '../metrics'; -import { Logger } from '../logging'; -import { InternalHttpServiceSetup } from '../http'; - -export interface LegacyServiceSetupDeps { - http: InternalHttpServiceSetup; -} - -/** @internal */ -export type ILegacyService = PublicMethodsOf; - -/** @internal */ -export class LegacyService { - private readonly log: Logger; - private readonly opsConfig$: Observable; - private readonly legacyLoggingConfig$: Observable; - private configSubscription?: Subscription; - - constructor(coreContext: CoreContext) { - const { logger, configService } = coreContext; - - this.log = logger.get('legacy-service'); - this.legacyLoggingConfig$ = configService.atPath(loggingConfig.path); - this.opsConfig$ = configService.atPath(opsConfig.path); - } - - public async setup(setupDeps: LegacyServiceSetupDeps) { - this.log.debug('setting up legacy service'); - await this.setupLegacyLogging(setupDeps.http.server); - } - - private async setupLegacyLogging(server: Server) { - const legacyLoggingConfig = await this.legacyLoggingConfig$.pipe(first()).toPromise(); - const currentOpsConfig = await this.opsConfig$.pipe(first()).toPromise(); - - await setupLogging(server, legacyLoggingConfig, currentOpsConfig.interval.asMilliseconds()); - await setupLoggingRotate(server, legacyLoggingConfig); - - this.configSubscription = combineLatest([this.legacyLoggingConfig$, this.opsConfig$]).subscribe( - ([newLoggingConfig, newOpsConfig]) => { - reconfigureLogging(server, newLoggingConfig, newOpsConfig.interval.asMilliseconds()); - } - ); - } - - public async stop() { - this.log.debug('stopping legacy service'); - - if (this.configSubscription !== undefined) { - this.configSubscription.unsubscribe(); - this.configSubscription = undefined; - } - } -} diff --git a/src/core/server/legacy/logging/appenders/__snapshots__/legacy_appender.test.ts.snap b/src/core/server/legacy/logging/appenders/__snapshots__/legacy_appender.test.ts.snap deleted file mode 100644 index 3c40362e8211e..0000000000000 --- a/src/core/server/legacy/logging/appenders/__snapshots__/legacy_appender.test.ts.snap +++ /dev/null @@ -1,142 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`\`append()\` correctly pushes records to legacy platform. 1`] = ` -Object { - "context": "context-1", - "level": LogLevel { - "id": "trace", - "value": 7, - }, - "message": "message-1", - "pid": Any, - "timestamp": 2012-02-01T11:22:33.044Z, -} -`; - -exports[`\`append()\` correctly pushes records to legacy platform. 2`] = ` -Object { - "context": "context-2", - "level": LogLevel { - "id": "debug", - "value": 6, - }, - "message": "message-2", - "pid": Any, - "timestamp": 2012-02-01T11:22:33.044Z, -} -`; - -exports[`\`append()\` correctly pushes records to legacy platform. 3`] = ` -Object { - "context": "context-3.sub-context-3", - "level": LogLevel { - "id": "info", - "value": 5, - }, - "message": "message-3", - "pid": Any, - "timestamp": 2012-02-01T11:22:33.044Z, -} -`; - -exports[`\`append()\` correctly pushes records to legacy platform. 4`] = ` -Object { - "context": "context-4.sub-context-4", - "level": LogLevel { - "id": "warn", - "value": 4, - }, - "message": "message-4", - "pid": Any, - "timestamp": 2012-02-01T11:22:33.044Z, -} -`; - -exports[`\`append()\` correctly pushes records to legacy platform. 5`] = ` -Object { - "context": "context-5", - "error": [Error: Some Error], - "level": LogLevel { - "id": "error", - "value": 3, - }, - "message": "message-5-with-error", - "pid": Any, - "timestamp": 2012-02-01T11:22:33.044Z, -} -`; - -exports[`\`append()\` correctly pushes records to legacy platform. 6`] = ` -Object { - "context": "context-6", - "level": LogLevel { - "id": "error", - "value": 3, - }, - "message": "message-6-with-message", - "pid": Any, - "timestamp": 2012-02-01T11:22:33.044Z, -} -`; - -exports[`\`append()\` correctly pushes records to legacy platform. 7`] = ` -Object { - "context": "context-7.sub-context-7.sub-sub-context-7", - "error": [Error: Some Fatal Error], - "level": LogLevel { - "id": "fatal", - "value": 2, - }, - "message": "message-7-with-error", - "pid": Any, - "timestamp": 2012-02-01T11:22:33.044Z, -} -`; - -exports[`\`append()\` correctly pushes records to legacy platform. 8`] = ` -Object { - "context": "context-8.sub-context-8.sub-sub-context-8", - "level": LogLevel { - "id": "fatal", - "value": 2, - }, - "message": "message-8-with-message", - "pid": Any, - "timestamp": 2012-02-01T11:22:33.044Z, -} -`; - -exports[`\`append()\` correctly pushes records to legacy platform. 9`] = ` -Object { - "context": "context-9.sub-context-9", - "level": LogLevel { - "id": "info", - "value": 5, - }, - "message": "message-9-with-message", - "meta": Object { - "someValue": 3, - }, - "pid": Any, - "timestamp": 2012-02-01T11:22:33.044Z, -} -`; - -exports[`\`append()\` correctly pushes records to legacy platform. 10`] = ` -Object { - "context": "context-10.sub-context-10", - "level": LogLevel { - "id": "info", - "value": 5, - }, - "message": "message-10-with-message", - "meta": Object { - "tags": Array [ - "tag1", - "tag2", - ], - }, - "pid": Any, - "timestamp": 2012-02-01T11:22:33.044Z, -} -`; diff --git a/src/core/server/legacy/logging/appenders/legacy_appender.test.ts b/src/core/server/legacy/logging/appenders/legacy_appender.test.ts deleted file mode 100644 index 9213403d72d07..0000000000000 --- a/src/core/server/legacy/logging/appenders/legacy_appender.test.ts +++ /dev/null @@ -1,135 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -jest.mock('@kbn/legacy-logging'); - -import { LogRecord, LogLevel } from '../../../logging'; -import { LegacyLoggingServer } from '@kbn/legacy-logging'; -import { LegacyAppender } from './legacy_appender'; - -afterEach(() => (LegacyLoggingServer as any).mockClear()); - -test('`configSchema` creates correct schema.', () => { - const appenderSchema = LegacyAppender.configSchema; - const validConfig = { type: 'legacy-appender', legacyLoggingConfig: { verbose: true } }; - expect(appenderSchema.validate(validConfig)).toEqual({ - type: 'legacy-appender', - legacyLoggingConfig: { verbose: true }, - }); - - const wrongConfig = { type: 'not-legacy-appender' }; - expect(() => appenderSchema.validate(wrongConfig)).toThrow(); -}); - -test('`append()` correctly pushes records to legacy platform.', () => { - const timestamp = new Date(Date.UTC(2012, 1, 1, 11, 22, 33, 44)); - const records: LogRecord[] = [ - { - context: 'context-1', - level: LogLevel.Trace, - message: 'message-1', - timestamp, - pid: 5355, - }, - { - context: 'context-2', - level: LogLevel.Debug, - message: 'message-2', - timestamp, - pid: 5355, - }, - { - context: 'context-3.sub-context-3', - level: LogLevel.Info, - message: 'message-3', - timestamp, - pid: 5355, - }, - { - context: 'context-4.sub-context-4', - level: LogLevel.Warn, - message: 'message-4', - timestamp, - pid: 5355, - }, - { - context: 'context-5', - error: new Error('Some Error'), - level: LogLevel.Error, - message: 'message-5-with-error', - timestamp, - pid: 5355, - }, - { - context: 'context-6', - level: LogLevel.Error, - message: 'message-6-with-message', - timestamp, - pid: 5355, - }, - { - context: 'context-7.sub-context-7.sub-sub-context-7', - error: new Error('Some Fatal Error'), - level: LogLevel.Fatal, - message: 'message-7-with-error', - timestamp, - pid: 5355, - }, - { - context: 'context-8.sub-context-8.sub-sub-context-8', - level: LogLevel.Fatal, - message: 'message-8-with-message', - timestamp, - pid: 5355, - }, - { - context: 'context-9.sub-context-9', - level: LogLevel.Info, - message: 'message-9-with-message', - timestamp, - pid: 5355, - meta: { someValue: 3 }, - }, - { - context: 'context-10.sub-context-10', - level: LogLevel.Info, - message: 'message-10-with-message', - timestamp, - pid: 5355, - meta: { tags: ['tag1', 'tag2'] }, - }, - ]; - - const appender = new LegacyAppender({ verbose: true }); - for (const record of records) { - appender.append(record); - } - - const [mockLegacyLoggingServerInstance] = (LegacyLoggingServer as any).mock.instances; - expect(mockLegacyLoggingServerInstance.log.mock.calls).toHaveLength(records.length); - records.forEach((r, idx) => { - expect(mockLegacyLoggingServerInstance.log.mock.calls[idx][0]).toMatchSnapshot({ - pid: expect.any(Number), - }); - }); -}); - -test('legacy logging server is correctly created and disposed.', async () => { - const mockRawLegacyLoggingConfig = { verbose: true }; - const appender = new LegacyAppender(mockRawLegacyLoggingConfig); - - expect(LegacyLoggingServer).toHaveBeenCalledTimes(1); - expect(LegacyLoggingServer).toHaveBeenCalledWith(mockRawLegacyLoggingConfig); - - const [mockLegacyLoggingServerInstance] = (LegacyLoggingServer as any).mock.instances; - expect(mockLegacyLoggingServerInstance.stop).not.toHaveBeenCalled(); - - await appender.dispose(); - - expect(mockLegacyLoggingServerInstance.stop).toHaveBeenCalledTimes(1); -}); diff --git a/src/core/server/legacy/logging/appenders/legacy_appender.ts b/src/core/server/legacy/logging/appenders/legacy_appender.ts deleted file mode 100644 index 7e02d00c7b234..0000000000000 --- a/src/core/server/legacy/logging/appenders/legacy_appender.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { schema } from '@kbn/config-schema'; -import { LegacyLoggingServer } from '@kbn/legacy-logging'; -import { DisposableAppender, LogRecord } from '@kbn/logging'; - -export interface LegacyAppenderConfig { - type: 'legacy-appender'; - legacyLoggingConfig?: Record; -} - -/** - * Simple appender that just forwards `LogRecord` to the legacy KbnServer log. - * @internal - */ -export class LegacyAppender implements DisposableAppender { - public static configSchema = schema.object({ - type: schema.literal('legacy-appender'), - legacyLoggingConfig: schema.recordOf(schema.string(), schema.any()), - }); - - /** - * Sets {@link Appender.receiveAllLevels} because legacy does its own filtering based on the legacy logging - * configuration. - */ - public readonly receiveAllLevels = true; - - private readonly loggingServer: LegacyLoggingServer; - - constructor(legacyLoggingConfig: any) { - this.loggingServer = new LegacyLoggingServer(legacyLoggingConfig); - } - - /** - * Forwards `LogRecord` to the legacy platform that will layout and - * write record to the configured destination. - * @param record `LogRecord` instance to forward to. - */ - public append(record: LogRecord) { - this.loggingServer.log(record); - } - - public dispose() { - this.loggingServer.stop(); - } -} diff --git a/src/core/server/logging/README.mdx b/src/core/server/logging/README.mdx index 08e4ed34204c0..11437d1e8df20 100644 --- a/src/core/server/logging/README.mdx +++ b/src/core/server/logging/README.mdx @@ -562,11 +562,6 @@ The log will be less verbose with `warn` level for the `server` context name: ``` ### Logging config migration -Compatibility with the legacy logging system is assured until the end of the `v7` version. -All log messages handled by `root` context are forwarded to the legacy logging service using a `default` appender. If you re-write -root appenders, make sure that it contains `default` appender to provide backward compatibility. -**Note**: If you define an appender for a context name, the log messages for that specific context aren't handled by the -`root` context anymore and not forwarded to the legacy logging service. #### logging.dest By default logs in *stdout*. With new Kibana logging you can use pre-existing `console` appender or diff --git a/src/core/server/logging/__snapshots__/logging_system.test.ts.snap b/src/core/server/logging/__snapshots__/logging_system.test.ts.snap index 851cfd6cf3bcc..49035cdda3915 100644 --- a/src/core/server/logging/__snapshots__/logging_system.test.ts.snap +++ b/src/core/server/logging/__snapshots__/logging_system.test.ts.snap @@ -16,7 +16,7 @@ exports[`asLoggerFactory() only allows to create new loggers. 1`] = ` Object { "@timestamp": "2012-01-30T22:33:22.011-05:00", "ecs": Object { - "version": "1.12.0", + "version": "8.0.0", }, "log": Object { "level": "TRACE", @@ -33,7 +33,7 @@ exports[`asLoggerFactory() only allows to create new loggers. 2`] = ` Object { "@timestamp": "2012-01-30T17:33:22.011-05:00", "ecs": Object { - "version": "1.12.0", + "version": "8.0.0", }, "log": Object { "level": "INFO", @@ -51,7 +51,7 @@ exports[`asLoggerFactory() only allows to create new loggers. 3`] = ` Object { "@timestamp": "2012-01-30T12:33:22.011-05:00", "ecs": Object { - "version": "1.12.0", + "version": "8.0.0", }, "log": Object { "level": "FATAL", @@ -68,7 +68,7 @@ exports[`flushes memory buffer logger and switches to real logger once config is Object { "@timestamp": "2012-02-01T09:33:22.011-05:00", "ecs": Object { - "version": "1.12.0", + "version": "8.0.0", }, "log": Object { "level": "INFO", @@ -86,7 +86,7 @@ exports[`flushes memory buffer logger and switches to real logger once config is Object { "@timestamp": "2012-01-31T23:33:22.011-05:00", "ecs": Object { - "version": "1.12.0", + "version": "8.0.0", }, "log": Object { "level": "INFO", diff --git a/src/core/server/logging/appenders/appenders.test.ts b/src/core/server/logging/appenders/appenders.test.ts index bd32e4061049b..759fcb9546f09 100644 --- a/src/core/server/logging/appenders/appenders.test.ts +++ b/src/core/server/logging/appenders/appenders.test.ts @@ -9,7 +9,6 @@ import { mockCreateLayout } from './appenders.test.mocks'; import { ByteSizeValue } from '@kbn/config-schema'; -import { LegacyAppender } from '../../legacy/logging/appenders/legacy_appender'; import { Appenders } from './appenders'; import { ConsoleAppender } from './console/console_appender'; import { FileAppender } from './file/file_appender'; @@ -68,13 +67,6 @@ test('`create()` creates correct appender.', () => { }); expect(fileAppender).toBeInstanceOf(FileAppender); - const legacyAppender = Appenders.create({ - type: 'legacy-appender', - legacyLoggingConfig: { verbose: true }, - }); - - expect(legacyAppender).toBeInstanceOf(LegacyAppender); - const rollingFileAppender = Appenders.create({ type: 'rolling-file', fileName: 'path', diff --git a/src/core/server/logging/appenders/appenders.ts b/src/core/server/logging/appenders/appenders.ts index 88df355bd5ebe..3e867739aa1c7 100644 --- a/src/core/server/logging/appenders/appenders.ts +++ b/src/core/server/logging/appenders/appenders.ts @@ -10,10 +10,6 @@ import { schema } from '@kbn/config-schema'; import { assertNever } from '@kbn/std'; import { DisposableAppender } from '@kbn/logging'; -import { - LegacyAppender, - LegacyAppenderConfig, -} from '../../legacy/logging/appenders/legacy_appender'; import { Layouts } from '../layouts/layouts'; import { ConsoleAppender, ConsoleAppenderConfig } from './console/console_appender'; import { FileAppender, FileAppenderConfig } from './file/file_appender'; @@ -32,7 +28,6 @@ import { export const appendersSchema = schema.oneOf([ ConsoleAppender.configSchema, FileAppender.configSchema, - LegacyAppender.configSchema, RewriteAppender.configSchema, RollingFileAppender.configSchema, ]); @@ -41,7 +36,6 @@ export const appendersSchema = schema.oneOf([ export type AppenderConfigType = | ConsoleAppenderConfig | FileAppenderConfig - | LegacyAppenderConfig | RewriteAppenderConfig | RollingFileAppenderConfig; @@ -64,8 +58,6 @@ export class Appenders { return new RewriteAppender(config); case 'rolling-file': return new RollingFileAppender(config); - case 'legacy-appender': - return new LegacyAppender(config.legacyLoggingConfig); default: return assertNever(config); diff --git a/src/core/server/logging/integration_tests/logging.test.ts b/src/core/server/logging/integration_tests/logging.test.ts index ade10fc1c0257..ff681222c4f30 100644 --- a/src/core/server/logging/integration_tests/logging.test.ts +++ b/src/core/server/logging/integration_tests/logging.test.ts @@ -14,7 +14,6 @@ import { Subject } from 'rxjs'; function createRoot() { return kbnTestServer.createRoot({ logging: { - silent: true, // set "true" in kbnTestServer appenders: { 'test-console': { type: 'console', diff --git a/src/core/server/logging/integration_tests/rolling_file_appender.test.ts b/src/core/server/logging/integration_tests/rolling_file_appender.test.ts index 83533e29ad12e..dc6a01b80e951 100644 --- a/src/core/server/logging/integration_tests/rolling_file_appender.test.ts +++ b/src/core/server/logging/integration_tests/rolling_file_appender.test.ts @@ -19,7 +19,6 @@ const flush = async () => delay(flushDelay); function createRoot(appenderConfig: any) { return kbnTestServer.createRoot({ logging: { - silent: true, // set "true" in kbnTestServer appenders: { 'rolling-file': appenderConfig, }, diff --git a/src/core/server/logging/layouts/__snapshots__/json_layout.test.ts.snap b/src/core/server/logging/layouts/__snapshots__/json_layout.test.ts.snap index e128651e61b40..48bbb19447411 100644 --- a/src/core/server/logging/layouts/__snapshots__/json_layout.test.ts.snap +++ b/src/core/server/logging/layouts/__snapshots__/json_layout.test.ts.snap @@ -1,13 +1,90 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`\`format()\` correctly formats record. 1`] = `"{\\"ecs\\":{\\"version\\":\\"1.12.0\\"},\\"@timestamp\\":\\"2012-02-01T09:30:22.011-05:00\\",\\"message\\":\\"message-1\\",\\"error\\":{\\"message\\":\\"Some error message\\",\\"type\\":\\"Some error name\\",\\"stack_trace\\":\\"Some error stack\\"},\\"log\\":{\\"level\\":\\"FATAL\\",\\"logger\\":\\"context-1\\"},\\"process\\":{\\"pid\\":5355}}"`; +exports[`\`format()\` correctly formats record and includes correct ECS version. 1`] = ` +Object { + "@timestamp": "2012-02-01T09:30:22.011-05:00", + "error": Object { + "message": "Some error message", + "stack_trace": "Some error stack", + "type": "Some error name", + }, + "log": Object { + "level": "FATAL", + "logger": "context-1", + }, + "message": "message-1", + "process": Object { + "pid": 5355, + }, +} +`; -exports[`\`format()\` correctly formats record. 2`] = `"{\\"ecs\\":{\\"version\\":\\"1.12.0\\"},\\"@timestamp\\":\\"2012-02-01T09:30:22.011-05:00\\",\\"message\\":\\"message-2\\",\\"log\\":{\\"level\\":\\"ERROR\\",\\"logger\\":\\"context-2\\"},\\"process\\":{\\"pid\\":5355}}"`; +exports[`\`format()\` correctly formats record and includes correct ECS version. 2`] = ` +Object { + "@timestamp": "2012-02-01T09:30:22.011-05:00", + "log": Object { + "level": "ERROR", + "logger": "context-2", + }, + "message": "message-2", + "process": Object { + "pid": 5355, + }, +} +`; -exports[`\`format()\` correctly formats record. 3`] = `"{\\"ecs\\":{\\"version\\":\\"1.12.0\\"},\\"@timestamp\\":\\"2012-02-01T09:30:22.011-05:00\\",\\"message\\":\\"message-3\\",\\"log\\":{\\"level\\":\\"WARN\\",\\"logger\\":\\"context-3\\"},\\"process\\":{\\"pid\\":5355}}"`; +exports[`\`format()\` correctly formats record and includes correct ECS version. 3`] = ` +Object { + "@timestamp": "2012-02-01T09:30:22.011-05:00", + "log": Object { + "level": "WARN", + "logger": "context-3", + }, + "message": "message-3", + "process": Object { + "pid": 5355, + }, +} +`; -exports[`\`format()\` correctly formats record. 4`] = `"{\\"ecs\\":{\\"version\\":\\"1.12.0\\"},\\"@timestamp\\":\\"2012-02-01T09:30:22.011-05:00\\",\\"message\\":\\"message-4\\",\\"log\\":{\\"level\\":\\"DEBUG\\",\\"logger\\":\\"context-4\\"},\\"process\\":{\\"pid\\":5355}}"`; +exports[`\`format()\` correctly formats record and includes correct ECS version. 4`] = ` +Object { + "@timestamp": "2012-02-01T09:30:22.011-05:00", + "log": Object { + "level": "DEBUG", + "logger": "context-4", + }, + "message": "message-4", + "process": Object { + "pid": 5355, + }, +} +`; -exports[`\`format()\` correctly formats record. 5`] = `"{\\"ecs\\":{\\"version\\":\\"1.12.0\\"},\\"@timestamp\\":\\"2012-02-01T09:30:22.011-05:00\\",\\"message\\":\\"message-5\\",\\"log\\":{\\"level\\":\\"INFO\\",\\"logger\\":\\"context-5\\"},\\"process\\":{\\"pid\\":5355}}"`; +exports[`\`format()\` correctly formats record and includes correct ECS version. 5`] = ` +Object { + "@timestamp": "2012-02-01T09:30:22.011-05:00", + "log": Object { + "level": "INFO", + "logger": "context-5", + }, + "message": "message-5", + "process": Object { + "pid": 5355, + }, +} +`; -exports[`\`format()\` correctly formats record. 6`] = `"{\\"ecs\\":{\\"version\\":\\"1.12.0\\"},\\"@timestamp\\":\\"2012-02-01T09:30:22.011-05:00\\",\\"message\\":\\"message-6\\",\\"log\\":{\\"level\\":\\"TRACE\\",\\"logger\\":\\"context-6\\"},\\"process\\":{\\"pid\\":5355}}"`; +exports[`\`format()\` correctly formats record and includes correct ECS version. 6`] = ` +Object { + "@timestamp": "2012-02-01T09:30:22.011-05:00", + "log": Object { + "level": "TRACE", + "logger": "context-6", + }, + "message": "message-6", + "process": Object { + "pid": 5355, + }, +} +`; diff --git a/src/core/server/logging/layouts/json_layout.test.ts b/src/core/server/logging/layouts/json_layout.test.ts index 034e2abf46461..56184ebd67aee 100644 --- a/src/core/server/logging/layouts/json_layout.test.ts +++ b/src/core/server/logging/layouts/json_layout.test.ts @@ -66,15 +66,17 @@ test('`createConfigSchema()` creates correct schema.', () => { expect(layoutSchema.validate({ type: 'json' })).toEqual({ type: 'json' }); }); -test('`format()` correctly formats record.', () => { +test('`format()` correctly formats record and includes correct ECS version.', () => { const layout = new JsonLayout(); for (const record of records) { - expect(layout.format(record)).toMatchSnapshot(); + const { ecs, ...restOfRecord } = JSON.parse(layout.format(record)); + expect(ecs).toStrictEqual({ version: '8.0.0' }); + expect(restOfRecord).toMatchSnapshot(); } }); -test('`format()` correctly formats record with meta-data and correct ECS version', () => { +test('`format()` correctly formats record with meta-data', () => { const layout = new JsonLayout(); expect( @@ -94,7 +96,7 @@ test('`format()` correctly formats record with meta-data and correct ECS version }) ) ).toStrictEqual({ - ecs: { version: '1.12.0' }, + ecs: { version: expect.any(String) }, '@timestamp': '2012-02-01T09:30:22.011-05:00', log: { level: 'DEBUG', diff --git a/src/core/server/logging/layouts/json_layout.ts b/src/core/server/logging/layouts/json_layout.ts index 820ed32045f15..f0717f49a6b15 100644 --- a/src/core/server/logging/layouts/json_layout.ts +++ b/src/core/server/logging/layouts/json_layout.ts @@ -43,7 +43,7 @@ export class JsonLayout implements Layout { public format(record: LogRecord): string { const log: Ecs = { - ecs: { version: '1.12.0' }, + ecs: { version: '8.0.0' }, '@timestamp': moment(record.timestamp).format('YYYY-MM-DDTHH:mm:ss.SSSZ'), message: record.message, error: JsonLayout.errorToSerializableObject(record.error), diff --git a/src/core/server/logging/logging_config.test.ts b/src/core/server/logging/logging_config.test.ts index e0004ba992c17..41acd072b295d 100644 --- a/src/core/server/logging/logging_config.test.ts +++ b/src/core/server/logging/logging_config.test.ts @@ -9,35 +9,18 @@ import { LoggingConfig, config } from './logging_config'; test('`schema` creates correct schema with defaults.', () => { - expect(config.schema.validate({})).toMatchInlineSnapshot( - { json: expect.any(Boolean) }, // default value depends on TTY - ` + expect(config.schema.validate({})).toMatchInlineSnapshot(` Object { "appenders": Map {}, - "dest": "stdout", - "events": Object {}, - "filter": Object {}, - "json": Any, "loggers": Array [], - "quiet": false, "root": Object { "appenders": Array [ "default", ], "level": "info", }, - "rotate": Object { - "enabled": false, - "everyBytes": 10485760, - "keepFiles": 7, - "pollingInterval": 10000, - "usePolling": false, - }, - "silent": false, - "verbose": false, } - ` - ); + `); }); test('`schema` throws if `root` logger does not have appenders configured.', () => { @@ -52,16 +35,14 @@ test('`schema` throws if `root` logger does not have appenders configured.', () ); }); -test('`schema` throws if `root` logger does not have "default" appender configured.', () => { +test('`schema` does not throw if `root` logger does not have "default" appender configured.', () => { expect(() => config.schema.validate({ root: { appenders: ['console'], }, }) - ).toThrowErrorMatchingInlineSnapshot( - `"[root]: \\"default\\" appender required for migration period till the next major release"` - ); + ).not.toThrow(); }); test('`getParentLoggerContext()` returns correct parent context name.', () => { diff --git a/src/core/server/logging/logging_config.ts b/src/core/server/logging/logging_config.ts index f5b75d7bb739c..a04506ad9c0f6 100644 --- a/src/core/server/logging/logging_config.ts +++ b/src/core/server/logging/logging_config.ts @@ -7,7 +7,6 @@ */ import { schema, TypeOf } from '@kbn/config-schema'; -import { legacyLoggingConfigSchema } from '@kbn/legacy-logging'; import { AppenderConfigType, Appenders } from './appenders/appenders'; // We need this helper for the types to be correct @@ -58,31 +57,23 @@ export const loggerSchema = schema.object({ /** @public */ export type LoggerConfigType = TypeOf; + export const config = { path: 'logging', - schema: legacyLoggingConfigSchema.extends({ + schema: schema.object({ appenders: schema.mapOf(schema.string(), Appenders.configSchema, { defaultValue: new Map(), }), loggers: schema.arrayOf(loggerSchema, { defaultValue: [], }), - root: schema.object( - { - appenders: schema.arrayOf(schema.string(), { - defaultValue: [DEFAULT_APPENDER_NAME], - minSize: 1, - }), - level: levelSchema, - }, - { - validate(rawConfig) { - if (!rawConfig.appenders.includes(DEFAULT_APPENDER_NAME)) { - return `"${DEFAULT_APPENDER_NAME}" appender required for migration period till the next major release`; - } - }, - } - ), + root: schema.object({ + appenders: schema.arrayOf(schema.string(), { + defaultValue: [DEFAULT_APPENDER_NAME], + minSize: 1, + }), + level: levelSchema, + }), }), }; diff --git a/src/core/server/logging/logging_system.test.ts b/src/core/server/logging/logging_system.test.ts index dd546d4e7eaca..ebe06326f499d 100644 --- a/src/core/server/logging/logging_system.test.ts +++ b/src/core/server/logging/logging_system.test.ts @@ -15,11 +15,6 @@ jest.mock('fs', () => ({ const dynamicProps = { process: { pid: expect.any(Number) } }; -jest.mock('@kbn/legacy-logging', () => ({ - ...(jest.requireActual('@kbn/legacy-logging') as any), - setupLoggingRotate: jest.fn().mockImplementation(() => Promise.resolve({})), -})); - const timestamp = new Date(Date.UTC(2012, 1, 1, 14, 33, 22, 11)); let mockConsoleLog: jest.SpyInstance; diff --git a/src/core/server/mocks.ts b/src/core/server/mocks.ts index f8b56e81ab188..8b4dee45a8e72 100644 --- a/src/core/server/mocks.ts +++ b/src/core/server/mocks.ts @@ -39,7 +39,7 @@ import { deprecationsServiceMock } from './deprecations/deprecations_service.moc import { executionContextServiceMock } from './execution_context/execution_context_service.mock'; import { prebootServiceMock } from './preboot/preboot_service.mock'; -export { configServiceMock } from './config/mocks'; +export { configServiceMock, configDeprecationsMock } from './config/mocks'; export { httpServerMock } from './http/http_server.mocks'; export { httpResourcesMock } from './http_resources/http_resources_service.mock'; export { sessionStorageMock } from './http/cookie_session_storage.mocks'; diff --git a/src/core/server/server.api.md b/src/core/server/server.api.md index 1ef845730e1f3..c92f767ce891d 100644 --- a/src/core/server/server.api.md +++ b/src/core/server/server.api.md @@ -11,6 +11,7 @@ import { ByteSizeValue } from '@kbn/config-schema'; import { CliArgs } from '@kbn/config'; import { ClientOptions } from '@elastic/elasticsearch'; import { ConfigDeprecation } from '@kbn/config'; +import { ConfigDeprecationContext } from '@kbn/config'; import { ConfigDeprecationFactory } from '@kbn/config'; import { ConfigDeprecationProvider } from '@kbn/config'; import { ConfigPath } from '@kbn/config'; @@ -71,12 +72,11 @@ export interface AppCategory { // Warning: (ae-forgotten-export) The symbol "ConsoleAppenderConfig" needs to be exported by the entry point index.d.ts // Warning: (ae-forgotten-export) The symbol "FileAppenderConfig" needs to be exported by the entry point index.d.ts -// Warning: (ae-forgotten-export) The symbol "LegacyAppenderConfig" needs to be exported by the entry point index.d.ts // Warning: (ae-forgotten-export) The symbol "RewriteAppenderConfig" needs to be exported by the entry point index.d.ts // Warning: (ae-forgotten-export) The symbol "RollingFileAppenderConfig" needs to be exported by the entry point index.d.ts // // @public (undocumented) -export type AppenderConfigType = ConsoleAppenderConfig | FileAppenderConfig | LegacyAppenderConfig | RewriteAppenderConfig | RollingFileAppenderConfig; +export type AppenderConfigType = ConsoleAppenderConfig | FileAppenderConfig | RewriteAppenderConfig | RollingFileAppenderConfig; // @public @deprecated export interface AsyncPlugin { @@ -247,6 +247,8 @@ export const config: { export { ConfigDeprecation } +export { ConfigDeprecationContext } + export { ConfigDeprecationFactory } export { ConfigDeprecationProvider } @@ -801,11 +803,8 @@ export interface DeprecationsClient { getAllDeprecations: () => Promise; } -// Warning: (ae-missing-release-tag) "DeprecationsDetails" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// // @public (undocumented) export interface DeprecationsDetails { - // (undocumented) correctiveActions: { api?: { path: string; @@ -817,11 +816,9 @@ export interface DeprecationsDetails { manualSteps: string[]; }; deprecationType?: 'config' | 'feature'; - // (undocumented) documentationUrl?: string; level: 'warning' | 'critical' | 'fetch_error'; message: string; - // (undocumented) requireRestart?: boolean; title: string; } @@ -984,8 +981,6 @@ export type GetAuthState = (request: KibanaRequest) => { state: T; }; -// Warning: (ae-missing-release-tag) "GetDeprecationsContext" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// // @public (undocumented) export interface GetDeprecationsContext { // (undocumented) @@ -1700,8 +1695,6 @@ export type RedirectResponseOptions = HttpResponseOptions & { }; }; -// Warning: (ae-missing-release-tag) "RegisterDeprecationsConfig" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) -// // @public (undocumented) export interface RegisterDeprecationsConfig { // Warning: (ae-forgotten-export) The symbol "MaybePromise" needs to be exported by the entry point index.d.ts diff --git a/src/core/server/server.test.mocks.ts b/src/core/server/server.test.mocks.ts index 47899043dc5a5..c4f420f75b5d1 100644 --- a/src/core/server/server.test.mocks.ts +++ b/src/core/server/server.test.mocks.ts @@ -7,32 +7,30 @@ */ import { httpServiceMock } from './http/http_service.mock'; + export const mockHttpService = httpServiceMock.create(); jest.doMock('./http/http_service', () => ({ HttpService: jest.fn(() => mockHttpService), })); import { pluginServiceMock } from './plugins/plugins_service.mock'; + export const mockPluginsService = pluginServiceMock.create(); jest.doMock('./plugins/plugins_service', () => ({ PluginsService: jest.fn(() => mockPluginsService), })); import { elasticsearchServiceMock } from './elasticsearch/elasticsearch_service.mock'; + export const mockElasticsearchService = elasticsearchServiceMock.create(); jest.doMock('./elasticsearch/elasticsearch_service', () => ({ ElasticsearchService: jest.fn(() => mockElasticsearchService), })); -import { legacyServiceMock } from './legacy/legacy_service.mock'; -export const mockLegacyService = legacyServiceMock.create(); -jest.mock('./legacy/legacy_service', () => ({ - LegacyService: jest.fn(() => mockLegacyService), -})); - const realKbnConfig = jest.requireActual('@kbn/config'); import { configServiceMock } from './config/mocks'; + export const mockConfigService = configServiceMock.create(); jest.doMock('@kbn/config', () => ({ ...realKbnConfig, @@ -40,18 +38,21 @@ jest.doMock('@kbn/config', () => ({ })); import { savedObjectsServiceMock } from './saved_objects/saved_objects_service.mock'; + export const mockSavedObjectsService = savedObjectsServiceMock.create(); jest.doMock('./saved_objects/saved_objects_service', () => ({ SavedObjectsService: jest.fn(() => mockSavedObjectsService), })); import { contextServiceMock } from './context/context_service.mock'; + export const mockContextService = contextServiceMock.create(); jest.doMock('./context/context_service', () => ({ ContextService: jest.fn(() => mockContextService), })); import { uiSettingsServiceMock } from './ui_settings/ui_settings_service.mock'; + export const mockUiSettingsService = uiSettingsServiceMock.create(); jest.doMock('./ui_settings/ui_settings_service', () => ({ UiSettingsService: jest.fn(() => mockUiSettingsService), @@ -63,46 +64,54 @@ jest.doMock('./config/ensure_valid_configuration', () => ({ })); import { RenderingService, mockRenderingService } from './rendering/__mocks__/rendering_service'; + export { mockRenderingService }; jest.doMock('./rendering/rendering_service', () => ({ RenderingService })); import { environmentServiceMock } from './environment/environment_service.mock'; + export const mockEnvironmentService = environmentServiceMock.create(); jest.doMock('./environment/environment_service', () => ({ EnvironmentService: jest.fn(() => mockEnvironmentService), })); import { metricsServiceMock } from './metrics/metrics_service.mock'; + export const mockMetricsService = metricsServiceMock.create(); jest.doMock('./metrics/metrics_service', () => ({ MetricsService: jest.fn(() => mockMetricsService), })); import { statusServiceMock } from './status/status_service.mock'; + export const mockStatusService = statusServiceMock.create(); jest.doMock('./status/status_service', () => ({ StatusService: jest.fn(() => mockStatusService), })); import { loggingServiceMock } from './logging/logging_service.mock'; + export const mockLoggingService = loggingServiceMock.create(); jest.doMock('./logging/logging_service', () => ({ LoggingService: jest.fn(() => mockLoggingService), })); import { i18nServiceMock } from './i18n/i18n_service.mock'; + export const mockI18nService = i18nServiceMock.create(); jest.doMock('./i18n/i18n_service', () => ({ I18nService: jest.fn(() => mockI18nService), })); import { prebootServiceMock } from './preboot/preboot_service.mock'; + export const mockPrebootService = prebootServiceMock.create(); jest.doMock('./preboot/preboot_service', () => ({ PrebootService: jest.fn(() => mockPrebootService), })); import { deprecationsServiceMock } from './deprecations/deprecations_service.mock'; + export const mockDeprecationService = deprecationsServiceMock.create(); jest.doMock('./deprecations/deprecations_service', () => ({ DeprecationsService: jest.fn(() => mockDeprecationService), diff --git a/src/core/server/server.test.ts b/src/core/server/server.test.ts index b27c8fa769c48..112693aae0279 100644 --- a/src/core/server/server.test.ts +++ b/src/core/server/server.test.ts @@ -9,7 +9,6 @@ import { mockElasticsearchService, mockHttpService, - mockLegacyService, mockPluginsService, mockConfigService, mockSavedObjectsService, @@ -95,7 +94,6 @@ test('sets up services on "setup"', async () => { expect(mockHttpService.setup).not.toHaveBeenCalled(); expect(mockElasticsearchService.setup).not.toHaveBeenCalled(); expect(mockPluginsService.setup).not.toHaveBeenCalled(); - expect(mockLegacyService.setup).not.toHaveBeenCalled(); expect(mockSavedObjectsService.setup).not.toHaveBeenCalled(); expect(mockUiSettingsService.setup).not.toHaveBeenCalled(); expect(mockRenderingService.setup).not.toHaveBeenCalled(); @@ -111,7 +109,6 @@ test('sets up services on "setup"', async () => { expect(mockHttpService.setup).toHaveBeenCalledTimes(1); expect(mockElasticsearchService.setup).toHaveBeenCalledTimes(1); expect(mockPluginsService.setup).toHaveBeenCalledTimes(1); - expect(mockLegacyService.setup).toHaveBeenCalledTimes(1); expect(mockSavedObjectsService.setup).toHaveBeenCalledTimes(1); expect(mockUiSettingsService.setup).toHaveBeenCalledTimes(1); expect(mockRenderingService.setup).toHaveBeenCalledTimes(1); @@ -199,7 +196,6 @@ test('stops services on "stop"', async () => { expect(mockHttpService.stop).not.toHaveBeenCalled(); expect(mockElasticsearchService.stop).not.toHaveBeenCalled(); expect(mockPluginsService.stop).not.toHaveBeenCalled(); - expect(mockLegacyService.stop).not.toHaveBeenCalled(); expect(mockSavedObjectsService.stop).not.toHaveBeenCalled(); expect(mockUiSettingsService.stop).not.toHaveBeenCalled(); expect(mockMetricsService.stop).not.toHaveBeenCalled(); @@ -211,7 +207,6 @@ test('stops services on "stop"', async () => { expect(mockHttpService.stop).toHaveBeenCalledTimes(1); expect(mockElasticsearchService.stop).toHaveBeenCalledTimes(1); expect(mockPluginsService.stop).toHaveBeenCalledTimes(1); - expect(mockLegacyService.stop).toHaveBeenCalledTimes(1); expect(mockSavedObjectsService.stop).toHaveBeenCalledTimes(1); expect(mockUiSettingsService.stop).toHaveBeenCalledTimes(1); expect(mockMetricsService.stop).toHaveBeenCalledTimes(1); diff --git a/src/core/server/server.ts b/src/core/server/server.ts index 867446484a230..8b0714e899139 100644 --- a/src/core/server/server.ts +++ b/src/core/server/server.ts @@ -21,7 +21,6 @@ import { ElasticsearchService } from './elasticsearch'; import { HttpService } from './http'; import { HttpResourcesService } from './http_resources'; import { RenderingService } from './rendering'; -import { LegacyService } from './legacy'; import { Logger, LoggerFactory, LoggingService, ILoggingSystem } from './logging'; import { UiSettingsService } from './ui_settings'; import { PluginsService, config as pluginsConfig } from './plugins'; @@ -69,7 +68,6 @@ export class Server { private readonly elasticsearch: ElasticsearchService; private readonly http: HttpService; private readonly rendering: RenderingService; - private readonly legacy: LegacyService; private readonly log: Logger; private readonly plugins: PluginsService; private readonly savedObjects: SavedObjectsService; @@ -108,7 +106,6 @@ export class Server { this.http = new HttpService(core); this.rendering = new RenderingService(core); this.plugins = new PluginsService(core); - this.legacy = new LegacyService(core); this.elasticsearch = new ElasticsearchService(core); this.savedObjects = new SavedObjectsService(core); this.uiSettings = new UiSettingsService(core); @@ -286,10 +283,6 @@ export class Server { const pluginsSetup = await this.plugins.setup(coreSetup); this.#pluginsInitialized = pluginsSetup.initialized; - await this.legacy.setup({ - http: httpSetup, - }); - this.registerCoreContext(coreSetup); this.coreApp.setup(coreSetup, uiPlugins); @@ -348,7 +341,6 @@ export class Server { public async stop() { this.log.debug('stopping server'); - await this.legacy.stop(); await this.http.stop(); // HTTP server has to stop before savedObjects and ES clients are closed to be able to gracefully attempt to resolve any pending requests await this.plugins.stop(); await this.savedObjects.stop(); diff --git a/src/core/server/status/routes/integration_tests/status.test.ts b/src/core/server/status/routes/integration_tests/status.test.ts index 082be62f8dc09..df840f5d7c059 100644 --- a/src/core/server/status/routes/integration_tests/status.test.ts +++ b/src/core/server/status/routes/integration_tests/status.test.ts @@ -18,20 +18,30 @@ import { MetricsServiceSetup } from '../../../metrics'; import { HttpService, InternalHttpServiceSetup } from '../../../http'; import { registerStatusRoute } from '../status'; -import { ServiceStatus, ServiceStatusLevels } from '../../types'; +import { ServiceStatus, ServiceStatusLevels, ServiceStatusLevel } from '../../types'; import { statusServiceMock } from '../../status_service.mock'; import { executionContextServiceMock } from '../../../execution_context/execution_context_service.mock'; import { contextServiceMock } from '../../../context/context_service.mock'; const coreId = Symbol('core'); +const createServiceStatus = ( + level: ServiceStatusLevel = ServiceStatusLevels.available +): ServiceStatus => ({ + level, + summary: 'status summary', +}); + describe('GET /api/status', () => { let server: HttpService; let httpSetup: InternalHttpServiceSetup; let metrics: jest.Mocked; let incrementUsageCounter: jest.Mock; - const setupServer = async ({ allowAnonymous = true }: { allowAnonymous?: boolean } = {}) => { + const setupServer = async ({ + allowAnonymous = true, + coreOverall, + }: { allowAnonymous?: boolean; coreOverall?: ServiceStatus } = {}) => { const coreContext = createCoreContext({ coreId }); const contextService = new ContextService(coreContext); @@ -43,7 +53,12 @@ describe('GET /api/status', () => { }); metrics = metricsServiceMock.createSetupContract(); - const status = statusServiceMock.createSetupContract(); + + const status = statusServiceMock.createInternalSetupContract(); + if (coreOverall) { + status.coreOverall$ = new BehaviorSubject(coreOverall); + } + const pluginsStatus$ = new BehaviorSubject>({ a: { level: ServiceStatusLevels.available, summary: 'a is available' }, b: { level: ServiceStatusLevels.degraded, summary: 'b is degraded' }, @@ -71,6 +86,7 @@ describe('GET /api/status', () => { metrics, status: { overall$: status.overall$, + coreOverall$: status.coreOverall$, core$: status.core$, plugins$: pluginsStatus$, }, @@ -318,4 +334,60 @@ describe('GET /api/status', () => { expect(incrementUsageCounter).not.toHaveBeenCalled(); }); }); + + describe('status level and http response code', () => { + describe('using standard format', () => { + it('respond with a 200 when core.overall.status is available', async () => { + await setupServer({ + coreOverall: createServiceStatus(ServiceStatusLevels.available), + }); + await supertest(httpSetup.server.listener).get('/api/status?v8format=true').expect(200); + }); + it('respond with a 200 when core.overall.status is degraded', async () => { + await setupServer({ + coreOverall: createServiceStatus(ServiceStatusLevels.degraded), + }); + await supertest(httpSetup.server.listener).get('/api/status?v8format=true').expect(200); + }); + it('respond with a 503 when core.overall.status is unavailable', async () => { + await setupServer({ + coreOverall: createServiceStatus(ServiceStatusLevels.unavailable), + }); + await supertest(httpSetup.server.listener).get('/api/status?v8format=true').expect(503); + }); + it('respond with a 503 when core.overall.status is critical', async () => { + await setupServer({ + coreOverall: createServiceStatus(ServiceStatusLevels.critical), + }); + await supertest(httpSetup.server.listener).get('/api/status?v8format=true').expect(503); + }); + }); + + describe('using legacy format', () => { + it('respond with a 200 when core.overall.status is available', async () => { + await setupServer({ + coreOverall: createServiceStatus(ServiceStatusLevels.available), + }); + await supertest(httpSetup.server.listener).get('/api/status?v7format=true').expect(200); + }); + it('respond with a 200 when core.overall.status is degraded', async () => { + await setupServer({ + coreOverall: createServiceStatus(ServiceStatusLevels.degraded), + }); + await supertest(httpSetup.server.listener).get('/api/status?v7format=true').expect(200); + }); + it('respond with a 503 when core.overall.status is unavailable', async () => { + await setupServer({ + coreOverall: createServiceStatus(ServiceStatusLevels.unavailable), + }); + await supertest(httpSetup.server.listener).get('/api/status?v7format=true').expect(503); + }); + it('respond with a 503 when core.overall.status is critical', async () => { + await setupServer({ + coreOverall: createServiceStatus(ServiceStatusLevels.critical), + }); + await supertest(httpSetup.server.listener).get('/api/status?v7format=true').expect(503); + }); + }); + }); }); diff --git a/src/core/server/status/routes/status.ts b/src/core/server/status/routes/status.ts index cef5ee05ea2e5..7751980ae6ec3 100644 --- a/src/core/server/status/routes/status.ts +++ b/src/core/server/status/routes/status.ts @@ -31,6 +31,7 @@ interface Deps { }; metrics: MetricsServiceSetup; status: { + coreOverall$: Observable; overall$: Observable; core$: Observable; plugins$: Observable>; @@ -59,9 +60,11 @@ export const registerStatusRoute = ({ // Since the status.plugins$ observable is not subscribed to elsewhere, we need to subscribe it here to eagerly load // the plugins status when Kibana starts up so this endpoint responds quickly on first boot. const combinedStatus$ = new ReplaySubject< - [ServiceStatus, CoreStatus, Record>] + [ServiceStatus, ServiceStatus, CoreStatus, Record>] >(1); - combineLatest([status.overall$, status.core$, status.plugins$]).subscribe(combinedStatus$); + combineLatest([status.overall$, status.coreOverall$, status.core$, status.plugins$]).subscribe( + combinedStatus$ + ); router.get( { @@ -89,7 +92,7 @@ export const registerStatusRoute = ({ async (context, req, res) => { const { version, buildSha, buildNum } = config.packageInfo; const versionWithoutSnapshot = version.replace(SNAPSHOT_POSTFIX, ''); - const [overall, core, plugins] = await combinedStatus$.pipe(first()).toPromise(); + const [overall, coreOverall, core, plugins] = await combinedStatus$.pipe(first()).toPromise(); const { v8format = true, v7format = false } = req.query ?? {}; @@ -137,7 +140,7 @@ export const registerStatusRoute = ({ }, }; - const statusCode = overall.level >= ServiceStatusLevels.unavailable ? 503 : 200; + const statusCode = coreOverall.level >= ServiceStatusLevels.unavailable ? 503 : 200; return res.custom({ body, statusCode, bypassErrorFormat: true }); } ); diff --git a/src/core/server/status/status_service.mock.ts b/src/core/server/status/status_service.mock.ts index 8ef34558ca7b2..7241bb2f0479e 100644 --- a/src/core/server/status/status_service.mock.ts +++ b/src/core/server/status/status_service.mock.ts @@ -42,6 +42,7 @@ const createSetupContractMock = () => { const createInternalSetupContractMock = () => { const setupContract: jest.Mocked = { core$: new BehaviorSubject(availableCoreStatus), + coreOverall$: new BehaviorSubject(available), overall$: new BehaviorSubject(available), isStatusPageAnonymous: jest.fn().mockReturnValue(false), plugins: { diff --git a/src/core/server/status/status_service.test.ts b/src/core/server/status/status_service.test.ts index 9148f69e079aa..255ed821bc2fe 100644 --- a/src/core/server/status/status_service.test.ts +++ b/src/core/server/status/status_service.test.ts @@ -30,6 +30,7 @@ describe('StatusService', () => { }); const delay = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)); + const available: ServiceStatus = { level: ServiceStatusLevels.available, summary: 'Available', @@ -38,6 +39,10 @@ describe('StatusService', () => { level: ServiceStatusLevels.degraded, summary: 'This is degraded!', }; + const critical: ServiceStatus = { + level: ServiceStatusLevels.critical, + summary: 'This is critical!', + }; type SetupDeps = Parameters[0]; const setupDeps = (overrides: Partial): SetupDeps => { @@ -321,6 +326,177 @@ describe('StatusService', () => { }); }); + describe('coreOverall$', () => { + it('exposes an overall summary of core services', async () => { + const setup = await service.setup( + setupDeps({ + elasticsearch: { + status$: of(degraded), + }, + savedObjects: { + status$: of(degraded), + }, + }) + ); + expect(await setup.coreOverall$.pipe(first()).toPromise()).toMatchObject({ + level: ServiceStatusLevels.degraded, + summary: '[2] services are degraded', + }); + }); + + it('computes the summary depending on the services status', async () => { + const setup = await service.setup( + setupDeps({ + elasticsearch: { + status$: of(degraded), + }, + savedObjects: { + status$: of(critical), + }, + }) + ); + expect(await setup.coreOverall$.pipe(first()).toPromise()).toMatchObject({ + level: ServiceStatusLevels.critical, + summary: '[savedObjects]: This is critical!', + }); + }); + + it('replays last event', async () => { + const setup = await service.setup( + setupDeps({ + elasticsearch: { + status$: of(degraded), + }, + savedObjects: { + status$: of(degraded), + }, + }) + ); + + const subResult1 = await setup.coreOverall$.pipe(first()).toPromise(); + const subResult2 = await setup.coreOverall$.pipe(first()).toPromise(); + const subResult3 = await setup.coreOverall$.pipe(first()).toPromise(); + + expect(subResult1).toMatchObject({ + level: ServiceStatusLevels.degraded, + summary: '[2] services are degraded', + }); + expect(subResult2).toMatchObject({ + level: ServiceStatusLevels.degraded, + summary: '[2] services are degraded', + }); + expect(subResult3).toMatchObject({ + level: ServiceStatusLevels.degraded, + summary: '[2] services are degraded', + }); + }); + + it('does not emit duplicate events', async () => { + const elasticsearch$ = new BehaviorSubject(available); + const savedObjects$ = new BehaviorSubject(degraded); + const setup = await service.setup( + setupDeps({ + elasticsearch: { + status$: elasticsearch$, + }, + savedObjects: { + status$: savedObjects$, + }, + }) + ); + + const statusUpdates: ServiceStatus[] = []; + const subscription = setup.coreOverall$.subscribe((status) => statusUpdates.push(status)); + + // Wait for timers to ensure that duplicate events are still filtered out regardless of debouncing. + elasticsearch$.next(available); + await delay(500); + elasticsearch$.next(available); + await delay(500); + elasticsearch$.next({ + level: ServiceStatusLevels.available, + summary: `Wow another summary`, + }); + await delay(500); + savedObjects$.next(degraded); + await delay(500); + savedObjects$.next(available); + await delay(500); + savedObjects$.next(available); + await delay(500); + subscription.unsubscribe(); + + expect(statusUpdates).toMatchInlineSnapshot(` + Array [ + Object { + "detail": "See the status page for more information", + "level": degraded, + "meta": Object { + "affectedServices": Array [ + "savedObjects", + ], + }, + "summary": "[savedObjects]: This is degraded!", + }, + Object { + "level": available, + "summary": "All services are available", + }, + ] + `); + }); + + it('debounces events in quick succession', async () => { + const savedObjects$ = new BehaviorSubject(available); + const setup = await service.setup( + setupDeps({ + elasticsearch: { + status$: new BehaviorSubject(available), + }, + savedObjects: { + status$: savedObjects$, + }, + }) + ); + + const statusUpdates: ServiceStatus[] = []; + const subscription = setup.coreOverall$.subscribe((status) => statusUpdates.push(status)); + + // All of these should debounced into a single `available` status + savedObjects$.next(degraded); + savedObjects$.next(available); + savedObjects$.next(degraded); + savedObjects$.next(available); + savedObjects$.next(degraded); + savedObjects$.next(available); + savedObjects$.next(degraded); + // Waiting for the debounce timeout should cut a new update + await delay(500); + savedObjects$.next(available); + await delay(500); + subscription.unsubscribe(); + + expect(statusUpdates).toMatchInlineSnapshot(` + Array [ + Object { + "detail": "See the status page for more information", + "level": degraded, + "meta": Object { + "affectedServices": Array [ + "savedObjects", + ], + }, + "summary": "[savedObjects]: This is degraded!", + }, + Object { + "level": available, + "summary": "All services are available", + }, + ] + `); + }); + }); + describe('preboot status routes', () => { let prebootRouterMock: RouterMock; beforeEach(async () => { diff --git a/src/core/server/status/status_service.ts b/src/core/server/status/status_service.ts index 107074bdb98b1..a0ac5b392efe1 100644 --- a/src/core/server/status/status_service.ts +++ b/src/core/server/status/status_service.ts @@ -49,7 +49,7 @@ export class StatusService implements CoreService { private overall$?: Observable; private pluginsStatus?: PluginsStatusService; - private overallSubscription?: Subscription; + private subscriptions: Subscription[] = []; constructor(private readonly coreContext: CoreContext) { this.logger = coreContext.logger.get('status'); @@ -88,8 +88,24 @@ export class StatusService implements CoreService { shareReplay(1) ); - // Create an unused subscription to ensure all underlying lazy observables are started. - this.overallSubscription = this.overall$.subscribe(); + const coreOverall$ = core$.pipe( + // Prevent many emissions at once from dependency status resolution from making this too noisy + debounceTime(25), + map((coreStatus) => { + const coreOverall = getSummaryStatus([...Object.entries(coreStatus)]); + this.logger.debug(`Recalculated core overall status`, { + kibana: { + status: coreOverall, + }, + }); + return coreOverall; + }), + distinctUntilChanged(isDeepStrictEqual), + shareReplay(1) + ); + + // Create unused subscriptions to ensure all underlying lazy observables are started. + this.subscriptions.push(this.overall$.subscribe(), coreOverall$.subscribe()); const commonRouteDeps = { config: { @@ -103,6 +119,7 @@ export class StatusService implements CoreService { overall$: this.overall$, plugins$: this.pluginsStatus.getAll$(), core$, + coreOverall$, }, incrementUsageCounter: coreUsageData.incrementUsageCounter, }; @@ -128,6 +145,7 @@ export class StatusService implements CoreService { return { core$, + coreOverall$, overall$: this.overall$, plugins: { set: this.pluginsStatus.set.bind(this.pluginsStatus), @@ -153,10 +171,10 @@ export class StatusService implements CoreService { this.stop$.next(); this.stop$.complete(); - if (this.overallSubscription) { - this.overallSubscription.unsubscribe(); - this.overallSubscription = undefined; - } + this.subscriptions.forEach((subscription) => { + subscription.unsubscribe(); + }); + this.subscriptions = []; } private setupCoreStatus({ diff --git a/src/core/server/status/types.ts b/src/core/server/status/types.ts index bfca4c74d9365..aab3bf302dfea 100644 --- a/src/core/server/status/types.ts +++ b/src/core/server/status/types.ts @@ -232,6 +232,11 @@ export interface StatusServiceSetup { /** @internal */ export interface InternalStatusServiceSetup extends Pick { + /** + * Overall status of core's service. + */ + coreOverall$: Observable; + // Namespaced under `plugins` key to improve clarity that these are APIs for plugins specifically. plugins: { set(plugin: PluginName, status$: Observable): void; diff --git a/src/core/test_helpers/kbn_server.ts b/src/core/test_helpers/kbn_server.ts index 67bd6c7455d6d..58720be637e2f 100644 --- a/src/core/test_helpers/kbn_server.ts +++ b/src/core/test_helpers/kbn_server.ts @@ -32,7 +32,11 @@ const DEFAULTS_SETTINGS = { port: 0, xsrf: { disableProtection: true }, }, - logging: { silent: true }, + logging: { + root: { + level: 'off', + }, + }, plugins: {}, migrations: { skip: false }, }; @@ -45,7 +49,6 @@ export function createRootWithSettings( configs: [], cliArgs: { dev: false, - silent: false, watch: false, basePath: false, runExamples: false, diff --git a/src/core/types/elasticsearch/search.ts b/src/core/types/elasticsearch/search.ts index 88d6cda3777dd..a54f5f3758ce3 100644 --- a/src/core/types/elasticsearch/search.ts +++ b/src/core/types/elasticsearch/search.ts @@ -48,7 +48,7 @@ type ValueTypeOfField = T extends Record type MaybeArray = T | T[]; -type Fields = Exclude['body']['fields'], undefined>; +type Fields = Required['body']>['fields']; type DocValueFields = MaybeArray; export type SearchHit< diff --git a/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker b/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker index cee43fd85c90f..dd5b66af9ef21 100755 --- a/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker +++ b/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker @@ -26,8 +26,6 @@ kibana_vars=( console.enabled console.proxyConfig console.proxyFilter - cpu.cgroup.path.override - cpuacct.cgroup.path.override csp.rules csp.strict csp.warnLegacyBrowsers @@ -82,24 +80,13 @@ kibana_vars=( logging.appenders logging.appenders.console logging.appenders.file - logging.dest - logging.json logging.loggers logging.loggers.appenders logging.loggers.level logging.loggers.name - logging.quiet logging.root logging.root.appenders logging.root.level - logging.rotate.enabled - logging.rotate.everyBytes - logging.rotate.keepFiles - logging.rotate.pollingInterval - logging.rotate.usePolling - logging.silent - logging.useUTC - logging.verbose map.includeElasticMapsService map.proxyElasticMapsServiceInMaps map.regionmap @@ -186,7 +173,6 @@ kibana_vars=( server.uuid server.xsrf.allowlist server.xsrf.disableProtection - server.xsrf.whitelist status.allowAnonymous status.v6ApiFormat telemetry.allowChangingOptInStatus @@ -205,7 +191,6 @@ kibana_vars=( vis_type_vega.enableExternalUrls xpack.actions.allowedHosts xpack.actions.customHostSettings - xpack.actions.enabled xpack.actions.enabledActionTypes xpack.actions.maxResponseContentLength xpack.actions.preconfigured @@ -222,6 +207,7 @@ kibana_vars=( xpack.alerting.healthCheck.interval xpack.alerting.invalidateApiKeysTask.interval xpack.alerting.invalidateApiKeysTask.removalDelay + xpack.alerting.defaultRuleTaskTimeout xpack.alerts.healthCheck.interval xpack.alerts.invalidateApiKeysTask.interval xpack.alerts.invalidateApiKeysTask.removalDelay @@ -262,7 +248,6 @@ kibana_vars=( xpack.discoverEnhanced.actions.exploreDataInContextMenu.enabled xpack.encryptedSavedObjects.encryptionKey xpack.encryptedSavedObjects.keyRotation.decryptionOnlyKeys - xpack.event_log.enabled xpack.event_log.indexEntries xpack.event_log.logEntries xpack.fleet.agentPolicies @@ -329,7 +314,6 @@ kibana_vars=( xpack.reporting.csv.useByteOrderMarkEncoding xpack.reporting.enabled xpack.reporting.encryptionKey - xpack.reporting.index xpack.reporting.kibanaApp xpack.reporting.kibanaServer.hostname xpack.reporting.kibanaServer.port @@ -395,7 +379,6 @@ kibana_vars=( xpack.securitySolution.prebuiltRulesFromSavedObjects xpack.spaces.enabled xpack.spaces.maxSpaces - xpack.task_manager.enabled xpack.task_manager.index xpack.task_manager.max_attempts xpack.task_manager.max_poll_inactivity_cycles @@ -437,7 +420,7 @@ umask 0002 # paths. Therefore, Kibana provides a mechanism to override # reading the cgroup path from /proc/self/cgroup and instead uses the # cgroup path defined the configuration properties -# cpu.cgroup.path.override and cpuacct.cgroup.path.override. +# ops.cGroupOverrides.cpuPath and ops.cGroupOverrides.cpuAcctPath. # Therefore, we set this value here so that cgroup statistics are # available for the container this process will run in. diff --git a/src/dev/run_check_published_api_changes.ts b/src/dev/run_check_published_api_changes.ts index 7c8105bc40c51..452922ac56bcd 100644 --- a/src/dev/run_check_published_api_changes.ts +++ b/src/dev/run_check_published_api_changes.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { ToolingLog } from '@kbn/dev-utils'; +import { ToolingLog, getTimeReporter } from '@kbn/dev-utils'; import { Extractor, IConfigFile, @@ -27,6 +27,9 @@ const log = new ToolingLog({ writeTo: process.stdout, }); +const runStartTime = Date.now(); +const reportTime = getTimeReporter(log, 'scripts/check_published_api_changes'); + /* * Step 1: execute build:types * This users tsconfig.types.json to generate types in `target/types` @@ -184,6 +187,7 @@ async function run(folder: string, { opts }: { opts: Options }): Promise { + reportTime(runStartTime, 'error', { + success: false, + error: e.message, + }); log.error(e); process.exitCode = 1; }); diff --git a/src/dev/run_i18n_check.ts b/src/dev/run_i18n_check.ts index 48ce2e013fc29..8aa93d33f60fd 100644 --- a/src/dev/run_i18n_check.ts +++ b/src/dev/run_i18n_check.ts @@ -9,7 +9,7 @@ import chalk from 'chalk'; import Listr from 'listr'; -import { createFailError, run } from '@kbn/dev-utils'; +import { createFailError, run, ToolingLog, getTimeReporter } from '@kbn/dev-utils'; import { ErrorReporter, I18nConfig } from './i18n'; import { extractDefaultMessages, @@ -19,6 +19,14 @@ import { mergeConfigs, } from './i18n/tasks'; +const toolingLog = new ToolingLog({ + level: 'info', + writeTo: process.stdout, +}); + +const runStartTime = Date.now(); +const reportTime = getTimeReporter(toolingLog, 'scripts/i18n_check'); + const skipOnNoTranslations = ({ config }: { config: I18nConfig }) => !config.translations.length && 'No translations found.'; @@ -116,13 +124,24 @@ run( const reporter = new ErrorReporter(); const messages: Map = new Map(); await list.run({ messages, reporter }); - } catch (error) { + + reportTime(runStartTime, 'total', { + success: true, + }); + } catch (error: Error | ErrorReporter) { process.exitCode = 1; if (error instanceof ErrorReporter) { error.errors.forEach((e: string | Error) => log.error(e)); + reportTime(runStartTime, 'error', { + success: false, + }); } else { log.error('Unhandled exception!'); log.error(error); + reportTime(runStartTime, 'error', { + success: false, + error: error.message, + }); } } }, diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index a61a2618d6428..c04f0d4f9320f 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -12,6 +12,7 @@ export const storybookAliases = { canvas: 'x-pack/plugins/canvas/storybook', codeeditor: 'src/plugins/kibana_react/public/code_editor/.storybook', ci_composite: '.ci/.storybook', + custom_integrations: 'src/plugins/custom_integrations/storybook', url_template_editor: 'src/plugins/kibana_react/public/url_template_editor/.storybook', dashboard: 'src/plugins/dashboard/.storybook', dashboard_enhanced: 'x-pack/plugins/dashboard_enhanced/.storybook', diff --git a/src/plugins/custom_integrations/common/index.ts b/src/plugins/custom_integrations/common/index.ts index 73e15c91ce4bf..e2408d3124604 100755 --- a/src/plugins/custom_integrations/common/index.ts +++ b/src/plugins/custom_integrations/common/index.ts @@ -15,6 +15,7 @@ export interface IntegrationCategoryCount { } export const INTEGRATION_CATEGORY_DISPLAY = { + // Known EPR aws: 'AWS', azure: 'Azure', cloud: 'Cloud', @@ -39,8 +40,12 @@ export const INTEGRATION_CATEGORY_DISPLAY = { ticketing: 'Ticketing', version_control: 'Version control', web: 'Web', + + // Kibana added upload_file: 'Upload a file', + language_client: 'Language client', + // Internal updates_available: 'Updates available', }; diff --git a/src/plugins/custom_integrations/kibana.json b/src/plugins/custom_integrations/kibana.json index 3a78270d9ef09..cd58c1aec1ecb 100755 --- a/src/plugins/custom_integrations/kibana.json +++ b/src/plugins/custom_integrations/kibana.json @@ -12,5 +12,8 @@ "extraPublicDirs": [ "common" ], + "requiredPlugins": [ + "presentationUtil" + ], "optionalPlugins": [] } diff --git a/src/plugins/custom_integrations/public/assets/language_clients/dotnet.svg b/src/plugins/custom_integrations/public/assets/language_clients/dotnet.svg new file mode 100755 index 0000000000000..92a7ad45d9f9c --- /dev/null +++ b/src/plugins/custom_integrations/public/assets/language_clients/dotnet.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/plugins/custom_integrations/public/assets/language_clients/es.svg b/src/plugins/custom_integrations/public/assets/language_clients/es.svg new file mode 100755 index 0000000000000..b1224e212e098 --- /dev/null +++ b/src/plugins/custom_integrations/public/assets/language_clients/es.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/src/plugins/custom_integrations/public/assets/language_clients/go.svg b/src/plugins/custom_integrations/public/assets/language_clients/go.svg new file mode 100755 index 0000000000000..223a57194fd7c --- /dev/null +++ b/src/plugins/custom_integrations/public/assets/language_clients/go.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/plugins/custom_integrations/public/assets/language_clients/java.svg b/src/plugins/custom_integrations/public/assets/language_clients/java.svg new file mode 100644 index 0000000000000..d24d844695762 --- /dev/null +++ b/src/plugins/custom_integrations/public/assets/language_clients/java.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/src/plugins/custom_integrations/public/assets/language_clients/nodejs.svg b/src/plugins/custom_integrations/public/assets/language_clients/nodejs.svg new file mode 100755 index 0000000000000..4dd358743bbff --- /dev/null +++ b/src/plugins/custom_integrations/public/assets/language_clients/nodejs.svg @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/plugins/custom_integrations/public/assets/language_clients/perl.svg b/src/plugins/custom_integrations/public/assets/language_clients/perl.svg new file mode 100755 index 0000000000000..6ef322a3f58ae --- /dev/null +++ b/src/plugins/custom_integrations/public/assets/language_clients/perl.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/plugins/custom_integrations/public/assets/language_clients/php.svg b/src/plugins/custom_integrations/public/assets/language_clients/php.svg new file mode 100755 index 0000000000000..7a1c20116f466 --- /dev/null +++ b/src/plugins/custom_integrations/public/assets/language_clients/php.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/src/plugins/custom_integrations/public/assets/language_clients/python.svg b/src/plugins/custom_integrations/public/assets/language_clients/python.svg new file mode 100755 index 0000000000000..b7234c439ced5 --- /dev/null +++ b/src/plugins/custom_integrations/public/assets/language_clients/python.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/src/plugins/custom_integrations/public/assets/language_clients/ruby.svg b/src/plugins/custom_integrations/public/assets/language_clients/ruby.svg new file mode 100755 index 0000000000000..5e515bc0dd98e --- /dev/null +++ b/src/plugins/custom_integrations/public/assets/language_clients/ruby.svg @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/plugins/custom_integrations/public/assets/language_clients/rust.svg b/src/plugins/custom_integrations/public/assets/language_clients/rust.svg new file mode 100755 index 0000000000000..82dcaf2ade93e --- /dev/null +++ b/src/plugins/custom_integrations/public/assets/language_clients/rust.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/plugins/custom_integrations/public/components/index.tsx b/src/plugins/custom_integrations/public/components/index.tsx new file mode 100644 index 0000000000000..cfbec7d6d5ae5 --- /dev/null +++ b/src/plugins/custom_integrations/public/components/index.tsx @@ -0,0 +1,31 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import React, { Suspense, ComponentType, ReactElement, Ref } from 'react'; +import { EuiLoadingSpinner, EuiErrorBoundary } from '@elastic/eui'; + +/** + * A HOC which supplies React.Suspense with a fallback component, and a `EuiErrorBoundary` to contain errors. + * @param Component A component deferred by `React.lazy` + * @param fallback A fallback component to render while things load; default is `EuiLoadingSpinner` + */ +export const withSuspense =

( + Component: ComponentType

, + fallback: ReactElement | null = +) => + React.forwardRef((props: P, ref: Ref) => { + return ( + + + + + + ); + }); + +export const LazyReplacementCard = React.lazy(() => import('./replacement_card')); diff --git a/src/plugins/custom_integrations/public/components/replacement_card/index.ts b/src/plugins/custom_integrations/public/components/replacement_card/index.ts new file mode 100644 index 0000000000000..631dc1fcb2ba2 --- /dev/null +++ b/src/plugins/custom_integrations/public/components/replacement_card/index.ts @@ -0,0 +1,15 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { ReplacementCard } from './replacement_card'; + +export { ReplacementCard, Props } from './replacement_card'; + +// required for dynamic import using React.lazy() +// eslint-disable-next-line import/no-default-export +export default ReplacementCard; diff --git a/src/plugins/custom_integrations/public/components/replacement_card/replacement_card.component.tsx b/src/plugins/custom_integrations/public/components/replacement_card/replacement_card.component.tsx new file mode 100644 index 0000000000000..0fa341cdf9435 --- /dev/null +++ b/src/plugins/custom_integrations/public/components/replacement_card/replacement_card.component.tsx @@ -0,0 +1,116 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ +/** @jsx jsx */ + +import { css, jsx } from '@emotion/react'; + +import { + htmlIdGenerator, + EuiButton, + EuiFlexGroup, + EuiFlexItem, + EuiPanel, + EuiText, + EuiAccordion, + EuiLink, + useEuiTheme, +} from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { FormattedMessage } from '@kbn/i18n/react'; + +import { CustomIntegration } from '../../../common'; +import { usePlatformService } from '../../services'; + +export interface Props { + replacements: Array>; +} + +// TODO - clintandrewhall: should use doc-links service +const URL_COMPARISON = 'https://ela.st/beats-agent-comparison'; + +const idGenerator = htmlIdGenerator('replacementCard'); +const alsoAvailable = i18n.translate('customIntegrations.components.replacementAccordionLabel', { + defaultMessage: 'Also available in Beats', +}); + +const link = ( + + + +); + +/** + * A pure component, an accordion panel which can display information about replacements for a given EPR module. + */ +export const ReplacementCard = ({ replacements }: Props) => { + const { euiTheme } = useEuiTheme(); + const { getAbsolutePath } = usePlatformService(); + + if (replacements.length === 0) { + return null; + } + + const buttons = replacements.map((replacement, index) => ( + + + + {replacement.title} + + + + )); + + return ( +

+ + + + + + + + + + + {buttons} + + + + + +
+ ); +}; diff --git a/src/plugins/custom_integrations/public/components/replacement_card/replacement_card.stories.tsx b/src/plugins/custom_integrations/public/components/replacement_card/replacement_card.stories.tsx new file mode 100644 index 0000000000000..8fa0674c9b467 --- /dev/null +++ b/src/plugins/custom_integrations/public/components/replacement_card/replacement_card.stories.tsx @@ -0,0 +1,68 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import React from 'react'; +import { Meta } from '@storybook/react'; + +import { ReplacementCard as ConnectedComponent } from './replacement_card'; +import { ReplacementCard as PureComponent } from './replacement_card.component'; + +export default { + title: 'Replacement Card', + description: + 'An accordion panel which can display information about Beats alternatives to a given EPR module, (if available)', + decorators: [ + (storyFn, { globals }) => ( +
+ {storyFn()} +
+ ), + ], +} as Meta; + +interface Args { + eprPackageName: string; +} + +const args: Args = { + eprPackageName: 'nginx', +}; + +const argTypes = { + eprPackageName: { + control: { + type: 'radio', + options: ['nginx', 'okta', 'aws', 'apache'], + }, + }, +}; + +export function ReplacementCard({ eprPackageName }: Args) { + return ; +} + +ReplacementCard.args = args; +ReplacementCard.argTypes = argTypes; + +export function Component() { + return ( + + ); +} diff --git a/src/plugins/custom_integrations/public/components/replacement_card/replacement_card.tsx b/src/plugins/custom_integrations/public/components/replacement_card/replacement_card.tsx new file mode 100644 index 0000000000000..3e829270773a6 --- /dev/null +++ b/src/plugins/custom_integrations/public/components/replacement_card/replacement_card.tsx @@ -0,0 +1,35 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import React from 'react'; +import useAsync from 'react-use/lib/useAsync'; +import { useFindService } from '../../services'; + +import { ReplacementCard as Component } from './replacement_card.component'; + +export interface Props { + eprPackageName: string; +} + +/** + * A data-connected component which can query about Beats-based replacement options for a given EPR module. + */ +export const ReplacementCard = ({ eprPackageName }: Props) => { + const { findReplacementIntegrations } = useFindService(); + const integrations = useAsync(async () => { + return await findReplacementIntegrations({ shipper: 'beats', eprPackageName }); + }, [eprPackageName]); + + const { loading, value: replacements } = integrations; + + if (loading || !replacements || replacements.length === 0) { + return null; + } + + return ; +}; diff --git a/src/plugins/custom_integrations/public/index.ts b/src/plugins/custom_integrations/public/index.ts index 9e979dd6692bc..91da75c634a44 100755 --- a/src/plugins/custom_integrations/public/index.ts +++ b/src/plugins/custom_integrations/public/index.ts @@ -13,4 +13,8 @@ import { CustomIntegrationsPlugin } from './plugin'; export function plugin() { return new CustomIntegrationsPlugin(); } + export { CustomIntegrationsSetup, CustomIntegrationsStart } from './types'; + +export { withSuspense, LazyReplacementCard } from './components'; +export { filterCustomIntegrations } from './services/find'; diff --git a/src/plugins/custom_integrations/public/mocks.ts b/src/plugins/custom_integrations/public/mocks.ts index 2e6bc491c2c5c..a8fedbbb712b2 100644 --- a/src/plugins/custom_integrations/public/mocks.ts +++ b/src/plugins/custom_integrations/public/mocks.ts @@ -6,7 +6,11 @@ * Side Public License, v 1. */ -import { CustomIntegrationsSetup } from './types'; +import { pluginServices } from './services'; +import { PluginServiceRegistry } from '../../presentation_util/public'; +import { CustomIntegrationsSetup, CustomIntegrationsStart } from './types'; +import { CustomIntegrationsServices } from './services'; +import { providers } from './services/stub'; function createCustomIntegrationsSetup(): jest.Mocked { const mock: jest.Mocked = { @@ -16,6 +20,17 @@ function createCustomIntegrationsSetup(): jest.Mocked { return mock; } +function createCustomIntegrationsStart(): jest.Mocked { + const registry = new PluginServiceRegistry(providers); + pluginServices.setRegistry(registry.start({})); + const ContextProvider = pluginServices.getContextProvider(); + + return { + ContextProvider: jest.fn(ContextProvider), + }; +} + export const customIntegrationsMock = { createSetup: createCustomIntegrationsSetup, + createStart: createCustomIntegrationsStart, }; diff --git a/src/plugins/custom_integrations/public/plugin.ts b/src/plugins/custom_integrations/public/plugin.ts index 7ea7a829e8072..a3470fefba46c 100755 --- a/src/plugins/custom_integrations/public/plugin.ts +++ b/src/plugins/custom_integrations/public/plugin.ts @@ -7,13 +7,20 @@ */ import { CoreSetup, CoreStart, Plugin } from 'src/core/public'; -import { CustomIntegrationsSetup, CustomIntegrationsStart } from './types'; +import { + CustomIntegrationsSetup, + CustomIntegrationsStart, + CustomIntegrationsStartDependencies, +} from './types'; import { CustomIntegration, ROUTES_APPEND_CUSTOM_INTEGRATIONS, ROUTES_REPLACEMENT_CUSTOM_INTEGRATIONS, } from '../common'; +import { pluginServices } from './services'; +import { pluginServiceRegistry } from './services/kibana'; + export class CustomIntegrationsPlugin implements Plugin { @@ -30,8 +37,14 @@ export class CustomIntegrationsPlugin }; } - public start(core: CoreStart): CustomIntegrationsStart { - return {}; + public start( + coreStart: CoreStart, + startPlugins: CustomIntegrationsStartDependencies + ): CustomIntegrationsStart { + pluginServices.setRegistry(pluginServiceRegistry.start({ coreStart, startPlugins })); + return { + ContextProvider: pluginServices.getContextProvider(), + }; } public stop() {} diff --git a/src/plugins/custom_integrations/public/services/find.test.ts b/src/plugins/custom_integrations/public/services/find.test.ts new file mode 100644 index 0000000000000..df52c22313b68 --- /dev/null +++ b/src/plugins/custom_integrations/public/services/find.test.ts @@ -0,0 +1,95 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { filterCustomIntegrations } from './find'; +import { CustomIntegration } from '../../common'; + +describe('Custom Integrations Find Service', () => { + const integrations: CustomIntegration[] = [ + { + id: 'foo', + title: 'Foo', + description: 'test integration', + type: 'ui_link', + uiInternalPath: '/path/to/foo', + isBeta: false, + icons: [], + categories: ['aws', 'cloud'], + shipper: 'tests', + }, + { + id: 'bar', + title: 'Bar', + description: 'test integration', + type: 'ui_link', + uiInternalPath: '/path/to/bar', + isBeta: false, + icons: [], + categories: ['aws'], + shipper: 'other', + eprOverlap: 'eprValue', + }, + { + id: 'bar', + title: 'Bar', + description: 'test integration', + type: 'ui_link', + uiInternalPath: '/path/to/bar', + isBeta: false, + icons: [], + categories: ['cloud'], + shipper: 'other', + eprOverlap: 'eprValue', + }, + { + id: 'baz', + title: 'Baz', + description: 'test integration', + type: 'ui_link', + uiInternalPath: '/path/to/baz', + isBeta: false, + icons: [], + categories: ['cloud'], + shipper: 'tests', + eprOverlap: 'eprOtherValue', + }, + ]; + + describe('filterCustomIntegrations', () => { + test('filters on shipper', () => { + let result = filterCustomIntegrations(integrations, { shipper: 'other' }); + expect(result.length).toBe(2); + result = filterCustomIntegrations(integrations, { shipper: 'tests' }); + expect(result.length).toBe(2); + result = filterCustomIntegrations(integrations, { shipper: 'foobar' }); + expect(result.length).toBe(0); + }); + test('filters on eprOverlap', () => { + let result = filterCustomIntegrations(integrations, { eprPackageName: 'eprValue' }); + expect(result.length).toBe(2); + result = filterCustomIntegrations(integrations, { eprPackageName: 'eprOtherValue' }); + expect(result.length).toBe(1); + result = filterCustomIntegrations(integrations, { eprPackageName: 'otherValue' }); + expect(result.length).toBe(0); + }); + test('filters on categories and shipper, eprOverlap', () => { + const result = filterCustomIntegrations(integrations, { + shipper: 'other', + eprPackageName: 'eprValue', + }); + expect(result.length).toBe(2); + }); + }); +}); diff --git a/src/plugins/custom_integrations/public/services/find.ts b/src/plugins/custom_integrations/public/services/find.ts new file mode 100644 index 0000000000000..4e69327c351b4 --- /dev/null +++ b/src/plugins/custom_integrations/public/services/find.ts @@ -0,0 +1,46 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { CustomIntegration } from '../../common'; + +interface FindParams { + eprPackageName?: string; + shipper?: string; +} + +/** + * A plugin service that finds and returns custom integrations. + */ +export interface CustomIntegrationsFindService { + findReplacementIntegrations(params?: FindParams): Promise; + findAppendedIntegrations(params?: FindParams): Promise; +} + +/** + * Filter a set of integrations by eprPackageName, and/or shipper. + */ +export const filterCustomIntegrations = ( + integrations: CustomIntegration[], + { eprPackageName, shipper }: FindParams = {} +) => { + if (!eprPackageName && !shipper) { + return integrations; + } + + let result = integrations; + + if (eprPackageName) { + result = result.filter((integration) => integration.eprOverlap === eprPackageName); + } + + if (shipper) { + result = result.filter((integration) => integration.shipper === shipper); + } + + return result; +}; diff --git a/src/plugins/custom_integrations/public/services/index.ts b/src/plugins/custom_integrations/public/services/index.ts new file mode 100644 index 0000000000000..8a257ee1a2cd7 --- /dev/null +++ b/src/plugins/custom_integrations/public/services/index.ts @@ -0,0 +1,36 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { PluginServices } from '../../../presentation_util/public'; + +import { CustomIntegrationsFindService } from './find'; +import { CustomIntegrationsPlatformService } from './platform'; + +/** + * Services used by the custom integrations plugin. + */ +export interface CustomIntegrationsServices { + find: CustomIntegrationsFindService; + platform: CustomIntegrationsPlatformService; +} + +/** + * The `PluginServices` object for the custom integrations plugin. + * @see /src/plugins/presentation_util/public/services/create/index.ts + */ +export const pluginServices = new PluginServices(); + +/** + * A React hook that provides connections to the `CustomIntegrationsFindService`. + */ +export const useFindService = () => (() => pluginServices.getHooks().find.useService())(); + +/** + * A React hook that provides connections to the `CustomIntegrationsPlatformService`. + */ +export const usePlatformService = () => (() => pluginServices.getHooks().platform.useService())(); diff --git a/src/plugins/custom_integrations/public/services/kibana/find.ts b/src/plugins/custom_integrations/public/services/kibana/find.ts new file mode 100644 index 0000000000000..5fc7626baa1e1 --- /dev/null +++ b/src/plugins/custom_integrations/public/services/kibana/find.ts @@ -0,0 +1,46 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { + CustomIntegration, + ROUTES_APPEND_CUSTOM_INTEGRATIONS, + ROUTES_REPLACEMENT_CUSTOM_INTEGRATIONS, +} from '../../../common'; +import { KibanaPluginServiceFactory } from '../../../../presentation_util/public'; + +import { CustomIntegrationsStartDependencies } from '../../types'; +import { CustomIntegrationsFindService, filterCustomIntegrations } from '../find'; + +/** + * A type definition for a factory to produce the `CustomIntegrationsFindService` for use in Kibana. + * @see /src/plugins/presentation_util/public/services/create/factory.ts + */ +export type CustomIntegrationsFindServiceFactory = KibanaPluginServiceFactory< + CustomIntegrationsFindService, + CustomIntegrationsStartDependencies +>; + +/** + * A factory to produce the `CustomIntegrationsFindService` for use in Kibana. + */ +export const findServiceFactory: CustomIntegrationsFindServiceFactory = ({ coreStart }) => ({ + findAppendedIntegrations: async (params) => { + const integrations: CustomIntegration[] = await coreStart.http.get( + ROUTES_APPEND_CUSTOM_INTEGRATIONS + ); + + return filterCustomIntegrations(integrations, params); + }, + findReplacementIntegrations: async (params) => { + const replacements: CustomIntegration[] = await coreStart.http.get( + ROUTES_REPLACEMENT_CUSTOM_INTEGRATIONS + ); + + return filterCustomIntegrations(replacements, params); + }, +}); diff --git a/src/plugins/custom_integrations/public/services/kibana/index.ts b/src/plugins/custom_integrations/public/services/kibana/index.ts new file mode 100644 index 0000000000000..d3cf27b9bc7c0 --- /dev/null +++ b/src/plugins/custom_integrations/public/services/kibana/index.ts @@ -0,0 +1,44 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { + PluginServiceProviders, + PluginServiceProvider, + PluginServiceRegistry, + KibanaPluginServiceParams, +} from '../../../../presentation_util/public'; + +import { CustomIntegrationsServices } from '..'; +import { CustomIntegrationsStartDependencies } from '../../types'; + +import { findServiceFactory } from './find'; +import { platformServiceFactory } from './platform'; + +export { findServiceFactory } from './find'; +export { platformServiceFactory } from './platform'; + +/** + * A set of `PluginServiceProvider`s for use in Kibana. + * @see /src/plugins/presentation_util/public/services/create/provider.tsx + */ +export const pluginServiceProviders: PluginServiceProviders< + CustomIntegrationsServices, + KibanaPluginServiceParams +> = { + find: new PluginServiceProvider(findServiceFactory), + platform: new PluginServiceProvider(platformServiceFactory), +}; + +/** + * A `PluginServiceRegistry` for use in Kibana. + * @see /src/plugins/presentation_util/public/services/create/registry.tsx + */ +export const pluginServiceRegistry = new PluginServiceRegistry< + CustomIntegrationsServices, + KibanaPluginServiceParams +>(pluginServiceProviders); diff --git a/src/plugins/custom_integrations/public/services/kibana/platform.ts b/src/plugins/custom_integrations/public/services/kibana/platform.ts new file mode 100644 index 0000000000000..e6fe89b68c975 --- /dev/null +++ b/src/plugins/custom_integrations/public/services/kibana/platform.ts @@ -0,0 +1,31 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { KibanaPluginServiceFactory } from '../../../../presentation_util/public'; + +import type { CustomIntegrationsPlatformService } from '../platform'; +import type { CustomIntegrationsStartDependencies } from '../../types'; + +/** + * A type definition for a factory to produce the `CustomIntegrationsPlatformService` for use in Kibana. + * @see /src/plugins/presentation_util/public/services/create/factory.ts + */ +export type CustomIntegrationsPlatformServiceFactory = KibanaPluginServiceFactory< + CustomIntegrationsPlatformService, + CustomIntegrationsStartDependencies +>; + +/** + * A factory to produce the `CustomIntegrationsPlatformService` for use in Kibana. + */ +export const platformServiceFactory: CustomIntegrationsPlatformServiceFactory = ({ + coreStart, +}) => ({ + getBasePath: coreStart.http.basePath.get, + getAbsolutePath: (path: string): string => coreStart.http.basePath.prepend(`${path}`), +}); diff --git a/packages/kbn-legacy-logging/src/utils/index.ts b/src/plugins/custom_integrations/public/services/platform.ts similarity index 73% rename from packages/kbn-legacy-logging/src/utils/index.ts rename to src/plugins/custom_integrations/public/services/platform.ts index 3036671121fe0..0eb9c7d5c3c10 100644 --- a/packages/kbn-legacy-logging/src/utils/index.ts +++ b/src/plugins/custom_integrations/public/services/platform.ts @@ -6,5 +6,7 @@ * Side Public License, v 1. */ -export { applyFiltersToKeys } from './apply_filters_to_keys'; -export { getResponsePayloadBytes } from './get_payload_size'; +export interface CustomIntegrationsPlatformService { + getBasePath: () => string; + getAbsolutePath: (path: string) => string; +} diff --git a/src/plugins/custom_integrations/public/services/storybook/index.ts b/src/plugins/custom_integrations/public/services/storybook/index.ts new file mode 100644 index 0000000000000..4dfed1b37e294 --- /dev/null +++ b/src/plugins/custom_integrations/public/services/storybook/index.ts @@ -0,0 +1,35 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { + PluginServiceProviders, + PluginServiceProvider, + PluginServiceRegistry, +} from '../../../../presentation_util/public'; + +import { CustomIntegrationsServices } from '..'; +import { findServiceFactory } from '../stub/find'; +import { platformServiceFactory } from '../stub/platform'; + +export { findServiceFactory } from '../stub/find'; +export { platformServiceFactory } from '../stub/platform'; + +/** + * A set of `PluginServiceProvider`s for use in Storybook. + * @see /src/plugins/presentation_util/public/services/create/provider.tsx + */ +export const providers: PluginServiceProviders = { + find: new PluginServiceProvider(findServiceFactory), + platform: new PluginServiceProvider(platformServiceFactory), +}; + +/** + * A `PluginServiceRegistry` for use in Storybook. + * @see /src/plugins/presentation_util/public/services/create/registry.tsx + */ +export const registry = new PluginServiceRegistry(providers); diff --git a/src/plugins/custom_integrations/public/services/stub/find.ts b/src/plugins/custom_integrations/public/services/stub/find.ts new file mode 100644 index 0000000000000..08def4e63471d --- /dev/null +++ b/src/plugins/custom_integrations/public/services/stub/find.ts @@ -0,0 +1,32 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { PluginServiceFactory } from '../../../../presentation_util/public'; + +import { CustomIntegrationsFindService, filterCustomIntegrations } from '../find'; + +/** + * A type definition for a factory to produce the `CustomIntegrationsFindService` with stubbed output. + * @see /src/plugins/presentation_util/public/services/create/factory.ts + */ +export type CustomIntegrationsFindServiceFactory = + PluginServiceFactory; + +/** + * A factory to produce the `CustomIntegrationsFindService` with stubbed output. + */ +export const findServiceFactory: CustomIntegrationsFindServiceFactory = () => ({ + findAppendedIntegrations: async (params) => { + const { integrations } = await import('./fixtures/integrations'); + return filterCustomIntegrations(integrations, params); + }, + findReplacementIntegrations: async (params) => { + const { integrations } = await import('./fixtures/integrations'); + return filterCustomIntegrations(integrations, params); + }, +}); diff --git a/src/plugins/custom_integrations/public/services/stub/fixtures/integrations.ts b/src/plugins/custom_integrations/public/services/stub/fixtures/integrations.ts new file mode 100644 index 0000000000000..7553deada9e26 --- /dev/null +++ b/src/plugins/custom_integrations/public/services/stub/fixtures/integrations.ts @@ -0,0 +1,1884 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import type { CustomIntegration } from '../../../../common'; + +export const integrations: CustomIntegration[] = [ + { + type: 'ui_link', + id: 'System logs', + title: 'System logs', + categories: ['os_system', 'security'], + uiInternalPath: '/app/home#/tutorial/systemLogs', + description: 'Collect system logs of common Unix/Linux based distributions.', + icons: [ + { + type: 'eui', + src: 'logoLogging', + }, + ], + shipper: 'beats', + eprOverlap: 'system', + isBeta: false, + }, + { + type: 'ui_link', + id: 'System metrics', + title: 'System metrics', + categories: ['os_system', 'security'], + uiInternalPath: '/app/home#/tutorial/systemMetrics', + description: 'Collect CPU, memory, network, and disk statistics from the host.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/system.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'system', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Apache logs', + title: 'Apache logs', + categories: ['web'], + uiInternalPath: '/app/home#/tutorial/apacheLogs', + description: 'Collect and parse access and error logs created by the Apache HTTP server.', + icons: [ + { + type: 'eui', + src: 'logoApache', + }, + ], + shipper: 'beats', + eprOverlap: 'apache', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Apache metrics', + title: 'Apache metrics', + categories: ['web'], + uiInternalPath: '/app/home#/tutorial/apacheMetrics', + description: 'Fetch internal metrics from the Apache 2 HTTP server.', + icons: [ + { + type: 'eui', + src: 'logoApache', + }, + ], + shipper: 'beats', + eprOverlap: 'apache', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Elasticsearch logs', + title: 'Elasticsearch logs', + categories: ['containers', 'os_system'], + uiInternalPath: '/app/home#/tutorial/elasticsearchLogs', + description: 'Collect and parse logs created by Elasticsearch.', + icons: [ + { + type: 'eui', + src: 'logoElasticsearch', + }, + ], + shipper: 'beats', + eprOverlap: 'elasticsearch', + isBeta: false, + }, + { + type: 'ui_link', + id: 'IIS logs', + title: 'IIS logs', + categories: ['web'], + uiInternalPath: '/app/home#/tutorial/iisLogs', + description: 'Collect and parse access and error logs created by the IIS HTTP server.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/iis.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'iis', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Kafka logs', + title: 'Kafka logs', + categories: ['message_queue'], + uiInternalPath: '/app/home#/tutorial/kafkaLogs', + description: 'Collect and parse logs created by Kafka.', + icons: [ + { + type: 'eui', + src: 'logoKafka', + }, + ], + shipper: 'beats', + eprOverlap: 'kafka', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Logstash logs', + title: 'Logstash logs', + categories: ['custom'], + uiInternalPath: '/app/home#/tutorial/logstashLogs', + description: 'Collect Logstash main and slow logs.', + icons: [ + { + type: 'eui', + src: 'logoLogstash', + }, + ], + shipper: 'beats', + eprOverlap: 'logstash', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Nginx logs', + title: 'Nginx logs', + categories: ['web', 'security'], + uiInternalPath: '/app/home#/tutorial/nginxLogs', + description: 'Collect and parse access and error logs created by the Nginx HTTP server.', + icons: [ + { + type: 'eui', + src: 'logoNginx', + }, + ], + shipper: 'beats', + eprOverlap: 'nginx', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Nginx metrics', + title: 'Nginx metrics', + categories: ['web', 'security'], + uiInternalPath: '/app/home#/tutorial/nginxMetrics', + description: 'Fetch internal metrics from the Nginx HTTP server.', + icons: [ + { + type: 'eui', + src: 'logoNginx', + }, + ], + shipper: 'beats', + eprOverlap: 'nginx', + isBeta: false, + }, + { + type: 'ui_link', + id: 'MySQL logs', + title: 'MySQL logs', + categories: ['datastore'], + uiInternalPath: '/app/home#/tutorial/mysqlLogs', + description: 'Collect and parse error and slow logs created by MySQL.', + icons: [ + { + type: 'eui', + src: 'logoMySQL', + }, + ], + shipper: 'beats', + eprOverlap: 'mysql', + isBeta: false, + }, + { + type: 'ui_link', + id: 'MySQL metrics', + title: 'MySQL metrics', + categories: ['datastore'], + uiInternalPath: '/app/home#/tutorial/mysqlMetrics', + description: 'Fetch internal metrics from MySQL.', + icons: [ + { + type: 'eui', + src: 'logoMySQL', + }, + ], + shipper: 'beats', + eprOverlap: 'mysql', + isBeta: false, + }, + { + type: 'ui_link', + id: 'MongoDB metrics', + title: 'MongoDB metrics', + categories: ['datastore'], + uiInternalPath: '/app/home#/tutorial/mongodbMetrics', + description: 'Fetch internal metrics from MongoDB.', + icons: [ + { + type: 'eui', + src: 'logoMongodb', + }, + ], + shipper: 'beats', + eprOverlap: 'mongodb', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Osquery logs', + title: 'Osquery logs', + categories: ['security', 'os_system'], + uiInternalPath: '/app/home#/tutorial/osqueryLogs', + description: 'Collect osquery logs in JSON format.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/osquery.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'osquery', + isBeta: false, + }, + { + type: 'ui_link', + id: 'PHP-FPM metrics', + title: 'PHP-FPM metrics', + categories: ['security'], + uiInternalPath: '/app/home#/tutorial/phpfpmMetrics', + description: 'Fetch internal metrics from PHP-FPM.', + icons: [ + { + type: 'eui', + src: 'logoPhp', + }, + ], + shipper: 'beats', + eprOverlap: 'php_fpm', + isBeta: false, + }, + { + type: 'ui_link', + id: 'PostgreSQL metrics', + title: 'PostgreSQL metrics', + categories: ['datastore'], + uiInternalPath: '/app/home#/tutorial/postgresqlMetrics', + description: 'Fetch internal metrics from PostgreSQL.', + icons: [ + { + type: 'eui', + src: 'logoPostgres', + }, + ], + shipper: 'beats', + eprOverlap: 'postgresql', + isBeta: false, + }, + { + type: 'ui_link', + id: 'PostgreSQL logs', + title: 'PostgreSQL logs', + categories: ['datastore'], + uiInternalPath: '/app/home#/tutorial/postgresqlLogs', + description: 'Collect and parse error and slow logs created by PostgreSQL.', + icons: [ + { + type: 'eui', + src: 'logoPostgres', + }, + ], + shipper: 'beats', + eprOverlap: 'postgresql', + isBeta: false, + }, + { + type: 'ui_link', + id: 'RabbitMQ metrics', + title: 'RabbitMQ metrics', + categories: ['message_queue'], + uiInternalPath: '/app/home#/tutorial/rabbitmqMetrics', + description: 'Fetch internal metrics from the RabbitMQ server.', + icons: [ + { + type: 'eui', + src: 'logoRabbitmq', + }, + ], + shipper: 'beats', + eprOverlap: 'rabbitmq', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Redis logs', + title: 'Redis logs', + categories: ['datastore', 'message_queue'], + uiInternalPath: '/app/home#/tutorial/redisLogs', + description: 'Collect and parse error and slow logs created by Redis.', + icons: [ + { + type: 'eui', + src: 'logoRedis', + }, + ], + shipper: 'beats', + eprOverlap: 'redis', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Redis metrics', + title: 'Redis metrics', + categories: ['datastore', 'message_queue'], + uiInternalPath: '/app/home#/tutorial/redisMetrics', + description: 'Fetch internal metrics from Redis.', + icons: [ + { + type: 'eui', + src: 'logoRedis', + }, + ], + shipper: 'beats', + eprOverlap: 'redis', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Suricata logs', + title: 'Suricata logs', + categories: ['network', 'security'], + uiInternalPath: '/app/home#/tutorial/suricataLogs', + description: 'Collect Suricata IDS/IPS/NSM logs.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/suricata.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'suricata', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Docker metrics', + title: 'Docker metrics', + categories: ['containers', 'os_system'], + uiInternalPath: '/app/home#/tutorial/dockerMetrics', + description: 'Fetch metrics about your Docker containers.', + icons: [ + { + type: 'eui', + src: 'logoDocker', + }, + ], + shipper: 'beats', + eprOverlap: 'docker', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Kubernetes metrics', + title: 'Kubernetes metrics', + categories: ['containers', 'kubernetes'], + uiInternalPath: '/app/home#/tutorial/kubernetesMetrics', + description: 'Fetch metrics from your Kubernetes installation.', + icons: [ + { + type: 'eui', + src: 'logoKubernetes', + }, + ], + shipper: 'beats', + eprOverlap: 'kubernetes', + isBeta: false, + }, + { + type: 'ui_link', + id: 'uWSGI metrics', + title: 'uWSGI metrics', + categories: ['web', 'security'], + uiInternalPath: '/app/home#/tutorial/uwsgiMetrics', + description: 'Fetch internal metrics from the uWSGI server.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/uwsgi.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'uwsgi', + isBeta: false, + }, + { + type: 'ui_link', + id: 'NetFlow / IPFIX Collector', + title: 'NetFlow / IPFIX Collector', + categories: ['network', 'security'], + uiInternalPath: '/app/home#/tutorial/netflowLogs', + description: 'Collect NetFlow and IPFIX flow records.', + icons: [ + { + type: 'eui', + src: 'logoBeats', + }, + ], + shipper: 'beats', + eprOverlap: 'netflow', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Traefik logs', + title: 'Traefik logs', + categories: ['web', 'security'], + uiInternalPath: '/app/home#/tutorial/traefikLogs', + description: 'Collect Traefik access logs.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/traefik.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'traefik', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Ceph metrics', + title: 'Ceph metrics', + categories: ['network', 'security'], + uiInternalPath: '/app/home#/tutorial/cephMetrics', + description: 'Fetch internal metrics from the Ceph server.', + icons: [ + { + type: 'eui', + src: 'logoCeph', + }, + ], + shipper: 'beats', + eprOverlap: 'ceph', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Aerospike metrics', + title: 'Aerospike metrics', + categories: ['web'], + uiInternalPath: '/app/home#/tutorial/aerospikeMetrics', + description: 'Fetch internal metrics from the Aerospike server.', + icons: [ + { + type: 'eui', + src: 'logoAerospike', + }, + ], + shipper: 'beats', + eprOverlap: 'aerospike', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Couchbase metrics', + title: 'Couchbase metrics', + categories: ['security', 'network', 'web'], + uiInternalPath: '/app/home#/tutorial/couchbaseMetrics', + description: 'Fetch internal metrics from Couchbase.', + icons: [ + { + type: 'eui', + src: 'logoCouchbase', + }, + ], + shipper: 'beats', + eprOverlap: 'couchbase', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Dropwizard metrics', + title: 'Dropwizard metrics', + categories: ['elastic_stack', 'datastore'], + uiInternalPath: '/app/home#/tutorial/dropwizardMetrics', + description: 'Fetch internal metrics from Dropwizard Java application.', + icons: [ + { + type: 'eui', + src: 'logoDropwizard', + }, + ], + shipper: 'beats', + eprOverlap: 'dropwizard', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Elasticsearch metrics', + title: 'Elasticsearch metrics', + categories: ['elastic_stack', 'datastore'], + uiInternalPath: '/app/home#/tutorial/elasticsearchMetrics', + description: 'Fetch internal metrics from Elasticsearch.', + icons: [ + { + type: 'eui', + src: 'logoElasticsearch', + }, + ], + shipper: 'beats', + eprOverlap: 'elasticsearch', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Etcd metrics', + title: 'Etcd metrics', + categories: ['elastic_stack', 'datastore'], + uiInternalPath: '/app/home#/tutorial/etcdMetrics', + description: 'Fetch internal metrics from the Etcd server.', + icons: [ + { + type: 'eui', + src: 'logoEtcd', + }, + ], + shipper: 'beats', + eprOverlap: 'etcd', + isBeta: false, + }, + { + type: 'ui_link', + id: 'HAProxy metrics', + title: 'HAProxy metrics', + categories: ['network', 'web'], + uiInternalPath: '/app/home#/tutorial/haproxyMetrics', + description: 'Fetch internal metrics from the HAProxy server.', + icons: [ + { + type: 'eui', + src: 'logoHAproxy', + }, + ], + shipper: 'beats', + eprOverlap: 'haproxy', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Kafka metrics', + title: 'Kafka metrics', + categories: ['message_queue'], + uiInternalPath: '/app/home#/tutorial/kafkaMetrics', + description: 'Fetch internal metrics from the Kafka server.', + icons: [ + { + type: 'eui', + src: 'logoKafka', + }, + ], + shipper: 'beats', + eprOverlap: 'kafka', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Kibana metrics', + title: 'Kibana metrics', + categories: ['message_queue'], + uiInternalPath: '/app/home#/tutorial/kibanaMetrics', + description: 'Fetch internal metrics from Kibana.', + icons: [ + { + type: 'eui', + src: 'logoKibana', + }, + ], + shipper: 'beats', + eprOverlap: 'kibana', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Memcached metrics', + title: 'Memcached metrics', + categories: ['custom'], + uiInternalPath: '/app/home#/tutorial/memcachedMetrics', + description: 'Fetch internal metrics from the Memcached server.', + icons: [ + { + type: 'eui', + src: 'logoMemcached', + }, + ], + shipper: 'beats', + eprOverlap: 'memcached', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Munin metrics', + title: 'Munin metrics', + categories: ['datastore'], + uiInternalPath: '/app/home#/tutorial/muninMetrics', + description: 'Fetch internal metrics from the Munin server.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/munin.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'munin', + isBeta: false, + }, + { + type: 'ui_link', + id: 'vSphere metrics', + title: 'vSphere metrics', + categories: ['web', 'security'], + uiInternalPath: '/app/home#/tutorial/vsphereMetrics', + description: 'Fetch internal metrics from vSphere.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/vsphere.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'vsphere', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Windows metrics', + title: 'Windows metrics', + categories: ['os_system', 'security'], + uiInternalPath: '/app/home#/tutorial/windowsMetrics', + description: 'Fetch internal metrics from Windows.', + icons: [ + { + type: 'eui', + src: 'logoWindows', + }, + ], + shipper: 'beats', + eprOverlap: 'windows', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Windows Event Log', + title: 'Windows Event Log', + categories: ['os_system', 'security'], + uiInternalPath: '/app/home#/tutorial/windowsEventLogs', + description: 'Fetch logs from the Windows Event Log.', + icons: [ + { + type: 'eui', + src: 'logoWindows', + }, + ], + shipper: 'beats', + eprOverlap: 'windows', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Golang metrics', + title: 'Golang metrics', + categories: ['google_cloud', 'cloud', 'network', 'security'], + uiInternalPath: '/app/home#/tutorial/golangMetrics', + description: 'Fetch internal metrics from a Golang app.', + icons: [ + { + type: 'eui', + src: 'logoGolang', + }, + ], + shipper: 'beats', + eprOverlap: 'golang', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Logstash metrics', + title: 'Logstash metrics', + categories: ['custom'], + uiInternalPath: '/app/home#/tutorial/logstashMetrics', + description: 'Fetch internal metrics from a Logstash server.', + icons: [ + { + type: 'eui', + src: 'logoLogstash', + }, + ], + shipper: 'beats', + eprOverlap: 'logstash', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Prometheus metrics', + title: 'Prometheus metrics', + categories: ['monitoring', 'datastore'], + uiInternalPath: '/app/home#/tutorial/prometheusMetrics', + description: 'Fetch metrics from a Prometheus exporter.', + icons: [ + { + type: 'eui', + src: 'logoPrometheus', + }, + ], + shipper: 'beats', + eprOverlap: 'prometheus', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Zookeeper metrics', + title: 'Zookeeper metrics', + categories: ['datastore', 'config_management'], + uiInternalPath: '/app/home#/tutorial/zookeeperMetrics', + description: 'Fetch internal metrics from a Zookeeper server.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/zookeeper.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'zookeeper', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Uptime Monitors', + title: 'Uptime Monitors', + categories: ['web', 'security'], + uiInternalPath: '/app/home#/tutorial/uptimeMonitors', + description: 'Monitor services for their availability', + icons: [ + { + type: 'eui', + src: 'uptimeApp', + }, + ], + shipper: 'beats', + eprOverlap: 'uptime', + isBeta: false, + }, + { + type: 'ui_link', + id: 'AWS Cloudwatch logs', + title: 'AWS Cloudwatch logs', + categories: ['security', 'network', 'web'], + uiInternalPath: '/app/home#/tutorial/cloudwatchLogs', + description: 'Collect Cloudwatch logs with Functionbeat.', + icons: [ + { + type: 'eui', + src: 'logoAWS', + }, + ], + shipper: 'beats', + eprOverlap: 'aws', + isBeta: false, + }, + { + type: 'ui_link', + id: 'AWS metrics', + title: 'AWS metrics', + categories: ['aws', 'cloud', 'datastore', 'security', 'network'], + uiInternalPath: '/app/home#/tutorial/awsMetrics', + description: 'Fetch monitoring metrics for EC2 instances from the AWS APIs and Cloudwatch.', + icons: [ + { + type: 'eui', + src: 'logoAWS', + }, + ], + shipper: 'beats', + eprOverlap: 'aws', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Microsoft SQL Server Metrics', + title: 'Microsoft SQL Server Metrics', + categories: ['datastore'], + uiInternalPath: '/app/home#/tutorial/mssqlMetrics', + description: 'Fetch monitoring metrics from a Microsoft SQL Server instance', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/mssql.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'mssql', + isBeta: false, + }, + { + type: 'ui_link', + id: 'NATS metrics', + title: 'NATS metrics', + categories: ['message_queue'], + uiInternalPath: '/app/home#/tutorial/natsMetrics', + description: 'Fetch monitoring metrics from the Nats server.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/nats.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'nats', + isBeta: false, + }, + { + type: 'ui_link', + id: 'NATS logs', + title: 'NATS logs', + categories: ['message_queue'], + uiInternalPath: '/app/home#/tutorial/natsLogs', + description: 'Collect and parse logs created by Nats.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/nats.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'nats', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Zeek logs', + title: 'Zeek logs', + categories: ['network', 'monitoring', 'security'], + uiInternalPath: '/app/home#/tutorial/zeekLogs', + description: 'Collect Zeek network security monitoring logs.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/zeek.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'zeek', + isBeta: false, + }, + { + type: 'ui_link', + id: 'CoreDNS metrics', + title: 'CoreDNS metrics', + categories: ['security', 'network', 'web'], + uiInternalPath: '/app/home#/tutorial/corednsMetrics', + description: 'Fetch monitoring metrics from the CoreDNS server.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/coredns.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'coredns', + isBeta: false, + }, + { + type: 'ui_link', + id: 'CoreDNS logs', + title: 'CoreDNS logs', + categories: ['security', 'network', 'web'], + uiInternalPath: '/app/home#/tutorial/corednsLogs', + description: 'Collect CoreDNS logs.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/coredns.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'coredns', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Auditbeat', + title: 'Auditbeat', + categories: ['web'], + uiInternalPath: '/app/home#/tutorial/auditbeat', + description: 'Collect audit data from your hosts.', + icons: [ + { + type: 'eui', + src: 'securityAnalyticsApp', + }, + ], + shipper: 'beats', + eprOverlap: 'auditbeat', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Iptables logs', + title: 'Iptables logs', + categories: ['network', 'security'], + uiInternalPath: '/app/home#/tutorial/iptablesLogs', + description: 'Collect iptables and ip6tables logs.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/linux.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'iptables', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Cisco logs', + title: 'Cisco logs', + categories: ['network', 'security'], + uiInternalPath: '/app/home#/tutorial/ciscoLogs', + description: 'Collect Cisco network device logs over syslog or from a file.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/cisco.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'cisco', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Envoy Proxy logs', + title: 'Envoy Proxy logs', + categories: ['elastic_stack', 'datastore'], + uiInternalPath: '/app/home#/tutorial/envoyproxyLogs', + description: 'Collect Envoy Proxy logs.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/envoyproxy.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'envoyproxy', + isBeta: false, + }, + { + type: 'ui_link', + id: 'CouchDB metrics', + title: 'CouchDB metrics', + categories: ['security', 'network', 'web'], + uiInternalPath: '/app/home#/tutorial/couchdbMetrics', + description: 'Fetch monitoring metrics from the CouchdB server.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/couchdb.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'couchdb', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Consul metrics', + title: 'Consul metrics', + categories: ['security', 'network', 'web'], + uiInternalPath: '/app/home#/tutorial/consulMetrics', + description: 'Fetch monitoring metrics from the Consul server.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/consul.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'consul', + isBeta: false, + }, + { + type: 'ui_link', + id: 'CockroachDB metrics', + title: 'CockroachDB metrics', + categories: ['security', 'network', 'web'], + uiInternalPath: '/app/home#/tutorial/cockroachdbMetrics', + description: 'Fetch monitoring metrics from the CockroachDB server.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/cockroachdb.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'cockroachdb', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Traefik metrics', + title: 'Traefik metrics', + categories: ['web', 'security'], + uiInternalPath: '/app/home#/tutorial/traefikMetrics', + description: 'Fetch monitoring metrics from Traefik.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/traefik.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'traefik', + isBeta: false, + }, + { + type: 'ui_link', + id: 'AWS S3 based logs', + title: 'AWS S3 based logs', + categories: ['aws', 'cloud', 'datastore', 'security', 'network'], + uiInternalPath: '/app/home#/tutorial/awsLogs', + description: 'Collect AWS logs from S3 bucket with Filebeat.', + icons: [ + { + type: 'eui', + src: 'logoAWS', + }, + ], + shipper: 'beats', + eprOverlap: 'aws', + isBeta: false, + }, + { + type: 'ui_link', + id: 'ActiveMQ logs', + title: 'ActiveMQ logs', + categories: ['web'], + uiInternalPath: '/app/home#/tutorial/activemqLogs', + description: 'Collect ActiveMQ logs with Filebeat.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/activemq.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'activemq', + isBeta: false, + }, + { + type: 'ui_link', + id: 'ActiveMQ metrics', + title: 'ActiveMQ metrics', + categories: ['web'], + uiInternalPath: '/app/home#/tutorial/activemqMetrics', + description: 'Fetch monitoring metrics from ActiveMQ instances.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/activemq.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'activemq', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Azure metrics', + title: 'Azure metrics', + categories: ['azure', 'cloud', 'network', 'security'], + uiInternalPath: '/app/home#/tutorial/azureMetrics', + description: 'Fetch Azure Monitor metrics.', + icons: [ + { + type: 'eui', + src: 'logoAzure', + }, + ], + shipper: 'beats', + eprOverlap: 'azure', + isBeta: false, + }, + { + type: 'ui_link', + id: 'IBM MQ logs', + title: 'IBM MQ logs', + categories: ['security'], + uiInternalPath: '/app/home#/tutorial/ibmmqLogs', + description: 'Collect IBM MQ logs with Filebeat.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/ibmmq.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'ibmmq', + isBeta: false, + }, + { + type: 'ui_link', + id: 'IBM MQ metrics', + title: 'IBM MQ metrics', + categories: ['security'], + uiInternalPath: '/app/home#/tutorial/ibmmqMetrics', + description: 'Fetch monitoring metrics from IBM MQ instances.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/ibmmq.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'ibmmq', + isBeta: false, + }, + { + type: 'ui_link', + id: 'STAN metrics', + title: 'STAN metrics', + categories: ['message_queue', 'kubernetes'], + uiInternalPath: '/app/home#/tutorial/stanMetrics', + description: 'Fetch monitoring metrics from the STAN server.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/stan.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'stan', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Envoy Proxy metrics', + title: 'Envoy Proxy metrics', + categories: ['elastic_stack', 'datastore'], + uiInternalPath: '/app/home#/tutorial/envoyproxyMetrics', + description: 'Fetch monitoring metrics from Envoy Proxy.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/envoyproxy.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'envoyproxy', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Statsd metrics', + title: 'Statsd metrics', + categories: ['message_queue', 'kubernetes'], + uiInternalPath: '/app/home#/tutorial/statsdMetrics', + description: 'Fetch monitoring metrics from statsd.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/statsd.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'statsd', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Redis Enterprise metrics', + title: 'Redis Enterprise metrics', + categories: ['datastore', 'message_queue'], + uiInternalPath: '/app/home#/tutorial/redisenterpriseMetrics', + description: 'Fetch monitoring metrics from Redis Enterprise Server.', + icons: [ + { + type: 'eui', + src: 'logoRedis', + }, + ], + shipper: 'beats', + eprOverlap: 'redisenterprise', + isBeta: false, + }, + { + type: 'ui_link', + id: 'OpenMetrics metrics', + title: 'OpenMetrics metrics', + categories: ['security'], + uiInternalPath: '/app/home#/tutorial/openmetricsMetrics', + description: 'Fetch metrics from an endpoint that serves metrics in OpenMetrics format.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/openmetrics.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'openmetrics', + isBeta: false, + }, + { + type: 'ui_link', + id: 'oracle metrics', + title: 'oracle metrics', + categories: ['security'], + uiInternalPath: '/app/home#/tutorial/oracleMetrics', + description: 'Fetch internal metrics from a Oracle server.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/oracle.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'oracle', + isBeta: false, + }, + { + type: 'ui_link', + id: 'IIS Metrics', + title: 'IIS Metrics', + categories: ['web'], + uiInternalPath: '/app/home#/tutorial/iisMetrics', + description: 'Collect IIS server related metrics.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/iis.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'iis', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Azure logs', + title: 'Azure logs', + categories: ['azure', 'cloud', 'network', 'security'], + uiInternalPath: '/app/home#/tutorial/azureLogs', + description: 'Collects Azure activity and audit related logs.', + icons: [ + { + type: 'eui', + src: 'logoAzure', + }, + ], + shipper: 'beats', + eprOverlap: 'azure', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Google Cloud metrics', + title: 'Google Cloud metrics', + categories: ['google_cloud', 'cloud', 'network', 'security'], + uiInternalPath: '/app/home#/tutorial/gcpMetrics', + description: + 'Fetch monitoring metrics from Google Cloud Platform using Stackdriver Monitoring API.', + icons: [ + { + type: 'eui', + src: 'logoGCP', + }, + ], + shipper: 'beats', + eprOverlap: 'gcp', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Auditd logs', + title: 'Auditd logs', + categories: ['os_system'], + uiInternalPath: '/app/home#/tutorial/auditdLogs', + description: 'Collect logs from the Linux auditd daemon.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/linux.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'auditd', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Barracuda logs', + title: 'Barracuda logs', + categories: ['network', 'security'], + uiInternalPath: '/app/home#/tutorial/barracudaLogs', + description: 'Collect Barracuda Web Application Firewall logs over syslog or from a file.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/barracuda.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'barracuda', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Bluecoat logs', + title: 'Bluecoat logs', + categories: ['network', 'security'], + uiInternalPath: '/app/home#/tutorial/bluecoatLogs', + description: 'Collect Blue Coat Director logs over syslog or from a file.', + icons: [ + { + type: 'eui', + src: 'logoLogging', + }, + ], + shipper: 'beats', + eprOverlap: 'bluecoat', + isBeta: false, + }, + { + type: 'ui_link', + id: 'CEF logs', + title: 'CEF logs', + categories: ['network', 'security'], + uiInternalPath: '/app/home#/tutorial/cefLogs', + description: 'Collect Common Event Format (CEF) log data over syslog.', + icons: [ + { + type: 'eui', + src: 'logoLogging', + }, + ], + shipper: 'beats', + eprOverlap: 'cef', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Check Point logs', + title: 'Check Point logs', + categories: ['security'], + uiInternalPath: '/app/home#/tutorial/checkpointLogs', + description: 'Collect Check Point firewall logs.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/checkpoint.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'checkpoint', + isBeta: false, + }, + { + type: 'ui_link', + id: 'CrowdStrike logs', + title: 'CrowdStrike logs', + categories: ['security'], + uiInternalPath: '/app/home#/tutorial/crowdstrikeLogs', + description: 'Collect CrowdStrike Falcon logs using the Falcon SIEM Connector.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/crowdstrike.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'crowdstrike', + isBeta: false, + }, + { + type: 'ui_link', + id: 'CylancePROTECT logs', + title: 'CylancePROTECT logs', + categories: ['security'], + uiInternalPath: '/app/home#/tutorial/cylanceLogs', + description: 'Collect CylancePROTECT logs over syslog or from a file.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/cylance.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'cylance', + isBeta: false, + }, + { + type: 'ui_link', + id: 'F5 logs', + title: 'F5 logs', + categories: ['network', 'security'], + uiInternalPath: '/app/home#/tutorial/f5Logs', + description: 'Collect F5 Big-IP Access Policy Manager logs over syslog or from a file.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/f5.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'f5', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Fortinet logs', + title: 'Fortinet logs', + categories: ['security'], + uiInternalPath: '/app/home#/tutorial/fortinetLogs', + description: 'Collect Fortinet FortiOS logs over syslog.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/fortinet.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'fortinet', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Google Cloud logs', + title: 'Google Cloud logs', + categories: ['google_cloud', 'cloud', 'network', 'security'], + uiInternalPath: '/app/home#/tutorial/gcpLogs', + description: 'Collect Google Cloud audit, firewall, and VPC flow logs.', + icons: [ + { + type: 'eui', + src: 'logoGoogleG', + }, + ], + shipper: 'beats', + eprOverlap: 'gcp', + isBeta: false, + }, + { + type: 'ui_link', + id: 'GSuite logs', + title: 'GSuite logs', + categories: ['security'], + uiInternalPath: '/app/home#/tutorial/gsuiteLogs', + description: 'Collect GSuite activity reports.', + icons: [ + { + type: 'eui', + src: 'logoGoogleG', + }, + ], + shipper: 'beats', + eprOverlap: 'gsuite', + isBeta: false, + }, + { + type: 'ui_link', + id: 'HAProxy logs', + title: 'HAProxy logs', + categories: ['network', 'web'], + uiInternalPath: '/app/home#/tutorial/haproxyLogs', + description: 'Collect HAProxy logs.', + icons: [ + { + type: 'eui', + src: 'logoHAproxy', + }, + ], + shipper: 'beats', + eprOverlap: 'haproxy', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Icinga logs', + title: 'Icinga logs', + categories: ['security'], + uiInternalPath: '/app/home#/tutorial/icingaLogs', + description: 'Collect Icinga main, debug, and startup logs.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/icinga.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'icinga', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Imperva logs', + title: 'Imperva logs', + categories: ['network', 'security'], + uiInternalPath: '/app/home#/tutorial/impervaLogs', + description: 'Collect Imperva SecureSphere logs over syslog or from a file.', + icons: [ + { + type: 'eui', + src: 'logoLogging', + }, + ], + shipper: 'beats', + eprOverlap: 'imperva', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Infoblox logs', + title: 'Infoblox logs', + categories: ['network'], + uiInternalPath: '/app/home#/tutorial/infobloxLogs', + description: 'Collect Infoblox NIOS logs over syslog or from a file.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/infoblox.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'infoblox', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Juniper Logs', + title: 'Juniper Logs', + categories: ['network', 'security'], + uiInternalPath: '/app/home#/tutorial/juniperLogs', + description: 'Collect Juniper JUNOS logs over syslog or from a file.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/juniper.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'juniper', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Kibana Logs', + title: 'Kibana Logs', + categories: ['message_queue'], + uiInternalPath: '/app/home#/tutorial/kibanaLogs', + description: 'Collect Kibana logs.', + icons: [ + { + type: 'eui', + src: 'logoKibana', + }, + ], + shipper: 'beats', + eprOverlap: 'kibana', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Microsoft Defender ATP logs', + title: 'Microsoft Defender ATP logs', + categories: ['network', 'security', 'azure'], + uiInternalPath: '/app/home#/tutorial/microsoftLogs', + description: 'Collect Microsoft Defender ATP alerts.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/microsoft.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'microsoft', + isBeta: false, + }, + { + type: 'ui_link', + id: 'MISP threat intel logs', + title: 'MISP threat intel logs', + categories: ['network', 'security', 'azure'], + uiInternalPath: '/app/home#/tutorial/mispLogs', + description: 'Collect MISP threat intelligence data with Filebeat.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/misp.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'misp', + isBeta: false, + }, + { + type: 'ui_link', + id: 'MongoDB logs', + title: 'MongoDB logs', + categories: ['datastore'], + uiInternalPath: '/app/home#/tutorial/mongodbLogs', + description: 'Collect MongoDB logs.', + icons: [ + { + type: 'eui', + src: 'logoMongodb', + }, + ], + shipper: 'beats', + eprOverlap: 'mongodb', + isBeta: false, + }, + { + type: 'ui_link', + id: 'MSSQL logs', + title: 'MSSQL logs', + categories: ['datastore'], + uiInternalPath: '/app/home#/tutorial/mssqlLogs', + description: 'Collect MSSQL logs.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/microsoft.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'mssql', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Arbor Peakflow logs', + title: 'Arbor Peakflow logs', + categories: ['security'], + uiInternalPath: '/app/home#/tutorial/netscoutLogs', + description: 'Collect Netscout Arbor Peakflow SP logs over syslog or from a file.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/netscout.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'netscout', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Office 365 logs', + title: 'Office 365 logs', + categories: ['security'], + uiInternalPath: '/app/home#/tutorial/o365Logs', + description: 'Collect Office 365 activity logs via the Office 365 API.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/o365.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'o365', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Okta logs', + title: 'Okta logs', + categories: ['security'], + uiInternalPath: '/app/home#/tutorial/oktaLogs', + description: 'Collect the Okta system log via the Okta API.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/okta.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'okta', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Palo Alto Networks PAN-OS logs', + title: 'Palo Alto Networks PAN-OS logs', + categories: ['security'], + uiInternalPath: '/app/home#/tutorial/panwLogs', + description: + 'Collect Palo Alto Networks PAN-OS threat and traffic logs over syslog or from a log file.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/paloalto.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'panw', + isBeta: false, + }, + { + type: 'ui_link', + id: 'RabbitMQ logs', + title: 'RabbitMQ logs', + categories: ['message_queue'], + uiInternalPath: '/app/home#/tutorial/rabbitmqLogs', + description: 'Collect RabbitMQ logs.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/rabbitmq.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'rabbitmq', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Radware DefensePro logs', + title: 'Radware DefensePro logs', + categories: ['security'], + uiInternalPath: '/app/home#/tutorial/radwareLogs', + description: 'Collect Radware DefensePro logs over syslog or from a file.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/radware.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'radware', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Google Santa logs', + title: 'Google Santa logs', + categories: ['security', 'os_system'], + uiInternalPath: '/app/home#/tutorial/santaLogs', + description: 'Collect Google Santa logs about process executions on MacOS.', + icons: [ + { + type: 'eui', + src: 'logoLogging', + }, + ], + shipper: 'beats', + eprOverlap: 'santa', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Sonicwall FW logs', + title: 'Sonicwall FW logs', + categories: ['network', 'security'], + uiInternalPath: '/app/home#/tutorial/sonicwallLogs', + description: 'Collect Sonicwall-FW logs over syslog or from a file.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/sonicwall.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'sonicwall', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Sophos logs', + title: 'Sophos logs', + categories: ['security'], + uiInternalPath: '/app/home#/tutorial/sophosLogs', + description: 'Collect Sophos XG SFOS logs over syslog.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/sophos.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'sophos', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Squid logs', + title: 'Squid logs', + categories: ['security'], + uiInternalPath: '/app/home#/tutorial/squidLogs', + description: 'Collect Squid logs over syslog or from a file.', + icons: [ + { + type: 'eui', + src: 'logoLogging', + }, + ], + shipper: 'beats', + eprOverlap: 'squid', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Tomcat logs', + title: 'Tomcat logs', + categories: ['web', 'security'], + uiInternalPath: '/app/home#/tutorial/tomcatLogs', + description: 'Collect Apache Tomcat logs over syslog or from a file.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/tomcat.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'tomcat', + isBeta: false, + }, + { + type: 'ui_link', + id: 'Zscaler Logs', + title: 'Zscaler Logs', + categories: ['network', 'security'], + uiInternalPath: '/app/home#/tutorial/zscalerLogs', + description: 'This is a module for receiving Zscaler NSS logs over Syslog or a file.', + icons: [ + { + type: 'svg', + src: '/dqo/plugins/home/assets/logos/zscaler.svg', + }, + ], + shipper: 'beats', + eprOverlap: 'zscaler', + isBeta: false, + }, + { + type: 'ui_link', + id: 'apm', + title: 'APM', + categories: ['web'], + uiInternalPath: '/app/home#/tutorial/apm', + description: 'Collect in-depth performance metrics and errors from inside your applications.', + icons: [ + { + type: 'eui', + src: 'apmApp', + }, + ], + shipper: 'tutorial', + isBeta: false, + eprOverlap: 'apm', + }, +]; diff --git a/src/plugins/custom_integrations/public/services/stub/index.ts b/src/plugins/custom_integrations/public/services/stub/index.ts new file mode 100644 index 0000000000000..fe7465949d565 --- /dev/null +++ b/src/plugins/custom_integrations/public/services/stub/index.ts @@ -0,0 +1,27 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { + PluginServiceProviders, + PluginServiceProvider, + PluginServiceRegistry, +} from '../../../../presentation_util/public'; + +import { CustomIntegrationsServices } from '..'; +import { findServiceFactory } from './find'; +import { platformServiceFactory } from './platform'; + +export { findServiceFactory } from './find'; +export { platformServiceFactory } from './platform'; + +export const providers: PluginServiceProviders = { + find: new PluginServiceProvider(findServiceFactory), + platform: new PluginServiceProvider(platformServiceFactory), +}; + +export const registry = new PluginServiceRegistry(providers); diff --git a/src/plugins/custom_integrations/public/services/stub/platform.ts b/src/plugins/custom_integrations/public/services/stub/platform.ts new file mode 100644 index 0000000000000..81891c0c3ac40 --- /dev/null +++ b/src/plugins/custom_integrations/public/services/stub/platform.ts @@ -0,0 +1,26 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { PluginServiceFactory } from '../../../../presentation_util/public'; + +import type { CustomIntegrationsPlatformService } from '../platform'; + +/** + * A type definition for a factory to produce the `CustomIntegrationsPlatformService` with stubbed output. + * @see /src/plugins/presentation_util/public/services/create/factory.ts + */ +export type CustomIntegrationsPlatformServiceFactory = + PluginServiceFactory; + +/** + * A factory to produce the `CustomIntegrationsPlatformService` with stubbed output. + */ +export const platformServiceFactory: CustomIntegrationsPlatformServiceFactory = () => ({ + getBasePath: () => '/basePath', + getAbsolutePath: (path: string): string => `https://example.com/basePath${path}`, +}); diff --git a/src/plugins/custom_integrations/public/types.ts b/src/plugins/custom_integrations/public/types.ts index 9a12af767ecbc..946115329e2b5 100755 --- a/src/plugins/custom_integrations/public/types.ts +++ b/src/plugins/custom_integrations/public/types.ts @@ -6,14 +6,19 @@ * Side Public License, v 1. */ +import type { PresentationUtilPluginStart } from '../../presentation_util/public'; + import { CustomIntegration } from '../common'; export interface CustomIntegrationsSetup { getAppendCustomIntegrations: () => Promise; getReplacementCustomIntegrations: () => Promise; } -// eslint-disable-next-line @typescript-eslint/no-empty-interface -export interface CustomIntegrationsStart {} -// eslint-disable-next-line @typescript-eslint/no-empty-interface -export interface AppPluginStartDependencies {} +export interface CustomIntegrationsStart { + ContextProvider: React.FC; +} + +export interface CustomIntegrationsStartDependencies { + presentationUtil: PresentationUtilPluginStart; +} diff --git a/src/plugins/custom_integrations/server/language_clients/index.ts b/src/plugins/custom_integrations/server/language_clients/index.ts new file mode 100644 index 0000000000000..da61f804b4242 --- /dev/null +++ b/src/plugins/custom_integrations/server/language_clients/index.ts @@ -0,0 +1,181 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { i18n } from '@kbn/i18n'; +import { CoreSetup } from 'kibana/server'; +import { CustomIntegrationRegistry } from '../custom_integration_registry'; +import { CustomIntegrationIcon, PLUGIN_ID } from '../../common'; + +interface LanguageIntegration { + id: string; + title: string; + icon?: string; + euiIconName?: string; + description: string; + docUrlTemplate: string; +} + +const ELASTIC_WEBSITE_URL = 'https://www.elastic.co'; +const ELASTICSEARCH_CLIENT_URL = `${ELASTIC_WEBSITE_URL}/guide/en/elasticsearch/client`; +export const integrations: LanguageIntegration[] = [ + { + id: 'all', + title: i18n.translate('customIntegrations.languageclients.AllTitle', { + defaultMessage: 'Elasticsearch Clients', + }), + euiIconName: 'logoElasticsearch', + description: i18n.translate('customIntegrations.languageclients.AllDescription', { + defaultMessage: + 'Start building your custom application on top of Elasticsearch with the official language clients.', + }), + docUrlTemplate: `${ELASTICSEARCH_CLIENT_URL}/index.html`, + }, + { + id: 'javascript', + title: i18n.translate('customIntegrations.languageclients.JavascriptTitle', { + defaultMessage: 'Elasticsearch JavaScript Client', + }), + icon: 'nodejs.svg', + description: i18n.translate('customIntegrations.languageclients.JavascriptDescription', { + defaultMessage: + 'Start building your custom application on top of Elasticsearch with the official Node.js client.', + }), + docUrlTemplate: `${ELASTICSEARCH_CLIENT_URL}/javascript-api/{branch}/introduction.html`, + }, + { + id: 'ruby', + title: i18n.translate('customIntegrations.languageclients.RubyTitle', { + defaultMessage: 'Elasticsearch Ruby Client', + }), + icon: 'ruby.svg', + description: i18n.translate('customIntegrations.languageclients.RubyDescription', { + defaultMessage: + 'Start building your custom application on top of Elasticsearch with the official Ruby client.', + }), + docUrlTemplate: `${ELASTICSEARCH_CLIENT_URL}/ruby-api/{branch}/ruby_client.html`, + }, + { + id: 'go', + title: i18n.translate('customIntegrations.languageclients.GoTitle', { + defaultMessage: 'Elasticsearch Go Client', + }), + icon: 'go.svg', + description: i18n.translate('customIntegrations.languageclients.GoDescription', { + defaultMessage: + 'Start building your custom application on top of Elasticsearch with the official Go client.', + }), + docUrlTemplate: `${ELASTICSEARCH_CLIENT_URL}/go-api/{branch}/overview.html`, + }, + { + id: 'dotnet', + title: i18n.translate('customIntegrations.languageclients.DotNetTitle', { + defaultMessage: 'Elasticsearch .NET Client', + }), + icon: 'dotnet.svg', + description: i18n.translate('customIntegrations.languageclients.DotNetDescription', { + defaultMessage: + 'Start building your custom application on top of Elasticsearch with the official .NET client.', + }), + docUrlTemplate: `${ELASTICSEARCH_CLIENT_URL}/net-api/{branch}/index.html`, + }, + { + id: 'php', + title: i18n.translate('customIntegrations.languageclients.PhpTitle', { + defaultMessage: 'Elasticsearch PHP Client', + }), + icon: 'php.svg', + description: i18n.translate('customIntegrations.languageclients.PhpDescription', { + defaultMessage: + 'Start building your custom application on top of Elasticsearch with the official .PHP client.', + }), + docUrlTemplate: `${ELASTICSEARCH_CLIENT_URL}/php-api/{branch}/index.html`, + }, + { + id: 'perl', + title: i18n.translate('customIntegrations.languageclients.PerlTitle', { + defaultMessage: 'Elasticsearch Perl Client', + }), + icon: 'perl.svg', + description: i18n.translate('customIntegrations.languageclients.PerlDescription', { + defaultMessage: + 'Start building your custom application on top of Elasticsearch with the official Perl client.', + }), + docUrlTemplate: `${ELASTICSEARCH_CLIENT_URL}/perl-api/{branch}/index.html`, + }, + { + id: 'python', + title: i18n.translate('customIntegrations.languageclients.PythonTitle', { + defaultMessage: 'Elasticsearch Python Client', + }), + icon: 'python.svg', + description: i18n.translate('customIntegrations.languageclients.PythonDescription', { + defaultMessage: + 'Start building your custom application on top of Elasticsearch with the official Python client.', + }), + docUrlTemplate: `${ELASTICSEARCH_CLIENT_URL}/python-api/{branch}/index.html`, + }, + { + id: 'rust', + title: i18n.translate('customIntegrations.languageclients.RustTitle', { + defaultMessage: 'Elasticsearch Rust Client', + }), + icon: 'rust.svg', + description: i18n.translate('customIntegrations.languageclients.RustDescription', { + defaultMessage: + 'Start building your custom application on top of Elasticsearch with the official Rust client.', + }), + docUrlTemplate: `${ELASTICSEARCH_CLIENT_URL}/rust-api/{branch}/index.html`, + }, + { + id: 'java', + title: i18n.translate('customIntegrations.languageclients.JavaTitle', { + defaultMessage: 'Elasticsearch Java Client', + }), + icon: 'java.svg', + description: i18n.translate('customIntegrations.languageclients.JavaDescription', { + defaultMessage: + 'Start building your custom application on top of Elasticsearch with the official Java client.', + }), + docUrlTemplate: `${ELASTICSEARCH_CLIENT_URL}/java-api-client/{branch}/index.html`, + }, +]; + +export function registerLanguageClients( + core: CoreSetup, + registry: CustomIntegrationRegistry, + branch: string +) { + integrations.forEach((integration: LanguageIntegration) => { + const icons: CustomIntegrationIcon[] = []; + if (integration.euiIconName) { + icons.push({ + type: 'eui', + src: integration.euiIconName, + }); + } else if (integration.icon) { + icons.push({ + type: 'svg', + src: core.http.basePath.prepend( + `/plugins/${PLUGIN_ID}/assets/language_clients/${integration.icon}` + ), + }); + } + + registry.registerCustomIntegration({ + id: `language_client.${integration.id}`, + title: integration.title, + description: integration.description, + type: 'ui_link', + shipper: 'language_clients', + uiInternalPath: integration.docUrlTemplate.replace('{branch}', branch), + isBeta: false, + icons, + categories: ['elastic_stack', 'custom', 'language_client'], + }); + }); +} diff --git a/src/plugins/custom_integrations/server/plugin.test.ts b/src/plugins/custom_integrations/server/plugin.test.ts index 424eedf0603cd..8dee81ba6cba3 100644 --- a/src/plugins/custom_integrations/server/plugin.test.ts +++ b/src/plugins/custom_integrations/server/plugin.test.ts @@ -22,9 +22,145 @@ describe('CustomIntegrationsPlugin', () => { initContext = coreMock.createPluginInitializerContext(); }); - test('wires up tutorials provider service and returns registerTutorial and addScopedTutorialContextFactory', () => { + test('should return setup contract', () => { const setup = new CustomIntegrationsPlugin(initContext).setup(mockCoreSetup); expect(setup).toHaveProperty('registerCustomIntegration'); + expect(setup).toHaveProperty('getAppendCustomIntegrations'); + }); + + test('should register language clients', () => { + const setup = new CustomIntegrationsPlugin(initContext).setup(mockCoreSetup); + expect(setup.getAppendCustomIntegrations()).toEqual([ + { + id: 'language_client.all', + title: 'Elasticsearch Clients', + description: + 'Start building your custom application on top of Elasticsearch with the official language clients.', + type: 'ui_link', + shipper: 'language_clients', + uiInternalPath: 'https://www.elastic.co/guide/en/elasticsearch/client/index.html', + isBeta: false, + icons: [{ type: 'eui', src: 'logoElasticsearch' }], + categories: ['elastic_stack', 'custom', 'language_client'], + }, + { + id: 'language_client.javascript', + title: 'Elasticsearch JavaScript Client', + description: + 'Start building your custom application on top of Elasticsearch with the official Node.js client.', + type: 'ui_link', + shipper: 'language_clients', + uiInternalPath: + 'https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/branch/introduction.html', + isBeta: false, + icons: [{ type: 'svg' }], + categories: ['elastic_stack', 'custom', 'language_client'], + }, + { + id: 'language_client.ruby', + title: 'Elasticsearch Ruby Client', + description: + 'Start building your custom application on top of Elasticsearch with the official Ruby client.', + type: 'ui_link', + shipper: 'language_clients', + uiInternalPath: + 'https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/branch/ruby_client.html', + isBeta: false, + icons: [{ type: 'svg' }], + categories: ['elastic_stack', 'custom', 'language_client'], + }, + { + id: 'language_client.go', + title: 'Elasticsearch Go Client', + description: + 'Start building your custom application on top of Elasticsearch with the official Go client.', + type: 'ui_link', + shipper: 'language_clients', + uiInternalPath: + 'https://www.elastic.co/guide/en/elasticsearch/client/go-api/branch/overview.html', + isBeta: false, + icons: [{ type: 'svg' }], + categories: ['elastic_stack', 'custom', 'language_client'], + }, + { + id: 'language_client.dotnet', + title: 'Elasticsearch .NET Client', + description: + 'Start building your custom application on top of Elasticsearch with the official .NET client.', + type: 'ui_link', + shipper: 'language_clients', + uiInternalPath: + 'https://www.elastic.co/guide/en/elasticsearch/client/net-api/branch/index.html', + isBeta: false, + icons: [{ type: 'svg' }], + categories: ['elastic_stack', 'custom', 'language_client'], + }, + { + id: 'language_client.php', + title: 'Elasticsearch PHP Client', + description: + 'Start building your custom application on top of Elasticsearch with the official .PHP client.', + type: 'ui_link', + shipper: 'language_clients', + uiInternalPath: + 'https://www.elastic.co/guide/en/elasticsearch/client/php-api/branch/index.html', + isBeta: false, + icons: [{ type: 'svg' }], + categories: ['elastic_stack', 'custom', 'language_client'], + }, + { + id: 'language_client.perl', + title: 'Elasticsearch Perl Client', + description: + 'Start building your custom application on top of Elasticsearch with the official Perl client.', + type: 'ui_link', + shipper: 'language_clients', + uiInternalPath: + 'https://www.elastic.co/guide/en/elasticsearch/client/perl-api/branch/index.html', + isBeta: false, + icons: [{ type: 'svg' }], + categories: ['elastic_stack', 'custom', 'language_client'], + }, + { + id: 'language_client.python', + title: 'Elasticsearch Python Client', + description: + 'Start building your custom application on top of Elasticsearch with the official Python client.', + type: 'ui_link', + shipper: 'language_clients', + uiInternalPath: + 'https://www.elastic.co/guide/en/elasticsearch/client/python-api/branch/index.html', + isBeta: false, + icons: [{ type: 'svg' }], + categories: ['elastic_stack', 'custom', 'language_client'], + }, + { + id: 'language_client.rust', + title: 'Elasticsearch Rust Client', + description: + 'Start building your custom application on top of Elasticsearch with the official Rust client.', + type: 'ui_link', + shipper: 'language_clients', + uiInternalPath: + 'https://www.elastic.co/guide/en/elasticsearch/client/rust-api/branch/index.html', + isBeta: false, + icons: [{ type: 'svg' }], + categories: ['elastic_stack', 'custom', 'language_client'], + }, + { + id: 'language_client.java', + title: 'Elasticsearch Java Client', + description: + 'Start building your custom application on top of Elasticsearch with the official Java client.', + type: 'ui_link', + shipper: 'language_clients', + uiInternalPath: + 'https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/branch/index.html', + isBeta: false, + icons: [{ type: 'svg' }], + categories: ['elastic_stack', 'custom', 'language_client'], + }, + ]); }); }); }); diff --git a/src/plugins/custom_integrations/server/plugin.ts b/src/plugins/custom_integrations/server/plugin.ts index 099650ee15a05..330a1288d05a2 100755 --- a/src/plugins/custom_integrations/server/plugin.ts +++ b/src/plugins/custom_integrations/server/plugin.ts @@ -12,12 +12,14 @@ import { CustomIntegrationsPluginSetup, CustomIntegrationsPluginStart } from './ import { CustomIntegration } from '../common'; import { CustomIntegrationRegistry } from './custom_integration_registry'; import { defineRoutes } from './routes/define_routes'; +import { registerLanguageClients } from './language_clients'; export class CustomIntegrationsPlugin implements Plugin { private readonly logger: Logger; private readonly customIngegrationRegistry: CustomIntegrationRegistry; + private readonly branch: string; constructor(initializerContext: PluginInitializerContext) { this.logger = initializerContext.logger.get(); @@ -25,6 +27,7 @@ export class CustomIntegrationsPlugin this.logger, initializerContext.env.mode.dev ); + this.branch = initializerContext.env.packageInfo.branch; } public setup(core: CoreSetup) { @@ -33,6 +36,8 @@ export class CustomIntegrationsPlugin const router = core.http.createRouter(); defineRoutes(router, this.customIngegrationRegistry); + registerLanguageClients(core, this.customIngegrationRegistry, this.branch); + return { registerCustomIntegration: (integration: Omit) => { this.customIngegrationRegistry.registerCustomIntegration({ @@ -40,6 +45,9 @@ export class CustomIntegrationsPlugin ...integration, }); }, + getAppendCustomIntegrations: () => { + return this.customIngegrationRegistry.getAppendCustomIntegrations(); + }, } as CustomIntegrationsPluginSetup; } diff --git a/src/plugins/custom_integrations/storybook/decorator.tsx b/src/plugins/custom_integrations/storybook/decorator.tsx new file mode 100644 index 0000000000000..c5fea9615ee47 --- /dev/null +++ b/src/plugins/custom_integrations/storybook/decorator.tsx @@ -0,0 +1,48 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import React from 'react'; + +import { DecoratorFn } from '@storybook/react'; +import { I18nProvider } from '@kbn/i18n/react'; + +import { PluginServiceRegistry } from '../../presentation_util/public'; + +import { pluginServices } from '../public/services'; +import { CustomIntegrationsServices } from '../public/services'; +import { providers } from '../public/services/storybook'; +import { EuiThemeProvider } from '../../kibana_react/common/eui_styled_components'; + +/** + * Returns a Storybook Decorator that provides both the `I18nProvider` and access to `PluginServices` + * for components rendered in Storybook. + */ +export const getCustomIntegrationsContextDecorator = + (): DecoratorFn => + (story, { globals }) => { + const ContextProvider = getCustomIntegrationsContextProvider(); + const darkMode = globals.euiTheme === 'v8.dark' || globals.euiTheme === 'v7.dark'; + + return ( + + + {story()} + + + ); + }; + +/** + * Prepares `PluginServices` for use in Storybook and returns a React `Context.Provider` element + * so components that access `PluginServices` can be rendered. + */ +export const getCustomIntegrationsContextProvider = () => { + const registry = new PluginServiceRegistry(providers); + pluginServices.setRegistry(registry.start({})); + return pluginServices.getContextProvider(); +}; diff --git a/src/plugins/custom_integrations/storybook/index.ts b/src/plugins/custom_integrations/storybook/index.ts new file mode 100644 index 0000000000000..a9e34e1aeeb7e --- /dev/null +++ b/src/plugins/custom_integrations/storybook/index.ts @@ -0,0 +1,12 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +export { + getCustomIntegrationsContextDecorator as getStorybookContextDecorator, + getCustomIntegrationsContextProvider as getStorybookContextProvider, +} from '../storybook/decorator'; diff --git a/src/core/server/legacy/index.ts b/src/plugins/custom_integrations/storybook/main.ts similarity index 74% rename from src/core/server/legacy/index.ts rename to src/plugins/custom_integrations/storybook/main.ts index 39ffef501a9ec..1261fe5a06f69 100644 --- a/src/core/server/legacy/index.ts +++ b/src/plugins/custom_integrations/storybook/main.ts @@ -6,6 +6,6 @@ * Side Public License, v 1. */ -/** @internal */ -export type { ILegacyService } from './legacy_service'; -export { LegacyService } from './legacy_service'; +import { defaultConfig } from '@kbn/storybook'; + +module.exports = defaultConfig; diff --git a/src/plugins/custom_integrations/storybook/manager.ts b/src/plugins/custom_integrations/storybook/manager.ts new file mode 100644 index 0000000000000..99c01efdddfdc --- /dev/null +++ b/src/plugins/custom_integrations/storybook/manager.ts @@ -0,0 +1,21 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { addons } from '@storybook/addons'; +import { create } from '@storybook/theming'; +import { PANEL_ID } from '@storybook/addon-actions'; + +addons.setConfig({ + theme: create({ + base: 'light', + brandTitle: 'Kibana Custom Integrations Storybook', + brandUrl: 'https://github.com/elastic/kibana/tree/master/src/plugins/custom_integrations', + }), + showPanel: true.valueOf, + selectedPanel: PANEL_ID, +}); diff --git a/src/plugins/custom_integrations/storybook/preview.tsx b/src/plugins/custom_integrations/storybook/preview.tsx new file mode 100644 index 0000000000000..c27390261c920 --- /dev/null +++ b/src/plugins/custom_integrations/storybook/preview.tsx @@ -0,0 +1,28 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import React from 'react'; +import { Title, Subtitle, Description, Primary, Stories } from '@storybook/addon-docs/blocks'; + +import { getCustomIntegrationsContextDecorator } from './decorator'; + +export const decorators = [getCustomIntegrationsContextDecorator()]; + +export const parameters = { + docs: { + page: () => ( + <> + + <Subtitle /> + <Description /> + <Primary /> + <Stories /> + </> + ), + }, +}; diff --git a/src/plugins/custom_integrations/tsconfig.json b/src/plugins/custom_integrations/tsconfig.json index 2ce7bf9c8112c..ccb75c358611b 100644 --- a/src/plugins/custom_integrations/tsconfig.json +++ b/src/plugins/custom_integrations/tsconfig.json @@ -6,8 +6,15 @@ "declaration": true, "declarationMap": true }, - "include": ["common/**/*", "public/**/*", "server/**/*"], + "include": [ + "../../../typings/**/*", + "common/**/*", + "public/**/*", + "server/**/*", + "storybook/**/*" + ], "references": [ - { "path": "../../core/tsconfig.json" } + { "path": "../../core/tsconfig.json" }, + { "path": "../presentation_util/tsconfig.json" } ] } diff --git a/src/plugins/dashboard/public/application/top_nav/editor_menu.tsx b/src/plugins/dashboard/public/application/top_nav/editor_menu.tsx index 0ddd0902b719f..46ae4d9456d92 100644 --- a/src/plugins/dashboard/public/application/top_nav/editor_menu.tsx +++ b/src/plugins/dashboard/public/application/top_nav/editor_menu.tsx @@ -128,7 +128,10 @@ export const EditorMenu = ({ dashboardContainer, createNewVisType }: Props) => { name: titleInWizard || title, icon: icon as string, onClick: - group === VisGroups.AGGBASED ? createNewAggsBasedVis(visType) : createNewVisType(visType), + // not all the agg-based visualizations need to be created via the wizard + group === VisGroups.AGGBASED && visType.options.showIndexSelection + ? createNewAggsBasedVis(visType) + : createNewVisType(visType), 'data-test-subj': `visType-${name}`, toolTipContent: description, }; diff --git a/src/plugins/data/common/es_query/index.ts b/src/plugins/data/common/es_query/index.ts index 6d84b3fd6eab4..7029e9d064b21 100644 --- a/src/plugins/data/common/es_query/index.ts +++ b/src/plugins/data/common/es_query/index.ts @@ -29,7 +29,6 @@ import { isFilters as oldIsFilters, isExistsFilter as oldIsExistsFilter, isMatchAllFilter as oldIsMatchAllFilter, - isMissingFilter as oldIsMissingFilter, isPhraseFilter as oldIsPhraseFilter, isPhrasesFilter as oldIsPhrasesFilter, isRangeFilter as oldIsRangeFilter, @@ -51,7 +50,6 @@ import { PhraseFilter as oldPhraseFilter, MatchAllFilter as oldMatchAllFilter, CustomFilter as oldCustomFilter, - MissingFilter as oldMissingFilter, RangeFilter as oldRangeFilter, KueryNode as oldKueryNode, FilterMeta as oldFilterMeta, @@ -172,12 +170,6 @@ const isExistsFilter = oldIsExistsFilter; */ const isMatchAllFilter = oldIsMatchAllFilter; -/** - * @deprecated Import from the "@kbn/es-query" package directly instead. - * @removeBy 8.1 - */ -const isMissingFilter = oldIsMissingFilter; - /** * @deprecated Import from the "@kbn/es-query" package directly instead. * @removeBy 8.1 @@ -346,12 +338,6 @@ type MatchAllFilter = oldMatchAllFilter; */ type CustomFilter = oldCustomFilter; -/** - * @deprecated Import from the "@kbn/es-query" package directly instead. - * @removeBy 8.1 - */ -type MissingFilter = oldMissingFilter; - /** * @deprecated Import from the "@kbn/es-query" package directly instead. * @removeBy 8.1 @@ -408,7 +394,6 @@ export { isFilters, isExistsFilter, isMatchAllFilter, - isMissingFilter, isPhraseFilter, isPhrasesFilter, isRangeFilter, @@ -437,7 +422,6 @@ export { PhraseFilter, MatchAllFilter, CustomFilter, - MissingFilter, RangeFilter, KueryNode, FilterMeta, diff --git a/src/plugins/data/common/es_query/stubs/exists_filter.ts b/src/plugins/data/common/es_query/stubs/exists_filter.ts index b10aa67db517e..82df9b73abdd3 100644 --- a/src/plugins/data/common/es_query/stubs/exists_filter.ts +++ b/src/plugins/data/common/es_query/stubs/exists_filter.ts @@ -20,4 +20,5 @@ export const existsFilter: ExistsFilter = { $state: { store: FilterStateStore.APP_STATE, }, + query: {}, }; diff --git a/src/plugins/data/common/es_query/stubs/range_filter.ts b/src/plugins/data/common/es_query/stubs/range_filter.ts index 485a569eb9d4b..26c26afe8f545 100644 --- a/src/plugins/data/common/es_query/stubs/range_filter.ts +++ b/src/plugins/data/common/es_query/stubs/range_filter.ts @@ -25,5 +25,5 @@ export const rangeFilter: RangeFilter = { $state: { store: FilterStateStore.APP_STATE, }, - range: {}, + query: { range: {} }, }; diff --git a/src/plugins/data/common/index.ts b/src/plugins/data/common/index.ts index 195cb9d475314..34a75f8f24dc6 100644 --- a/src/plugins/data/common/index.ts +++ b/src/plugins/data/common/index.ts @@ -58,7 +58,6 @@ export { DATA_VIEW_SAVED_OBJECT_TYPE, INDEX_PATTERN_SAVED_OBJECT_TYPE, isFilterable, - isNestedField, fieldList, DataViewField, IndexPatternField, @@ -75,4 +74,8 @@ export { DuplicateDataViewError, DataViewSavedObjectConflictError, getIndexPatternLoadMeta, + isNestedField, + isMultiField, + getFieldSubtypeMulti, + getFieldSubtypeNested, } from '../../data_views/common'; diff --git a/src/plugins/data/common/query/timefilter/get_time.test.ts b/src/plugins/data/common/query/timefilter/get_time.test.ts index fc35eeed48e67..e43b85bcdadff 100644 --- a/src/plugins/data/common/query/timefilter/get_time.test.ts +++ b/src/plugins/data/common/query/timefilter/get_time.test.ts @@ -35,7 +35,7 @@ describe('get_time', () => { } as unknown as IIndexPattern, { from: 'now-60y', to: 'now' } ) as RangeFilter; - expect(filter.range.date).toEqual({ + expect(filter.query.range.date).toEqual({ gte: '1940-02-01T00:00:00.000Z', lte: '2000-02-01T00:00:00.000Z', format: 'strict_date_optional_time', @@ -73,7 +73,7 @@ describe('get_time', () => { { from: 'now-60y', to: 'now' }, { fieldName: 'myCustomDate' } ) as RangeFilter; - expect(filter.range.myCustomDate).toEqual({ + expect(filter.query.range.myCustomDate).toEqual({ gte: '1940-02-01T00:00:00.000Z', lte: '2000-02-01T00:00:00.000Z', format: 'strict_date_optional_time', @@ -111,7 +111,7 @@ describe('get_time', () => { { fieldName: 'myCustomDate' } ) as RangeFilter; - expect(filter.range.myCustomDate).toEqual({ + expect(filter.query.range.myCustomDate).toEqual({ gte: 'now-60y', lte: 'now', format: 'strict_date_optional_time', @@ -150,7 +150,7 @@ describe('get_time', () => { { fieldName: 'myCustomDate' } ) as RangeFilter; - expect(filter.range.myCustomDate).toEqual({ + expect(filter.query.range.myCustomDate).toEqual({ gte: '2020-09-01T08:30:00.000Z', lte: 'now', format: 'strict_date_optional_time', diff --git a/src/plugins/data/common/search/aggs/agg_configs.ts b/src/plugins/data/common/search/aggs/agg_configs.ts index cb9ac56b99cd9..3157735a39967 100644 --- a/src/plugins/data/common/search/aggs/agg_configs.ts +++ b/src/plugins/data/common/search/aggs/agg_configs.ts @@ -406,8 +406,8 @@ export class AggConfigs { .map(([filter, field]) => ({ range: { [field]: { - gte: moment(filter?.range[field].gte).subtract(shift).toISOString(), - lte: moment(filter?.range[field].lte).subtract(shift).toISOString(), + gte: moment(filter?.query.range[field].gte).subtract(shift).toISOString(), + lte: moment(filter?.query.range[field].lte).subtract(shift).toISOString(), }, }, })), diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/date_histogram.test.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/date_histogram.test.ts index dbcd29085925c..972c5e5fcf44b 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/date_histogram.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/date_histogram.test.ts @@ -69,10 +69,10 @@ describe('AggConfig Filters', () => { test('creates a valid range filter', () => { init(); - expect(filter).toHaveProperty('range'); - expect(filter.range).toHaveProperty(field.name); + expect(filter.query).toHaveProperty('range'); + expect(filter.query.range).toHaveProperty(field.name); - const fieldParams = filter.range[field.name]; + const fieldParams = filter.query.range[field.name]; expect(fieldParams).toHaveProperty('gte'); expect(typeof fieldParams.gte).toBe('string'); @@ -100,7 +100,7 @@ describe('AggConfig Filters', () => { init(option.val, duration); const interval = agg.buckets.getInterval(); - const params = filter.range[field.name]; + const params = filter.query.range[field.name]; expect(params.gte).toBe(bucketStart.toISOString()); expect(params.lt).toBe(bucketStart.clone().add(interval).toISOString()); diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/date_range.test.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/date_range.test.ts index a76b82e9ed842..02a1dec36e88e 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/date_range.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/date_range.test.ts @@ -57,12 +57,12 @@ describe('AggConfig Filters', () => { to: to.valueOf(), }) as RangeFilter; - expect(filter).toHaveProperty('range'); + expect(filter.query).toHaveProperty('range'); expect(filter).toHaveProperty('meta'); expect(filter.meta).toHaveProperty('index', '1234'); - expect(filter.range).toHaveProperty('@timestamp'); - expect(filter.range['@timestamp']).toHaveProperty('gte', moment(from).toISOString()); - expect(filter.range['@timestamp']).toHaveProperty('lt', moment(to).toISOString()); + expect(filter.query.range).toHaveProperty('@timestamp'); + expect(filter.query.range['@timestamp']).toHaveProperty('gte', moment(from).toISOString()); + expect(filter.query.range['@timestamp']).toHaveProperty('lt', moment(to).toISOString()); }); }); }); diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/filters.test.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/filters.test.ts index 86d8b2e1bff98..7115120ce01b6 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/filters.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/filters.test.ts @@ -79,7 +79,7 @@ describe('AggConfig Filters', () => { } `); - expect(filter.query?.bool.must[0].query_string.query).toBe('type:nginx'); + expect((filter.query?.bool?.must as any)[0].query_string.query).toBe('type:nginx'); expect(filter.meta).toHaveProperty('index', '1234'); expect(filter.meta).toHaveProperty('alias', 'type:nginx'); }); diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/histogram.test.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/histogram.test.ts index ab7f1b1c0b941..625da5c304ad3 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/histogram.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/histogram.test.ts @@ -18,10 +18,10 @@ function validateFilter(filter: RangeFilter) { expect(mockGetFieldFormatsStart().deserialize).toHaveBeenCalledTimes(1); expect(filter).toHaveProperty('meta'); expect(filter.meta).toHaveProperty('index', '1234'); - expect(filter).toHaveProperty('range'); - expect(filter.range).toHaveProperty('bytes'); - expect(filter.range.bytes).toHaveProperty('gte', 2048); - expect(filter.range.bytes).toHaveProperty('lt', 3072); + expect(filter.query).toHaveProperty('range'); + expect(filter.query.range).toHaveProperty('bytes'); + expect(filter.query.range.bytes).toHaveProperty('gte', 2048); + expect(filter.query.range.bytes).toHaveProperty('lt', 3072); expect(filter.meta).toHaveProperty('formattedValue'); } diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/ip_range.test.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/ip_range.test.ts index 5998fde8f2b79..121a3a6c06b95 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/ip_range.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/ip_range.test.ts @@ -56,12 +56,12 @@ describe('AggConfig Filters', () => { to: '1.1.1.1', }) as RangeFilter; - expect(filter).toHaveProperty('range'); + expect(filter.query).toHaveProperty('range'); expect(filter).toHaveProperty('meta'); expect(filter.meta).toHaveProperty('index', '1234'); - expect(filter.range).toHaveProperty('ip'); - expect(filter.range.ip).toHaveProperty('gte', '0.0.0.0'); - expect(filter.range.ip).toHaveProperty('lte', '1.1.1.1'); + expect(filter.query.range).toHaveProperty('ip'); + expect(filter.query.range.ip).toHaveProperty('gte', '0.0.0.0'); + expect(filter.query.range.ip).toHaveProperty('lte', '1.1.1.1'); }); test('should return a range filter for ip_range agg using a CIDR mask', () => { @@ -84,12 +84,12 @@ describe('AggConfig Filters', () => { mask: '67.129.65.201/27', }) as RangeFilter; - expect(filter).toHaveProperty('range'); + expect(filter.query).toHaveProperty('range'); expect(filter).toHaveProperty('meta'); expect(filter.meta).toHaveProperty('index', '1234'); - expect(filter.range).toHaveProperty('ip'); - expect(filter.range.ip).toHaveProperty('gte', '67.129.65.192'); - expect(filter.range.ip).toHaveProperty('lte', '67.129.65.223'); + expect(filter.query.range).toHaveProperty('ip'); + expect(filter.query.range.ip).toHaveProperty('gte', '67.129.65.192'); + expect(filter.query.range.ip).toHaveProperty('lte', '67.129.65.223'); }); }); }); diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/range.test.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/range.test.ts index 296a8d2d51bed..6f86186fe4dc3 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/range.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/range.test.ts @@ -63,13 +63,13 @@ describe('AggConfig Filters', () => { ) as RangeFilter; expect(mockGetFieldFormatsStart().deserialize).toHaveBeenCalledTimes(1); - expect(filter).toHaveProperty('range'); + expect(filter.query).toHaveProperty('range'); expect(filter).toHaveProperty('meta'); expect(filter.meta).toHaveProperty('index', '1234'); - expect(filter.range).toHaveProperty('bytes'); - expect(filter.range.bytes).toHaveProperty('gte', 1024.0); - expect(filter.range.bytes).toHaveProperty('lt', 2048.0); - expect(filter.range.bytes).not.toHaveProperty('label'); + expect(filter.query.range).toHaveProperty('bytes'); + expect(filter.query.range.bytes).toHaveProperty('gte', 1024.0); + expect(filter.query.range.bytes).toHaveProperty('lt', 2048.0); + expect(filter.query.range.bytes).not.toHaveProperty('label'); expect(filter.meta).toHaveProperty('formattedValue'); }); }); diff --git a/src/plugins/data/common/search/aggs/buckets/create_filter/terms.test.ts b/src/plugins/data/common/search/aggs/buckets/create_filter/terms.test.ts index b67d10be52f77..af7a571f283a8 100644 --- a/src/plugins/data/common/search/aggs/buckets/create_filter/terms.test.ts +++ b/src/plugins/data/common/search/aggs/buckets/create_filter/terms.test.ts @@ -49,7 +49,7 @@ describe('AggConfig Filters', () => { expect(filter).toHaveProperty('query'); expect(filter.query).toHaveProperty('match_phrase'); expect(filter.query?.match_phrase).toHaveProperty('field'); - expect(filter.query?.match_phrase.field).toBe('apache'); + expect(filter.query?.match_phrase?.field).toBe('apache'); expect(filter).toHaveProperty('meta'); expect(filter.meta).toHaveProperty('index', '1234'); }); @@ -68,7 +68,7 @@ describe('AggConfig Filters', () => { expect(filterFalse).toHaveProperty('query'); expect(filterFalse.query).toHaveProperty('match_phrase'); expect(filterFalse.query?.match_phrase).toHaveProperty('field'); - expect(filterFalse.query?.match_phrase.field).toBeFalsy(); + expect(filterFalse.query?.match_phrase?.field).toBeFalsy(); const filterTrue = createFilterTerms( aggConfigs.aggs[0] as IBucketAggConfig, @@ -79,7 +79,7 @@ describe('AggConfig Filters', () => { expect(filterTrue).toHaveProperty('query'); expect(filterTrue.query).toHaveProperty('match_phrase'); expect(filterTrue.query?.match_phrase).toHaveProperty('field'); - expect(filterTrue.query?.match_phrase.field).toBeTruthy(); + expect(filterTrue.query?.match_phrase?.field).toBeTruthy(); }); test('should generate correct __missing__ filter', () => { @@ -92,8 +92,8 @@ describe('AggConfig Filters', () => { {} ) as ExistsFilter; - expect(filter).toHaveProperty('exists'); - expect(filter.exists).toHaveProperty('field', 'field'); + expect(filter.query).toHaveProperty('exists'); + expect(filter.query.exists).toHaveProperty('field', 'field'); expect(filter).toHaveProperty('meta'); expect(filter.meta).toHaveProperty('index', '1234'); expect(filter.meta).toHaveProperty('negate', true); @@ -111,8 +111,8 @@ describe('AggConfig Filters', () => { expect(filter).toHaveProperty('query'); expect(filter.query).toHaveProperty('bool'); expect(filter.query?.bool).toHaveProperty('should'); - expect(filter.query?.bool.should[0]).toHaveProperty('match_phrase'); - expect(filter.query?.bool.should[0].match_phrase).toHaveProperty('field', 'apache'); + expect((filter.query?.bool?.should as any)[0]).toHaveProperty('match_phrase'); + expect((filter.query?.bool!.should as any)[0].match_phrase).toHaveProperty('field', 'apache'); expect(filter).toHaveProperty('meta'); expect(filter.meta).toHaveProperty('index', '1234'); expect(filter.meta).toHaveProperty('negate', true); diff --git a/src/plugins/data/common/search/aggs/utils/time_splits.ts b/src/plugins/data/common/search/aggs/utils/time_splits.ts index 99ea9fcefc179..0510f629540f6 100644 --- a/src/plugins/data/common/search/aggs/utils/time_splits.ts +++ b/src/plugins/data/common/search/aggs/utils/time_splits.ts @@ -430,8 +430,8 @@ export function insertTimeShiftSplit( filters[key] = { range: { [timeField]: { - gte: moment(timeFilter.range[timeField].gte).subtract(shift).toISOString(), - lte: moment(timeFilter.range[timeField].lte).subtract(shift).toISOString(), + gte: moment(timeFilter.query.range[timeField].gte).subtract(shift).toISOString(), + lte: moment(timeFilter.query.range[timeField].lte).subtract(shift).toISOString(), }, }, }; diff --git a/src/plugins/data/common/search/expressions/esaggs/create_filter.test.ts b/src/plugins/data/common/search/expressions/esaggs/create_filter.test.ts index 682a72eae1dfd..76e19eb129e5c 100644 --- a/src/plugins/data/common/search/expressions/esaggs/create_filter.test.ts +++ b/src/plugins/data/common/search/expressions/esaggs/create_filter.test.ts @@ -93,7 +93,7 @@ describe('createFilter', () => { if (filters) { expect(filters.length).toEqual(1); - expect(filters[0].query!.match_phrase.bytes).toEqual('2048'); + expect(filters[0].query!.match_phrase!.bytes).toEqual('2048'); } }); @@ -109,8 +109,8 @@ describe('createFilter', () => { const [rangeFilter] = filters; if (isRangeFilter(rangeFilter)) { - expect(rangeFilter.range.bytes.gte).toEqual(2048); - expect(rangeFilter.range.bytes.lt).toEqual(2078); + expect(rangeFilter.query.range.bytes.gte).toEqual(2048); + expect(rangeFilter.query.range.bytes.lt).toEqual(2078); } } }); diff --git a/src/plugins/data/common/search/expressions/exists_filter.test.ts b/src/plugins/data/common/search/expressions/exists_filter.test.ts index e3b53b2281398..b6543eb25f924 100644 --- a/src/plugins/data/common/search/expressions/exists_filter.test.ts +++ b/src/plugins/data/common/search/expressions/exists_filter.test.ts @@ -17,15 +17,17 @@ describe('interpreter/functions#existsFilter', () => { const actual = fn(null, { field: { spec: { name: 'test' } } }, createMockContext()); expect(actual).toMatchInlineSnapshot(` Object { - "exists": Object { - "field": "test", - }, "meta": Object { "alias": null, "disabled": false, "index": undefined, "negate": false, }, + "query": Object { + "exists": Object { + "field": "test", + }, + }, "type": "kibana_filter", } `); diff --git a/src/plugins/data/common/search/expressions/filters_to_ast.test.ts b/src/plugins/data/common/search/expressions/filters_to_ast.test.ts index 805c98b6cbf42..8b3353d02184f 100644 --- a/src/plugins/data/common/search/expressions/filters_to_ast.test.ts +++ b/src/plugins/data/common/search/expressions/filters_to_ast.test.ts @@ -11,11 +11,11 @@ import { filtersToAst } from './filters_to_ast'; describe('interpreter/functions#filtersToAst', () => { const normalFilter = { meta: { negate: false, alias: '', disabled: false }, - query: { test: 'something' }, + query: { query_string: { query: 'something' } }, }; const negatedFilter = { meta: { negate: true, alias: '', disabled: false }, - query: { test: 'something' }, + query: { query_string: { query: 'test' } }, }; it('converts a list of filters to an expression AST node', () => { @@ -28,7 +28,7 @@ describe('interpreter/functions#filtersToAst', () => { expect.objectContaining({ disabled: [false], negate: [false], - query: ['{"query":{"test":"something"}}'], + query: ['{"query_string":{"query":"something"}}'], }) ); @@ -39,7 +39,7 @@ describe('interpreter/functions#filtersToAst', () => { expect.objectContaining({ disabled: [false], negate: [true], - query: ['{"query":{"test":"something"}}'], + query: ['{"query_string":{"query":"test"}}'], }) ); }); diff --git a/src/plugins/data/common/search/expressions/filters_to_ast.ts b/src/plugins/data/common/search/expressions/filters_to_ast.ts index 1c482148318fe..33e064ddd3076 100644 --- a/src/plugins/data/common/search/expressions/filters_to_ast.ts +++ b/src/plugins/data/common/search/expressions/filters_to_ast.ts @@ -12,12 +12,12 @@ import { ExpressionFunctionKibanaFilter } from './kibana_filter'; export const filtersToAst = (filters: Filter[] | Filter) => { return (Array.isArray(filters) ? filters : [filters]).map((filter) => { - const { meta, $state, ...restOfFilter } = filter; + const { meta, $state, query, ...restOfFilters } = filter; return buildExpression([ buildExpressionFunction<ExpressionFunctionKibanaFilter>('kibanaFilter', { - query: JSON.stringify(restOfFilter), - negate: filter.meta.negate, - disabled: filter.meta.disabled, + query: JSON.stringify(query || restOfFilters), + negate: meta.negate, + disabled: meta.disabled, }), ]).toAst(); }); diff --git a/src/plugins/data/common/search/expressions/kibana_filter.test.ts b/src/plugins/data/common/search/expressions/kibana_filter.test.ts index ac8ae55492cc0..2ecd2761de46c 100644 --- a/src/plugins/data/common/search/expressions/kibana_filter.test.ts +++ b/src/plugins/data/common/search/expressions/kibana_filter.test.ts @@ -22,7 +22,9 @@ describe('interpreter/functions#kibanaFilter', () => { "disabled": false, "negate": false, }, - "name": "test", + "query": Object { + "name": "test", + }, "type": "kibana_filter", } `); diff --git a/src/plugins/data/common/search/expressions/kibana_filter.ts b/src/plugins/data/common/search/expressions/kibana_filter.ts index c94a3763ee084..35da556bb296c 100644 --- a/src/plugins/data/common/search/expressions/kibana_filter.ts +++ b/src/plugins/data/common/search/expressions/kibana_filter.ts @@ -63,7 +63,7 @@ export const kibanaFilterFunction: ExpressionFunctionKibanaFilter = { alias: '', disabled: args.disabled || false, }, - ...JSON.parse(args.query), + query: JSON.parse(args.query), }; }, }; diff --git a/src/plugins/data/common/search/expressions/range_filter.test.ts b/src/plugins/data/common/search/expressions/range_filter.test.ts index 6c7f0531e5a07..4db21ca1a6db5 100644 --- a/src/plugins/data/common/search/expressions/range_filter.test.ts +++ b/src/plugins/data/common/search/expressions/range_filter.test.ts @@ -29,10 +29,12 @@ describe('interpreter/functions#rangeFilter', () => { "negate": false, "params": Object {}, }, - "range": Object { - "test": Object { - "gte": 10, - "lt": 20, + "query": Object { + "range": Object { + "test": Object { + "gte": 10, + "lt": 20, + }, }, }, "type": "kibana_filter", diff --git a/src/plugins/data/common/search/search_source/search_source.test.ts b/src/plugins/data/common/search/search_source/search_source.test.ts index c494c95867a06..1afd2d98782a2 100644 --- a/src/plugins/data/common/search/search_source/search_source.test.ts +++ b/src/plugins/data/common/search/search_source/search_source.test.ts @@ -824,7 +824,7 @@ describe('SearchSource', () => { test('should serialize filters', () => { const filter = [ { - query: { q: 'query' }, + query: { query_string: { query: 'query' } }, meta: { alias: 'alias', disabled: false, @@ -842,7 +842,7 @@ describe('SearchSource', () => { searchSource.setField('index', indexPattern123); const filter = [ { - query: { q: 'query' }, + query: { query_string: { query: 'query' } }, meta: { alias: 'alias', disabled: false, @@ -885,7 +885,7 @@ describe('SearchSource', () => { describe('getSerializedFields', () => { const filter: Filter[] = [ { - query: { q: 'query' }, + query: { query_string: { query: 'query' } }, meta: { alias: 'alias', disabled: false, @@ -915,7 +915,9 @@ describe('SearchSource', () => { "negate": false, }, "query": Object { - "q": "query", + "query_string": Object { + "query": "query", + }, }, }, ], diff --git a/src/plugins/data/public/actions/filters/create_filters_from_range_select.test.ts b/src/plugins/data/public/actions/filters/create_filters_from_range_select.test.ts index acfad53d0a9d7..15b20669cd192 100644 --- a/src/plugins/data/public/actions/filters/create_filters_from_range_select.test.ts +++ b/src/plugins/data/public/actions/filters/create_filters_from_range_select.test.ts @@ -120,9 +120,11 @@ describe('brushEvent', () => { if (filter.length) { const rangeFilter = filter[0] as RangeFilter; - expect(rangeFilter.range.time.gte).toBe(new Date(JAN_01_2014).toISOString()); + expect(rangeFilter.query.range.time.gte).toBe(new Date(JAN_01_2014).toISOString()); // Set to a baseline timezone for comparison. - expect(rangeFilter.range.time.lt).toBe(new Date(JAN_01_2014 + DAY_IN_MS).toISOString()); + expect(rangeFilter.query.range.time.lt).toBe( + new Date(JAN_01_2014 + DAY_IN_MS).toISOString() + ); } }); }); @@ -150,9 +152,11 @@ describe('brushEvent', () => { if (filter.length) { const rangeFilter = filter[0] as RangeFilter; - expect(rangeFilter.range.anotherTimeField.gte).toBe(moment(rangeBegin).toISOString()); - expect(rangeFilter.range.anotherTimeField.lt).toBe(moment(rangeEnd).toISOString()); - expect(rangeFilter.range.anotherTimeField).toHaveProperty( + expect(rangeFilter.query.range.anotherTimeField.gte).toBe( + moment(rangeBegin).toISOString() + ); + expect(rangeFilter.query.range.anotherTimeField.lt).toBe(moment(rangeEnd).toISOString()); + expect(rangeFilter.query.range.anotherTimeField).toHaveProperty( 'format', 'strict_date_optional_time' ); @@ -187,9 +191,9 @@ describe('brushEvent', () => { if (filter.length) { const rangeFilter = filter[0] as RangeFilter; - expect(rangeFilter.range.numberField.gte).toBe(1); - expect(rangeFilter.range.numberField.lt).toBe(4); - expect(rangeFilter.range.numberField).not.toHaveProperty('format'); + expect(rangeFilter.query.range.numberField.gte).toBe(1); + expect(rangeFilter.query.range.numberField.lt).toBe(4); + expect(rangeFilter.query.range.numberField).not.toHaveProperty('format'); } }); }); diff --git a/src/plugins/data/public/actions/filters/create_filters_from_value_click.test.ts b/src/plugins/data/public/actions/filters/create_filters_from_value_click.test.ts index 2632666cf85d8..e4854dac9408b 100644 --- a/src/plugins/data/public/actions/filters/create_filters_from_value_click.test.ts +++ b/src/plugins/data/public/actions/filters/create_filters_from_value_click.test.ts @@ -86,7 +86,7 @@ describe('createFiltersFromValueClick', () => { const filters = await createFiltersFromValueClickAction({ data: dataPoints }); expect(filters.length).toEqual(1); - expect(filters[0].query?.match_phrase.bytes).toEqual('2048'); + expect(filters[0].query?.match_phrase?.bytes).toEqual('2048'); }); test('handles an event when aggregations type is not terms', async () => { @@ -95,8 +95,8 @@ describe('createFiltersFromValueClick', () => { expect(filters.length).toEqual(1); const [rangeFilter] = filters as RangeFilter[]; - expect(rangeFilter.range.bytes.gte).toEqual(2048); - expect(rangeFilter.range.bytes.lt).toEqual(2078); + expect(rangeFilter.query.range.bytes.gte).toEqual(2048); + expect(rangeFilter.query.range.bytes.lt).toEqual(2078); }); test('handles non-unique filters', async () => { diff --git a/src/plugins/data/public/autocomplete/providers/kql_query_suggestion/field.tsx b/src/plugins/data/public/autocomplete/providers/kql_query_suggestion/field.tsx index 5cafca168dfa2..44e2f17e083ea 100644 --- a/src/plugins/data/public/autocomplete/providers/kql_query_suggestion/field.tsx +++ b/src/plugins/data/public/autocomplete/providers/kql_query_suggestion/field.tsx @@ -53,12 +53,9 @@ export const setupGetFieldSuggestions: KqlQuerySuggestionProvider<QuerySuggestio ); const search = `${prefix}${suffix}`.trim().toLowerCase(); const matchingFields = allFields.filter((field) => { + const subTypeNested = indexPatternsUtils.getFieldSubtypeNested(field); return ( - (!nestedPath || - (nestedPath && - field.subType && - field.subType.nested && - field.subType.nested.path.includes(nestedPath))) && + (!nestedPath || (nestedPath && subTypeNested?.nested.path.includes(nestedPath))) && field.name.toLowerCase().includes(search) ); }); diff --git a/src/plugins/data/public/deprecated.ts b/src/plugins/data/public/deprecated.ts index cfd58bead549b..163d329858293 100644 --- a/src/plugins/data/public/deprecated.ts +++ b/src/plugins/data/public/deprecated.ts @@ -16,7 +16,6 @@ import { isExistsFilter, isFilterPinned, isMatchAllFilter, - isMissingFilter, isPhraseFilter, isPhrasesFilter, isQueryStringFilter, @@ -114,7 +113,6 @@ export const esFilters = { isPhrasesFilter, isRangeFilter, isMatchAllFilter, - isMissingFilter, isQueryStringFilter, isFilterPinned, diff --git a/src/plugins/data/public/index.ts b/src/plugins/data/public/index.ts index 4b6d184f807a4..3ae98c083976e 100644 --- a/src/plugins/data/public/index.ts +++ b/src/plugins/data/public/index.ts @@ -38,7 +38,13 @@ export const exporters = { * Index patterns: */ -import { isNestedField, isFilterable } from '../common'; +import { + isNestedField, + isFilterable, + isMultiField, + getFieldSubtypeNested, + getFieldSubtypeMulti, +} from '../common'; import { ILLEGAL_CHARACTERS_KEY, @@ -59,6 +65,9 @@ export const indexPatterns = { ILLEGAL_CHARACTERS, isFilterable, isNestedField, + isMultiField, + getFieldSubtypeMulti, + getFieldSubtypeNested, validate: validateDataView, flattenHitWrapper, }; diff --git a/src/plugins/data/public/query/filter_manager/lib/generate_filter.test.ts b/src/plugins/data/public/query/filter_manager/lib/generate_filter.test.ts index 29c7d55c61bc1..6ed0db9f59358 100644 --- a/src/plugins/data/public/query/filter_manager/lib/generate_filter.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/generate_filter.test.ts @@ -126,7 +126,7 @@ describe('Generate filters', () => { expect(filter.meta.index === INDEX_NAME); expect(filter.meta.negate).toBeFalsy(); expect(isRangeFilter(filter)).toBeTruthy(); - expect(filter.range).toEqual({ + expect(filter.query.range).toEqual({ [FIELD.name]: { gt: '192.168.0.0', lte: '192.168.255.255', diff --git a/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts b/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts index 81be7efe4b585..cfc3ddabe0751 100644 --- a/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts +++ b/src/plugins/data/public/query/filter_manager/lib/generate_filters.ts @@ -32,7 +32,7 @@ function getExistingFilter( if (!filter) return; if (fieldName === '_exists_' && isExistsFilter(filter)) { - return filter.exists!.field === value; + return filter.query.exists!.field === value; } if (isPhraseFilter(filter)) { diff --git a/src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.test.ts b/src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.test.ts index 576650259b30d..113ae15d8284b 100644 --- a/src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.test.ts @@ -23,11 +23,11 @@ describe('filter manager utilities', () => { filters = [ null, [ - { meta: { index: 'logstash-*' }, exists: { field: '_type' } }, - { meta: { index: 'logstash-*' }, missing: { field: '_type' } }, + { meta: { index: 'logstash-*' }, query: { exists: { field: '_type' } } }, + { meta: { index: 'logstash-*' }, query: { exists: { field: '_type' } } }, ], { meta: { index: 'logstash-*' }, query: { query_string: { query: 'foo:bar' } } }, - { meta: { index: 'logstash-*' }, range: { bytes: { lt: 2048, gt: 1024 } } }, + { meta: { index: 'logstash-*' }, query: { range: { bytes: { lt: 2048, gt: 1024 } } } }, { meta: { index: 'logstash-*' }, query: { match: { _type: { query: 'apache', type: 'phrase' } } }, @@ -47,7 +47,7 @@ describe('filter manager utilities', () => { expect(results[0].meta).toHaveProperty('key', '_type'); expect(results[0].meta).toHaveProperty('value', 'exists'); expect(results[1].meta).toHaveProperty('key', '_type'); - expect(results[1].meta).toHaveProperty('value', 'missing'); + expect(results[1].meta).toHaveProperty('value', 'exists'); expect(results[2].meta).toHaveProperty('key', 'query'); expect(results[2].meta).toHaveProperty('value', 'foo:bar'); expect(results[3].meta).toHaveProperty('key', 'bytes'); diff --git a/src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.ts b/src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.ts index 73894a4b9ab63..7ae663d72a082 100644 --- a/src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.ts +++ b/src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.ts @@ -7,9 +7,13 @@ */ import { compact, flatten } from 'lodash'; -import { Filter } from '@kbn/es-query'; +import { Filter, migrateFilter } from '@kbn/es-query'; import { mapFilter } from './map_filter'; export const mapAndFlattenFilters = (filters: Filter[]) => { - return compact(flatten(filters)).map((item: Filter) => mapFilter(item)); + return compact(flatten(filters)) + .map((filter) => { + return migrateFilter(filter); + }) + .map((item: Filter) => mapFilter(item)); }; diff --git a/src/plugins/data/public/query/filter_manager/lib/map_filter.test.ts b/src/plugins/data/public/query/filter_manager/lib/map_filter.test.ts index 04d75286fd22d..0deabd6412475 100644 --- a/src/plugins/data/public/query/filter_manager/lib/map_filter.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/map_filter.test.ts @@ -33,7 +33,10 @@ describe('filter manager utilities', () => { }); test('should map exists filters', async () => { - const before: any = { meta: { index: 'logstash-*' }, exists: { field: '@timestamp' } }; + const before: any = { + meta: { index: 'logstash-*' }, + query: { exists: { field: '@timestamp' } }, + }; const after = mapFilter(before as Filter); expect(after).toHaveProperty('meta'); @@ -44,26 +47,14 @@ describe('filter manager utilities', () => { expect(after.meta).toHaveProperty('negate', false); }); - test('should map missing filters', async () => { - const before: any = { meta: { index: 'logstash-*' }, missing: { field: '@timestamp' } }; - const after = mapFilter(before as Filter); - - expect(after).toHaveProperty('meta'); - expect(after.meta).toHaveProperty('key', '@timestamp'); - expect(after.meta).toHaveProperty('value'); - expect(getDisplayName(after)).toBe('missing'); - expect(after.meta).toHaveProperty('disabled', false); - expect(after.meta).toHaveProperty('negate', false); - }); - test('should map json filter', async () => { - const before: any = { meta: { index: 'logstash-*' }, query: { match_all: {} } }; + const before: any = { meta: { index: 'logstash-*' }, query: { test: {} } }; const after = mapFilter(before as Filter); expect(after).toHaveProperty('meta'); expect(after.meta).toHaveProperty('key', 'query'); expect(after.meta).toHaveProperty('value'); - expect(getDisplayName(after)).toBe('{"match_all":{}}'); + expect(getDisplayName(after)).toBe('{"test":{}}'); expect(after.meta).toHaveProperty('disabled', false); expect(after.meta).toHaveProperty('negate', false); }); diff --git a/src/plugins/data/public/query/filter_manager/lib/map_filter.ts b/src/plugins/data/public/query/filter_manager/lib/map_filter.ts index d5e5d922d19d5..73144e14bc150 100644 --- a/src/plugins/data/public/query/filter_manager/lib/map_filter.ts +++ b/src/plugins/data/public/query/filter_manager/lib/map_filter.ts @@ -15,7 +15,6 @@ import { mapPhrase } from './mappers/map_phrase'; import { mapPhrases } from './mappers/map_phrases'; import { mapRange } from './mappers/map_range'; import { mapExists } from './mappers/map_exists'; -import { mapMissing } from './mappers/map_missing'; import { mapQueryString } from './mappers/map_query_string'; import { mapDefault } from './mappers/map_default'; import { generateMappingChain } from './generate_mapping_chain'; @@ -44,7 +43,6 @@ export function mapFilter(filter: Filter) { mapPhrase, mapPhrases, mapExists, - mapMissing, mapQueryString, mapDefault, ]; diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.ts index 19ebc66ae2d46..2727e8396eade 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_exists.ts @@ -14,7 +14,7 @@ export const mapExists = (filter: Filter) => { return { type: FILTERS.EXISTS, value: FILTERS.EXISTS, - key: get(filter, 'exists.field'), + key: get(filter, 'query.exists.field'), }; } throw filter; diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_match_all.test.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_match_all.test.ts index 7e371036a106d..069b9d292e3b5 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_match_all.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_match_all.test.ts @@ -15,7 +15,7 @@ describe('filter_manager/lib', () => { beforeEach(() => { filter = { - match_all: {}, + query: { match_all: {} }, meta: { alias: null, negate: true, diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_missing.test.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_missing.test.ts deleted file mode 100644 index 454643f4399ca..0000000000000 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_missing.test.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { mapMissing } from './map_missing'; -import { MissingFilter, buildEmptyFilter } from '../../../../../common'; - -describe('filter manager utilities', () => { - describe('mapMissing()', () => { - test('should return the key and value for matching filters', async () => { - const filter: MissingFilter = { - missing: { field: '_type' }, - ...buildEmptyFilter(true), - }; - const result = mapMissing(filter); - - expect(result).toHaveProperty('key', '_type'); - expect(result).toHaveProperty('value', 'missing'); - }); - - test('should return undefined for none matching', async (done) => { - const filter = buildEmptyFilter(true); - - try { - mapMissing(filter); - } catch (e) { - expect(e).toBe(filter); - done(); - } - }); - }); -}); diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_range.test.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_range.test.ts index 5d5d4c7938d32..98d70dc86bb35 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_range.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_range.test.ts @@ -14,7 +14,7 @@ describe('filter manager utilities', () => { test('should return the key and value for matching filters with gt/lt', async () => { const filter = { meta: { index: 'logstash-*' } as FilterMeta, - range: { bytes: { lt: 2048, gt: 1024 } }, + query: { range: { bytes: { lt: 2048, gt: 1024 } } }, } as RangeFilter; const result = mapRange(filter); diff --git a/src/plugins/data/public/query/filter_manager/lib/mappers/map_range.ts b/src/plugins/data/public/query/filter_manager/lib/mappers/map_range.ts index ee86c1aa3c309..c5fa5ccc89957 100644 --- a/src/plugins/data/public/query/filter_manager/lib/mappers/map_range.ts +++ b/src/plugins/data/public/query/filter_manager/lib/mappers/map_range.ts @@ -22,14 +22,15 @@ const getFormattedValueFn = (left: any, right: any) => { }; }; -const getFirstRangeKey = (filter: RangeFilter) => filter.range && Object.keys(filter.range)[0]; -const getRangeByKey = (filter: RangeFilter, key: string) => get(filter, ['range', key]); +const getFirstRangeKey = (filter: RangeFilter) => + filter.query.range && Object.keys(filter.query.range)[0]; +const getRangeByKey = (filter: RangeFilter, key: string) => get(filter.query, ['range', key]); function getParams(filter: RangeFilter) { const isScriptedRange = isScriptedRangeFilter(filter); const key: string = (isScriptedRange ? filter.meta.field : getFirstRangeKey(filter)) || ''; const params: any = isScriptedRange - ? get(filter, 'script.script.params') + ? get(filter.query, 'script.script.params') : getRangeByKey(filter, key); let left = hasIn(params, 'gte') ? params.gte : params.gt; diff --git a/src/plugins/data/public/query/filter_manager/lib/sort_filters.test.ts b/src/plugins/data/public/query/filter_manager/lib/sort_filters.test.ts index 0948e5e474973..da765aec708b1 100644 --- a/src/plugins/data/public/query/filter_manager/lib/sort_filters.test.ts +++ b/src/plugins/data/public/query/filter_manager/lib/sort_filters.test.ts @@ -14,11 +14,11 @@ describe('sortFilters', () => { test('Not sort two application level filters', () => { const f1 = { $state: { store: FilterStateStore.APP_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; const f2 = { $state: { store: FilterStateStore.APP_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; const filters = [f1, f2].sort(sortFilters); @@ -28,11 +28,11 @@ describe('sortFilters', () => { test('Not sort two global level filters', () => { const f1 = { $state: { store: FilterStateStore.GLOBAL_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; const f2 = { $state: { store: FilterStateStore.GLOBAL_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; const filters = [f1, f2].sort(sortFilters); @@ -42,11 +42,11 @@ describe('sortFilters', () => { test('Move global level filter to the beginning of the array', () => { const f1 = { $state: { store: FilterStateStore.APP_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; const f2 = { $state: { store: FilterStateStore.GLOBAL_STATE }, - ...buildQueryFilter({ _type: { match: { query: 'apache', type: 'phrase' } } }, 'index', ''), + ...buildQueryFilter({ query_string: { query: 'apache' } }, 'index', ''), }; const filters = [f1, f2].sort(sortFilters); diff --git a/src/plugins/data/public/query/filter_manager/test_helpers/get_filters_array.ts b/src/plugins/data/public/query/filter_manager/test_helpers/get_filters_array.ts index f73fc34c4e9f7..edd730e1e68b5 100644 --- a/src/plugins/data/public/query/filter_manager/test_helpers/get_filters_array.ts +++ b/src/plugins/data/public/query/filter_manager/test_helpers/get_filters_array.ts @@ -11,15 +11,15 @@ import { Filter } from '../../../../common'; export function getFiltersArray(): Filter[] { return [ { - query: { match: { extension: { query: 'jpg', type: 'phrase' } } }, + query: { match: { extension: { query: 'jpg' } } }, meta: { index: 'logstash-*', negate: false, disabled: false, alias: null }, }, { - query: { match: { '@tags': { query: 'info', type: 'phrase' } } }, + query: { match: { '@tags': { query: 'info' } } }, meta: { index: 'logstash-*', negate: false, disabled: false, alias: null }, }, { - query: { match: { _type: { query: 'nginx', type: 'phrase' } } }, + query: { match: { _type: { query: 'nginx' } } }, meta: { index: 'logstash-*', negate: false, disabled: false, alias: null }, }, ]; diff --git a/src/plugins/data/public/query/timefilter/lib/change_time_filter.test.ts b/src/plugins/data/public/query/timefilter/lib/change_time_filter.test.ts index 08430b61943de..3d8985820f40d 100644 --- a/src/plugins/data/public/query/timefilter/lib/change_time_filter.test.ts +++ b/src/plugins/data/public/query/timefilter/lib/change_time_filter.test.ts @@ -30,7 +30,7 @@ describe('changeTimeFilter()', () => { const lt = 1388646000000; test('should change the timefilter to match the range gt/lt', () => { - const filter: any = { range: { '@timestamp': { gt, lt } } }; + const filter: any = { query: { range: { '@timestamp': { gt, lt } } } }; changeTimeFilter(timefilter, filter as RangeFilter); const { to, from } = timefilter.getTime(); @@ -40,7 +40,7 @@ describe('changeTimeFilter()', () => { }); test('should change the timefilter to match the range gte/lte', () => { - const filter: any = { range: { '@timestamp': { gte: gt, lte: lt } } }; + const filter: any = { query: { range: { '@timestamp': { gte: gt, lte: lt } } } }; changeTimeFilter(timefilter, filter as RangeFilter); const { to, from } = timefilter.getTime(); diff --git a/src/plugins/data/public/query/timefilter/lib/change_time_filter.ts b/src/plugins/data/public/query/timefilter/lib/change_time_filter.ts index 0f4cdabc69d6b..94e12f1f6f7ca 100644 --- a/src/plugins/data/public/query/timefilter/lib/change_time_filter.ts +++ b/src/plugins/data/public/query/timefilter/lib/change_time_filter.ts @@ -13,8 +13,8 @@ import { TimefilterContract } from '../../timefilter'; import { TimeRange } from '../../../../common'; export function convertRangeFilterToTimeRange(filter: RangeFilter) { - const key = keys(filter.range)[0]; - const values = filter.range[key]; + const key = keys(filter.query.range)[0]; + const values = filter.query.range[key]; return { from: moment(values.gt || values.gte), diff --git a/src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts b/src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts index 5436ad446ee30..8f25792efbbdb 100644 --- a/src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts +++ b/src/plugins/data/public/query/timefilter/lib/extract_time_filter.test.ts @@ -28,11 +28,7 @@ describe('filter manager utilities', () => { describe('extractTimeFilter()', () => { test('should detect timeFilter', async () => { const filters: Filter[] = [ - buildQueryFilter( - { _type: { match: { query: 'apache', type: 'phrase' } } }, - 'logstash-*', - '' - ), + buildQueryFilter({ query_string: { query: 'apache' } }, 'logstash-*', ''), buildRangeFilter( { name: 'time' } as IFieldType, { gt: 1388559600000, lt: 1388646000000 }, @@ -47,11 +43,7 @@ describe('filter manager utilities', () => { test("should not return timeFilter when name doesn't match", async () => { const filters: Filter[] = [ - buildQueryFilter( - { _type: { match: { query: 'apache', type: 'phrase' } } }, - 'logstash-*', - '' - ), + buildQueryFilter({ query_string: { query: 'apache' } }, 'logstash-*', ''), buildRangeFilter( { name: '@timestamp' } as IFieldType, { from: 1, to: 2 }, @@ -67,11 +59,7 @@ describe('filter manager utilities', () => { test('should not return a non range filter, even when names match', async () => { const filters: Filter[] = [ - buildQueryFilter( - { _type: { match: { query: 'apache', type: 'phrase' } } }, - 'logstash-*', - '' - ), + buildQueryFilter({ query_string: { query: 'apache' } }, 'logstash-*', ''), buildPhraseFilter({ name: 'time' } as IFieldType, 'banana', indexPattern), ]; const result = await extractTimeFilter('time', filters); diff --git a/src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts b/src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts index 19e2c656be50d..77c6aeb144cf8 100644 --- a/src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts +++ b/src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts @@ -16,7 +16,7 @@ export function extractTimeFilter(timeFieldName: string, filters: Filter[]) { let key; if (isRangeFilter(obj)) { - key = keys(obj.range)[0]; + key = keys(obj.query.range)[0]; } return Boolean(key && key === timeFieldName); diff --git a/src/plugins/data/public/ui/query_string_input/query_string_input.tsx b/src/plugins/data/public/ui/query_string_input/query_string_input.tsx index 62a561220e7fa..f29409dc16362 100644 --- a/src/plugins/data/public/ui/query_string_input/query_string_input.tsx +++ b/src/plugins/data/public/ui/query_string_input/query_string_input.tsx @@ -37,7 +37,7 @@ import { QueryLanguageSwitcher } from './language_switcher'; import { PersistedLog, getQueryLog, matchPairs, toUser, fromUser } from '../../query'; import { SuggestionsListSize } from '../typeahead/suggestions_component'; import { SuggestionsComponent } from '..'; -import { KIBANA_USER_QUERY_LANGUAGE_KEY } from '../../../common'; +import { KIBANA_USER_QUERY_LANGUAGE_KEY, getFieldSubtypeNested } from '../../../common'; export interface QueryStringInputProps { indexPatterns: Array<IIndexPattern | string>; @@ -425,10 +425,10 @@ export default class QueryStringInputUI extends Component<Props, State> { }; private handleNestedFieldSyntaxNotification = (suggestion: QuerySuggestion) => { + const subTypeNested = 'field' in suggestion && getFieldSubtypeNested(suggestion.field); if ( - 'field' in suggestion && - suggestion.field.subType && - suggestion.field.subType.nested && + subTypeNested && + subTypeNested.nested && !this.services.storage.get('kibana.KQLNestedQuerySyntaxInfoOptOut') ) { const { notifications, docLinks } = this.services; diff --git a/src/plugins/data/server/autocomplete/terms_agg.ts b/src/plugins/data/server/autocomplete/terms_agg.ts index 9b1f5d92889bc..41544b9e01233 100644 --- a/src/plugins/data/server/autocomplete/terms_agg.ts +++ b/src/plugins/data/server/autocomplete/terms_agg.ts @@ -10,7 +10,7 @@ import { get, map } from 'lodash'; import { ElasticsearchClient, SavedObjectsClientContract } from 'kibana/server'; import { estypes } from '@elastic/elasticsearch'; import { ConfigSchema } from '../../config'; -import { IFieldType } from '../../common'; +import { IFieldType, getFieldSubtypeNested } from '../../common'; import { findIndexPatternById, getFieldByName } from '../data_views'; import { shimAbortSignal } from '../search'; @@ -87,14 +87,14 @@ async function getBody( }, }, }; - - if (isFieldObject(field) && field.subType && field.subType.nested) { + const subTypeNested = isFieldObject(field) && getFieldSubtypeNested(field); + if (isFieldObject(field) && subTypeNested) { return { ...body, aggs: { nestedSuggestions: { nested: { - path: field.subType.nested.path, + path: subTypeNested.nested.path, }, aggs: body.aggs, }, diff --git a/src/plugins/data/server/config_deprecations.test.ts b/src/plugins/data/server/config_deprecations.test.ts index 365c3b749f6c7..6c09b060aa763 100644 --- a/src/plugins/data/server/config_deprecations.test.ts +++ b/src/plugins/data/server/config_deprecations.test.ts @@ -9,9 +9,12 @@ import { cloneDeep } from 'lodash'; import { applyDeprecations, configDeprecationFactory } from '@kbn/config'; +import { configDeprecationsMock } from '../../../core/server/mocks'; import { autocompleteConfigDeprecationProvider } from './config_deprecations'; +const deprecationContext = configDeprecationsMock.createContext(); + const applyConfigDeprecations = (settings: Record<string, any> = {}) => { const deprecations = autocompleteConfigDeprecationProvider(configDeprecationFactory); const deprecationMessages: string[] = []; @@ -20,6 +23,7 @@ const applyConfigDeprecations = (settings: Record<string, any> = {}) => { deprecations.map((deprecation) => ({ deprecation, path: '', + context: deprecationContext, })), () => ({ message }) => diff --git a/src/plugins/data/server/search/routes/bsearch.ts b/src/plugins/data/server/search/routes/bsearch.ts index 43853aa0ea939..9a15f84687f43 100644 --- a/src/plugins/data/server/search/routes/bsearch.ts +++ b/src/plugins/data/server/search/routes/bsearch.ts @@ -25,13 +25,13 @@ export function registerBsearchRoute( { request: IKibanaSearchRequest; options?: ISearchOptionsSerializable }, IKibanaSearchResponse >('/internal/bsearch', (request) => { + const search = getScoped(request); return { /** * @param requestOptions * @throws `KibanaServerError` */ onBatchItem: async ({ request: requestData, options }) => { - const search = getScoped(request); const { executionContext, ...restOptions } = options || {}; return executionContextService.withContext(executionContext, () => diff --git a/src/plugins/data/server/search/search_service.ts b/src/plugins/data/server/search/search_service.ts index 26ecd7ebed500..fa7296c822467 100644 --- a/src/plugins/data/server/search/search_service.ts +++ b/src/plugins/data/server/search/search_service.ts @@ -89,6 +89,7 @@ import { getKibanaContext } from './expressions/kibana_context'; import { enhancedEsSearchStrategyProvider } from './strategies/ese_search'; import { eqlSearchStrategyProvider } from './strategies/eql_search'; import { NoSearchIdInSessionError } from './errors/no_search_id_in_session'; +import { CachedUiSettingsClient } from './services'; type StrategyMap = Record<string, ISearchStrategy<any, any>>; @@ -453,7 +454,9 @@ export class SearchService implements Plugin<ISearchSetup, ISearchStart> { searchSessionsClient, savedObjectsClient, esClient: elasticsearch.client.asScoped(request), - uiSettingsClient: uiSettings.asScopedToClient(savedObjectsClient), + uiSettingsClient: new CachedUiSettingsClient( + uiSettings.asScopedToClient(savedObjectsClient) + ), request, }; return { diff --git a/src/plugins/data/server/search/services/cached_ui_settings_client.test.ts b/src/plugins/data/server/search/services/cached_ui_settings_client.test.ts new file mode 100644 index 0000000000000..045e9d6d540ff --- /dev/null +++ b/src/plugins/data/server/search/services/cached_ui_settings_client.test.ts @@ -0,0 +1,59 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { coreMock, httpServerMock } from '../../../../../core/server/mocks'; + +import { CachedUiSettingsClient } from './cached_ui_settings_client'; + +test('fetching uiSettings once for the same key', async () => { + const request = httpServerMock.createKibanaRequest(); + const soClient = coreMock.createStart().savedObjects.getScopedClient(request); + const uiSettings = coreMock.createStart().uiSettings.asScopedToClient(soClient); + + const key = 'key'; + const value = 'value'; + const spy = jest + .spyOn(uiSettings, 'getAll') + .mockImplementation(() => Promise.resolve({ [key]: value })); + + const cachedUiSettings = new CachedUiSettingsClient(uiSettings); + + const res1 = cachedUiSettings.get(key); + const res2 = cachedUiSettings.get(key); + + expect(spy).toHaveBeenCalledTimes(1); // check that internally uiSettings.getAll() called only once + + expect(await res1).toBe(value); + expect(await res2).toBe(value); +}); + +test('fetching uiSettings once for different keys', async () => { + const request = httpServerMock.createKibanaRequest(); + const soClient = coreMock.createStart().savedObjects.getScopedClient(request); + const uiSettings = coreMock.createStart().uiSettings.asScopedToClient(soClient); + + const key1 = 'key1'; + const value1 = 'value1'; + + const key2 = 'key2'; + const value2 = 'value2'; + + const spy = jest + .spyOn(uiSettings, 'getAll') + .mockImplementation(() => Promise.resolve({ [key1]: value1, [key2]: value2 })); + + const cachedUiSettings = new CachedUiSettingsClient(uiSettings); + + const res1 = cachedUiSettings.get(key1); + const res2 = cachedUiSettings.get(key2); + + expect(spy).toHaveBeenCalledTimes(1); // check that internally uiSettings.getAll() called only once + + expect(await res1).toBe(value1); + expect(await res2).toBe(value2); +}); diff --git a/src/plugins/data/server/search/services/cached_ui_settings_client.ts b/src/plugins/data/server/search/services/cached_ui_settings_client.ts new file mode 100644 index 0000000000000..053f2e2c35f4b --- /dev/null +++ b/src/plugins/data/server/search/services/cached_ui_settings_client.ts @@ -0,0 +1,44 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { IUiSettingsClient } from 'kibana/server'; + +/** + * {@link IUiSettingsClient} wrapper to ensure uiSettings requested only once within a single KibanaRequest, + * {@link IUiSettingsClient} has its own cache, but it doesn't cache pending promises, so this produces two requests: + * + * const promise1 = uiSettings.get(1); // fetches config + * const promise2 = uiSettings.get(2); // fetches config + * + * And {@link CachedUiSettingsClient} solves it, so this produced a single request: + * + * const promise1 = cachedUiSettingsClient.get(1); // fetches config + * const promise2 = cachedUiSettingsClient.get(2); // reuses existing promise + * + * @internal + */ +export class CachedUiSettingsClient implements Pick<IUiSettingsClient, 'get'> { + private cache: Promise<Record<string, unknown>> | undefined; + + constructor(private readonly client: IUiSettingsClient) {} + + async get<T = any>(key: string): Promise<T> { + if (!this.cache) { + // caching getAll() instead of just get(key) because internally uiSettings calls `getAll()` anyways + // this way we reuse cache in case settings for different keys were requested + this.cache = this.client.getAll(); + } + + return this.cache + .then((cache) => cache[key] as T) + .catch((e) => { + this.cache = undefined; + throw e; + }); + } +} diff --git a/packages/kbn-config/src/legacy/index.ts b/src/plugins/data/server/search/services/index.ts similarity index 76% rename from packages/kbn-config/src/legacy/index.ts rename to src/plugins/data/server/search/services/index.ts index f6906f81d1821..90f9bd083744d 100644 --- a/packages/kbn-config/src/legacy/index.ts +++ b/src/plugins/data/server/search/services/index.ts @@ -6,7 +6,4 @@ * Side Public License, v 1. */ -export { - LegacyObjectToConfigAdapter, - LegacyLoggingConfig, -} from './legacy_object_to_config_adapter'; +export { CachedUiSettingsClient } from './cached_ui_settings_client'; diff --git a/src/plugins/data/server/search/strategies/es_search/request_utils.ts b/src/plugins/data/server/search/strategies/es_search/request_utils.ts index 829497929c20f..15cad34065ddc 100644 --- a/src/plugins/data/server/search/strategies/es_search/request_utils.ts +++ b/src/plugins/data/server/search/strategies/es_search/request_utils.ts @@ -17,7 +17,7 @@ export function getShardTimeout(config: SharedGlobalConfig): Pick<Search, 'timeo } export async function getDefaultSearchParams( - uiSettingsClient: IUiSettingsClient + uiSettingsClient: Pick<IUiSettingsClient, 'get'> ): Promise< Pick<Search, 'max_concurrent_shard_requests' | 'ignore_unavailable' | 'track_total_hits'> > { diff --git a/src/plugins/data/server/search/strategies/ese_search/request_utils.ts b/src/plugins/data/server/search/strategies/ese_search/request_utils.ts index e224215571ca9..f8fb54cfd870b 100644 --- a/src/plugins/data/server/search/strategies/ese_search/request_utils.ts +++ b/src/plugins/data/server/search/strategies/ese_search/request_utils.ts @@ -20,7 +20,7 @@ import { SearchSessionsConfigSchema } from '../../../../config'; * @internal */ export async function getIgnoreThrottled( - uiSettingsClient: IUiSettingsClient + uiSettingsClient: Pick<IUiSettingsClient, 'get'> ): Promise<Pick<Search, 'ignore_throttled'>> { const includeFrozen = await uiSettingsClient.get(UI_SETTINGS.SEARCH_INCLUDE_FROZEN); return includeFrozen ? { ignore_throttled: false } : {}; @@ -30,7 +30,7 @@ export async function getIgnoreThrottled( @internal */ export async function getDefaultAsyncSubmitParams( - uiSettingsClient: IUiSettingsClient, + uiSettingsClient: Pick<IUiSettingsClient, 'get'>, searchSessionsConfig: SearchSessionsConfigSchema | null, options: ISearchOptions ): Promise< diff --git a/src/plugins/data/server/search/types.ts b/src/plugins/data/server/search/types.ts index 26e0416b9a4b0..026ff9139d932 100644 --- a/src/plugins/data/server/search/types.ts +++ b/src/plugins/data/server/search/types.ts @@ -35,7 +35,7 @@ export interface SearchEnhancements { export interface SearchStrategyDependencies { savedObjectsClient: SavedObjectsClientContract; esClient: IScopedClusterClient; - uiSettingsClient: IUiSettingsClient; + uiSettingsClient: Pick<IUiSettingsClient, 'get'>; searchSessionsClient: IScopedSearchSessionsClient; request: KibanaRequest; } diff --git a/src/plugins/data_views/common/data_views/format_hit.ts b/src/plugins/data_views/common/data_views/format_hit.ts index 30daf7768c4dc..c8e6e8e337155 100644 --- a/src/plugins/data_views/common/data_views/format_hit.ts +++ b/src/plugins/data_views/common/data_views/format_hit.ts @@ -29,17 +29,6 @@ export function formatHitProvider(dataView: DataView, defaultFormat: any) { } function formatHit(hit: Record<string, any>, type: string = 'html') { - if (type === 'text') { - // formatHit of type text is for react components to get rid of <span ng-non-bindable> - // since it's currently just used at the discover's doc view table, caching is not necessary - const flattened = dataView.flattenHit(hit); - const result: Record<string, any> = {}; - for (const [key, value] of Object.entries(flattened)) { - result[key] = convert(hit, value, key, type); - } - return result; - } - const cached = formattedCache.get(hit); if (cached) { return cached; diff --git a/src/plugins/data_views/common/fields/data_view_field.ts b/src/plugins/data_views/common/fields/data_view_field.ts index 3ad92a3a7e53d..ca74f0c52d253 100644 --- a/src/plugins/data_views/common/fields/data_view_field.ts +++ b/src/plugins/data_views/common/fields/data_view_field.ts @@ -13,7 +13,13 @@ import { KBN_FIELD_TYPES } from '@kbn/field-types'; import type { RuntimeField } from '../types'; import type { IFieldType } from './types'; import { FieldSpec, DataView } from '..'; -import { shortenDottedString } from './utils'; +import { + shortenDottedString, + isDataViewFieldSubtypeMulti, + isDataViewFieldSubtypeNested, + getDataViewFieldSubtypeMulti, + getDataViewFieldSubtypeNested, +} from './utils'; /** @public */ export class DataViewField implements IFieldType { @@ -159,6 +165,22 @@ export class DataViewField implements IFieldType { return this.aggregatable && !notVisualizableFieldTypes.includes(this.spec.type); } + public isSubtypeNested() { + return isDataViewFieldSubtypeNested(this); + } + + public isSubtypeMulti() { + return isDataViewFieldSubtypeMulti(this); + } + + public getSubtypeNested() { + return getDataViewFieldSubtypeNested(this); + } + + public getSubtypeMulti() { + return getDataViewFieldSubtypeMulti(this); + } + public deleteCount() { delete this.spec.count; } diff --git a/src/plugins/data_views/common/fields/index.ts b/src/plugins/data_views/common/fields/index.ts index 0ff7397c4f7b5..97cbe862d5fe7 100644 --- a/src/plugins/data_views/common/fields/index.ts +++ b/src/plugins/data_views/common/fields/index.ts @@ -7,6 +7,12 @@ */ export * from './types'; -export { isFilterable, isNestedField } from './utils'; +export { + isFilterable, + isNestedField, + isMultiField, + getFieldSubtypeMulti, + getFieldSubtypeNested, +} from './utils'; export * from './field_list'; export * from './data_view_field'; diff --git a/src/plugins/data_views/common/fields/utils.ts b/src/plugins/data_views/common/fields/utils.ts index 8344a32d78556..adb5057798b1c 100644 --- a/src/plugins/data_views/common/fields/utils.ts +++ b/src/plugins/data_views/common/fields/utils.ts @@ -7,6 +7,7 @@ */ import { getFilterableKbnTypeNames } from '@kbn/field-types'; +import { DataViewFieldBase, IFieldSubTypeNested, IFieldSubTypeMulti } from '@kbn/es-query'; import { IFieldType } from './types'; const filterableTypes = getFilterableKbnTypeNames(); @@ -19,9 +20,10 @@ export function isFilterable(field: IFieldType): boolean { ); } -export function isNestedField(field: IFieldType): boolean { - return !!field.subType?.nested; -} +export const isNestedField = isDataViewFieldSubtypeNested; +export const isMultiField = isDataViewFieldSubtypeMulti; +export const getFieldSubtypeMulti = getDataViewFieldSubtypeMulti; +export const getFieldSubtypeNested = getDataViewFieldSubtypeNested; const DOT_PREFIX_RE = /(.).+?\./g; @@ -34,3 +36,25 @@ const DOT_PREFIX_RE = /(.).+?\./g; export function shortenDottedString(input: any) { return typeof input !== 'string' ? input : input.replace(DOT_PREFIX_RE, '$1.'); } + +// Note - this code is duplicated from @kbn/es-query +// as importing code adds about 30k to the data_view bundle size +type HasSubtype = Pick<DataViewFieldBase, 'subType'>; + +export function isDataViewFieldSubtypeNested(field: HasSubtype) { + const subTypeNested = field?.subType as IFieldSubTypeNested; + return !!subTypeNested?.nested?.path; +} + +export function getDataViewFieldSubtypeNested(field: HasSubtype) { + return isDataViewFieldSubtypeNested(field) ? (field.subType as IFieldSubTypeNested) : undefined; +} + +export function isDataViewFieldSubtypeMulti(field: HasSubtype) { + const subTypeNested = field?.subType as IFieldSubTypeMulti; + return !!subTypeNested?.multi?.parent; +} + +export function getDataViewFieldSubtypeMulti(field: HasSubtype) { + return isDataViewFieldSubtypeMulti(field) ? (field.subType as IFieldSubTypeMulti) : undefined; +} diff --git a/src/plugins/data_views/common/index.ts b/src/plugins/data_views/common/index.ts index e8b36ab3e8fc1..b057a1ba84174 100644 --- a/src/plugins/data_views/common/index.ts +++ b/src/plugins/data_views/common/index.ts @@ -14,7 +14,16 @@ export { INDEX_PATTERN_SAVED_OBJECT_TYPE, } from './constants'; export type { IFieldType, IIndexPatternFieldList } from './fields'; -export { isFilterable, isNestedField, fieldList, DataViewField, IndexPatternField } from './fields'; +export { + isFilterable, + fieldList, + DataViewField, + IndexPatternField, + isNestedField, + isMultiField, + getFieldSubtypeMulti, + getFieldSubtypeNested, +} from './fields'; export type { FieldFormatMap, RuntimeType, diff --git a/src/plugins/discover/public/application/apps/context/services/context_state.test.ts b/src/plugins/discover/public/application/apps/context/services/context_state.test.ts index 07491caf8989e..3e5acccff634e 100644 --- a/src/plugins/discover/public/application/apps/context/services/context_state.test.ts +++ b/src/plugins/discover/public/application/apps/context/services/context_state.test.ts @@ -148,10 +148,9 @@ describe('Test Discover Context State', () => { "value": [Function], }, "query": Object { - "match": Object { + "match_phrase": Object { "extension": Object { "query": "jpg", - "type": "phrase", }, }, }, @@ -173,10 +172,9 @@ describe('Test Discover Context State', () => { "value": [Function], }, "query": Object { - "match": Object { + "match_phrase": Object { "extension": Object { "query": "png", - "type": "phrase", }, }, }, @@ -185,7 +183,7 @@ describe('Test Discover Context State', () => { `); state.flushToUrl(); expect(getCurrentUrl()).toMatchInlineSnapshot( - `"/#?_g=(filters:!(('$state':(store:globalState),meta:(alias:!n,disabled:!f,index:'logstash-*',key:extension,negate:!f,params:(query:jpg),type:phrase),query:(match:(extension:(query:jpg,type:phrase))))))&_a=(columns:!(_source),filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'logstash-*',key:extension,negate:!t,params:(query:png),type:phrase),query:(match:(extension:(query:png,type:phrase))))),predecessorCount:4,sort:!(!(time,desc)),successorCount:4)"` + `"/#?_g=(filters:!(('$state':(store:globalState),meta:(alias:!n,disabled:!f,index:'logstash-*',key:extension,negate:!f,params:(query:jpg),type:phrase),query:(match_phrase:(extension:(query:jpg))))))&_a=(columns:!(_source),filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'logstash-*',key:extension,negate:!t,params:(query:png),type:phrase),query:(match_phrase:(extension:(query:png))))),predecessorCount:4,sort:!(!(time,desc)),successorCount:4)"` ); }); }); diff --git a/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx b/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx index 803694db177a9..8d56f2adeaf65 100644 --- a/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx +++ b/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx @@ -14,7 +14,6 @@ import { DocViewer } from '../../../../../components/doc_viewer/doc_viewer'; import { FilterManager, IndexPattern } from '../../../../../../../../data/public'; import { TableCell } from './table_row/table_cell'; import { ElasticSearchHit, DocViewFilterFn } from '../../../../../doc_views/doc_views_types'; -import { trimAngularSpan } from '../../../../../components/table/table_helper'; import { getContextUrl } from '../../../../../helpers/get_context_url'; import { getSingleDocUrl } from '../../../../../helpers/get_single_doc_url'; import { TableRowDetails } from './table_row_details'; @@ -68,8 +67,7 @@ export const TableRow = ({ * Fill an element with the value of a field */ const displayField = (fieldName: string) => { - const text = indexPattern.formatField(row, fieldName); - const formattedField = trimAngularSpan(String(text)); + const formattedField = indexPattern.formatField(row, fieldName); // field formatters take care of escaping // eslint-disable-next-line react/no-danger diff --git a/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx b/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx index 97bc305065d30..0bd8c59b90c01 100644 --- a/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx +++ b/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx @@ -30,7 +30,10 @@ import { DiscoverIndexPattern } from './discover_index_pattern'; import { DiscoverFieldSearch } from './discover_field_search'; import { FIELDS_LIMIT_SETTING } from '../../../../../../common'; import { groupFields } from './lib/group_fields'; -import { IndexPatternField } from '../../../../../../../data/public'; +import { + IndexPatternField, + indexPatterns as indexPatternUtils, +} from '../../../../../../../data/public'; import { getDetails } from './lib/get_details'; import { FieldFilterState, getDefaultFieldFilter, setFieldFilterProp } from './lib/field_filter'; import { getIndexPatternFieldList } from './lib/get_index_pattern_field_list'; @@ -208,7 +211,8 @@ export function DiscoverSidebarComponent({ } const map = new Map<string, Array<{ field: IndexPatternField; isSelected: boolean }>>(); fields.forEach((field) => { - const parent = field.spec?.subType?.multi?.parent; + const subTypeMulti = indexPatternUtils.getFieldSubtypeMulti(field); + const parent = subTypeMulti?.multi.parent; if (!parent) { return; } diff --git a/src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx b/src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx index 0a7b1aeacc47a..50d742d83c630 100644 --- a/src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx +++ b/src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx @@ -8,6 +8,7 @@ import { IndexPatternField } from 'src/plugins/data/public'; import { FieldFilterState, isFieldFiltered } from './field_filter'; +import { getFieldSubtypeMulti } from '../../../../../../../../data/common'; interface GroupedFields { selected: IndexPatternField[]; @@ -54,7 +55,8 @@ export function groupFields( if (!isFieldFiltered(field, fieldFilterState, fieldCounts)) { continue; } - const isSubfield = useNewFieldsApi && field.spec?.subType?.multi?.parent; + const subTypeMulti = getFieldSubtypeMulti(field?.spec); + const isSubfield = useNewFieldsApi && subTypeMulti; if (columns.includes(field.name)) { result.selected.push(field); } else if (popular.includes(field.name) && field.type !== '_source') { diff --git a/src/plugins/discover/public/application/apps/main/components/uninitialized/uninitialized.tsx b/src/plugins/discover/public/application/apps/main/components/uninitialized/uninitialized.tsx index c9e0c43900ba1..6c1b1bfc87d20 100644 --- a/src/plugins/discover/public/application/apps/main/components/uninitialized/uninitialized.tsx +++ b/src/plugins/discover/public/application/apps/main/components/uninitialized/uninitialized.tsx @@ -32,7 +32,7 @@ export const DiscoverUninitialized = ({ onRefresh }: Props) => { </p> } actions={ - <EuiButton color="primary" fill onClick={onRefresh}> + <EuiButton color="primary" fill onClick={onRefresh} data-test-subj="refreshDataButton"> <FormattedMessage id="discover.uninitializedRefreshButtonText" defaultMessage="Refresh data" diff --git a/src/plugins/discover/public/application/apps/main/discover_main_app.tsx b/src/plugins/discover/public/application/apps/main/discover_main_app.tsx index 7ee9ab44f9a75..c7a38032ef405 100644 --- a/src/plugins/discover/public/application/apps/main/discover_main_app.tsx +++ b/src/plugins/discover/public/application/apps/main/discover_main_app.tsx @@ -38,7 +38,7 @@ export interface DiscoverMainProps { } export function DiscoverMainApp(props: DiscoverMainProps) { - const { services, history, indexPatternList } = props; + const { savedSearch, services, history, indexPatternList } = props; const { chrome, docLinks, uiSettings: config, data } = services; const navigateTo = useCallback( (path: string) => { @@ -46,7 +46,6 @@ export function DiscoverMainApp(props: DiscoverMainProps) { }, [history] ); - const savedSearch = props.savedSearch; /** * State related logic diff --git a/src/plugins/discover/public/application/apps/main/discover_main_route.tsx b/src/plugins/discover/public/application/apps/main/discover_main_route.tsx index 5141908e44ade..a95668642558c 100644 --- a/src/plugins/discover/public/application/apps/main/discover_main_route.tsx +++ b/src/plugins/discover/public/application/apps/main/discover_main_route.tsx @@ -75,8 +75,6 @@ export function DiscoverMainRoute({ services, history }: DiscoverMainProps) { async function loadSavedSearch() { try { - // force a refresh if a given saved search without id was saved - setSavedSearch(undefined); const loadedSavedSearch = await services.getSavedSearchById(savedSearchId); const loadedIndexPattern = await loadDefaultOrCurrentIndexPattern(loadedSavedSearch); if (loadedSavedSearch && !loadedSavedSearch?.searchSource.getField('index')) { diff --git a/src/plugins/discover/public/application/apps/main/services/discover_state.ts b/src/plugins/discover/public/application/apps/main/services/discover_state.ts index e30af2390d44e..16eb622c4a7c4 100644 --- a/src/plugins/discover/public/application/apps/main/services/discover_state.ts +++ b/src/plugins/discover/public/application/apps/main/services/discover_state.ts @@ -232,7 +232,10 @@ export function getState({ initialAppState = appStateContainer.getState(); }, resetAppState: () => { - const defaultState = getStateDefaults ? getStateDefaults() : {}; + const defaultState = handleSourceColumnState( + getStateDefaults ? getStateDefaults() : {}, + uiSettings + ); setState(appStateContainerModified, defaultState); }, getPreviousAppState: () => previousAppState, diff --git a/src/plugins/discover/public/application/apps/main/services/use_discover_state.ts b/src/plugins/discover/public/application/apps/main/services/use_discover_state.ts index e11a9937111a1..223d896b16cd1 100644 --- a/src/plugins/discover/public/application/apps/main/services/use_discover_state.ts +++ b/src/plugins/discover/public/application/apps/main/services/use_discover_state.ts @@ -96,6 +96,7 @@ export function useDiscoverState({ useEffect(() => { const stopSync = stateContainer.initializeAndSync(indexPattern, filterManager, data); + return () => stopSync(); }, [stateContainer, filterManager, data, indexPattern]); @@ -209,16 +210,13 @@ export function useDiscoverState({ }, [config, data, savedSearch, reset, stateContainer]); /** - * Initial data fetching, also triggered when index pattern changes + * Trigger data fetching on indexPattern or savedSearch changes */ useEffect(() => { - if (!indexPattern) { - return; - } - if (initialFetchStatus === FetchStatus.LOADING) { + if (indexPattern) { refetch$.next(); } - }, [initialFetchStatus, refetch$, indexPattern]); + }, [initialFetchStatus, refetch$, indexPattern, savedSearch.id]); return { data$, diff --git a/src/plugins/discover/public/application/apps/main/services/use_saved_search.ts b/src/plugins/discover/public/application/apps/main/services/use_saved_search.ts index 26f95afba5a93..d11c76283fedd 100644 --- a/src/plugins/discover/public/application/apps/main/services/use_saved_search.ts +++ b/src/plugins/discover/public/application/apps/main/services/use_saved_search.ts @@ -156,6 +156,7 @@ export const useSavedSearch = ({ refetch$, searchSessionManager, searchSource, + initialFetchStatus, }); const subscription = fetch$.subscribe((val) => { diff --git a/src/plugins/discover/public/application/apps/main/utils/get_fetch_observable.ts b/src/plugins/discover/public/application/apps/main/utils/get_fetch_observable.ts index aac6196e64f6f..528f0e74d3ed6 100644 --- a/src/plugins/discover/public/application/apps/main/utils/get_fetch_observable.ts +++ b/src/plugins/discover/public/application/apps/main/utils/get_fetch_observable.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ import { merge } from 'rxjs'; -import { debounceTime, filter, tap } from 'rxjs/operators'; +import { debounceTime, filter, skip, tap } from 'rxjs/operators'; import { FetchStatus } from '../../../types'; import type { @@ -26,6 +26,7 @@ export function getFetch$({ main$, refetch$, searchSessionManager, + initialFetchStatus, }: { setAutoRefreshDone: (val: AutoRefreshDoneFn | undefined) => void; data: DataPublicPluginStart; @@ -33,10 +34,11 @@ export function getFetch$({ refetch$: DataRefetch$; searchSessionManager: DiscoverSearchSessionManager; searchSource: SearchSource; + initialFetchStatus: FetchStatus; }) { const { timefilter } = data.query.timefilter; const { filterManager } = data.query; - return merge( + let fetch$ = merge( refetch$, filterManager.getFetches$(), timefilter.getFetch$(), @@ -58,4 +60,13 @@ export function getFetch$({ data.query.queryString.getUpdates$(), searchSessionManager.newSearchSessionIdFromURL$.pipe(filter((sessionId) => !!sessionId)) ).pipe(debounceTime(100)); + + /** + * Skip initial fetch when discover:searchOnPageLoad is disabled. + */ + if (initialFetchStatus === FetchStatus.UNINITIALIZED) { + fetch$ = fetch$.pipe(skip(1)); + } + + return fetch$; } diff --git a/src/plugins/discover/public/application/apps/main/utils/get_fetch_observeable.test.ts b/src/plugins/discover/public/application/apps/main/utils/get_fetch_observeable.test.ts index 5f728b115b2e9..39873ff609d64 100644 --- a/src/plugins/discover/public/application/apps/main/utils/get_fetch_observeable.test.ts +++ b/src/plugins/discover/public/application/apps/main/utils/get_fetch_observeable.test.ts @@ -58,6 +58,7 @@ describe('getFetchObservable', () => { data: createDataMock(new Subject(), new Subject(), new Subject(), new Subject()), searchSessionManager: searchSessionManagerMock.searchSessionManager, searchSource: savedSearchMock.searchSource, + initialFetchStatus: FetchStatus.LOADING, }); fetch$.subscribe(() => { @@ -81,6 +82,7 @@ describe('getFetchObservable', () => { data: dataMock, searchSessionManager: searchSessionManagerMock.searchSessionManager, searchSource: savedSearchMockWithTimeField.searchSource, + initialFetchStatus: FetchStatus.LOADING, }); const fetchfnMock = jest.fn(); diff --git a/src/plugins/discover/public/application/apps/main/utils/get_state_defaults.test.ts b/src/plugins/discover/public/application/apps/main/utils/get_state_defaults.test.ts index 554aca6ddb8f1..04ee5f414e7f4 100644 --- a/src/plugins/discover/public/application/apps/main/utils/get_state_defaults.test.ts +++ b/src/plugins/discover/public/application/apps/main/utils/get_state_defaults.test.ts @@ -31,6 +31,7 @@ describe('getStateDefaults', () => { "index": "index-pattern-with-timefield-id", "interval": "auto", "query": undefined, + "savedQuery": undefined, "sort": Array [ Array [ "timestamp", @@ -59,6 +60,7 @@ describe('getStateDefaults', () => { "index": "the-index-pattern-id", "interval": "auto", "query": undefined, + "savedQuery": undefined, "sort": Array [], } `); diff --git a/src/plugins/discover/public/application/apps/main/utils/get_state_defaults.ts b/src/plugins/discover/public/application/apps/main/utils/get_state_defaults.ts index 4061d9a61f0a3..cd23d52022374 100644 --- a/src/plugins/discover/public/application/apps/main/utils/get_state_defaults.ts +++ b/src/plugins/discover/public/application/apps/main/utils/get_state_defaults.ts @@ -47,6 +47,7 @@ export function getStateDefaults({ interval: 'auto', filters: cloneDeep(searchSource.getOwnField('filter')), hideChart: undefined, + savedQuery: undefined, } as AppState; if (savedSearch.grid) { defaultState.grid = savedSearch.grid; diff --git a/src/plugins/discover/public/application/apps/main/utils/nested_fields.ts b/src/plugins/discover/public/application/apps/main/utils/nested_fields.ts index 33a19e388e7f5..beeca801457a1 100644 --- a/src/plugins/discover/public/application/apps/main/utils/nested_fields.ts +++ b/src/plugins/discover/public/application/apps/main/utils/nested_fields.ts @@ -8,6 +8,7 @@ import { escapeRegExp } from 'lodash/fp'; import type { IndexPattern } from 'src/plugins/data/public'; +import { getFieldSubtypeNested } from '../../../../../../data/common'; /** * This function checks if the given field in a given index pattern is a nested field's parent. @@ -51,7 +52,8 @@ export function isNestedFieldParent(fieldName: string, indexPattern: IndexPatter !!indexPattern.fields.getAll().find((patternField) => { // We only want to match a full path segment const nestedRootRegex = new RegExp(escapeRegExp(fieldName) + '(\\.|$)'); - return nestedRootRegex.test(patternField.subType?.nested?.path ?? ''); + const subTypeNested = getFieldSubtypeNested(patternField); + return nestedRootRegex.test(subTypeNested?.nested.path ?? ''); }) ); } diff --git a/src/plugins/discover/public/application/apps/not_found/not_found_route.tsx b/src/plugins/discover/public/application/apps/not_found/not_found_route.tsx index cd16a820cc8f7..6b6ef584d07f1 100644 --- a/src/plugins/discover/public/application/apps/not_found/not_found_route.tsx +++ b/src/plugins/discover/public/application/apps/not_found/not_found_route.tsx @@ -9,6 +9,7 @@ import React, { useEffect } from 'react'; import { i18n } from '@kbn/i18n'; import { EuiCallOut } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; +import { Redirect } from 'react-router-dom'; import { toMountPoint } from '../../../../../kibana_react/public'; import { DiscoverServices } from '../../../build_services'; import { getUrlTracker } from '../../../kibana_services'; @@ -23,7 +24,8 @@ let bannerId: string | undefined; export function NotFoundRoute(props: NotFoundRouteProps) { const { services } = props; - const { urlForwarding } = services; + const { urlForwarding, core, history } = services; + const currentLocation = history().location.pathname; useEffect(() => { const path = window.location.hash.substr(1); @@ -34,14 +36,17 @@ export function NotFoundRoute(props: NotFoundRouteProps) { defaultMessage: 'Page not found', }); - bannerId = services.core.overlays.banners.replace( + bannerId = core.overlays.banners.replace( bannerId, toMountPoint( <EuiCallOut color="warning" iconType="iInCircle" title={bannerMessage}> - <p> + <p data-test-subj="invalidRouteMessage"> <FormattedMessage id="discover.noMatchRoute.bannerText" - defaultMessage="Invalid URL for Discover application." + defaultMessage="Discover application doesn't recognize this route: {route}" + values={{ + route: history().location.state.referrer, + }} /> </p> </EuiCallOut> @@ -51,10 +56,10 @@ export function NotFoundRoute(props: NotFoundRouteProps) { // hide the message after the user has had a chance to acknowledge it -- so it doesn't permanently stick around setTimeout(() => { if (bannerId) { - services.core.overlays.banners.remove(bannerId); + core.overlays.banners.remove(bannerId); } }, 15000); - }, [services.core.overlays.banners, services.history, urlForwarding]); + }, [core.overlays.banners, history, urlForwarding]); - return null; + return <Redirect to={{ pathname: '/', state: { referrer: currentLocation } }} />; } diff --git a/src/plugins/discover/public/application/components/field_name/field_name.tsx b/src/plugins/discover/public/application/components/field_name/field_name.tsx index 7966b611215a7..0e8ca31f6379a 100644 --- a/src/plugins/discover/public/application/components/field_name/field_name.tsx +++ b/src/plugins/discover/public/application/components/field_name/field_name.tsx @@ -14,6 +14,7 @@ import { i18n } from '@kbn/i18n'; import { FieldIcon, FieldIconProps } from '../../../../../kibana_react/public'; import { getFieldTypeName } from './field_type_name'; import { IndexPatternField } from '../../../../../data/public'; +import { getFieldSubtypeMulti } from '../../../../../data/common'; interface Props { fieldName: string; @@ -34,7 +35,8 @@ export function FieldName({ const displayName = fieldMapping && fieldMapping.displayName ? fieldMapping.displayName : fieldName; const tooltip = displayName !== fieldName ? `${fieldName} (${displayName})` : fieldName; - const isMultiField = !!fieldMapping?.spec?.subType?.multi; + const subTypeMulti = fieldMapping && getFieldSubtypeMulti(fieldMapping.spec); + const isMultiField = !!subTypeMulti?.multi; return ( <Fragment> diff --git a/src/plugins/discover/public/application/components/table/table_cell_value.tsx b/src/plugins/discover/public/application/components/table/table_cell_value.tsx index ba2fb707940bf..22c84b23949e1 100644 --- a/src/plugins/discover/public/application/components/table/table_cell_value.tsx +++ b/src/plugins/discover/public/application/components/table/table_cell_value.tsx @@ -9,7 +9,6 @@ import classNames from 'classnames'; import React, { Fragment, useState } from 'react'; import { FieldRecord } from './table'; -import { trimAngularSpan } from './table_helper'; import { DocViewTableRowBtnCollapse } from './table_row_btn_collapse'; const COLLAPSE_LINE_LENGTH = 350; @@ -19,7 +18,7 @@ type TableFieldValueProps = FieldRecord['value'] & Pick<FieldRecord['field'], 'f export const TableFieldValue = ({ formattedValue, field }: TableFieldValueProps) => { const [fieldOpen, setFieldOpen] = useState(false); - const value = trimAngularSpan(String(formattedValue)); + const value = String(formattedValue); const isCollapsible = value.length > COLLAPSE_LINE_LENGTH; const isCollapsed = isCollapsible && !fieldOpen; diff --git a/src/plugins/discover/public/application/helpers/get_fields_to_show.ts b/src/plugins/discover/public/application/helpers/get_fields_to_show.ts index bee9bd0c1f9f1..5e3f0c0b60057 100644 --- a/src/plugins/discover/public/application/helpers/get_fields_to_show.ts +++ b/src/plugins/discover/public/application/helpers/get_fields_to_show.ts @@ -5,7 +5,7 @@ * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ -import { IndexPattern } from '../../../../data/common'; +import { IndexPattern, getFieldSubtypeMulti } from '../../../../data/common'; export const getFieldsToShow = ( fields: string[], @@ -16,13 +16,15 @@ export const getFieldsToShow = ( const mapping = (name: string) => indexPattern.fields.getByName(name); fields.forEach((key) => { const mapped = mapping(key); - if (mapped && mapped.spec?.subType?.multi?.parent) { - childParentFieldsMap[mapped.name] = mapped.spec.subType.multi.parent; + const subTypeMulti = mapped && getFieldSubtypeMulti(mapped.spec); + if (mapped && subTypeMulti?.multi?.parent) { + childParentFieldsMap[mapped.name] = subTypeMulti.multi.parent; } }); return fields.filter((key: string) => { const fieldMapping = mapping(key); - const isMultiField = !!fieldMapping?.spec?.subType?.multi; + const subTypeMulti = fieldMapping && getFieldSubtypeMulti(fieldMapping.spec); + const isMultiField = !!subTypeMulti?.multi; if (!isMultiField) { return true; } diff --git a/src/plugins/embeddable/public/lib/containers/container.ts b/src/plugins/embeddable/public/lib/containers/container.ts index a1d4b5b68d20d..06133fb2160c0 100644 --- a/src/plugins/embeddable/public/lib/containers/container.ts +++ b/src/plugins/embeddable/public/lib/containers/container.ts @@ -46,6 +46,7 @@ export abstract class Container< parent?: Container ) { super(input, output, parent); + this.getFactory = getFactory; // Currently required for using in storybook due to https://github.com/storybookjs/storybook/issues/13834 this.subscription = this.getInput$() // At each update event, get both the previous and current state .pipe(startWith(input), pairwise()) diff --git a/src/plugins/es_ui_shared/public/request/use_request.test.ts b/src/plugins/es_ui_shared/public/request/use_request.test.ts index 68edde1336728..a6c22073dbc90 100644 --- a/src/plugins/es_ui_shared/public/request/use_request.test.ts +++ b/src/plugins/es_ui_shared/public/request/use_request.test.ts @@ -308,6 +308,24 @@ describe('useRequest hook', () => { expect(getSendRequestSpy().callCount).toBe(2); }); + it(`changing pollIntervalMs to undefined cancels the poll`, async () => { + const { setupErrorRequest, setErrorResponse, completeRequest, getSendRequestSpy } = helpers; + // Send initial request. + setupErrorRequest({ pollIntervalMs: REQUEST_TIME }); + + // Setting the poll to undefined will cancel subsequent requests. + setErrorResponse({ pollIntervalMs: undefined }); + + // Complete initial request. + await completeRequest(); + + // If there were another scheduled poll request, this would complete it. + await completeRequest(); + + // But because we canceled the poll, we only see 1 request instead of 2. + expect(getSendRequestSpy().callCount).toBe(1); + }); + it('when the path changes after a request is scheduled, the scheduled request is sent with that path', async () => { const { setupSuccessRequest, diff --git a/src/plugins/field_formats/common/content_types/html_content_type.ts b/src/plugins/field_formats/common/content_types/html_content_type.ts index 3b7a48a9329a6..d8d664e1d1b64 100644 --- a/src/plugins/field_formats/common/content_types/html_content_type.ts +++ b/src/plugins/field_formats/common/content_types/html_content_type.ts @@ -50,7 +50,7 @@ export const setup = ( }; const wrap: HtmlContextTypeConvert = (value, options) => { - return `<span ng-non-bindable>${recurse(value, options)}</span>`; + return recurse(value, options); }; return wrap; diff --git a/src/plugins/field_formats/common/converters/color.test.ts b/src/plugins/field_formats/common/converters/color.test.ts index 4b7f2733f56fc..994c6d802ae3b 100644 --- a/src/plugins/field_formats/common/converters/color.test.ts +++ b/src/plugins/field_formats/common/converters/color.test.ts @@ -26,14 +26,14 @@ describe('Color Format', () => { jest.fn() ); - expect(colorer.convert(99, HTML_CONTEXT_TYPE)).toBe('<span ng-non-bindable>99</span>'); + expect(colorer.convert(99, HTML_CONTEXT_TYPE)).toBe('99'); expect(colorer.convert(100, HTML_CONTEXT_TYPE)).toBe( - '<span ng-non-bindable><span style="color:blue;background-color:yellow">100</span></span>' + '<span style="color:blue;background-color:yellow">100</span>' ); expect(colorer.convert(150, HTML_CONTEXT_TYPE)).toBe( - '<span ng-non-bindable><span style="color:blue;background-color:yellow">150</span></span>' + '<span style="color:blue;background-color:yellow">150</span>' ); - expect(colorer.convert(151, HTML_CONTEXT_TYPE)).toBe('<span ng-non-bindable>151</span>'); + expect(colorer.convert(151, HTML_CONTEXT_TYPE)).toBe('151'); }); test('should not convert invalid ranges', () => { @@ -51,7 +51,7 @@ describe('Color Format', () => { jest.fn() ); - expect(colorer.convert(99, HTML_CONTEXT_TYPE)).toBe('<span ng-non-bindable>99</span>'); + expect(colorer.convert(99, HTML_CONTEXT_TYPE)).toBe('99'); }); }); @@ -72,26 +72,26 @@ describe('Color Format', () => { ); const converter = colorer.getConverterFor(HTML_CONTEXT_TYPE) as Function; - expect(converter('B', HTML_CONTEXT_TYPE)).toBe('<span ng-non-bindable>B</span>'); + expect(converter('B', HTML_CONTEXT_TYPE)).toBe('B'); expect(converter('AAA', HTML_CONTEXT_TYPE)).toBe( - '<span ng-non-bindable><span style="color:blue;background-color:yellow">AAA</span></span>' + '<span style="color:blue;background-color:yellow">AAA</span>' ); expect(converter('AB', HTML_CONTEXT_TYPE)).toBe( - '<span ng-non-bindable><span style="color:blue;background-color:yellow">AB</span></span>' + '<span style="color:blue;background-color:yellow">AB</span>' ); - expect(converter('a', HTML_CONTEXT_TYPE)).toBe('<span ng-non-bindable>a</span>'); + expect(converter('a', HTML_CONTEXT_TYPE)).toBe('a'); - expect(converter('B', HTML_CONTEXT_TYPE)).toBe('<span ng-non-bindable>B</span>'); + expect(converter('B', HTML_CONTEXT_TYPE)).toBe('B'); expect(converter('AAA', HTML_CONTEXT_TYPE)).toBe( - '<span ng-non-bindable><span style="color:blue;background-color:yellow">AAA</span></span>' + '<span style="color:blue;background-color:yellow">AAA</span>' ); expect(converter('AB', HTML_CONTEXT_TYPE)).toBe( - '<span ng-non-bindable><span style="color:blue;background-color:yellow">AB</span></span>' + '<span style="color:blue;background-color:yellow">AB</span>' ); expect(converter('AB <', HTML_CONTEXT_TYPE)).toBe( - '<span ng-non-bindable><span style="color:blue;background-color:yellow">AB <</span></span>' + '<span style="color:blue;background-color:yellow">AB <</span>' ); - expect(converter('a', HTML_CONTEXT_TYPE)).toBe('<span ng-non-bindable>a</span>'); + expect(converter('a', HTML_CONTEXT_TYPE)).toBe('a'); }); test('returns original value (escaped) when regex is invalid', () => { @@ -110,7 +110,7 @@ describe('Color Format', () => { ); const converter = colorer.getConverterFor(HTML_CONTEXT_TYPE) as Function; - expect(converter('<', HTML_CONTEXT_TYPE)).toBe('<span ng-non-bindable><</span>'); + expect(converter('<', HTML_CONTEXT_TYPE)).toBe('<'); }); }); }); diff --git a/src/plugins/field_formats/common/converters/source.test.ts b/src/plugins/field_formats/common/converters/source.test.ts index 662c579c59e9c..298c93dac8c4e 100644 --- a/src/plugins/field_formats/common/converters/source.test.ts +++ b/src/plugins/field_formats/common/converters/source.test.ts @@ -28,7 +28,7 @@ describe('Source Format', () => { }; expect(convertHtml(hit)).toBe( - '<span ng-non-bindable>{"foo":"bar","number":42,"hello":"<h1>World</h1>","also":"with \\"quotes\\" or 'single quotes'"}</span>' + '{"foo":"bar","number":42,"hello":"<h1>World</h1>","also":"with \\"quotes\\" or 'single quotes'"}' ); }); @@ -43,7 +43,7 @@ describe('Source Format', () => { expect( convertHtml(hit, { field: 'field', indexPattern: { formatHit: (h: string) => h }, hit }) ).toMatchInlineSnapshot( - `"<span ng-non-bindable><dl class=\\"source truncate-by-height\\"><dt>foo:</dt><dd>bar</dd> <dt>number:</dt><dd>42</dd> <dt>hello:</dt><dd><h1>World</h1></dd> <dt>also:</dt><dd>with \\"quotes\\" or 'single quotes'</dd> </dl></span>"` + `"<dl class=\\"source truncate-by-height\\"><dt>foo:</dt><dd>bar</dd> <dt>number:</dt><dd>42</dd> <dt>hello:</dt><dd><h1>World</h1></dd> <dt>also:</dt><dd>with \\"quotes\\" or 'single quotes'</dd> </dl>"` ); }); }); diff --git a/src/plugins/field_formats/common/converters/string.test.ts b/src/plugins/field_formats/common/converters/string.test.ts index e5e4023621d3d..42e8e70f73bec 100644 --- a/src/plugins/field_formats/common/converters/string.test.ts +++ b/src/plugins/field_formats/common/converters/string.test.ts @@ -13,7 +13,7 @@ import { StringFormat } from './string'; * and we're not caring about in these tests. */ function stripSpan(input: string): string { - return input.replace(/^\<span ng-non-bindable\>(.*)\<\/span\>$/, '$1'); + return input.replace(/^\<span\>(.*)\<\/span\>$/, '$1'); } describe('String Format', () => { diff --git a/src/plugins/field_formats/common/converters/url.test.ts b/src/plugins/field_formats/common/converters/url.test.ts index d4322ef6e731f..6fb3834e143a7 100644 --- a/src/plugins/field_formats/common/converters/url.test.ts +++ b/src/plugins/field_formats/common/converters/url.test.ts @@ -14,7 +14,7 @@ describe('UrlFormat', () => { const url = new UrlFormat({}); expect(url.convert('http://elastic.co', HTML_CONTEXT_TYPE)).toBe( - '<span ng-non-bindable><a href="http://elastic.co" target="_blank" rel="noopener noreferrer">http://elastic.co</a></span>' + '<a href="http://elastic.co" target="_blank" rel="noopener noreferrer">http://elastic.co</a>' ); }); @@ -22,7 +22,7 @@ describe('UrlFormat', () => { const url = new UrlFormat({ type: 'audio' }); expect(url.convert('http://elastic.co', HTML_CONTEXT_TYPE)).toBe( - '<span ng-non-bindable><audio controls preload="none" src="http://elastic.co"></span>' + '<audio controls preload="none" src="http://elastic.co">' ); }); @@ -31,8 +31,8 @@ describe('UrlFormat', () => { const url = new UrlFormat({ type: 'img' }); expect(url.convert('http://elastic.co', HTML_CONTEXT_TYPE)).toBe( - '<span ng-non-bindable><img src="http://elastic.co" alt="A dynamically-specified image located at http://elastic.co" ' + - 'style="width:auto; height:auto; max-width:none; max-height:none;"></span>' + '<img src="http://elastic.co" alt="A dynamically-specified image located at http://elastic.co" ' + + 'style="width:auto; height:auto; max-width:none; max-height:none;">' ); }); @@ -40,8 +40,8 @@ describe('UrlFormat', () => { const url = new UrlFormat({ type: 'img', width: '12', height: '55' }); expect(url.convert('http://elastic.co', HTML_CONTEXT_TYPE)).toBe( - '<span ng-non-bindable><img src="http://elastic.co" alt="A dynamically-specified image located at http://elastic.co" ' + - 'style="width:auto; height:auto; max-width:12px; max-height:55px;"></span>' + '<img src="http://elastic.co" alt="A dynamically-specified image located at http://elastic.co" ' + + 'style="width:auto; height:auto; max-width:12px; max-height:55px;">' ); }); @@ -49,8 +49,8 @@ describe('UrlFormat', () => { const url = new UrlFormat({ type: 'img', height: '55' }); expect(url.convert('http://elastic.co', HTML_CONTEXT_TYPE)).toBe( - '<span ng-non-bindable><img src="http://elastic.co" alt="A dynamically-specified image located at http://elastic.co" ' + - 'style="width:auto; height:auto; max-width:none; max-height:55px;"></span>' + '<img src="http://elastic.co" alt="A dynamically-specified image located at http://elastic.co" ' + + 'style="width:auto; height:auto; max-width:none; max-height:55px;">' ); }); @@ -58,8 +58,8 @@ describe('UrlFormat', () => { const url = new UrlFormat({ type: 'img', width: '22' }); expect(url.convert('http://elastic.co', HTML_CONTEXT_TYPE)).toBe( - '<span ng-non-bindable><img src="http://elastic.co" alt="A dynamically-specified image located at http://elastic.co" ' + - 'style="width:auto; height:auto; max-width:22px; max-height:none;"></span>' + '<img src="http://elastic.co" alt="A dynamically-specified image located at http://elastic.co" ' + + 'style="width:auto; height:auto; max-width:22px; max-height:none;">' ); }); @@ -67,8 +67,8 @@ describe('UrlFormat', () => { const url = new UrlFormat({ type: 'img', width: 'not a number' }); expect(url.convert('http://elastic.co', HTML_CONTEXT_TYPE)).toBe( - '<span ng-non-bindable><img src="http://elastic.co" alt="A dynamically-specified image located at http://elastic.co" ' + - 'style="width:auto; height:auto; max-width:none; max-height:none;"></span>' + '<img src="http://elastic.co" alt="A dynamically-specified image located at http://elastic.co" ' + + 'style="width:auto; height:auto; max-width:none; max-height:none;">' ); }); @@ -76,8 +76,8 @@ describe('UrlFormat', () => { const url = new UrlFormat({ type: 'img', height: 'not a number' }); expect(url.convert('http://elastic.co', HTML_CONTEXT_TYPE)).toBe( - '<span ng-non-bindable><img src="http://elastic.co" alt="A dynamically-specified image located at http://elastic.co" ' + - 'style="width:auto; height:auto; max-width:none; max-height:none;"></span>' + '<img src="http://elastic.co" alt="A dynamically-specified image located at http://elastic.co" ' + + 'style="width:auto; height:auto; max-width:none; max-height:none;">' ); }); }); @@ -87,7 +87,7 @@ describe('UrlFormat', () => { const url = new UrlFormat({ urlTemplate: 'http://{{ value }}' }); expect(url.convert('url', HTML_CONTEXT_TYPE)).toBe( - '<span ng-non-bindable><a href="http://url" target="_blank" rel="noopener noreferrer">http://url</a></span>' + '<a href="http://url" target="_blank" rel="noopener noreferrer">http://url</a>' ); }); @@ -106,7 +106,7 @@ describe('UrlFormat', () => { }); expect(url.convert('php', HTML_CONTEXT_TYPE)).toBe( - '<span ng-non-bindable><a href="http://www.php.com" target="_blank" rel="noopener noreferrer">extension: php</a></span>' + '<a href="http://www.php.com" target="_blank" rel="noopener noreferrer">extension: php</a>' ); }); @@ -166,19 +166,19 @@ describe('UrlFormat', () => { const converter = url.getConverterFor(HTML_CONTEXT_TYPE) as Function; expect(converter('www.elastic.co')).toBe( - '<span ng-non-bindable><a href="http://kibana/app/www.elastic.co" target="_blank" rel="noopener noreferrer">www.elastic.co</a></span>' + '<a href="http://kibana/app/www.elastic.co" target="_blank" rel="noopener noreferrer">www.elastic.co</a>' ); expect(converter('elastic.co')).toBe( - '<span ng-non-bindable><a href="http://kibana/app/elastic.co" target="_blank" rel="noopener noreferrer">elastic.co</a></span>' + '<a href="http://kibana/app/elastic.co" target="_blank" rel="noopener noreferrer">elastic.co</a>' ); expect(converter('elastic')).toBe( - '<span ng-non-bindable><a href="http://kibana/app/elastic" target="_blank" rel="noopener noreferrer">elastic</a></span>' + '<a href="http://kibana/app/elastic" target="_blank" rel="noopener noreferrer">elastic</a>' ); expect(converter('ftp://elastic.co')).toBe( - '<span ng-non-bindable><a href="http://kibana/app/ftp://elastic.co" target="_blank" rel="noopener noreferrer">ftp://elastic.co</a></span>' + '<a href="http://kibana/app/ftp://elastic.co" target="_blank" rel="noopener noreferrer">ftp://elastic.co</a>' ); }); @@ -191,19 +191,19 @@ describe('UrlFormat', () => { const converter = url.getConverterFor(HTML_CONTEXT_TYPE) as Function; expect(converter('www.elastic.co')).toBe( - '<span ng-non-bindable><a href="http://kibana/xyz/app/www.elastic.co" target="_blank" rel="noopener noreferrer">www.elastic.co</a></span>' + '<a href="http://kibana/xyz/app/www.elastic.co" target="_blank" rel="noopener noreferrer">www.elastic.co</a>' ); expect(converter('elastic.co')).toBe( - '<span ng-non-bindable><a href="http://kibana/xyz/app/elastic.co" target="_blank" rel="noopener noreferrer">elastic.co</a></span>' + '<a href="http://kibana/xyz/app/elastic.co" target="_blank" rel="noopener noreferrer">elastic.co</a>' ); expect(converter('elastic')).toBe( - '<span ng-non-bindable><a href="http://kibana/xyz/app/elastic" target="_blank" rel="noopener noreferrer">elastic</a></span>' + '<a href="http://kibana/xyz/app/elastic" target="_blank" rel="noopener noreferrer">elastic</a>' ); expect(converter('ftp://elastic.co')).toBe( - '<span ng-non-bindable><a href="http://kibana/xyz/app/ftp://elastic.co" target="_blank" rel="noopener noreferrer">ftp://elastic.co</a></span>' + '<a href="http://kibana/xyz/app/ftp://elastic.co" target="_blank" rel="noopener noreferrer">ftp://elastic.co</a>' ); }); @@ -216,19 +216,17 @@ describe('UrlFormat', () => { const converter = url.getConverterFor(HTML_CONTEXT_TYPE) as Function; expect(converter('../app/kibana')).toBe( - '<span ng-non-bindable><a href="http://kibana.host.com/abc/app/../app/kibana" target="_blank" rel="noopener noreferrer">../app/kibana</a></span>' + '<a href="http://kibana.host.com/abc/app/../app/kibana" target="_blank" rel="noopener noreferrer">../app/kibana</a>' ); }); test('should fail gracefully if there are no parsedUrl provided', () => { const url = new UrlFormat({}); - expect(url.convert('../app/kibana', HTML_CONTEXT_TYPE)).toBe( - '<span ng-non-bindable>../app/kibana</span>' - ); + expect(url.convert('../app/kibana', HTML_CONTEXT_TYPE)).toBe('../app/kibana'); expect(url.convert('http://www.elastic.co', HTML_CONTEXT_TYPE)).toBe( - '<span ng-non-bindable><a href="http://www.elastic.co" target="_blank" rel="noopener noreferrer">http://www.elastic.co</a></span>' + '<a href="http://www.elastic.co" target="_blank" rel="noopener noreferrer">http://www.elastic.co</a>' ); }); @@ -242,15 +240,15 @@ describe('UrlFormat', () => { const converter = url.getConverterFor(HTML_CONTEXT_TYPE) as Function; expect(converter('#/foo')).toBe( - '<span ng-non-bindable><a href="http://kibana.host.com/nbc/app/discover#/#/foo" target="_blank" rel="noopener noreferrer">#/foo</a></span>' + '<a href="http://kibana.host.com/nbc/app/discover#/#/foo" target="_blank" rel="noopener noreferrer">#/foo</a>' ); expect(converter('/nbc/app/discover#/')).toBe( - '<span ng-non-bindable><a href="http://kibana.host.com/nbc/app/discover#/" target="_blank" rel="noopener noreferrer">/nbc/app/discover#/</a></span>' + '<a href="http://kibana.host.com/nbc/app/discover#/" target="_blank" rel="noopener noreferrer">/nbc/app/discover#/</a>' ); expect(converter('../foo/bar')).toBe( - '<span ng-non-bindable><a href="http://kibana.host.com/nbc/app/../foo/bar" target="_blank" rel="noopener noreferrer">../foo/bar</a></span>' + '<a href="http://kibana.host.com/nbc/app/../foo/bar" target="_blank" rel="noopener noreferrer">../foo/bar</a>' ); }); @@ -263,23 +261,23 @@ describe('UrlFormat', () => { const converter = url.getConverterFor(HTML_CONTEXT_TYPE) as Function; expect(converter('10.22.55.66')).toBe( - '<span ng-non-bindable><a href="http://kibana.host.com/app/10.22.55.66" target="_blank" rel="noopener noreferrer">10.22.55.66</a></span>' + '<a href="http://kibana.host.com/app/10.22.55.66" target="_blank" rel="noopener noreferrer">10.22.55.66</a>' ); expect(converter('http://www.domain.name/app/kibana#/dashboard/')).toBe( - '<span ng-non-bindable><a href="http://www.domain.name/app/kibana#/dashboard/" target="_blank" rel="noopener noreferrer">http://www.domain.name/app/kibana#/dashboard/</a></span>' + '<a href="http://www.domain.name/app/kibana#/dashboard/" target="_blank" rel="noopener noreferrer">http://www.domain.name/app/kibana#/dashboard/</a>' ); expect(converter('/app/kibana')).toBe( - '<span ng-non-bindable><a href="http://kibana.host.com/app/kibana" target="_blank" rel="noopener noreferrer">/app/kibana</a></span>' + '<a href="http://kibana.host.com/app/kibana" target="_blank" rel="noopener noreferrer">/app/kibana</a>' ); expect(converter('kibana#/dashboard/')).toBe( - '<span ng-non-bindable><a href="http://kibana.host.com/app/kibana#/dashboard/" target="_blank" rel="noopener noreferrer">kibana#/dashboard/</a></span>' + '<a href="http://kibana.host.com/app/kibana#/dashboard/" target="_blank" rel="noopener noreferrer">kibana#/dashboard/</a>' ); expect(converter('#/dashboard/')).toBe( - '<span ng-non-bindable><a href="http://kibana.host.com/app/kibana#/dashboard/" target="_blank" rel="noopener noreferrer">#/dashboard/</a></span>' + '<a href="http://kibana.host.com/app/kibana#/dashboard/" target="_blank" rel="noopener noreferrer">#/dashboard/</a>' ); }); }); diff --git a/src/plugins/field_formats/common/field_format.test.ts b/src/plugins/field_formats/common/field_format.test.ts index 4624c5ebe5e55..1068c2455f96e 100644 --- a/src/plugins/field_formats/common/field_format.test.ts +++ b/src/plugins/field_formats/common/field_format.test.ts @@ -88,7 +88,7 @@ describe('FieldFormat class', () => { expect(text).not.toBe(html); expect(text && text('formatted')).toBe('formatted'); - expect(html && html('formatted')).toBe('<span ng-non-bindable>formatted</span>'); + expect(html && html('formatted')).toBe('formatted'); }); test('can be an object, with separate text and html converter', () => { @@ -98,7 +98,7 @@ describe('FieldFormat class', () => { expect(text).not.toBe(html); expect(text && text('formatted text')).toBe('formatted text'); - expect(html && html('formatted html')).toBe('<span ng-non-bindable>formatted html</span>'); + expect(html && html('formatted html')).toBe('formatted html'); }); test('does not escape the output of the text converter', () => { @@ -110,10 +110,7 @@ describe('FieldFormat class', () => { test('does escape the output of the text converter if used in an html context', () => { const f = getTestFormat(undefined, constant('<script>alert("xxs");</script>')); - const expected = trimEnd( - trimStart(f.convert('', 'html'), '<span ng-non-bindable>'), - '</span>' - ); + const expected = trimEnd(trimStart(f.convert('', 'html'), '<span>'), '</span>'); expect(expected).not.toContain('<'); }); @@ -122,7 +119,7 @@ describe('FieldFormat class', () => { const f = getTestFormat(undefined, constant('<img>'), constant('<img>')); expect(f.convert('', 'text')).toBe('<img>'); - expect(f.convert('', 'html')).toBe('<span ng-non-bindable><img></span>'); + expect(f.convert('', 'html')).toBe('<img>'); }); }); @@ -136,7 +133,7 @@ describe('FieldFormat class', () => { test('formats a value as html, when specified via second param', () => { const f = getTestFormat(undefined, constant('text'), constant('html')); - expect(f.convert('val', 'html')).toBe('<span ng-non-bindable>html</span>'); + expect(f.convert('val', 'html')).toBe('html'); }); test('formats a value as " - " when no value is specified', () => { diff --git a/src/plugins/home/server/index.ts b/src/plugins/home/server/index.ts index 9523766596fed..c75ce4e83921c 100644 --- a/src/plugins/home/server/index.ts +++ b/src/plugins/home/server/index.ts @@ -18,9 +18,6 @@ export const config: PluginConfigDescriptor<ConfigSchema> = { disableWelcomeScreen: true, }, schema: configSchema, - deprecations: ({ renameFromRoot }) => [ - renameFromRoot('kibana.disableWelcomeScreen', 'home.disableWelcomeScreen'), - ], }; export const plugin = (initContext: PluginInitializerContext) => new HomeServerPlugin(initContext); diff --git a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx index e3f24f7d0920f..ffd469000940c 100644 --- a/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx +++ b/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx @@ -178,7 +178,7 @@ export class TestScript extends Component<TestScriptProps, TestScriptState> { this.props.indexPattern.fields .getAll() .filter((field) => { - const isMultiField = field.subType && field.subType.multi; + const isMultiField = field.isSubtypeMulti(); return !field.name.startsWith('_') && !isMultiField && !field.scripted; }) .forEach((field) => { diff --git a/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts b/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts index f524ac2a0d7ee..bdcd1a34573d6 100644 --- a/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts +++ b/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts @@ -57,8 +57,8 @@ describe('RangeFilterManager', function () { expect(newFilter.meta.index).to.be(indexPatternId); expect(newFilter.meta.controlledBy).to.be(controlId); expect(newFilter.meta.key).to.be('field1'); - expect(newFilter).to.have.property('range'); - expect(JSON.stringify(newFilter.range, null, '')).to.be('{"field1":{"gte":1,"lte":3}}'); + expect(newFilter.query).to.have.property('range'); + expect(JSON.stringify(newFilter.query.range, null, '')).to.be('{"field1":{"gte":1,"lte":3}}'); }); }); @@ -102,10 +102,12 @@ describe('RangeFilterManager', function () { test('should extract value from range filter', function () { filterManager.setMockFilters([ { - range: { - field1: { - gt: 1, - lt: 3, + query: { + range: { + field1: { + gt: 1, + lt: 3, + }, }, }, meta: {} as RangeFilterMeta, @@ -122,10 +124,12 @@ describe('RangeFilterManager', function () { test('should return undefined when filter value can not be extracted from Kibana filter', function () { filterManager.setMockFilters([ { - range: { - myFieldWhichIsNotField1: { - gte: 1, - lte: 3, + query: { + range: { + myFieldWhichIsNotField1: { + gte: 1, + lte: 3, + }, }, }, meta: {} as RangeFilterMeta, diff --git a/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.ts b/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.ts index 88af467d3fd11..a62709b929b3f 100644 --- a/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.ts +++ b/src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.ts @@ -68,10 +68,10 @@ export class RangeFilterManager extends FilterManager { } let range: RangeFilterParams; - if (_.has(kbnFilters[0], 'script')) { - range = _.get(kbnFilters[0], 'script.script.params'); + if (_.has(kbnFilters[0], 'query.script')) { + range = _.get(kbnFilters[0], 'query.script.script.params'); } else { - range = _.get(kbnFilters[0], ['range', this.fieldName]); + range = _.get(kbnFilters[0], ['query', 'range', this.fieldName]); } if (!range) { diff --git a/src/plugins/interactive_setup/common/constants.ts b/src/plugins/interactive_setup/common/constants.ts index 00a3efc316cd9..91a4da49c0440 100644 --- a/src/plugins/interactive_setup/common/constants.ts +++ b/src/plugins/interactive_setup/common/constants.ts @@ -7,3 +7,11 @@ */ export const VERIFICATION_CODE_LENGTH = 6; + +export const ERROR_OUTSIDE_PREBOOT_STAGE = 'outside_preboot_stage'; +export const ERROR_ELASTICSEARCH_CONNECTION_CONFIGURED = 'elasticsearch_connection_configured'; +export const ERROR_KIBANA_CONFIG_NOT_WRITABLE = 'kibana_config_not_writable'; +export const ERROR_KIBANA_CONFIG_FAILURE = 'kibana_config_failure'; +export const ERROR_ENROLL_FAILURE = 'enroll_failure'; +export const ERROR_CONFIGURE_FAILURE = 'configure_failure'; +export const ERROR_PING_FAILURE = 'ping_failure'; diff --git a/src/plugins/interactive_setup/common/index.ts b/src/plugins/interactive_setup/common/index.ts index 3833873eb2a18..0ba439eeb7616 100644 --- a/src/plugins/interactive_setup/common/index.ts +++ b/src/plugins/interactive_setup/common/index.ts @@ -8,4 +8,13 @@ export type { InteractiveSetupViewState, EnrollmentToken, Certificate, PingResult } from './types'; export { ElasticsearchConnectionStatus } from './elasticsearch_connection_status'; -export { VERIFICATION_CODE_LENGTH } from './constants'; +export { + ERROR_CONFIGURE_FAILURE, + ERROR_ELASTICSEARCH_CONNECTION_CONFIGURED, + ERROR_ENROLL_FAILURE, + ERROR_KIBANA_CONFIG_FAILURE, + ERROR_KIBANA_CONFIG_NOT_WRITABLE, + ERROR_OUTSIDE_PREBOOT_STAGE, + ERROR_PING_FAILURE, + VERIFICATION_CODE_LENGTH, +} from './constants'; diff --git a/src/plugins/interactive_setup/public/cluster_address_form.test.tsx b/src/plugins/interactive_setup/public/cluster_address_form.test.tsx index e063205a90433..5c770fbfbfefe 100644 --- a/src/plugins/interactive_setup/public/cluster_address_form.test.tsx +++ b/src/plugins/interactive_setup/public/cluster_address_form.test.tsx @@ -28,7 +28,7 @@ describe('ClusterAddressForm', () => { const onSuccess = jest.fn(); const { findByRole, findByLabelText } = render( - <Providers http={coreStart.http}> + <Providers services={coreStart}> <ClusterAddressForm onSuccess={onSuccess} /> </Providers> ); @@ -52,7 +52,7 @@ describe('ClusterAddressForm', () => { const onSuccess = jest.fn(); const { findAllByText, findByRole, findByLabelText } = render( - <Providers http={coreStart.http}> + <Providers services={coreStart}> <ClusterAddressForm onSuccess={onSuccess} /> </Providers> ); @@ -63,7 +63,7 @@ describe('ClusterAddressForm', () => { fireEvent.click(await findByRole('button', { name: 'Check address', hidden: true })); - await findAllByText(/Enter a valid address including protocol/i); + await findAllByText(/Enter a valid address/i); expect(coreStart.http.post).not.toHaveBeenCalled(); }); diff --git a/src/plugins/interactive_setup/public/cluster_address_form.tsx b/src/plugins/interactive_setup/public/cluster_address_form.tsx index 6f97680066373..32f13a433a704 100644 --- a/src/plugins/interactive_setup/public/cluster_address_form.tsx +++ b/src/plugins/interactive_setup/public/cluster_address_form.tsx @@ -9,7 +9,6 @@ import { EuiButton, EuiButtonEmpty, - EuiCallOut, EuiFieldText, EuiFlexGroup, EuiFlexItem, @@ -22,12 +21,12 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n/react'; -import type { IHttpFetchError } from 'kibana/public'; import type { PingResult } from '../common'; +import { SubmitErrorCallout } from './submit_error_callout'; import type { ValidationErrors } from './use_form'; import { useForm } from './use_form'; -import { useHttp } from './use_http'; +import { useKibana } from './use_kibana'; export interface ClusterAddressFormValues { host: string; @@ -46,7 +45,7 @@ export const ClusterAddressForm: FunctionComponent<ClusterAddressFormProps> = ({ onCancel, onSuccess, }) => { - const http = useHttp(); + const { http } = useKibana(); const [form, eventHandlers] = useForm({ defaultValues, @@ -65,7 +64,7 @@ export const ClusterAddressForm: FunctionComponent<ClusterAddressFormProps> = ({ } } catch (error) { errors.host = i18n.translate('interactiveSetup.clusterAddressForm.hostInvalidError', { - defaultMessage: 'Enter a valid address including protocol.', + defaultMessage: "Enter a valid address, including 'http' or 'https'.", }); } } @@ -88,14 +87,12 @@ export const ClusterAddressForm: FunctionComponent<ClusterAddressFormProps> = ({ <EuiForm component="form" noValidate {...eventHandlers}> {form.submitError && ( <> - <EuiCallOut - color="danger" - title={i18n.translate('interactiveSetup.clusterAddressForm.submitErrorTitle', { + <SubmitErrorCallout + error={form.submitError} + defaultTitle={i18n.translate('interactiveSetup.clusterAddressForm.submitErrorTitle', { defaultMessage: "Couldn't check address", })} - > - {(form.submitError as IHttpFetchError).body?.message} - </EuiCallOut> + /> <EuiSpacer /> </> )} @@ -112,6 +109,7 @@ export const ClusterAddressForm: FunctionComponent<ClusterAddressFormProps> = ({ name="host" value={form.values.host} isInvalid={form.touched.host && !!form.errors.host} + placeholder="https://localhost:9200" fullWidth /> </EuiFormRow> diff --git a/src/plugins/interactive_setup/public/cluster_configuration_form.test.tsx b/src/plugins/interactive_setup/public/cluster_configuration_form.test.tsx index 93f3fa11a1ce6..7e20deb9251ec 100644 --- a/src/plugins/interactive_setup/public/cluster_configuration_form.test.tsx +++ b/src/plugins/interactive_setup/public/cluster_configuration_form.test.tsx @@ -21,14 +21,14 @@ jest.mock('@elastic/eui/lib/services/accessibility/html_id_generator', () => ({ describe('ClusterConfigurationForm', () => { jest.setTimeout(20_000); - it('calls enrollment API when submitting form', async () => { + it('calls enrollment API for https addresses when submitting form', async () => { const coreStart = coreMock.createStart(); coreStart.http.post.mockResolvedValue({}); const onSuccess = jest.fn(); const { findByRole, findByLabelText } = render( - <Providers http={coreStart.http}> + <Providers services={coreStart}> <ClusterConfigurationForm host="https://localhost:9200" authRequired @@ -53,7 +53,7 @@ describe('ClusterConfigurationForm', () => { target: { value: 'changeme' }, }); fireEvent.click(await findByLabelText('Certificate authority')); - fireEvent.click(await findByRole('button', { name: 'Connect to cluster', hidden: true })); + fireEvent.click(await findByRole('button', { name: 'Configure Elastic', hidden: true })); await waitFor(() => { expect(coreStart.http.post).toHaveBeenLastCalledWith( @@ -71,12 +71,43 @@ describe('ClusterConfigurationForm', () => { }); }); + it('calls enrollment API for http addresses when submitting form', async () => { + const coreStart = coreMock.createStart(); + coreStart.http.post.mockResolvedValue({}); + + const onSuccess = jest.fn(); + + const { findByRole } = render( + <Providers services={coreStart}> + <ClusterConfigurationForm + host="http://localhost:9200" + authRequired={false} + certificateChain={[]} + onSuccess={onSuccess} + /> + </Providers> + ); + fireEvent.click(await findByRole('button', { name: 'Configure Elastic', hidden: true })); + + await waitFor(() => { + expect(coreStart.http.post).toHaveBeenLastCalledWith( + '/internal/interactive_setup/configure', + { + body: JSON.stringify({ + host: 'http://localhost:9200', + }), + } + ); + expect(onSuccess).toHaveBeenCalled(); + }); + }); + it('validates form', async () => { const coreStart = coreMock.createStart(); const onSuccess = jest.fn(); const { findAllByText, findByRole, findByLabelText } = render( - <Providers http={coreStart.http}> + <Providers services={coreStart}> <ClusterConfigurationForm host="https://localhost:9200" authRequired @@ -95,7 +126,7 @@ describe('ClusterConfigurationForm', () => { </Providers> ); - fireEvent.click(await findByRole('button', { name: 'Connect to cluster', hidden: true })); + fireEvent.click(await findByRole('button', { name: 'Configure Elastic', hidden: true })); await findAllByText(/Enter a password/i); await findAllByText(/Confirm that you recognize and trust this certificate/i); @@ -104,7 +135,7 @@ describe('ClusterConfigurationForm', () => { target: { value: 'elastic' }, }); - await findAllByText(/User 'elastic' can't be used as Kibana system user/i); + await findAllByText(/User 'elastic' can't be used as the Kibana system user/i); expect(coreStart.http.post).not.toHaveBeenCalled(); }); diff --git a/src/plugins/interactive_setup/public/cluster_configuration_form.tsx b/src/plugins/interactive_setup/public/cluster_configuration_form.tsx index dfb5148ddb288..967a069df3834 100644 --- a/src/plugins/interactive_setup/public/cluster_configuration_form.tsx +++ b/src/plugins/interactive_setup/public/cluster_configuration_form.tsx @@ -7,6 +7,7 @@ */ import { + EuiBadge, EuiButton, EuiButtonEmpty, EuiCallOut, @@ -19,25 +20,32 @@ import { EuiFormRow, EuiIcon, EuiLink, + EuiModal, + EuiModalBody, + EuiModalFooter, + EuiModalHeader, + EuiModalHeaderTitle, EuiPanel, EuiSpacer, EuiText, EuiTitle, } from '@elastic/eui'; import type { FunctionComponent } from 'react'; -import React from 'react'; +import React, { useState } from 'react'; import useUpdateEffect from 'react-use/lib/useUpdateEffect'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n/react'; -import type { IHttpFetchError } from 'kibana/public'; +import { euiThemeVars } from '@kbn/ui-shared-deps-src/theme'; import type { Certificate } from '../common'; +import { DocLink } from './doc_link'; +import { SubmitErrorCallout } from './submit_error_callout'; import { TextTruncate } from './text_truncate'; import type { ValidationErrors } from './use_form'; import { useForm } from './use_form'; import { useHtmlId } from './use_html_id'; -import { useHttp } from './use_http'; +import { useKibana } from './use_kibana'; import { useVerification } from './use_verification'; import { useVisibility } from './use_visibility'; @@ -68,7 +76,7 @@ export const ClusterConfigurationForm: FunctionComponent<ClusterConfigurationFor onCancel, onSuccess, }) => { - const http = useHttp(); + const { http } = useKibana(); const { status, getCode } = useVerification(); const [form, eventHandlers] = useForm({ defaultValues, @@ -87,7 +95,7 @@ export const ClusterConfigurationForm: FunctionComponent<ClusterConfigurationFor errors.username = i18n.translate( 'interactiveSetup.clusterConfigurationForm.usernameReservedError', { - defaultMessage: "User 'elastic' can't be used as Kibana system user.", + defaultMessage: "User 'elastic' can't be used as the Kibana system user.", } ); } @@ -102,7 +110,7 @@ export const ClusterConfigurationForm: FunctionComponent<ClusterConfigurationFor } } - if (certificateChain && !values.caCert) { + if (certificateChain && certificateChain.length > 0 && !values.caCert) { errors.caCert = i18n.translate( 'interactiveSetup.clusterConfigurationForm.caCertConfirmationRequiredError', { @@ -117,9 +125,9 @@ export const ClusterConfigurationForm: FunctionComponent<ClusterConfigurationFor await http.post('/internal/interactive_setup/configure', { body: JSON.stringify({ host, - username: values.username, - password: values.password, - caCert: values.caCert, + username: authRequired ? values.username : undefined, + password: authRequired ? values.password : undefined, + caCert: certificateChain && certificateChain.length > 0 ? values.caCert : undefined, code: getCode(), }), }); @@ -139,17 +147,19 @@ export const ClusterConfigurationForm: FunctionComponent<ClusterConfigurationFor <EuiForm component="form" noValidate {...eventHandlers}> {status !== 'unverified' && !form.isSubmitting && !form.isValidating && form.submitError && ( <> - <EuiCallOut - color="danger" - title={i18n.translate('interactiveSetup.clusterConfigurationForm.submitErrorTitle', { - defaultMessage: "Couldn't connect to cluster", - })} - > - {(form.submitError as IHttpFetchError).body?.message} - </EuiCallOut> + <SubmitErrorCallout + error={form.submitError} + defaultTitle={i18n.translate( + 'interactiveSetup.clusterConfigurationForm.submitErrorTitle', + { + defaultMessage: "Couldn't configure Elastic", + } + )} + /> <EuiSpacer /> </> )} + <EuiFlexGroup responsive={false} alignItems="center" gutterSize="s"> <EuiFlexItem grow={false} className="eui-textNoWrap"> <FormattedMessage @@ -204,27 +214,27 @@ export const ClusterConfigurationForm: FunctionComponent<ClusterConfigurationFor <> <EuiCallOut color="warning" + iconType="alert" title={i18n.translate( 'interactiveSetup.clusterConfigurationForm.insecureClusterTitle', { - defaultMessage: 'This cluster is not secure.', + defaultMessage: 'This cluster is not secure', } )} + size="s" > - <p> + <FormattedMessage + tagName="div" + id="interactiveSetup.clusterConfigurationForm.insecureClusterDescription" + defaultMessage="Anyone with the address can access your data." + /> + <EuiSpacer size="xs" /> + <DocLink app="elasticsearch" doc="configuring-stack-security.html"> <FormattedMessage - id="interactiveSetup.clusterConfigurationForm.insecureClusterDescription" - defaultMessage="Anyone with the address could access your data." + id="interactiveSetup.clusterConfigurationForm.insecureClusterLink" + defaultMessage="Learn how to enable security features." /> - </p> - <p> - <EuiLink color="warning"> - <FormattedMessage - id="interactiveSetup.clusterConfigurationForm.insecureClusterLink" - defaultMessage="Learn how to enable security features." - /> - </EuiLink> - </p> + </DocLink> </EuiCallOut> <EuiSpacer /> </> @@ -253,7 +263,7 @@ export const ClusterConfigurationForm: FunctionComponent<ClusterConfigurationFor form.setValue('caCert', form.values.caCert ? '' : intermediateCa.raw); }} > - <CertificatePanel certificate={certificateChain[0]} /> + <CertificateChain certificateChain={certificateChain} /> </EuiCheckableCard> </EuiFormRow> <EuiSpacer /> @@ -279,7 +289,7 @@ export const ClusterConfigurationForm: FunctionComponent<ClusterConfigurationFor > <FormattedMessage id="interactiveSetup.clusterConfigurationForm.submitButton" - defaultMessage="{isSubmitting, select, true{Connecting to cluster…} other{Connect to cluster}}" + defaultMessage="{isSubmitting, select, true{Configuring Elastic…} other{Configure Elastic}}" values={{ isSubmitting: form.isSubmitting }} /> </EuiButton> @@ -290,40 +300,169 @@ export const ClusterConfigurationForm: FunctionComponent<ClusterConfigurationFor }; export interface CertificatePanelProps { - certificate: Certificate; + certificate: Omit<Certificate, 'raw'>; + compressed?: boolean; + type?: 'root' | 'intermediate'; + onClick?(): void; } -export const CertificatePanel: FunctionComponent<CertificatePanelProps> = ({ certificate }) => { +export const CertificatePanel: FunctionComponent<CertificatePanelProps> = ({ + certificate, + onClick, + type, + compressed = false, +}) => { return ( - <EuiPanel color="subdued"> + <EuiPanel color={compressed ? 'subdued' : undefined} hasBorder={!compressed}> <EuiFlexGroup responsive={false} alignItems="center" gutterSize="m"> <EuiFlexItem grow={false}> <EuiIcon type="document" size="l" /> </EuiFlexItem> <EuiFlexItem> - <EuiTitle size="xxs"> - <h3>{certificate.subject.O || certificate.subject.CN}</h3> - </EuiTitle> - <EuiText size="xs"> - <FormattedMessage - id="interactiveSetup.certificatePanel.issuer" - defaultMessage="Issued by: {issuer}" - values={{ - issuer: certificate.issuer.O || certificate.issuer.CN, - }} - /> - </EuiText> + <EuiFlexGroup responsive={false} gutterSize="none" justifyContent="spaceBetween"> + <EuiFlexItem> + <EuiTitle size="xxs"> + <h3>{certificate.subject.O || certificate.subject.CN}</h3> + </EuiTitle> + </EuiFlexItem> + {!compressed && ( + <EuiFlexItem grow={false}> + <EuiBadge> + {type === 'root' + ? i18n.translate('interactiveSetup.certificatePanel.rootCertificateAuthority', { + defaultMessage: 'Root CA', + }) + : type === 'intermediate' + ? i18n.translate( + 'interactiveSetup.certificatePanel.intermediateCertificateAuthority', + { + defaultMessage: 'Intermediate CA', + } + ) + : i18n.translate('interactiveSetup.certificatePanel.serverCertificate', { + defaultMessage: 'Server certificate', + })} + </EuiBadge> + </EuiFlexItem> + )} + </EuiFlexGroup> + {compressed && ( + <EuiText size="xs"> + <FormattedMessage + id="interactiveSetup.certificatePanel.issuer" + defaultMessage="Issued by: {issuer}" + values={{ + issuer: onClick ? ( + <EuiLink onClick={onClick}> + {certificate.issuer.O || certificate.issuer.CN} + </EuiLink> + ) : ( + certificate.issuer.O || certificate.issuer.CN + ), + }} + /> + </EuiText> + )} + {!compressed && ( + <EuiText size="xs"> + <FormattedMessage + id="interactiveSetup.certificatePanel.validFrom" + defaultMessage="Issued on: {validFrom}" + values={{ + validFrom: certificate.valid_from, + }} + /> + </EuiText> + )} <EuiText size="xs"> <FormattedMessage id="interactiveSetup.certificatePanel.validTo" - defaultMessage="Expires: {validTo}" + defaultMessage="Expires on: {validTo}" values={{ validTo: certificate.valid_to, }} /> </EuiText> + {!compressed && ( + <EuiText size="xs"> + <FormattedMessage + id="interactiveSetup.certificatePanel.fingerprint" + defaultMessage="Fingerprint (SHA-256): {fingerprint}" + values={{ + fingerprint: certificate.fingerprint256.replace(/\:/g, ' '), + }} + /> + </EuiText> + )} </EuiFlexItem> </EuiFlexGroup> </EuiPanel> ); }; + +export interface CertificateChainProps { + certificateChain: Certificate[]; +} +const CertificateChain: FunctionComponent<CertificateChainProps> = ({ certificateChain }) => { + const [showModal, setShowModal] = useState(false); + + return ( + <> + <CertificatePanel + certificate={certificateChain[0]} + onClick={() => setShowModal(true)} + compressed + /> + {showModal && ( + <EuiModal onClose={() => setShowModal(false)} maxWidth={euiThemeVars.euiBreakpoints.s}> + <EuiModalHeader> + <EuiModalHeaderTitle> + <FormattedMessage + id="interactiveSetup.certificateChain.title" + defaultMessage="Certificate chain" + /> + </EuiModalHeaderTitle> + </EuiModalHeader> + <EuiModalBody> + {certificateChain + .slice() + .reverse() + .map(({ raw, ...certificate }, i) => ( + <> + {i > 0 && ( + <> + <EuiSpacer size="s" /> + <EuiFlexGroup responsive={false} justifyContent="center"> + <EuiFlexItem grow={false}> + <EuiIcon type="sortDown" color="subdued" /> + </EuiFlexItem> + </EuiFlexGroup> + <EuiSpacer size="s" /> + </> + )} + <CertificatePanel + certificate={certificate} + type={ + i === 0 + ? 'root' + : i < certificateChain.length - 1 + ? 'intermediate' + : undefined + } + /> + </> + ))} + </EuiModalBody> + <EuiModalFooter> + <EuiButton fill onClick={() => setShowModal(false)}> + <FormattedMessage + id="interactiveSetup.certificateChain.cancelButton" + defaultMessage="Close" + /> + </EuiButton> + </EuiModalFooter> + </EuiModal> + )} + </> + ); +}; diff --git a/src/plugins/interactive_setup/public/doc_link.tsx b/src/plugins/interactive_setup/public/doc_link.tsx new file mode 100644 index 0000000000000..883adde702b04 --- /dev/null +++ b/src/plugins/interactive_setup/public/doc_link.tsx @@ -0,0 +1,62 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import type { EuiLinkAnchorProps } from '@elastic/eui'; +import { EuiLink } from '@elastic/eui'; +import type { FunctionComponent } from 'react'; +import React, { useCallback } from 'react'; + +import type { CoreStart } from 'src/core/public'; + +import { useKibana } from './use_kibana'; + +export type DocLinks = CoreStart['docLinks']['links']; +export type GetDocLinkFunction = (app: string, doc: string) => string; + +/** + * Creates links to the documentation. + * + * @see {@link DocLink} for a component that creates a link to the docs. + * + * @example + * ```typescript + * <DocLink app="elasticsearch" doc="built-in-roles.html"> + * Learn what privileges individual roles grant. + * </DocLink> + * ``` + * + * @example + * ```typescript + * const [docs] = useDocLinks(); + * + * <EuiLink href={docs.dashboard.guide} target="_blank" external> + * Learn how to get started with dashboards. + * </EuiLink> + * ``` + */ +export function useDocLinks(): [DocLinks, GetDocLinkFunction] { + const { docLinks } = useKibana(); + const { links, ELASTIC_WEBSITE_URL, DOC_LINK_VERSION } = docLinks; + const getDocLink = useCallback<GetDocLinkFunction>( + (app, doc) => { + return `${ELASTIC_WEBSITE_URL}guide/en/${app}/reference/${DOC_LINK_VERSION}/${doc}`; + }, + [ELASTIC_WEBSITE_URL, DOC_LINK_VERSION] + ); + return [links, getDocLink]; +} + +export interface DocLinkProps extends Omit<EuiLinkAnchorProps, 'href'> { + app: string; + doc: string; +} + +export const DocLink: FunctionComponent<DocLinkProps> = ({ app, doc, ...props }) => { + const [, getDocLink] = useDocLinks(); + return <EuiLink href={getDocLink(app, doc)} target="_blank" external {...props} />; +}; diff --git a/src/plugins/interactive_setup/public/enrollment_token_form.test.tsx b/src/plugins/interactive_setup/public/enrollment_token_form.test.tsx index 0f64c47b7355e..a6a18984ddd94 100644 --- a/src/plugins/interactive_setup/public/enrollment_token_form.test.tsx +++ b/src/plugins/interactive_setup/public/enrollment_token_form.test.tsx @@ -36,14 +36,14 @@ describe('EnrollmentTokenForm', () => { const onSuccess = jest.fn(); const { findByRole, findByLabelText } = render( - <Providers http={coreStart.http}> + <Providers services={coreStart}> <EnrollmentTokenForm onSuccess={onSuccess} /> </Providers> ); fireEvent.change(await findByLabelText('Enrollment token'), { target: { value: btoa(JSON.stringify(token)) }, }); - fireEvent.click(await findByRole('button', { name: 'Connect to cluster', hidden: true })); + fireEvent.click(await findByRole('button', { name: 'Configure Elastic', hidden: true })); await waitFor(() => { expect(coreStart.http.post).toHaveBeenLastCalledWith('/internal/interactive_setup/enroll', { @@ -62,12 +62,12 @@ describe('EnrollmentTokenForm', () => { const onSuccess = jest.fn(); const { findAllByText, findByRole, findByLabelText } = render( - <Providers http={coreStart.http}> + <Providers services={coreStart}> <EnrollmentTokenForm onSuccess={onSuccess} /> </Providers> ); - fireEvent.click(await findByRole('button', { name: 'Connect to cluster', hidden: true })); + fireEvent.click(await findByRole('button', { name: 'Configure Elastic', hidden: true })); await findAllByText(/Enter an enrollment token/i); diff --git a/src/plugins/interactive_setup/public/enrollment_token_form.tsx b/src/plugins/interactive_setup/public/enrollment_token_form.tsx index 9e6774cb2a6fe..5a844489433d6 100644 --- a/src/plugins/interactive_setup/public/enrollment_token_form.tsx +++ b/src/plugins/interactive_setup/public/enrollment_token_form.tsx @@ -9,7 +9,6 @@ import { EuiButton, EuiButtonEmpty, - EuiCallOut, EuiFlexGroup, EuiFlexItem, EuiForm, @@ -24,13 +23,14 @@ import useUpdateEffect from 'react-use/lib/useUpdateEffect'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n/react'; -import type { IHttpFetchError } from 'kibana/public'; import type { EnrollmentToken } from '../common'; +import { DocLink } from './doc_link'; +import { SubmitErrorCallout } from './submit_error_callout'; import { TextTruncate } from './text_truncate'; import type { ValidationErrors } from './use_form'; import { useForm } from './use_form'; -import { useHttp } from './use_http'; +import { useKibana } from './use_kibana'; import { useVerification } from './use_verification'; import { useVisibility } from './use_visibility'; @@ -51,7 +51,7 @@ export const EnrollmentTokenForm: FunctionComponent<EnrollmentTokenFormProps> = onCancel, onSuccess, }) => { - const http = useHttp(); + const { http } = useKibana(); const { status, getCode } = useVerification(); const [form, eventHandlers] = useForm({ defaultValues, @@ -100,14 +100,12 @@ export const EnrollmentTokenForm: FunctionComponent<EnrollmentTokenFormProps> = <EuiForm component="form" noValidate {...eventHandlers}> {status !== 'unverified' && !form.isSubmitting && !form.isValidating && form.submitError && ( <> - <EuiCallOut - color="danger" - title={i18n.translate('interactiveSetup.enrollmentTokenForm.submitErrorTitle', { - defaultMessage: "Couldn't connect to cluster", + <SubmitErrorCallout + error={form.submitError} + defaultTitle={i18n.translate('interactiveSetup.enrollmentTokenForm.submitErrorTitle', { + defaultMessage: "Couldn't configure Elastic", })} - > - {(form.submitError as IHttpFetchError).body?.message} - </EuiCallOut> + /> <EuiSpacer /> </> )} @@ -118,7 +116,18 @@ export const EnrollmentTokenForm: FunctionComponent<EnrollmentTokenFormProps> = })} error={form.errors.token} isInvalid={form.touched.token && !!form.errors.token} - helpText={enrollmentToken && <EnrollmentTokenDetails token={enrollmentToken} />} + helpText={ + enrollmentToken ? ( + <EnrollmentTokenDetails token={enrollmentToken} /> + ) : ( + <DocLink app="elasticsearch" doc="configuring-stack-security.html"> + <FormattedMessage + id="interactiveSetup.enrollmentTokenForm.tokenHelpText" + defaultMessage="Where do I find this?" + /> + </DocLink> + ) + } fullWidth > <EuiTextArea @@ -126,7 +135,7 @@ export const EnrollmentTokenForm: FunctionComponent<EnrollmentTokenFormProps> = value={form.values.token} isInvalid={form.touched.token && !!form.errors.token} placeholder={i18n.translate('interactiveSetup.enrollmentTokenForm.tokenPlaceholder', { - defaultMessage: 'Paste enrollment token from terminal', + defaultMessage: 'Paste enrollment token from terminal.', })} fullWidth /> @@ -152,7 +161,7 @@ export const EnrollmentTokenForm: FunctionComponent<EnrollmentTokenFormProps> = > <FormattedMessage id="interactiveSetup.enrollmentTokenForm.submitButton" - defaultMessage="{isSubmitting, select, true{Connecting to cluster…} other{Connect to cluster}}" + defaultMessage="{isSubmitting, select, true{Configuring Elastic…} other{Configure Elastic}}" values={{ isSubmitting: form.isSubmitting }} /> </EuiButton> diff --git a/src/plugins/interactive_setup/public/plugin.tsx b/src/plugins/interactive_setup/public/plugin.tsx index 9d58479081234..dd2f4c14a5f77 100644 --- a/src/plugins/interactive_setup/public/plugin.tsx +++ b/src/plugins/interactive_setup/public/plugin.tsx @@ -11,10 +11,10 @@ import React from 'react'; import ReactDOM from 'react-dom'; import { I18nProvider } from '@kbn/i18n/react'; -import type { CoreSetup, CoreStart, HttpSetup, Plugin } from 'src/core/public'; +import type { CoreSetup, CoreStart, Plugin } from 'src/core/public'; import { App } from './app'; -import { HttpProvider } from './use_http'; +import { KibanaProvider } from './use_kibana'; import { VerificationProvider } from './use_verification'; export class InteractiveSetupPlugin implements Plugin<void, void, {}, {}> { @@ -24,16 +24,17 @@ export class InteractiveSetupPlugin implements Plugin<void, void, {}, {}> { title: 'Configure Elastic to get started', appRoute: '/', chromeless: true, - mount: (params) => { + mount: async (params) => { const url = new URL(window.location.href); const defaultCode = url.searchParams.get('code') || undefined; const onSuccess = () => { url.searchParams.delete('code'); window.location.replace(url.href); }; + const [services] = await core.getStartServices(); ReactDOM.render( - <Providers defaultCode={defaultCode} http={core.http}> + <Providers defaultCode={defaultCode} services={services}> <App onSuccess={onSuccess} /> </Providers>, params.element @@ -47,14 +48,18 @@ export class InteractiveSetupPlugin implements Plugin<void, void, {}, {}> { } export interface ProvidersProps { - http: HttpSetup; + services: CoreStart; defaultCode?: string; } -export const Providers: FunctionComponent<ProvidersProps> = ({ defaultCode, http, children }) => ( +export const Providers: FunctionComponent<ProvidersProps> = ({ + defaultCode, + services, + children, +}) => ( <I18nProvider> - <HttpProvider http={http}> + <KibanaProvider services={services}> <VerificationProvider defaultCode={defaultCode}>{children}</VerificationProvider> - </HttpProvider> + </KibanaProvider> </I18nProvider> ); diff --git a/src/plugins/interactive_setup/public/progress_indicator.tsx b/src/plugins/interactive_setup/public/progress_indicator.tsx index a6d499f6a5712..44362554609c3 100644 --- a/src/plugins/interactive_setup/public/progress_indicator.tsx +++ b/src/plugins/interactive_setup/public/progress_indicator.tsx @@ -9,20 +9,21 @@ import type { EuiStepProps } from '@elastic/eui'; import { EuiPanel, EuiSteps } from '@elastic/eui'; import type { FunctionComponent } from 'react'; -import React, { useEffect } from 'react'; +import React, { useEffect, useState } from 'react'; import useAsyncFn from 'react-use/lib/useAsyncFn'; import useTimeoutFn from 'react-use/lib/useTimeoutFn'; import { i18n } from '@kbn/i18n'; +import type { IHttpFetchError } from 'kibana/public'; -import { useHttp } from './use_http'; +import { useKibana } from './use_kibana'; export interface ProgressIndicatorProps { onSuccess?(): void; } export const ProgressIndicator: FunctionComponent<ProgressIndicatorProps> = ({ onSuccess }) => { - const http = useHttp(); + const { http } = useKibana(); const [status, checkStatus] = useAsyncFn(async () => { let isAvailable: boolean | undefined = false; let isPastPreboot: boolean | undefined = false; @@ -30,7 +31,8 @@ export const ProgressIndicator: FunctionComponent<ProgressIndicatorProps> = ({ o const { response } = await http.get('/api/status', { asResponse: true }); isAvailable = response ? response.status < 500 : undefined; isPastPreboot = response?.headers.get('content-type')?.includes('application/json'); - } catch ({ response }) { + } catch (error) { + const { response } = error as IHttpFetchError; isAvailable = response ? response.status < 500 : undefined; isPastPreboot = response?.headers.get('content-type')?.includes('application/json'); } @@ -91,16 +93,20 @@ export interface LoadingStepsProps { } export const LoadingSteps: FunctionComponent<LoadingStepsProps> = ({ currentStepId, steps }) => { + const [stepIndex, setStepIndex] = useState(0); const currentStepIndex = steps.findIndex((step) => step.id === currentStepId); + + // Ensure that loading progress doesn't move backwards + useEffect(() => { + if (currentStepIndex > stepIndex) { + setStepIndex(currentStepIndex); + } + }, [currentStepIndex, stepIndex]); + return ( <EuiSteps steps={steps.map((step, i) => ({ - status: - i <= currentStepIndex - ? 'complete' - : steps[i - 1]?.id === currentStepId - ? 'loading' - : 'incomplete', + status: i <= stepIndex ? 'complete' : i - 1 === stepIndex ? 'loading' : 'incomplete', children: null, ...step, }))} diff --git a/src/plugins/interactive_setup/public/submit_error_callout.test.tsx b/src/plugins/interactive_setup/public/submit_error_callout.test.tsx new file mode 100644 index 0000000000000..693aad37fdab9 --- /dev/null +++ b/src/plugins/interactive_setup/public/submit_error_callout.test.tsx @@ -0,0 +1,389 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { errors } from '@elastic/elasticsearch'; +import { shallow } from 'enzyme'; +import React from 'react'; + +import { + ERROR_CONFIGURE_FAILURE, + ERROR_ELASTICSEARCH_CONNECTION_CONFIGURED, + ERROR_ENROLL_FAILURE, + ERROR_KIBANA_CONFIG_FAILURE, + ERROR_KIBANA_CONFIG_NOT_WRITABLE, + ERROR_OUTSIDE_PREBOOT_STAGE, + ERROR_PING_FAILURE, +} from '../common'; +import { interactiveSetupMock } from '../server/mocks'; // eslint-disable-line @kbn/eslint/no-restricted-paths +import { SubmitErrorCallout } from './submit_error_callout'; + +describe('SubmitErrorCallout', () => { + it('renders unknown errors correctly', async () => { + const wrapper = shallow( + <SubmitErrorCallout error={new Error('Unknown error')} defaultTitle="Something went wrong" /> + ); + + expect(wrapper).toMatchInlineSnapshot(` + <EuiCallOut + color="danger" + title="Something went wrong" + > + Unknown error + </EuiCallOut> + `); + }); + + it('renders 403 errors correctly', async () => { + const wrapper = shallow( + <SubmitErrorCallout + error={ + new errors.ResponseError( + interactiveSetupMock.createApiResponse({ + body: { + statusCode: 403, + }, + }) + ) + } + defaultTitle="Something went wrong" + /> + ); + + expect(wrapper).toMatchInlineSnapshot(` + <EuiCallOut + color="danger" + title={ + <FormattedMessage + defaultMessage="Verification required" + id="interactiveSetup.submitErrorCallout.forbiddenErrorTitle" + values={Object {}} + /> + } + > + <FormattedMessage + defaultMessage="Retry to configure Elastic." + id="interactiveSetup.submitErrorCallout.forbiddenErrorDescription" + values={Object {}} + /> + </EuiCallOut> + `); + }); + + it('renders 404 errors correctly', async () => { + const wrapper = shallow( + <SubmitErrorCallout + error={ + new errors.ResponseError( + interactiveSetupMock.createApiResponse({ + body: { + statusCode: 404, + }, + }) + ) + } + defaultTitle="Something went wrong" + /> + ); + + expect(wrapper).toMatchInlineSnapshot(` + <EuiCallOut + color="primary" + title={ + <FormattedMessage + defaultMessage="Elastic is already configured" + id="interactiveSetup.submitErrorCallout.elasticsearchConnectionConfiguredErrorTitle" + values={Object {}} + /> + } + > + <EuiButton + onClick={[Function]} + > + <FormattedMessage + defaultMessage="Continue to Kibana" + id="interactiveSetup.submitErrorCallout.elasticsearchConnectionConfiguredSubmitButton" + values={Object {}} + /> + </EuiButton> + </EuiCallOut> + `); + }); + + it('renders ERROR_CONFIGURE_FAILURE errors correctly', async () => { + const wrapper = shallow( + <SubmitErrorCallout + error={ + new errors.ResponseError( + interactiveSetupMock.createApiResponse({ + body: { + statusCode: 500, + attributes: { type: ERROR_CONFIGURE_FAILURE }, + }, + }) + ) + } + defaultTitle="Something went wrong" + /> + ); + + expect(wrapper).toMatchInlineSnapshot(` + <EuiCallOut + color="danger" + title="Something went wrong" + > + <FormattedMessage + defaultMessage="Retry or update the {config} file manually." + id="interactiveSetup.submitErrorCallout.kibanaConfigFailureErrorDescription" + values={ + Object { + "config": <strong> + kibana.yml + </strong>, + } + } + /> + </EuiCallOut> + `); + }); + + it('renders ERROR_ELASTICSEARCH_CONNECTION_CONFIGURED errors correctly', async () => { + const wrapper = shallow( + <SubmitErrorCallout + error={ + new errors.ResponseError( + interactiveSetupMock.createApiResponse({ + body: { + statusCode: 500, + attributes: { type: ERROR_ELASTICSEARCH_CONNECTION_CONFIGURED }, + }, + }) + ) + } + defaultTitle="Something went wrong" + /> + ); + + expect(wrapper).toMatchInlineSnapshot(` + <EuiCallOut + color="primary" + title={ + <FormattedMessage + defaultMessage="Elastic is already configured" + id="interactiveSetup.submitErrorCallout.elasticsearchConnectionConfiguredErrorTitle" + values={Object {}} + /> + } + > + <EuiButton + onClick={[Function]} + > + <FormattedMessage + defaultMessage="Continue to Kibana" + id="interactiveSetup.submitErrorCallout.elasticsearchConnectionConfiguredSubmitButton" + values={Object {}} + /> + </EuiButton> + </EuiCallOut> + `); + }); + + it('renders ERROR_ENROLL_FAILURE errors correctly', async () => { + const wrapper = shallow( + <SubmitErrorCallout + error={ + new errors.ResponseError( + interactiveSetupMock.createApiResponse({ + body: { + statusCode: 500, + attributes: { type: ERROR_ENROLL_FAILURE }, + }, + }) + ) + } + defaultTitle="Something went wrong" + /> + ); + + expect(wrapper).toMatchInlineSnapshot(` + <EuiCallOut + color="danger" + title="Something went wrong" + > + <FormattedMessage + defaultMessage="Generate a new enrollment token or configure manually." + id="interactiveSetup.submitErrorCallout.EnrollFailureErrorDescription" + values={Object {}} + /> + </EuiCallOut> + `); + }); + + it('renders ERROR_KIBANA_CONFIG_FAILURE errors correctly', async () => { + const wrapper = shallow( + <SubmitErrorCallout + error={ + new errors.ResponseError( + interactiveSetupMock.createApiResponse({ + body: { + statusCode: 500, + attributes: { type: ERROR_KIBANA_CONFIG_FAILURE }, + }, + }) + ) + } + defaultTitle="Something went wrong" + /> + ); + + expect(wrapper).toMatchInlineSnapshot(` + <EuiCallOut + color="danger" + title={ + <FormattedMessage + defaultMessage="Couldn't write to config file" + id="interactiveSetup.submitErrorCallout.kibanaConfigNotWritableErrorTitle" + values={Object {}} + /> + } + > + <FormattedMessage + defaultMessage="Retry or update the {config} file manually." + id="interactiveSetup.submitErrorCallout.kibanaConfigFailureErrorDescription" + values={ + Object { + "config": <strong> + kibana.yml + </strong>, + } + } + /> + </EuiCallOut> + `); + }); + + it('renders ERROR_KIBANA_CONFIG_NOT_WRITABLE errors correctly', async () => { + const wrapper = shallow( + <SubmitErrorCallout + error={ + new errors.ResponseError( + interactiveSetupMock.createApiResponse({ + body: { + statusCode: 500, + attributes: { type: ERROR_KIBANA_CONFIG_NOT_WRITABLE }, + }, + }) + ) + } + defaultTitle="Something went wrong" + /> + ); + + expect(wrapper).toMatchInlineSnapshot(` + <EuiCallOut + color="danger" + title={ + <FormattedMessage + defaultMessage="Couldn't write to config file" + id="interactiveSetup.submitErrorCallout.kibanaConfigNotWritableErrorTitle" + values={Object {}} + /> + } + > + <FormattedMessage + defaultMessage="Check the file permissions and ensure {config} is writable by the Kibana process." + id="interactiveSetup.submitErrorCallout.kibanaConfigNotWritableErrorDescription" + values={ + Object { + "config": <strong> + kibana.yml + </strong>, + } + } + /> + </EuiCallOut> + `); + }); + + it('renders ERROR_OUTSIDE_PREBOOT_STAGE errors correctly', async () => { + const wrapper = shallow( + <SubmitErrorCallout + error={ + new errors.ResponseError( + interactiveSetupMock.createApiResponse({ + body: { + statusCode: 500, + attributes: { type: ERROR_OUTSIDE_PREBOOT_STAGE }, + }, + }) + ) + } + defaultTitle="Something went wrong" + /> + ); + + expect(wrapper).toMatchInlineSnapshot(` + <EuiCallOut + color="primary" + title={ + <FormattedMessage + defaultMessage="Elastic is already configured" + id="interactiveSetup.submitErrorCallout.elasticsearchConnectionConfiguredErrorTitle" + values={Object {}} + /> + } + > + <EuiButton + onClick={[Function]} + > + <FormattedMessage + defaultMessage="Continue to Kibana" + id="interactiveSetup.submitErrorCallout.elasticsearchConnectionConfiguredSubmitButton" + values={Object {}} + /> + </EuiButton> + </EuiCallOut> + `); + }); + + it('renders ERROR_PING_FAILURE errors correctly', async () => { + const wrapper = shallow( + <SubmitErrorCallout + error={ + new errors.ResponseError( + interactiveSetupMock.createApiResponse({ + body: { + statusCode: 500, + attributes: { type: ERROR_PING_FAILURE }, + }, + }) + ) + } + defaultTitle="Something went wrong" + /> + ); + + expect(wrapper).toMatchInlineSnapshot(` + <EuiCallOut + color="danger" + title={ + <FormattedMessage + defaultMessage="Couldn't connect to cluster" + id="interactiveSetup.submitErrorCallout.pingFailureErrorTitle" + values={Object {}} + /> + } + > + <FormattedMessage + defaultMessage="Check the address and retry." + id="interactiveSetup.submitErrorCallout.pingFailureErrorDescription" + values={Object {}} + /> + </EuiCallOut> + `); + }); +}); diff --git a/src/plugins/interactive_setup/public/submit_error_callout.tsx b/src/plugins/interactive_setup/public/submit_error_callout.tsx new file mode 100644 index 0000000000000..728bbeff559de --- /dev/null +++ b/src/plugins/interactive_setup/public/submit_error_callout.tsx @@ -0,0 +1,127 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { EuiButton, EuiCallOut } from '@elastic/eui'; +import type { FunctionComponent } from 'react'; +import React from 'react'; + +import { FormattedMessage } from '@kbn/i18n/react'; +import type { IHttpFetchError } from 'kibana/public'; + +import { + ERROR_CONFIGURE_FAILURE, + ERROR_ELASTICSEARCH_CONNECTION_CONFIGURED, + ERROR_ENROLL_FAILURE, + ERROR_KIBANA_CONFIG_FAILURE, + ERROR_KIBANA_CONFIG_NOT_WRITABLE, + ERROR_OUTSIDE_PREBOOT_STAGE, + ERROR_PING_FAILURE, +} from '../common'; + +export interface SubmitErrorCalloutProps { + error: Error; + defaultTitle: React.ReactNode; +} + +export const SubmitErrorCallout: FunctionComponent<SubmitErrorCalloutProps> = (props) => { + const error = props.error as IHttpFetchError; + + if ( + error.body?.statusCode === 404 || + error.body?.attributes?.type === ERROR_OUTSIDE_PREBOOT_STAGE || + error.body?.attributes?.type === ERROR_ELASTICSEARCH_CONNECTION_CONFIGURED + ) { + return ( + <EuiCallOut + color="primary" + title={ + <FormattedMessage + id="interactiveSetup.submitErrorCallout.elasticsearchConnectionConfiguredErrorTitle" + defaultMessage="Elastic is already configured" + /> + } + > + <EuiButton + onClick={() => { + const url = new URL(window.location.href); + url.searchParams.delete('code'); + window.location.replace(url.href); + }} + > + <FormattedMessage + id="interactiveSetup.submitErrorCallout.elasticsearchConnectionConfiguredSubmitButton" + defaultMessage="Continue to Kibana" + /> + </EuiButton> + </EuiCallOut> + ); + } + + return ( + <EuiCallOut + color="danger" + title={ + error.body?.statusCode === 403 ? ( + <FormattedMessage + id="interactiveSetup.submitErrorCallout.forbiddenErrorTitle" + defaultMessage="Verification required" + /> + ) : error.body?.attributes?.type === ERROR_KIBANA_CONFIG_NOT_WRITABLE || + error.body?.attributes?.type === ERROR_KIBANA_CONFIG_FAILURE ? ( + <FormattedMessage + id="interactiveSetup.submitErrorCallout.kibanaConfigNotWritableErrorTitle" + defaultMessage="Couldn't write to config file" + /> + ) : error.body?.attributes?.type === ERROR_PING_FAILURE ? ( + <FormattedMessage + id="interactiveSetup.submitErrorCallout.pingFailureErrorTitle" + defaultMessage="Couldn't connect to cluster" + /> + ) : ( + props.defaultTitle + ) + } + > + {error.body?.statusCode === 403 ? ( + <FormattedMessage + id="interactiveSetup.submitErrorCallout.forbiddenErrorDescription" + defaultMessage="Retry to configure Elastic." + /> + ) : error.body?.attributes?.type === ERROR_KIBANA_CONFIG_NOT_WRITABLE ? ( + <FormattedMessage + id="interactiveSetup.submitErrorCallout.kibanaConfigNotWritableErrorDescription" + defaultMessage="Check the file permissions and ensure {config} is writable by the Kibana process." + values={{ + config: <strong>kibana.yml</strong>, + }} + /> + ) : error.body?.attributes?.type === ERROR_KIBANA_CONFIG_FAILURE || + error.body?.attributes?.type === ERROR_CONFIGURE_FAILURE ? ( + <FormattedMessage + id="interactiveSetup.submitErrorCallout.kibanaConfigFailureErrorDescription" + defaultMessage="Retry or update the {config} file manually." + values={{ + config: <strong>kibana.yml</strong>, + }} + /> + ) : error.body?.attributes?.type === ERROR_ENROLL_FAILURE ? ( + <FormattedMessage + id="interactiveSetup.submitErrorCallout.EnrollFailureErrorDescription" + defaultMessage="Generate a new enrollment token or configure manually." + /> + ) : error.body?.attributes?.type === ERROR_PING_FAILURE ? ( + <FormattedMessage + id="interactiveSetup.submitErrorCallout.pingFailureErrorDescription" + defaultMessage="Check the address and retry." + /> + ) : ( + error.body?.message || error.message + )} + </EuiCallOut> + ); +}; diff --git a/src/plugins/interactive_setup/public/use_http.ts b/src/plugins/interactive_setup/public/use_kibana.ts similarity index 70% rename from src/plugins/interactive_setup/public/use_http.ts rename to src/plugins/interactive_setup/public/use_kibana.ts index 6d2a9f03d4c73..12b01e2eae70c 100644 --- a/src/plugins/interactive_setup/public/use_http.ts +++ b/src/plugins/interactive_setup/public/use_kibana.ts @@ -8,8 +8,8 @@ import constate from 'constate'; -import type { HttpSetup } from 'src/core/public'; +import type { CoreStart } from 'src/core/public'; -export const [HttpProvider, useHttp] = constate(({ http }: { http: HttpSetup }) => { - return http; +export const [KibanaProvider, useKibana] = constate(({ services }: { services: CoreStart }) => { + return services; }); diff --git a/src/plugins/interactive_setup/public/use_verification.tsx b/src/plugins/interactive_setup/public/use_verification.tsx index 62483ba9cb62e..fed055a415ebb 100644 --- a/src/plugins/interactive_setup/public/use_verification.tsx +++ b/src/plugins/interactive_setup/public/use_verification.tsx @@ -11,7 +11,9 @@ import constate from 'constate'; import type { FunctionComponent } from 'react'; import React, { useEffect, useRef, useState } from 'react'; -import { useHttp } from './use_http'; +import { euiThemeVars } from '@kbn/ui-shared-deps-src/theme'; + +import { useKibana } from './use_kibana'; import { VerificationCodeForm } from './verification_code_form'; export interface VerificationProps { @@ -37,7 +39,7 @@ const [OuterVerificationProvider, useVerification] = constate( ); const InnerVerificationProvider: FunctionComponent = ({ children }) => { - const http = useHttp(); + const { http } = useKibana(); const { status, setStatus, setCode } = useVerification(); useEffect(() => { @@ -54,7 +56,7 @@ const InnerVerificationProvider: FunctionComponent = ({ children }) => { return ( <> {status === 'unverified' && ( - <EuiModal onClose={() => setStatus('unknown')}> + <EuiModal onClose={() => setStatus('unknown')} maxWidth={euiThemeVars.euiBreakpoints.s}> <EuiModalHeader> <VerificationCodeForm onSuccess={(values) => { diff --git a/src/plugins/interactive_setup/public/verification_code_form.test.tsx b/src/plugins/interactive_setup/public/verification_code_form.test.tsx index 2b7f1a86fcfad..9deb39e8e91a5 100644 --- a/src/plugins/interactive_setup/public/verification_code_form.test.tsx +++ b/src/plugins/interactive_setup/public/verification_code_form.test.tsx @@ -28,7 +28,7 @@ describe('VerificationCodeForm', () => { const onSuccess = jest.fn(); const { findByRole, findByLabelText } = render( - <Providers http={coreStart.http}> + <Providers services={coreStart}> <VerificationCodeForm onSuccess={onSuccess} /> </Providers> ); @@ -65,14 +65,14 @@ describe('VerificationCodeForm', () => { const onSuccess = jest.fn(); const { findAllByText, findByRole, findByLabelText } = render( - <Providers http={coreStart.http}> + <Providers services={coreStart}> <VerificationCodeForm onSuccess={onSuccess} /> </Providers> ); fireEvent.click(await findByRole('button', { name: 'Verify', hidden: true })); - await findAllByText(/Enter a verification code/i); + await findAllByText(/Enter the verification code from the Kibana server/i); fireEvent.input(await findByLabelText('Digit 1'), { target: { value: '1' }, diff --git a/src/plugins/interactive_setup/public/verification_code_form.tsx b/src/plugins/interactive_setup/public/verification_code_form.tsx index 8bea8229baec3..0f2676a80364e 100644 --- a/src/plugins/interactive_setup/public/verification_code_form.tsx +++ b/src/plugins/interactive_setup/public/verification_code_form.tsx @@ -8,7 +8,6 @@ import { EuiButton, - EuiCallOut, EuiCode, EuiEmptyPrompt, EuiForm, @@ -25,9 +24,10 @@ import type { IHttpFetchError } from 'kibana/public'; import { VERIFICATION_CODE_LENGTH } from '../common'; import { SingleCharsField } from './single_chars_field'; +import { SubmitErrorCallout } from './submit_error_callout'; import type { ValidationErrors } from './use_form'; import { useForm } from './use_form'; -import { useHttp } from './use_http'; +import { useKibana } from './use_kibana'; export interface VerificationCodeFormValues { code: string; @@ -44,7 +44,7 @@ export const VerificationCodeForm: FunctionComponent<VerificationCodeFormProps> }, onSuccess, }) => { - const http = useHttp(); + const { http } = useKibana(); const [form, eventHandlers] = useForm({ defaultValues, validate: async (values) => { @@ -52,7 +52,7 @@ export const VerificationCodeForm: FunctionComponent<VerificationCodeFormProps> if (!values.code) { errors.code = i18n.translate('interactiveSetup.verificationCodeForm.codeRequiredError', { - defaultMessage: 'Enter a verification code.', + defaultMessage: 'Enter the verification code from the Kibana server.', }); } else if (values.code.length !== VERIFICATION_CODE_LENGTH) { errors.code = i18n.translate('interactiveSetup.verificationCodeForm.codeMinLengthError', { @@ -97,24 +97,32 @@ export const VerificationCodeForm: FunctionComponent<VerificationCodeFormProps> <> {form.submitError && ( <> - <EuiCallOut - color="danger" - title={i18n.translate('interactiveSetup.verificationCodeForm.submitErrorTitle', { - defaultMessage: "Couldn't verify code", - })} - > - {(form.submitError as IHttpFetchError).body?.message} - </EuiCallOut> + <SubmitErrorCallout + error={form.submitError} + defaultTitle={i18n.translate( + 'interactiveSetup.verificationCodeForm.submitErrorTitle', + { + defaultMessage: "Couldn't verify code", + } + )} + /> <EuiSpacer /> </> )} + <EuiText> <p> <FormattedMessage id="interactiveSetup.verificationCodeForm.codeDescription" defaultMessage="Copy the code from the Kibana server or run {command} to retrieve it." values={{ - command: <EuiCode lang="bash">./bin/kibana-verification-code</EuiCode>, + command: ( + <EuiCode language="bash"> + {window.navigator.userAgent.includes('Win') + ? 'bin\\kibana-verification-code.bat' + : 'bin/kibana-verification-code'} + </EuiCode> + ), }} /> </p> diff --git a/src/plugins/interactive_setup/server/routes/configure.test.ts b/src/plugins/interactive_setup/server/routes/configure.test.ts index be264655c8bf9..575f53dfb434f 100644 --- a/src/plugins/interactive_setup/server/routes/configure.test.ts +++ b/src/plugins/interactive_setup/server/routes/configure.test.ts @@ -13,7 +13,14 @@ import type { IRouter, RequestHandler, RequestHandlerContext, RouteConfig } from import { kibanaResponseFactory } from 'src/core/server'; import { httpServerMock } from 'src/core/server/mocks'; -import { ElasticsearchConnectionStatus } from '../../common'; +import { + ElasticsearchConnectionStatus, + ERROR_CONFIGURE_FAILURE, + ERROR_ELASTICSEARCH_CONNECTION_CONFIGURED, + ERROR_KIBANA_CONFIG_FAILURE, + ERROR_KIBANA_CONFIG_NOT_WRITABLE, + ERROR_OUTSIDE_PREBOOT_STAGE, +} from '../../common'; import { interactiveSetupMock } from '../mocks'; import { defineConfigureRoute } from './configure'; import { routeDefinitionParamsMock } from './index.mock'; @@ -135,11 +142,17 @@ describe('Configure routes', () => { body: { host: 'host1' }, }); - await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual({ - status: 400, - options: { body: 'Cannot process request outside of preboot stage.' }, - payload: 'Cannot process request outside of preboot stage.', - }); + await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual( + expect.objectContaining({ + status: 400, + payload: { + attributes: { + type: ERROR_OUTSIDE_PREBOOT_STAGE, + }, + message: 'Cannot process request outside of preboot stage.', + }, + }) + ); expect(mockRouteParams.elasticsearch.authenticate).not.toHaveBeenCalled(); expect(mockRouteParams.kibanaConfigWriter.writeConfig).not.toHaveBeenCalled(); @@ -156,19 +169,15 @@ describe('Configure routes', () => { body: { host: 'host1' }, }); - await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual({ - status: 400, - options: { - body: { + await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual( + expect.objectContaining({ + status: 400, + payload: { message: 'Elasticsearch connection is already configured.', - attributes: { type: 'elasticsearch_connection_configured' }, + attributes: { type: ERROR_ELASTICSEARCH_CONNECTION_CONFIGURED }, }, - }, - payload: { - message: 'Elasticsearch connection is already configured.', - attributes: { type: 'elasticsearch_connection_configured' }, - }, - }); + }) + ); expect(mockRouteParams.elasticsearch.authenticate).not.toHaveBeenCalled(); expect(mockRouteParams.kibanaConfigWriter.writeConfig).not.toHaveBeenCalled(); @@ -186,20 +195,15 @@ describe('Configure routes', () => { body: { host: 'host1' }, }); - await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual({ - status: 500, - options: { - body: { + await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual( + expect.objectContaining({ + status: 500, + payload: { message: 'Kibana process does not have enough permissions to write to config file.', - attributes: { type: 'kibana_config_not_writable' }, + attributes: { type: ERROR_KIBANA_CONFIG_NOT_WRITABLE }, }, - statusCode: 500, - }, - payload: { - message: 'Kibana process does not have enough permissions to write to config file.', - attributes: { type: 'kibana_config_not_writable' }, - }, - }); + }) + ); expect(mockRouteParams.elasticsearch.authenticate).not.toHaveBeenCalled(); expect(mockRouteParams.kibanaConfigWriter.writeConfig).not.toHaveBeenCalled(); @@ -225,14 +229,15 @@ describe('Configure routes', () => { body: { host: 'host1' }, }); - await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual({ - status: 500, - options: { - body: { message: 'Failed to configure.', attributes: { type: 'configure_failure' } }, - statusCode: 500, - }, - payload: { message: 'Failed to configure.', attributes: { type: 'configure_failure' } }, - }); + await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual( + expect.objectContaining({ + status: 500, + payload: { + message: 'Failed to configure.', + attributes: { type: ERROR_CONFIGURE_FAILURE }, + }, + }) + ); expect(mockRouteParams.elasticsearch.authenticate).toHaveBeenCalledTimes(1); expect(mockRouteParams.kibanaConfigWriter.writeConfig).not.toHaveBeenCalled(); @@ -253,20 +258,15 @@ describe('Configure routes', () => { body: { host: 'host1' }, }); - await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual({ - status: 500, - options: { - body: { + await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual( + expect.objectContaining({ + status: 500, + payload: { message: 'Failed to save configuration.', - attributes: { type: 'kibana_config_failure' }, + attributes: { type: ERROR_KIBANA_CONFIG_FAILURE }, }, - statusCode: 500, - }, - payload: { - message: 'Failed to save configuration.', - attributes: { type: 'kibana_config_failure' }, - }, - }); + }) + ); expect(mockRouteParams.elasticsearch.authenticate).toHaveBeenCalledTimes(1); expect(mockRouteParams.kibanaConfigWriter.writeConfig).toHaveBeenCalledTimes(1); @@ -285,11 +285,12 @@ describe('Configure routes', () => { body: { host: 'host', username: 'username', password: 'password', caCert: 'der' }, }); - await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual({ - status: 204, - options: {}, - payload: undefined, - }); + await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual( + expect.objectContaining({ + status: 204, + payload: undefined, + }) + ); expect(mockRouteParams.elasticsearch.authenticate).toHaveBeenCalledTimes(1); expect(mockRouteParams.elasticsearch.authenticate).toHaveBeenCalledWith({ diff --git a/src/plugins/interactive_setup/server/routes/configure.ts b/src/plugins/interactive_setup/server/routes/configure.ts index 75499d048cf93..71b7ce2d47c85 100644 --- a/src/plugins/interactive_setup/server/routes/configure.ts +++ b/src/plugins/interactive_setup/server/routes/configure.ts @@ -11,7 +11,14 @@ import { first } from 'rxjs/operators'; import { schema } from '@kbn/config-schema'; import type { RouteDefinitionParams } from '.'; -import { ElasticsearchConnectionStatus } from '../../common'; +import { + ElasticsearchConnectionStatus, + ERROR_CONFIGURE_FAILURE, + ERROR_ELASTICSEARCH_CONNECTION_CONFIGURED, + ERROR_KIBANA_CONFIG_FAILURE, + ERROR_KIBANA_CONFIG_NOT_WRITABLE, + ERROR_OUTSIDE_PREBOOT_STAGE, +} from '../../common'; import type { AuthenticateParameters } from '../elasticsearch_service'; import { ElasticsearchService } from '../elasticsearch_service'; import type { WriteConfigParameters } from '../kibana_config_writer'; @@ -66,7 +73,12 @@ export function defineConfigureRoute({ if (!preboot.isSetupOnHold()) { logger.error(`Invalid request to [path=${request.url.pathname}] outside of preboot stage`); - return response.badRequest({ body: 'Cannot process request outside of preboot stage.' }); + return response.badRequest({ + body: { + message: 'Cannot process request outside of preboot stage.', + attributes: { type: ERROR_OUTSIDE_PREBOOT_STAGE }, + }, + }); } const connectionStatus = await elasticsearch.connectionStatus$.pipe(first()).toPromise(); @@ -77,7 +89,7 @@ export function defineConfigureRoute({ return response.badRequest({ body: { message: 'Elasticsearch connection is already configured.', - attributes: { type: 'elasticsearch_connection_configured' }, + attributes: { type: ERROR_ELASTICSEARCH_CONNECTION_CONFIGURED }, }, }); } @@ -93,7 +105,7 @@ export function defineConfigureRoute({ statusCode: 500, body: { message: 'Kibana process does not have enough permissions to write to config file.', - attributes: { type: 'kibana_config_not_writable' }, + attributes: { type: ERROR_KIBANA_CONFIG_NOT_WRITABLE }, }, }); } @@ -114,7 +126,7 @@ export function defineConfigureRoute({ // request or we just couldn't connect to any of the provided hosts. return response.customError({ statusCode: 500, - body: { message: 'Failed to configure.', attributes: { type: 'configure_failure' } }, + body: { message: 'Failed to configure.', attributes: { type: ERROR_CONFIGURE_FAILURE } }, }); } @@ -126,7 +138,7 @@ export function defineConfigureRoute({ statusCode: 500, body: { message: 'Failed to save configuration.', - attributes: { type: 'kibana_config_failure' }, + attributes: { type: ERROR_KIBANA_CONFIG_FAILURE }, }, }); } diff --git a/src/plugins/interactive_setup/server/routes/enroll.test.ts b/src/plugins/interactive_setup/server/routes/enroll.test.ts index c3552b65fcbbc..eddc06860deaf 100644 --- a/src/plugins/interactive_setup/server/routes/enroll.test.ts +++ b/src/plugins/interactive_setup/server/routes/enroll.test.ts @@ -13,7 +13,14 @@ import type { IRouter, RequestHandler, RequestHandlerContext, RouteConfig } from import { kibanaResponseFactory } from 'src/core/server'; import { httpServerMock } from 'src/core/server/mocks'; -import { ElasticsearchConnectionStatus } from '../../common'; +import { + ElasticsearchConnectionStatus, + ERROR_ELASTICSEARCH_CONNECTION_CONFIGURED, + ERROR_ENROLL_FAILURE, + ERROR_KIBANA_CONFIG_FAILURE, + ERROR_KIBANA_CONFIG_NOT_WRITABLE, + ERROR_OUTSIDE_PREBOOT_STAGE, +} from '../../common'; import { interactiveSetupMock } from '../mocks'; import { defineEnrollRoutes } from './enroll'; import { routeDefinitionParamsMock } from './index.mock'; @@ -153,11 +160,17 @@ describe('Enroll routes', () => { body: { apiKey: 'some-key', hosts: ['host1', 'host2'], caFingerprint: 'deadbeef' }, }); - await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual({ - status: 400, - options: { body: 'Cannot process request outside of preboot stage.' }, - payload: 'Cannot process request outside of preboot stage.', - }); + await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual( + expect.objectContaining({ + status: 400, + payload: { + attributes: { + type: ERROR_OUTSIDE_PREBOOT_STAGE, + }, + message: 'Cannot process request outside of preboot stage.', + }, + }) + ); expect(mockRouteParams.elasticsearch.enroll).not.toHaveBeenCalled(); expect(mockRouteParams.kibanaConfigWriter.writeConfig).not.toHaveBeenCalled(); @@ -174,19 +187,15 @@ describe('Enroll routes', () => { body: { apiKey: 'some-key', hosts: ['host1', 'host2'], caFingerprint: 'deadbeef' }, }); - await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual({ - status: 400, - options: { - body: { + await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual( + expect.objectContaining({ + status: 400, + payload: { message: 'Elasticsearch connection is already configured.', - attributes: { type: 'elasticsearch_connection_configured' }, + attributes: { type: ERROR_ELASTICSEARCH_CONNECTION_CONFIGURED }, }, - }, - payload: { - message: 'Elasticsearch connection is already configured.', - attributes: { type: 'elasticsearch_connection_configured' }, - }, - }); + }) + ); expect(mockRouteParams.elasticsearch.enroll).not.toHaveBeenCalled(); expect(mockRouteParams.kibanaConfigWriter.writeConfig).not.toHaveBeenCalled(); @@ -204,20 +213,15 @@ describe('Enroll routes', () => { body: { apiKey: 'some-key', hosts: ['host1', 'host2'], caFingerprint: 'deadbeef' }, }); - await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual({ - status: 500, - options: { - body: { + await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual( + expect.objectContaining({ + status: 500, + payload: { message: 'Kibana process does not have enough permissions to write to config file.', - attributes: { type: 'kibana_config_not_writable' }, + attributes: { type: ERROR_KIBANA_CONFIG_NOT_WRITABLE }, }, - statusCode: 500, - }, - payload: { - message: 'Kibana process does not have enough permissions to write to config file.', - attributes: { type: 'kibana_config_not_writable' }, - }, - }); + }) + ); expect(mockRouteParams.elasticsearch.enroll).not.toHaveBeenCalled(); expect(mockRouteParams.kibanaConfigWriter.writeConfig).not.toHaveBeenCalled(); @@ -243,14 +247,12 @@ describe('Enroll routes', () => { body: { apiKey: 'some-key', hosts: ['host1', 'host2'], caFingerprint: 'deadbeef' }, }); - await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual({ - status: 500, - options: { - body: { message: 'Failed to enroll.', attributes: { type: 'enroll_failure' } }, - statusCode: 500, - }, - payload: { message: 'Failed to enroll.', attributes: { type: 'enroll_failure' } }, - }); + await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual( + expect.objectContaining({ + status: 500, + payload: { message: 'Failed to enroll.', attributes: { type: ERROR_ENROLL_FAILURE } }, + }) + ); expect(mockRouteParams.elasticsearch.enroll).toHaveBeenCalledTimes(1); expect(mockRouteParams.kibanaConfigWriter.writeConfig).not.toHaveBeenCalled(); @@ -276,20 +278,15 @@ describe('Enroll routes', () => { body: { apiKey: 'some-key', hosts: ['host1', 'host2'], caFingerprint: 'deadbeef' }, }); - await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual({ - status: 500, - options: { - body: { + await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual( + expect.objectContaining({ + status: 500, + payload: { message: 'Failed to save configuration.', - attributes: { type: 'kibana_config_failure' }, + attributes: { type: ERROR_KIBANA_CONFIG_FAILURE }, }, - statusCode: 500, - }, - payload: { - message: 'Failed to save configuration.', - attributes: { type: 'kibana_config_failure' }, - }, - }); + }) + ); expect(mockRouteParams.elasticsearch.enroll).toHaveBeenCalledTimes(1); expect(mockRouteParams.kibanaConfigWriter.writeConfig).toHaveBeenCalledTimes(1); @@ -313,11 +310,12 @@ describe('Enroll routes', () => { body: { apiKey: 'some-key', hosts: ['host1', 'host2'], caFingerprint: 'deadbeef' }, }); - await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual({ - status: 204, - options: {}, - payload: undefined, - }); + await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual( + expect.objectContaining({ + status: 204, + payload: undefined, + }) + ); expect(mockRouteParams.elasticsearch.enroll).toHaveBeenCalledTimes(1); expect(mockRouteParams.elasticsearch.enroll).toHaveBeenCalledWith({ diff --git a/src/plugins/interactive_setup/server/routes/enroll.ts b/src/plugins/interactive_setup/server/routes/enroll.ts index 769d763a7d45d..ce5b33d2a83b6 100644 --- a/src/plugins/interactive_setup/server/routes/enroll.ts +++ b/src/plugins/interactive_setup/server/routes/enroll.ts @@ -10,7 +10,14 @@ import { first } from 'rxjs/operators'; import { schema } from '@kbn/config-schema'; -import { ElasticsearchConnectionStatus } from '../../common'; +import { + ElasticsearchConnectionStatus, + ERROR_ELASTICSEARCH_CONNECTION_CONFIGURED, + ERROR_ENROLL_FAILURE, + ERROR_KIBANA_CONFIG_FAILURE, + ERROR_KIBANA_CONFIG_NOT_WRITABLE, + ERROR_OUTSIDE_PREBOOT_STAGE, +} from '../../common'; import type { EnrollResult } from '../elasticsearch_service'; import type { WriteConfigParameters } from '../kibana_config_writer'; import type { RouteDefinitionParams } from './'; @@ -48,7 +55,12 @@ export function defineEnrollRoutes({ if (!preboot.isSetupOnHold()) { logger.error(`Invalid request to [path=${request.url.pathname}] outside of preboot stage`); - return response.badRequest({ body: 'Cannot process request outside of preboot stage.' }); + return response.badRequest({ + body: { + message: 'Cannot process request outside of preboot stage.', + attributes: { type: ERROR_OUTSIDE_PREBOOT_STAGE }, + }, + }); } const connectionStatus = await elasticsearch.connectionStatus$.pipe(first()).toPromise(); @@ -59,7 +71,7 @@ export function defineEnrollRoutes({ return response.badRequest({ body: { message: 'Elasticsearch connection is already configured.', - attributes: { type: 'elasticsearch_connection_configured' }, + attributes: { type: ERROR_ELASTICSEARCH_CONNECTION_CONFIGURED }, }, }); } @@ -75,7 +87,7 @@ export function defineEnrollRoutes({ statusCode: 500, body: { message: 'Kibana process does not have enough permissions to write to config file.', - attributes: { type: 'kibana_config_not_writable' }, + attributes: { type: ERROR_KIBANA_CONFIG_NOT_WRITABLE }, }, }); } @@ -100,7 +112,7 @@ export function defineEnrollRoutes({ // request or we just couldn't connect to any of the provided hosts. return response.customError({ statusCode: 500, - body: { message: 'Failed to enroll.', attributes: { type: 'enroll_failure' } }, + body: { message: 'Failed to enroll.', attributes: { type: ERROR_ENROLL_FAILURE } }, }); } @@ -112,7 +124,7 @@ export function defineEnrollRoutes({ statusCode: 500, body: { message: 'Failed to save configuration.', - attributes: { type: 'kibana_config_failure' }, + attributes: { type: ERROR_KIBANA_CONFIG_FAILURE }, }, }); } diff --git a/src/plugins/interactive_setup/server/routes/ping.test.ts b/src/plugins/interactive_setup/server/routes/ping.test.ts index 15c9d5ae963c8..ffa98071129d2 100644 --- a/src/plugins/interactive_setup/server/routes/ping.test.ts +++ b/src/plugins/interactive_setup/server/routes/ping.test.ts @@ -13,6 +13,7 @@ import type { IRouter, RequestHandler, RequestHandlerContext, RouteConfig } from import { kibanaResponseFactory } from 'src/core/server'; import { httpServerMock } from 'src/core/server/mocks'; +import { ERROR_OUTSIDE_PREBOOT_STAGE, ERROR_PING_FAILURE } from '../../common'; import { interactiveSetupMock } from '../mocks'; import { routeDefinitionParamsMock } from './index.mock'; import { definePingRoute } from './ping'; @@ -66,11 +67,17 @@ describe('Configure routes', () => { body: { host: 'host' }, }); - await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual({ - status: 400, - options: { body: 'Cannot process request outside of preboot stage.' }, - payload: 'Cannot process request outside of preboot stage.', - }); + await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual( + expect.objectContaining({ + status: 400, + payload: { + attributes: { + type: ERROR_OUTSIDE_PREBOOT_STAGE, + }, + message: 'Cannot process request outside of preboot stage.', + }, + }) + ); expect(mockRouteParams.elasticsearch.authenticate).not.toHaveBeenCalled(); expect(mockRouteParams.preboot.completeSetup).not.toHaveBeenCalled(); @@ -91,14 +98,12 @@ describe('Configure routes', () => { body: { host: 'host' }, }); - await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual({ - status: 500, - options: { - body: { message: 'Failed to ping cluster.', attributes: { type: 'ping_failure' } }, - statusCode: 500, - }, - payload: { message: 'Failed to ping cluster.', attributes: { type: 'ping_failure' } }, - }); + await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual( + expect.objectContaining({ + status: 500, + payload: { message: 'Failed to ping cluster.', attributes: { type: ERROR_PING_FAILURE } }, + }) + ); expect(mockRouteParams.elasticsearch.ping).toHaveBeenCalledTimes(1); expect(mockRouteParams.preboot.completeSetup).not.toHaveBeenCalled(); @@ -111,11 +116,12 @@ describe('Configure routes', () => { body: { host: 'host' }, }); - await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual({ - status: 200, - options: {}, - payload: undefined, - }); + await expect(routeHandler(mockContext, mockRequest, kibanaResponseFactory)).resolves.toEqual( + expect.objectContaining({ + status: 200, + payload: undefined, + }) + ); expect(mockRouteParams.elasticsearch.ping).toHaveBeenCalledTimes(1); expect(mockRouteParams.elasticsearch.ping).toHaveBeenCalledWith('host'); diff --git a/src/plugins/interactive_setup/server/routes/ping.ts b/src/plugins/interactive_setup/server/routes/ping.ts index 50ed7514bab69..664c7349087ce 100644 --- a/src/plugins/interactive_setup/server/routes/ping.ts +++ b/src/plugins/interactive_setup/server/routes/ping.ts @@ -9,6 +9,7 @@ import { schema } from '@kbn/config-schema'; import type { RouteDefinitionParams } from '.'; +import { ERROR_OUTSIDE_PREBOOT_STAGE, ERROR_PING_FAILURE } from '../../common'; import type { PingResult } from '../../common/types'; export function definePingRoute({ router, logger, elasticsearch, preboot }: RouteDefinitionParams) { @@ -25,7 +26,12 @@ export function definePingRoute({ router, logger, elasticsearch, preboot }: Rout async (context, request, response) => { if (!preboot.isSetupOnHold()) { logger.error(`Invalid request to [path=${request.url.pathname}] outside of preboot stage`); - return response.badRequest({ body: 'Cannot process request outside of preboot stage.' }); + return response.badRequest({ + body: { + message: 'Cannot process request outside of preboot stage.', + attributes: { type: ERROR_OUTSIDE_PREBOOT_STAGE }, + }, + }); } let result: PingResult; @@ -34,7 +40,7 @@ export function definePingRoute({ router, logger, elasticsearch, preboot }: Rout } catch { return response.customError({ statusCode: 500, - body: { message: 'Failed to ping cluster.', attributes: { type: 'ping_failure' } }, + body: { message: 'Failed to ping cluster.', attributes: { type: ERROR_PING_FAILURE } }, }); } diff --git a/src/plugins/kibana_react/public/page_template/page_template.tsx b/src/plugins/kibana_react/public/page_template/page_template.tsx index 1132d1dc6b4ed..cf2b27c3b00da 100644 --- a/src/plugins/kibana_react/public/page_template/page_template.tsx +++ b/src/plugins/kibana_react/public/page_template/page_template.tsx @@ -133,6 +133,7 @@ export const KibanaPageTemplate: FunctionComponent<KibanaPageTemplateProps> = ({ if (noDataConfig) { return ( <EuiPageTemplate + data-test-subj={rest['data-test-subj']} template={template} className={classes} pageSideBar={pageSideBar} diff --git a/src/plugins/kibana_usage_collection/server/collectors/config_usage/README.md b/src/plugins/kibana_usage_collection/server/collectors/config_usage/README.md index b476244e5082f..954b12dba00f7 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/config_usage/README.md +++ b/src/plugins/kibana_usage_collection/server/collectors/config_usage/README.md @@ -55,7 +55,6 @@ when setting an exact config or its parent path to `false`. "server.port": 5603, "server.basePath": "[redacted]", "server.rewriteBasePath": true, - "logging.json": false, "usageCollection.uiCounters.debug": true } } diff --git a/src/plugins/kibana_utils/common/create_getter_setter.test.ts b/src/plugins/kibana_utils/common/create_getter_setter.test.ts new file mode 100644 index 0000000000000..28cd7b4aead3a --- /dev/null +++ b/src/plugins/kibana_utils/common/create_getter_setter.test.ts @@ -0,0 +1,38 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { createGetterSetter } from './create_getter_setter'; + +describe('createGetterSetter', () => { + test('should be able to create getter/setter', () => { + const [getString, setString] = createGetterSetter<{}>('string'); + + expect(getString).toBeInstanceOf(Function); + expect(setString).toBeInstanceOf(Function); + }); + + test('getter should return the set value', () => { + const [getString, setString] = createGetterSetter<{}>('string'); + + setString('test'); + expect(getString()).toBe('test'); + }); + + test('getter should throw an exception', () => { + const [getString] = createGetterSetter<{}>('string'); + + expect(() => getString()).toThrowErrorMatchingInlineSnapshot(`"string was not set."`); + }); + + test('getter should not throw an exception (isValueRequired is false)', () => { + const [getString] = createGetterSetter<{}>('string', false); + const value = getString(); + + expect(value).toBeUndefined(); + }); +}); diff --git a/src/plugins/kibana_utils/common/create_getter_setter.ts b/src/plugins/kibana_utils/common/create_getter_setter.ts index 794da7f958679..44b72a802c958 100644 --- a/src/plugins/kibana_utils/common/create_getter_setter.ts +++ b/src/plugins/kibana_utils/common/create_getter_setter.ts @@ -9,11 +9,16 @@ export type Get<T> = () => T; export type Set<T> = (value: T) => void; -export const createGetterSetter = <T extends object>(name: string): [Get<T>, Set<T>] => { +export const createGetterSetter = <T extends object>( + name: string, + isValueRequired: boolean = true +): [Get<T>, Set<T>] => { let value: T; const get: Get<T> = () => { - if (!value) throw new Error(`${name} was not set.`); + if (!value && isValueRequired) { + throw new Error(`${name} was not set.`); + } return value; }; diff --git a/src/plugins/newsfeed/server/config.ts b/src/plugins/newsfeed/server/config.ts index f8924706b751c..f14f3452761e1 100644 --- a/src/plugins/newsfeed/server/config.ts +++ b/src/plugins/newsfeed/server/config.ts @@ -11,7 +11,6 @@ import { NEWSFEED_DEFAULT_SERVICE_PATH, NEWSFEED_DEFAULT_SERVICE_BASE_URL, NEWSFEED_DEV_SERVICE_BASE_URL, - NEWSFEED_FALLBACK_LANGUAGE, } from '../common/constants'; export const configSchema = schema.object({ @@ -25,7 +24,6 @@ export const configSchema = schema.object({ schema.string({ defaultValue: NEWSFEED_DEV_SERVICE_BASE_URL }) ), }), - defaultLanguage: schema.string({ defaultValue: NEWSFEED_FALLBACK_LANGUAGE }), // TODO: Deprecate since no longer used mainInterval: schema.duration({ defaultValue: '2m' }), // (2min) How often to retry failed fetches, and/or check if newsfeed items need to be refreshed from remote fetchInterval: schema.duration({ defaultValue: '1d' }), // (1day) How often to fetch remote and reset the last fetched time }); diff --git a/src/plugins/newsfeed/server/index.ts b/src/plugins/newsfeed/server/index.ts index 460d48622af69..fefb725e2804e 100644 --- a/src/plugins/newsfeed/server/index.ts +++ b/src/plugins/newsfeed/server/index.ts @@ -17,7 +17,6 @@ export const config: PluginConfigDescriptor<NewsfeedConfigType> = { mainInterval: true, fetchInterval: true, }, - deprecations: ({ unused }) => [unused('defaultLanguage')], }; export function plugin() { diff --git a/src/plugins/presentation_util/public/components/controls/__stories__/controls_service_stub.ts b/src/plugins/presentation_util/public/components/controls/__stories__/controls_service_stub.ts new file mode 100644 index 0000000000000..59e7a44a83a17 --- /dev/null +++ b/src/plugins/presentation_util/public/components/controls/__stories__/controls_service_stub.ts @@ -0,0 +1,29 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { InputControlFactory } from '../types'; +import { ControlsService } from '../controls_service'; +import { flightFields, getEuiSelectableOptions } from './flights'; +import { OptionsListEmbeddableFactory } from '../control_types/options_list'; + +export const getControlsServiceStub = () => { + const controlsServiceStub = new ControlsService(); + + const optionsListFactoryStub = new OptionsListEmbeddableFactory( + ({ field, search }) => + new Promise((r) => setTimeout(() => r(getEuiSelectableOptions(field, search)), 500)), + () => Promise.resolve(['demo data flights']), + () => Promise.resolve(flightFields) + ); + + // cast to unknown because the stub cannot use the embeddable start contract to transform the EmbeddableFactoryDefinition into an EmbeddableFactory + const optionsListControlFactory = optionsListFactoryStub as unknown as InputControlFactory; + optionsListControlFactory.getDefaultInput = () => ({}); + controlsServiceStub.registerInputControlType(optionsListControlFactory); + return controlsServiceStub; +}; diff --git a/src/plugins/presentation_util/public/components/input_controls/__stories__/decorators.tsx b/src/plugins/presentation_util/public/components/controls/__stories__/decorators.tsx similarity index 95% rename from src/plugins/presentation_util/public/components/input_controls/__stories__/decorators.tsx rename to src/plugins/presentation_util/public/components/controls/__stories__/decorators.tsx index 0aaa0e7a8a533..c5d3cf2c815be 100644 --- a/src/plugins/presentation_util/public/components/input_controls/__stories__/decorators.tsx +++ b/src/plugins/presentation_util/public/components/controls/__stories__/decorators.tsx @@ -23,7 +23,7 @@ const panelStyle = { const kqlBarStyle = { background: bar, padding: 16, minHeight, fontStyle: 'italic' }; -const inputBarStyle = { background: '#fff', padding: 4, minHeight }; +const inputBarStyle = { background: '#fff', padding: 4 }; const layout = (OptionStory: Story) => ( <EuiFlexGroup style={{ background }} direction="column"> diff --git a/src/plugins/presentation_util/public/components/input_controls/__stories__/flights.ts b/src/plugins/presentation_util/public/components/controls/__stories__/flights.ts similarity index 100% rename from src/plugins/presentation_util/public/components/input_controls/__stories__/flights.ts rename to src/plugins/presentation_util/public/components/controls/__stories__/flights.ts diff --git a/src/plugins/presentation_util/public/components/controls/__stories__/input_controls.stories.tsx b/src/plugins/presentation_util/public/components/controls/__stories__/input_controls.stories.tsx new file mode 100644 index 0000000000000..2a463fece18da --- /dev/null +++ b/src/plugins/presentation_util/public/components/controls/__stories__/input_controls.stories.tsx @@ -0,0 +1,53 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import React, { useEffect, useMemo } from 'react'; +import uuid from 'uuid'; + +import { decorators } from './decorators'; +import { providers } from '../../../services/storybook'; +import { getControlsServiceStub } from './controls_service_stub'; +import { ControlGroupContainerFactory } from '../control_group/control_group_container_factory'; + +export default { + title: 'Controls', + description: '', + decorators, +}; + +const ControlGroupStoryComponent = () => { + const embeddableRoot: React.RefObject<HTMLDivElement> = useMemo(() => React.createRef(), []); + + providers.overlays.start({}); + const overlays = providers.overlays.getService(); + + const controlsServiceStub = getControlsServiceStub(); + + useEffect(() => { + (async () => { + const factory = new ControlGroupContainerFactory(controlsServiceStub, overlays); + const controlGroupContainerEmbeddable = await factory.create({ + inheritParentState: { + useQuery: false, + useFilters: false, + useTimerange: false, + }, + controlStyle: 'oneLine', + id: uuid.v4(), + panels: {}, + }); + if (controlGroupContainerEmbeddable && embeddableRoot.current) { + controlGroupContainerEmbeddable.render(embeddableRoot.current); + } + })(); + }, [embeddableRoot, controlsServiceStub, overlays]); + + return <div ref={embeddableRoot} />; +}; + +export const ControlGroupStory = () => <ControlGroupStoryComponent />; diff --git a/src/plugins/presentation_util/public/components/controls/control_frame/control_frame_component.tsx b/src/plugins/presentation_util/public/components/controls/control_frame/control_frame_component.tsx new file mode 100644 index 0000000000000..240beea13b0e2 --- /dev/null +++ b/src/plugins/presentation_util/public/components/controls/control_frame/control_frame_component.tsx @@ -0,0 +1,117 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import React, { useEffect, useMemo, useState } from 'react'; +import classNames from 'classnames'; +import { + EuiButtonIcon, + EuiFormControlLayout, + EuiFormLabel, + EuiFormRow, + EuiToolTip, +} from '@elastic/eui'; +import { ControlGroupContainer } from '../control_group/control_group_container'; +import { useChildEmbeddable } from '../hooks/use_child_embeddable'; +import { ControlStyle } from '../types'; +import { ControlFrameStrings } from './control_frame_strings'; + +export interface ControlFrameProps { + container: ControlGroupContainer; + customPrepend?: JSX.Element; + controlStyle: ControlStyle; + enableActions?: boolean; + onRemove?: () => void; + embeddableId: string; + onEdit?: () => void; +} + +export const ControlFrame = ({ + customPrepend, + enableActions, + embeddableId, + controlStyle, + container, + onRemove, + onEdit, +}: ControlFrameProps) => { + const embeddableRoot: React.RefObject<HTMLDivElement> = useMemo(() => React.createRef(), []); + const embeddable = useChildEmbeddable({ container, embeddableId }); + + const [title, setTitle] = useState<string>(); + + const usingTwoLineLayout = controlStyle === 'twoLine'; + + useEffect(() => { + if (embeddableRoot.current && embeddable) { + embeddable.render(embeddableRoot.current); + } + const subscription = embeddable?.getInput$().subscribe((newInput) => setTitle(newInput.title)); + return () => subscription?.unsubscribe(); + }, [embeddable, embeddableRoot]); + + const floatingActions = ( + <div + className={classNames('controlFrame--floatingActions', { + 'controlFrame--floatingActions-twoLine': usingTwoLineLayout, + 'controlFrame--floatingActions-oneLine': !usingTwoLineLayout, + })} + > + <EuiToolTip content={ControlFrameStrings.floatingActions.getEditButtonTitle()}> + <EuiButtonIcon + aria-label={ControlFrameStrings.floatingActions.getEditButtonTitle()} + iconType="pencil" + onClick={onEdit} + color="text" + /> + </EuiToolTip> + <EuiToolTip content={ControlFrameStrings.floatingActions.getRemoveButtonTitle()}> + <EuiButtonIcon + aria-label={ControlFrameStrings.floatingActions.getRemoveButtonTitle()} + onClick={onRemove} + iconType="cross" + color="danger" + /> + </EuiToolTip> + </div> + ); + + const form = ( + <EuiFormControlLayout + className={'controlFrame--formControlLayout'} + fullWidth + prepend={ + <> + {customPrepend ?? null} + {usingTwoLineLayout ? undefined : ( + <EuiFormLabel className="controlFrame--formControlLayout__label" htmlFor={embeddableId}> + {title} + </EuiFormLabel> + )} + </> + } + > + <div + className={classNames('controlFrame--control', { + 'controlFrame--twoLine': controlStyle === 'twoLine', + 'controlFrame--oneLine': controlStyle === 'oneLine', + })} + id={`controlFrame--${embeddableId}`} + ref={embeddableRoot} + /> + </EuiFormControlLayout> + ); + + return ( + <> + {enableActions && floatingActions} + <EuiFormRow fullWidth label={usingTwoLineLayout ? title : undefined}> + {form} + </EuiFormRow> + </> + ); +}; diff --git a/src/plugins/presentation_util/public/components/controls/control_frame/control_frame_strings.ts b/src/plugins/presentation_util/public/components/controls/control_frame/control_frame_strings.ts new file mode 100644 index 0000000000000..5f9e89aa797cb --- /dev/null +++ b/src/plugins/presentation_util/public/components/controls/control_frame/control_frame_strings.ts @@ -0,0 +1,22 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { i18n } from '@kbn/i18n'; + +export const ControlFrameStrings = { + floatingActions: { + getEditButtonTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.floatingActions.editTitle', { + defaultMessage: 'Manage control', + }), + getRemoveButtonTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.floatingActions.removeTitle', { + defaultMessage: 'Remove control', + }), + }, +}; diff --git a/src/plugins/presentation_util/public/components/controls/control_group/component/control_group_component.tsx b/src/plugins/presentation_util/public/components/controls/control_group/component/control_group_component.tsx new file mode 100644 index 0000000000000..d683c0749d98d --- /dev/null +++ b/src/plugins/presentation_util/public/components/controls/control_group/component/control_group_component.tsx @@ -0,0 +1,163 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import '../control_group.scss'; + +import { EuiButtonIcon, EuiFlexGroup, EuiFlexItem, EuiToolTip } from '@elastic/eui'; +import React, { useEffect, useMemo, useState } from 'react'; +import classNames from 'classnames'; +import { + arrayMove, + SortableContext, + rectSortingStrategy, + sortableKeyboardCoordinates, +} from '@dnd-kit/sortable'; +import { + closestCenter, + DndContext, + DragEndEvent, + DragOverlay, + KeyboardSensor, + PointerSensor, + useSensor, + useSensors, + LayoutMeasuringStrategy, +} from '@dnd-kit/core'; + +import { ControlGroupStrings } from '../control_group_strings'; +import { ControlGroupContainer } from '../control_group_container'; +import { ControlClone, SortableControl } from './control_group_sortable_item'; +import { OPTIONS_LIST_CONTROL } from '../../control_types/options_list/options_list_embeddable'; + +interface ControlGroupProps { + controlGroupContainer: ControlGroupContainer; +} + +export const ControlGroup = ({ controlGroupContainer }: ControlGroupProps) => { + const [controlIds, setControlIds] = useState<string[]>([]); + + // sync controlIds every time input panels change + useEffect(() => { + const subscription = controlGroupContainer.getInput$().subscribe(() => { + setControlIds((currentIds) => { + // sync control Ids with panels from container input. + const { panels } = controlGroupContainer.getInput(); + const newIds: string[] = []; + const allIds = [...currentIds, ...Object.keys(panels)]; + allIds.forEach((id) => { + const currentIndex = currentIds.indexOf(id); + if (!panels[id] && currentIndex !== -1) { + currentIds.splice(currentIndex, 1); + } + if (currentIndex === -1 && Boolean(panels[id])) { + newIds.push(id); + } + }); + return [...currentIds, ...newIds]; + }); + }); + return () => subscription.unsubscribe(); + }, [controlGroupContainer]); + + const [draggingId, setDraggingId] = useState<string | null>(null); + + const draggingIndex = useMemo( + () => (draggingId ? controlIds.indexOf(draggingId) : -1), + [controlIds, draggingId] + ); + + const sensors = useSensors( + useSensor(PointerSensor), + useSensor(KeyboardSensor, { coordinateGetter: sortableKeyboardCoordinates }) + ); + + const onDragEnd = ({ over }: DragEndEvent) => { + if (over) { + const overIndex = controlIds.indexOf(over.id); + if (draggingIndex !== overIndex) { + const newIndex = overIndex; + setControlIds((currentControlIds) => arrayMove(currentControlIds, draggingIndex, newIndex)); + } + } + setDraggingId(null); + }; + + return ( + <EuiFlexGroup wrap={false} direction="row" alignItems="center" className="superWrapper"> + <EuiFlexItem> + <DndContext + onDragStart={({ active }) => setDraggingId(active.id)} + onDragEnd={onDragEnd} + onDragCancel={() => setDraggingId(null)} + sensors={sensors} + collisionDetection={closestCenter} + layoutMeasuring={{ + strategy: LayoutMeasuringStrategy.Always, + }} + > + <SortableContext items={controlIds} strategy={rectSortingStrategy}> + <EuiFlexGroup + className={classNames('controlGroup', { 'controlGroup-isDragging': draggingId })} + alignItems="center" + gutterSize={'m'} + wrap={true} + > + {controlIds.map((controlId, index) => ( + <SortableControl + onEdit={() => controlGroupContainer.editControl(controlId)} + onRemove={() => controlGroupContainer.removeEmbeddable(controlId)} + dragInfo={{ index, draggingIndex }} + container={controlGroupContainer} + controlStyle={controlGroupContainer.getInput().controlStyle} + embeddableId={controlId} + width={controlGroupContainer.getInput().panels[controlId].width} + key={controlId} + /> + ))} + </EuiFlexGroup> + </SortableContext> + <DragOverlay> + {draggingId ? ( + <ControlClone + width={controlGroupContainer.getInput().panels[draggingId].width} + embeddableId={draggingId} + container={controlGroupContainer} + /> + ) : null} + </DragOverlay> + </DndContext> + </EuiFlexItem> + <EuiFlexItem grow={false}> + <EuiFlexGroup alignItems="center" direction="row" gutterSize="xs"> + <EuiFlexItem> + <EuiToolTip content={ControlGroupStrings.management.getManageButtonTitle()}> + <EuiButtonIcon + aria-label={ControlGroupStrings.management.getManageButtonTitle()} + iconType="gear" + color="text" + data-test-subj="inputControlsSortingButton" + onClick={controlGroupContainer.editControlGroup} + /> + </EuiToolTip> + </EuiFlexItem> + <EuiFlexItem> + <EuiToolTip content={ControlGroupStrings.management.getAddControlTitle()}> + <EuiButtonIcon + aria-label={ControlGroupStrings.management.getManageButtonTitle()} + iconType="plus" + color="text" + data-test-subj="inputControlsSortingButton" + onClick={() => controlGroupContainer.createNewControl(OPTIONS_LIST_CONTROL)} // use popover when there are multiple types of control + /> + </EuiToolTip> + </EuiFlexItem> + </EuiFlexGroup> + </EuiFlexItem> + </EuiFlexGroup> + ); +}; diff --git a/src/plugins/presentation_util/public/components/controls/control_group/component/control_group_sortable_item.tsx b/src/plugins/presentation_util/public/components/controls/control_group/component/control_group_sortable_item.tsx new file mode 100644 index 0000000000000..3ae171a588da4 --- /dev/null +++ b/src/plugins/presentation_util/public/components/controls/control_group/component/control_group_sortable_item.tsx @@ -0,0 +1,151 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { EuiFlexItem, EuiFormLabel, EuiIcon, EuiFlexGroup } from '@elastic/eui'; +import React, { forwardRef, HTMLAttributes } from 'react'; +import { useSortable } from '@dnd-kit/sortable'; +import { CSS } from '@dnd-kit/utilities'; +import classNames from 'classnames'; + +import { ControlWidth } from '../../types'; +import { ControlGroupContainer } from '../control_group_container'; +import { useChildEmbeddable } from '../../hooks/use_child_embeddable'; +import { ControlFrame, ControlFrameProps } from '../../control_frame/control_frame_component'; + +interface DragInfo { + isOver?: boolean; + isDragging?: boolean; + draggingIndex?: number; + index?: number; +} + +export type SortableControlProps = ControlFrameProps & { + dragInfo: DragInfo; + width: ControlWidth; +}; + +/** + * A sortable wrapper around the generic control frame. + */ +export const SortableControl = (frameProps: SortableControlProps) => { + const { embeddableId } = frameProps; + const { over, listeners, isSorting, transform, transition, attributes, isDragging, setNodeRef } = + useSortable({ + id: embeddableId, + animateLayoutChanges: () => true, + }); + + frameProps.dragInfo = { ...frameProps.dragInfo, isOver: over?.id === embeddableId, isDragging }; + + return ( + <SortableControlInner + key={embeddableId} + ref={setNodeRef} + {...frameProps} + {...attributes} + {...listeners} + style={{ + transition: transition ?? undefined, + transform: isSorting ? undefined : CSS.Translate.toString(transform), + }} + /> + ); +}; + +const SortableControlInner = forwardRef< + HTMLButtonElement, + SortableControlProps & { style: HTMLAttributes<HTMLButtonElement>['style'] } +>( + ( + { + embeddableId, + controlStyle, + container, + dragInfo, + onRemove, + onEdit, + style, + width, + ...dragHandleProps + }, + dragHandleRef + ) => { + const { isOver, isDragging, draggingIndex, index } = dragInfo; + + const dragHandle = ( + <button ref={dragHandleRef} {...dragHandleProps} className="controlFrame--dragHandle"> + <EuiIcon type="grabHorizontal" /> + </button> + ); + + return ( + <EuiFlexItem + grow={width === 'auto'} + className={classNames('controlFrame--wrapper', { + 'controlFrame--wrapper-isDragging': isDragging, + 'controlFrame--wrapper-small': width === 'small', + 'controlFrame--wrapper-medium': width === 'medium', + 'controlFrame--wrapper-large': width === 'large', + 'controlFrame--wrapper-insertBefore': isOver && (index ?? -1) < (draggingIndex ?? -1), + 'controlFrame--wrapper-insertAfter': isOver && (index ?? -1) > (draggingIndex ?? -1), + })} + style={style} + > + <ControlFrame + enableActions={draggingIndex === -1} + controlStyle={controlStyle} + embeddableId={embeddableId} + customPrepend={dragHandle} + container={container} + onRemove={onRemove} + onEdit={onEdit} + /> + </EuiFlexItem> + ); + } +); + +/** + * A simplified clone version of the control which is dragged. This version only shows + * the title, because individual controls can be any size, and dragging a wide item + * can be quite cumbersome. + */ +export const ControlClone = ({ + embeddableId, + container, + width, +}: { + embeddableId: string; + container: ControlGroupContainer; + width: ControlWidth; +}) => { + const embeddable = useChildEmbeddable({ embeddableId, container }); + const layout = container.getInput().controlStyle; + return ( + <EuiFlexItem + className={classNames('controlFrame--cloneWrapper', { + 'controlFrame--cloneWrapper-small': width === 'small', + 'controlFrame--cloneWrapper-medium': width === 'medium', + 'controlFrame--cloneWrapper-large': width === 'large', + 'controlFrame--cloneWrapper-twoLine': layout === 'twoLine', + })} + > + {layout === 'twoLine' ? ( + <EuiFormLabel>{embeddable?.getInput().title}</EuiFormLabel> + ) : undefined} + <EuiFlexGroup gutterSize="none" className={'controlFrame--draggable'}> + <EuiFlexItem grow={false}> + <EuiIcon type="grabHorizontal" className="controlFrame--dragHandle" /> + </EuiFlexItem> + {container.getInput().controlStyle === 'oneLine' ? ( + <EuiFlexItem>{embeddable?.getInput().title}</EuiFlexItem> + ) : undefined} + </EuiFlexGroup> + </EuiFlexItem> + ); +}; diff --git a/src/plugins/presentation_util/public/components/controls/control_group/control_group.scss b/src/plugins/presentation_util/public/components/controls/control_group/control_group.scss new file mode 100644 index 0000000000000..f49efa7aab043 --- /dev/null +++ b/src/plugins/presentation_util/public/components/controls/control_group/control_group.scss @@ -0,0 +1,184 @@ +$smallControl: $euiSize * 14; +$mediumControl: $euiSize * 25; +$largeControl: $euiSize * 50; +$controlMinWidth: $euiSize * 14; + +.controlGroup { + margin-left: $euiSizeXS; + overflow-x: clip; // sometimes when using auto width, removing a control can cause a horizontal scrollbar to appear. + min-height: $euiSize * 4; + padding: $euiSize 0; +} + +.controlFrame--cloneWrapper { + width: max-content; + + .euiFormLabel { + padding-bottom: $euiSizeXS; + } + + &-small { + width: $smallControl; + } + + &-medium { + width: $mediumControl; + } + + &-large { + width: $largeControl; + } + + &-twoLine { + margin-top: -$euiSize * 1.25; + } + + .euiFormLabel, div { + cursor: grabbing !important; // prevents cursor flickering while dragging the clone + } + + .controlFrame--draggable { + cursor: grabbing; + height: $euiButtonHeight; + align-items: center; + border-radius: $euiBorderRadius; + @include euiFontSizeS; + font-weight: $euiFontWeightSemiBold; + @include euiFormControlDefaultShadow; + background-color: $euiFormInputGroupLabelBackground; + min-width: $controlMinWidth; + } + + .controlFrame--formControlLayout, .controlFrame--draggable { + &-clone { + box-shadow: 0 0 0 1px $euiShadowColor, + 0 1px 6px 0 $euiShadowColor; + cursor: grabbing !important; + } + + .controlFrame--dragHandle { + cursor: grabbing; + } + } +} + +.controlFrame--wrapper { + flex-basis: auto; + position: relative; + display: block; + + .controlFrame--formControlLayout { + width: 100%; + min-width: $controlMinWidth; + transition:background-color .1s, color .1s; + + &__label { + @include euiTextTruncate; + max-width: 50%; + } + + &:not(.controlFrame--formControlLayout-clone) { + .controlFrame--dragHandle { + cursor: grab; + } + } + + .controlFrame--control { + height: 100%; + transition: opacity .1s; + + &.controlFrame--twoLine { + width: 100%; + } + } + } + + &-small { + width: $smallControl; + } + + &-medium { + width: $mediumControl; + } + + &-large { + width: $largeControl; + } + + &-insertBefore, + &-insertAfter { + .controlFrame--formControlLayout:after { + content: ''; + position: absolute; + background-color: transparentize($euiColorPrimary, .5); + border-radius: $euiBorderRadius; + top: 0; + bottom: 0; + width: 2px; + } + } + + &-insertBefore { + .controlFrame--formControlLayout:after { + left: -$euiSizeS; + } + } + + &-insertAfter { + .controlFrame--formControlLayout:after { + right: -$euiSizeS; + } + } + + .controlFrame--floatingActions { + visibility: hidden; + opacity: 0; + + // slower transition on hover leave in case the user accidentally stops hover + transition: visibility .3s, opacity .3s; + + z-index: 1; + position: absolute; + + &-oneLine { + right:$euiSizeXS; + top: -$euiSizeL; + padding: $euiSizeXS; + border-radius: $euiBorderRadius; + background-color: $euiColorEmptyShade; + box-shadow: 0 0 0 1pt $euiColorLightShade; + } + + &-twoLine { + right:$euiSizeXS; + top: -$euiSizeXS; + } + } + + &:hover { + .controlFrame--floatingActions { + transition:visibility .1s, opacity .1s; + visibility: visible; + opacity: 1; + } + } + + &-isDragging { + .euiFormRow__labelWrapper { + opacity: 0; + } + .controlFrame--formControlLayout { + background-color: $euiColorEmptyShade !important; + color: transparent !important; + box-shadow: none; + + .euiFormLabel { + opacity: 0; + } + + .controlFrame--control { + opacity: 0; + } + } + } +} \ No newline at end of file diff --git a/src/plugins/presentation_util/public/components/controls/control_group/control_group_constants.ts b/src/plugins/presentation_util/public/components/controls/control_group/control_group_constants.ts new file mode 100644 index 0000000000000..3c22b1ffbcd23 --- /dev/null +++ b/src/plugins/presentation_util/public/components/controls/control_group/control_group_constants.ts @@ -0,0 +1,44 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { ControlWidth } from '../types'; +import { ControlGroupStrings } from './control_group_strings'; + +export const CONTROL_GROUP_TYPE = 'control_group'; + +export const DEFAULT_CONTROL_WIDTH: ControlWidth = 'auto'; + +export const CONTROL_WIDTH_OPTIONS = [ + { + id: `auto`, + label: ControlGroupStrings.management.controlWidth.getAutoWidthTitle(), + }, + { + id: `small`, + label: ControlGroupStrings.management.controlWidth.getSmallWidthTitle(), + }, + { + id: `medium`, + label: ControlGroupStrings.management.controlWidth.getMediumWidthTitle(), + }, + { + id: `large`, + label: ControlGroupStrings.management.controlWidth.getLargeWidthTitle(), + }, +]; + +export const CONTROL_LAYOUT_OPTIONS = [ + { + id: `oneLine`, + label: ControlGroupStrings.management.controlStyle.getSingleLineTitle(), + }, + { + id: `twoLine`, + label: ControlGroupStrings.management.controlStyle.getTwoLineTitle(), + }, +]; diff --git a/src/plugins/presentation_util/public/components/controls/control_group/control_group_container.tsx b/src/plugins/presentation_util/public/components/controls/control_group/control_group_container.tsx new file mode 100644 index 0000000000000..03249889dfdea --- /dev/null +++ b/src/plugins/presentation_util/public/components/controls/control_group/control_group_container.tsx @@ -0,0 +1,224 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import React from 'react'; +import ReactDOM from 'react-dom'; +import { cloneDeep } from 'lodash'; + +import { + Container, + EmbeddableFactory, + EmbeddableFactoryNotFoundError, +} from '../../../../../embeddable/public'; +import { + InputControlEmbeddable, + InputControlInput, + InputControlOutput, + IEditableControlFactory, + ControlWidth, +} from '../types'; +import { ControlsService } from '../controls_service'; +import { ControlGroupInput, ControlPanelState } from './types'; +import { ManageControlComponent } from './editor/manage_control'; +import { toMountPoint } from '../../../../../kibana_react/public'; +import { ControlGroup } from './component/control_group_component'; +import { PresentationOverlaysService } from '../../../services/overlays'; +import { CONTROL_GROUP_TYPE, DEFAULT_CONTROL_WIDTH } from './control_group_constants'; +import { ManageControlGroup } from './editor/manage_control_group_component'; +import { OverlayRef } from '../../../../../../core/public'; +import { ControlGroupStrings } from './control_group_strings'; + +export class ControlGroupContainer extends Container<InputControlInput, ControlGroupInput> { + public readonly type = CONTROL_GROUP_TYPE; + + private nextControlWidth: ControlWidth = DEFAULT_CONTROL_WIDTH; + + constructor( + initialInput: ControlGroupInput, + private readonly controlsService: ControlsService, + private readonly overlays: PresentationOverlaysService, + parent?: Container + ) { + super(initialInput, { embeddableLoaded: {} }, controlsService.getControlFactory, parent); + this.overlays = overlays; + this.controlsService = controlsService; + } + + protected createNewPanelState<TEmbeddableInput extends InputControlInput = InputControlInput>( + factory: EmbeddableFactory<InputControlInput, InputControlOutput, InputControlEmbeddable>, + partial: Partial<TEmbeddableInput> = {} + ): ControlPanelState<TEmbeddableInput> { + const panelState = super.createNewPanelState(factory, partial); + return { + order: 1, + width: this.nextControlWidth, + ...panelState, + } as ControlPanelState<TEmbeddableInput>; + } + + protected getInheritedInput(id: string): InputControlInput { + const { filters, query, timeRange, inheritParentState } = this.getInput(); + return { + filters: inheritParentState.useFilters ? filters : undefined, + query: inheritParentState.useQuery ? query : undefined, + timeRange: inheritParentState.useTimerange ? timeRange : undefined, + id, + }; + } + + public createNewControl = async (type: string) => { + const factory = this.controlsService.getControlFactory(type); + if (!factory) throw new EmbeddableFactoryNotFoundError(type); + + const initialInputPromise = new Promise<Omit<InputControlInput, 'id'>>((resolve, reject) => { + let inputToReturn: Partial<InputControlInput> = {}; + + const onCancel = (ref: OverlayRef) => { + this.overlays + .openConfirm(ControlGroupStrings.management.discardNewControl.getSubtitle(), { + confirmButtonText: ControlGroupStrings.management.discardNewControl.getConfirm(), + cancelButtonText: ControlGroupStrings.management.discardNewControl.getCancel(), + title: ControlGroupStrings.management.discardNewControl.getTitle(), + buttonColor: 'danger', + }) + .then((confirmed) => { + if (confirmed) { + reject(); + ref.close(); + } + }); + }; + + const flyoutInstance = this.overlays.openFlyout( + toMountPoint( + <ManageControlComponent + width={this.nextControlWidth} + updateTitle={(newTitle) => (inputToReturn.title = newTitle)} + updateWidth={(newWidth) => (this.nextControlWidth = newWidth)} + controlEditorComponent={(factory as IEditableControlFactory).getControlEditor?.({ + onChange: (partialInput) => { + inputToReturn = { ...inputToReturn, ...partialInput }; + }, + })} + onSave={() => { + resolve(inputToReturn); + flyoutInstance.close(); + }} + onCancel={() => onCancel(flyoutInstance)} + /> + ), + { + onClose: (flyout) => onCancel(flyout), + } + ); + }); + initialInputPromise.then( + async (explicitInput) => { + await this.addNewEmbeddable(type, explicitInput); + }, + () => {} // swallow promise rejection because it can be part of normal flow + ); + }; + + public editControl = async (embeddableId: string) => { + const panel = this.getInput().panels[embeddableId]; + const factory = this.getFactory(panel.type); + const embeddable = await this.untilEmbeddableLoaded(embeddableId); + + if (!factory) throw new EmbeddableFactoryNotFoundError(panel.type); + + const initialExplicitInput = cloneDeep(panel.explicitInput); + const initialWidth = panel.width; + + const onCancel = (ref: OverlayRef) => { + this.overlays + .openConfirm(ControlGroupStrings.management.discardChanges.getSubtitle(), { + confirmButtonText: ControlGroupStrings.management.discardChanges.getConfirm(), + cancelButtonText: ControlGroupStrings.management.discardChanges.getCancel(), + title: ControlGroupStrings.management.discardChanges.getTitle(), + buttonColor: 'danger', + }) + .then((confirmed) => { + if (confirmed) { + embeddable.updateInput(initialExplicitInput); + this.updateInput({ + panels: { + ...this.getInput().panels, + [embeddableId]: { ...this.getInput().panels[embeddableId], width: initialWidth }, + }, + }); + ref.close(); + } + }); + }; + + const flyoutInstance = this.overlays.openFlyout( + toMountPoint( + <ManageControlComponent + width={panel.width} + title={embeddable.getTitle()} + removeControl={() => this.removeEmbeddable(embeddableId)} + updateTitle={(newTitle) => embeddable.updateInput({ title: newTitle })} + controlEditorComponent={(factory as IEditableControlFactory).getControlEditor?.({ + onChange: (partialInput) => embeddable.updateInput(partialInput), + initialInput: embeddable.getInput(), + })} + onCancel={() => onCancel(flyoutInstance)} + onSave={() => flyoutInstance.close()} + updateWidth={(newWidth) => + this.updateInput({ + panels: { + ...this.getInput().panels, + [embeddableId]: { ...this.getInput().panels[embeddableId], width: newWidth }, + }, + }) + } + /> + ), + { + onClose: (flyout) => onCancel(flyout), + } + ); + }; + + public editControlGroup = () => { + const flyoutInstance = this.overlays.openFlyout( + toMountPoint( + <ManageControlGroup + controlStyle={this.getInput().controlStyle} + setControlStyle={(newStyle) => this.updateInput({ controlStyle: newStyle })} + deleteAllEmbeddables={() => { + this.overlays + .openConfirm(ControlGroupStrings.management.deleteAllControls.getSubtitle(), { + confirmButtonText: ControlGroupStrings.management.deleteAllControls.getConfirm(), + cancelButtonText: ControlGroupStrings.management.deleteAllControls.getCancel(), + title: ControlGroupStrings.management.deleteAllControls.getTitle(), + buttonColor: 'danger', + }) + .then((confirmed) => { + if (confirmed) { + Object.keys(this.getInput().panels).forEach((id) => this.removeEmbeddable(id)); + flyoutInstance.close(); + } + }); + }} + setAllPanelWidths={(newWidth) => { + const newPanels = cloneDeep(this.getInput().panels); + Object.values(newPanels).forEach((panel) => (panel.width = newWidth)); + this.updateInput({ panels: { ...newPanels, ...newPanels } }); + }} + panels={this.getInput().panels} + /> + ) + ); + }; + + public render(dom: HTMLElement) { + ReactDOM.render(<ControlGroup controlGroupContainer={this} />, dom); + } +} diff --git a/src/plugins/presentation_util/public/components/controls/control_group/control_group_container_factory.ts b/src/plugins/presentation_util/public/components/controls/control_group/control_group_container_factory.ts new file mode 100644 index 0000000000000..97ef48e6b240c --- /dev/null +++ b/src/plugins/presentation_util/public/components/controls/control_group/control_group_container_factory.ts @@ -0,0 +1,72 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { + Container, + ContainerOutput, + EmbeddableFactory, + EmbeddableFactoryDefinition, + ErrorEmbeddable, +} from '../../../../../embeddable/public'; +import { ControlGroupInput } from './types'; +import { ControlsService } from '../controls_service'; +import { ControlGroupStrings } from './control_group_strings'; +import { CONTROL_GROUP_TYPE } from './control_group_constants'; +import { ControlGroupContainer } from './control_group_container'; +import { PresentationOverlaysService } from '../../../services/overlays'; + +export type DashboardContainerFactory = EmbeddableFactory< + ControlGroupInput, + ContainerOutput, + ControlGroupContainer +>; +export class ControlGroupContainerFactory + implements EmbeddableFactoryDefinition<ControlGroupInput, ContainerOutput, ControlGroupContainer> +{ + public readonly isContainerType = true; + public readonly type = CONTROL_GROUP_TYPE; + public readonly controlsService: ControlsService; + private readonly overlays: PresentationOverlaysService; + + constructor(controlsService: ControlsService, overlays: PresentationOverlaysService) { + this.overlays = overlays; + this.controlsService = controlsService; + } + + public isEditable = async () => false; + + public readonly getDisplayName = () => { + return ControlGroupStrings.getEmbeddableTitle(); + }; + + public getDefaultInput(): Partial<ControlGroupInput> { + return { + panels: {}, + inheritParentState: { + useFilters: true, + useQuery: true, + useTimerange: true, + }, + }; + } + + public create = async ( + initialInput: ControlGroupInput, + parent?: Container + ): Promise<ControlGroupContainer | ErrorEmbeddable> => { + return new ControlGroupContainer(initialInput, this.controlsService, this.overlays, parent); + }; +} diff --git a/src/plugins/presentation_util/public/components/controls/control_group/control_group_strings.ts b/src/plugins/presentation_util/public/components/controls/control_group/control_group_strings.ts new file mode 100644 index 0000000000000..78e50d8651931 --- /dev/null +++ b/src/plugins/presentation_util/public/components/controls/control_group/control_group_strings.ts @@ -0,0 +1,176 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { i18n } from '@kbn/i18n'; + +export const ControlGroupStrings = { + getEmbeddableTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.title', { + defaultMessage: 'Control group', + }), + manageControl: { + getFlyoutTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.manageControl.flyoutTitle', { + defaultMessage: 'Manage control', + }), + getTitleInputTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.manageControl.titleInputTitle', { + defaultMessage: 'Title', + }), + getWidthInputTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.manageControl.widthInputTitle', { + defaultMessage: 'Control width', + }), + getSaveChangesTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.manageControl.saveChangesTitle', { + defaultMessage: 'Save and close', + }), + getCancelTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.manageControl.cancelTitle', { + defaultMessage: 'Cancel', + }), + }, + management: { + getAddControlTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.addControl', { + defaultMessage: 'Add control', + }), + getManageButtonTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.buttonTitle', { + defaultMessage: 'Manage controls', + }), + getFlyoutTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.flyoutTitle', { + defaultMessage: 'Manage controls', + }), + getDesignTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.designTitle', { + defaultMessage: 'Design', + }), + getWidthTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.widthTitle', { + defaultMessage: 'Width', + }), + getLayoutTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.layoutTitle', { + defaultMessage: 'Layout', + }), + getDeleteButtonTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.delete', { + defaultMessage: 'Delete control', + }), + getDeleteAllButtonTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.deleteAll', { + defaultMessage: 'Delete all', + }), + controlWidth: { + getChangeAllControlWidthsTitle: () => + i18n.translate( + 'presentationUtil.inputControls.controlGroup.management.layout.changeAllControlWidths', + { + defaultMessage: 'Set width for all controls', + } + ), + getWidthSwitchLegend: () => + i18n.translate( + 'presentationUtil.inputControls.controlGroup.management.layout.controlWidthLegend', + { + defaultMessage: 'Change individual control width', + } + ), + getAutoWidthTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.layout.auto', { + defaultMessage: 'Auto', + }), + getSmallWidthTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.layout.small', { + defaultMessage: 'Small', + }), + getMediumWidthTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.layout.medium', { + defaultMessage: 'Medium', + }), + getLargeWidthTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.layout.large', { + defaultMessage: 'Large', + }), + }, + controlStyle: { + getDesignSwitchLegend: () => + i18n.translate( + 'presentationUtil.inputControls.controlGroup.management.layout.designSwitchLegend', + { + defaultMessage: 'Switch control designs', + } + ), + getSingleLineTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.layout.singleLine', { + defaultMessage: 'Single line layout', + }), + getTwoLineTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.layout.twoLine', { + defaultMessage: 'Two line layout', + }), + }, + deleteAllControls: { + getTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.deleteAll.title', { + defaultMessage: 'Delete all?', + }), + getSubtitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.deleteAll.sub', { + defaultMessage: 'Controls are not recoverable once removed.', + }), + getConfirm: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.deleteAll.confirm', { + defaultMessage: 'Delete', + }), + getCancel: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.deleteAll.cancel', { + defaultMessage: 'Cancel', + }), + }, + discardChanges: { + getTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.discard.title', { + defaultMessage: 'Discard?', + }), + getSubtitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.discard.sub', { + defaultMessage: + 'Discard changes to this control? Controls are not recoverable once removed.', + }), + getConfirm: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.discard.confirm', { + defaultMessage: 'Discard', + }), + getCancel: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.discard.cancel', { + defaultMessage: 'Cancel', + }), + }, + discardNewControl: { + getTitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.deleteNew.title', { + defaultMessage: 'Discard?', + }), + getSubtitle: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.deleteNew.sub', { + defaultMessage: 'Discard new control? Controls are not recoverable once removed.', + }), + getConfirm: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.deleteNew.confirm', { + defaultMessage: 'Discard', + }), + getCancel: () => + i18n.translate('presentationUtil.inputControls.controlGroup.management.deleteNew.cancel', { + defaultMessage: 'Cancel', + }), + }, + }, +}; diff --git a/src/plugins/presentation_util/public/components/controls/control_group/editor/manage_control.tsx b/src/plugins/presentation_util/public/components/controls/control_group/editor/manage_control.tsx new file mode 100644 index 0000000000000..6d80a6e0b31f6 --- /dev/null +++ b/src/plugins/presentation_util/public/components/controls/control_group/editor/manage_control.tsx @@ -0,0 +1,150 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import React, { useEffect, useState } from 'react'; +import { + EuiFlyoutHeader, + EuiButtonGroup, + EuiFlyoutBody, + EuiFlexGroup, + EuiFlexItem, + EuiTitle, + EuiFieldText, + EuiFlyoutFooter, + EuiButton, + EuiFormRow, + EuiForm, + EuiButtonEmpty, + EuiSpacer, +} from '@elastic/eui'; + +import { ControlGroupStrings } from '../control_group_strings'; +import { ControlEditorComponent, ControlWidth } from '../../types'; +import { CONTROL_WIDTH_OPTIONS } from '../control_group_constants'; + +interface ManageControlProps { + title?: string; + onSave: () => void; + width: ControlWidth; + onCancel: () => void; + removeControl?: () => void; + controlEditorComponent?: ControlEditorComponent; + updateTitle: (title: string) => void; + updateWidth: (newWidth: ControlWidth) => void; +} + +export const ManageControlComponent = ({ + controlEditorComponent, + removeControl, + updateTitle, + updateWidth, + onCancel, + onSave, + title, + width, +}: ManageControlProps) => { + const [currentTitle, setCurrentTitle] = useState(title); + const [currentWidth, setCurrentWidth] = useState(width); + + const [controlEditorValid, setControlEditorValid] = useState(false); + const [editorValid, setEditorValid] = useState(false); + + useEffect(() => setEditorValid(Boolean(currentTitle)), [currentTitle]); + + return ( + <> + <EuiFlyoutHeader hasBorder> + <EuiTitle size="m"> + <h2>{ControlGroupStrings.manageControl.getFlyoutTitle()}</h2> + </EuiTitle> + </EuiFlyoutHeader> + <EuiFlyoutBody> + <EuiForm> + <EuiFormRow label={ControlGroupStrings.manageControl.getTitleInputTitle()}> + <EuiFieldText + placeholder="Placeholder text" + value={currentTitle} + onChange={(e) => { + updateTitle(e.target.value); + setCurrentTitle(e.target.value); + }} + aria-label="Use aria labels when no actual label is in use" + /> + </EuiFormRow> + <EuiFormRow label={ControlGroupStrings.manageControl.getWidthInputTitle()}> + <EuiButtonGroup + color="primary" + legend={ControlGroupStrings.management.controlWidth.getWidthSwitchLegend()} + options={CONTROL_WIDTH_OPTIONS} + idSelected={currentWidth} + onChange={(newWidth: string) => { + setCurrentWidth(newWidth as ControlWidth); + updateWidth(newWidth as ControlWidth); + }} + /> + </EuiFormRow> + + <EuiSpacer size="l" /> + {controlEditorComponent && + controlEditorComponent({ setValidState: setControlEditorValid })} + <EuiSpacer size="l" /> + {removeControl && ( + <EuiButtonEmpty + aria-label={`delete-${title}`} + iconType="trash" + flush="left" + color="danger" + onClick={() => { + onCancel(); + removeControl(); + }} + > + {ControlGroupStrings.management.getDeleteButtonTitle()} + </EuiButtonEmpty> + )} + </EuiForm> + </EuiFlyoutBody> + <EuiFlyoutFooter> + <EuiFlexGroup justifyContent="spaceBetween"> + <EuiFlexItem grow={false}> + <EuiButtonEmpty + aria-label={`delete-${title}`} + iconType="cross" + onClick={() => { + onCancel(); + }} + > + {ControlGroupStrings.manageControl.getCancelTitle()} + </EuiButtonEmpty> + </EuiFlexItem> + <EuiFlexItem grow={false}> + <EuiButton + aria-label={`delete-${title}`} + iconType="check" + color="primary" + disabled={!editorValid || !controlEditorValid} + onClick={() => { + onSave(); + }} + > + {ControlGroupStrings.manageControl.getSaveChangesTitle()} + </EuiButton> + </EuiFlexItem> + </EuiFlexGroup> + </EuiFlyoutFooter> + </> + ); +}; diff --git a/src/plugins/presentation_util/public/components/controls/control_group/editor/manage_control_group_component.tsx b/src/plugins/presentation_util/public/components/controls/control_group/editor/manage_control_group_component.tsx new file mode 100644 index 0000000000000..e766b16ade13a --- /dev/null +++ b/src/plugins/presentation_util/public/components/controls/control_group/editor/manage_control_group_component.tsx @@ -0,0 +1,113 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import useMount from 'react-use/lib/useMount'; +import React, { useState } from 'react'; +import { + EuiFlyoutHeader, + EuiButtonEmpty, + EuiButtonGroup, + EuiFlyoutBody, + EuiFormRow, + EuiSpacer, + EuiSwitch, + EuiTitle, +} from '@elastic/eui'; + +import { ControlsPanels } from '../types'; +import { ControlStyle, ControlWidth } from '../../types'; +import { ControlGroupStrings } from '../control_group_strings'; +import { CONTROL_LAYOUT_OPTIONS, CONTROL_WIDTH_OPTIONS } from '../control_group_constants'; + +interface ManageControlGroupProps { + panels: ControlsPanels; + controlStyle: ControlStyle; + deleteAllEmbeddables: () => void; + setControlStyle: (style: ControlStyle) => void; + setAllPanelWidths: (newWidth: ControlWidth) => void; +} + +export const ManageControlGroup = ({ + panels, + controlStyle, + setControlStyle, + setAllPanelWidths, + deleteAllEmbeddables, +}: ManageControlGroupProps) => { + const [currentControlStyle, setCurrentControlStyle] = useState<ControlStyle>(controlStyle); + const [selectedWidth, setSelectedWidth] = useState<ControlWidth>(); + const [selectionDisplay, setSelectionDisplay] = useState(false); + + useMount(() => { + if (!panels || Object.keys(panels).length === 0) return; + const firstWidth = panels[Object.keys(panels)[0]].width; + if (Object.values(panels).every((panel) => panel.width === firstWidth)) { + setSelectedWidth(firstWidth); + } + }); + + return ( + <> + <EuiFlyoutHeader hasBorder> + <EuiTitle size="m"> + <h2>{ControlGroupStrings.management.getFlyoutTitle()}</h2> + </EuiTitle> + </EuiFlyoutHeader> + <EuiFlyoutBody> + <EuiFormRow label={ControlGroupStrings.management.getLayoutTitle()}> + <EuiButtonGroup + color="primary" + legend={ControlGroupStrings.management.controlStyle.getDesignSwitchLegend()} + options={CONTROL_LAYOUT_OPTIONS} + idSelected={currentControlStyle} + onChange={(newControlStyle) => { + setControlStyle(newControlStyle as ControlStyle); + setCurrentControlStyle(newControlStyle as ControlStyle); + }} + /> + </EuiFormRow> + <EuiSpacer size="m" /> + <EuiFormRow label={ControlGroupStrings.management.getWidthTitle()}> + <EuiSwitch + label={ControlGroupStrings.management.controlWidth.getChangeAllControlWidthsTitle()} + checked={selectionDisplay} + onChange={() => setSelectionDisplay(!selectionDisplay)} + /> + </EuiFormRow> + {selectionDisplay ? ( + <> + <EuiSpacer size="s" /> + <EuiButtonGroup + color="primary" + idSelected={selectedWidth ?? ''} + legend={ControlGroupStrings.management.controlWidth.getWidthSwitchLegend()} + options={CONTROL_WIDTH_OPTIONS} + onChange={(newWidth: string) => { + setAllPanelWidths(newWidth as ControlWidth); + setSelectedWidth(newWidth as ControlWidth); + }} + /> + </> + ) : undefined} + + <EuiSpacer size="xl" /> + + <EuiButtonEmpty + onClick={deleteAllEmbeddables} + aria-label={'delete-all'} + iconType="trash" + color="danger" + flush="left" + size="s" + > + {ControlGroupStrings.management.getDeleteAllButtonTitle()} + </EuiButtonEmpty> + </EuiFlyoutBody> + </> + ); +}; diff --git a/src/plugins/presentation_util/public/components/controls/control_group/types.ts b/src/plugins/presentation_util/public/components/controls/control_group/types.ts new file mode 100644 index 0000000000000..fb381610711e5 --- /dev/null +++ b/src/plugins/presentation_util/public/components/controls/control_group/types.ts @@ -0,0 +1,32 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { PanelState, EmbeddableInput } from '../../../../../embeddable/public'; +import { ControlStyle, ControlWidth, InputControlInput } from '../types'; + +export interface ControlGroupInput + extends EmbeddableInput, + Omit<InputControlInput, 'twoLineLayout'> { + inheritParentState: { + useFilters: boolean; + useQuery: boolean; + useTimerange: boolean; + }; + controlStyle: ControlStyle; + panels: ControlsPanels; +} + +export interface ControlPanelState<TEmbeddableInput extends InputControlInput = InputControlInput> + extends PanelState<TEmbeddableInput> { + order: number; + width: ControlWidth; +} + +export interface ControlsPanels { + [panelId: string]: ControlPanelState; +} diff --git a/src/plugins/presentation_util/public/components/input_controls/control_types/options_list/index.ts b/src/plugins/presentation_util/public/components/controls/control_types/options_list/index.ts similarity index 100% rename from src/plugins/presentation_util/public/components/input_controls/control_types/options_list/index.ts rename to src/plugins/presentation_util/public/components/controls/control_types/options_list/index.ts diff --git a/src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list.scss b/src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list.scss similarity index 100% rename from src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list.scss rename to src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list.scss diff --git a/src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_component.tsx b/src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_component.tsx similarity index 97% rename from src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_component.tsx rename to src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_component.tsx index 4aff1ff4eee96..0d12c69fdab46 100644 --- a/src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_component.tsx +++ b/src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_component.tsx @@ -15,7 +15,7 @@ import { OptionsListStrings } from './options_list_strings'; import { OptionsListPopover } from './options_list_popover_component'; import './options_list.scss'; -import { useStateObservable } from '../../use_state_observable'; +import { useStateObservable } from '../../hooks/use_state_observable'; export interface OptionsListComponentState { availableOptions?: EuiSelectableOption[]; diff --git a/src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_editor.tsx b/src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_editor.tsx new file mode 100644 index 0000000000000..3e5770da22ce9 --- /dev/null +++ b/src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_editor.tsx @@ -0,0 +1,108 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { EuiFormRow, EuiSuperSelect, EuiSuperSelectOption } from '@elastic/eui'; +import React, { useEffect, useState } from 'react'; +import useMount from 'react-use/lib/useMount'; +import { ControlEditorProps, GetControlEditorComponentProps } from '../../types'; +import { + OptionsListEmbeddableInput, + OptionsListFieldFetcher, + OptionsListIndexPatternFetcher, +} from './options_list_embeddable'; +import { OptionsListStrings } from './options_list_strings'; + +interface OptionsListEditorProps extends ControlEditorProps { + onChange: GetControlEditorComponentProps<OptionsListEmbeddableInput>['onChange']; + fetchIndexPatterns: OptionsListIndexPatternFetcher; + initialInput?: Partial<OptionsListEmbeddableInput>; + fetchFields: OptionsListFieldFetcher; +} + +interface OptionsListEditorState { + availableIndexPatterns: Array<EuiSuperSelectOption<string>>; + indexPattern?: string; + availableFields: Array<EuiSuperSelectOption<string>>; + field?: string; +} + +export const OptionsListEditor = ({ + onChange, + fetchFields, + initialInput, + setValidState, + fetchIndexPatterns, +}: OptionsListEditorProps) => { + const [state, setState] = useState<OptionsListEditorState>({ + indexPattern: initialInput?.indexPattern, + field: initialInput?.field, + availableIndexPatterns: [], + availableFields: [], + }); + + const applySelection = ({ field, indexPattern }: { field?: string; indexPattern?: string }) => { + const newState = { ...(field ? { field } : {}), ...(indexPattern ? { indexPattern } : {}) }; + /** + * apply state and run onChange concurrently. State is copied here rather than by subscribing to embeddable + * input so that the same editor component can cover the 'create' use case. + */ + + setState((currentState) => { + return { ...currentState, ...newState }; + }); + onChange(newState); + }; + + useMount(() => { + (async () => { + const indexPatterns = (await fetchIndexPatterns()).map((indexPattern) => ({ + value: indexPattern, + inputDisplay: indexPattern, + })); + setState((currentState) => ({ ...currentState, availableIndexPatterns: indexPatterns })); + })(); + }); + + useEffect(() => { + (async () => { + let availableFields: Array<EuiSuperSelectOption<string>> = []; + if (state.indexPattern) { + availableFields = (await fetchFields(state.indexPattern)).map((field) => ({ + value: field, + inputDisplay: field, + })); + } + setState((currentState) => ({ ...currentState, availableFields })); + })(); + }, [state.indexPattern, fetchFields]); + + useEffect( + () => setValidState(Boolean(state.field) && Boolean(state.indexPattern)), + [state.field, setValidState, state.indexPattern] + ); + + return ( + <> + <EuiFormRow label={OptionsListStrings.editor.getIndexPatternTitle()}> + <EuiSuperSelect + options={state.availableIndexPatterns} + onChange={(indexPattern) => applySelection({ indexPattern })} + valueOfSelected={state.indexPattern} + /> + </EuiFormRow> + <EuiFormRow label={OptionsListStrings.editor.getFieldTitle()}> + <EuiSuperSelect + disabled={!state.indexPattern} + options={state.availableFields} + onChange={(field) => applySelection({ field })} + valueOfSelected={state.field} + /> + </EuiFormRow> + </> + ); +}; diff --git a/src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_embeddable.tsx b/src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable.tsx similarity index 91% rename from src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_embeddable.tsx rename to src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable.tsx index bdd3660606b7e..93a7b3e353bdf 100644 --- a/src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_embeddable.tsx +++ b/src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable.tsx @@ -15,9 +15,9 @@ import { tap, debounceTime, map, distinctUntilChanged } from 'rxjs/operators'; import { esFilters } from '../../../../../../data/public'; import { OptionsListStrings } from './options_list_strings'; +import { Embeddable, IContainer } from '../../../../../../embeddable/public'; +import { InputControlInput, InputControlOutput } from '../../types'; import { OptionsListComponent, OptionsListComponentState } from './options_list_component'; -import { Embeddable } from '../../../../../../embeddable/public'; -import { InputControlInput, InputControlOutput } from '../../embeddable/types'; const toggleAvailableOptions = ( indices: number[], @@ -50,6 +50,9 @@ interface OptionsListDataFetchProps { timeRange?: InputControlInput['timeRange']; } +export type OptionsListIndexPatternFetcher = () => Promise<string[]>; // TODO: use the proper types here. +export type OptionsListFieldFetcher = (indexPattern: string) => Promise<string[]>; // TODO: use the proper types here. + export type OptionsListDataFetcher = ( props: OptionsListDataFetchProps ) => Promise<EuiSelectableOption[]>; @@ -58,7 +61,7 @@ export const OPTIONS_LIST_CONTROL = 'optionsListControl'; export interface OptionsListEmbeddableInput extends InputControlInput { field: string; indexPattern: string; - multiSelect: boolean; + singleSelect?: boolean; defaultSelections?: string[]; } export class OptionsListEmbeddable extends Embeddable< @@ -66,14 +69,11 @@ export class OptionsListEmbeddable extends Embeddable< InputControlOutput > { public readonly type = OPTIONS_LIST_CONTROL; - private node?: HTMLElement; - private fetchData: OptionsListDataFetcher; // internal state for this input control. private selectedOptions: Set<string>; private typeaheadSubject: Subject<string> = new Subject<string>(); - private searchString: string = ''; private componentState: OptionsListComponentState; private componentStateSubject$ = new Subject<OptionsListComponentState>(); @@ -88,9 +88,10 @@ export class OptionsListEmbeddable extends Embeddable< constructor( input: OptionsListEmbeddableInput, output: InputControlOutput, - fetchData: OptionsListDataFetcher + private fetchData: OptionsListDataFetcher, + parent?: IContainer ) { - super(input, output); + super(input, output, parent); this.fetchData = fetchData; // populate default selections from input @@ -99,7 +100,7 @@ export class OptionsListEmbeddable extends Embeddable< // fetch available options when input changes or when search string has changed const typeaheadPipe = this.typeaheadSubject.pipe( - tap((newSearchString) => (this.searchString = newSearchString)), + tap((newSearchString) => this.updateComponentState({ searchString: newSearchString })), debounceTime(100) ); const inputPipe = this.getInput$().pipe( @@ -136,7 +137,7 @@ export class OptionsListEmbeddable extends Embeddable< const { indexPattern, timeRange, filters, field, query } = this.getInput(); let newOptions = await this.fetchData({ - search: this.searchString, + search: this.componentState.searchString, indexPattern, timeRange, filters, diff --git a/src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable_factory.tsx b/src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable_factory.tsx new file mode 100644 index 0000000000000..01c31a0bcbc51 --- /dev/null +++ b/src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_embeddable_factory.tsx @@ -0,0 +1,63 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import React from 'react'; +import { EmbeddableFactoryDefinition, IContainer } from '../../../../../../embeddable/public'; +import { + ControlEditorProps, + GetControlEditorComponentProps, + IEditableControlFactory, +} from '../../types'; +import { OptionsListEditor } from './options_list_editor'; +import { + OptionsListDataFetcher, + OptionsListEmbeddable, + OptionsListEmbeddableInput, + OptionsListFieldFetcher, + OptionsListIndexPatternFetcher, + OPTIONS_LIST_CONTROL, +} from './options_list_embeddable'; + +export class OptionsListEmbeddableFactory + implements EmbeddableFactoryDefinition, IEditableControlFactory +{ + public type = OPTIONS_LIST_CONTROL; + + constructor( + private fetchData: OptionsListDataFetcher, + private fetchIndexPatterns: OptionsListIndexPatternFetcher, + private fetchFields: OptionsListFieldFetcher + ) { + this.fetchIndexPatterns = fetchIndexPatterns; + this.fetchFields = fetchFields; + this.fetchData = fetchData; + } + + public create(initialInput: OptionsListEmbeddableInput, parent?: IContainer) { + return Promise.resolve(new OptionsListEmbeddable(initialInput, {}, this.fetchData, parent)); + } + + public getControlEditor = ({ + onChange, + initialInput, + }: GetControlEditorComponentProps<OptionsListEmbeddableInput>) => { + return ({ setValidState }: ControlEditorProps) => ( + <OptionsListEditor + fetchIndexPatterns={this.fetchIndexPatterns} + fetchFields={this.fetchFields} + setValidState={setValidState} + initialInput={initialInput} + onChange={onChange} + /> + ); + }; + + public isEditable = () => Promise.resolve(false); + + public getDisplayName = () => 'Options List Control'; +} diff --git a/src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_popover_component.tsx b/src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_popover_component.tsx similarity index 100% rename from src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_popover_component.tsx rename to src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_popover_component.tsx diff --git a/src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_strings.ts b/src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_strings.ts similarity index 76% rename from src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_strings.ts rename to src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_strings.ts index 2211ae14cb9bd..c07881020c9c2 100644 --- a/src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_strings.ts +++ b/src/plugins/presentation_util/public/components/controls/control_types/options_list/options_list_strings.ts @@ -19,6 +19,16 @@ export const OptionsListStrings = { defaultMessage: 'Select...', }), }, + editor: { + getIndexPatternTitle: () => + i18n.translate('presentationUtil.inputControls.optionsList.editor.indexPatternTitle', { + defaultMessage: 'Index pattern', + }), + getFieldTitle: () => + i18n.translate('presentationUtil.inputControls.optionsList.editor.fieldTitle', { + defaultMessage: 'Field', + }), + }, popover: { getLoadingMessage: () => i18n.translate('presentationUtil.inputControls.optionsList.popover.loading', { diff --git a/src/plugins/presentation_util/public/components/controls/controls_service.ts b/src/plugins/presentation_util/public/components/controls/controls_service.ts new file mode 100644 index 0000000000000..4e01f3cf9ab6a --- /dev/null +++ b/src/plugins/presentation_util/public/components/controls/controls_service.ts @@ -0,0 +1,36 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { EmbeddableFactory } from '../../../../embeddable/public'; +import { + ControlTypeRegistry, + InputControlEmbeddable, + InputControlFactory, + InputControlInput, + InputControlOutput, +} from './types'; + +export class ControlsService { + private controlsFactoriesMap: ControlTypeRegistry = {}; + + public registerInputControlType = (factory: InputControlFactory) => { + this.controlsFactoriesMap[factory.type] = factory; + }; + + public getControlFactory = < + I extends InputControlInput = InputControlInput, + O extends InputControlOutput = InputControlOutput, + E extends InputControlEmbeddable<I, O> = InputControlEmbeddable<I, O> + >( + type: string + ) => { + return this.controlsFactoriesMap[type] as EmbeddableFactory<I, O, E>; + }; + + public getInputControlTypes = () => Object.keys(this.controlsFactoriesMap); +} diff --git a/src/plugins/presentation_util/public/components/controls/hooks/use_child_embeddable.ts b/src/plugins/presentation_util/public/components/controls/hooks/use_child_embeddable.ts new file mode 100644 index 0000000000000..82b9aa528bf35 --- /dev/null +++ b/src/plugins/presentation_util/public/components/controls/hooks/use_child_embeddable.ts @@ -0,0 +1,34 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ +import { useEffect, useState } from 'react'; +import { InputControlEmbeddable } from '../types'; +import { IContainer } from '../../../../../embeddable/public'; + +export const useChildEmbeddable = ({ + container, + embeddableId, +}: { + container: IContainer; + embeddableId: string; +}) => { + const [embeddable, setEmbeddable] = useState<InputControlEmbeddable>(); + + useEffect(() => { + let mounted = true; + (async () => { + const newEmbeddable = await container.untilEmbeddableLoaded(embeddableId); + if (!mounted) return; + setEmbeddable(newEmbeddable); + })(); + return () => { + mounted = false; + }; + }, [container, embeddableId]); + + return embeddable; +}; diff --git a/src/plugins/presentation_util/public/components/input_controls/use_state_observable.ts b/src/plugins/presentation_util/public/components/controls/hooks/use_state_observable.ts similarity index 100% rename from src/plugins/presentation_util/public/components/input_controls/use_state_observable.ts rename to src/plugins/presentation_util/public/components/controls/hooks/use_state_observable.ts diff --git a/src/plugins/presentation_util/public/components/input_controls/index.ts b/src/plugins/presentation_util/public/components/controls/index.ts similarity index 100% rename from src/plugins/presentation_util/public/components/input_controls/index.ts rename to src/plugins/presentation_util/public/components/controls/index.ts diff --git a/src/plugins/presentation_util/public/components/controls/types.ts b/src/plugins/presentation_util/public/components/controls/types.ts new file mode 100644 index 0000000000000..c94e2957e34ea --- /dev/null +++ b/src/plugins/presentation_util/public/components/controls/types.ts @@ -0,0 +1,69 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { Filter } from '@kbn/es-query'; +import { Query, TimeRange } from '../../../../data/public'; +import { + EmbeddableFactory, + EmbeddableInput, + EmbeddableOutput, + IEmbeddable, +} from '../../../../embeddable/public'; + +export type ControlWidth = 'auto' | 'small' | 'medium' | 'large'; +export type ControlStyle = 'twoLine' | 'oneLine'; + +/** + * Control embeddable types + */ +export type InputControlFactory = EmbeddableFactory< + InputControlInput, + InputControlOutput, + InputControlEmbeddable +>; + +export interface ControlTypeRegistry { + [key: string]: InputControlFactory; +} + +export type InputControlInput = EmbeddableInput & { + query?: Query; + filters?: Filter[]; + timeRange?: TimeRange; + twoLineLayout?: boolean; +}; + +export type InputControlOutput = EmbeddableOutput & { + filters?: Filter[]; +}; + +export type InputControlEmbeddable< + TInputControlEmbeddableInput extends InputControlInput = InputControlInput, + TInputControlEmbeddableOutput extends InputControlOutput = InputControlOutput +> = IEmbeddable<TInputControlEmbeddableInput, TInputControlEmbeddableOutput>; + +/** + * Control embeddable editor types + */ +export interface IEditableControlFactory<T extends InputControlInput = InputControlInput> { + getControlEditor?: GetControlEditorComponent<T>; +} + +export type GetControlEditorComponent<T extends InputControlInput = InputControlInput> = ( + props: GetControlEditorComponentProps<T> +) => ControlEditorComponent; +export interface GetControlEditorComponentProps<T extends InputControlInput = InputControlInput> { + onChange: (partial: Partial<T>) => void; + initialInput?: Partial<T>; +} + +export type ControlEditorComponent = (props: ControlEditorProps) => JSX.Element; + +export interface ControlEditorProps { + setValidState: (valid: boolean) => void; +} diff --git a/src/plugins/presentation_util/public/components/input_controls/__stories__/input_controls.stories.tsx b/src/plugins/presentation_util/public/components/input_controls/__stories__/input_controls.stories.tsx deleted file mode 100644 index d1ad3af0daf44..0000000000000 --- a/src/plugins/presentation_util/public/components/input_controls/__stories__/input_controls.stories.tsx +++ /dev/null @@ -1,88 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import React, { useEffect, useMemo, useState } from 'react'; - -import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; - -import { decorators } from './decorators'; -import { getEuiSelectableOptions, flightFields, flightFieldLabels, FlightField } from './flights'; -import { OptionsListEmbeddableFactory, OptionsListEmbeddable } from '../control_types/options_list'; -import { ControlFrame } from '../control_frame/control_frame'; - -export default { - title: 'Input Controls', - description: '', - decorators, -}; - -interface OptionsListStorybookArgs { - fields: string[]; - twoLine: boolean; -} - -const storybookArgs = { - twoLine: false, - fields: ['OriginCityName', 'OriginWeather', 'DestCityName', 'DestWeather'], -}; - -const storybookArgTypes = { - fields: { - twoLine: { - control: { type: 'bool' }, - }, - control: { - type: 'check', - options: flightFields, - }, - }, -}; - -const OptionsListStoryComponent = ({ fields, twoLine }: OptionsListStorybookArgs) => { - const [embeddables, setEmbeddables] = useState<OptionsListEmbeddable[]>([]); - - const optionsListEmbeddableFactory = useMemo( - () => - new OptionsListEmbeddableFactory( - ({ field, search }) => - new Promise((r) => setTimeout(() => r(getEuiSelectableOptions(field, search)), 500)) - ), - [] - ); - - useEffect(() => { - const embeddableCreatePromises = fields.map((field) => { - return optionsListEmbeddableFactory.create({ - field, - id: '', - indexPattern: '', - multiSelect: true, - twoLineLayout: twoLine, - title: flightFieldLabels[field as FlightField], - }); - }); - Promise.all(embeddableCreatePromises).then((newEmbeddables) => setEmbeddables(newEmbeddables)); - }, [fields, optionsListEmbeddableFactory, twoLine]); - - return ( - <EuiFlexGroup alignItems="center" wrap={true} gutterSize={'s'}> - {embeddables.map((embeddable) => ( - <EuiFlexItem key={embeddable.getInput().field}> - <ControlFrame twoLine={twoLine} embeddable={embeddable} /> - </EuiFlexItem> - ))} - </EuiFlexGroup> - ); -}; - -export const OptionsListStory = ({ fields, twoLine }: OptionsListStorybookArgs) => ( - <OptionsListStoryComponent fields={fields} twoLine={twoLine} /> -); - -OptionsListStory.args = storybookArgs; -OptionsListStory.argTypes = storybookArgTypes; diff --git a/src/plugins/presentation_util/public/components/input_controls/control_frame/control_frame.scss b/src/plugins/presentation_util/public/components/input_controls/control_frame/control_frame.scss deleted file mode 100644 index ad054be022c32..0000000000000 --- a/src/plugins/presentation_util/public/components/input_controls/control_frame/control_frame.scss +++ /dev/null @@ -1,14 +0,0 @@ -.controlFrame--formControlLayout { - width: 100%; - min-width: $euiSize * 12.5; -} - -.controlFrame--control { - &.optionsList--filterBtnSingle { - height: 100%; - } -} - -.optionsList--filterBtnTwoLine { - width: 100%; -} \ No newline at end of file diff --git a/src/plugins/presentation_util/public/components/input_controls/control_frame/control_frame.tsx b/src/plugins/presentation_util/public/components/input_controls/control_frame/control_frame.tsx deleted file mode 100644 index 7fa8688ffb368..0000000000000 --- a/src/plugins/presentation_util/public/components/input_controls/control_frame/control_frame.tsx +++ /dev/null @@ -1,58 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import React, { useMemo } from 'react'; -import useMount from 'react-use/lib/useMount'; -import classNames from 'classnames'; -import { EuiFormControlLayout, EuiFormLabel, EuiFormRow } from '@elastic/eui'; - -import { InputControlEmbeddable } from '../embeddable/types'; - -import './control_frame.scss'; - -interface ControlFrameProps { - embeddable: InputControlEmbeddable; - twoLine?: boolean; -} - -export const ControlFrame = ({ twoLine, embeddable }: ControlFrameProps) => { - const embeddableRoot: React.RefObject<HTMLDivElement> = useMemo(() => React.createRef(), []); - - useMount(() => { - if (embeddableRoot.current && embeddable) embeddable.render(embeddableRoot.current); - }); - - const form = ( - <EuiFormControlLayout - className="controlFrame--formControlLayout" - fullWidth - prepend={ - twoLine ? undefined : ( - <EuiFormLabel htmlFor={embeddable.id}>{embeddable.getInput().title}</EuiFormLabel> - ) - } - > - <div - className={classNames('controlFrame--control', { - 'optionsList--filterBtnTwoLine': twoLine, - 'optionsList--filterBtnSingle': !twoLine, - })} - id={embeddable.id} - ref={embeddableRoot} - /> - </EuiFormControlLayout> - ); - - return twoLine ? ( - <EuiFormRow fullWidth label={embeddable.getInput().title}> - {form} - </EuiFormRow> - ) : ( - form - ); -}; diff --git a/src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_embeddable_factory.ts b/src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_embeddable_factory.ts deleted file mode 100644 index e1850e6715e34..0000000000000 --- a/src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_embeddable_factory.ts +++ /dev/null @@ -1,32 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { EmbeddableFactoryDefinition } from '../../../../../../embeddable/public'; -import { - OptionsListDataFetcher, - OptionsListEmbeddable, - OptionsListEmbeddableInput, - OPTIONS_LIST_CONTROL, -} from './options_list_embeddable'; - -export class OptionsListEmbeddableFactory implements EmbeddableFactoryDefinition { - public type = OPTIONS_LIST_CONTROL; - private fetchData: OptionsListDataFetcher; - - constructor(fetchData: OptionsListDataFetcher) { - this.fetchData = fetchData; - } - - public create(initialInput: OptionsListEmbeddableInput) { - return Promise.resolve(new OptionsListEmbeddable(initialInput, {}, this.fetchData)); - } - - public isEditable = () => Promise.resolve(false); - - public getDisplayName = () => 'Options List Control'; -} diff --git a/src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts b/src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts deleted file mode 100644 index 00be17932ba1f..0000000000000 --- a/src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * 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 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { Filter, Query, TimeRange } from '../../../../../data/public'; -import { EmbeddableInput, EmbeddableOutput, IEmbeddable } from '../../../../../embeddable/public'; - -export type InputControlInput = EmbeddableInput & { - filters?: Filter[]; - query?: Query; - timeRange?: TimeRange; - twoLineLayout?: boolean; -}; - -export type InputControlOutput = EmbeddableOutput & { - filters?: Filter[]; -}; - -export type InputControlEmbeddable = IEmbeddable<InputControlInput, InputControlOutput>; diff --git a/src/plugins/presentation_util/public/services/index.ts b/src/plugins/presentation_util/public/services/index.ts index d68779b129ca6..c622ad82bb888 100644 --- a/src/plugins/presentation_util/public/services/index.ts +++ b/src/plugins/presentation_util/public/services/index.ts @@ -12,6 +12,7 @@ import { PresentationCapabilitiesService } from './capabilities'; import { PresentationDashboardsService } from './dashboards'; import { PresentationLabsService } from './labs'; import { registry as stubRegistry } from './stub'; +import { PresentationOverlaysService } from './overlays'; export { PresentationCapabilitiesService } from './capabilities'; export { PresentationDashboardsService } from './dashboards'; @@ -19,6 +20,7 @@ export { PresentationLabsService } from './labs'; export interface PresentationUtilServices { dashboards: PresentationDashboardsService; capabilities: PresentationCapabilitiesService; + overlays: PresentationOverlaysService; labs: PresentationLabsService; } diff --git a/src/plugins/presentation_util/public/services/kibana/index.ts b/src/plugins/presentation_util/public/services/kibana/index.ts index 880f0f8b49c76..8a9a28606f24b 100644 --- a/src/plugins/presentation_util/public/services/kibana/index.ts +++ b/src/plugins/presentation_util/public/services/kibana/index.ts @@ -8,6 +8,7 @@ import { capabilitiesServiceFactory } from './capabilities'; import { dashboardsServiceFactory } from './dashboards'; +import { overlaysServiceFactory } from './overlays'; import { labsServiceFactory } from './labs'; import { PluginServiceProviders, @@ -20,6 +21,7 @@ import { PresentationUtilServices } from '..'; export { capabilitiesServiceFactory } from './capabilities'; export { dashboardsServiceFactory } from './dashboards'; +export { overlaysServiceFactory } from './overlays'; export { labsServiceFactory } from './labs'; export const providers: PluginServiceProviders< @@ -29,6 +31,7 @@ export const providers: PluginServiceProviders< capabilities: new PluginServiceProvider(capabilitiesServiceFactory), labs: new PluginServiceProvider(labsServiceFactory), dashboards: new PluginServiceProvider(dashboardsServiceFactory), + overlays: new PluginServiceProvider(overlaysServiceFactory), }; export const registry = new PluginServiceRegistry< diff --git a/src/plugins/presentation_util/public/services/kibana/overlays.ts b/src/plugins/presentation_util/public/services/kibana/overlays.ts new file mode 100644 index 0000000000000..b3a8d3a6e040a --- /dev/null +++ b/src/plugins/presentation_util/public/services/kibana/overlays.ts @@ -0,0 +1,26 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { PresentationUtilPluginStartDeps } from '../../types'; +import { KibanaPluginServiceFactory } from '../create'; +import { PresentationOverlaysService } from '../overlays'; + +export type OverlaysServiceFactory = KibanaPluginServiceFactory< + PresentationOverlaysService, + PresentationUtilPluginStartDeps +>; +export const overlaysServiceFactory: OverlaysServiceFactory = ({ coreStart }) => { + const { + overlays: { openFlyout, openConfirm }, + } = coreStart; + + return { + openFlyout, + openConfirm, + }; +}; diff --git a/src/plugins/presentation_util/public/services/overlays.ts b/src/plugins/presentation_util/public/services/overlays.ts new file mode 100644 index 0000000000000..ee90de5231896 --- /dev/null +++ b/src/plugins/presentation_util/public/services/overlays.ts @@ -0,0 +1,19 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { + MountPoint, + OverlayFlyoutOpenOptions, + OverlayModalConfirmOptions, + OverlayRef, +} from '../../../../core/public'; + +export interface PresentationOverlaysService { + openFlyout(mount: MountPoint, options?: OverlayFlyoutOpenOptions): OverlayRef; + openConfirm(message: MountPoint | string, options?: OverlayModalConfirmOptions): Promise<boolean>; +} diff --git a/src/plugins/presentation_util/public/services/storybook/index.ts b/src/plugins/presentation_util/public/services/storybook/index.ts index 40fdc40a4632e..1ce1eb72848c9 100644 --- a/src/plugins/presentation_util/public/services/storybook/index.ts +++ b/src/plugins/presentation_util/public/services/storybook/index.ts @@ -11,6 +11,7 @@ import { dashboardsServiceFactory } from '../stub/dashboards'; import { labsServiceFactory } from './labs'; import { capabilitiesServiceFactory } from './capabilities'; import { PresentationUtilServices } from '..'; +import { overlaysServiceFactory } from './overlays'; export { PluginServiceProviders, PluginServiceProvider, PluginServiceRegistry } from '../create'; export { PresentationUtilServices } from '..'; @@ -25,6 +26,7 @@ export interface StorybookParams { export const providers: PluginServiceProviders<PresentationUtilServices, StorybookParams> = { capabilities: new PluginServiceProvider(capabilitiesServiceFactory), dashboards: new PluginServiceProvider(dashboardsServiceFactory), + overlays: new PluginServiceProvider(overlaysServiceFactory), labs: new PluginServiceProvider(labsServiceFactory), }; diff --git a/src/plugins/presentation_util/public/services/storybook/overlays.tsx b/src/plugins/presentation_util/public/services/storybook/overlays.tsx new file mode 100644 index 0000000000000..50194fb636fa4 --- /dev/null +++ b/src/plugins/presentation_util/public/services/storybook/overlays.tsx @@ -0,0 +1,147 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { EuiConfirmModal, EuiFlyout } from '@elastic/eui'; +import React from 'react'; +import { render, unmountComponentAtNode } from 'react-dom'; +import { Subject } from 'rxjs'; +import { + MountPoint, + OverlayFlyoutOpenOptions, + OverlayModalConfirmOptions, + OverlayRef, +} from '../../../../../core/public'; +import { MountWrapper } from '../../../../../core/public/utils'; +import { PluginServiceFactory } from '../create'; +import { PresentationOverlaysService } from '../overlays'; + +type OverlaysServiceFactory = PluginServiceFactory<PresentationOverlaysService>; + +/** + * This code is a storybook stub version of src/core/public/overlays/overlay_service.ts + * Eventually, core services should have simple storybook representations, but until that happens + * it is necessary to recreate their functionality here. + */ +class GenericOverlayRef implements OverlayRef { + public readonly onClose: Promise<void>; + private closeSubject = new Subject<void>(); + + constructor() { + this.onClose = this.closeSubject.toPromise(); + } + + public close(): Promise<void> { + if (!this.closeSubject.closed) { + this.closeSubject.next(); + this.closeSubject.complete(); + } + return this.onClose; + } +} + +export const overlaysServiceFactory: OverlaysServiceFactory = () => { + const flyoutDomElement = document.createElement('div'); + const modalDomElement = document.createElement('div'); + let activeFlyout: OverlayRef | null; + let activeModal: OverlayRef | null; + + const cleanupModal = () => { + if (modalDomElement != null) { + unmountComponentAtNode(modalDomElement); + modalDomElement.innerHTML = ''; + } + activeModal = null; + }; + + const cleanupFlyout = () => { + if (flyoutDomElement != null) { + unmountComponentAtNode(flyoutDomElement); + flyoutDomElement.innerHTML = ''; + } + activeFlyout = null; + }; + + return { + openFlyout: (mount: MountPoint, options?: OverlayFlyoutOpenOptions) => { + if (activeFlyout) { + activeFlyout.close(); + cleanupFlyout(); + } + + const flyout = new GenericOverlayRef(); + + flyout.onClose.then(() => { + if (activeFlyout === flyout) { + cleanupFlyout(); + } + }); + + activeFlyout = flyout; + + const onCloseFlyout = () => { + if (options?.onClose) { + options?.onClose(flyout); + return; + } + flyout.close(); + }; + + render( + <EuiFlyout onClose={onCloseFlyout}> + <MountWrapper mount={mount} className="kbnOverlayMountWrapper" /> + </EuiFlyout>, + flyoutDomElement + ); + + return flyout; + }, + openConfirm: (message: MountPoint | string, options?: OverlayModalConfirmOptions) => { + if (activeModal) { + activeModal.close(); + cleanupModal(); + } + + return new Promise((resolve, reject) => { + let resolved = false; + const closeModal = (confirmed: boolean) => { + resolved = true; + modal.close(); + resolve(confirmed); + }; + + const modal = new GenericOverlayRef(); + modal.onClose.then(() => { + if (activeModal === modal) { + cleanupModal(); + } + // modal.close can be called when opening a new modal/confirm, so we need to resolve the promise in that case. + if (!resolved) { + closeModal(false); + } + }); + activeModal = modal; + + const props = { + ...options, + children: + typeof message === 'string' ? ( + message + ) : ( + <MountWrapper mount={message} className="kbnOverlayMountWrapper" /> + ), + onCancel: () => closeModal(false), + onConfirm: () => closeModal(true), + cancelButtonText: options?.cancelButtonText || '', // stub default cancel text + confirmButtonText: options?.confirmButtonText || '', // stub default confirm text + }; + + render(<EuiConfirmModal {...props} />, modalDomElement); + }); + }, + }; +}; diff --git a/src/plugins/presentation_util/public/services/stub/index.ts b/src/plugins/presentation_util/public/services/stub/index.ts index 6bf32bba00a3e..61dca47427531 100644 --- a/src/plugins/presentation_util/public/services/stub/index.ts +++ b/src/plugins/presentation_util/public/services/stub/index.ts @@ -11,6 +11,7 @@ import { dashboardsServiceFactory } from './dashboards'; import { labsServiceFactory } from './labs'; import { PluginServiceProviders, PluginServiceProvider, PluginServiceRegistry } from '../create'; import { PresentationUtilServices } from '..'; +import { overlaysServiceFactory } from './overlays'; export { dashboardsServiceFactory } from './dashboards'; export { capabilitiesServiceFactory } from './capabilities'; @@ -18,6 +19,7 @@ export { capabilitiesServiceFactory } from './capabilities'; export const providers: PluginServiceProviders<PresentationUtilServices> = { dashboards: new PluginServiceProvider(dashboardsServiceFactory), capabilities: new PluginServiceProvider(capabilitiesServiceFactory), + overlays: new PluginServiceProvider(overlaysServiceFactory), labs: new PluginServiceProvider(labsServiceFactory), }; diff --git a/src/plugins/presentation_util/public/services/stub/overlays.ts b/src/plugins/presentation_util/public/services/stub/overlays.ts new file mode 100644 index 0000000000000..ecdec96d600d8 --- /dev/null +++ b/src/plugins/presentation_util/public/services/stub/overlays.ts @@ -0,0 +1,32 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { + MountPoint, + OverlayFlyoutOpenOptions, + OverlayModalConfirmOptions, + OverlayRef, +} from '../../../../../core/public'; +import { PluginServiceFactory } from '../create'; +import { PresentationOverlaysService } from '../overlays'; + +type OverlaysServiceFactory = PluginServiceFactory<PresentationOverlaysService>; + +class StubRef implements OverlayRef { + public readonly onClose: Promise<void> = Promise.resolve(); + + public close(): Promise<void> { + return this.onClose; + } +} + +export const overlaysServiceFactory: OverlaysServiceFactory = () => ({ + openFlyout: (mount: MountPoint, options?: OverlayFlyoutOpenOptions) => new StubRef(), + openConfirm: (message: MountPoint | string, options?: OverlayModalConfirmOptions) => + Promise.resolve(true), +}); diff --git a/src/plugins/telemetry/server/config/deprecations.test.ts b/src/plugins/telemetry/server/config/deprecations.test.ts index d4a8a1e2e148c..7807cd21916d5 100644 --- a/src/plugins/telemetry/server/config/deprecations.test.ts +++ b/src/plugins/telemetry/server/config/deprecations.test.ts @@ -6,12 +6,16 @@ * Side Public License, v 1. */ +import { configDeprecationsMock } from '../../../../core/server/mocks'; import { deprecateEndpointConfigs } from './deprecations'; import type { TelemetryConfigType } from './config'; import { TELEMETRY_ENDPOINT } from '../../common/constants'; + describe('deprecateEndpointConfigs', () => { const fromPath = 'telemetry'; const mockAddDeprecation = jest.fn(); + const deprecationContext = configDeprecationsMock.createContext(); + beforeEach(() => { jest.clearAllMocks(); }); @@ -28,7 +32,12 @@ describe('deprecateEndpointConfigs', () => { it('returns void if telemetry.* config is not set', () => { const rawConfig = createMockRawConfig(); - const result = deprecateEndpointConfigs(rawConfig, fromPath, mockAddDeprecation); + const result = deprecateEndpointConfigs( + rawConfig, + fromPath, + mockAddDeprecation, + deprecationContext + ); expect(result).toBe(undefined); }); @@ -36,7 +45,12 @@ describe('deprecateEndpointConfigs', () => { const rawConfig = createMockRawConfig({ url: TELEMETRY_ENDPOINT.MAIN_CHANNEL.STAGING, }); - const result = deprecateEndpointConfigs(rawConfig, fromPath, mockAddDeprecation); + const result = deprecateEndpointConfigs( + rawConfig, + fromPath, + mockAddDeprecation, + deprecationContext + ); expect(result).toMatchInlineSnapshot(` Object { "set": Array [ @@ -58,7 +72,12 @@ describe('deprecateEndpointConfigs', () => { const rawConfig = createMockRawConfig({ url: 'random-endpoint', }); - const result = deprecateEndpointConfigs(rawConfig, fromPath, mockAddDeprecation); + const result = deprecateEndpointConfigs( + rawConfig, + fromPath, + mockAddDeprecation, + deprecationContext + ); expect(result).toMatchInlineSnapshot(` Object { "set": Array [ @@ -80,7 +99,12 @@ describe('deprecateEndpointConfigs', () => { const rawConfig = createMockRawConfig({ optInStatusUrl: TELEMETRY_ENDPOINT.MAIN_CHANNEL.STAGING, }); - const result = deprecateEndpointConfigs(rawConfig, fromPath, mockAddDeprecation); + const result = deprecateEndpointConfigs( + rawConfig, + fromPath, + mockAddDeprecation, + deprecationContext + ); expect(result).toMatchInlineSnapshot(` Object { "set": Array [ @@ -102,7 +126,12 @@ describe('deprecateEndpointConfigs', () => { const rawConfig = createMockRawConfig({ optInStatusUrl: 'random-endpoint', }); - const result = deprecateEndpointConfigs(rawConfig, fromPath, mockAddDeprecation); + const result = deprecateEndpointConfigs( + rawConfig, + fromPath, + mockAddDeprecation, + deprecationContext + ); expect(result).toMatchInlineSnapshot(` Object { "set": Array [ @@ -124,7 +153,7 @@ describe('deprecateEndpointConfigs', () => { const rawConfig = createMockRawConfig({ url: TELEMETRY_ENDPOINT.MAIN_CHANNEL.PROD, }); - deprecateEndpointConfigs(rawConfig, fromPath, mockAddDeprecation); + deprecateEndpointConfigs(rawConfig, fromPath, mockAddDeprecation, deprecationContext); expect(mockAddDeprecation).toBeCalledTimes(1); expect(mockAddDeprecation.mock.calls[0]).toMatchInlineSnapshot(` Array [ @@ -146,7 +175,7 @@ describe('deprecateEndpointConfigs', () => { const rawConfig = createMockRawConfig({ optInStatusUrl: 'random-endpoint', }); - deprecateEndpointConfigs(rawConfig, fromPath, mockAddDeprecation); + deprecateEndpointConfigs(rawConfig, fromPath, mockAddDeprecation, deprecationContext); expect(mockAddDeprecation).toBeCalledTimes(1); expect(mockAddDeprecation.mock.calls[0]).toMatchInlineSnapshot(` Array [ diff --git a/src/plugins/usage_collection/server/config.ts b/src/plugins/usage_collection/server/config.ts index faf8ce7535e8a..f09dc7d431b33 100644 --- a/src/plugins/usage_collection/server/config.ts +++ b/src/plugins/usage_collection/server/config.ts @@ -29,12 +29,6 @@ export type ConfigType = TypeOf<typeof configSchema>; export const config: PluginConfigDescriptor<ConfigType> = { schema: configSchema, - deprecations: ({ renameFromRoot }) => [ - renameFromRoot('ui_metric.enabled', 'usageCollection.uiCounters.enabled'), - renameFromRoot('ui_metric.debug', 'usageCollection.uiCounters.debug'), - renameFromRoot('usageCollection.uiMetric.enabled', 'usageCollection.uiCounters.enabled'), - renameFromRoot('usageCollection.uiMetric.debug', 'usageCollection.uiCounters.debug'), - ], exposeToBrowser: { uiCounters: true, }, diff --git a/src/plugins/vis_types/timeseries/public/application/components/_index.scss b/src/plugins/vis_types/timeseries/public/application/components/_index.scss index 4ee5c1863946b..e2718a9491aa6 100644 --- a/src/plugins/vis_types/timeseries/public/application/components/_index.scss +++ b/src/plugins/vis_types/timeseries/public/application/components/_index.scss @@ -7,7 +7,6 @@ @import './series_editor'; @import './vis_editor'; @import './vis_editor_visualization'; -@import './vis_picker'; @import './vis_with_splits'; @import './aggs/index'; diff --git a/src/plugins/vis_types/timeseries/public/application/components/_vis_picker.scss b/src/plugins/vis_types/timeseries/public/application/components/_vis_picker.scss deleted file mode 100644 index 94f8d6fac97d4..0000000000000 --- a/src/plugins/vis_types/timeseries/public/application/components/_vis_picker.scss +++ /dev/null @@ -1,4 +0,0 @@ -.tvbVisPickerItem { - font-size: $euiFontSizeM; - font-weight: $euiFontWeightMedium; -} diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/create_field_formatter.test.ts b/src/plugins/vis_types/timeseries/public/application/components/lib/create_field_formatter.test.ts index 5a6b6a18f67e0..956dd9416e8ff 100644 --- a/src/plugins/vis_types/timeseries/public/application/components/lib/create_field_formatter.test.ts +++ b/src/plugins/vis_types/timeseries/public/application/components/lib/create_field_formatter.test.ts @@ -75,14 +75,14 @@ describe('createFieldFormatter(fieldName, fieldFormatMap?, contextType?, hasColo const formatter = createFieldFormatter('colorField', fieldFormatMap, 'html'); expect(formatter(value)).toBe( - '<span ng-non-bindable><span style="color:#D36086;background-color:#ffffff">1234567890</span></span>' + '<span style="color:#D36086;background-color:#ffffff">1234567890</span>' ); }); it('should return number formatted value wrapped in span for colorField when color rules are applied', () => { const formatter = createFieldFormatter('colorField', fieldFormatMap, 'html', true); - expect(formatter(value)).toBe('<span ng-non-bindable>1,234,567,890</span>'); + expect(formatter(value)).toBe('1,234,567,890'); }); it('should return not formatted string value for colorField when color rules are applied', () => { @@ -95,7 +95,7 @@ describe('createFieldFormatter(fieldName, fieldFormatMap?, contextType?, hasColo const formatter = createFieldFormatter('urlField', fieldFormatMap, 'html'); expect(formatter(value)).toBe( - '<span ng-non-bindable><a href="https://1234567890" target="_blank" rel="noopener noreferrer">1234567890</a></span>' + '<a href="https://1234567890" target="_blank" rel="noopener noreferrer">1234567890</a>' ); }); diff --git a/src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/switch_mode_popover.tsx b/src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/switch_mode_popover.tsx index 5e66b50eac467..16eeaff30c208 100644 --- a/src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/switch_mode_popover.tsx +++ b/src/plugins/vis_types/timeseries/public/application/components/lib/index_pattern_select/switch_mode_popover.tsx @@ -57,7 +57,7 @@ export const SwitchModePopover = ({ onModeChange, useKibanaIndices }: PopoverPro allowStringIndicesLabel = ( <FormattedMessage id="visTypeTimeseries.indexPatternSelect.switchModePopover.enableAllowStringIndices" - defaultMessage="To search by Elasticsearch indices enable {allowStringIndices} setting." + defaultMessage="To query Elasticsearch indices, you must enable the {allowStringIndices} setting." values={{ allowStringIndices: canEditAdvancedSettings ? ( <EuiLink color="accent" onClick={handleAllowStringIndicesLinkClick}> diff --git a/src/plugins/vis_types/timeseries/public/application/components/vis_picker.tsx b/src/plugins/vis_types/timeseries/public/application/components/vis_picker.tsx index 1e0ca864410c1..52038df5f4de7 100644 --- a/src/plugins/vis_types/timeseries/public/application/components/vis_picker.tsx +++ b/src/plugins/vis_types/timeseries/public/application/components/vis_picker.tsx @@ -53,11 +53,10 @@ interface VisPickerProps { export const VisPicker = ({ onChange, currentVisType }: VisPickerProps) => { return ( - <EuiTabs> + <EuiTabs size="l"> {tabs.map(({ label, type }) => ( <EuiTab key={type} - className="tvbVisPickerItem" isSelected={type === currentVisType} onClick={() => onChange({ type })} data-test-subj={`${type}TsvbTypeBtn`} diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/query.test.js b/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/query.test.js index 849ae2e71bffc..280d275c2c952 100644 --- a/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/query.test.js +++ b/src/plugins/vis_types/timeseries/server/lib/vis_data/request_processors/series/query.test.js @@ -124,14 +124,16 @@ describe('query', () => { test('returns doc with global query', async () => { req.body.filters = [ { - bool: { - must: [ - { - term: { - host: 'example', + query: { + bool: { + must: [ + { + term: { + host: 'example', + }, }, - }, - ], + ], + }, }, }, ]; @@ -234,14 +236,16 @@ describe('query', () => { test('returns doc with panel filter and global', async () => { req.body.filters = [ { - bool: { - must: [ - { - term: { - host: 'example', + query: { + bool: { + must: [ + { + term: { + host: 'example', + }, }, - }, - ], + ], + }, }, }, ]; diff --git a/src/plugins/vis_types/timeseries/server/lib/vis_data/series/build_request_body.test.ts b/src/plugins/vis_types/timeseries/server/lib/vis_data/series/build_request_body.test.ts index 14b4fc89712e2..5cab255e0426a 100644 --- a/src/plugins/vis_types/timeseries/server/lib/vis_data/series/build_request_body.test.ts +++ b/src/plugins/vis_types/timeseries/server/lib/vis_data/series/build_request_body.test.ts @@ -12,17 +12,19 @@ const body = JSON.parse(` { "filters": [ { - "bool": { - "must": [ - { - "query_string": { - "analyze_wildcard": true, - "query": "*" - } - } - ], - "must_not": [] - } + "query": { + "bool": { + "must": [ + { + "query_string": { + "analyze_wildcard": true, + "query": "*" + } + } + ], + "must_not": [] + } + } } ], "panels": [ diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_base_view.d.ts b/src/plugins/vis_types/vega/public/vega_view/vega_base_view.d.ts index 8f5770500253f..95a4eaa065bfe 100644 --- a/src/plugins/vis_types/vega/public/vega_view/vega_base_view.d.ts +++ b/src/plugins/vis_types/vega/public/vega_view/vega_base_view.d.ts @@ -6,6 +6,7 @@ * Side Public License, v 1. */ +import type { IExternalUrl } from 'kibana/public'; import { DataPublicPluginStart } from 'src/plugins/data/public'; import { IInterpreterRenderHandlers } from 'src/plugins/expressions'; import { IServiceSettings } from 'src/plugins/maps_ems/public'; @@ -20,6 +21,7 @@ interface VegaViewParams { filterManager: DataPublicPluginStart['query']['filterManager']; timefilter: DataPublicPluginStart['query']['timefilter']['timefilter']; vegaStateRestorer: ReturnType<typeof createVegaStateRestorer>; + externalUrl: IExternalUrl; } export class VegaBaseView { diff --git a/src/plugins/vis_types/vega/public/vega_view/vega_base_view.js b/src/plugins/vis_types/vega/public/vega_view/vega_base_view.js index 741586b983a71..1c444e7528d44 100644 --- a/src/plugins/vis_types/vega/public/vega_view/vega_base_view.js +++ b/src/plugins/vis_types/vega/public/vega_view/vega_base_view.js @@ -49,6 +49,31 @@ export function bypassExternalUrlCheck(url) { return { url, bypassToken }; } +const getExternalUrlsAreNotEnabledError = () => + new Error( + i18n.translate('visTypeVega.vegaParser.baseView.externalUrlsAreNotEnabledErrorMessage', { + defaultMessage: + 'External URLs are not enabled. Add {enableExternalUrls} to {kibanaConfigFileName}', + values: { + enableExternalUrls: 'vis_type_vega.enableExternalUrls: true', + kibanaConfigFileName: 'kibana.yml', + }, + }) + ); + +const getExternalUrlServiceError = (uri) => + new Error( + i18n.translate('visTypeVega.vegaParser.baseView.externalUrlServiceErrorMessage', { + defaultMessage: + 'External URL [{uri}] was denied by ExternalUrl service. You can configure external URL policies using "{externalUrlPolicy}" setting in {kibanaConfigFileName}.', + values: { + uri, + externalUrlPolicy: 'externalUrl.policy', + kibanaConfigFileName: 'kibana.yml', + }, + }) + ); + export class VegaBaseView { constructor(opts) { this._$parentEl = $(opts.parentEl); @@ -62,6 +87,7 @@ export class VegaBaseView { this._$messages = null; this._destroyHandlers = []; this._initialized = false; + this._externalUrl = opts.externalUrl; this._enableExternalUrls = getEnableExternalUrls(); this._vegaStateRestorer = opts.vegaStateRestorer; } @@ -165,6 +191,11 @@ export class VegaBaseView { return idxObj.id; } + handleExternalUrlError(externalUrlError) { + this.onError(externalUrlError); + throw externalUrlError; + } + createViewConfig() { const config = { expr: expressionInterpreter, @@ -180,16 +211,9 @@ export class VegaBaseView { // because user can only supply pure JSON data structure. uri = uri.url; } else if (!this._enableExternalUrls) { - throw new Error( - i18n.translate('visTypeVega.vegaParser.baseView.externalUrlsAreNotEnabledErrorMessage', { - defaultMessage: - 'External URLs are not enabled. Add {enableExternalUrls} to {kibanaConfigFileName}', - values: { - enableExternalUrls: 'vis_type_vega.enableExternalUrls: true', - kibanaConfigFileName: 'kibana.yml', - }, - }) - ); + this.handleExternalUrlError(getExternalUrlsAreNotEnabledError()); + } else if (!this._externalUrl.validateUrl(uri)) { + this.handleExternalUrlError(getExternalUrlServiceError(uri)); } const result = await originalSanitize(uri, options); // This will allow Vega users to load images from any domain. @@ -358,11 +382,13 @@ export class VegaBaseView { timeFieldName: '*', filters: [ { - range: { - '*': { - mode, - gte: from, - lte: to, + query: { + range: { + '*': { + mode, + gte: from, + lte: to, + }, }, }, }, diff --git a/src/plugins/vis_types/vega/public/vega_visualization.ts b/src/plugins/vis_types/vega/public/vega_visualization.ts index d207aadec656a..556f80cc3ebeb 100644 --- a/src/plugins/vis_types/vega/public/vega_visualization.ts +++ b/src/plugins/vis_types/vega/public/vega_visualization.ts @@ -20,6 +20,7 @@ type VegaVisType = new (el: HTMLDivElement, fireEvent: IInterpreterRenderHandler }; export const createVegaVisualization = ({ + core, getServiceSettings, }: VegaVisualizationDependencies): VegaVisType => class VegaVisualization { @@ -73,6 +74,7 @@ export const createVegaVisualization = ({ const { filterManager } = this.dataPlugin.query; const { timefilter } = this.dataPlugin.query.timefilter; const vegaViewParams = { + externalUrl: core.http.externalUrl, parentEl: this.el, fireEvent: this.fireEvent, vegaStateRestorer: this.vegaStateRestorer, diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/index.tsx b/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/index.tsx index c3eb659435b2d..dc7e13634d6d6 100644 --- a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/index.tsx +++ b/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/index.tsx @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import React, { useState, useEffect, useCallback, useMemo } from 'react'; +import React, { useState, useEffect, useCallback } from 'react'; import { cloneDeep, get } from 'lodash'; import { EuiSpacer } from '@elastic/eui'; @@ -19,7 +19,6 @@ import { SeriesPanel } from './series_panel'; import { CategoryAxisPanel } from './category_axis_panel'; import { ValueAxesPanel } from './value_axes_panel'; import { - makeSerie, isAxisHorizontal, countNextAxisNumber, getUpdatedAxisName, @@ -27,6 +26,7 @@ import { mapPosition, mapPositionOpposingOpposite, } from './utils'; +import { getSeriesParams } from '../../../../utils/get_series_params'; export type SetParamByIndex = <P extends keyof ValueAxis, O extends keyof SeriesParam>( axesName: 'valueAxes' | 'seriesParams', @@ -273,40 +273,19 @@ function MetricsAxisOptions(props: ValidationVisOptionsProps<VisParams>) { ); const schemaName = vis.type.schemas.metrics[0].name; - const metrics = useMemo(() => { - return aggs.bySchemaName(schemaName); - }, [schemaName, aggs]); - const firstValueAxesId = stateParams.valueAxes[0].id; useEffect(() => { - const updatedSeries = metrics.map((agg) => { - const params = stateParams.seriesParams.find((param) => param.data.id === agg.id); - const label = agg.makeLabel(); - - // update labels for existing params or create new one - if (params) { - return { - ...params, - data: { - ...params.data, - label, - }, - }; - } else { - const series = makeSerie( - agg.id, - label, - firstValueAxesId, - stateParams.seriesParams[stateParams.seriesParams.length - 1] - ); - return series; - } - }); + const updatedSeries = getSeriesParams( + aggs, + stateParams.seriesParams, + schemaName, + firstValueAxesId + ); - setValue('seriesParams', updatedSeries); + if (updatedSeries) setValue('seriesParams', updatedSeries); updateAxisTitle(updatedSeries); - }, [metrics, firstValueAxesId, setValue, stateParams.seriesParams, updateAxisTitle]); + }, [firstValueAxesId, setValue, stateParams.seriesParams, updateAxisTitle, aggs, schemaName]); return isTabSelected ? ( <> diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/utils.ts b/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/utils.ts index a8d53e45bc988..cd6368d961ec4 100644 --- a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/utils.ts +++ b/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/utils.ts @@ -10,30 +10,7 @@ import { upperFirst } from 'lodash'; import { Position } from '@elastic/charts'; -import { VisParams, ValueAxis, SeriesParam, ChartMode, InterpolationMode } from '../../../../types'; -import { ChartType } from '../../../../../common'; - -export const makeSerie = ( - id: string, - label: string, - defaultValueAxis: ValueAxis['id'], - lastSerie?: SeriesParam -): SeriesParam => { - const data = { id, label }; - const defaultSerie = { - show: true, - mode: ChartMode.Normal, - type: ChartType.Line, - drawLinesBetweenPoints: true, - showCircles: true, - circlesRadius: 3, - interpolate: InterpolationMode.Linear, - lineWidth: 2, - valueAxis: defaultValueAxis, - data, - }; - return lastSerie ? { ...lastSerie, data } : defaultSerie; -}; +import { VisParams, ValueAxis } from '../../../../types'; export const isAxisHorizontal = (position: Position) => [Position.Top, Position.Bottom].includes(position as any); diff --git a/src/plugins/vis_types/xy/public/sample_vis.test.mocks.ts b/src/plugins/vis_types/xy/public/sample_vis.test.mocks.ts index 7fff29edfab51..de1ccdea1e79b 100644 --- a/src/plugins/vis_types/xy/public/sample_vis.test.mocks.ts +++ b/src/plugins/vis_types/xy/public/sample_vis.test.mocks.ts @@ -1780,6 +1780,28 @@ export const sampleAreaVis = { }, aggs: { typesRegistry: {}, + bySchemaName: () => [ + { + id: '1', + enabled: true, + type: 'sum', + params: { + field: 'total_quantity', + }, + schema: 'metric', + makeLabel: () => 'Total quantity', + toSerializedFieldFormat: () => ({ + id: 'number', + params: { + parsedUrl: { + origin: 'http://localhost:5801', + pathname: '/app/visualize', + basePath: '', + }, + }, + }), + }, + ], getResponseAggs: () => [ { id: '1', diff --git a/src/plugins/vis_types/xy/public/to_ast.ts b/src/plugins/vis_types/xy/public/to_ast.ts index 5fc130a08ed27..9e2c7554aaf7c 100644 --- a/src/plugins/vis_types/xy/public/to_ast.ts +++ b/src/plugins/vis_types/xy/public/to_ast.ts @@ -33,6 +33,7 @@ import { visName, VisTypeXyExpressionFunctionDefinition } from './expression_fun import { XyVisType } from '../common'; import { getEsaggsFn } from './to_ast_esaggs'; import { TimeRangeBounds } from '../../../data/common'; +import { getSeriesParams } from './utils/get_series_params'; const prepareLabel = (data: Labels) => { const label = buildExpressionFunction('label', { @@ -145,6 +146,17 @@ export const toExpressionAst: VisToExpressionAst<VisParams> = async (vis, params const responseAggs = vis.data.aggs?.getResponseAggs().filter(({ enabled }) => enabled) ?? []; + const schemaName = vis.type.schemas?.metrics[0].name; + const firstValueAxesId = vis.params.valueAxes[0].id; + const updatedSeries = getSeriesParams( + vis.data.aggs, + vis.params.seriesParams, + schemaName, + firstValueAxesId + ); + + const finalSeriesParams = updatedSeries ?? vis.params.seriesParams; + if (dimensions.x) { const xAgg = responseAggs[dimensions.x.accessor] as any; if (xAgg.type.name === BUCKET_TYPES.DATE_HISTOGRAM) { @@ -202,7 +214,7 @@ export const toExpressionAst: VisToExpressionAst<VisParams> = async (vis, params orderBucketsBySum: vis.params.orderBucketsBySum, categoryAxes: vis.params.categoryAxes.map(prepareCategoryAxis), valueAxes: vis.params.valueAxes.map(prepareValueAxis), - seriesParams: vis.params.seriesParams.map(prepareSeriesParam), + seriesParams: finalSeriesParams.map(prepareSeriesParam), labels: prepareLabel(vis.params.labels), thresholdLine: prepareThresholdLine(vis.params.thresholdLine), gridCategoryLines: vis.params.grid.categoryLines, diff --git a/src/plugins/vis_types/xy/public/utils/get_series_params.test.ts b/src/plugins/vis_types/xy/public/utils/get_series_params.test.ts new file mode 100644 index 0000000000000..67b8a1c160d40 --- /dev/null +++ b/src/plugins/vis_types/xy/public/utils/get_series_params.test.ts @@ -0,0 +1,64 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ +import type { AggConfigs } from '../../../../data/public'; +import type { SeriesParam } from '../types'; +import { getSeriesParams } from './get_series_params'; +import { sampleAreaVis } from '../sample_vis.test.mocks'; + +describe('getSeriesParams', () => { + it('returns correct params', () => { + const seriesParams = getSeriesParams( + sampleAreaVis.data.aggs as unknown as AggConfigs, + sampleAreaVis.params.seriesParams as unknown as SeriesParam[], + 'metric', + 'ValueAxis-1' + ); + expect(seriesParams).toStrictEqual([ + { + circlesRadius: 5, + data: { + id: '1', + label: 'Total quantity', + }, + drawLinesBetweenPoints: true, + interpolate: 'linear', + mode: 'stacked', + show: 'true', + showCircles: true, + type: 'area', + valueAxis: 'ValueAxis-1', + }, + ]); + }); + + it('returns default params if no params provided', () => { + const seriesParams = getSeriesParams( + sampleAreaVis.data.aggs as unknown as AggConfigs, + [], + 'metric', + 'ValueAxis-1' + ); + expect(seriesParams).toStrictEqual([ + { + circlesRadius: 3, + data: { + id: '1', + label: 'Total quantity', + }, + drawLinesBetweenPoints: true, + interpolate: 'linear', + lineWidth: 2, + mode: 'normal', + show: true, + showCircles: true, + type: 'line', + valueAxis: 'ValueAxis-1', + }, + ]); + }); +}); diff --git a/src/plugins/vis_types/xy/public/utils/get_series_params.ts b/src/plugins/vis_types/xy/public/utils/get_series_params.ts new file mode 100644 index 0000000000000..987c8df83b01f --- /dev/null +++ b/src/plugins/vis_types/xy/public/utils/get_series_params.ts @@ -0,0 +1,63 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ +import { ValueAxis, SeriesParam, ChartMode, InterpolationMode } from '../types'; +import { ChartType } from '../../common'; +import type { AggConfigs } from '../../../../data/public'; + +const makeSerie = ( + id: string, + label: string, + defaultValueAxis: ValueAxis['id'], + lastSerie?: SeriesParam +): SeriesParam => { + const data = { id, label }; + const defaultSerie = { + show: true, + mode: ChartMode.Normal, + type: ChartType.Line, + drawLinesBetweenPoints: true, + showCircles: true, + circlesRadius: 3, + interpolate: InterpolationMode.Linear, + lineWidth: 2, + valueAxis: defaultValueAxis, + }; + return { ...defaultSerie, ...lastSerie, data }; +}; +export const getSeriesParams = ( + aggs: AggConfigs | undefined, + seriesParams: SeriesParam[], + schemaName: string, + firstValueAxesId: string +) => { + const metrics = aggs?.bySchemaName(schemaName); + + return metrics?.map((agg) => { + const params = seriesParams.find((param) => param.data.id === agg.id); + const label = agg.makeLabel(); + + // update labels for existing params or create new one + if (params) { + return { + ...params, + data: { + ...params.data, + label, + }, + }; + } else { + const series = makeSerie( + agg.id, + label, + firstValueAxesId, + seriesParams[seriesParams.length - 1] + ); + return series; + } + }); +}; diff --git a/src/plugins/vis_types/xy/public/vis_types/area.ts b/src/plugins/vis_types/xy/public/vis_types/area.ts index 6ba197ceb9424..3ff840f1817e9 100644 --- a/src/plugins/vis_types/xy/public/vis_types/area.ts +++ b/src/plugins/vis_types/xy/public/vis_types/area.ts @@ -78,7 +78,7 @@ export const areaVisTypeDefinition = { truncate: 100, }, title: { - text: defaultCountLabel, + text: '', }, style: {}, }, diff --git a/src/plugins/vis_types/xy/public/vis_types/histogram.ts b/src/plugins/vis_types/xy/public/vis_types/histogram.ts index bd549615fe7fd..dd65d6f31cb80 100644 --- a/src/plugins/vis_types/xy/public/vis_types/histogram.ts +++ b/src/plugins/vis_types/xy/public/vis_types/histogram.ts @@ -80,7 +80,7 @@ export const histogramVisTypeDefinition = { truncate: 100, }, title: { - text: defaultCountLabel, + text: '', }, style: {}, }, diff --git a/src/plugins/vis_types/xy/public/vis_types/horizontal_bar.ts b/src/plugins/vis_types/xy/public/vis_types/horizontal_bar.ts index 5bd45fc2eb7a8..c8494024d1d0a 100644 --- a/src/plugins/vis_types/xy/public/vis_types/horizontal_bar.ts +++ b/src/plugins/vis_types/xy/public/vis_types/horizontal_bar.ts @@ -81,7 +81,7 @@ export const horizontalBarVisTypeDefinition = { truncate: 100, }, title: { - text: defaultCountLabel, + text: '', }, style: {}, }, diff --git a/src/plugins/vis_types/xy/public/vis_types/line.ts b/src/plugins/vis_types/xy/public/vis_types/line.ts index 747de1679c7c5..08e17f7e97d46 100644 --- a/src/plugins/vis_types/xy/public/vis_types/line.ts +++ b/src/plugins/vis_types/xy/public/vis_types/line.ts @@ -78,7 +78,7 @@ export const lineVisTypeDefinition = { truncate: 100, }, title: { - text: defaultCountLabel, + text: '', }, style: {}, }, diff --git a/src/plugins/visualize/public/application/utils/use/use_visualize_app_state.tsx b/src/plugins/visualize/public/application/utils/use/use_visualize_app_state.tsx index 4dbf621c2e564..e8f163e30b153 100644 --- a/src/plugins/visualize/public/application/utils/use/use_visualize_app_state.tsx +++ b/src/plugins/visualize/public/application/utils/use/use_visualize_app_state.tsx @@ -103,7 +103,11 @@ export const useVisualizeAppState = ( instance.vis .setState({ ...visState, - data: { aggs, searchSource: { ...visSearchSource, query, filter } }, + data: { + aggs, + searchSource: { ...visSearchSource, query, filter }, + savedSearchId: instance.vis.data.savedSearchId, + }, }) .then(() => { // setting up the stateContainer after setState is successful will prevent loading the editor with failures diff --git a/test/accessibility/apps/dashboard.ts b/test/accessibility/apps/dashboard.ts index 5a3ec9d8fc869..408e7d402a8f0 100644 --- a/test/accessibility/apps/dashboard.ts +++ b/test/accessibility/apps/dashboard.ts @@ -15,25 +15,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const testSubjects = getService('testSubjects'); const listingTable = getService('listingTable'); - describe('Dashboard', () => { + // FLAKY: https://github.com/elastic/kibana/issues/105171 + describe.skip('Dashboard', () => { const dashboardName = 'Dashboard Listing A11y'; const clonedDashboardName = 'Dashboard Listing A11y Copy'; - before(async () => { - await PageObjects.common.navigateToUrl('home', '/tutorial_directory/sampleData', { - useActualUrl: true, - }); - await PageObjects.home.addSampleDataSet('flights'); - }); - - after(async () => { - await PageObjects.common.navigateToApp('dashboard'); - await listingTable.searchForItemWithName(dashboardName); - await listingTable.checkListingSelectAllCheckbox(); - await listingTable.clickDeleteSelected(); - await PageObjects.common.clickConfirmOnModal(); - }); - it('dashboard', async () => { await PageObjects.common.navigateToApp('dashboard'); await a11y.testAppSnapshot(); diff --git a/test/accessibility/apps/dashboard_panel.ts b/test/accessibility/apps/dashboard_panel.ts index 41c79be39a025..b2fc073949d73 100644 --- a/test/accessibility/apps/dashboard_panel.ts +++ b/test/accessibility/apps/dashboard_panel.ts @@ -17,11 +17,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { // FLAKY: https://github.com/elastic/kibana/issues/112920 describe.skip('Dashboard Panel', () => { before(async () => { - await PageObjects.common.navigateToUrl('home', '/tutorial_directory/sampleData', { - useActualUrl: true, - }); - - await PageObjects.home.addSampleDataSet('flights'); await PageObjects.common.navigateToApp('dashboard'); await testSubjects.click('dashboardListingTitleLink-[Flights]-Global-Flight-Dashboard'); }); diff --git a/test/accessibility/apps/discover.ts b/test/accessibility/apps/discover.ts index c7794c5023bae..e05f3e2bc091d 100644 --- a/test/accessibility/apps/discover.ts +++ b/test/accessibility/apps/discover.ts @@ -11,27 +11,14 @@ import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const PageObjects = getPageObjects(['common', 'discover', 'header', 'share', 'timePicker']); const a11y = getService('a11y'); - const esArchiver = getService('esArchiver'); - const kibanaServer = getService('kibanaServer'); const inspector = getService('inspector'); const testSubjects = getService('testSubjects'); - const TEST_COLUMN_NAMES = ['extension', 'geo.src']; + const TEST_COLUMN_NAMES = ['dayOfWeek', 'DestWeather']; describe('Discover a11y tests', () => { before(async () => { - await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional'); - await kibanaServer.importExport.load('test/functional/fixtures/kbn_archiver/discover'); - await kibanaServer.uiSettings.update({ - defaultIndex: 'logstash-*', - 'doc_table:legacy': true, - }); await PageObjects.common.navigateToApp('discover'); - await PageObjects.timePicker.setDefaultAbsoluteRange(); - }); - - after(async () => { - await kibanaServer.importExport.unload('test/functional/fixtures/kbn_archiver/discover'); - await esArchiver.unload('test/functional/fixtures/es_archiver/logstash_functional'); + await PageObjects.timePicker.setCommonlyUsedTime('Last_7 days'); }); it('Discover main page', async () => { diff --git a/test/accessibility/apps/filter_panel.ts b/test/accessibility/apps/filter_panel.ts index 0253176b14d24..78e776ce3a482 100644 --- a/test/accessibility/apps/filter_panel.ts +++ b/test/accessibility/apps/filter_panel.ts @@ -17,10 +17,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { describe('Filter panel', () => { before(async () => { - await PageObjects.common.navigateToUrl('home', '/tutorial_directory/sampleData', { - useActualUrl: true, - }); - await PageObjects.home.addSampleDataSet('flights'); await PageObjects.common.navigateToApp('discover'); await PageObjects.discover.selectIndexPattern('kibana_sample_data_flights'); }); diff --git a/test/accessibility/apps/home.ts b/test/accessibility/apps/home.ts index f281051fc9d37..8737dee019ca6 100644 --- a/test/accessibility/apps/home.ts +++ b/test/accessibility/apps/home.ts @@ -27,10 +27,5 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); await a11y.testAppSnapshot(); }); - - it('Add flights sample data set', async () => { - await PageObjects.home.addSampleDataSet('flights'); - await a11y.testAppSnapshot(); - }); }); } diff --git a/test/accessibility/apps/index.ts b/test/accessibility/apps/index.ts new file mode 100644 index 0000000000000..c47689175405e --- /dev/null +++ b/test/accessibility/apps/index.ts @@ -0,0 +1,49 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { FtrProviderContext } from '../ftr_provider_context'; + +export default function ({ getService, loadTestFile, getPageObjects }: FtrProviderContext) { + const kibanaServer = getService('kibanaServer'); + const PageObjects = getPageObjects(['common', 'dashboard', 'header', 'home', 'settings']); + + describe('a11y tests', function () { + describe('using flights sample data', function () { + before(async () => { + await PageObjects.common.navigateToUrl('home', '/tutorial_directory/sampleData', { + useActualUrl: true, + }); + await PageObjects.home.addSampleDataSet('flights'); + }); + + after(async () => { + await PageObjects.common.navigateToUrl('home', '/tutorial_directory/sampleData', { + useActualUrl: true, + }); + await PageObjects.home.removeSampleDataSet('flights'); + await kibanaServer.savedObjects.clean({ + types: ['search', 'index-pattern', 'visualization', 'dashboard'], + }); + }); + + loadTestFile(require.resolve('./dashboard')); + loadTestFile(require.resolve('./dashboard_panel')); + loadTestFile(require.resolve('./filter_panel')); + loadTestFile(require.resolve('./home')); + loadTestFile(require.resolve('./discover')); + loadTestFile(require.resolve('./visualize')); + loadTestFile(require.resolve('./kibana_overview_with_data')); + }); + + describe('not using sample data', function () { + loadTestFile(require.resolve('./management')); + loadTestFile(require.resolve('./console')); + loadTestFile(require.resolve('./kibana_overview_without_data')); + }); + }); +} diff --git a/test/accessibility/apps/kibana_overview_with_data.ts b/test/accessibility/apps/kibana_overview_with_data.ts new file mode 100644 index 0000000000000..d37f58550670a --- /dev/null +++ b/test/accessibility/apps/kibana_overview_with_data.ts @@ -0,0 +1,21 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { FtrProviderContext } from '../ftr_provider_context'; + +export default function ({ getService, getPageObjects }: FtrProviderContext) { + const PageObjects = getPageObjects(['common', 'home']); + const a11y = getService('a11y'); + + describe('Kibana overview with data', () => { + it('Overview view', async () => { + await PageObjects.common.navigateToApp('kibanaOverview'); + await a11y.testAppSnapshot(); + }); + }); +} diff --git a/test/accessibility/apps/kibana_overview.ts b/test/accessibility/apps/kibana_overview_without_data.ts similarity index 53% rename from test/accessibility/apps/kibana_overview.ts rename to test/accessibility/apps/kibana_overview_without_data.ts index 8481e2bf334aa..6a965354d1b35 100644 --- a/test/accessibility/apps/kibana_overview.ts +++ b/test/accessibility/apps/kibana_overview_without_data.ts @@ -13,29 +13,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const a11y = getService('a11y'); describe('Kibana overview', () => { - const esArchiver = getService('esArchiver'); - - before(async () => { - await esArchiver.emptyKibanaIndex(); - await PageObjects.common.navigateToApp('kibanaOverview'); - }); - - after(async () => { - await PageObjects.common.navigateToUrl('home', '/tutorial_directory/sampleData', { - useActualUrl: true, - }); - await PageObjects.home.removeSampleDataSet('flights'); - }); - - it('Getting started view', async () => { - await a11y.testAppSnapshot(); - }); - it('Overview view', async () => { - await PageObjects.common.navigateToUrl('home', '/tutorial_directory/sampleData', { - useActualUrl: true, - }); - await PageObjects.home.addSampleDataSet('flights'); await PageObjects.common.navigateToApp('kibanaOverview'); await a11y.testAppSnapshot(); }); diff --git a/test/accessibility/apps/visualize.ts b/test/accessibility/apps/visualize.ts index d0592352170fb..c1dbedb59da1e 100644 --- a/test/accessibility/apps/visualize.ts +++ b/test/accessibility/apps/visualize.ts @@ -11,18 +11,8 @@ import { FtrProviderContext } from '../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const PageObjects = getPageObjects(['common', 'visualize', 'header']); const a11y = getService('a11y'); - const kibanaServer = getService('kibanaServer'); describe('Visualize', () => { - before(async () => { - await kibanaServer.importExport.load('test/functional/fixtures/kbn_archiver/discover'); - await PageObjects.common.navigateToApp('visualize'); - }); - - after(async () => { - await kibanaServer.importExport.unload('test/functional/fixtures/kbn_archiver/discover'); - }); - it('visualize', async () => { await a11y.testAppSnapshot(); }); diff --git a/test/accessibility/config.ts b/test/accessibility/config.ts index 81c89a253165d..59194fcb67826 100644 --- a/test/accessibility/config.ts +++ b/test/accessibility/config.ts @@ -15,22 +15,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { return { ...functionalConfig.getAll(), - - testFiles: [ - // these 5 tests all load addSampleDataSet('flights') - // only the last test does removeSampleDataSet('flights') - require.resolve('./apps/dashboard'), - require.resolve('./apps/dashboard_panel'), - require.resolve('./apps/filter_panel'), - require.resolve('./apps/home'), - require.resolve('./apps/kibana_overview'), - - // next tests don't use sample data - require.resolve('./apps/discover'), - require.resolve('./apps/visualize'), - require.resolve('./apps/management'), - require.resolve('./apps/console'), - ], + testFiles: [require.resolve('./apps')], pageObjects, services, diff --git a/test/api_integration/apis/custom_integration/integrations.ts b/test/api_integration/apis/custom_integration/integrations.ts index 4b1344ee8e84c..4b0745574b521 100644 --- a/test/api_integration/apis/custom_integration/integrations.ts +++ b/test/api_integration/apis/custom_integration/integrations.ts @@ -21,7 +21,9 @@ export default function ({ getService }: FtrProviderContext) { .expect(200); expect(resp.body).to.be.an('array'); - expect(resp.body.length).to.be.above(2); // Should at least have registered the three sample data-sets + + // sample data + expect(resp.body.length).to.be.above(13); // at least the language clients + tutorials + sample data ['flights', 'logs', 'ecommerce'].forEach((sampleData) => { expect(resp.body.findIndex((c: { id: string }) => c.id === sampleData)).to.be.above(-1); @@ -37,7 +39,8 @@ export default function ({ getService }: FtrProviderContext) { .expect(200); expect(resp.body).to.be.an('array'); - expect(resp.body.length).to.be.above(2); // Should have at least a few beats registered + + expect(resp.body.length).to.be.above(109); // at least the beats + apm }); }); }); diff --git a/test/common/config.js b/test/common/config.js index eb110fad55ea8..b9ab24450ac82 100644 --- a/test/common/config.js +++ b/test/common/config.js @@ -28,7 +28,6 @@ export default function () { buildArgs: [], sourceArgs: ['--no-base-path', '--env.name=development'], serverArgs: [ - '--logging.json=false', `--server.port=${kbnTestConfig.getPort()}`, '--status.allowAnonymous=true', // We shouldn't embed credentials into the URL since Kibana requests to Elasticsearch should diff --git a/test/common/services/retry/retry_for_success.ts b/test/common/services/retry/retry_for_success.ts index 453ef3d5e8f67..ed2ff480db20d 100644 --- a/test/common/services/retry/retry_for_success.ts +++ b/test/common/services/retry/retry_for_success.ts @@ -13,8 +13,10 @@ const delay = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)); const returnTrue = () => true; -const defaultOnFailure = (methodName: string) => (lastError: Error) => { - throw new Error(`${methodName} timeout: ${lastError.stack || lastError.message}`); +const defaultOnFailure = (methodName: string) => (lastError: Error | undefined) => { + throw new Error( + `${methodName} timeout${lastError ? `: ${lastError.stack || lastError.message}` : ''}` + ); }; /** @@ -53,7 +55,7 @@ export async function retryForSuccess<T>(log: ToolingLog, options: Options<T>) { let lastError; while (true) { - if (lastError && Date.now() - start > timeout) { + if (Date.now() - start > timeout) { await onFailure(lastError); throw new Error('expected onFailure() option to throw an error'); } else if (lastError && onFailureBlock) { diff --git a/test/functional/apps/dashboard/create_and_add_embeddables.ts b/test/functional/apps/dashboard/create_and_add_embeddables.ts index 62ce68e026f72..6af295d2cf856 100644 --- a/test/functional/apps/dashboard/create_and_add_embeddables.ts +++ b/test/functional/apps/dashboard/create_and_add_embeddables.ts @@ -68,6 +68,24 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.dashboard.waitForRenderComplete(); }); + it('adds a new timelion visualization', async () => { + // adding this case, as the timelion agg-based viz doesn't need the `clickNewSearch()` step + const originalPanelCount = await PageObjects.dashboard.getPanelCount(); + await dashboardAddPanel.clickEditorMenuButton(); + await dashboardAddPanel.clickAggBasedVisualizations(); + await PageObjects.visualize.clickTimelion(); + await PageObjects.visualize.saveVisualizationExpectSuccess( + 'timelion visualization from add new link', + { redirectToOrigin: true } + ); + + await retry.try(async () => { + const panelCount = await PageObjects.dashboard.getPanelCount(); + expect(panelCount).to.eql(originalPanelCount + 1); + }); + await PageObjects.dashboard.waitForRenderComplete(); + }); + it('adds a markdown visualization via the quick button', async () => { const originalPanelCount = await PageObjects.dashboard.getPanelCount(); await dashboardAddPanel.clickMarkdownQuickButton(); diff --git a/test/functional/apps/discover/_discover.ts b/test/functional/apps/discover/_discover.ts index 4edc4d22f0753..0a8f56ee250ea 100644 --- a/test/functional/apps/discover/_discover.ts +++ b/test/functional/apps/discover/_discover.ts @@ -233,11 +233,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { describe('time zone switch', () => { it('should show bars in the correct time zone after switching', async function () { - await kibanaServer.uiSettings.replace({ 'dateFormat:tz': 'America/Phoenix' }); + await kibanaServer.uiSettings.update({ 'dateFormat:tz': 'America/Phoenix' }); await PageObjects.common.navigateToApp('discover'); await PageObjects.header.awaitKibanaChrome(); - await queryBar.clearQuery(); await PageObjects.timePicker.setDefaultAbsoluteRange(); + await queryBar.clearQuery(); log.debug( 'check that the newest doc timestamp is now -7 hours from the UTC time in the first test' @@ -246,36 +246,16 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { expect(rowData.startsWith('Sep 22, 2015 @ 16:50:13.253')).to.be.ok(); }); }); - describe('usage of discover:searchOnPageLoad', () => { - it('should not fetch data from ES initially when discover:searchOnPageLoad is false', async function () { - await kibanaServer.uiSettings.replace({ 'discover:searchOnPageLoad': false }); - await PageObjects.common.navigateToApp('discover'); - await PageObjects.header.awaitKibanaChrome(); - - expect(await PageObjects.discover.getNrOfFetches()).to.be(0); - }); - - it('should fetch data from ES initially when discover:searchOnPageLoad is true', async function () { - await kibanaServer.uiSettings.replace({ 'discover:searchOnPageLoad': true }); - await PageObjects.common.navigateToApp('discover'); - await PageObjects.header.awaitKibanaChrome(); - await retry.waitFor('number of fetches to be 1', async () => { - const nrOfFetches = await PageObjects.discover.getNrOfFetches(); - return nrOfFetches === 1; - }); - }); - }); describe('invalid time range in URL', function () { it('should get the default timerange', async function () { - const prevTime = await PageObjects.timePicker.getTimeConfig(); await PageObjects.common.navigateToUrl('discover', '#/?_g=(time:(from:now-15m,to:null))', { useActualUrl: true, }); await PageObjects.header.awaitKibanaChrome(); const time = await PageObjects.timePicker.getTimeConfig(); - expect(time.start).to.be(prevTime.start); - expect(time.end).to.be(prevTime.end); + expect(time.start).to.be('~ 15 minutes ago'); + expect(time.end).to.be('now'); }); }); diff --git a/test/functional/apps/discover/_doc_table.ts b/test/functional/apps/discover/_doc_table.ts index f01d6b18fbf01..f6f60d4fd6393 100644 --- a/test/functional/apps/discover/_doc_table.ts +++ b/test/functional/apps/discover/_doc_table.ts @@ -246,7 +246,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const isScrollable = await checkScrollable(); expect(isScrollable).to.be(false); - await retry.waitFor('container to be scrollable', async () => { + await retry.waitForWithTimeout('container to be scrollable', 60 * 1000, async () => { await addColumn(); return await checkScrollable(); }); diff --git a/test/functional/apps/discover/_errors.ts b/test/functional/apps/discover/_errors.ts index f127c39fd5d9a..b252cbf5f0824 100644 --- a/test/functional/apps/discover/_errors.ts +++ b/test/functional/apps/discover/_errors.ts @@ -12,7 +12,8 @@ import { FtrProviderContext } from '../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { const esArchiver = getService('esArchiver'); const toasts = getService('toasts'); - const PageObjects = getPageObjects(['common', 'discover', 'timePicker']); + const testSubjects = getService('testSubjects'); + const PageObjects = getPageObjects(['common', 'header', 'discover', 'timePicker']); describe('errors', function describeIndexTests() { before(async function () { @@ -33,5 +34,19 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { expect(painlessStackTrace).not.to.be(undefined); }); }); + + describe('not found', () => { + it('should redirect to main page when trying to access invalid route', async () => { + await PageObjects.common.navigateToUrl('discover', '#/invalid-route', { + useActualUrl: true, + }); + await PageObjects.header.awaitKibanaChrome(); + + const invalidLink = await testSubjects.find('invalidRouteMessage'); + expect(await invalidLink.getVisibleText()).to.be( + `Discover application doesn't recognize this route: /invalid-route` + ); + }); + }); }); } diff --git a/test/functional/apps/discover/_saved_queries.ts b/test/functional/apps/discover/_saved_queries.ts index 20f2cab907d9b..832d895fcea3d 100644 --- a/test/functional/apps/discover/_saved_queries.ts +++ b/test/functional/apps/discover/_saved_queries.ts @@ -17,39 +17,83 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const kibanaServer = getService('kibanaServer'); const PageObjects = getPageObjects(['common', 'discover', 'timePicker']); const browser = getService('browser'); - - const defaultSettings = { - defaultIndex: 'logstash-*', - }; const filterBar = getService('filterBar'); const queryBar = getService('queryBar'); const savedQueryManagementComponent = getService('savedQueryManagementComponent'); const testSubjects = getService('testSubjects'); + const defaultSettings = { + defaultIndex: 'logstash-*', + }; + + const setUpQueriesWithFilters = async () => { + // set up a query with filters and a time filter + log.debug('set up a query with filters to save'); + const fromTime = 'Sep 20, 2015 @ 08:00:00.000'; + const toTime = 'Sep 21, 2015 @ 08:00:00.000'; + await PageObjects.timePicker.setAbsoluteRange(fromTime, toTime); + await filterBar.addFilter('extension.raw', 'is one of', 'jpg'); + await queryBar.setQuery('response:200'); + }; describe('saved queries saved objects', function describeIndexTests() { before(async function () { log.debug('load kibana index with default index pattern'); await kibanaServer.savedObjects.clean({ types: ['search', 'index-pattern'] }); + await kibanaServer.importExport.load('test/functional/fixtures/kbn_archiver/discover.json'); + await esArchiver.load('test/functional/fixtures/es_archiver/date_nested'); + await esArchiver.load('test/functional/fixtures/es_archiver/logstash_functional'); - // and load a set of makelogs data - await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional'); await kibanaServer.uiSettings.replace(defaultSettings); log.debug('discover'); await PageObjects.common.navigateToApp('discover'); await PageObjects.timePicker.setDefaultAbsoluteRange(); }); - describe('saved query management component functionality', function () { - before(async function () { - // set up a query with filters and a time filter - log.debug('set up a query with filters to save'); - await queryBar.setQuery('response:200'); - await filterBar.addFilter('extension.raw', 'is one of', 'jpg'); - const fromTime = 'Sep 20, 2015 @ 08:00:00.000'; - const toTime = 'Sep 21, 2015 @ 08:00:00.000'; - await PageObjects.timePicker.setAbsoluteRange(fromTime, toTime); + after(async () => { + await kibanaServer.importExport.unload('test/functional/fixtures/kbn_archiver/discover'); + await esArchiver.unload('test/functional/fixtures/es_archiver/date_nested'); + await esArchiver.unload('test/functional/fixtures/es_archiver/logstash_functional'); + }); + + describe('saved query selection', () => { + before(async () => await setUpQueriesWithFilters()); + + it(`should unselect saved query when navigating to a 'new'`, async function () { + await savedQueryManagementComponent.saveNewQuery( + 'test-unselect-saved-query', + 'mock', + true, + true + ); + + await queryBar.submitQuery(); + + expect(await filterBar.hasFilter('extension.raw', 'jpg')).to.be(true); + expect(await queryBar.getQueryString()).to.eql('response:200'); + + await PageObjects.discover.clickNewSearchButton(); + + expect(await filterBar.hasFilter('extension.raw', 'jpg')).to.be(false); + expect(await queryBar.getQueryString()).to.eql(''); + + await PageObjects.discover.selectIndexPattern('date-nested'); + + expect(await filterBar.hasFilter('extension.raw', 'jpg')).to.be(false); + expect(await queryBar.getQueryString()).to.eql(''); + + await PageObjects.discover.selectIndexPattern('logstash-*'); + + expect(await filterBar.hasFilter('extension.raw', 'jpg')).to.be(false); + expect(await queryBar.getQueryString()).to.eql(''); + + // reset state + await savedQueryManagementComponent.deleteSavedQuery('test-unselect-saved-query'); }); + }); + + describe('saved query management component functionality', function () { + before(async () => await setUpQueriesWithFilters()); it('should show the saved query management component when there are no saved queries', async () => { await savedQueryManagementComponent.openSavedQueryManagementComponent(); diff --git a/test/functional/apps/discover/_search_on_page_load.ts b/test/functional/apps/discover/_search_on_page_load.ts new file mode 100644 index 0000000000000..2a66e03c3cbb8 --- /dev/null +++ b/test/functional/apps/discover/_search_on_page_load.ts @@ -0,0 +1,112 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import expect from '@kbn/expect'; + +import { FtrProviderContext } from '../../ftr_provider_context'; + +export default function ({ getService, getPageObjects }: FtrProviderContext) { + const log = getService('log'); + const retry = getService('retry'); + const esArchiver = getService('esArchiver'); + const queryBar = getService('queryBar'); + const kibanaServer = getService('kibanaServer'); + const PageObjects = getPageObjects(['common', 'discover', 'header', 'timePicker']); + const testSubjects = getService('testSubjects'); + + const defaultSettings = { + defaultIndex: 'logstash-*', + }; + + const initSearchOnPageLoad = async (searchOnPageLoad: boolean) => { + await kibanaServer.uiSettings.replace({ 'discover:searchOnPageLoad': searchOnPageLoad }); + await PageObjects.common.navigateToApp('discover'); + await PageObjects.header.awaitKibanaChrome(); + }; + + const waitForFetches = (fetchesNumber: number) => async () => { + const nrOfFetches = await PageObjects.discover.getNrOfFetches(); + return nrOfFetches === fetchesNumber; + }; + + describe('usage of discover:searchOnPageLoad', () => { + before(async function () { + log.debug('load kibana index with default index pattern'); + + await kibanaServer.importExport.load('test/functional/fixtures/kbn_archiver/discover.json'); + + // and load a set of data + await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional'); + await esArchiver.load('test/functional/fixtures/es_archiver/date_nested'); + + await kibanaServer.uiSettings.replace(defaultSettings); + await PageObjects.common.navigateToApp('discover'); + }); + + after(async () => { + await kibanaServer.importExport.unload('test/functional/fixtures/kbn_archiver/discover'); + await esArchiver.load('test/functional/fixtures/es_archiver/date_nested'); + await esArchiver.unload('test/functional/fixtures/es_archiver/logstash_functional'); + }); + + describe(`when it's false`, () => { + beforeEach(async () => await initSearchOnPageLoad(false)); + + it('should not fetch data from ES initially', async function () { + expect(await testSubjects.exists('refreshDataButton')).to.be(true); + await retry.waitFor('number of fetches to be 0', waitForFetches(0)); + }); + + it('should not fetch on indexPattern change', async function () { + expect(await testSubjects.exists('refreshDataButton')).to.be(true); + await retry.waitFor('number of fetches to be 0', waitForFetches(0)); + + await PageObjects.discover.selectIndexPattern('date-nested'); + + expect(await testSubjects.exists('refreshDataButton')).to.be(true); + await retry.waitFor('number of fetches to be 0', waitForFetches(0)); + }); + + it('should fetch data from ES after refreshDataButton click', async function () { + expect(await testSubjects.exists('refreshDataButton')).to.be(true); + await retry.waitFor('number of fetches to be 0', waitForFetches(0)); + + await testSubjects.click('refreshDataButton'); + + await retry.waitFor('number of fetches to be 1', waitForFetches(1)); + expect(await testSubjects.exists('refreshDataButton')).to.be(false); + }); + + it('should fetch data from ES after submit query', async function () { + expect(await testSubjects.exists('refreshDataButton')).to.be(true); + await retry.waitFor('number of fetches to be 0', waitForFetches(0)); + + await queryBar.submitQuery(); + + await retry.waitFor('number of fetches to be 1', waitForFetches(1)); + expect(await testSubjects.exists('refreshDataButton')).to.be(false); + }); + + it('should fetch data from ES after choosing commonly used time range', async function () { + await PageObjects.discover.selectIndexPattern('logstash-*'); + expect(await testSubjects.exists('refreshDataButton')).to.be(true); + await retry.waitFor('number of fetches to be 0', waitForFetches(0)); + + await PageObjects.timePicker.setCommonlyUsedTime('This_week'); + + await retry.waitFor('number of fetches to be 1', waitForFetches(1)); + expect(await testSubjects.exists('refreshDataButton')).to.be(false); + }); + }); + + it(`when it's false should fetch data from ES initially`, async function () { + await initSearchOnPageLoad(true); + await retry.waitFor('number of fetches to be 1', waitForFetches(1)); + }); + }); +} diff --git a/test/functional/apps/discover/_source_filters.ts b/test/functional/apps/discover/_source_filters.ts index 6c6979b39702c..912ffd8d552b9 100644 --- a/test/functional/apps/discover/_source_filters.ts +++ b/test/functional/apps/discover/_source_filters.ts @@ -16,7 +16,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const kibanaServer = getService('kibanaServer'); const PageObjects = getPageObjects(['common', 'timePicker', 'discover']); - describe('source filters', function describeIndexTests() { + // FLAKY: https://github.com/elastic/kibana/issues/113130 + describe.skip('source filters', function describeIndexTests() { before(async function () { // delete .kibana index and update configDoc await kibanaServer.uiSettings.replace({ diff --git a/test/functional/apps/discover/index.ts b/test/functional/apps/discover/index.ts index 3a18a55fe138b..59191b489f4c7 100644 --- a/test/functional/apps/discover/index.ts +++ b/test/functional/apps/discover/index.ts @@ -51,5 +51,6 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) { loadTestFile(require.resolve('./_runtime_fields_editor')); loadTestFile(require.resolve('./_huge_fields')); loadTestFile(require.resolve('./_date_nested')); + loadTestFile(require.resolve('./_search_on_page_load')); }); } diff --git a/test/functional/services/common/find.ts b/test/functional/services/common/find.ts index 8d037e2df2109..978060e9423f2 100644 --- a/test/functional/services/common/find.ts +++ b/test/functional/services/common/find.ts @@ -118,9 +118,12 @@ export class FindService extends FtrService { ): Promise<WebElementWrapper[]> { this.log.debug(`Find.allByCssSelector('${selector}') with timeout=${timeout}`); await this._withTimeout(timeout); - const elements = await this.driver.findElements(By.css(selector)); - await this._withTimeout(this.defaultFindTimeout); - return this.wrapAll(elements); + try { + const elements = await this.driver.findElements(By.css(selector)); + return this.wrapAll(elements); + } finally { + await this._withTimeout(this.defaultFindTimeout); + } } public async descendantExistsByCssSelector( @@ -129,8 +132,13 @@ export class FindService extends FtrService { timeout: number = this.WAIT_FOR_EXISTS_TIME ): Promise<boolean> { this.log.debug(`Find.descendantExistsByCssSelector('${selector}') with timeout=${timeout}`); - const els = await parentElement._webElement.findElements(By.css(selector)); - return await this.exists(async () => this.wrapAll(els), timeout); + await this._withTimeout(timeout); + try { + const els = await parentElement._webElement.findElements(By.css(selector)); + return await this.exists(async () => this.wrapAll(els), timeout); + } finally { + await this._withTimeout(this.defaultFindTimeout); + } } public async descendantDisplayedByCssSelector( @@ -406,15 +414,18 @@ export class FindService extends FtrService { ) { this.log.debug(`Find.waitForDeletedByCssSelector('${selector}') with timeout=${timeout}`); await this._withTimeout(this.POLLING_TIME); - await this.driver.wait( - async () => { - const found = await this.driver.findElements(By.css(selector)); - return found.length === 0; - }, - timeout, - `The element ${selector} was still present when it should have disappeared.` - ); - await this._withTimeout(this.defaultFindTimeout); + try { + await this.driver.wait( + async () => { + const found = await this.driver.findElements(By.css(selector)); + return found.length === 0; + }, + timeout, + `The element ${selector} was still present when it should have disappeared.` + ); + } finally { + await this._withTimeout(this.defaultFindTimeout); + } } public async waitForAttributeToChange( diff --git a/test/scripts/jenkins_storybook.sh b/test/scripts/jenkins_storybook.sh index 17ca46b0097b1..bf8b881a91ecd 100755 --- a/test/scripts/jenkins_storybook.sh +++ b/test/scripts/jenkins_storybook.sh @@ -8,6 +8,7 @@ yarn storybook --site apm yarn storybook --site canvas yarn storybook --site codeeditor yarn storybook --site ci_composite +yarn storybook --site custom_integrations yarn storybook --site url_template_editor yarn storybook --site dashboard yarn storybook --site dashboard_enhanced diff --git a/test/server_integration/http/platform/config.status.ts b/test/server_integration/http/platform/config.status.ts index 8cc76c901f47c..20ffc917f8244 100644 --- a/test/server_integration/http/platform/config.status.ts +++ b/test/server_integration/http/platform/config.status.ts @@ -51,7 +51,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { runOptions: { ...httpConfig.get('kbnTestServer.runOptions'), // Don't wait for Kibana to be completely ready so that we can test the status timeouts - wait: /\[Kibana\]\[http\] http server running/, + wait: /Kibana is now unavailable/, }, }, }; diff --git a/test/server_integration/http/platform/status.ts b/test/server_integration/http/platform/status.ts index e443ce3f31cbf..c6ca805703bfd 100644 --- a/test/server_integration/http/platform/status.ts +++ b/test/server_integration/http/platform/status.ts @@ -23,6 +23,9 @@ export default function ({ getService }: FtrProviderContext) { return resp.body.status.plugins[pluginName]; }; + // max debounce of the status observable + 1 + const statusPropagation = () => new Promise((resolve) => setTimeout(resolve, 501)); + const setStatus = async <T extends keyof typeof ServiceStatusLevels>(level: T) => supertest .post(`/internal/status_plugin_a/status/set?level=${level}`) @@ -53,6 +56,7 @@ export default function ({ getService }: FtrProviderContext) { 5_000, async () => (await getStatus('statusPluginA')).level === 'degraded' ); + await statusPropagation(); expect((await getStatus('statusPluginA')).level).to.eql('degraded'); expect((await getStatus('statusPluginB')).level).to.eql('degraded'); @@ -62,6 +66,7 @@ export default function ({ getService }: FtrProviderContext) { 5_000, async () => (await getStatus('statusPluginA')).level === 'available' ); + await statusPropagation(); expect((await getStatus('statusPluginA')).level).to.eql('available'); expect((await getStatus('statusPluginB')).level).to.eql('available'); }); diff --git a/x-pack/examples/exploratory_view_example/.eslintrc.json b/x-pack/examples/exploratory_view_example/.eslintrc.json new file mode 100644 index 0000000000000..2aab6c2d9093b --- /dev/null +++ b/x-pack/examples/exploratory_view_example/.eslintrc.json @@ -0,0 +1,5 @@ +{ + "rules": { + "@typescript-eslint/consistent-type-definitions": 0 + } +} diff --git a/x-pack/examples/exploratory_view_example/README.md b/x-pack/examples/exploratory_view_example/README.md new file mode 100644 index 0000000000000..dd2aaf18f32be --- /dev/null +++ b/x-pack/examples/exploratory_view_example/README.md @@ -0,0 +1,8 @@ +# Embedded Observability exploratory view example + +To run this example plugin, use the command `yarn start --run-examples`. + +This example shows how to embed Exploratory view into other observability solution applications. Using the exploratory view `EmbeddableComponent` of the `observability` start plugin, +you can pass in a valid Exploratory view series attributes which will get rendered the same way exploratory view works using Lens Embeddable. Updating the +configuration will reload the embedded visualization. + diff --git a/x-pack/examples/exploratory_view_example/kibana.json b/x-pack/examples/exploratory_view_example/kibana.json new file mode 100644 index 0000000000000..0ebc4bfe2e460 --- /dev/null +++ b/x-pack/examples/exploratory_view_example/kibana.json @@ -0,0 +1,20 @@ +{ + "id": "exploratoryViewExample", + "version": "0.0.1", + "kibanaVersion": "kibana", + "configPath": ["exploratory_view_example"], + "server": false, + "ui": true, + "requiredPlugins": [ + "observability", + "data", + "embeddable", + "developerExamples" + ], + "optionalPlugins": [], + "requiredBundles": [], + "owner": { + "name": "`Synthetics team`", + "githubTeam": "uptime" + } +} diff --git a/x-pack/examples/exploratory_view_example/package.json b/x-pack/examples/exploratory_view_example/package.json new file mode 100644 index 0000000000000..a4d42931554d0 --- /dev/null +++ b/x-pack/examples/exploratory_view_example/package.json @@ -0,0 +1,14 @@ +{ + "name": "exploratory_view_example", + "version": "1.0.0", + "main": "target/examples/exploratory_view_example", + "kibana": { + "version": "kibana", + "templateVersion": "1.0.0" + }, + "license": "Elastic License 2.0", + "scripts": { + "kbn": "node ../../../scripts/kbn.js", + "build": "rm -rf './target' && ../../../node_modules/.bin/tsc" + } +} \ No newline at end of file diff --git a/x-pack/examples/exploratory_view_example/public/app.tsx b/x-pack/examples/exploratory_view_example/public/app.tsx new file mode 100644 index 0000000000000..9ad37b6fdbfef --- /dev/null +++ b/x-pack/examples/exploratory_view_example/public/app.tsx @@ -0,0 +1,89 @@ +/* + * 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 React from 'react'; +import { + EuiButton, + EuiFlexGroup, + EuiFlexItem, + EuiPage, + EuiPageBody, + EuiPageContent, + EuiPageContentBody, + EuiPageHeader, + EuiPageHeaderSection, + EuiTitle, +} from '@elastic/eui'; +import { IndexPattern } from 'src/plugins/data/public'; +import { CoreStart } from 'kibana/public'; +import { StartDependencies } from './plugin'; +import { AllSeries } from '../../../plugins/observability/public'; + +export const App = (props: { + core: CoreStart; + plugins: StartDependencies; + defaultIndexPattern: IndexPattern | null; +}) => { + const ExploratoryViewComponent = props.plugins.observability.ExploratoryViewEmbeddable; + + const seriesList: AllSeries = [ + { + name: 'Monitors response duration', + time: { + from: 'now-5d', + to: 'now', + }, + reportDefinitions: { + 'monitor.id': ['ALL_VALUES'], + }, + breakdown: 'observer.geo.name', + operationType: 'average', + dataType: 'synthetics', + seriesType: 'line', + selectedMetricField: 'monitor.duration.us', + }, + ]; + + const hrefLink = props.plugins.observability.createExploratoryViewUrl( + { reportType: 'kpi-over-time', allSeries: seriesList }, + props.core.http.basePath.get() + ); + + return ( + <EuiPage> + <EuiPageBody style={{ maxWidth: 1200, margin: '0 auto' }}> + <EuiPageHeader> + <EuiPageHeaderSection> + <EuiTitle size="l"> + <h1>Observability Exploratory View Example</h1> + </EuiTitle> + </EuiPageHeaderSection> + </EuiPageHeader> + <EuiPageContent> + <EuiPageContentBody style={{ maxWidth: 800, margin: '0 auto', height: '70vh' }}> + <p> + This app embeds an Observability Exploratory view as embeddable component. Make sure + you have data in heartbeat-* index within last 5 days for this demo to work. + </p> + <EuiFlexGroup justifyContent="flexEnd"> + <EuiFlexItem grow={false}> + <EuiButton aria-label="Open in exploratory view" href={hrefLink} target="_blank"> + Edit in exploratory view (new tab) + </EuiButton> + </EuiFlexItem> + </EuiFlexGroup> + <ExploratoryViewComponent + attributes={seriesList} + reportType="kpi-over-time" + title={'Monitor response duration'} + /> + </EuiPageContentBody> + </EuiPageContent> + </EuiPageBody> + </EuiPage> + ); +}; diff --git a/x-pack/examples/exploratory_view_example/public/index.ts b/x-pack/examples/exploratory_view_example/public/index.ts new file mode 100644 index 0000000000000..f8cb25977ae53 --- /dev/null +++ b/x-pack/examples/exploratory_view_example/public/index.ts @@ -0,0 +1,10 @@ +/* + * 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 { ExploratoryViewExamplePlugin } from './plugin'; + +export const plugin = () => new ExploratoryViewExamplePlugin(); diff --git a/x-pack/examples/exploratory_view_example/public/mount.tsx b/x-pack/examples/exploratory_view_example/public/mount.tsx new file mode 100644 index 0000000000000..58ec363223270 --- /dev/null +++ b/x-pack/examples/exploratory_view_example/public/mount.tsx @@ -0,0 +1,35 @@ +/* + * 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 * as React from 'react'; +import { render, unmountComponentAtNode } from 'react-dom'; +import { CoreSetup, AppMountParameters } from 'kibana/public'; +import { StartDependencies } from './plugin'; + +export const mount = + (coreSetup: CoreSetup<StartDependencies>) => + async ({ element }: AppMountParameters) => { + const [core, plugins] = await coreSetup.getStartServices(); + const { App } = await import('./app'); + + const deps = { + core, + plugins, + }; + + const defaultIndexPattern = await plugins.data.indexPatterns.getDefault(); + + const i18nCore = core.i18n; + + const reactElement = ( + <i18nCore.Context> + <App {...deps} defaultIndexPattern={defaultIndexPattern} /> + </i18nCore.Context> + ); + render(reactElement, element); + return () => unmountComponentAtNode(element); + }; diff --git a/x-pack/examples/exploratory_view_example/public/plugin.ts b/x-pack/examples/exploratory_view_example/public/plugin.ts new file mode 100644 index 0000000000000..50832d36c6fc9 --- /dev/null +++ b/x-pack/examples/exploratory_view_example/public/plugin.ts @@ -0,0 +1,46 @@ +/* + * 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 { Plugin, CoreSetup, AppNavLinkStatus } from '../../../../src/core/public'; +import { DataPublicPluginStart } from '../../../../src/plugins/data/public'; +import { ObservabilityPublicStart } from '../../../plugins/observability/public'; +import { DeveloperExamplesSetup } from '../../../../examples/developer_examples/public'; +import { mount } from './mount'; + +export interface SetupDependencies { + developerExamples: DeveloperExamplesSetup; +} + +export interface StartDependencies { + data: DataPublicPluginStart; + observability: ObservabilityPublicStart; +} + +export class ExploratoryViewExamplePlugin + implements Plugin<void, void, SetupDependencies, StartDependencies> +{ + public setup(core: CoreSetup<StartDependencies>, { developerExamples }: SetupDependencies) { + core.application.register({ + id: 'exploratory_view_example', + title: 'Observability Exploratory View example', + navLinkStatus: AppNavLinkStatus.hidden, + mount: mount(core), + order: 1000, + }); + + developerExamples.register({ + appId: 'exploratory_view_example', + title: 'Observability Exploratory View', + description: + 'Embed Observability exploratory view in your observability solution app to render common visualizations', + }); + } + + public start() {} + + public stop() {} +} diff --git a/x-pack/examples/exploratory_view_example/tsconfig.json b/x-pack/examples/exploratory_view_example/tsconfig.json new file mode 100644 index 0000000000000..ef464f3815e28 --- /dev/null +++ b/x-pack/examples/exploratory_view_example/tsconfig.json @@ -0,0 +1,21 @@ +{ + "extends": "../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types" + }, + "include": [ + "index.ts", + "public/**/*.ts", + "public/**/*.tsx", + "server/**/*.ts", + "../../../typings/**/*" + ], + "exclude": [], + "references": [ + { "path": "../../../src/core/tsconfig.json" }, + { "path": "../../../src/plugins/data/tsconfig.json" }, + { "path": "../../../src/plugins/embeddable/tsconfig.json" }, + { "path": "../../plugins/observability/tsconfig.json" }, + { "path": "../../../examples/developer_examples/tsconfig.json" }, + ] +} diff --git a/x-pack/plugins/actions/server/actions_client.test.ts b/x-pack/plugins/actions/server/actions_client.test.ts index 7549d2ecaab77..ca51b1cdfea1b 100644 --- a/x-pack/plugins/actions/server/actions_client.test.ts +++ b/x-pack/plugins/actions/server/actions_client.test.ts @@ -439,7 +439,6 @@ describe('create()', () => { test('throws error creating action with disabled actionType', async () => { const localConfigUtils = getActionsConfigurationUtilities({ - enabled: true, enabledActionTypes: ['some-not-ignored-action-type'], allowedHosts: ['*'], preconfiguredAlertHistoryEsIndex: false, diff --git a/x-pack/plugins/actions/server/actions_config.test.ts b/x-pack/plugins/actions/server/actions_config.test.ts index 51cd9e5599472..217f9593ee6d8 100644 --- a/x-pack/plugins/actions/server/actions_config.test.ts +++ b/x-pack/plugins/actions/server/actions_config.test.ts @@ -22,7 +22,6 @@ import moment from 'moment'; const mockLogger = loggingSystemMock.create().get() as jest.Mocked<Logger>; const defaultActionsConfig: ActionsConfig = { - enabled: false, allowedHosts: [], enabledActionTypes: [], preconfiguredAlertHistoryEsIndex: false, @@ -47,7 +46,6 @@ describe('ensureUriAllowed', () => { test('returns true when "any" hostnames are allowed', () => { const config: ActionsConfig = { ...defaultActionsConfig, - enabled: false, allowedHosts: [AllowedHosts.Any], enabledActionTypes: [], }; @@ -77,7 +75,6 @@ describe('ensureUriAllowed', () => { test('returns true when the hostname in the requested uri is in the allowedHosts', () => { const config: ActionsConfig = { ...defaultActionsConfig, - enabled: false, allowedHosts: ['github.com'], enabledActionTypes: [], }; @@ -91,7 +88,6 @@ describe('ensureHostnameAllowed', () => { test('returns true when "any" hostnames are allowed', () => { const config: ActionsConfig = { ...defaultActionsConfig, - enabled: false, allowedHosts: [AllowedHosts.Any], enabledActionTypes: [], }; @@ -112,7 +108,6 @@ describe('ensureHostnameAllowed', () => { test('returns true when the hostname in the requested uri is in the allowedHosts', () => { const config: ActionsConfig = { ...defaultActionsConfig, - enabled: false, allowedHosts: ['github.com'], enabledActionTypes: [], }; @@ -126,7 +121,6 @@ describe('isUriAllowed', () => { test('returns true when "any" hostnames are allowed', () => { const config: ActionsConfig = { ...defaultActionsConfig, - enabled: false, allowedHosts: [AllowedHosts.Any], enabledActionTypes: [], }; @@ -152,7 +146,6 @@ describe('isUriAllowed', () => { test('returns true when the hostname in the requested uri is in the allowedHosts', () => { const config: ActionsConfig = { ...defaultActionsConfig, - enabled: false, allowedHosts: ['github.com'], enabledActionTypes: [], }; @@ -166,7 +159,6 @@ describe('isHostnameAllowed', () => { test('returns true when "any" hostnames are allowed', () => { const config: ActionsConfig = { ...defaultActionsConfig, - enabled: false, allowedHosts: [AllowedHosts.Any], enabledActionTypes: [], }; @@ -181,7 +173,6 @@ describe('isHostnameAllowed', () => { test('returns true when the hostname in the requested uri is in the allowedHosts', () => { const config: ActionsConfig = { ...defaultActionsConfig, - enabled: false, allowedHosts: ['github.com'], enabledActionTypes: [], }; @@ -193,7 +184,6 @@ describe('isActionTypeEnabled', () => { test('returns true when "any" actionTypes are allowed', () => { const config: ActionsConfig = { ...defaultActionsConfig, - enabled: false, allowedHosts: [], enabledActionTypes: ['ignore', EnabledActionTypes.Any], }; @@ -203,7 +193,6 @@ describe('isActionTypeEnabled', () => { test('returns false when no actionType is allowed', () => { const config: ActionsConfig = { ...defaultActionsConfig, - enabled: false, allowedHosts: [], enabledActionTypes: [], }; @@ -213,7 +202,6 @@ describe('isActionTypeEnabled', () => { test('returns false when the actionType is not in the enabled list', () => { const config: ActionsConfig = { ...defaultActionsConfig, - enabled: false, allowedHosts: [], enabledActionTypes: ['foo'], }; @@ -223,7 +211,6 @@ describe('isActionTypeEnabled', () => { test('returns true when the actionType is in the enabled list', () => { const config: ActionsConfig = { ...defaultActionsConfig, - enabled: false, allowedHosts: [], enabledActionTypes: ['ignore', 'foo'], }; @@ -235,7 +222,6 @@ describe('ensureActionTypeEnabled', () => { test('does not throw when any actionType is allowed', () => { const config: ActionsConfig = { ...defaultActionsConfig, - enabled: false, allowedHosts: [], enabledActionTypes: ['ignore', EnabledActionTypes.Any], }; @@ -254,7 +240,6 @@ describe('ensureActionTypeEnabled', () => { test('throws when actionType is not enabled', () => { const config: ActionsConfig = { ...defaultActionsConfig, - enabled: false, allowedHosts: [], enabledActionTypes: ['ignore'], }; @@ -268,7 +253,6 @@ describe('ensureActionTypeEnabled', () => { test('does not throw when actionType is enabled', () => { const config: ActionsConfig = { ...defaultActionsConfig, - enabled: false, allowedHosts: [], enabledActionTypes: ['ignore', 'foo'], }; diff --git a/x-pack/plugins/actions/server/builtin_action_types/lib/axios_utils_connection.test.ts b/x-pack/plugins/actions/server/builtin_action_types/lib/axios_utils_connection.test.ts index 4ed9485e923a7..149ac79522f73 100644 --- a/x-pack/plugins/actions/server/builtin_action_types/lib/axios_utils_connection.test.ts +++ b/x-pack/plugins/actions/server/builtin_action_types/lib/axios_utils_connection.test.ts @@ -247,7 +247,6 @@ async function createServer(useHttps: boolean = false): Promise<CreateServerResu } const BaseActionsConfig: ActionsConfig = { - enabled: true, allowedHosts: ['*'], enabledActionTypes: ['*'], preconfiguredAlertHistoryEsIndex: false, diff --git a/x-pack/plugins/actions/server/config.test.ts b/x-pack/plugins/actions/server/config.test.ts index d99b9349e977b..7f3ce5bee6e02 100644 --- a/x-pack/plugins/actions/server/config.test.ts +++ b/x-pack/plugins/actions/server/config.test.ts @@ -29,7 +29,6 @@ describe('config validation', () => { "idleInterval": "PT1H", "pageSize": 100, }, - "enabled": true, "enabledActionTypes": Array [ "*", ], @@ -70,7 +69,6 @@ describe('config validation', () => { "idleInterval": "PT1H", "pageSize": 100, }, - "enabled": true, "enabledActionTypes": Array [ "*", ], @@ -196,7 +194,6 @@ describe('config validation', () => { "idleInterval": "PT1H", "pageSize": 100, }, - "enabled": true, "enabledActionTypes": Array [ "*", ], diff --git a/x-pack/plugins/actions/server/config.ts b/x-pack/plugins/actions/server/config.ts index 54fd0d72bccee..cf05ee9a24eec 100644 --- a/x-pack/plugins/actions/server/config.ts +++ b/x-pack/plugins/actions/server/config.ts @@ -57,7 +57,6 @@ const customHostSettingsSchema = schema.object({ export type CustomHostSettings = TypeOf<typeof customHostSettingsSchema>; export const configSchema = schema.object({ - enabled: schema.boolean({ defaultValue: true }), allowedHosts: schema.arrayOf( schema.oneOf([schema.string({ hostname: true }), schema.literal(AllowedHosts.Any)]), { diff --git a/x-pack/plugins/actions/server/index.test.ts b/x-pack/plugins/actions/server/index.test.ts index dbe8fca806f17..9021879fa38aa 100644 --- a/x-pack/plugins/actions/server/index.test.ts +++ b/x-pack/plugins/actions/server/index.test.ts @@ -6,6 +6,7 @@ */ import { config } from './index'; import { applyDeprecations, configDeprecationFactory } from '@kbn/config'; +import { configDeprecationsMock } from 'src/core/server/mocks'; const CONFIG_PATH = 'xpack.actions'; const applyStackAlertDeprecations = (settings: Record<string, unknown> = {}) => { @@ -14,11 +15,12 @@ const applyStackAlertDeprecations = (settings: Record<string, unknown> = {}) => const _config = { [CONFIG_PATH]: settings, }; - const { config: migrated } = applyDeprecations( + const { config: migrated, changedPaths } = applyDeprecations( _config, deprecations.map((deprecation) => ({ deprecation, path: CONFIG_PATH, + context: configDeprecationsMock.createContext(), })), () => ({ message }) => @@ -27,18 +29,33 @@ const applyStackAlertDeprecations = (settings: Record<string, unknown> = {}) => return { messages: deprecationMessages, migrated, + changedPaths, }; }; describe('index', () => { describe('deprecations', () => { - it('should deprecate .enabled flag', () => { - const { messages } = applyStackAlertDeprecations({ enabled: false }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"xpack.actions.enabled\\" is deprecated. The ability to disable this plugin will be removed in 8.0.0.", - ] - `); + it('should properly unset deprecated configs', () => { + const { messages, changedPaths } = applyStackAlertDeprecations({ + customHostSettings: [{ ssl: { rejectUnauthorized: false } }], + rejectUnauthorized: false, + proxyRejectUnauthorizedCertificates: false, + }); + expect(changedPaths.unset).toStrictEqual([ + 'xpack.actions.customHostSettings.ssl.rejectUnauthorized', + 'xpack.actions.rejectUnauthorized', + 'xpack.actions.proxyRejectUnauthorizedCertificates', + ]); + expect(messages.length).toBe(3); + expect(messages[0]).toBe( + '"xpack.actions.customHostSettings[<index>].ssl.rejectUnauthorized" is deprecated.Use "xpack.actions.customHostSettings[<index>].ssl.verificationMode" instead, with the setting "verificationMode:full" eql to "rejectUnauthorized:true", and "verificationMode:none" eql to "rejectUnauthorized:false".' + ); + expect(messages[1]).toBe( + '"xpack.actions.rejectUnauthorized" is deprecated. Use "xpack.actions.verificationMode" instead, with the setting "verificationMode:full" eql to "rejectUnauthorized:true", and "verificationMode:none" eql to "rejectUnauthorized:false".' + ); + expect(messages[2]).toBe( + '"xpack.actions.proxyRejectUnauthorizedCertificates" is deprecated. Use "xpack.actions.proxyVerificationMode" instead, with the setting "proxyVerificationMode:full" eql to "rejectUnauthorized:true",and "proxyVerificationMode:none" eql to "rejectUnauthorized:false".' + ); }); }); }); diff --git a/x-pack/plugins/actions/server/index.ts b/x-pack/plugins/actions/server/index.ts index bf59a1a11687d..f012ec83c2dfb 100644 --- a/x-pack/plugins/actions/server/index.ts +++ b/x-pack/plugins/actions/server/index.ts @@ -64,7 +64,8 @@ export const config: PluginConfigDescriptor<ActionsConfig> = { if ( customHostSettings.find( (customHostSchema: CustomHostSettings) => - !!customHostSchema.ssl && !!customHostSchema.ssl.rejectUnauthorized + customHostSchema.hasOwnProperty('ssl') && + customHostSchema.ssl?.hasOwnProperty('rejectUnauthorized') ) ) { addDeprecation({ @@ -82,11 +83,18 @@ export const config: PluginConfigDescriptor<ActionsConfig> = { ], }, }); + return { + unset: [ + { + path: `xpack.actions.customHostSettings.ssl.rejectUnauthorized`, + }, + ], + }; } }, (settings, fromPath, addDeprecation) => { const actions = get(settings, fromPath); - if (!!actions?.rejectUnauthorized) { + if (actions?.hasOwnProperty('rejectUnauthorized')) { addDeprecation({ message: `"xpack.actions.rejectUnauthorized" is deprecated. Use "xpack.actions.verificationMode" instead, ` + @@ -101,11 +109,18 @@ export const config: PluginConfigDescriptor<ActionsConfig> = { ], }, }); + return { + unset: [ + { + path: `xpack.actions.rejectUnauthorized`, + }, + ], + }; } }, (settings, fromPath, addDeprecation) => { const actions = get(settings, fromPath); - if (!!actions?.proxyRejectUnauthorizedCertificates) { + if (actions?.hasOwnProperty('proxyRejectUnauthorizedCertificates')) { addDeprecation({ message: `"xpack.actions.proxyRejectUnauthorizedCertificates" is deprecated. Use "xpack.actions.proxyVerificationMode" instead, ` + @@ -120,17 +135,13 @@ export const config: PluginConfigDescriptor<ActionsConfig> = { ], }, }); - } - }, - (settings, fromPath, addDeprecation) => { - const actions = get(settings, fromPath); - if (actions?.enabled === false || actions?.enabled === true) { - addDeprecation({ - message: `"xpack.actions.enabled" is deprecated. The ability to disable this plugin will be removed in 8.0.0.`, - correctiveActions: { - manualSteps: [`Remove "xpack.actions.enabled" from your kibana configs.`], - }, - }); + return { + unset: [ + { + path: `xpack.actions.proxyRejectUnauthorizedCertificates`, + }, + ], + }; } }, ], diff --git a/x-pack/plugins/actions/server/lib/custom_host_settings.test.ts b/x-pack/plugins/actions/server/lib/custom_host_settings.test.ts index ec7b46e545112..48c9352566118 100644 --- a/x-pack/plugins/actions/server/lib/custom_host_settings.test.ts +++ b/x-pack/plugins/actions/server/lib/custom_host_settings.test.ts @@ -65,7 +65,6 @@ describe('custom_host_settings', () => { describe('resolveCustomHosts()', () => { const defaultActionsConfig: ActionsConfig = { - enabled: true, allowedHosts: [], enabledActionTypes: [], preconfiguredAlertHistoryEsIndex: false, diff --git a/x-pack/plugins/actions/server/plugin.test.ts b/x-pack/plugins/actions/server/plugin.test.ts index 86d2de783ebe5..08ea99df67c8e 100644 --- a/x-pack/plugins/actions/server/plugin.test.ts +++ b/x-pack/plugins/actions/server/plugin.test.ts @@ -34,7 +34,6 @@ describe('Actions Plugin', () => { beforeEach(() => { context = coreMock.createPluginInitializerContext<ActionsConfig>({ - enabled: true, enabledActionTypes: ['*'], allowedHosts: ['*'], preconfiguredAlertHistoryEsIndex: false, @@ -253,7 +252,6 @@ describe('Actions Plugin', () => { beforeEach(() => { context = coreMock.createPluginInitializerContext<ActionsConfig>({ - enabled: true, enabledActionTypes: ['*'], allowedHosts: ['*'], preconfiguredAlertHistoryEsIndex: false, diff --git a/x-pack/plugins/alerting/README.md b/x-pack/plugins/alerting/README.md index 94cdeadee97e7..58d2ca35dea7e 100644 --- a/x-pack/plugins/alerting/README.md +++ b/x-pack/plugins/alerting/README.md @@ -118,6 +118,7 @@ The following table describes the properties of the `options` object. |executor|This is where the code for the rule type lives. This is a function to be called when executing a rule on an interval basis. For full details, see the executor section below.|Function| |producer|The id of the application producing this rule type.|string| |minimumLicenseRequired|The value of a minimum license. Most of the rules are licensed as "basic".|string| +|ruleTaskTimeout|The length of time a rule can run before being cancelled due to timeout. By default, this value is "5m".|string| |useSavedObjectReferences.extractReferences|(Optional) When developing a rule type, you can choose to implement hooks for extracting saved object references from rule parameters. This hook will be invoked when a rule is created or updated. Implementing this hook is optional, but if an extract hook is implemented, an inject hook must also be implemented.|Function |useSavedObjectReferences.injectReferences|(Optional) When developing a rule type, you can choose to implement hooks for injecting saved object references into rule parameters. This hook will be invoked when a rule is retrieved (get or find). Implementing this hook is optional, but if an inject hook is implemented, an extract hook must also be implemented.|Function |isExportable|Whether the rule type is exportable from the Saved Objects Management UI.|boolean| @@ -344,6 +345,7 @@ const myRuleType: AlertType< }; }, producer: 'alerting', + ruleTaskTimeout: '10m', useSavedObjectReferences: { extractReferences: (params: Params): RuleParamsAndRefs<ExtractedParams> => { const { testSavedObjectId, ...otherParams } = params; diff --git a/x-pack/plugins/alerting/server/config.test.ts b/x-pack/plugins/alerting/server/config.test.ts index a1ae77596ccbe..63d93b9d67769 100644 --- a/x-pack/plugins/alerting/server/config.test.ts +++ b/x-pack/plugins/alerting/server/config.test.ts @@ -12,6 +12,7 @@ describe('config validation', () => { const config: Record<string, unknown> = {}; expect(configSchema.validate(config)).toMatchInlineSnapshot(` Object { + "defaultRuleTaskTimeout": "5m", "healthCheck": Object { "interval": "60m", }, diff --git a/x-pack/plugins/alerting/server/config.ts b/x-pack/plugins/alerting/server/config.ts index 47ef451ceab92..277f0c7297df9 100644 --- a/x-pack/plugins/alerting/server/config.ts +++ b/x-pack/plugins/alerting/server/config.ts @@ -20,6 +20,7 @@ export const configSchema = schema.object({ maxEphemeralActionsPerAlert: schema.number({ defaultValue: DEFAULT_MAX_EPHEMERAL_ACTIONS_PER_ALERT, }), + defaultRuleTaskTimeout: schema.string({ validate: validateDurationSchema, defaultValue: '5m' }), }); export type AlertsConfig = TypeOf<typeof configSchema>; diff --git a/x-pack/plugins/alerting/server/health/get_state.test.ts b/x-pack/plugins/alerting/server/health/get_state.test.ts index 9429dcc07d927..f4306b8250b81 100644 --- a/x-pack/plugins/alerting/server/health/get_state.test.ts +++ b/x-pack/plugins/alerting/server/health/get_state.test.ts @@ -72,6 +72,7 @@ describe('getHealthServiceStatusWithRetryAndErrorHandling', () => { removalDelay: '1h', }, maxEphemeralActionsPerAlert: 100, + defaultRuleTaskTimeout: '20m', }), pollInterval ).subscribe(); @@ -106,6 +107,7 @@ describe('getHealthServiceStatusWithRetryAndErrorHandling', () => { removalDelay: '1h', }, maxEphemeralActionsPerAlert: 100, + defaultRuleTaskTimeout: '20m', }), pollInterval, retryDelay @@ -151,6 +153,7 @@ describe('getHealthServiceStatusWithRetryAndErrorHandling', () => { removalDelay: '1h', }, maxEphemeralActionsPerAlert: 100, + defaultRuleTaskTimeout: '20m', }) ).toPromise(); @@ -182,6 +185,7 @@ describe('getHealthServiceStatusWithRetryAndErrorHandling', () => { removalDelay: '1h', }, maxEphemeralActionsPerAlert: 100, + defaultRuleTaskTimeout: '20m', }) ).toPromise(); @@ -213,6 +217,7 @@ describe('getHealthServiceStatusWithRetryAndErrorHandling', () => { removalDelay: '1h', }, maxEphemeralActionsPerAlert: 100, + defaultRuleTaskTimeout: '20m', }) ).toPromise(); @@ -241,6 +246,7 @@ describe('getHealthServiceStatusWithRetryAndErrorHandling', () => { removalDelay: '1h', }, maxEphemeralActionsPerAlert: 100, + defaultRuleTaskTimeout: '20m', }), retryDelay ).subscribe((status) => { @@ -272,6 +278,7 @@ describe('getHealthServiceStatusWithRetryAndErrorHandling', () => { removalDelay: '1h', }, maxEphemeralActionsPerAlert: 100, + defaultRuleTaskTimeout: '20m', }), retryDelay ).subscribe((status) => { @@ -309,6 +316,7 @@ describe('getHealthServiceStatusWithRetryAndErrorHandling', () => { removalDelay: '1h', }, maxEphemeralActionsPerAlert: 100, + defaultRuleTaskTimeout: '20m', }) ).toPromise(); diff --git a/x-pack/plugins/alerting/server/index.test.ts b/x-pack/plugins/alerting/server/index.test.ts deleted file mode 100644 index b1e64935d7cd9..0000000000000 --- a/x-pack/plugins/alerting/server/index.test.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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 { config } from './index'; -import { applyDeprecations, configDeprecationFactory } from '@kbn/config'; - -const CONFIG_PATH = 'xpack.alerting'; -const applyStackAlertDeprecations = (settings: Record<string, unknown> = {}) => { - const deprecations = config.deprecations!(configDeprecationFactory); - const deprecationMessages: string[] = []; - const _config = { - [CONFIG_PATH]: settings, - }; - const { config: migrated } = applyDeprecations( - _config, - deprecations.map((deprecation) => ({ - deprecation, - path: CONFIG_PATH, - })), - () => - ({ message }) => - deprecationMessages.push(message) - ); - return { - messages: deprecationMessages, - migrated, - }; -}; - -describe('index', () => { - describe('deprecations', () => { - it('should deprecate .enabled flag', () => { - const { messages } = applyStackAlertDeprecations({ enabled: false }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"xpack.alerting.enabled\\" is deprecated. The ability to disable this plugin will be removed in 8.0.0.", - ] - `); - }); - }); -}); diff --git a/x-pack/plugins/alerting/server/index.ts b/x-pack/plugins/alerting/server/index.ts index 3b4688173e9b5..162ee06216304 100644 --- a/x-pack/plugins/alerting/server/index.ts +++ b/x-pack/plugins/alerting/server/index.ts @@ -4,7 +4,6 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import { get } from 'lodash'; import type { PublicMethodsOf } from '@kbn/utility-types'; import { RulesClient as RulesClientClass } from './rules_client'; import { PluginConfigDescriptor, PluginInitializerContext } from '../../../../src/core/server'; @@ -58,16 +57,5 @@ export const config: PluginConfigDescriptor<AlertsConfigType> = { 'xpack.alerts.invalidateApiKeysTask.removalDelay', 'xpack.alerting.invalidateApiKeysTask.removalDelay' ), - (settings, fromPath, addDeprecation) => { - const alerting = get(settings, fromPath); - if (alerting?.enabled === false || alerting?.enabled === true) { - addDeprecation({ - message: `"xpack.alerting.enabled" is deprecated. The ability to disable this plugin will be removed in 8.0.0.`, - correctiveActions: { - manualSteps: [`Remove "xpack.alerting.enabled" from your kibana configs.`], - }, - }); - } - }, ], }; diff --git a/x-pack/plugins/alerting/server/plugin.test.ts b/x-pack/plugins/alerting/server/plugin.test.ts index 4cfa1d91758ea..6419a3ccc5c90 100644 --- a/x-pack/plugins/alerting/server/plugin.test.ts +++ b/x-pack/plugins/alerting/server/plugin.test.ts @@ -38,6 +38,7 @@ describe('Alerting Plugin', () => { removalDelay: '1h', }, maxEphemeralActionsPerAlert: 10, + defaultRuleTaskTimeout: '5m', }); plugin = new AlertingPlugin(context); @@ -71,6 +72,7 @@ describe('Alerting Plugin', () => { removalDelay: '1h', }, maxEphemeralActionsPerAlert: 10, + defaultRuleTaskTimeout: '5m', }); plugin = new AlertingPlugin(context); @@ -142,6 +144,15 @@ describe('Alerting Plugin', () => { minimumLicenseRequired: 'basic', }); }); + + it('should apply default config value for ruleTaskTimeout', async () => { + const ruleType = { + ...sampleAlertType, + minimumLicenseRequired: 'basic', + } as AlertType<never, never, never, never, never, 'default', never>; + await setup.registerType(ruleType); + expect(ruleType.ruleTaskTimeout).toBe('5m'); + }); }); }); @@ -157,6 +168,7 @@ describe('Alerting Plugin', () => { removalDelay: '1h', }, maxEphemeralActionsPerAlert: 10, + defaultRuleTaskTimeout: '5m', }); const plugin = new AlertingPlugin(context); @@ -197,6 +209,7 @@ describe('Alerting Plugin', () => { removalDelay: '1h', }, maxEphemeralActionsPerAlert: 10, + defaultRuleTaskTimeout: '5m', }); const plugin = new AlertingPlugin(context); @@ -251,6 +264,7 @@ describe('Alerting Plugin', () => { removalDelay: '1h', }, maxEphemeralActionsPerAlert: 100, + defaultRuleTaskTimeout: '5m', }); const plugin = new AlertingPlugin(context); diff --git a/x-pack/plugins/alerting/server/plugin.ts b/x-pack/plugins/alerting/server/plugin.ts index bb42beba6e237..b63fa94fbad72 100644 --- a/x-pack/plugins/alerting/server/plugin.ts +++ b/x-pack/plugins/alerting/server/plugin.ts @@ -285,6 +285,7 @@ export class AlertingPlugin { encryptedSavedObjects: plugins.encryptedSavedObjects, }); + const alertingConfig = this.config; return { registerType< Params extends AlertTypeParams = AlertTypeParams, @@ -308,7 +309,14 @@ export class AlertingPlugin { if (!(alertType.minimumLicenseRequired in LICENSE_TYPE)) { throw new Error(`"${alertType.minimumLicenseRequired}" is not a valid license type`); } - ruleTypeRegistry.register(alertType); + if (!alertType.ruleTaskTimeout) { + alertingConfig.then((config) => { + alertType.ruleTaskTimeout = config.defaultRuleTaskTimeout; + ruleTypeRegistry.register(alertType); + }); + } else { + ruleTypeRegistry.register(alertType); + } }, }; } diff --git a/x-pack/plugins/alerting/server/rule_type_registry.test.ts b/x-pack/plugins/alerting/server/rule_type_registry.test.ts index f8067a2281f65..1c44e862c261c 100644 --- a/x-pack/plugins/alerting/server/rule_type_registry.test.ts +++ b/x-pack/plugins/alerting/server/rule_type_registry.test.ts @@ -112,6 +112,32 @@ describe('register()', () => { ); }); + test('throws if AlertType ruleTaskTimeout is not a valid duration', () => { + const alertType: AlertType<never, never, never, never, never, 'default'> = { + id: 123 as unknown as string, + name: 'Test', + actionGroups: [ + { + id: 'default', + name: 'Default', + }, + ], + ruleTaskTimeout: '23 milisec', + defaultActionGroupId: 'default', + minimumLicenseRequired: 'basic', + isExportable: true, + executor: jest.fn(), + producer: 'alerts', + }; + const registry = new RuleTypeRegistry(ruleTypeRegistryParams); + + expect(() => registry.register(alertType)).toThrowError( + new Error( + `Rule type \"123\" has invalid timeout: string is not a valid duration: 23 milisec.` + ) + ); + }); + test('throws if RuleType action groups contains reserved group id', () => { const alertType: AlertType<never, never, never, never, never, 'default' | 'NotReserved'> = { id: 'test', @@ -181,6 +207,28 @@ describe('register()', () => { `); }); + test('allows an AlertType to specify a custom rule task timeout', () => { + const alertType: AlertType<never, never, never, never, never, 'default', 'backToAwesome'> = { + id: 'test', + name: 'Test', + actionGroups: [ + { + id: 'default', + name: 'Default', + }, + ], + defaultActionGroupId: 'default', + ruleTaskTimeout: '13m', + executor: jest.fn(), + producer: 'alerts', + minimumLicenseRequired: 'basic', + isExportable: true, + }; + const registry = new RuleTypeRegistry(ruleTypeRegistryParams); + registry.register(alertType); + expect(registry.get('test').ruleTaskTimeout).toBe('13m'); + }); + test('throws if the custom recovery group is contained in the AlertType action groups', () => { const alertType: AlertType< never, @@ -237,6 +285,7 @@ describe('register()', () => { isExportable: true, executor: jest.fn(), producer: 'alerts', + ruleTaskTimeout: '20m', }; const registry = new RuleTypeRegistry(ruleTypeRegistryParams); registry.register(alertType); @@ -246,6 +295,7 @@ describe('register()', () => { Object { "alerting:test": Object { "createTaskRunner": [Function], + "timeout": "20m", "title": "Test", }, }, diff --git a/x-pack/plugins/alerting/server/rule_type_registry.ts b/x-pack/plugins/alerting/server/rule_type_registry.ts index 3cd21d0c64dd5..dc72b644b2c7b 100644 --- a/x-pack/plugins/alerting/server/rule_type_registry.ts +++ b/x-pack/plugins/alerting/server/rule_type_registry.ts @@ -25,6 +25,7 @@ import { getBuiltinActionGroups, RecoveredActionGroupId, ActionGroup, + validateDurationSchema, } from '../common'; import { ILicenseState } from './lib/license_state'; import { getAlertTypeFeatureUsageName } from './lib/get_alert_type_feature_usage_name'; @@ -170,6 +171,21 @@ export class RuleTypeRegistry { }) ); } + // validate ruleTypeTimeout here + if (alertType.ruleTaskTimeout) { + const invalidTimeout = validateDurationSchema(alertType.ruleTaskTimeout); + if (invalidTimeout) { + throw new Error( + i18n.translate('xpack.alerting.ruleTypeRegistry.register.invalidTimeoutAlertTypeError', { + defaultMessage: 'Rule type "{id}" has invalid timeout: {errorMessage}.', + values: { + id: alertType.id, + errorMessage: invalidTimeout, + }, + }) + ); + } + } alertType.actionVariables = normalizedActionVariables(alertType.actionVariables); const normalizedAlertType = augmentActionGroupsWithReserved< @@ -190,6 +206,7 @@ export class RuleTypeRegistry { this.taskManager.registerTaskDefinitions({ [`alerting:${alertType.id}`]: { title: alertType.name, + timeout: alertType.ruleTaskTimeout, createTaskRunner: (context: RunContext) => this.taskRunnerFactory.create< Params, diff --git a/x-pack/plugins/alerting/server/types.ts b/x-pack/plugins/alerting/server/types.ts index ba35890efd781..c73ce86acf785 100644 --- a/x-pack/plugins/alerting/server/types.ts +++ b/x-pack/plugins/alerting/server/types.ts @@ -157,8 +157,8 @@ export interface AlertType< injectReferences: (params: ExtractedParams, references: SavedObjectReference[]) => Params; }; isExportable: boolean; + ruleTaskTimeout?: string; } - export type UntypedAlertType = AlertType< AlertTypeParams, AlertTypeState, diff --git a/x-pack/plugins/alerting/server/usage/alerts_usage_collector.ts b/x-pack/plugins/alerting/server/usage/alerts_usage_collector.ts index 67687045f1b50..453a29b5884e6 100644 --- a/x-pack/plugins/alerting/server/usage/alerts_usage_collector.ts +++ b/x-pack/plugins/alerting/server/usage/alerts_usage_collector.ts @@ -17,6 +17,7 @@ const byTypeSchema: MakeSchemaFrom<AlertsUsage>['count_by_type'] = { // Built-in '__index-threshold': { type: 'long' }, '__es-query': { type: 'long' }, + transform_health: { type: 'long' }, // APM apm__error_rate: { type: 'long' }, // eslint-disable-line @typescript-eslint/naming-convention apm__transaction_error_rate: { type: 'long' }, // eslint-disable-line @typescript-eslint/naming-convention @@ -45,8 +46,8 @@ const byTypeSchema: MakeSchemaFrom<AlertsUsage>['count_by_type'] = { // Maps '__geo-containment': { type: 'long' }, // ML - xpack_ml_anomaly_detection_alert: { type: 'long' }, - xpack_ml_anomaly_detection_jobs_health: { type: 'long' }, + xpack__ml__anomaly_detection_alert: { type: 'long' }, // eslint-disable-line @typescript-eslint/naming-convention + xpack__ml__anomaly_detection_jobs_health: { type: 'long' }, // eslint-disable-line @typescript-eslint/naming-convention }; export function createAlertsUsageCollector( diff --git a/x-pack/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap b/x-pack/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap index c4658ae2ac22c..2d1433324858b 100644 --- a/x-pack/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap +++ b/x-pack/plugins/apm/common/__snapshots__/elasticsearch_fieldnames.test.ts.snap @@ -53,6 +53,8 @@ exports[`Error ERROR_EXC_TYPE 1`] = `undefined`; exports[`Error ERROR_GROUP_ID 1`] = `"grouping key"`; +exports[`Error ERROR_ID 1`] = `"error id"`; + exports[`Error ERROR_LOG_LEVEL 1`] = `undefined`; exports[`Error ERROR_LOG_MESSAGE 1`] = `undefined`; @@ -298,6 +300,8 @@ exports[`Span ERROR_EXC_TYPE 1`] = `undefined`; exports[`Span ERROR_GROUP_ID 1`] = `undefined`; +exports[`Span ERROR_ID 1`] = `undefined`; + exports[`Span ERROR_LOG_LEVEL 1`] = `undefined`; exports[`Span ERROR_LOG_MESSAGE 1`] = `undefined`; @@ -535,6 +539,8 @@ exports[`Transaction ERROR_EXC_TYPE 1`] = `undefined`; exports[`Transaction ERROR_GROUP_ID 1`] = `undefined`; +exports[`Transaction ERROR_ID 1`] = `undefined`; + exports[`Transaction ERROR_LOG_LEVEL 1`] = `undefined`; exports[`Transaction ERROR_LOG_MESSAGE 1`] = `undefined`; diff --git a/x-pack/plugins/apm/common/elasticsearch_fieldnames.ts b/x-pack/plugins/apm/common/elasticsearch_fieldnames.ts index d1f07c28bc808..4a4cad5454c4b 100644 --- a/x-pack/plugins/apm/common/elasticsearch_fieldnames.ts +++ b/x-pack/plugins/apm/common/elasticsearch_fieldnames.ts @@ -78,6 +78,7 @@ export const SPAN_DESTINATION_SERVICE_RESPONSE_TIME_SUM = // Parent ID for a transaction or span export const PARENT_ID = 'parent.id'; +export const ERROR_ID = 'error.id'; export const ERROR_GROUP_ID = 'error.grouping_key'; export const ERROR_CULPRIT = 'error.culprit'; export const ERROR_LOG_LEVEL = 'error.log.level'; diff --git a/x-pack/plugins/apm/common/processor_event.ts b/x-pack/plugins/apm/common/processor_event.ts index 57705e7ed4ce0..fe0d9abfa0e51 100644 --- a/x-pack/plugins/apm/common/processor_event.ts +++ b/x-pack/plugins/apm/common/processor_event.ts @@ -4,6 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ +import * as t from 'io-ts'; export enum ProcessorEvent { transaction = 'transaction', @@ -12,6 +13,14 @@ export enum ProcessorEvent { span = 'span', profile = 'profile', } + +export const processorEventRt = t.union([ + t.literal(ProcessorEvent.transaction), + t.literal(ProcessorEvent.error), + t.literal(ProcessorEvent.metric), + t.literal(ProcessorEvent.span), + t.literal(ProcessorEvent.profile), +]); /** * Processor events that are searchable in the UI via the query bar. * diff --git a/x-pack/plugins/apm/dev_docs/apm_queries.md b/x-pack/plugins/apm/dev_docs/apm_queries.md new file mode 100644 index 0000000000000..7ca28f2e273ca --- /dev/null +++ b/x-pack/plugins/apm/dev_docs/apm_queries.md @@ -0,0 +1,426 @@ +# Transactions + +Transactions are stored in two different formats: + +#### Individual transactions document + +A single transaction event where `transaction.duration.us` is the latency. + +```json +{ + "@timestamp": "2021-09-01T10:00:00.000Z", + "processor.event": "transaction", + "transaction.duration.us": 2000, + "event.outcome": "success" +} +``` + +or + +#### Aggregated (metric) document +A pre-aggregated document where `_doc_count` is the number of transaction events, and `transaction.duration.histogram` is the latency distribution. + +```json +{ + "_doc_count": 2, + "@timestamp": "2021-09-01T10:00:00.000Z", + "processor.event": "metric", + "metricset.name": "transaction", + "transaction.duration.histogram": { + "counts": [1, 1], + "values": [2000, 3000] + }, + "event.outcome": "success" +} +``` + +The decision to use aggregated transactions or not is determined in [`getSearchAggregatedTransactions`](https://github.com/elastic/kibana/blob/a2ac439f56313b7a3fc4708f54a4deebf2615136/x-pack/plugins/apm/server/lib/helpers/aggregated_transactions/index.ts#L53-L79) and then used to specify [the transaction index](https://github.com/elastic/kibana/blob/a2ac439f56313b7a3fc4708f54a4deebf2615136/x-pack/plugins/apm/server/lib/suggestions/get_suggestions.ts#L30-L32) and [the latency field](https://github.com/elastic/kibana/blob/a2ac439f56313b7a3fc4708f54a4deebf2615136/x-pack/plugins/apm/server/lib/alerts/chart_preview/get_transaction_duration.ts#L62-L65) + +### Latency + +Latency is the duration of a transaction. This can be calculated using transaction events or metric events (aggregated transactions). + +Noteworthy fields: `transaction.duration.us`, `transaction.duration.histogram` + +#### Transaction-based latency + +```json +{ + "size": 0, + "query": { + "bool": { + "filter": [{ "terms": { "processor.event": ["transaction"] } }] + } + }, + "aggs": { + "latency": { "avg": { "field": "transaction.duration.us" } } + } +} +``` + +#### Metric-based latency + +```json +{ + "size": 0, + "query": { + "bool": { + "filter": [ + { "terms": { "processor.event": ["metric"] } }, + { "term": { "metricset.name": "transaction" } } + ] + } + }, + "aggs": { + "latency": { "avg": { "field": "transaction.duration.histogram" } } + } +} +``` + +Please note: `metricset.name: transaction` was only recently introduced. To retain backwards compatability we still use the old filter `{ "exists": { "field": "transaction.duration.histogram" }}` when filtering for aggregated transactions ([see example](https://github.com/elastic/kibana/blob/2c8686770e64b82cf8e1db5a22327d40d5f8ce45/x-pack/plugins/apm/server/lib/helpers/aggregated_transactions/index.ts#L89-L95)). + +### Throughput + +Throughput is the number of transactions per minute. This can be calculated using transaction events or metric events (aggregated transactions). + +Noteworthy fields: None (based on `doc_count`) + +```js +{ + "size": 0, + "query": { + // same filters as for latency + }, + "aggs": { + "throughput": { "rate": { "unit": "minute" } } + } +} +``` + +### Failed transaction rate + +Failed transaction rate is the number of transactions with `event.outcome=failure` per minute. +Noteworthy fields: `event.outcome` + +```js +{ + "size": 0, + "query": { + // same filters as for latency + }, + "aggs": { + "outcomes": { + "terms": { + "field": "event.outcome", + "include": ["failure", "success"] + } + } + } +} +``` + +# System metrics + +System metrics are captured periodically (every 60 seconds by default). + +### CPU + +![image](https://user-images.githubusercontent.com/209966/135990500-f85bd8d9-b5a5-4b7c-b9e1-0759eefb8a29.png) + +Used in: [Metrics section](https://github.com/elastic/kibana/blob/00bb59713ed115343eb70d4e39059476edafbade/x-pack/plugins/apm/server/lib/metrics/by_agent/shared/cpu/index.ts#L83) + +Noteworthy fields: `system.cpu.total.norm.pct`, `system.process.cpu.total.norm.pct` + +#### Sample document + +```json +{ + "@timestamp": "2021-09-01T10:00:00.000Z", + "processor.event": "metric", + "metricset.name": "app", + "system.process.cpu.total.norm.pct": 0.003, + "system.cpu.total.norm.pct": 0.28 +} +``` + +#### Query + +```json +{ + "size": 0, + "query": { + "bool": { + "filter": [ + { "terms": { "processor.event": ["metric"] } }, + { "terms": { "metricset.name": ["app"] } } + ] + } + }, + "aggs": { + "systemCPUAverage": { "avg": { "field": "system.cpu.total.norm.pct" } }, + "processCPUAverage": { + "avg": { "field": "system.process.cpu.total.norm.pct" } + } + } +} +``` + +### Memory + +![image](https://user-images.githubusercontent.com/209966/135990556-31716990-2812-46c3-a926-8c2a64c7c89f.png) + +Noteworthy fields: `system.memory.actual.free`, `system.memory.total`, + +#### Sample document + +```json +{ + "@timestamp": "2021-09-01T10:00:00.000Z", + "processor.event": "metric", + "metricset.name": "app", + "system.memory.actual.free": 13182939136, + "system.memory.total": 15735697408 +} +``` + +#### Query + +```js +{ + "size": 0, + "query": { + "bool": { + "filter": [ + { "terms": { "processor.event": ["metric"] }}, + { "terms": { "metricset.name": ["app"] }} + + // ensure the memory fields exists + { "exists": { "field": "system.memory.actual.free" }}, + { "exists": { "field": "system.memory.total" }}, + ] + } + }, + "aggs": { + "memoryUsedAvg": { + "avg": { + "script": { + "lang": "expression", + "source": "1 - doc['system.memory.actual.free'] / doc['system.memory.total']" + } + } + } + } +} +``` + +Above example is overly simplified. In reality [we do a bit more](https://github.com/elastic/kibana/blob/fe9b5332e157fd456f81aecfd4ffa78d9e511a66/x-pack/plugins/apm/server/lib/metrics/by_agent/shared/memory/index.ts#L51-L71) to properly calculate memory usage inside containers + + + +# Transaction breakdown metrics (`transaction_breakdown`) + +A pre-aggregations of transaction documents where `transaction.breakdown.count` is the number of original transactions. + +Noteworthy fields: `transaction.name`, `transaction.type` + +#### Sample document + +```json +{ + "@timestamp": "2021-09-27T21:59:59.828Z", + "processor.event": "metric", + "metricset.name": "transaction_breakdown", + "transaction.breakdown.count": 12, + "transaction.name": "GET /api/products", + "transaction.type": "request" +} +} +``` + +# Span breakdown metrics (`span_breakdown`) + +A pre-aggregations of span documents where `span.self_time.count` is the number of original spans. Measures the "self-time" for a span type, and optional subtype, within a transaction group. + +Span breakdown metrics are used to power the "Time spent by span type" graph. Agents collect summarized metrics about the timings of spans, broken down by `span.type`. + +![image](https://user-images.githubusercontent.com/209966/135990865-9077ae3e-a7a4-4b5d-bdce-41dc832689ea.png) + +Used in: ["Time spent by span type" chart](https://github.com/elastic/kibana/blob/723370ab23573e50b3524a62c6b9998f2042423d/x-pack/plugins/apm/server/lib/transactions/breakdown/index.ts#L48-L87) + +Noteworthy fields: `transaction.name`, `transaction.type`, `span.type`, `span.subtype`, `span.self_time.*` + +#### Sample document + +```json +{ + "@timestamp": "2021-09-27T21:59:59.828Z", + "processor.event": "metric", + "metricset.name": "span_breakdown", + "transaction.name": "GET /api/products", + "transaction.type": "request", + "span.self_time.sum.us": 1028, + "span.self_time.count": 12, + "span.type": "db", + "span.subtype": "elasticsearch" +} +``` + +#### Query + +```json +{ + "size": 0, + "query": { + "bool": { + "filter": [ + { "terms": { "processor.event": ["metric"] } }, + { "terms": { "metricset.name": ["span_breakdown"] } } + ] + } + }, + "aggs": { + "total_self_time": { "sum": { "field": "span.self_time.sum.us" } }, + "types": { + "terms": { "field": "span.type" }, + "aggs": { + "subtypes": { + "terms": { "field": "span.subtype" }, + "aggs": { + "self_time_per_subtype": { + "sum": { "field": "span.self_time.sum.us" } + } + } + } + } + } + } +} +``` + +# Service destination metrics + +Pre-aggregations of span documents, where `span.destination.service.response_time.count` is the number of original spans. +These metrics measure the count and total duration of requests from one service to another service. + +![image](https://user-images.githubusercontent.com/209966/135990117-170070da-2fc5-4014-a597-0dda0970854c.png) + +Used in: [Dependencies (latency)](https://github.com/elastic/kibana/blob/00bb59713ed115343eb70d4e39059476edafbade/x-pack/plugins/apm/server/lib/backends/get_latency_charts_for_backend.ts#L68-L79), [Dependencies (throughput)](https://github.com/elastic/kibana/blob/00bb59713ed115343eb70d4e39059476edafbade/x-pack/plugins/apm/server/lib/backends/get_throughput_charts_for_backend.ts#L67-L74) and [Service Map](https://github.com/elastic/kibana/blob/00bb59713ed115343eb70d4e39059476edafbade/x-pack/plugins/apm/server/lib/service_map/get_service_map_backend_node_info.ts#L57-L67) + +Noteworthy fields: `span.destination.service.*` + +#### Sample document + +A pre-aggregated document with 73 span requests from opbeans-ruby to elasticsearch, and a combined latency of 1554ms + +```json +{ + "@timestamp": "2021-09-01T10:00:00.000Z", + "processor.event": "metric", + "metricset.name": "service_destination", + "service.name": "opbeans-ruby", + "span.destination.service.response_time.count": 73, + "span.destination.service.response_time.sum.us": 1554192, + "span.destination.service.resource": "elasticsearch", + "event.outcome": "success" +} +``` + +### Latency + +The latency between a service and an (external) endpoint + +```json +{ + "size": 0, + "query": { + "bool": { + "filter": [ + { "terms": { "processor.event": ["metric"] } }, + { "term": { "metricset.name": "service_destination" } }, + { "term": { "span.destination.service.resource": "elasticsearch" } } + ] + } + }, + "aggs": { + "latency_sum": { + "sum": { "field": "span.destination.service.response_time.sum.us" } + }, + "latency_count": { + "sum": { "field": "span.destination.service.response_time.count" } + } + } +} +``` + +### Throughput + +Captures the number of requests made from a service to an (external) endpoint + + +#### Query + +```json +{ + "size": 0, + "query": { + "bool": { + "filter": [ + { "terms": { "processor.event": ["metric"] } }, + { "term": { "metricset.name": "service_destination" } }, + { "term": { "span.destination.service.resource": "elasticsearch" } } + ] + } + }, + "aggs": { + "throughput": { + "rate": { + "field": "span.destination.service.response_time.count", + "unit": "minute" + } + } + } +} +``` + +## Common filters + +Most Elasticsearch queries will need to have one or more filters. There are a couple of reasons for adding filters: + +- correctness: Running an aggregation on unrelated documents will produce incorrect results +- stability: Running an aggregation on unrelated documents could cause the entire query to fail +- performance: limiting the number of documents will make the query faster + +```js +{ + "query": { + "bool": { + "filter": [ + // service name + { "term": { "service.name": "opbeans-go" }}, + + // service environment + { "term": { "service.environment": "testing" }} + + // transaction type + { "term": { "transaction.type": "request" }} + + // event type (possible values : transaction, span, metric, error) + { "terms": { "processor.event": ["metric"] }}, + + // metric set is a subtype of `processor.event: metric` + { "terms": { "metricset.name": ["transaction"] }}, + + // time range + { + "range": { + "@timestamp": { + "gte": 1633000560000, + "lte": 1633001498988, + "format": "epoch_millis" + } + } + } + ] + } + }, +``` diff --git a/x-pack/plugins/apm/dev_docs/learning_material.md b/x-pack/plugins/apm/dev_docs/learning_material.md new file mode 100644 index 0000000000000..4efe71a5a73b5 --- /dev/null +++ b/x-pack/plugins/apm/dev_docs/learning_material.md @@ -0,0 +1,12 @@ +# Suggested reading and learning material + +The following list outlines recommened materials for new-comers to APM UI. + +### Elasticsearch + - [What is Elasticsearch?](https://www.elastic.co/guide/en/elasticsearch/reference/current/elasticsearch-intro.html) + - [Search your data](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-your-data.html#search-your-data) + - [Query DSL](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html) + - [Aggregations](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html) + +### Observability + - [Observability Fundamentals](https://learn.elastic.co/elasticians/learn/course/internal/view/elearning/391/observability-fundamentals) diff --git a/x-pack/plugins/apm/dev_docs/local_setup.md b/x-pack/plugins/apm/dev_docs/local_setup.md index ea6741f572bad..fd350d81a35af 100644 --- a/x-pack/plugins/apm/dev_docs/local_setup.md +++ b/x-pack/plugins/apm/dev_docs/local_setup.md @@ -43,8 +43,7 @@ This will create: ## Debugging Elasticsearch queries -All APM api endpoints accept `_inspect=true` as a query param that will result in the underlying ES query being outputted in the Kibana backend process. +All APM api endpoints accept `_inspect=true` as a query param that will output all Elasticsearch queries performed in that request. It will be available in the browser response and on localhost it is also available in the Kibana Node.js process output. Example: `/api/apm/services/my_service?_inspect=true` -diff --git a/x-pack/plugins/apm/dev_docs/linting.md b/x-pack/plugins/apm/dev_docs/linting.md diff --git a/x-pack/plugins/apm/kibana.json b/x-pack/plugins/apm/kibana.json index 5bc365e35cb2f..4e82d82d655b4 100644 --- a/x-pack/plugins/apm/kibana.json +++ b/x-pack/plugins/apm/kibana.json @@ -4,6 +4,7 @@ "name": "APM UI", "githubTeam": "apm-ui" }, + "description": "The user interface for Elastic APM", "version": "8.0.0", "kibanaVersion": "kibana", "requiredPlugins": [ @@ -12,7 +13,6 @@ "embeddable", "features", "infra", - "inspector", "licensing", "observability", "ruleRegistry", diff --git a/x-pack/plugins/apm/public/application/uxApp.tsx b/x-pack/plugins/apm/public/application/uxApp.tsx index 16f05cbd51a2c..7ffa285f35799 100644 --- a/x-pack/plugins/apm/public/application/uxApp.tsx +++ b/x-pack/plugins/apm/public/application/uxApp.tsx @@ -34,10 +34,12 @@ import { createCallApmApi } from '../services/rest/createCallApmApi'; import { createStaticIndexPattern } from '../services/rest/index_pattern'; import { UXActionMenu } from '../components/app/RumDashboard/ActionMenu'; import { redirectTo } from '../components/routing/redirect_to'; -import { useBreadcrumbs } from '../../../observability/public'; +import { + InspectorContextProvider, + useBreadcrumbs, +} from '../../../observability/public'; import { useApmPluginContext } from '../context/apm_plugin/use_apm_plugin_context'; import { APP_WRAPPER_CLASS } from '../../../../../src/core/public'; -import { InspectorContextProvider } from '../context/inspector/inspector_context'; export const uxRoutes: APMRouteDefinition[] = [ { diff --git a/x-pack/plugins/apm/public/components/app/RumDashboard/ActionMenu/inpector_link.tsx b/x-pack/plugins/apm/public/components/app/RumDashboard/ActionMenu/inpector_link.tsx index fe686d5571eb8..fc7fad24edb56 100644 --- a/x-pack/plugins/apm/public/components/app/RumDashboard/ActionMenu/inpector_link.tsx +++ b/x-pack/plugins/apm/public/components/app/RumDashboard/ActionMenu/inpector_link.tsx @@ -10,8 +10,8 @@ import { i18n } from '@kbn/i18n'; import React from 'react'; import { useApmPluginContext } from '../../../../context/apm_plugin/use_apm_plugin_context'; import { useKibana } from '../../../../../../../../src/plugins/kibana_react/public'; -import { useInspectorContext } from '../../../../context/inspector/use_inspector_context'; import { enableInspectEsQueries } from '../../../../../../observability/common/ui_settings_keys'; +import { useInspectorContext } from '../../../../../../observability/public'; export function UxInspectorHeaderLink() { const { inspector } = useApmPluginContext(); diff --git a/x-pack/plugins/apm/public/components/app/RumDashboard/RumHome.tsx b/x-pack/plugins/apm/public/components/app/RumDashboard/RumHome.tsx index 80c50aac13f0e..2de6f1d063522 100644 --- a/x-pack/plugins/apm/public/components/app/RumDashboard/RumHome.tsx +++ b/x-pack/plugins/apm/public/components/app/RumDashboard/RumHome.tsx @@ -11,13 +11,13 @@ import { EuiFlexGroup, EuiTitle, EuiFlexItem } from '@elastic/eui'; import { RumOverview } from '../RumDashboard'; import { CsmSharedContextProvider } from './CsmSharedContext'; import { WebApplicationSelect } from './Panels/WebApplicationSelect'; -import { DatePicker } from '../../shared/DatePicker'; import { useApmPluginContext } from '../../../context/apm_plugin/use_apm_plugin_context'; import { UxEnvironmentFilter } from '../../shared/EnvironmentFilter'; import { UserPercentile } from './UserPercentile'; import { useBreakpoints } from '../../../hooks/use_breakpoints'; import { KibanaPageTemplateProps } from '../../../../../../../src/plugins/kibana_react/public'; import { useHasRumData } from './hooks/useHasRumData'; +import { RumDatePicker } from './rum_datepicker'; import { EmptyStateLoading } from './empty_state_loading'; export const DASHBOARD_LABEL = i18n.translate('xpack.apm.ux.title', { @@ -88,7 +88,7 @@ function PageHeader() { </EuiTitle> </EuiFlexItem> <EuiFlexItem style={{ alignItems: 'flex-end', ...datePickerStyle }}> - <DatePicker /> + <RumDatePicker /> </EuiFlexItem> </EuiFlexGroup> <EuiFlexGroup wrap> diff --git a/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/useMapFilters.ts b/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/useMapFilters.ts index bedc1818758ce..c9e8b41c26ea0 100644 --- a/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/useMapFilters.ts +++ b/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/useMapFilters.ts @@ -84,8 +84,10 @@ const existFilter: Filter = { key: 'transaction.marks.navigationTiming.fetchStart', value: 'exists', }, - exists: { - field: 'transaction.marks.navigationTiming.fetchStart', + query: { + exists: { + field: 'transaction.marks.navigationTiming.fetchStart', + }, }, }; @@ -108,7 +110,7 @@ export const useMapFilters = (): Filter[] => { } = uxUiFilters; return useMemo(() => { - const filters = [existFilter]; + const filters: Filter[] = [existFilter]; if (serviceName) { filters.push(getMatchFilter(SERVICE_NAME, serviceName)); } diff --git a/x-pack/plugins/apm/public/components/app/RumDashboard/rum_datepicker/index.test.tsx b/x-pack/plugins/apm/public/components/app/RumDashboard/rum_datepicker/index.test.tsx new file mode 100644 index 0000000000000..afb0e9ef37d51 --- /dev/null +++ b/x-pack/plugins/apm/public/components/app/RumDashboard/rum_datepicker/index.test.tsx @@ -0,0 +1,206 @@ +/* + * 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 { EuiSuperDatePicker } from '@elastic/eui'; +import { waitFor } from '@testing-library/react'; +import { mount } from 'enzyme'; +import { createMemoryHistory, MemoryHistory } from 'history'; +import React, { ReactNode } from 'react'; +import qs from 'query-string'; +import { MockApmPluginContextWrapper } from '../../../../context/apm_plugin/mock_apm_plugin_context'; +import { UrlParamsContext } from '../../../../context/url_params_context/url_params_context'; +import { RumDatePicker } from './'; +import { useLocation } from 'react-router-dom'; + +let history: MemoryHistory; +let mockHistoryPush: jest.SpyInstance; +let mockHistoryReplace: jest.SpyInstance; + +const mockRefreshTimeRange = jest.fn(); + +function MockUrlParamsProvider({ children }: { children: ReactNode }) { + const location = useLocation(); + + const urlParams = qs.parse(location.search, { + parseBooleans: true, + parseNumbers: true, + }); + + return ( + <UrlParamsContext.Provider + value={{ + rangeId: 0, + refreshTimeRange: mockRefreshTimeRange, + urlParams, + uxUiFilters: {}, + }} + children={children} + /> + ); +} + +function mountDatePicker( + params: { + rangeFrom?: string; + rangeTo?: string; + refreshPaused?: boolean; + refreshInterval?: number; + } = {} +) { + const setTimeSpy = jest.fn(); + const getTimeSpy = jest.fn().mockReturnValue({}); + + history = createMemoryHistory({ + initialEntries: [`/?${qs.stringify(params)}`], + }); + + jest.spyOn(console, 'error').mockImplementation(() => null); + mockHistoryPush = jest.spyOn(history, 'push'); + mockHistoryReplace = jest.spyOn(history, 'replace'); + + const wrapper = mount( + <MockApmPluginContextWrapper + history={history} + value={ + { + plugins: { + data: { + query: { + timefilter: { + timefilter: { setTime: setTimeSpy, getTime: getTimeSpy }, + }, + }, + }, + }, + } as any + } + > + <MockUrlParamsProvider> + <RumDatePicker /> + </MockUrlParamsProvider> + </MockApmPluginContextWrapper> + ); + + return { wrapper, setTimeSpy, getTimeSpy }; +} + +describe('RumDatePicker', () => { + afterAll(() => { + jest.restoreAllMocks(); + }); + + beforeEach(() => { + jest.resetAllMocks(); + }); + + it('sets default query params in the URL', () => { + mountDatePicker(); + expect(mockHistoryReplace).toHaveBeenCalledTimes(1); + expect(mockHistoryReplace).toHaveBeenCalledWith( + expect.objectContaining({ + search: 'rangeFrom=now-15m&rangeTo=now', + }) + ); + }); + + it('adds missing `rangeFrom` to url', () => { + mountDatePicker({ rangeTo: 'now', refreshInterval: 5000 }); + expect(mockHistoryReplace).toHaveBeenCalledTimes(1); + expect(mockHistoryReplace).toHaveBeenCalledWith( + expect.objectContaining({ + search: 'rangeFrom=now-15m&rangeTo=now&refreshInterval=5000', + }) + ); + }); + + it('does not set default query params in the URL when values already defined', () => { + mountDatePicker({ + rangeFrom: 'now-1d', + rangeTo: 'now', + refreshPaused: false, + refreshInterval: 5000, + }); + expect(mockHistoryReplace).toHaveBeenCalledTimes(0); + }); + + it('updates the URL when the date range changes', () => { + const { wrapper } = mountDatePicker(); + + expect(mockHistoryReplace).toHaveBeenCalledTimes(1); + + wrapper.find(EuiSuperDatePicker).props().onTimeChange({ + start: 'now-90m', + end: 'now-60m', + isInvalid: false, + isQuickSelection: true, + }); + expect(mockHistoryPush).toHaveBeenCalledTimes(1); + expect(mockHistoryPush).toHaveBeenLastCalledWith( + expect.objectContaining({ + search: 'rangeFrom=now-90m&rangeTo=now-60m', + }) + ); + }); + + it('enables auto-refresh when refreshPaused is false', async () => { + jest.useFakeTimers(); + const { wrapper } = mountDatePicker({ + refreshPaused: false, + refreshInterval: 1000, + }); + expect(mockRefreshTimeRange).not.toHaveBeenCalled(); + jest.advanceTimersByTime(2500); + await waitFor(() => {}); + expect(mockRefreshTimeRange).toHaveBeenCalled(); + wrapper.unmount(); + }); + + it('disables auto-refresh when refreshPaused is true', async () => { + jest.useFakeTimers(); + mountDatePicker({ refreshPaused: true, refreshInterval: 1000 }); + expect(mockRefreshTimeRange).not.toHaveBeenCalled(); + jest.advanceTimersByTime(1000); + await waitFor(() => {}); + expect(mockRefreshTimeRange).not.toHaveBeenCalled(); + }); + + describe('if both `rangeTo` and `rangeFrom` is set', () => { + it('calls setTime ', async () => { + const { setTimeSpy } = mountDatePicker({ + rangeTo: 'now-20m', + rangeFrom: 'now-22m', + }); + expect(setTimeSpy).toHaveBeenCalledWith({ + to: 'now-20m', + from: 'now-22m', + }); + }); + + it('does not update the url', () => { + expect(mockHistoryReplace).toHaveBeenCalledTimes(0); + }); + }); + + describe('if `rangeFrom` is missing from the urlParams', () => { + beforeEach(() => { + mountDatePicker({ rangeTo: 'now-5m' }); + }); + + it('updates the url with the default `rangeFrom` ', async () => { + expect(mockHistoryReplace).toHaveBeenCalledTimes(1); + expect(mockHistoryReplace.mock.calls[0][0].search).toContain( + 'rangeFrom=now-15m' + ); + }); + + it('preserves `rangeTo`', () => { + expect(mockHistoryReplace.mock.calls[0][0].search).toContain( + 'rangeTo=now-5m' + ); + }); + }); +}); diff --git a/x-pack/plugins/apm/public/components/app/RumDashboard/rum_datepicker/index.tsx b/x-pack/plugins/apm/public/components/app/RumDashboard/rum_datepicker/index.tsx new file mode 100644 index 0000000000000..9bc18d772a4a1 --- /dev/null +++ b/x-pack/plugins/apm/public/components/app/RumDashboard/rum_datepicker/index.tsx @@ -0,0 +1,35 @@ +/* + * 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 React from 'react'; +import { useUxUrlParams } from '../../../../context/url_params_context/use_ux_url_params'; +import { useDateRangeRedirect } from '../../../../hooks/use_date_range_redirect'; +import { DatePicker } from '../../../shared/DatePicker'; + +export function RumDatePicker() { + const { + urlParams: { rangeFrom, rangeTo, refreshPaused, refreshInterval }, + refreshTimeRange, + } = useUxUrlParams(); + + const { redirect, isDateRangeSet } = useDateRangeRedirect(); + + if (!isDateRangeSet) { + redirect(); + } + + return ( + <DatePicker + rangeFrom={rangeFrom} + rangeTo={rangeTo} + refreshPaused={refreshPaused} + refreshInterval={refreshInterval} + onTimeRangeRefresh={({ start, end }) => { + refreshTimeRange({ rangeFrom: start, rangeTo: end }); + }} + /> + ); +} diff --git a/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/jobs_list.tsx b/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/jobs_list.tsx index 7aafb27aa18f3..13d70438ef3b0 100644 --- a/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/jobs_list.tsx +++ b/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/jobs_list.tsx @@ -25,6 +25,7 @@ import { LoadingStatePrompt } from '../../../shared/LoadingStatePrompt'; import { ITableColumn, ManagedTable } from '../../../shared/managed_table'; import { AnomalyDetectionApiResponse } from './index'; import { LegacyJobsCallout } from './legacy_jobs_callout'; +import { MLJobsAwaitingNodeWarning } from '../../../../../../ml/public'; type Jobs = AnomalyDetectionApiResponse['jobs']; @@ -67,6 +68,7 @@ export function JobsList({ data, status, onAddEnvironments }: Props) { return ( <> + <MLJobsAwaitingNodeWarning jobIds={jobs.map((j) => j.job_id)} /> <EuiText color="subdued"> <FormattedMessage id="xpack.apm.settings.anomalyDetection.jobList.mlDescriptionText" diff --git a/x-pack/plugins/apm/public/components/app/backend_detail_overview/index.tsx b/x-pack/plugins/apm/public/components/app/backend_detail_overview/index.tsx index 16120a6f5b429..3b4deac794df0 100644 --- a/x-pack/plugins/apm/public/components/app/backend_detail_overview/index.tsx +++ b/x-pack/plugins/apm/public/components/app/backend_detail_overview/index.tsx @@ -32,7 +32,14 @@ import { useBreakpoints } from '../../../hooks/use_breakpoints'; export function BackendDetailOverview() { const { path: { backendName }, - query: { rangeFrom, rangeTo, environment, kuery }, + query: { + rangeFrom, + rangeTo, + refreshInterval, + refreshPaused, + environment, + kuery, + }, } = useApmParams('/backends/{backendName}/overview'); const apmRouter = useApmRouter(); @@ -41,7 +48,14 @@ export function BackendDetailOverview() { { title: DependenciesInventoryTitle, href: apmRouter.link('/backends', { - query: { rangeFrom, rangeTo, environment, kuery }, + query: { + rangeFrom, + rangeTo, + refreshInterval, + refreshPaused, + environment, + kuery, + }, }), }, { @@ -51,6 +65,8 @@ export function BackendDetailOverview() { query: { rangeFrom, rangeTo, + refreshInterval, + refreshPaused, environment, kuery, }, diff --git a/x-pack/plugins/apm/public/components/app/correlations/latency_correlations.test.tsx b/x-pack/plugins/apm/public/components/app/correlations/latency_correlations.test.tsx index 523d8b1840fc8..9956452c565b3 100644 --- a/x-pack/plugins/apm/public/components/app/correlations/latency_correlations.test.tsx +++ b/x-pack/plugins/apm/public/components/app/correlations/latency_correlations.test.tsx @@ -58,7 +58,11 @@ function Wrapper({ history.replace({ pathname: '/services/the-service-name/transactions/view', - search: fromQuery({ transactionName: 'the-transaction-name' }), + search: fromQuery({ + transactionName: 'the-transaction-name', + rangeFrom: 'now-15m', + rangeTo: 'now', + }), }); const mockPluginContext = merge({}, mockApmPluginContextValue, { @@ -73,14 +77,7 @@ function Wrapper({ history={history} value={mockPluginContext} > - <MockUrlParamsContextProvider - params={{ - rangeFrom: 'now-15m', - rangeTo: 'now', - start: 'mystart', - end: 'myend', - }} - > + <MockUrlParamsContextProvider> {children} </MockUrlParamsContextProvider> </MockApmPluginContextWrapper> diff --git a/x-pack/plugins/apm/public/components/app/service_map/Popover/Popover.stories.tsx b/x-pack/plugins/apm/public/components/app/service_map/Popover/Popover.stories.tsx index d6300b7c80f1c..212489bf12cb4 100644 --- a/x-pack/plugins/apm/public/components/app/service_map/Popover/Popover.stories.tsx +++ b/x-pack/plugins/apm/public/components/app/service_map/Popover/Popover.stories.tsx @@ -51,7 +51,9 @@ const stories: Meta<Args> = { createCallApmApi(coreMock); return ( - <MemoryRouter initialEntries={['/service-map']}> + <MemoryRouter + initialEntries={['/service-map?rangeFrom=now-15m&rangeTo=now']} + > <KibanaReactContext.Provider> <MockUrlParamsContextProvider> <MockApmPluginContextWrapper> diff --git a/x-pack/plugins/apm/public/components/app/service_map/index.test.tsx b/x-pack/plugins/apm/public/components/app/service_map/index.test.tsx index 9e3abb7cfd935..796be0659e617 100644 --- a/x-pack/plugins/apm/public/components/app/service_map/index.test.tsx +++ b/x-pack/plugins/apm/public/components/app/service_map/index.test.tsx @@ -16,8 +16,6 @@ import { MockApmPluginContextWrapper } from '../../../context/apm_plugin/mock_ap import { LicenseContext } from '../../../context/license/license_context'; import * as useFetcherModule from '../../../hooks/use_fetcher'; import { ServiceMap } from '.'; -import { UrlParamsProvider } from '../../../context/url_params_context/url_params_context'; -import { Router } from 'react-router-dom'; import { ENVIRONMENT_ALL } from '../../../../common/environment_filter_values'; const history = createMemoryHistory(); @@ -49,15 +47,15 @@ const expiredLicense = new License({ }); function createWrapper(license: License | null) { + history.replace('/service-map?rangeFrom=now-15m&rangeTo=now'); + return ({ children }: { children?: ReactNode }) => { return ( <EuiThemeProvider> <KibanaReactContext.Provider> <LicenseContext.Provider value={license || undefined}> - <MockApmPluginContextWrapper> - <Router history={history}> - <UrlParamsProvider>{children}</UrlParamsProvider> - </Router> + <MockApmPluginContextWrapper history={history}> + {children} </MockApmPluginContextWrapper> </LicenseContext.Provider> </KibanaReactContext.Provider> diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.test.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.test.tsx index 9057d4c6667b8..bd0ff4c87c3be 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.test.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.test.tsx @@ -56,7 +56,11 @@ function Wrapper({ history.replace({ pathname: '/services/the-service-name/transactions/view', - search: fromQuery({ transactionName: 'the-transaction-name' }), + search: fromQuery({ + transactionName: 'the-transaction-name', + rangeFrom: 'now-15m', + rangeTo: 'now', + }), }); const mockPluginContext = merge({}, mockApmPluginContextValue, { diff --git a/x-pack/plugins/apm/public/components/app/transaction_overview/transaction_overview.test.tsx b/x-pack/plugins/apm/public/components/app/transaction_overview/transaction_overview.test.tsx index e031af6464187..a1b24fc516664 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_overview/transaction_overview.test.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_overview/transaction_overview.test.tsx @@ -94,11 +94,14 @@ describe('TransactionOverview', () => { it('should redirect to first type', () => { setup({ serviceTransactionTypes: ['firstType', 'secondType'], - urlParams: {}, + urlParams: { + rangeFrom: 'now-15m', + rangeTo: 'now', + }, }); expect(history.replace).toHaveBeenCalledWith( expect.objectContaining({ - search: 'transactionType=firstType', + search: 'rangeFrom=now-15m&rangeTo=now&transactionType=firstType', }) ); }); @@ -112,6 +115,8 @@ describe('TransactionOverview', () => { serviceTransactionTypes: ['firstType'], urlParams: { transactionType: 'firstType', + rangeFrom: 'now-15m', + rangeTo: 'now', }, }); diff --git a/x-pack/plugins/apm/public/components/routing/app_root.tsx b/x-pack/plugins/apm/public/components/routing/app_root.tsx index c32828eca2f69..bc4119a3e835a 100644 --- a/x-pack/plugins/apm/public/components/routing/app_root.tsx +++ b/x-pack/plugins/apm/public/components/routing/app_root.tsx @@ -17,7 +17,10 @@ import { RedirectAppLinks, useUiSetting$, } from '../../../../../../src/plugins/kibana_react/public'; -import { HeaderMenuPortal } from '../../../../observability/public'; +import { + HeaderMenuPortal, + InspectorContextProvider, +} from '../../../../observability/public'; import { ScrollToTopOnPathChange } from '../../components/app/Main/ScrollToTopOnPathChange'; import { AnomalyDetectionJobsContextProvider } from '../../context/anomaly_detection_jobs/anomaly_detection_jobs_context'; import { @@ -26,12 +29,12 @@ import { } from '../../context/apm_plugin/apm_plugin_context'; import { useApmPluginContext } from '../../context/apm_plugin/use_apm_plugin_context'; import { BreadcrumbsContextProvider } from '../../context/breadcrumbs/context'; -import { InspectorContextProvider } from '../../context/inspector/inspector_context'; import { LicenseProvider } from '../../context/license/license_context'; import { TimeRangeIdContextProvider } from '../../context/time_range_id/time_range_id_context'; import { UrlParamsProvider } from '../../context/url_params_context/url_params_context'; import { ApmPluginStartDeps } from '../../plugin'; import { ApmHeaderActionMenu } from '../shared/apm_header_action_menu'; +import { RedirectWithDefaultDateRange } from '../shared/redirect_with_default_date_range'; import { apmRouter } from './apm_route_config'; import { TrackPageview } from './track_pageview'; @@ -58,24 +61,26 @@ export function ApmAppRoot({ <i18nCore.Context> <TimeRangeIdContextProvider> <RouterProvider history={history} router={apmRouter as any}> - <TrackPageview> - <BreadcrumbsContextProvider> - <UrlParamsProvider> - <LicenseProvider> - <AnomalyDetectionJobsContextProvider> - <InspectorContextProvider> - <ApmThemeProvider> - <MountApmHeaderActionMenu /> + <RedirectWithDefaultDateRange> + <TrackPageview> + <BreadcrumbsContextProvider> + <UrlParamsProvider> + <LicenseProvider> + <AnomalyDetectionJobsContextProvider> + <InspectorContextProvider> + <ApmThemeProvider> + <MountApmHeaderActionMenu /> - <Route component={ScrollToTopOnPathChange} /> - <RouteRenderer /> - </ApmThemeProvider> - </InspectorContextProvider> - </AnomalyDetectionJobsContextProvider> - </LicenseProvider> - </UrlParamsProvider> - </BreadcrumbsContextProvider> - </TrackPageview> + <Route component={ScrollToTopOnPathChange} /> + <RouteRenderer /> + </ApmThemeProvider> + </InspectorContextProvider> + </AnomalyDetectionJobsContextProvider> + </LicenseProvider> + </UrlParamsProvider> + </BreadcrumbsContextProvider> + </TrackPageview> + </RedirectWithDefaultDateRange> </RouterProvider> </TimeRangeIdContextProvider> </i18nCore.Context> diff --git a/x-pack/plugins/apm/public/components/routing/home/index.tsx b/x-pack/plugins/apm/public/components/routing/home/index.tsx index 1736a22e9b540..30e641f142b25 100644 --- a/x-pack/plugins/apm/public/components/routing/home/index.tsx +++ b/x-pack/plugins/apm/public/components/routing/home/index.tsx @@ -63,12 +63,14 @@ export const home = { rangeTo: t.string, kuery: t.string, }), + t.partial({ + refreshPaused: t.union([t.literal('true'), t.literal('false')]), + refreshInterval: t.string, + }), ]), }), defaults: { query: { - rangeFrom: 'now-15m', - rangeTo: 'now', environment: ENVIRONMENT_ALL.value, kuery: '', }, diff --git a/x-pack/plugins/apm/public/components/routing/service_detail/index.tsx b/x-pack/plugins/apm/public/components/routing/service_detail/index.tsx index 9b87cc338bb9b..16cba23da6423 100644 --- a/x-pack/plugins/apm/public/components/routing/service_detail/index.tsx +++ b/x-pack/plugins/apm/public/components/routing/service_detail/index.tsx @@ -83,14 +83,14 @@ export const serviceDetail = { comparisonType: t.string, latencyAggregationType: t.string, transactionType: t.string, + refreshPaused: t.union([t.literal('true'), t.literal('false')]), + refreshInterval: t.string, }), ]), }), ]), defaults: { query: { - rangeFrom: 'now-15m', - rangeTo: 'now', kuery: '', environment: ENVIRONMENT_ALL.value, }, diff --git a/x-pack/plugins/apm/public/components/routing/templates/apm_main_template.tsx b/x-pack/plugins/apm/public/components/routing/templates/apm_main_template.tsx index 6a4ab5d7d9bc5..ac0b8a1517b20 100644 --- a/x-pack/plugins/apm/public/components/routing/templates/apm_main_template.tsx +++ b/x-pack/plugins/apm/public/components/routing/templates/apm_main_template.tsx @@ -5,10 +5,13 @@ * 2.0. */ -import { EuiPageHeaderProps, EuiPageTemplateProps } from '@elastic/eui'; +import { EuiPageHeaderProps } from '@elastic/eui'; import React from 'react'; import { useLocation } from 'react-router-dom'; -import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; +import { + useKibana, + KibanaPageTemplateProps, +} from '../../../../../../../src/plugins/kibana_react/public'; import { useFetcher } from '../../../hooks/use_fetcher'; import { ApmPluginStartDeps } from '../../../plugin'; import { ApmEnvironmentFilter } from '../../shared/EnvironmentFilter'; @@ -35,7 +38,7 @@ export function ApmMainTemplate({ pageTitle?: React.ReactNode; pageHeader?: EuiPageHeaderProps; children: React.ReactNode; -} & EuiPageTemplateProps) { +} & KibanaPageTemplateProps) { const location = useLocation(); const { services } = useKibana<ApmPluginStartDeps>(); diff --git a/x-pack/plugins/apm/public/components/routing/track_pageview.tsx b/x-pack/plugins/apm/public/components/routing/track_pageview.tsx index 7f4a03cae90be..af0682a56ec2b 100644 --- a/x-pack/plugins/apm/public/components/routing/track_pageview.tsx +++ b/x-pack/plugins/apm/public/components/routing/track_pageview.tsx @@ -4,7 +4,6 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import React from 'react'; import { useRoutePath } from '@kbn/typed-react-router-config'; import { useTrackPageview } from '../../../../observability/public'; diff --git a/x-pack/plugins/apm/public/components/shared/DatePicker/date_picker.test.tsx b/x-pack/plugins/apm/public/components/shared/DatePicker/date_picker.test.tsx index ada93ff3a0344..737c1a54a2f09 100644 --- a/x-pack/plugins/apm/public/components/shared/DatePicker/date_picker.test.tsx +++ b/x-pack/plugins/apm/public/components/shared/DatePicker/date_picker.test.tsx @@ -8,40 +8,62 @@ import { EuiSuperDatePicker } from '@elastic/eui'; import { waitFor } from '@testing-library/react'; import { mount } from 'enzyme'; -import { createMemoryHistory } from 'history'; -import React, { ReactNode } from 'react'; -import { Router } from 'react-router-dom'; +import { createMemoryHistory, MemoryHistory } from 'history'; +import React from 'react'; +import { useLocation } from 'react-router-dom'; +import qs from 'query-string'; import { MockApmPluginContextWrapper } from '../../../context/apm_plugin/mock_apm_plugin_context'; -import { UrlParamsContext } from '../../../context/url_params_context/url_params_context'; -import { ApmUrlParams } from '../../../context/url_params_context/types'; import { DatePicker } from './'; -const history = createMemoryHistory(); +let history: MemoryHistory; const mockRefreshTimeRange = jest.fn(); -function MockUrlParamsProvider({ - urlParams = {}, - children, -}: { - children: ReactNode; - urlParams?: ApmUrlParams; -}) { +let mockHistoryPush: jest.SpyInstance; +let mockHistoryReplace: jest.SpyInstance; + +function DatePickerWrapper() { + const location = useLocation(); + + const { rangeFrom, rangeTo, refreshInterval, refreshPaused } = qs.parse( + location.search, + { + parseNumbers: true, + parseBooleans: true, + } + ) as { + rangeFrom?: string; + rangeTo?: string; + refreshInterval?: number; + refreshPaused?: boolean; + }; + return ( - <UrlParamsContext.Provider - value={{ - rangeId: 0, - refreshTimeRange: mockRefreshTimeRange, - urlParams, - uxUiFilters: {}, - }} - children={children} + <DatePicker + rangeFrom={rangeFrom} + rangeTo={rangeTo} + refreshInterval={refreshInterval} + refreshPaused={refreshPaused} + onTimeRangeRefresh={mockRefreshTimeRange} /> ); } -function mountDatePicker(urlParams?: ApmUrlParams) { +function mountDatePicker(initialParams: { + rangeFrom?: string; + rangeTo?: string; + refreshInterval?: number; + refreshPaused?: boolean; +}) { const setTimeSpy = jest.fn(); const getTimeSpy = jest.fn().mockReturnValue({}); + + history = createMemoryHistory({ + initialEntries: [`/?${qs.stringify(initialParams)}`], + }); + + mockHistoryPush = jest.spyOn(history, 'push'); + mockHistoryReplace = jest.spyOn(history, 'replace'); + const wrapper = mount( <MockApmPluginContextWrapper value={ @@ -57,12 +79,9 @@ function mountDatePicker(urlParams?: ApmUrlParams) { }, } as any } + history={history} > - <Router history={history}> - <MockUrlParamsProvider urlParams={urlParams}> - <DatePicker /> - </MockUrlParamsProvider> - </Router> + <DatePickerWrapper /> </MockApmPluginContextWrapper> ); @@ -70,12 +89,8 @@ function mountDatePicker(urlParams?: ApmUrlParams) { } describe('DatePicker', () => { - let mockHistoryPush: jest.SpyInstance; - let mockHistoryReplace: jest.SpyInstance; beforeAll(() => { jest.spyOn(console, 'error').mockImplementation(() => null); - mockHistoryPush = jest.spyOn(history, 'push'); - mockHistoryReplace = jest.spyOn(history, 'replace'); }); afterAll(() => { @@ -86,47 +101,24 @@ describe('DatePicker', () => { jest.resetAllMocks(); }); - it('sets default query params in the URL', () => { - mountDatePicker(); - expect(mockHistoryReplace).toHaveBeenCalledTimes(1); - expect(mockHistoryReplace).toHaveBeenCalledWith( - expect.objectContaining({ - search: 'rangeFrom=now-15m&rangeTo=now', - }) - ); - }); - - it('adds missing `rangeFrom` to url', () => { - mountDatePicker({ rangeTo: 'now', refreshInterval: 5000 }); - expect(mockHistoryReplace).toHaveBeenCalledTimes(1); - expect(mockHistoryReplace).toHaveBeenCalledWith( - expect.objectContaining({ search: 'rangeFrom=now-15m&rangeTo=now' }) - ); - }); - - it('does not set default query params in the URL when values already defined', () => { - mountDatePicker({ - rangeFrom: 'now-1d', + it('updates the URL when the date range changes', () => { + const { wrapper } = mountDatePicker({ + rangeFrom: 'now-15m', rangeTo: 'now', - refreshPaused: false, - refreshInterval: 5000, }); + expect(mockHistoryReplace).toHaveBeenCalledTimes(0); - }); - it('updates the URL when the date range changes', () => { - const { wrapper } = mountDatePicker(); - expect(mockHistoryReplace).toHaveBeenCalledTimes(1); wrapper.find(EuiSuperDatePicker).props().onTimeChange({ - start: 'updated-start', - end: 'updated-end', + start: 'now-90m', + end: 'now-60m', isInvalid: false, isQuickSelection: true, }); expect(mockHistoryPush).toHaveBeenCalledTimes(1); expect(mockHistoryPush).toHaveBeenLastCalledWith( expect.objectContaining({ - search: 'rangeFrom=updated-start&rangeTo=updated-end', + search: 'rangeFrom=now-90m&rangeTo=now-60m', }) ); }); @@ -134,6 +126,8 @@ describe('DatePicker', () => { it('enables auto-refresh when refreshPaused is false', async () => { jest.useFakeTimers(); const { wrapper } = mountDatePicker({ + rangeFrom: 'now-15m', + rangeTo: 'now', refreshPaused: false, refreshInterval: 1000, }); @@ -146,7 +140,12 @@ describe('DatePicker', () => { it('disables auto-refresh when refreshPaused is true', async () => { jest.useFakeTimers(); - mountDatePicker({ refreshPaused: true, refreshInterval: 1000 }); + mountDatePicker({ + rangeFrom: 'now-15m', + rangeTo: 'now', + refreshPaused: true, + refreshInterval: 1000, + }); expect(mockRefreshTimeRange).not.toHaveBeenCalled(); jest.advanceTimersByTime(1000); await waitFor(() => {}); @@ -169,29 +168,4 @@ describe('DatePicker', () => { expect(mockHistoryReplace).toHaveBeenCalledTimes(0); }); }); - - describe('if `rangeFrom` is missing from the urlParams', () => { - let setTimeSpy: jest.Mock; - beforeEach(() => { - const res = mountDatePicker({ rangeTo: 'now-5m' }); - setTimeSpy = res.setTimeSpy; - }); - - it('does not call setTime', async () => { - expect(setTimeSpy).toHaveBeenCalledTimes(0); - }); - - it('updates the url with the default `rangeFrom` ', async () => { - expect(mockHistoryReplace).toHaveBeenCalledTimes(1); - expect(mockHistoryReplace.mock.calls[0][0].search).toContain( - 'rangeFrom=now-15m' - ); - }); - - it('preserves `rangeTo`', () => { - expect(mockHistoryReplace.mock.calls[0][0].search).toContain( - 'rangeTo=now-5m' - ); - }); - }); }); diff --git a/x-pack/plugins/apm/public/components/shared/DatePicker/index.tsx b/x-pack/plugins/apm/public/components/shared/DatePicker/index.tsx index 6772438fed01b..12cc137d62142 100644 --- a/x-pack/plugins/apm/public/components/shared/DatePicker/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/DatePicker/index.tsx @@ -10,12 +10,23 @@ import React, { useEffect } from 'react'; import { useHistory, useLocation } from 'react-router-dom'; import { UI_SETTINGS } from '../../../../../../../src/plugins/data/common'; import { useApmPluginContext } from '../../../context/apm_plugin/use_apm_plugin_context'; -import { useUrlParams } from '../../../context/url_params_context/use_url_params'; import { clearCache } from '../../../services/rest/callApi'; import { fromQuery, toQuery } from '../Links/url_helpers'; -import { TimePickerQuickRange, TimePickerTimeDefaults } from './typings'; +import { TimePickerQuickRange } from './typings'; -export function DatePicker() { +export function DatePicker({ + rangeFrom, + rangeTo, + refreshPaused, + refreshInterval, + onTimeRangeRefresh, +}: { + rangeFrom?: string; + rangeTo?: string; + refreshPaused?: boolean; + refreshInterval?: number; + onTimeRangeRefresh: (range: { start: string; end: string }) => void; +}) { const history = useHistory(); const location = useLocation(); const { core, plugins } = useApmPluginContext(); @@ -24,10 +35,6 @@ export function DatePicker() { UI_SETTINGS.TIMEPICKER_QUICK_RANGES ); - const timePickerTimeDefaults = core.uiSettings.get<TimePickerTimeDefaults>( - UI_SETTINGS.TIMEPICKER_TIME_DEFAULTS - ); - const commonlyUsedRanges = timePickerQuickRanges.map( ({ from, to, display }) => ({ start: from, @@ -36,8 +43,6 @@ export function DatePicker() { }) ); - const { urlParams, refreshTimeRange } = useUrlParams(); - function updateUrl(nextQuery: { rangeFrom?: string; rangeTo?: string; @@ -54,13 +59,16 @@ export function DatePicker() { } function onRefreshChange({ - isPaused, - refreshInterval, + nextRefreshPaused, + nextRefreshInterval, }: { - isPaused: boolean; - refreshInterval: number; + nextRefreshPaused: boolean; + nextRefreshInterval: number; }) { - updateUrl({ refreshPaused: isPaused, refreshInterval }); + updateUrl({ + refreshPaused: nextRefreshPaused, + refreshInterval: nextRefreshInterval, + }); } function onTimeChange({ start, end }: { start: string; end: string }) { @@ -69,53 +77,32 @@ export function DatePicker() { useEffect(() => { // set time if both to and from are given in the url - if (urlParams.rangeFrom && urlParams.rangeTo) { + if (rangeFrom && rangeTo) { plugins.data.query.timefilter.timefilter.setTime({ - from: urlParams.rangeFrom, - to: urlParams.rangeTo, + from: rangeFrom, + to: rangeTo, }); return; } - - // read time from state and update the url - const timePickerSharedState = - plugins.data.query.timefilter.timefilter.getTime(); - - history.replace({ - ...location, - search: fromQuery({ - ...toQuery(location.search), - rangeFrom: - urlParams.rangeFrom ?? - timePickerSharedState.from ?? - timePickerTimeDefaults.from, - rangeTo: - urlParams.rangeTo ?? - timePickerSharedState.to ?? - timePickerTimeDefaults.to, - }), - }); - }, [ - urlParams.rangeFrom, - urlParams.rangeTo, - plugins, - history, - location, - timePickerTimeDefaults, - ]); + }, [rangeFrom, rangeTo, plugins]); return ( <EuiSuperDatePicker - start={urlParams.rangeFrom} - end={urlParams.rangeTo} - isPaused={urlParams.refreshPaused} - refreshInterval={urlParams.refreshInterval} + start={rangeFrom} + end={rangeTo} + isPaused={refreshPaused} + refreshInterval={refreshInterval} onTimeChange={onTimeChange} onRefresh={({ start, end }) => { clearCache(); - refreshTimeRange({ rangeFrom: start, rangeTo: end }); + onTimeRangeRefresh({ start, end }); + }} + onRefreshChange={({ + isPaused: nextRefreshPaused, + refreshInterval: nextRefreshInterval, + }) => { + onRefreshChange({ nextRefreshPaused, nextRefreshInterval }); }} - onRefreshChange={onRefreshChange} showUpdateButton={true} commonlyUsedRanges={commonlyUsedRanges} /> diff --git a/x-pack/plugins/apm/public/components/shared/KeyValueTable/index.tsx b/x-pack/plugins/apm/public/components/shared/KeyValueTable/index.tsx index 13aa3696eda42..e9525728bc3c5 100644 --- a/x-pack/plugins/apm/public/components/shared/KeyValueTable/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/KeyValueTable/index.tsx @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ - +import { castArray } from 'lodash'; import React, { TableHTMLAttributes } from 'react'; import { EuiTable, @@ -26,16 +26,32 @@ export function KeyValueTable({ return ( <EuiTable compressed {...tableProps}> <EuiTableBody> - {keyValuePairs.map(({ key, value }) => ( - <EuiTableRow key={key}> - <EuiTableRowCell> - <strong data-test-subj="dot-key">{key}</strong> - </EuiTableRowCell> - <EuiTableRowCell data-test-subj="value"> - <FormattedValue value={value} /> - </EuiTableRowCell> - </EuiTableRow> - ))} + {keyValuePairs.map(({ key, value }) => { + const asArray = castArray(value); + const valueList = + asArray.length <= 1 ? ( + <FormattedValue value={asArray[0]} /> + ) : ( + <ul> + {asArray.map((val, index) => ( + <li> + <FormattedValue key={index} value={val} /> + </li> + ))} + </ul> + ); + + return ( + <EuiTableRow key={key}> + <EuiTableRowCell> + <strong data-test-subj="dot-key">{key}</strong> + </EuiTableRowCell> + <EuiTableRowCell data-test-subj="value"> + {valueList} + </EuiTableRowCell> + </EuiTableRow> + ); + })} </EuiTableBody> </EuiTable> ); diff --git a/x-pack/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLExplorerLink.test.tsx b/x-pack/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLExplorerLink.test.tsx index 44e33e6bf419d..61db277f90d7f 100644 --- a/x-pack/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLExplorerLink.test.tsx +++ b/x-pack/plugins/apm/public/components/shared/Links/MachineLearningLinks/MLExplorerLink.test.tsx @@ -10,7 +10,8 @@ import React from 'react'; import { getRenderedHref } from '../../../../utils/testHelpers'; import { MLExplorerLink } from './MLExplorerLink'; -describe('MLExplorerLink', () => { +// FLAKY: https://github.com/elastic/kibana/issues/113695 +describe.skip('MLExplorerLink', () => { it('should produce the correct URL with jobId', async () => { const href = await getRenderedHref( () => ( diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/ErrorMetadata.test.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/ErrorMetadata.test.tsx deleted file mode 100644 index f936941923e41..0000000000000 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/ErrorMetadata.test.tsx +++ /dev/null @@ -1,139 +0,0 @@ -/* - * 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 { render } from '@testing-library/react'; -import React, { ReactNode } from 'react'; -import { MemoryRouter } from 'react-router-dom'; -import { ErrorMetadata } from '.'; -import { APMError } from '../../../../../typings/es_schemas/ui/apm_error'; -import { MockApmPluginContextWrapper } from '../../../../context/apm_plugin/mock_apm_plugin_context'; -import { - expectTextsInDocument, - expectTextsNotInDocument, -} from '../../../../utils/testHelpers'; - -function Wrapper({ children }: { children?: ReactNode }) { - return ( - <MemoryRouter> - <MockApmPluginContextWrapper>{children}</MockApmPluginContextWrapper> - </MemoryRouter> - ); -} - -const renderOptions = { - wrapper: Wrapper, -}; - -function getError() { - return { - labels: { someKey: 'labels value' }, - http: { someKey: 'http value' }, - host: { someKey: 'host value' }, - container: { someKey: 'container value' }, - service: { someKey: 'service value' }, - process: { someKey: 'process value' }, - agent: { someKey: 'agent value' }, - url: { someKey: 'url value' }, - user: { someKey: 'user value' }, - notIncluded: 'not included value', - error: { - id: '7efbc7056b746fcb', - notIncluded: 'error not included value', - custom: { - someKey: 'custom value', - }, - }, - } as unknown as APMError; -} - -describe('ErrorMetadata', () => { - it('should render a error with all sections', () => { - const error = getError(); - const output = render(<ErrorMetadata error={error} />, renderOptions); - - // sections - expectTextsInDocument(output, [ - 'Labels', - 'HTTP', - 'Host', - 'Container', - 'Service', - 'Process', - 'Agent', - 'URL', - 'User', - 'Custom', - ]); - }); - - it('should render a error with all included dot notation keys', () => { - const error = getError(); - const output = render(<ErrorMetadata error={error} />, renderOptions); - - // included keys - expectTextsInDocument(output, [ - 'labels.someKey', - 'http.someKey', - 'host.someKey', - 'container.someKey', - 'service.someKey', - 'process.someKey', - 'agent.someKey', - 'url.someKey', - 'user.someKey', - 'error.custom.someKey', - ]); - - // excluded keys - expectTextsNotInDocument(output, ['notIncluded', 'error.notIncluded']); - }); - - it('should render a error with all included values', () => { - const error = getError(); - const output = render(<ErrorMetadata error={error} />, renderOptions); - - // included values - expectTextsInDocument(output, [ - 'labels value', - 'http value', - 'host value', - 'container value', - 'service value', - 'process value', - 'agent value', - 'url value', - 'user value', - 'custom value', - ]); - - // excluded values - expectTextsNotInDocument(output, [ - 'not included value', - 'error not included value', - ]); - }); - - it('should render a error with only the required sections', () => { - const error = {} as APMError; - const output = render(<ErrorMetadata error={error} />, renderOptions); - - // required sections should be found - expectTextsInDocument(output, ['Labels', 'User']); - - // optional sections should NOT be found - expectTextsNotInDocument(output, [ - 'HTTP', - 'Host', - 'Container', - 'Service', - 'Process', - 'Agent', - 'URL', - 'Custom', - ]); - }); -}); diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/index.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/index.tsx index 196a8706d5132..f6ffc34ecee02 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/index.tsx @@ -6,19 +6,41 @@ */ import React, { useMemo } from 'react'; -import { ERROR_METADATA_SECTIONS } from './sections'; import { APMError } from '../../../../../typings/es_schemas/ui/apm_error'; -import { getSectionsWithRows } from '../helper'; +import { getSectionsFromFields } from '../helper'; import { MetadataTable } from '..'; +import { FETCH_STATUS, useFetcher } from '../../../../hooks/use_fetcher'; +import { ProcessorEvent } from '../../../../../common/processor_event'; interface Props { error: APMError; } export function ErrorMetadata({ error }: Props) { - const sectionsWithRows = useMemo( - () => getSectionsWithRows(ERROR_METADATA_SECTIONS, error), - [error] + const { data: errorEvent, status } = useFetcher( + (callApmApi) => { + return callApmApi({ + endpoint: 'GET /api/apm/event_metadata/{processorEvent}/{id}', + params: { + path: { + processorEvent: ProcessorEvent.error, + id: error.error.id, + }, + }, + }); + }, + [error.error.id] + ); + + const sections = useMemo( + () => getSectionsFromFields(errorEvent?.metadata || {}), + [errorEvent?.metadata] + ); + + return ( + <MetadataTable + sections={sections} + isLoading={status === FETCH_STATUS.LOADING} + /> ); - return <MetadataTable sections={sectionsWithRows} />; } diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/sections.ts b/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/sections.ts deleted file mode 100644 index 28a64ac36660e..0000000000000 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/ErrorMetadata/sections.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* - * 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 { - Section, - ERROR, - LABELS, - HTTP, - HOST, - CONTAINER, - SERVICE, - PROCESS, - AGENT, - URL, - USER, - CUSTOM_ERROR, - TRACE, - TRANSACTION, -} from '../sections'; - -export const ERROR_METADATA_SECTIONS: Section[] = [ - { ...LABELS, required: true }, - TRACE, - TRANSACTION, - ERROR, - HTTP, - HOST, - CONTAINER, - SERVICE, - PROCESS, - AGENT, - URL, - { ...USER, required: true }, - CUSTOM_ERROR, -]; diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/MetadataTable.test.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/MetadataTable.test.tsx index 7ccde6a9a74d6..5d5976866ba24 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/MetadataTable.test.tsx +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/MetadataTable.test.tsx @@ -11,7 +11,7 @@ import { MemoryRouter } from 'react-router-dom'; import { MetadataTable } from '.'; import { MockApmPluginContextWrapper } from '../../../context/apm_plugin/mock_apm_plugin_context'; import { expectTextsInDocument } from '../../../utils/testHelpers'; -import { SectionsWithRows } from './helper'; +import type { SectionDescriptor } from './types'; function Wrapper({ children }: { children?: ReactNode }) { return ( @@ -27,21 +27,20 @@ const renderOptions = { describe('MetadataTable', () => { it('shows sections', () => { - const sectionsWithRows = [ - { key: 'foo', label: 'Foo', required: true }, + const sections: SectionDescriptor[] = [ + { key: 'foo', label: 'Foo', required: true, properties: [] }, { key: 'bar', label: 'Bar', required: false, - properties: ['props.A', 'props.B'], - rows: [ - { key: 'props.A', value: 'A' }, - { key: 'props.B', value: 'B' }, + properties: [ + { field: 'props.A', value: ['A'] }, + { field: 'props.B', value: ['B'] }, ], }, - ] as unknown as SectionsWithRows; + ]; const output = render( - <MetadataTable sections={sectionsWithRows} />, + <MetadataTable sections={sections} isLoading={false} />, renderOptions ); expectTextsInDocument(output, [ @@ -56,15 +55,17 @@ describe('MetadataTable', () => { }); describe('required sections', () => { it('shows "empty state message" if no data is available', () => { - const sectionsWithRows = [ + const sectionsWithRows: SectionDescriptor[] = [ { key: 'foo', label: 'Foo', required: true, + properties: [], }, - ] as unknown as SectionsWithRows; + ]; + const output = render( - <MetadataTable sections={sectionsWithRows} />, + <MetadataTable sections={sectionsWithRows} isLoading={false} />, renderOptions ); expectTextsInDocument(output, ['Foo', 'No data available']); diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/Section.test.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/Section.test.tsx index d44464e2160d3..ed816b1c7a337 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/Section.test.tsx +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/Section.test.tsx @@ -12,7 +12,7 @@ import { expectTextsInDocument } from '../../../utils/testHelpers'; describe('Section', () => { it('shows "empty state message" if no data is available', () => { - const component = render(<Section keyValuePairs={[]} />); + const component = render(<Section properties={[]} />); expectTextsInDocument(component, ['No data available']); }); }); diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/Section.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/Section.tsx index ff86083b8612d..03ae237f470c3 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/Section.tsx +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/Section.tsx @@ -10,15 +10,21 @@ import { isEmpty } from 'lodash'; import { i18n } from '@kbn/i18n'; import { EuiText } from '@elastic/eui'; import { KeyValueTable } from '../KeyValueTable'; -import { KeyValuePair } from '../../../utils/flattenObject'; interface Props { - keyValuePairs: KeyValuePair[]; + properties: Array<{ field: string; value: string[] | number[] }>; } -export function Section({ keyValuePairs }: Props) { - if (!isEmpty(keyValuePairs)) { - return <KeyValueTable keyValuePairs={keyValuePairs} />; +export function Section({ properties }: Props) { + if (!isEmpty(properties)) { + return ( + <KeyValueTable + keyValuePairs={properties.map((property) => ({ + key: property.field, + value: property.value, + }))} + /> + ); } return ( <EuiText size="s"> diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/SpanMetadata.test.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/SpanMetadata.test.tsx deleted file mode 100644 index 46eaba1e9e11d..0000000000000 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/SpanMetadata.test.tsx +++ /dev/null @@ -1,107 +0,0 @@ -/* - * 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 { render } from '@testing-library/react'; -import React, { ReactNode } from 'react'; -import { MemoryRouter } from 'react-router-dom'; -import { SpanMetadata } from '.'; -import { Span } from '../../../../../typings/es_schemas/ui/span'; -import { MockApmPluginContextWrapper } from '../../../../context/apm_plugin/mock_apm_plugin_context'; -import { - expectTextsInDocument, - expectTextsNotInDocument, -} from '../../../../utils/testHelpers'; - -function Wrapper({ children }: { children?: ReactNode }) { - return ( - <MemoryRouter> - <MockApmPluginContextWrapper>{children}</MockApmPluginContextWrapper> - </MemoryRouter> - ); -} - -const renderOptions = { - wrapper: Wrapper, -}; - -describe('SpanMetadata', () => { - describe('render', () => { - it('renders', () => { - const span = { - agent: { - ephemeral_id: 'ed8e3a4f-21d2-4a1f-bbc7-fa2064d94225', - name: 'java', - version: '1.9.1-SNAPSHOT', - }, - service: { - name: 'opbeans-java', - }, - span: { - id: '7efbc7056b746fcb', - message: { - age: { ms: 1577958057123 }, - queue: { name: 'queue name' }, - }, - }, - } as unknown as Span; - const output = render(<SpanMetadata span={span} />, renderOptions); - expectTextsInDocument(output, ['Service', 'Agent', 'Message']); - }); - }); - describe('when a span is presented', () => { - it('renders the span', () => { - const span = { - agent: { - ephemeral_id: 'ed8e3a4f-21d2-4a1f-bbc7-fa2064d94225', - name: 'java', - version: '1.9.1-SNAPSHOT', - }, - service: { - name: 'opbeans-java', - }, - span: { - id: '7efbc7056b746fcb', - http: { - response: { status_code: 200 }, - }, - subtype: 'http', - type: 'external', - message: { - age: { ms: 1577958057123 }, - queue: { name: 'queue name' }, - }, - }, - } as unknown as Span; - const output = render(<SpanMetadata span={span} />, renderOptions); - expectTextsInDocument(output, ['Service', 'Agent', 'Span', 'Message']); - }); - }); - describe('when there is no id inside span', () => { - it('does not show the section', () => { - const span = { - agent: { - ephemeral_id: 'ed8e3a4f-21d2-4a1f-bbc7-fa2064d94225', - name: 'java', - version: '1.9.1-SNAPSHOT', - }, - service: { - name: 'opbeans-java', - }, - span: { - http: { - response: { status_code: 200 }, - }, - subtype: 'http', - type: 'external', - }, - } as unknown as Span; - const output = render(<SpanMetadata span={span} />, renderOptions); - expectTextsInDocument(output, ['Service', 'Agent']); - expectTextsNotInDocument(output, ['Span', 'Message']); - }); - }); -}); diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/index.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/index.tsx index feefcea9d38a0..bf5702b4acf3e 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/index.tsx @@ -6,19 +6,41 @@ */ import React, { useMemo } from 'react'; -import { SPAN_METADATA_SECTIONS } from './sections'; import { Span } from '../../../../../typings/es_schemas/ui/span'; -import { getSectionsWithRows } from '../helper'; +import { getSectionsFromFields } from '../helper'; import { MetadataTable } from '..'; +import { FETCH_STATUS, useFetcher } from '../../../../hooks/use_fetcher'; +import { ProcessorEvent } from '../../../../../common/processor_event'; interface Props { span: Span; } export function SpanMetadata({ span }: Props) { - const sectionsWithRows = useMemo( - () => getSectionsWithRows(SPAN_METADATA_SECTIONS, span), - [span] + const { data: spanEvent, status } = useFetcher( + (callApmApi) => { + return callApmApi({ + endpoint: 'GET /api/apm/event_metadata/{processorEvent}/{id}', + params: { + path: { + processorEvent: ProcessorEvent.span, + id: span.span.id, + }, + }, + }); + }, + [span.span.id] + ); + + const sections = useMemo( + () => getSectionsFromFields(spanEvent?.metadata || {}), + [spanEvent?.metadata] + ); + + return ( + <MetadataTable + sections={sections} + isLoading={status === FETCH_STATUS.LOADING} + /> ); - return <MetadataTable sections={sectionsWithRows} />; } diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/sections.ts b/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/sections.ts deleted file mode 100644 index f19aef8e0bd8a..0000000000000 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/sections.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* - * 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 { - Section, - AGENT, - SERVICE, - SPAN, - LABELS, - EVENT, - TRANSACTION, - TRACE, - MESSAGE_SPAN, -} from '../sections'; - -export const SPAN_METADATA_SECTIONS: Section[] = [ - LABELS, - TRACE, - TRANSACTION, - EVENT, - SPAN, - SERVICE, - MESSAGE_SPAN, - AGENT, -]; diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/TransactionMetadata.test.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/TransactionMetadata.test.tsx deleted file mode 100644 index 08253f04777d9..0000000000000 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/TransactionMetadata.test.tsx +++ /dev/null @@ -1,164 +0,0 @@ -/* - * 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 { render } from '@testing-library/react'; -import React, { ReactNode } from 'react'; -import { MemoryRouter } from 'react-router-dom'; -import { TransactionMetadata } from '.'; -import { Transaction } from '../../../../../typings/es_schemas/ui/transaction'; -import { MockApmPluginContextWrapper } from '../../../../context/apm_plugin/mock_apm_plugin_context'; -import { - expectTextsInDocument, - expectTextsNotInDocument, -} from '../../../../utils/testHelpers'; - -function Wrapper({ children }: { children?: ReactNode }) { - return ( - <MemoryRouter> - <MockApmPluginContextWrapper>{children}</MockApmPluginContextWrapper> - </MemoryRouter> - ); -} - -const renderOptions = { - wrapper: Wrapper, -}; - -function getTransaction() { - return { - labels: { someKey: 'labels value' }, - http: { someKey: 'http value' }, - host: { someKey: 'host value' }, - container: { someKey: 'container value' }, - service: { someKey: 'service value' }, - process: { someKey: 'process value' }, - agent: { someKey: 'agent value' }, - url: { someKey: 'url value' }, - user: { someKey: 'user value' }, - notIncluded: 'not included value', - transaction: { - id: '7efbc7056b746fcb', - notIncluded: 'transaction not included value', - custom: { - someKey: 'custom value', - }, - message: { - age: { ms: 1577958057123 }, - queue: { name: 'queue name' }, - }, - }, - } as unknown as Transaction; -} - -describe('TransactionMetadata', () => { - it('should render a transaction with all sections', () => { - const transaction = getTransaction(); - const output = render( - <TransactionMetadata transaction={transaction} />, - renderOptions - ); - - // sections - expectTextsInDocument(output, [ - 'Labels', - 'HTTP', - 'Host', - 'Container', - 'Service', - 'Process', - 'Agent', - 'URL', - 'User', - 'Custom', - 'Message', - ]); - }); - - it('should render a transaction with all included dot notation keys', () => { - const transaction = getTransaction(); - const output = render( - <TransactionMetadata transaction={transaction} />, - renderOptions - ); - - // included keys - expectTextsInDocument(output, [ - 'labels.someKey', - 'http.someKey', - 'host.someKey', - 'container.someKey', - 'service.someKey', - 'process.someKey', - 'agent.someKey', - 'url.someKey', - 'user.someKey', - 'transaction.custom.someKey', - 'transaction.message.age.ms', - 'transaction.message.queue.name', - ]); - - // excluded keys - expectTextsNotInDocument(output, [ - 'notIncluded', - 'transaction.notIncluded', - ]); - }); - - it('should render a transaction with all included values', () => { - const transaction = getTransaction(); - const output = render( - <TransactionMetadata transaction={transaction} />, - renderOptions - ); - - // included values - expectTextsInDocument(output, [ - 'labels value', - 'http value', - 'host value', - 'container value', - 'service value', - 'process value', - 'agent value', - 'url value', - 'user value', - 'custom value', - '1577958057123', - 'queue name', - ]); - - // excluded values - expectTextsNotInDocument(output, [ - 'not included value', - 'transaction not included value', - ]); - }); - - it('should render a transaction with only the required sections', () => { - const transaction = {} as Transaction; - const output = render( - <TransactionMetadata transaction={transaction} />, - renderOptions - ); - - // required sections should be found - expectTextsInDocument(output, ['Labels', 'User']); - - // optional sections should NOT be found - expectTextsNotInDocument(output, [ - 'HTTP', - 'Host', - 'Container', - 'Service', - 'Process', - 'Agent', - 'URL', - 'Custom', - 'Message', - ]); - }); -}); diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/index.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/index.tsx index b3a53472f0815..32c0101c73b4d 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/index.tsx @@ -6,19 +6,40 @@ */ import React, { useMemo } from 'react'; -import { TRANSACTION_METADATA_SECTIONS } from './sections'; import { Transaction } from '../../../../../typings/es_schemas/ui/transaction'; -import { getSectionsWithRows } from '../helper'; +import { getSectionsFromFields } from '../helper'; import { MetadataTable } from '..'; +import { ProcessorEvent } from '../../../../../common/processor_event'; +import { FETCH_STATUS, useFetcher } from '../../../../hooks/use_fetcher'; interface Props { transaction: Transaction; } export function TransactionMetadata({ transaction }: Props) { - const sectionsWithRows = useMemo( - () => getSectionsWithRows(TRANSACTION_METADATA_SECTIONS, transaction), - [transaction] + const { data: transactionEvent, status } = useFetcher( + (callApmApi) => { + return callApmApi({ + endpoint: 'GET /api/apm/event_metadata/{processorEvent}/{id}', + params: { + path: { + processorEvent: ProcessorEvent.transaction, + id: transaction.transaction.id, + }, + }, + }); + }, + [transaction.transaction.id] + ); + + const sections = useMemo( + () => getSectionsFromFields(transactionEvent?.metadata || {}), + [transactionEvent?.metadata] + ); + return ( + <MetadataTable + sections={sections} + isLoading={status === FETCH_STATUS.LOADING} + /> ); - return <MetadataTable sections={sectionsWithRows} />; } diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/sections.ts b/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/sections.ts deleted file mode 100644 index 2f4a3d3229857..0000000000000 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/sections.ts +++ /dev/null @@ -1,47 +0,0 @@ -/* - * 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 { - Section, - TRANSACTION, - LABELS, - EVENT, - HTTP, - HOST, - CLIENT, - CONTAINER, - SERVICE, - PROCESS, - AGENT, - URL, - PAGE, - USER, - USER_AGENT, - CUSTOM_TRANSACTION, - MESSAGE_TRANSACTION, - TRACE, -} from '../sections'; - -export const TRANSACTION_METADATA_SECTIONS: Section[] = [ - { ...LABELS, required: true }, - TRACE, - TRANSACTION, - EVENT, - HTTP, - HOST, - CLIENT, - CONTAINER, - SERVICE, - PROCESS, - MESSAGE_TRANSACTION, - AGENT, - URL, - { ...PAGE, key: 'transaction.page' }, - { ...USER, required: true }, - USER_AGENT, - CUSTOM_TRANSACTION, -]; diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/helper.test.ts b/x-pack/plugins/apm/public/components/shared/MetadataTable/helper.test.ts index 770b35e7d17f2..2e64c170437d8 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/helper.test.ts +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/helper.test.ts @@ -5,62 +5,52 @@ * 2.0. */ -import { getSectionsWithRows, filterSectionsByTerm } from './helper'; -import { LABELS, HTTP, SERVICE } from './sections'; -import { Transaction } from '../../../../typings/es_schemas/ui/transaction'; +import { filterSectionsByTerm, getSectionsFromFields } from './helper'; describe('MetadataTable Helper', () => { - const sections = [ - { ...LABELS, required: true }, - HTTP, - { ...SERVICE, properties: ['environment'] }, - ]; - const apmDoc = { - http: { - headers: { - Connection: 'close', - Host: 'opbeans:3000', - request: { method: 'get' }, - }, - }, - service: { - framework: { name: 'express' }, - environment: 'production', - }, - } as unknown as Transaction; - const metadataItems = getSectionsWithRows(sections, apmDoc); + const fields = { + 'http.headers.Connection': ['close'], + 'http.headers.Host': ['opbeans:3000'], + 'http.headers.request.method': ['get'], + 'service.framework.name': ['express'], + 'service.environment': ['production'], + }; + + const metadataItems = getSectionsFromFields(fields); - it('returns flattened data and required section', () => { + it('returns flattened data', () => { expect(metadataItems).toEqual([ - { key: 'labels', label: 'Labels', required: true, rows: [] }, { key: 'http', - label: 'HTTP', - rows: [ - { key: 'http.headers.Connection', value: 'close' }, - { key: 'http.headers.Host', value: 'opbeans:3000' }, - { key: 'http.headers.request.method', value: 'get' }, + label: 'http', + properties: [ + { field: 'http.headers.Connection', value: ['close'] }, + { field: 'http.headers.Host', value: ['opbeans:3000'] }, + { field: 'http.headers.request.method', value: ['get'] }, ], }, { key: 'service', - label: 'Service', - properties: ['environment'], - rows: [{ key: 'service.environment', value: 'production' }], + label: 'service', + properties: [ + { field: 'service.environment', value: ['production'] }, + { field: 'service.framework.name', value: ['express'] }, + ], }, ]); }); + describe('filter', () => { it('items by key', () => { const filteredItems = filterSectionsByTerm(metadataItems, 'http'); expect(filteredItems).toEqual([ { key: 'http', - label: 'HTTP', - rows: [ - { key: 'http.headers.Connection', value: 'close' }, - { key: 'http.headers.Host', value: 'opbeans:3000' }, - { key: 'http.headers.request.method', value: 'get' }, + label: 'http', + properties: [ + { field: 'http.headers.Connection', value: ['close'] }, + { field: 'http.headers.Host', value: ['opbeans:3000'] }, + { field: 'http.headers.request.method', value: ['get'] }, ], }, ]); @@ -71,9 +61,8 @@ describe('MetadataTable Helper', () => { expect(filteredItems).toEqual([ { key: 'service', - label: 'Service', - properties: ['environment'], - rows: [{ key: 'service.environment', value: 'production' }], + label: 'service', + properties: [{ field: 'service.environment', value: ['production'] }], }, ]); }); diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/helper.ts b/x-pack/plugins/apm/public/components/shared/MetadataTable/helper.ts index bd115c1c7c174..c9e0f2aa66745 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/helper.ts +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/helper.ts @@ -5,35 +5,52 @@ * 2.0. */ -import { get, pick, isEmpty } from 'lodash'; -import { Section } from './sections'; -import { Transaction } from '../../../../typings/es_schemas/ui/transaction'; -import { APMError } from '../../../../typings/es_schemas/ui/apm_error'; -import { Span } from '../../../../typings/es_schemas/ui/span'; -import { flattenObject, KeyValuePair } from '../../../utils/flattenObject'; - -export type SectionsWithRows = ReturnType<typeof getSectionsWithRows>; - -export const getSectionsWithRows = ( - sections: Section[], - apmDoc: Transaction | APMError | Span -) => { - return sections - .map((section) => { - const sectionData: Record<string, unknown> = get(apmDoc, section.key); - const filteredData: Record<string, unknown> | undefined = - section.properties - ? pick(sectionData, section.properties) - : sectionData; - - const rows: KeyValuePair[] = flattenObject(filteredData, section.key); - return { ...section, rows }; - }) - .filter(({ required, rows }) => required || !isEmpty(rows)); +import { isEmpty, groupBy, partition } from 'lodash'; +import type { SectionDescriptor } from './types'; + +const EXCLUDED_FIELDS = ['error.exception.stacktrace', 'span.stacktrace']; + +export const getSectionsFromFields = (fields: Record<string, any>) => { + const rows = Object.keys(fields) + .filter( + (field) => !EXCLUDED_FIELDS.some((excluded) => field.startsWith(excluded)) + ) + .sort() + .map((field) => { + return { + section: field.split('.')[0], + field, + value: fields[field], + }; + }); + + const sections = Object.values(groupBy(rows, 'section')).map( + (rowsForSection) => { + const first = rowsForSection[0]; + + const section: SectionDescriptor = { + key: first.section, + label: first.section.toLowerCase(), + properties: rowsForSection.map((row) => ({ + field: row.field, + value: row.value, + })), + }; + + return section; + } + ); + + const [labelSections, otherSections] = partition( + sections, + (section) => section.key === 'labels' + ); + + return [...labelSections, ...otherSections]; }; export const filterSectionsByTerm = ( - sections: SectionsWithRows, + sections: SectionDescriptor[], searchTerm: string ) => { if (!searchTerm) { @@ -41,15 +58,16 @@ export const filterSectionsByTerm = ( } return sections .map((section) => { - const { rows = [] } = section; - const filteredRows = rows.filter(({ key, value }) => { - const valueAsString = String(value).toLowerCase(); + const { properties = [] } = section; + const filteredProps = properties.filter(({ field, value }) => { return ( - key.toLowerCase().includes(searchTerm) || - valueAsString.includes(searchTerm) + field.toLowerCase().includes(searchTerm) || + value.some((val: string | number) => + String(val).toLowerCase().includes(searchTerm) + ) ); }); - return { ...section, rows: filteredRows }; + return { ...section, properties: filteredProps }; }) - .filter(({ rows }) => !isEmpty(rows)); + .filter(({ properties }) => !isEmpty(properties)); }; diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/index.tsx b/x-pack/plugins/apm/public/components/shared/MetadataTable/index.tsx index 45be525512d0a..248fa240fd557 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/index.tsx @@ -19,18 +19,21 @@ import { i18n } from '@kbn/i18n'; import { isEmpty } from 'lodash'; import React, { useCallback } from 'react'; import { useHistory, useLocation } from 'react-router-dom'; +import { EuiLoadingSpinner } from '@elastic/eui'; import { useUrlParams } from '../../../context/url_params_context/use_url_params'; import { HeightRetainer } from '../HeightRetainer'; import { fromQuery, toQuery } from '../Links/url_helpers'; -import { filterSectionsByTerm, SectionsWithRows } from './helper'; +import { filterSectionsByTerm } from './helper'; import { Section } from './Section'; import { useApmPluginContext } from '../../../context/apm_plugin/use_apm_plugin_context'; +import { SectionDescriptor } from './types'; interface Props { - sections: SectionsWithRows; + sections: SectionDescriptor[]; + isLoading: boolean; } -export function MetadataTable({ sections }: Props) { +export function MetadataTable({ sections, isLoading }: Props) { const history = useHistory(); const location = useLocation(); const { urlParams } = useUrlParams(); @@ -77,6 +80,13 @@ export function MetadataTable({ sections }: Props) { /> </EuiFlexItem> </EuiFlexGroup> + {isLoading && ( + <EuiFlexGroup justifyContent="center"> + <EuiFlexItem grow={false}> + <EuiLoadingSpinner /> + </EuiFlexItem> + </EuiFlexGroup> + )} <HeightRetainer> {filteredSections.map((section) => ( <div key={section.key}> @@ -84,7 +94,7 @@ export function MetadataTable({ sections }: Props) { <h6>{section.label}</h6> </EuiTitle> <EuiSpacer size="s" /> - <Section keyValuePairs={section.rows} /> + <Section properties={section.properties} /> <EuiSpacer size="xl" /> </div> ))} diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/sections.ts b/x-pack/plugins/apm/public/components/shared/MetadataTable/sections.ts deleted file mode 100644 index efc2ef8bde66b..0000000000000 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/sections.ts +++ /dev/null @@ -1,173 +0,0 @@ -/* - * 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 { i18n } from '@kbn/i18n'; - -export interface Section { - key: string; - label: string; - required?: boolean; - properties?: string[]; -} - -export const LABELS: Section = { - key: 'labels', - label: i18n.translate('xpack.apm.metadataTable.section.labelsLabel', { - defaultMessage: 'Labels', - }), -}; - -export const EVENT: Section = { - key: 'event', - label: i18n.translate('xpack.apm.metadataTable.section.eventLabel', { - defaultMessage: 'event', - }), - properties: ['outcome'], -}; - -export const HTTP: Section = { - key: 'http', - label: i18n.translate('xpack.apm.metadataTable.section.httpLabel', { - defaultMessage: 'HTTP', - }), -}; - -export const HOST: Section = { - key: 'host', - label: i18n.translate('xpack.apm.metadataTable.section.hostLabel', { - defaultMessage: 'Host', - }), -}; - -export const CLIENT: Section = { - key: 'client', - label: i18n.translate('xpack.apm.metadataTable.section.clientLabel', { - defaultMessage: 'Client', - }), - properties: ['ip'], -}; - -export const CONTAINER: Section = { - key: 'container', - label: i18n.translate('xpack.apm.metadataTable.section.containerLabel', { - defaultMessage: 'Container', - }), -}; - -export const SERVICE: Section = { - key: 'service', - label: i18n.translate('xpack.apm.metadataTable.section.serviceLabel', { - defaultMessage: 'Service', - }), -}; - -export const PROCESS: Section = { - key: 'process', - label: i18n.translate('xpack.apm.metadataTable.section.processLabel', { - defaultMessage: 'Process', - }), -}; - -export const AGENT: Section = { - key: 'agent', - label: i18n.translate('xpack.apm.metadataTable.section.agentLabel', { - defaultMessage: 'Agent', - }), -}; - -export const URL: Section = { - key: 'url', - label: i18n.translate('xpack.apm.metadataTable.section.urlLabel', { - defaultMessage: 'URL', - }), -}; - -export const USER: Section = { - key: 'user', - label: i18n.translate('xpack.apm.metadataTable.section.userLabel', { - defaultMessage: 'User', - }), -}; - -export const USER_AGENT: Section = { - key: 'user_agent', - label: i18n.translate('xpack.apm.metadataTable.section.userAgentLabel', { - defaultMessage: 'User agent', - }), -}; - -export const PAGE: Section = { - key: 'page', - label: i18n.translate('xpack.apm.metadataTable.section.pageLabel', { - defaultMessage: 'Page', - }), -}; - -export const SPAN: Section = { - key: 'span', - label: i18n.translate('xpack.apm.metadataTable.section.spanLabel', { - defaultMessage: 'Span', - }), - properties: ['id'], -}; - -export const TRANSACTION: Section = { - key: 'transaction', - label: i18n.translate('xpack.apm.metadataTable.section.transactionLabel', { - defaultMessage: 'Transaction', - }), - properties: ['id'], -}; - -export const TRACE: Section = { - key: 'trace', - label: i18n.translate('xpack.apm.metadataTable.section.traceLabel', { - defaultMessage: 'Trace', - }), - properties: ['id'], -}; - -export const ERROR: Section = { - key: 'error', - label: i18n.translate('xpack.apm.metadataTable.section.errorLabel', { - defaultMessage: 'Error', - }), - properties: ['id'], -}; - -const customLabel = i18n.translate( - 'xpack.apm.metadataTable.section.customLabel', - { - defaultMessage: 'Custom', - } -); - -export const CUSTOM_ERROR: Section = { - key: 'error.custom', - label: customLabel, -}; -export const CUSTOM_TRANSACTION: Section = { - key: 'transaction.custom', - label: customLabel, -}; - -const messageLabel = i18n.translate( - 'xpack.apm.metadataTable.section.messageLabel', - { - defaultMessage: 'Message', - } -); - -export const MESSAGE_TRANSACTION: Section = { - key: 'transaction.message', - label: messageLabel, -}; - -export const MESSAGE_SPAN: Section = { - key: 'span.message', - label: messageLabel, -}; diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/types.ts b/x-pack/plugins/apm/public/components/shared/MetadataTable/types.ts new file mode 100644 index 0000000000000..3ce7698460f30 --- /dev/null +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/types.ts @@ -0,0 +1,13 @@ +/* + * 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. + */ + +export interface SectionDescriptor { + key: string; + label: string; + required?: boolean; + properties: Array<{ field: string; value: string[] | number[] }>; +} diff --git a/x-pack/plugins/apm/public/components/shared/apm_header_action_menu/inspector_header_link.tsx b/x-pack/plugins/apm/public/components/shared/apm_header_action_menu/inspector_header_link.tsx index 7f1848e76d28a..8a18bf0b3eed1 100644 --- a/x-pack/plugins/apm/public/components/shared/apm_header_action_menu/inspector_header_link.tsx +++ b/x-pack/plugins/apm/public/components/shared/apm_header_action_menu/inspector_header_link.tsx @@ -9,9 +9,11 @@ import { EuiHeaderLink } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import React from 'react'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; -import { enableInspectEsQueries } from '../../../../../observability/public'; +import { + enableInspectEsQueries, + useInspectorContext, +} from '../../../../../observability/public'; import { useApmPluginContext } from '../../../context/apm_plugin/use_apm_plugin_context'; -import { useInspectorContext } from '../../../context/inspector/use_inspector_context'; export function InspectorHeaderLink() { const { inspector } = useApmPluginContext(); diff --git a/x-pack/plugins/apm/public/components/shared/redirect_with_default_date_range/index.tsx b/x-pack/plugins/apm/public/components/shared/redirect_with_default_date_range/index.tsx new file mode 100644 index 0000000000000..368125d7a6fd6 --- /dev/null +++ b/x-pack/plugins/apm/public/components/shared/redirect_with_default_date_range/index.tsx @@ -0,0 +1,51 @@ +/* + * 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 { ReactElement } from 'react'; +import { useLocation } from 'react-router-dom'; +import { useApmRouter } from '../../../hooks/use_apm_router'; +import { useDateRangeRedirect } from '../../../hooks/use_date_range_redirect'; + +// This is a top-level component that blocks rendering of the routes +// if there is no valid date range, and redirects to one if needed. +// If we don't do this, routes down the tree will fail because they +// expect the rangeFrom/rangeTo parameters to be set in the URL. +// +// This should be considered a temporary workaround until we have a +// more comprehensive solution for redirects that require context. + +export function RedirectWithDefaultDateRange({ + children, +}: { + children: ReactElement; +}) { + const { isDateRangeSet, redirect } = useDateRangeRedirect(); + + const apmRouter = useApmRouter(); + const location = useLocation(); + + const matchingRoutes = apmRouter.getRoutesToMatch(location.pathname); + + if ( + !isDateRangeSet && + matchingRoutes.some((route) => { + return ( + route.path === '/services' || + route.path === '/traces' || + route.path === '/service-map' || + route.path === '/backends' || + route.path === '/services/{serviceName}' || + location.pathname === '/' || + location.pathname === '' + ); + }) + ) { + redirect(); + return null; + } + + return children; +} diff --git a/x-pack/plugins/apm/public/components/shared/search_bar.test.tsx b/x-pack/plugins/apm/public/components/shared/search_bar.test.tsx index 58e0e7465925a..db30e73c86dc7 100644 --- a/x-pack/plugins/apm/public/components/shared/search_bar.test.tsx +++ b/x-pack/plugins/apm/public/components/shared/search_bar.test.tsx @@ -75,6 +75,8 @@ describe('when transactionType is selected and multiple transaction types are gi serviceTransactionTypes: ['firstType', 'secondType'], urlParams: { transactionType: 'secondType', + rangeFrom: 'now-15m', + rangeTo: 'now', }, }); @@ -95,6 +97,8 @@ describe('when transactionType is selected and multiple transaction types are gi serviceTransactionTypes: ['firstType', 'secondType'], urlParams: { transactionType: 'secondType', + rangeFrom: 'now-15m', + rangeTo: 'now', }, }); diff --git a/x-pack/plugins/apm/public/components/shared/search_bar.tsx b/x-pack/plugins/apm/public/components/shared/search_bar.tsx index 035635908e56c..5f5a25393c7d1 100644 --- a/x-pack/plugins/apm/public/components/shared/search_bar.tsx +++ b/x-pack/plugins/apm/public/components/shared/search_bar.tsx @@ -13,6 +13,9 @@ import { EuiSpacer, } from '@elastic/eui'; import React from 'react'; +import { useTimeRangeId } from '../../context/time_range_id/use_time_range_id'; +import { toBoolean, toNumber } from '../../context/url_params_context/helpers'; +import { useApmParams } from '../../hooks/use_apm_params'; import { useBreakpoints } from '../../hooks/use_breakpoints'; import { DatePicker } from './DatePicker'; import { KueryBar } from './kuery_bar'; @@ -28,6 +31,39 @@ interface Props { kueryBarBoolFilter?: QueryDslQueryContainer[]; } +function ApmDatePicker() { + const { query } = useApmParams('/*'); + + if (!('rangeFrom' in query)) { + throw new Error('range not available in route parameters'); + } + + const { + rangeFrom, + rangeTo, + refreshPaused: refreshPausedFromUrl = 'true', + refreshInterval: refreshIntervalFromUrl = '0', + } = query; + + const refreshPaused = toBoolean(refreshPausedFromUrl); + + const refreshInterval = toNumber(refreshIntervalFromUrl); + + const { incrementTimeRangeId } = useTimeRangeId(); + + return ( + <DatePicker + rangeFrom={rangeFrom} + rangeTo={rangeTo} + refreshPaused={refreshPaused} + refreshInterval={refreshInterval} + onTimeRangeRefresh={() => { + incrementTimeRangeId(); + }} + /> + ); +} + export function SearchBar({ hidden = false, showKueryBar = true, @@ -87,7 +123,7 @@ export function SearchBar({ </EuiFlexItem> )} <EuiFlexItem grow={false}> - <DatePicker /> + <ApmDatePicker /> </EuiFlexItem> </EuiFlexGroup> </EuiFlexItem> diff --git a/x-pack/plugins/apm/public/context/apm_plugin/mock_apm_plugin_context.tsx b/x-pack/plugins/apm/public/context/apm_plugin/mock_apm_plugin_context.tsx index eb0087d180146..617af6dae484d 100644 --- a/x-pack/plugins/apm/public/context/apm_plugin/mock_apm_plugin_context.tsx +++ b/x-pack/plugins/apm/public/context/apm_plugin/mock_apm_plugin_context.tsx @@ -10,6 +10,7 @@ import { Observable, of } from 'rxjs'; import { RouterProvider } from '@kbn/typed-react-router-config'; import { useHistory } from 'react-router-dom'; import { createMemoryHistory, History } from 'history'; +import { merge } from 'lodash'; import { UrlService } from '../../../../../../src/plugins/share/common/url_service'; import { createObservabilityRuleTypeRegistryMock } from '../../../../observability/public'; import { ApmPluginContext, ApmPluginContextValue } from './apm_plugin_context'; @@ -138,25 +139,28 @@ export function MockApmPluginContextWrapper({ value?: ApmPluginContextValue; history?: History; }) { - if (value.core) { - createCallApmApi(value.core); + const contextValue = merge({}, mockApmPluginContextValue, value); + + if (contextValue.core) { + createCallApmApi(contextValue.core); } const contextHistory = useHistory(); const usedHistory = useMemo(() => { - return history || contextHistory || createMemoryHistory(); + return ( + history || + contextHistory || + createMemoryHistory({ + initialEntries: ['/services/?rangeFrom=now-15m&rangeTo=now'], + }) + ); }, [history, contextHistory]); return ( - <RouterProvider router={apmRouter as any} history={usedHistory}> - <ApmPluginContext.Provider - value={{ - ...mockApmPluginContextValue, - ...value, - }} - > + <ApmPluginContext.Provider value={contextValue}> + <RouterProvider router={apmRouter as any} history={usedHistory}> {children} - </ApmPluginContext.Provider> - </RouterProvider> + </RouterProvider> + </ApmPluginContext.Provider> ); } diff --git a/x-pack/plugins/apm/public/hooks/use_date_range_redirect.ts b/x-pack/plugins/apm/public/hooks/use_date_range_redirect.ts new file mode 100644 index 0000000000000..0446b35872045 --- /dev/null +++ b/x-pack/plugins/apm/public/hooks/use_date_range_redirect.ts @@ -0,0 +1,46 @@ +/* + * 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 qs from 'query-string'; +import { useHistory, useLocation } from 'react-router-dom'; +import { UI_SETTINGS } from '../../../../../src/plugins/data/public'; +import { TimePickerTimeDefaults } from '../components/shared/DatePicker/typings'; +import { useApmPluginContext } from '../context/apm_plugin/use_apm_plugin_context'; + +export function useDateRangeRedirect() { + const history = useHistory(); + const location = useLocation(); + const query = qs.parse(location.search); + + const { core, plugins } = useApmPluginContext(); + + const timePickerTimeDefaults = core.uiSettings.get<TimePickerTimeDefaults>( + UI_SETTINGS.TIMEPICKER_TIME_DEFAULTS + ); + + const timePickerSharedState = + plugins.data.query.timefilter.timefilter.getTime(); + + const isDateRangeSet = 'rangeFrom' in query && 'rangeTo' in query; + + const redirect = () => { + const nextQuery = { + rangeFrom: timePickerSharedState.from ?? timePickerTimeDefaults.from, + rangeTo: timePickerSharedState.to ?? timePickerTimeDefaults.to, + ...query, + }; + + history.replace({ + ...location, + search: qs.stringify(nextQuery), + }); + }; + + return { + isDateRangeSet, + redirect, + }; +} diff --git a/x-pack/plugins/apm/public/hooks/use_fetcher.tsx b/x-pack/plugins/apm/public/hooks/use_fetcher.tsx index d5a10a6e91539..72fb8ac0bb3cf 100644 --- a/x-pack/plugins/apm/public/hooks/use_fetcher.tsx +++ b/x-pack/plugins/apm/public/hooks/use_fetcher.tsx @@ -9,12 +9,12 @@ import { i18n } from '@kbn/i18n'; import React, { useEffect, useMemo, useState } from 'react'; import { IHttpFetchError } from 'src/core/public'; import { useKibana } from '../../../../../src/plugins/kibana_react/public'; -import { useInspectorContext } from '../context/inspector/use_inspector_context'; import { useTimeRangeId } from '../context/time_range_id/use_time_range_id'; import { AutoAbortedAPMClient, callApmApi, } from '../services/rest/createCallApmApi'; +import { useInspectorContext } from '../../../observability/public'; export enum FETCH_STATUS { LOADING = 'loading', diff --git a/x-pack/plugins/apm/public/hooks/use_time_range.ts b/x-pack/plugins/apm/public/hooks/use_time_range.ts index 5c6a78ba5c46a..79ca70130a442 100644 --- a/x-pack/plugins/apm/public/hooks/use_time_range.ts +++ b/x-pack/plugins/apm/public/hooks/use_time_range.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { useRef } from 'react'; +import { useMemo } from 'react'; import { useTimeRangeId } from '../context/time_range_id/use_time_range_id'; import { getDateRange } from '../context/url_params_context/helpers'; @@ -41,29 +41,16 @@ export function useTimeRange({ rangeTo?: string; optional?: boolean; }): TimeRange | PartialTimeRange { - const rangeRef = useRef({ rangeFrom, rangeTo }); + const { incrementTimeRangeId, timeRangeId } = useTimeRangeId(); - const { timeRangeId, incrementTimeRangeId } = useTimeRangeId(); - - const timeRangeIdRef = useRef(timeRangeId); - - const stateRef = useRef(getDateRange({ state: {}, rangeFrom, rangeTo })); - - const updateParsedTime = () => { - stateRef.current = getDateRange({ state: {}, rangeFrom, rangeTo }); - }; - - if ( - timeRangeIdRef.current !== timeRangeId || - rangeRef.current.rangeFrom !== rangeFrom || - rangeRef.current.rangeTo !== rangeTo - ) { - updateParsedTime(); - } - - rangeRef.current = { rangeFrom, rangeTo }; - - const { start, end, exactStart, exactEnd } = stateRef.current; + const { start, end, exactStart, exactEnd } = useMemo(() => { + return getDateRange({ + state: {}, + rangeFrom, + rangeTo, + }); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [rangeFrom, rangeTo, timeRangeId]); if ((!start || !end || !exactStart || !exactEnd) && !optional) { throw new Error('start and/or end were unexpectedly not set'); diff --git a/x-pack/plugins/apm/public/services/rest/createCallApmApi.ts b/x-pack/plugins/apm/public/services/rest/createCallApmApi.ts index 0dda1fc56dd27..388d88bbc2a92 100644 --- a/x-pack/plugins/apm/public/services/rest/createCallApmApi.ts +++ b/x-pack/plugins/apm/public/services/rest/createCallApmApi.ts @@ -28,7 +28,7 @@ import type { APIEndpoint, // eslint-disable-next-line @kbn/eslint/no-restricted-paths } from '../../../server'; -import { InspectResponse } from '../../../typings/common'; +import { InspectResponse } from '../../../../observability/typings/common'; export type APMClientOptions = Omit< FetchOptions, diff --git a/x-pack/plugins/apm/public/tutorial/tutorial_fleet_instructions/index.tsx b/x-pack/plugins/apm/public/tutorial/tutorial_fleet_instructions/index.tsx index c69623f92987a..175d6797bb29f 100644 --- a/x-pack/plugins/apm/public/tutorial/tutorial_fleet_instructions/index.tsx +++ b/x-pack/plugins/apm/public/tutorial/tutorial_fleet_instructions/index.tsx @@ -86,7 +86,7 @@ function TutorialFleetInstructions({ http, basePath, isDarkTheme }: Props) { 'xpack.apm.tutorial.apmServer.fleet.message', { defaultMessage: - 'The APM integration installs Elasticsearch templates and Ingest Node pipelines for APM data.', + 'The APM integration installs Elasticsearch templates and ingest pipelines for APM data.', } )} footer={ diff --git a/x-pack/plugins/apm/readme.md b/x-pack/plugins/apm/readme.md index b78fd6162e736..6ebe07d44683c 100644 --- a/x-pack/plugins/apm/readme.md +++ b/x-pack/plugins/apm/readme.md @@ -22,6 +22,7 @@ yarn storybook apm All files with a .stories.tsx extension will be loaded. You can access the development environment at http://localhost:9001. ## Further resources +- [Queries and data model](./dev_docs/apm_queries.md) - [VSCode setup instructions](./dev_docs/vscode_setup.md) - [Github PR commands](./dev_docs/github_commands.md) - [Routing and Linking](./dev_docs/routing_and_linking.md) diff --git a/x-pack/plugins/apm/scripts/optimize-tsconfig/tsconfig.json b/x-pack/plugins/apm/scripts/optimize-tsconfig/tsconfig.json index 31f756eeabde3..8254ec67eb3c5 100644 --- a/x-pack/plugins/apm/scripts/optimize-tsconfig/tsconfig.json +++ b/x-pack/plugins/apm/scripts/optimize-tsconfig/tsconfig.json @@ -7,7 +7,10 @@ ], "exclude": [ "**/__fixtures__/**/*", - "./x-pack/plugins/apm/ftr_e2e" + "./x-pack/plugins/apm/ftr_e2e", + "./x-pack/plugins/apm/e2e", + "**/target/**", + "**/node_modules/**" ], "compilerOptions": { "noErrorTruncation": true diff --git a/x-pack/plugins/apm/server/feature.ts b/x-pack/plugins/apm/server/feature.ts index 0d1ed4745d00d..4c1fe784ea490 100644 --- a/x-pack/plugins/apm/server/feature.ts +++ b/x-pack/plugins/apm/server/feature.ts @@ -6,7 +6,6 @@ */ import { i18n } from '@kbn/i18n'; -import { SubFeaturePrivilegeGroupType } from '../../features/common'; import { LicenseType } from '../../licensing/common/types'; import { AlertType, APM_SERVER_FEATURE_ID } from '../common/alert_types'; import { DEFAULT_APP_CATEGORIES } from '../../../../src/core/server'; @@ -39,6 +38,9 @@ export const APM_FEATURE = { read: [], }, alerting: { + alert: { + all: Object.values(AlertType), + }, rule: { all: Object.values(AlertType), }, @@ -57,6 +59,9 @@ export const APM_FEATURE = { read: [], }, alerting: { + alert: { + read: Object.values(AlertType), + }, rule: { read: Object.values(AlertType), }, @@ -67,60 +72,6 @@ export const APM_FEATURE = { ui: ['show', 'alerting:show'], }, }, - subFeatures: [ - { - name: i18n.translate('xpack.apm.featureRegistry.manageAlertsName', { - defaultMessage: 'Alerts', - }), - privilegeGroups: [ - { - groupType: 'mutually_exclusive' as SubFeaturePrivilegeGroupType, - privileges: [ - { - id: 'alerts_all', - name: i18n.translate( - 'xpack.apm.featureRegistry.subfeature.alertsAllName', - { - defaultMessage: 'All', - } - ), - includeIn: 'all' as 'all', - alerting: { - alert: { - all: Object.values(AlertType), - }, - }, - savedObject: { - all: [], - read: [], - }, - ui: [], - }, - { - id: 'alerts_read', - name: i18n.translate( - 'xpack.apm.featureRegistry.subfeature.alertsReadName', - { - defaultMessage: 'Read', - } - ), - includeIn: 'read' as 'read', - alerting: { - alert: { - read: Object.values(AlertType), - }, - }, - savedObject: { - all: [], - read: [], - }, - ui: [], - }, - ], - }, - ], - }, - ], }; interface Feature { diff --git a/x-pack/plugins/apm/server/lib/event_metadata/get_event_metadata.ts b/x-pack/plugins/apm/server/lib/event_metadata/get_event_metadata.ts new file mode 100644 index 0000000000000..97e2e1356363f --- /dev/null +++ b/x-pack/plugins/apm/server/lib/event_metadata/get_event_metadata.ts @@ -0,0 +1,66 @@ +/* + * 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 { QueryDslQueryContainer } from '@elastic/elasticsearch/api/types'; +import { + ERROR_ID, + SPAN_ID, + TRANSACTION_ID, +} from '../../../common/elasticsearch_fieldnames'; +import { ProcessorEvent } from '../../../common/processor_event'; +import type { APMEventClient } from '../helpers/create_es_client/create_apm_event_client'; + +export async function getEventMetadata({ + apmEventClient, + processorEvent, + id, +}: { + apmEventClient: APMEventClient; + processorEvent: ProcessorEvent; + id: string; +}) { + const filter: QueryDslQueryContainer[] = []; + + switch (processorEvent) { + case ProcessorEvent.error: + filter.push({ + term: { [ERROR_ID]: id }, + }); + break; + + case ProcessorEvent.transaction: + filter.push({ + term: { + [TRANSACTION_ID]: id, + }, + }); + break; + + case ProcessorEvent.span: + filter.push({ + term: { [SPAN_ID]: id }, + }); + break; + } + + const response = await apmEventClient.search('get_event_metadata', { + apm: { + events: [processorEvent], + }, + body: { + query: { + bool: { filter }, + }, + size: 1, + _source: false, + fields: [{ field: '*', include_unmapped: true }], + }, + terminate_after: 1, + }); + + return response.hits.hits[0].fields; +} diff --git a/x-pack/plugins/apm/server/lib/helpers/create_es_client/call_async_with_debug.ts b/x-pack/plugins/apm/server/lib/helpers/create_es_client/call_async_with_debug.ts index b58a11f637c21..fb58357d68437 100644 --- a/x-pack/plugins/apm/server/lib/helpers/create_es_client/call_async_with_debug.ts +++ b/x-pack/plugins/apm/server/lib/helpers/create_es_client/call_async_with_debug.ts @@ -12,7 +12,7 @@ import { KibanaRequest } from '../../../../../../../src/core/server'; import { RequestStatus } from '../../../../../../../src/plugins/inspector'; import { WrappedElasticsearchClientError } from '../../../../../observability/server'; import { inspectableEsQueriesMap } from '../../../routes/register_routes'; -import { getInspectResponse } from './get_inspect_response'; +import { getInspectResponse } from '../../../../../observability/server'; function formatObj(obj: Record<string, any>) { return JSON.stringify(obj, null, 2); diff --git a/x-pack/plugins/apm/server/routes/event_metadata.ts b/x-pack/plugins/apm/server/routes/event_metadata.ts new file mode 100644 index 0000000000000..8970ab8ffdeea --- /dev/null +++ b/x-pack/plugins/apm/server/routes/event_metadata.ts @@ -0,0 +1,44 @@ +/* + * 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 * as t from 'io-ts'; +import { createApmServerRouteRepository } from './create_apm_server_route_repository'; +import { createApmServerRoute } from './create_apm_server_route'; +import { getEventMetadata } from '../lib/event_metadata/get_event_metadata'; +import { processorEventRt } from '../../common/processor_event'; +import { setupRequest } from '../lib/helpers/setup_request'; + +const eventMetadataRoute = createApmServerRoute({ + endpoint: 'GET /api/apm/event_metadata/{processorEvent}/{id}', + options: { tags: ['access:apm'] }, + params: t.type({ + path: t.type({ + processorEvent: processorEventRt, + id: t.string, + }), + }), + handler: async (resources) => { + const setup = await setupRequest(resources); + + const { + path: { processorEvent, id }, + } = resources.params; + + const metadata = await getEventMetadata({ + apmEventClient: setup.apmEventClient, + processorEvent, + id, + }); + + return { + metadata, + }; + }, +}); + +export const eventMetadataRouteRepository = + createApmServerRouteRepository().add(eventMetadataRoute); diff --git a/x-pack/plugins/apm/server/routes/get_global_apm_server_route_repository.ts b/x-pack/plugins/apm/server/routes/get_global_apm_server_route_repository.ts index 7aa520dd5b8a2..472e46fecfa10 100644 --- a/x-pack/plugins/apm/server/routes/get_global_apm_server_route_repository.ts +++ b/x-pack/plugins/apm/server/routes/get_global_apm_server_route_repository.ts @@ -33,6 +33,7 @@ import { traceRouteRepository } from './traces'; import { transactionRouteRepository } from './transactions'; import { APMRouteHandlerResources } from './typings'; import { historicalDataRouteRepository } from './historical_data'; +import { eventMetadataRouteRepository } from './event_metadata'; import { suggestionsRouteRepository } from './suggestions'; const getTypedGlobalApmServerRouteRepository = () => { @@ -58,7 +59,8 @@ const getTypedGlobalApmServerRouteRepository = () => { .merge(apmFleetRouteRepository) .merge(backendsRouteRepository) .merge(fallbackToTransactionsRouteRepository) - .merge(historicalDataRouteRepository); + .merge(historicalDataRouteRepository) + .merge(eventMetadataRouteRepository); return repository; }; diff --git a/x-pack/plugins/apm/server/routes/register_routes/index.ts b/x-pack/plugins/apm/server/routes/register_routes/index.ts index fb1d67ad30c2b..d3587f1fcbe4b 100644 --- a/x-pack/plugins/apm/server/routes/register_routes/index.ts +++ b/x-pack/plugins/apm/server/routes/register_routes/index.ts @@ -21,7 +21,7 @@ import { mergeRt, jsonRt } from '@kbn/io-ts-utils'; import { pickKeys } from '../../../common/utils/pick_keys'; import { APMRouteHandlerResources, TelemetryUsageCounter } from '../typings'; import type { ApmPluginRequestHandlerContext } from '../typings'; -import { InspectResponse } from '../../../typings/common'; +import { InspectResponse } from '../../../../observability/typings/common'; const inspectRt = t.exact( t.partial({ diff --git a/x-pack/plugins/apm/typings/common.d.ts b/x-pack/plugins/apm/typings/common.d.ts index 4c0b8520924bc..b94eb6cd97b06 100644 --- a/x-pack/plugins/apm/typings/common.d.ts +++ b/x-pack/plugins/apm/typings/common.d.ts @@ -6,7 +6,6 @@ */ import type { UnwrapPromise } from '@kbn/utility-types'; -import type { Request } from '../../../../src/plugins/inspector/common'; import '../../../typings/rison_node'; import '../../infra/types/eui'; // EUIBasicTable @@ -28,5 +27,3 @@ type AllowUnknownObjectProperties<T> = T extends object export type PromiseValueType<T extends Promise<any>> = UnwrapPromise<T>; export type Maybe<T> = T | null | undefined; - -export type InspectResponse = Request[]; diff --git a/x-pack/plugins/banners/server/config.test.ts b/x-pack/plugins/banners/server/config.test.ts deleted file mode 100644 index f080281cf730d..0000000000000 --- a/x-pack/plugins/banners/server/config.test.ts +++ /dev/null @@ -1,38 +0,0 @@ -/* - * 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 { config } from './config'; -import { getDeprecationsFor } from '../../../../src/core/server/test_utils'; - -function applyDeprecations(settings?: Record<string, any>) { - return getDeprecationsFor({ provider: config.deprecations!, settings, path: 'xpack.banners' }); -} - -describe('deprecations', () => { - it('replaces xpack.banners.placement from "header" to "top"', () => { - const { migrated } = applyDeprecations({ - placement: 'header', - }); - expect(migrated.xpack.banners.placement).toBe('top'); - }); - it('logs a warning message about xpack.banners.placement renaming', () => { - const { messages } = applyDeprecations({ - placement: 'header', - }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "The \`header\` value for xpack.banners.placement has been replaced by \`top\`", - ] - `); - }); - it('do not rename other placement values', () => { - const { migrated, messages } = applyDeprecations({ - placement: 'disabled', - }); - expect(migrated.xpack.banners.placement).toBe('disabled'); - expect(messages.length).toBe(0); - }); -}); diff --git a/x-pack/plugins/banners/server/config.ts b/x-pack/plugins/banners/server/config.ts index 37b4c57fc2ce1..cc0e18c32e310 100644 --- a/x-pack/plugins/banners/server/config.ts +++ b/x-pack/plugins/banners/server/config.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { get } from 'lodash'; +// import { get } from 'lodash'; import { schema, TypeOf } from '@kbn/config-schema'; import { PluginConfigDescriptor } from 'kibana/server'; import { isHexColor } from './utils'; @@ -39,23 +39,4 @@ export type BannersConfigType = TypeOf<typeof configSchema>; export const config: PluginConfigDescriptor<BannersConfigType> = { schema: configSchema, exposeToBrowser: {}, - deprecations: () => [ - (rootConfig, fromPath, addDeprecation) => { - const pluginConfig = get(rootConfig, fromPath); - if (pluginConfig?.placement === 'header') { - addDeprecation({ - message: 'The `header` value for xpack.banners.placement has been replaced by `top`', - correctiveActions: { - manualSteps: [ - `Remove "xpack.banners.placement: header" from your kibana configs.`, - `Add "xpack.banners.placement: to" to your kibana configs instead.`, - ], - }, - }); - return { - set: [{ path: `${fromPath}.placement`, value: 'top' }], - }; - } - }, - ], }; diff --git a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.scss b/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.scss index ae26a1bee99a6..204de7d4b345d 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.scss +++ b/x-pack/plugins/canvas/canvas_plugin_src/renderers/embeddable/embeddable.scss @@ -1,6 +1,7 @@ .canvasEmbeddable { .embPanel { border: none; + border-style: none !important; background: none; .embPanel__title { diff --git a/x-pack/plugins/canvas/kibana.json b/x-pack/plugins/canvas/kibana.json index 772c030e11539..9c4d1b2179d82 100644 --- a/x-pack/plugins/canvas/kibana.json +++ b/x-pack/plugins/canvas/kibana.json @@ -28,7 +28,7 @@ "uiActions", "share" ], - "optionalPlugins": ["home", "reporting", "usageCollection"], + "optionalPlugins": ["home", "reporting", "spaces", "usageCollection"], "requiredBundles": [ "discover", "home", diff --git a/x-pack/plugins/canvas/public/application.tsx b/x-pack/plugins/canvas/public/application.tsx index f2fe944bfd45d..04d3958b68e36 100644 --- a/x-pack/plugins/canvas/public/application.tsx +++ b/x-pack/plugins/canvas/public/application.tsx @@ -77,7 +77,7 @@ export const renderApp = ({ <presentationUtil.ContextProvider> <I18nProvider> <Provider store={canvasStore}> - <App /> + <App history={params.history} /> </Provider> </I18nProvider> </presentationUtil.ContextProvider> diff --git a/x-pack/plugins/canvas/public/components/app/index.tsx b/x-pack/plugins/canvas/public/components/app/index.tsx index ec9dbd47fd7c7..288ecaf83ab69 100644 --- a/x-pack/plugins/canvas/public/components/app/index.tsx +++ b/x-pack/plugins/canvas/public/components/app/index.tsx @@ -10,6 +10,7 @@ import PropTypes from 'prop-types'; import { History } from 'history'; // @ts-expect-error import createHashStateHistory from 'history-extra/dist/createHashStateHistory'; +import { ScopedHistory } from 'kibana/public'; import { useNavLinkService } from '../../services'; // @ts-expect-error import { shortcutManager } from '../../lib/shortcut_manager'; @@ -29,7 +30,7 @@ class ShortcutManagerContextWrapper extends React.Component { } } -export const App: FC = () => { +export const App: FC<{ history: ScopedHistory }> = ({ history }) => { const historyRef = useRef<History>(createHashStateHistory() as History); const { updatePath } = useNavLinkService(); @@ -39,6 +40,15 @@ export const App: FC = () => { }); }); + // We are using our own history due to needing pushState functionality not yet available on standard history + // This effect will listen for changes on the scoped history and push that to our history + // This is needed for SavedObject.resolve redirects + useEffect(() => { + return history.listen((location) => { + historyRef.current.replace(location.hash.substr(1)); + }); + }, [history]); + return ( <ShortcutManagerContextWrapper> <div className="canvas canvasContainer"> diff --git a/x-pack/plugins/canvas/public/components/fullscreen/fullscreen.scss b/x-pack/plugins/canvas/public/components/fullscreen/fullscreen.scss index 15d6b13e3fbf8..a26c264938987 100644 --- a/x-pack/plugins/canvas/public/components/fullscreen/fullscreen.scss +++ b/x-pack/plugins/canvas/public/components/fullscreen/fullscreen.scss @@ -68,4 +68,9 @@ body.canvas-isFullscreen { box-shadow: none; overflow: hidden; } + + // When in fullscreen, we want to make sure to hide the "there was a conflict" resolve callout + .canvasContainer > .euiCallOut { + display: none; + } } diff --git a/x-pack/plugins/canvas/public/components/positionable/positionable.scss b/x-pack/plugins/canvas/public/components/positionable/positionable.scss index d1d927672e052..6dd0d713a0308 100644 --- a/x-pack/plugins/canvas/public/components/positionable/positionable.scss +++ b/x-pack/plugins/canvas/public/components/positionable/positionable.scss @@ -1,4 +1,3 @@ .canvasPositionable { transform-origin: center center; /* the default, only for clarity */ - transform-style: preserve-3d; } diff --git a/x-pack/plugins/canvas/public/plugin.tsx b/x-pack/plugins/canvas/public/plugin.tsx index bd5d884f1485c..723d1afea2860 100644 --- a/x-pack/plugins/canvas/public/plugin.tsx +++ b/x-pack/plugins/canvas/public/plugin.tsx @@ -19,6 +19,7 @@ import { PluginInitializerContext, } from '../../../../src/core/public'; import { HomePublicPluginSetup } from '../../../../src/plugins/home/public'; +import { SpacesPluginStart } from '../../spaces/public'; import { initLoadingIndicator } from './lib/loading_indicator'; import { getSessionStorage } from './lib/storage'; import { SESSIONSTORAGE_LASTPATH, CANVAS_APP } from '../common/lib/constants'; @@ -62,6 +63,7 @@ export interface CanvasStartDeps { charts: ChartsPluginStart; data: DataPublicPluginStart; presentationUtil: PresentationUtilPluginStart; + spaces?: SpacesPluginStart; } /** diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.test.tsx b/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.test.tsx index 0fd4d3d2401f7..846af8a891434 100644 --- a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.test.tsx +++ b/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.test.tsx @@ -11,7 +11,8 @@ import { useWorkpad } from './use_workpad'; const mockDispatch = jest.fn(); const mockSelector = jest.fn(); -const mockGetWorkpad = jest.fn(); +const mockResolveWorkpad = jest.fn(); +const mockRedirectLegacyUrl = jest.fn(); const workpad = { id: 'someworkpad', @@ -33,7 +34,10 @@ jest.mock('react-redux', () => ({ jest.mock('../../../services', () => ({ useWorkpadService: () => ({ - get: mockGetWorkpad, + resolve: mockResolveWorkpad, + }), + usePlatformService: () => ({ + redirectLegacyUrl: mockRedirectLegacyUrl, }), })); @@ -51,15 +55,59 @@ describe('useWorkpad', () => { test('fires request to load workpad and dispatches results', async () => { const workpadId = 'someworkpad'; - mockGetWorkpad.mockResolvedValue(workpadResponse); + const getRedirectPath = (id: string) => id; + mockResolveWorkpad.mockResolvedValue({ + outcome: 'exactMatch', + workpad: workpadResponse, + }); - renderHook(() => useWorkpad(workpadId)); + renderHook(() => useWorkpad(workpadId, true, getRedirectPath)); - await waitFor(() => expect(mockGetWorkpad).toHaveBeenCalledWith(workpadId)); + await waitFor(() => expect(mockResolveWorkpad).toHaveBeenCalledWith(workpadId)); - expect(mockGetWorkpad).toHaveBeenCalledWith(workpadId); + expect(mockResolveWorkpad).toHaveBeenCalledWith(workpadId); expect(mockDispatch).toHaveBeenCalledWith({ type: 'setAssets', payload: assets }); expect(mockDispatch).toHaveBeenCalledWith({ type: 'setWorkpad', payload: workpad }); expect(mockDispatch).toHaveBeenCalledWith({ type: 'setZoomScale', payload: 1 }); }); + + test('sets alias id of workpad on a conflict', async () => { + const workpadId = 'someworkpad'; + const getRedirectPath = (id: string) => id; + const aliasId = 'someworkpad-alias'; + mockResolveWorkpad.mockResolvedValue({ + outcome: 'conflict', + workpad: workpadResponse, + aliasId, + }); + + renderHook(() => useWorkpad(workpadId, true, getRedirectPath)); + + await waitFor(() => expect(mockResolveWorkpad).toHaveBeenCalledWith(workpadId)); + + expect(mockResolveWorkpad).toHaveBeenCalledWith(workpadId); + expect(mockDispatch).toHaveBeenCalledWith({ type: 'setAssets', payload: assets }); + expect(mockDispatch).toHaveBeenCalledWith({ + type: 'setWorkpad', + payload: { ...workpad, aliasId }, + }); + expect(mockDispatch).toHaveBeenCalledWith({ type: 'setZoomScale', payload: 1 }); + }); + + test('redirects on alias match', async () => { + const workpadId = 'someworkpad'; + const getRedirectPath = (id: string) => id; + const aliasId = 'someworkpad-alias'; + mockResolveWorkpad.mockResolvedValue({ + outcome: 'aliasMatch', + workpad: workpadResponse, + aliasId, + }); + + renderHook(() => useWorkpad(workpadId, true, getRedirectPath)); + + await waitFor(() => expect(mockResolveWorkpad).toHaveBeenCalledWith(workpadId)); + + expect(mockRedirectLegacyUrl).toBeCalledWith(`#${aliasId}`, 'Workpad'); + }); }); diff --git a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.ts b/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.ts index 983622dad264d..f8ddd769aac43 100644 --- a/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.ts +++ b/x-pack/plugins/canvas/public/routes/workpad/hooks/use_workpad.ts @@ -6,8 +6,9 @@ */ import { useEffect, useState } from 'react'; +import { i18n } from '@kbn/i18n'; import { useDispatch, useSelector } from 'react-redux'; -import { useWorkpadService } from '../../../services'; +import { useWorkpadService, usePlatformService } from '../../../services'; import { getWorkpad } from '../../../state/selectors/workpad'; import { setWorkpad } from '../../../state/actions/workpad'; // @ts-expect-error @@ -16,11 +17,18 @@ import { setAssets } from '../../../state/actions/assets'; import { setZoomScale } from '../../../state/actions/transient'; import { CanvasWorkpad } from '../../../../types'; +const getWorkpadLabel = () => + i18n.translate('xpack.canvas.workpadResolve.redirectLabel', { + defaultMessage: 'Workpad', + }); + export const useWorkpad = ( workpadId: string, - loadPages: boolean = true + loadPages: boolean = true, + getRedirectPath: (workpadId: string) => string ): [CanvasWorkpad | undefined, string | Error | undefined] => { const workpadService = useWorkpadService(); + const platformService = usePlatformService(); const dispatch = useDispatch(); const storedWorkpad = useSelector(getWorkpad); const [error, setError] = useState<string | Error | undefined>(undefined); @@ -28,15 +36,28 @@ export const useWorkpad = ( useEffect(() => { (async () => { try { - const { assets, ...workpad } = await workpadService.get(workpadId); + const { + outcome, + aliasId, + workpad: { assets, ...workpad }, + } = await workpadService.resolve(workpadId); + + if (outcome === 'conflict') { + workpad.aliasId = aliasId; + } + dispatch(setAssets(assets)); dispatch(setWorkpad(workpad, { loadPages })); dispatch(setZoomScale(1)); + + if (outcome === 'aliasMatch' && platformService.redirectLegacyUrl && aliasId) { + platformService.redirectLegacyUrl(`#${getRedirectPath(aliasId)}`, getWorkpadLabel()); + } } catch (e) { - setError(e); + setError(e as Error | string); } })(); - }, [workpadId, dispatch, setError, loadPages, workpadService]); + }, [workpadId, dispatch, setError, loadPages, workpadService, getRedirectPath, platformService]); return [storedWorkpad.id === workpadId ? storedWorkpad : undefined, error]; }; diff --git a/x-pack/plugins/canvas/public/routes/workpad/index.tsx b/x-pack/plugins/canvas/public/routes/workpad/index.tsx index 4c98511baad0b..0b6153bc06afd 100644 --- a/x-pack/plugins/canvas/public/routes/workpad/index.tsx +++ b/x-pack/plugins/canvas/public/routes/workpad/index.tsx @@ -13,6 +13,7 @@ export { WorkpadRoutingContext, WorkpadRoutingContextType } from './workpad_rout export interface WorkpadRouteParams { id: string; + pageNumber?: string; } export interface WorkpadPageRouteParams extends WorkpadRouteParams { diff --git a/x-pack/plugins/canvas/public/routes/workpad/workpad_presentation_helper.tsx b/x-pack/plugins/canvas/public/routes/workpad/workpad_presentation_helper.tsx index bdf84de7a47bd..084c9d8c76b00 100644 --- a/x-pack/plugins/canvas/public/routes/workpad/workpad_presentation_helper.tsx +++ b/x-pack/plugins/canvas/public/routes/workpad/workpad_presentation_helper.tsx @@ -4,7 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ - +import { i18n } from '@kbn/i18n'; import React, { FC, useEffect } from 'react'; import { useSelector } from 'react-redux'; import { getBaseBreadcrumb, getWorkpadBreadcrumb } from '../../lib/breadcrumbs'; @@ -16,6 +16,11 @@ import { useAutoplayHelper } from './hooks/use_autoplay_helper'; import { useRefreshHelper } from './hooks/use_refresh_helper'; import { usePlatformService } from '../../services'; +const getWorkpadLabel = () => + i18n.translate('xpack.canvas.workpadConflict.redirectLabel', { + defaultMessage: 'Workpad', + }); + export const WorkpadPresentationHelper: FC = ({ children }) => { const platformService = usePlatformService(); const workpad = useSelector(getWorkpad); @@ -34,5 +39,19 @@ export const WorkpadPresentationHelper: FC = ({ children }) => { setDocTitle(workpad.name); }, [workpad.name]); - return <>{children}</>; + const conflictElement = workpad.aliasId + ? platformService.getLegacyUrlConflict?.({ + objectNoun: getWorkpadLabel(), + currentObjectId: workpad.id, + otherObjectId: workpad.aliasId, + otherObjectPath: `#/workpad/${workpad.aliasId}`, + }) + : null; + + return ( + <> + {conflictElement} + {children} + </> + ); }; diff --git a/x-pack/plugins/canvas/public/routes/workpad/workpad_route.tsx b/x-pack/plugins/canvas/public/routes/workpad/workpad_route.tsx index 2c1ad4fcb6aa1..c5374c3ad6e04 100644 --- a/x-pack/plugins/canvas/public/routes/workpad/workpad_route.tsx +++ b/x-pack/plugins/canvas/public/routes/workpad/workpad_route.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React, { FC, useEffect } from 'react'; +import React, { FC, useEffect, useCallback } from 'react'; import { Route, Switch, Redirect, useParams } from 'react-router-dom'; import { useDispatch } from 'react-redux'; import { WorkpadApp } from '../../components/workpad_app'; @@ -21,56 +21,93 @@ import { useRestoreHistory } from './hooks/use_restore_history'; import { useWorkpadHistory } from './hooks/use_workpad_history'; import { usePageSync } from './hooks/use_page_sync'; import { useWorkpadPersist } from './hooks/use_workpad_persist'; -import { WorkpadPageRouteProps, WorkpadRouteProps, WorkpadPageRouteParams } from '.'; +import { WorkpadRouteProps, WorkpadPageRouteParams } from '.'; import { WorkpadRoutingContextComponent } from './workpad_routing_context'; import { WorkpadPresentationHelper } from './workpad_presentation_helper'; const { workpadRoutes: strings } = ErrorStrings; -export const WorkpadRoute = () => ( - <Route - path={'/workpad/:id'} - exact={false} - children={(route: WorkpadRouteProps) => ( - <WorkpadLoaderComponent params={route.match.params} key="workpad-loader"> - {(workpad: CanvasWorkpad) => ( - <Switch> - <Route - path="/workpad/:id/page/:pageNumber" - children={(pageRoute) => ( - <WorkpadHistoryManager> - <WorkpadRoutingContextComponent> - <WorkpadPresentationHelper> - <WorkpadApp /> - </WorkpadPresentationHelper> - </WorkpadRoutingContextComponent> - </WorkpadHistoryManager> - )} - /> - <Route path="/workpad/:id" strict={false} exact={true}> - <Redirect to={`/workpad/${route.match.params.id}/page/${workpad.page + 1}`} /> - </Route> - </Switch> - )} - </WorkpadLoaderComponent> - )} - /> -); - -export const ExportWorkpadRoute = () => ( - <Route - path={'/export/workpad/pdf/:id/page/:pageNumber'} - children={(route: WorkpadPageRouteProps) => ( - <WorkpadLoaderComponent loadPages={false} params={route.match.params}> - {() => ( - <ExportRouteManager> - <ExportApp /> - </ExportRouteManager> - )} - </WorkpadLoaderComponent> - )} - /> -); +export const WorkpadRoute = () => { + return ( + <Route + path={['/workpad/:id/page/:pageNumber', '/workpad/:id']} + exact={false} + children={(route: WorkpadRouteProps) => { + return <WorkpadRouteComponent route={route} />; + }} + /> + ); +}; + +const WorkpadRouteComponent: FC<{ route: WorkpadRouteProps }> = ({ route }) => { + const getRedirectPath = useCallback( + (workpadId: string) => + `/workpad/${workpadId}${ + route.match.params.pageNumber ? `/page/${route.match.params.pageNumber}` : '' + }`, + [route.match.params.pageNumber] + ); + + return ( + <WorkpadLoaderComponent + params={route.match.params} + key="workpad-loader" + getRedirectPath={getRedirectPath} + > + {(workpad: CanvasWorkpad) => ( + <Switch> + <Route + path="/workpad/:id/page/:pageNumber" + children={(pageRoute) => ( + <WorkpadHistoryManager> + <WorkpadRoutingContextComponent> + <WorkpadPresentationHelper> + <WorkpadApp /> + </WorkpadPresentationHelper> + </WorkpadRoutingContextComponent> + </WorkpadHistoryManager> + )} + /> + <Route path="/workpad/:id" strict={false} exact={true}> + <Redirect to={`/workpad/${route.match.params.id}/page/${workpad.page + 1}`} /> + </Route> + </Switch> + )} + </WorkpadLoaderComponent> + ); +}; + +export const ExportWorkpadRoute = () => { + return ( + <Route + path={'/export/workpad/pdf/:id/page/:pageNumber'} + children={(route: WorkpadRouteProps) => { + return <ExportWorkpadRouteComponent route={route} />; + }} + /> + ); +}; + +const ExportWorkpadRouteComponent: FC<{ route: WorkpadRouteProps }> = ({ route: { match } }) => { + const getRedirectPath = useCallback( + (workpadId: string) => `/export/workpad/pdf/${workpadId}/page/${match.params.pageNumber}`, + [match.params.pageNumber] + ); + + return ( + <WorkpadLoaderComponent + loadPages={false} + params={match.params} + getRedirectPath={getRedirectPath} + > + {() => ( + <ExportRouteManager> + <ExportApp /> + </ExportRouteManager> + )} + </WorkpadLoaderComponent> + ); +}; export const ExportRouteManager: FC = ({ children }) => { const params = useParams<WorkpadPageRouteParams>(); @@ -97,9 +134,10 @@ export const WorkpadHistoryManager: FC = ({ children }) => { const WorkpadLoaderComponent: FC<{ params: WorkpadRouteProps['match']['params']; loadPages?: boolean; + getRedirectPath: (workpadId: string) => string; children: (workpad: CanvasWorkpad) => JSX.Element; -}> = ({ params, children, loadPages }) => { - const [workpad, error] = useWorkpad(params.id, loadPages); +}> = ({ params, children, loadPages, getRedirectPath }) => { + const [workpad, error] = useWorkpad(params.id, loadPages, getRedirectPath); const notifyService = useNotifyService(); useEffect(() => { diff --git a/x-pack/plugins/canvas/public/services/kibana/platform.ts b/x-pack/plugins/canvas/public/services/kibana/platform.ts index dc524aab6f444..aea8c6e7f7a95 100644 --- a/x-pack/plugins/canvas/public/services/kibana/platform.ts +++ b/x-pack/plugins/canvas/public/services/kibana/platform.ts @@ -4,7 +4,6 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ - import { KibanaPluginServiceFactory } from '../../../../../../src/plugins/presentation_util/public'; import { CanvasStartDeps } from '../../plugin'; @@ -15,7 +14,11 @@ export type CanvaPlatformServiceFactory = KibanaPluginServiceFactory< CanvasStartDeps >; -export const platformServiceFactory: CanvaPlatformServiceFactory = ({ coreStart, initContext }) => { +export const platformServiceFactory: CanvaPlatformServiceFactory = ({ + coreStart, + initContext, + startPlugins, +}) => { if (!initContext) { throw new Error('Canvas platform service requires init context'); } @@ -34,6 +37,8 @@ export const platformServiceFactory: CanvaPlatformServiceFactory = ({ coreStart, setBreadcrumbs: coreStart.chrome.setBreadcrumbs, setRecentlyAccessed: coreStart.chrome.recentlyAccessed.add, setFullscreen: coreStart.chrome.setIsVisible, + redirectLegacyUrl: startPlugins.spaces?.ui.redirectLegacyUrl, + getLegacyUrlConflict: startPlugins.spaces?.ui.components.getLegacyUrlConflict, // TODO: these should go away. We want thin accessors, not entire objects. // Entire objects are hard to mock, and hide our dependency on the external service. diff --git a/x-pack/plugins/canvas/public/services/kibana/workpad.ts b/x-pack/plugins/canvas/public/services/kibana/workpad.ts index 8609d5055cb83..35b82735845d0 100644 --- a/x-pack/plugins/canvas/public/services/kibana/workpad.ts +++ b/x-pack/plugins/canvas/public/services/kibana/workpad.ts @@ -8,7 +8,7 @@ import { KibanaPluginServiceFactory } from '../../../../../../src/plugins/presentation_util/public'; import { CanvasStartDeps } from '../../plugin'; -import { CanvasWorkpadService } from '../workpad'; +import { CanvasWorkpadService, ResolveWorkpadResponse } from '../workpad'; import { API_ROUTE_WORKPAD, @@ -67,6 +67,23 @@ export const workpadServiceFactory: CanvasWorkpadServiceFactory = ({ coreStart, return { css: DEFAULT_WORKPAD_CSS, variables: [], ...workpad }; }, + resolve: async (id: string) => { + const { workpad, outcome, aliasId } = await coreStart.http.get<ResolveWorkpadResponse>( + `${getApiPath()}/resolve/${id}` + ); + + return { + outcome, + aliasId, + workpad: { + // @ts-ignore: Shimming legacy workpads that might not have CSS + css: DEFAULT_WORKPAD_CSS, + // @ts-ignore: Shimming legacy workpads that might not have variables + variables: [], + ...workpad, + }, + }; + }, create: (workpad: CanvasWorkpad) => { return coreStart.http.post(getApiPath(), { body: JSON.stringify({ diff --git a/x-pack/plugins/canvas/public/services/platform.ts b/x-pack/plugins/canvas/public/services/platform.ts index 9bff61a0c668a..c476fac3b8789 100644 --- a/x-pack/plugins/canvas/public/services/platform.ts +++ b/x-pack/plugins/canvas/public/services/platform.ts @@ -15,6 +15,8 @@ import { ChromeStart, } from '../../../../../src/core/public'; +import { SpacesPluginStart } from '../../../spaces/public'; + export interface CanvasPlatformService { getBasePath: () => string; getBasePathInterface: () => IBasePath; @@ -27,6 +29,8 @@ export interface CanvasPlatformService { setBreadcrumbs: (newBreadcrumbs: ChromeBreadcrumb[]) => void; setRecentlyAccessed: (link: string, label: string, id: string) => void; setFullscreen: ChromeStart['setIsVisible']; + redirectLegacyUrl?: SpacesPluginStart['ui']['redirectLegacyUrl']; + getLegacyUrlConflict?: SpacesPluginStart['ui']['components']['getLegacyUrlConflict']; // TODO: these should go away. We want thin accessors, not entire objects. // Entire objects are hard to mock, and hide our dependency on the external service. diff --git a/x-pack/plugins/canvas/public/services/storybook/workpad.ts b/x-pack/plugins/canvas/public/services/storybook/workpad.ts index e4d176f490071..6c77bdb1adeac 100644 --- a/x-pack/plugins/canvas/public/services/storybook/workpad.ts +++ b/x-pack/plugins/canvas/public/services/storybook/workpad.ts @@ -77,6 +77,10 @@ export const workpadServiceFactory: CanvasWorkpadServiceFactory = ({ action('workpadService.get')(id); return Promise.resolve({ ...getDefaultWorkpad(), id }); }, + resolve: (id: string) => { + action('workpadService.resolve')(id); + return Promise.resolve({ outcome: 'exactMatch', workpad: { ...getDefaultWorkpad(), id } }); + }, findTemplates: () => { action('workpadService.findTemplates')(); return (hasTemplates ? findSomeTemplates() : findNoTemplates())(); diff --git a/x-pack/plugins/canvas/public/services/stubs/platform.ts b/x-pack/plugins/canvas/public/services/stubs/platform.ts index 3942fcf145cee..71a252028a242 100644 --- a/x-pack/plugins/canvas/public/services/stubs/platform.ts +++ b/x-pack/plugins/canvas/public/services/stubs/platform.ts @@ -34,4 +34,6 @@ export const platformServiceFactory: CanvasPlatformServiceFactory = () => ({ getSavedObjectsClient: noop, getUISettings: noop, setFullscreen: noop, + redirectLegacyUrl: noop, + getLegacyUrlConflict: undefined, }); diff --git a/x-pack/plugins/canvas/public/services/stubs/workpad.ts b/x-pack/plugins/canvas/public/services/stubs/workpad.ts index 19979e51b5e46..c10244038750d 100644 --- a/x-pack/plugins/canvas/public/services/stubs/workpad.ts +++ b/x-pack/plugins/canvas/public/services/stubs/workpad.ts @@ -99,6 +99,8 @@ export const getSomeTemplates = () => ({ templates }); export const workpadServiceFactory: CanvasWorkpadServiceFactory = () => ({ get: (id: string) => Promise.resolve({ ...getDefaultWorkpad(), id }), + resolve: (id: string) => + Promise.resolve({ outcome: 'exactMatch', workpad: { ...getDefaultWorkpad(), id } }), findTemplates: findNoTemplates(), create: (workpad) => Promise.resolve(workpad), createFromTemplate: (_templateId: string) => Promise.resolve(getDefaultWorkpad()), diff --git a/x-pack/plugins/canvas/public/services/workpad.ts b/x-pack/plugins/canvas/public/services/workpad.ts index c0e948669647c..8e77ab3f321ef 100644 --- a/x-pack/plugins/canvas/public/services/workpad.ts +++ b/x-pack/plugins/canvas/public/services/workpad.ts @@ -5,6 +5,7 @@ * 2.0. */ +import { SavedObjectsResolveResponse } from 'src/core/public'; import { CanvasWorkpad, CanvasTemplate } from '../../types'; import { CanvasRenderedWorkpad } from '../../shareable_runtime/types'; @@ -18,8 +19,15 @@ export interface WorkpadFindResponse { export interface TemplateFindResponse { templates: CanvasTemplate[]; } + +export interface ResolveWorkpadResponse { + workpad: CanvasWorkpad; + outcome: SavedObjectsResolveResponse['outcome']; + aliasId?: SavedObjectsResolveResponse['alias_target_id']; +} export interface CanvasWorkpadService { get: (id: string) => Promise<CanvasWorkpad>; + resolve: (id: string) => Promise<ResolveWorkpadResponse>; create: (workpad: CanvasWorkpad) => Promise<CanvasWorkpad>; createFromTemplate: (templateId: string) => Promise<CanvasWorkpad>; find: (term: string) => Promise<WorkpadFindResponse>; diff --git a/x-pack/plugins/canvas/public/style/main.scss b/x-pack/plugins/canvas/public/style/main.scss index 4f293e9072e4f..b53181bef85b9 100644 --- a/x-pack/plugins/canvas/public/style/main.scss +++ b/x-pack/plugins/canvas/public/style/main.scss @@ -11,6 +11,7 @@ $canvasElementCardWidth: 210px; .canvas.canvasContainer { display: flex; flex-grow: 1; + flex-direction: column; background-color: $euiPageBackgroundColor; } diff --git a/x-pack/plugins/canvas/server/mocks/workpad_route_context.ts b/x-pack/plugins/canvas/server/mocks/workpad_route_context.ts index abba97639a4c9..216cdc0970dc4 100644 --- a/x-pack/plugins/canvas/server/mocks/workpad_route_context.ts +++ b/x-pack/plugins/canvas/server/mocks/workpad_route_context.ts @@ -13,6 +13,7 @@ export interface MockWorkpadRouteContext extends CanvasRouteHandlerContext { create: jest.Mock; get: jest.Mock; update: jest.Mock; + resolve: jest.Mock; }; }; } @@ -23,6 +24,7 @@ export const workpadRouteContextMock = { create: jest.fn(), get: jest.fn(), update: jest.fn(), + resolve: jest.fn(), }, }), }; diff --git a/x-pack/plugins/canvas/server/routes/workpad/get.ts b/x-pack/plugins/canvas/server/routes/workpad/get.ts index ff3ed4bad55b9..11e39adc4ca32 100644 --- a/x-pack/plugins/canvas/server/routes/workpad/get.ts +++ b/x-pack/plugins/canvas/server/routes/workpad/get.ts @@ -9,6 +9,7 @@ import { schema } from '@kbn/config-schema'; import { RouteInitializerDeps } from '../'; import { API_ROUTE_WORKPAD } from '../../../common/lib/constants'; import { catchErrorHandler } from '../catch_error_handler'; +import { shimWorkpad } from './shim_workpad'; export function initializeGetWorkpadRoute(deps: RouteInitializerDeps) { const { router } = deps; @@ -24,24 +25,7 @@ export function initializeGetWorkpadRoute(deps: RouteInitializerDeps) { catchErrorHandler(async (context, request, response) => { const workpad = await context.canvas.workpad.get(request.params.id); - if ( - // not sure if we need to be this defensive - workpad.type === 'canvas-workpad' && - workpad.attributes && - workpad.attributes.pages && - workpad.attributes.pages.length - ) { - workpad.attributes.pages.forEach((page) => { - const elements = (page.elements || []).filter( - ({ id: pageId }) => !pageId.startsWith('group') - ); - const groups = (page.groups || []).concat( - (page.elements || []).filter(({ id: pageId }) => pageId.startsWith('group')) - ); - page.elements = elements; - page.groups = groups; - }); - } + shimWorkpad(workpad); return response.ok({ body: { diff --git a/x-pack/plugins/canvas/server/routes/workpad/index.ts b/x-pack/plugins/canvas/server/routes/workpad/index.ts index 6a7a080047b91..8483642e59c5a 100644 --- a/x-pack/plugins/canvas/server/routes/workpad/index.ts +++ b/x-pack/plugins/canvas/server/routes/workpad/index.ts @@ -11,9 +11,11 @@ import { initializeGetWorkpadRoute } from './get'; import { initializeCreateWorkpadRoute } from './create'; import { initializeUpdateWorkpadRoute, initializeUpdateWorkpadAssetsRoute } from './update'; import { initializeDeleteWorkpadRoute } from './delete'; +import { initializeResolveWorkpadRoute } from './resolve'; export function initWorkpadRoutes(deps: RouteInitializerDeps) { initializeFindWorkpadsRoute(deps); + initializeResolveWorkpadRoute(deps); initializeGetWorkpadRoute(deps); initializeCreateWorkpadRoute(deps); initializeUpdateWorkpadRoute(deps); diff --git a/x-pack/plugins/canvas/server/routes/workpad/resolve.test.ts b/x-pack/plugins/canvas/server/routes/workpad/resolve.test.ts new file mode 100644 index 0000000000000..bc93e115e137f --- /dev/null +++ b/x-pack/plugins/canvas/server/routes/workpad/resolve.test.ts @@ -0,0 +1,135 @@ +/* + * 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 { CANVAS_TYPE } from '../../../common/lib/constants'; +import { initializeResolveWorkpadRoute } from './resolve'; +import { kibanaResponseFactory, RequestHandler } from 'src/core/server'; +import { savedObjectsClientMock, httpServerMock } from 'src/core/server/mocks'; +import { workpadWithGroupAsElement } from '../../../__fixtures__/workpads'; +import { CanvasWorkpad } from '../../../types'; +import { getMockedRouterDeps } from '../test_helpers'; +import { workpadRouteContextMock, MockWorkpadRouteContext } from '../../mocks'; + +const mockRouteContext = { + canvas: workpadRouteContextMock.create(), +} as unknown as MockWorkpadRouteContext; + +describe('RESOLVE workpad', () => { + let routeHandler: RequestHandler<any, any, any>; + + beforeEach(() => { + const routerDeps = getMockedRouterDeps(); + initializeResolveWorkpadRoute(routerDeps); + + routeHandler = routerDeps.router.get.mock.calls[0][1]; + }); + + afterEach(() => { + jest.resetAllMocks(); + }); + + it(`returns 200 when the workpad is found`, async () => { + const request = httpServerMock.createKibanaRequest({ + method: 'get', + path: 'api/canvas/workpad/resolve/123', + params: { + id: '123', + }, + }); + + const outcome = 'aliasMatch'; + const aliasId = 'alias-id'; + + mockRouteContext.canvas.workpad.resolve.mockResolvedValue({ + saved_object: { + id: '123', + type: CANVAS_TYPE, + attributes: { foo: true }, + references: [], + }, + outcome, + alias_target_id: aliasId, + }); + + const response = await routeHandler(mockRouteContext, request, kibanaResponseFactory); + + expect(response.status).toBe(200); + expect(response.payload).toMatchInlineSnapshot(` + Object { + "aliasId": "alias-id", + "outcome": "aliasMatch", + "workpad": Object { + "foo": true, + "id": "123", + }, + } + `); + + expect(mockRouteContext.canvas.workpad.resolve.mock.calls).toMatchInlineSnapshot(` + Array [ + Array [ + "123", + ], + ] + `); + }); + + it('corrects elements that should be groups', async () => { + const request = httpServerMock.createKibanaRequest({ + method: 'get', + path: 'api/canvas/workpad/resolve/123', + params: { + id: '123', + }, + }); + + mockRouteContext.canvas.workpad.resolve.mockResolvedValue({ + saved_object: { + id: '123', + type: CANVAS_TYPE, + attributes: workpadWithGroupAsElement as any, + references: [], + }, + outcome: 'exactMatch', + }); + + const response = await routeHandler(mockRouteContext, request, kibanaResponseFactory); + const workpad = response.payload.workpad as CanvasWorkpad; + + expect(response.status).toBe(200); + expect(workpad).not.toBeUndefined(); + + expect(workpad.pages[0].elements.length).toBe(1); + expect(workpad.pages[0].groups.length).toBe(1); + }); + + it('returns 404 if the workpad is not found', async () => { + const id = '123'; + const request = httpServerMock.createKibanaRequest({ + method: 'get', + path: 'api/canvas/workpad/resolve/123', + params: { + id, + }, + }); + + const savedObjectsClient = savedObjectsClientMock.create(); + mockRouteContext.canvas.workpad.resolve.mockImplementation(() => { + throw savedObjectsClient.errors.createGenericNotFoundError(CANVAS_TYPE, id); + }); + + const response = await routeHandler(mockRouteContext, request, kibanaResponseFactory); + + expect(response.payload).toMatchInlineSnapshot(` + Object { + "error": "Not Found", + "message": "Saved object [canvas-workpad/123] not found", + "statusCode": 404, + } + `); + }); +}); diff --git a/x-pack/plugins/canvas/server/routes/workpad/resolve.ts b/x-pack/plugins/canvas/server/routes/workpad/resolve.ts new file mode 100644 index 0000000000000..7c21ecf9ed055 --- /dev/null +++ b/x-pack/plugins/canvas/server/routes/workpad/resolve.ts @@ -0,0 +1,43 @@ +/* + * 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 { schema } from '@kbn/config-schema'; +import { RouteInitializerDeps } from '../'; +import { API_ROUTE_WORKPAD } from '../../../common/lib/constants'; +import { catchErrorHandler } from '../catch_error_handler'; +import { shimWorkpad } from './shim_workpad'; + +export function initializeResolveWorkpadRoute(deps: RouteInitializerDeps) { + const { router } = deps; + router.get( + { + path: `${API_ROUTE_WORKPAD}/resolve/{id}`, + validate: { + params: schema.object({ + id: schema.string(), + }), + }, + }, + catchErrorHandler(async (context, request, response) => { + const resolved = await context.canvas.workpad.resolve(request.params.id); + const { saved_object: workpad } = resolved; + + shimWorkpad(workpad); + + return response.ok({ + body: { + workpad: { + id: workpad.id, + ...workpad.attributes, + }, + outcome: resolved.outcome, + aliasId: resolved.alias_target_id, + }, + }); + }) + ); +} diff --git a/x-pack/plugins/canvas/server/routes/workpad/shim_workpad.ts b/x-pack/plugins/canvas/server/routes/workpad/shim_workpad.ts new file mode 100644 index 0000000000000..63fa5bb252985 --- /dev/null +++ b/x-pack/plugins/canvas/server/routes/workpad/shim_workpad.ts @@ -0,0 +1,30 @@ +/* + * 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 { SavedObject } from 'kibana/server'; +import { WorkpadAttributes } from './workpad_attributes'; + +export function shimWorkpad(workpad: SavedObject<WorkpadAttributes>) { + if ( + // not sure if we need to be this defensive + workpad.type === 'canvas-workpad' && + workpad.attributes && + workpad.attributes.pages && + workpad.attributes.pages.length + ) { + workpad.attributes.pages.forEach((page) => { + const elements = (page.elements || []).filter( + ({ id: pageId }) => !pageId.startsWith('group') + ); + const groups = (page.groups || []).concat( + (page.elements || []).filter(({ id: pageId }) => pageId.startsWith('group')) + ); + page.elements = elements; + page.groups = groups; + }); + } +} diff --git a/x-pack/plugins/canvas/server/workpad_route_context.test.ts b/x-pack/plugins/canvas/server/workpad_route_context.test.ts index d13b8aa9eb634..6496edf1a0e12 100644 --- a/x-pack/plugins/canvas/server/workpad_route_context.test.ts +++ b/x-pack/plugins/canvas/server/workpad_route_context.test.ts @@ -141,6 +141,31 @@ describe('workpad route context', () => { }); }); + describe('RESOLVE', () => { + it('injects references to the saved object', async () => { + const id = 'so-id'; + const canvasContext = await workpadRouteContext( + mockContext, + undefined as any, + undefined as any + ); + + (mockContext.core.savedObjects.client.resolve as jest.Mock).mockResolvedValue({ + saved_object: { attributes: extractedWorkpad, references }, + outcome: 'exactMatch', + }); + + mockedExpressionService.inject.mockReturnValue(fromExpression(injectedExpression)); + + const result = await canvasContext.workpad.resolve(id); + const { id: ingnoredId, ...expectedAttributes } = injectedWorkpad; + + expect(mockContext.core.savedObjects.client.resolve).toBeCalledWith(CANVAS_TYPE, id); + + expect(result.saved_object.attributes).toEqual(expectedAttributes); + }); + }); + describe('UPDATE', () => { it('extracts from the given attributes', async () => { const id = 'workpad-id'; diff --git a/x-pack/plugins/canvas/server/workpad_route_context.ts b/x-pack/plugins/canvas/server/workpad_route_context.ts index 5689bf9961f76..9727327fcbd79 100644 --- a/x-pack/plugins/canvas/server/workpad_route_context.ts +++ b/x-pack/plugins/canvas/server/workpad_route_context.ts @@ -5,7 +5,12 @@ * 2.0. */ -import { RequestHandlerContext, RequestHandlerContextProvider, SavedObject } from 'kibana/server'; +import { + RequestHandlerContext, + RequestHandlerContextProvider, + SavedObject, + SavedObjectsResolveResponse, +} from 'kibana/server'; import { ExpressionsService } from 'src/plugins/expressions'; import { WorkpadAttributes } from './routes/workpad/workpad_attributes'; import { CANVAS_TYPE } from '../common/lib/constants'; @@ -18,6 +23,7 @@ export interface CanvasRouteHandlerContext extends RequestHandlerContext { workpad: { create: (attributes: CanvasWorkpad) => Promise<SavedObject<WorkpadAttributes>>; get: (id: string) => Promise<SavedObject<WorkpadAttributes>>; + resolve: (id: string) => Promise<SavedObjectsResolveResponse<WorkpadAttributes>>; update: ( id: string, attributes: Partial<CanvasWorkpad> @@ -66,6 +72,20 @@ export const createWorkpadRouteContext: ( return workpad; }, + resolve: async (id: string) => { + const resolved = await context.core.savedObjects.client.resolve<WorkpadAttributes>( + CANVAS_TYPE, + id + ); + + resolved.saved_object.attributes = injectReferences( + resolved.saved_object.attributes, + resolved.saved_object.references, + expressions + ); + + return resolved; + }, update: async (id: string, { id: omittedId, ...workpad }: Partial<CanvasWorkpad>) => { const now = new Date().toISOString(); diff --git a/x-pack/plugins/canvas/tsconfig.json b/x-pack/plugins/canvas/tsconfig.json index 5a5a1883240b7..5e3c7a7299adb 100644 --- a/x-pack/plugins/canvas/tsconfig.json +++ b/x-pack/plugins/canvas/tsconfig.json @@ -49,6 +49,7 @@ { "path": "../features/tsconfig.json" }, { "path": "../lens/tsconfig.json" }, { "path": "../maps/tsconfig.json" }, - { "path": "../reporting/tsconfig.json" } + { "path": "../reporting/tsconfig.json" }, + { "path": "../spaces/tsconfig.json" }, ] } diff --git a/x-pack/plugins/canvas/types/canvas.ts b/x-pack/plugins/canvas/types/canvas.ts index d3799cf59745a..0868054d0a489 100644 --- a/x-pack/plugins/canvas/types/canvas.ts +++ b/x-pack/plugins/canvas/types/canvas.ts @@ -53,6 +53,7 @@ export interface CanvasWorkpad { variables: CanvasVariable[]; height: number; id: string; + aliasId?: string; isWriteable: boolean; name: string; page: number; diff --git a/x-pack/plugins/cases/server/client/cases/get.ts b/x-pack/plugins/cases/server/client/cases/get.ts index c6ab033c2a848..653df1efd2daa 100644 --- a/x-pack/plugins/cases/server/client/cases/get.ts +++ b/x-pack/plugins/cases/server/client/cases/get.ts @@ -251,7 +251,7 @@ export const resolve = async ( } const { - saved_object: savedObject, + saved_object: resolvedSavedObject, ...resolveData }: SavedObjectsResolveResponse<CaseAttributes> = await caseService.getResolveCase({ unsecuredSavedObjectsClient, @@ -262,8 +262,8 @@ export const resolve = async ( operation: Operations.resolveCase, entities: [ { - id: savedObject.id, - owner: savedObject.attributes.owner, + id: resolvedSavedObject.id, + owner: resolvedSavedObject.attributes.owner, }, ], }); @@ -272,7 +272,7 @@ export const resolve = async ( if (ENABLE_CASE_CONNECTOR) { const subCasesForCaseId = await caseService.findSubCasesByCaseId({ unsecuredSavedObjectsClient, - ids: [id], + ids: [resolvedSavedObject.id], }); subCaseIds = subCasesForCaseId.saved_objects.map((so) => so.id); } @@ -281,7 +281,7 @@ export const resolve = async ( return CaseResolveResponseRt.encode({ ...resolveData, case: flattenCaseSavedObject({ - savedObject, + savedObject: resolvedSavedObject, subCaseIds, }), }); @@ -289,7 +289,7 @@ export const resolve = async ( const theComments = await caseService.getAllCaseComments({ unsecuredSavedObjectsClient, - id, + id: resolvedSavedObject.id, options: { sortField: 'created_at', sortOrder: 'asc', @@ -300,11 +300,11 @@ export const resolve = async ( return CaseResolveResponseRt.encode({ ...resolveData, case: flattenCaseSavedObject({ - savedObject, + savedObject: resolvedSavedObject, subCaseIds, comments: theComments.saved_objects, totalComment: theComments.total, - totalAlerts: countAlertsForID({ comments: theComments, id }), + totalAlerts: countAlertsForID({ comments: theComments, id: resolvedSavedObject.id }), }), }); } catch (error) { diff --git a/x-pack/plugins/cases/server/saved_object_types/cases.ts b/x-pack/plugins/cases/server/saved_object_types/cases.ts index 74c6a053e95c0..53c52c03afa12 100644 --- a/x-pack/plugins/cases/server/saved_object_types/cases.ts +++ b/x-pack/plugins/cases/server/saved_object_types/cases.ts @@ -23,7 +23,8 @@ export const createCaseSavedObjectType = ( ): SavedObjectsType => ({ name: CASE_SAVED_OBJECT, hidden: true, - namespaceType: 'single', + namespaceType: 'multiple-isolated', + convertToMultiNamespaceTypeVersion: '8.0.0', mappings: { properties: { closed_at: { diff --git a/x-pack/plugins/cases/server/saved_object_types/comments.ts b/x-pack/plugins/cases/server/saved_object_types/comments.ts index 64e75ad26ae28..c950a432a3440 100644 --- a/x-pack/plugins/cases/server/saved_object_types/comments.ts +++ b/x-pack/plugins/cases/server/saved_object_types/comments.ts @@ -16,7 +16,8 @@ export const createCaseCommentSavedObjectType = ({ }): SavedObjectsType => ({ name: CASE_COMMENT_SAVED_OBJECT, hidden: true, - namespaceType: 'single', + namespaceType: 'multiple-isolated', + convertToMultiNamespaceTypeVersion: '8.0.0', mappings: { properties: { associationType: { diff --git a/x-pack/plugins/cases/server/saved_object_types/configure.ts b/x-pack/plugins/cases/server/saved_object_types/configure.ts index a763a8243cc2d..de478cae9326e 100644 --- a/x-pack/plugins/cases/server/saved_object_types/configure.ts +++ b/x-pack/plugins/cases/server/saved_object_types/configure.ts @@ -12,7 +12,8 @@ import { configureMigrations } from './migrations'; export const caseConfigureSavedObjectType: SavedObjectsType = { name: CASE_CONFIGURE_SAVED_OBJECT, hidden: true, - namespaceType: 'single', + namespaceType: 'multiple-isolated', + convertToMultiNamespaceTypeVersion: '8.0.0', mappings: { properties: { created_at: { diff --git a/x-pack/plugins/cases/server/saved_object_types/connector_mappings.ts b/x-pack/plugins/cases/server/saved_object_types/connector_mappings.ts index ea7c10cedc82c..479edcba21534 100644 --- a/x-pack/plugins/cases/server/saved_object_types/connector_mappings.ts +++ b/x-pack/plugins/cases/server/saved_object_types/connector_mappings.ts @@ -12,7 +12,8 @@ import { connectorMappingsMigrations } from './migrations'; export const caseConnectorMappingsSavedObjectType: SavedObjectsType = { name: CASE_CONNECTOR_MAPPINGS_SAVED_OBJECT, hidden: true, - namespaceType: 'single', + namespaceType: 'multiple-isolated', + convertToMultiNamespaceTypeVersion: '8.0.0', mappings: { properties: { mappings: { diff --git a/x-pack/plugins/cases/server/saved_object_types/sub_case.ts b/x-pack/plugins/cases/server/saved_object_types/sub_case.ts index 65a8db02d7478..f7cf2aa65f821 100644 --- a/x-pack/plugins/cases/server/saved_object_types/sub_case.ts +++ b/x-pack/plugins/cases/server/saved_object_types/sub_case.ts @@ -12,7 +12,8 @@ import { subCasesMigrations } from './migrations'; export const subCaseSavedObjectType: SavedObjectsType = { name: SUB_CASE_SAVED_OBJECT, hidden: true, - namespaceType: 'single', + namespaceType: 'multiple-isolated', + convertToMultiNamespaceTypeVersion: '8.0.0', mappings: { properties: { closed_at: { diff --git a/x-pack/plugins/cases/server/saved_object_types/user_actions.ts b/x-pack/plugins/cases/server/saved_object_types/user_actions.ts index 7ef7c639ed9db..8fea9460e77c5 100644 --- a/x-pack/plugins/cases/server/saved_object_types/user_actions.ts +++ b/x-pack/plugins/cases/server/saved_object_types/user_actions.ts @@ -12,7 +12,8 @@ import { userActionsMigrations } from './migrations'; export const caseUserActionSavedObjectType: SavedObjectsType = { name: CASE_USER_ACTION_SAVED_OBJECT, hidden: true, - namespaceType: 'single', + namespaceType: 'multiple-isolated', + convertToMultiNamespaceTypeVersion: '8.0.0', mappings: { properties: { action_field: { diff --git a/x-pack/plugins/cloud/public/plugin.test.ts b/x-pack/plugins/cloud/public/plugin.test.ts index f3d5bd902c6d7..a19a28d6c4713 100644 --- a/x-pack/plugins/cloud/public/plugin.test.ts +++ b/x-pack/plugins/cloud/public/plugin.test.ts @@ -136,16 +136,31 @@ describe('Cloud Plugin', () => { expect(fullStoryApiMock.identify).not.toHaveBeenCalled(); }); - it('calls FS.event when security is available', async () => { - const { initContext } = await setupPlugin({ - config: { full_story: { enabled: true, org_id: 'foo' } }, - currentUserProps: { - username: '1234', - }, + describe('with memory', () => { + beforeAll(() => { + // @ts-expect-error + window.performance.memory = { + someMetric: 1, + }; }); - expect(fullStoryApiMock.event).toHaveBeenCalledWith('Loaded Kibana', { - kibana_version_str: initContext.env.packageInfo.version, + afterAll(() => { + // @ts-expect-error + delete window.performance.memory; + }); + + it('calls FS.event when security is available', async () => { + const { initContext } = await setupPlugin({ + config: { full_story: { enabled: true, org_id: 'foo' } }, + currentUserProps: { + username: '1234', + }, + }); + + expect(fullStoryApiMock.event).toHaveBeenCalledWith('Loaded Kibana', { + kibana_version_str: initContext.env.packageInfo.version, + some_metric_int: 1, + }); }); }); diff --git a/x-pack/plugins/cloud/public/plugin.ts b/x-pack/plugins/cloud/public/plugin.ts index 6053f2eb5b8c3..82fabea8b5a56 100644 --- a/x-pack/plugins/cloud/public/plugin.ts +++ b/x-pack/plugins/cloud/public/plugin.ts @@ -16,6 +16,7 @@ import { } from 'src/core/public'; import { i18n } from '@kbn/i18n'; import { Subscription } from 'rxjs'; +import { mapKeys, snakeCase } from 'lodash'; import type { AuthenticatedUser, SecurityPluginSetup, @@ -248,10 +249,17 @@ export class CloudPlugin implements Plugin<CloudSetup> { ); } + // Get performance information from the browser (non standard property + const memoryInfo = mapKeys( + // @ts-expect-error + window.performance.memory || {}, + (_, key) => `${snakeCase(key)}_int` + ); // Record an event that Kibana was opened so we can easily search for sessions that use Kibana fullStory.event('Loaded Kibana', { // `str` suffix is required, see docs: https://help.fullstory.com/hc/en-us/articles/360020623234 kibana_version_str: this.initializerContext.env.packageInfo.version, + ...memoryInfo, }); } } diff --git a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.test.tsx b/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.test.tsx index d24ed9b35242f..a140cf25ba517 100644 --- a/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.test.tsx +++ b/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.test.tsx @@ -349,11 +349,13 @@ function getMockTimeRangeFilter(): RangeFilter { negate: false, alias: null, }, - range: { - order_date: { - gte: '2020-03-23T13:10:29.665Z', - lt: '2020-03-23T13:10:36.736Z', - format: 'strict_date_optional_time', + query: { + range: { + order_date: { + gte: '2020-03-23T13:10:29.665Z', + lt: '2020-03-23T13:10:36.736Z', + format: 'strict_date_optional_time', + }, }, }, }; diff --git a/x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts b/x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts index e1e25c284b4aa..b8f44bdbc9a25 100644 --- a/x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts +++ b/x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts @@ -234,10 +234,12 @@ describe('"Explore underlying data" panel action', () => { lte: to, }, }, - range: { - [timeFieldName]: { - gte: from, - lte: to, + query: { + range: { + [timeFieldName]: { + gte: from, + lte: to, + }, }, }, }, diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.test.tsx index 8496be6223764..ea01ad974b9a1 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.test.tsx @@ -12,6 +12,7 @@ import React from 'react'; import { shallow } from 'enzyme'; +import { SuggestedCurationsCallout } from '../../engine_overview/components/suggested_curations_callout'; import { AnalyticsCards, AnalyticsChart, @@ -40,6 +41,7 @@ describe('Analytics overview', () => { }); const wrapper = shallow(<Analytics />); + expect(wrapper.find(SuggestedCurationsCallout)).toHaveLength(1); expect(wrapper.find(AnalyticsCards)).toHaveLength(1); expect(wrapper.find(AnalyticsChart)).toHaveLength(1); expect(wrapper.find(AnalyticsSection)).toHaveLength(2); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.tsx index 0eef9b0c688c0..aa949a01f7d79 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/views/analytics.tsx @@ -25,6 +25,7 @@ import { import { DataPanel } from '../../data_panel'; import { generateEnginePath } from '../../engine'; +import { SuggestedCurationsCallout } from '../../engine_overview/components/suggested_curations_callout'; import { AnalyticsLayout } from '../analytics_layout'; import { AnalyticsSection, AnalyticsTable, RecentQueriesTable } from '../components'; import { @@ -60,6 +61,7 @@ export const Analytics: React.FC = () => { return ( <AnalyticsLayout isAnalyticsView title={ANALYTICS_TITLE}> + <SuggestedCurationsCallout /> <EuiFlexGroup alignItems="center"> <EuiFlexItem grow={1}> <AnalyticsCards diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.scss b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.scss new file mode 100644 index 0000000000000..cdff5042f89b7 --- /dev/null +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.scss @@ -0,0 +1,5 @@ +.curationsTable { + .curationsTableBadge { + margin-left: $euiSizeS; + } +} diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.test.tsx index 0b647bffb3e26..fb5db2f293464 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.test.tsx @@ -13,7 +13,7 @@ import React from 'react'; import { shallow, ReactWrapper } from 'enzyme'; -import { EuiBasicTable } from '@elastic/eui'; +import { EuiBadge, EuiBasicTable } from '@elastic/eui'; import { mountWithIntl } from '../../../../test_helpers'; @@ -29,11 +29,17 @@ describe('CurationsTable', () => { id: 'cur-id-1', last_updated: 'January 1, 1970 at 12:00PM', queries: ['hiking'], + suggestion: { + status: 'automated', + }, }, { id: 'cur-id-2', last_updated: 'January 2, 1970 at 12:00PM', queries: ['mountains', 'valleys'], + suggestion: { + status: 'pending', + }, }, ], meta: { @@ -82,14 +88,18 @@ describe('CurationsTable', () => { expect(tableContent).toContain('Jan 2, 1970 12:00 PM'); }); - it('renders queries with curation links', () => { - expect( - wrapper.find('EuiLinkTo[data-test-subj="CurationsTableQueriesLink"]').first().prop('to') - ).toEqual('/engines/some-engine/curations/cur-id-1'); - - expect( - wrapper.find('EuiLinkTo[data-test-subj="CurationsTableQueriesLink"]').last().prop('to') - ).toEqual('/engines/some-engine/curations/cur-id-2'); + it('renders queries with curation links and curation suggestion badges', () => { + const firstQueryLink = wrapper + .find('EuiLinkTo[data-test-subj="CurationsTableQueriesLink"]') + .first(); + const secondQueryLink = wrapper + .find('EuiLinkTo[data-test-subj="CurationsTableQueriesLink"]') + .last(); + + expect(firstQueryLink.prop('to')).toEqual('/engines/some-engine/curations/cur-id-1'); + expect(firstQueryLink.find(EuiBadge).prop('children')).toEqual('Automated'); + expect(secondQueryLink.prop('to')).toEqual('/engines/some-engine/curations/cur-id-2'); + expect(secondQueryLink.find(EuiBadge).prop('children')).toEqual('New suggestion'); }); describe('action column', () => { diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.tsx index 19837a7f4d3a2..183d2b9cb7107 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/curations_table.tsx @@ -9,7 +9,7 @@ import React from 'react'; import { useValues, useActions } from 'kea'; -import { EuiBasicTable, EuiBasicTableColumn } from '@elastic/eui'; +import { EuiBadge, EuiBasicTable, EuiBasicTableColumn } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { EDIT_BUTTON_LABEL, DELETE_BUTTON_LABEL } from '../../../../shared/constants'; @@ -26,6 +26,10 @@ import { CurationsLogic } from '../curations_logic'; import { Curation } from '../types'; import { convertToDate } from '../utils'; +import { AutomatedIcon } from './automated_icon'; + +import './curations_table.scss'; + export const CurationsTable: React.FC = () => { const { dataLoading, curations, meta } = useValues(CurationsLogic); const { onPaginate, deleteCuration } = useActions(CurationsLogic); @@ -43,6 +47,26 @@ export const CurationsTable: React.FC = () => { to={generateEnginePath(ENGINE_CURATION_PATH, { curationId: curation.id })} > {queries.join(', ')} + {curation.suggestion?.status === 'automated' && ( + <> + <EuiBadge color="accent" iconType={AutomatedIcon} className="curationsTableBadge"> + {i18n.translate( + 'xpack.enterpriseSearch.appSearch.engine.curations.table.automatedLabel', + { defaultMessage: 'Automated' } + )} + </EuiBadge> + </> + )} + {curation.suggestion?.status === 'pending' && ( + <> + <EuiBadge color="default" className="curationsTableBadge"> + {i18n.translate( + 'xpack.enterpriseSearch.appSearch.engine.curations.table.newSuggestionLabel', + { defaultMessage: 'New suggestion' } + )} + </EuiBadge> + </> + )} </EuiLinkTo> ), width: '40%', @@ -103,6 +127,7 @@ export const CurationsTable: React.FC = () => { return ( <DataPanel + className="curationsTable" hasBorder iconType="package" title={ diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_callout.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_callout.test.tsx new file mode 100644 index 0000000000000..1732b6f746691 --- /dev/null +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_callout.test.tsx @@ -0,0 +1,77 @@ +/* + * 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 '../../../../__mocks__/react_router'; + +jest.mock('../../../../shared/use_local_storage', () => ({ + useLocalStorage: jest.fn(), +})); + +import React from 'react'; + +import { useLocation } from 'react-router-dom'; + +import { shallow } from 'enzyme'; + +import { EuiButtonEmpty, EuiCallOut } from '@elastic/eui'; + +import { EuiButtonTo } from '../../../../shared/react_router_helpers'; +import { useLocalStorage } from '../../../../shared/use_local_storage'; + +import { SuggestionsCallout } from './suggestions_callout'; + +const props = { + title: 'Title', + description: 'A description.', + buttonTo: '/suggestions', +}; + +const now = '2021-01-01T00:30:00Z'; +const tenMinutesAgo = '2021-01-01T00:20:00Z'; +const twentyMinutesAgo = '2021-01-01T00:10:00Z'; + +describe('SuggestionsCallout', () => { + const mockSetLastDismissedTimestamp = jest.fn(); + const setMockLastDismissedTimestamp = (lastDismissedTimestamp: string) => { + (useLocalStorage as jest.Mock).mockImplementation(() => [ + lastDismissedTimestamp, + mockSetLastDismissedTimestamp, + ]); + }; + + beforeEach(() => { + jest.clearAllMocks(); + setMockLastDismissedTimestamp(tenMinutesAgo); + (useLocation as jest.Mock).mockImplementationOnce(() => ({ + pathname: '/engines/some-engine', + })); + }); + + it('renders a callout with a link to the suggestions', () => { + const wrapper = shallow(<SuggestionsCallout {...props} lastUpdatedTimestamp={now} />); + + expect(wrapper.find(EuiCallOut)); + expect(wrapper.find(EuiButtonTo).prop('to')).toEqual('/suggestions'); + }); + + it('is empty is it was updated before it was last dismissed', () => { + const wrapper = shallow( + <SuggestionsCallout {...props} lastUpdatedTimestamp={twentyMinutesAgo} /> + ); + + expect(wrapper.isEmptyRender()).toBe(true); + }); + + it('clicking the dismiss button updates the timestamp in local storage', () => { + jest.spyOn(global.Date.prototype, 'toISOString').mockImplementation(() => now); + + const wrapper = shallow(<SuggestionsCallout {...props} lastUpdatedTimestamp={now} />); + wrapper.find(EuiButtonEmpty).simulate('click'); + + expect(mockSetLastDismissedTimestamp).toHaveBeenCalledWith(now); + }); +}); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_callout.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_callout.tsx new file mode 100644 index 0000000000000..490e6323290f0 --- /dev/null +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_callout.tsx @@ -0,0 +1,86 @@ +/* + * 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 React from 'react'; + +import { useLocation } from 'react-router-dom'; + +import { + EuiButtonEmpty, + EuiCallOut, + EuiFlexGroup, + EuiFlexItem, + EuiSpacer, + EuiText, +} from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; + +import { LightbulbIcon } from '../../../../shared/icons'; +import { EuiButtonTo } from '../../../../shared/react_router_helpers'; +import { useLocalStorage } from '../../../../shared/use_local_storage'; + +interface SuggestionsCalloutProps { + title: string; + description: string; + buttonTo: string; + lastUpdatedTimestamp: string; // ISO string like '2021-10-04T18:53:02.784Z' +} + +export const SuggestionsCallout: React.FC<SuggestionsCalloutProps> = ({ + title, + description, + buttonTo, + lastUpdatedTimestamp, +}) => { + const { pathname } = useLocation(); + + const [lastDismissedTimestamp, setLastDismissedTimestamp] = useLocalStorage<string>( + `suggestions-callout--${pathname}`, + new Date(0).toISOString() + ); + + if (new Date(lastDismissedTimestamp) >= new Date(lastUpdatedTimestamp)) { + return null; + } + + return ( + <> + <EuiCallOut color="success" iconType={LightbulbIcon} title={title}> + <EuiText size="s"> + <p>{description}</p> + </EuiText> + <EuiSpacer size="m" /> + <EuiFlexGroup gutterSize="s"> + <EuiFlexItem grow={false}> + <EuiButtonTo to={buttonTo} color="success" fill size="s"> + {i18n.translate( + 'xpack.enterpriseSearch.appSearch.engine.curations.suggestionsCallout.reviewSuggestionsButtonLabel', + { defaultMessage: 'Review suggestions' } + )} + </EuiButtonTo> + </EuiFlexItem> + <EuiFlexItem grow={false}> + <EuiButtonEmpty + color="success" + iconType="eyeClosed" + size="s" + onClick={() => { + setLastDismissedTimestamp(new Date().toISOString()); + }} + > + {i18n.translate( + 'xpack.enterpriseSearch.appSearch.engine.curations.suggestionsCallout.hideForNowLabel', + { defaultMessage: 'Hide this for now' } + )} + </EuiButtonEmpty> + </EuiFlexItem> + </EuiFlexGroup> + </EuiCallOut> + <EuiSpacer /> + </> + ); +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_logic.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_logic.test.tsx index 5afbce3661da3..bf64101527fd2 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_logic.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_logic.test.tsx @@ -16,7 +16,7 @@ import { nextTick } from '@kbn/test/jest'; import { DEFAULT_META } from '../../../../shared/constants'; -import { SuggestionsLogic } from './suggestions_logic'; +import { SuggestionsAPIResponse, SuggestionsLogic } from './suggestions_logic'; const DEFAULT_VALUES = { dataLoading: true, @@ -30,7 +30,7 @@ const DEFAULT_VALUES = { }, }; -const MOCK_RESPONSE = { +const MOCK_RESPONSE: SuggestionsAPIResponse = { meta: { page: { current: 1, @@ -44,6 +44,7 @@ const MOCK_RESPONSE = { query: 'foo', updated_at: '2021-07-08T14:35:50Z', promoted: ['1', '2'], + status: 'applied', }, ], }; diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_logic.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_logic.tsx index 9352bdab51edd..074d2114ee8cb 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_logic.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_logic.tsx @@ -15,7 +15,7 @@ import { updateMetaPageIndex } from '../../../../shared/table_pagination'; import { EngineLogic } from '../../engine'; import { CurationSuggestion } from '../types'; -interface SuggestionsAPIResponse { +export interface SuggestionsAPIResponse { results: CurationSuggestion[]; meta: Meta; } diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.scss b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.scss new file mode 100644 index 0000000000000..9c88bc1e3dc03 --- /dev/null +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.scss @@ -0,0 +1,5 @@ +.suggestionsTable { + .suggestionsTableBadge { + margin-left: $euiSizeS; + } +} diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.test.tsx index b49cea2519eda..28c368d942c1f 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.test.tsx @@ -11,9 +11,9 @@ import '../../../__mocks__/engine_logic.mock'; import React from 'react'; -import { shallow } from 'enzyme'; +import { shallow, ShallowWrapper } from 'enzyme'; -import { EuiBasicTable } from '@elastic/eui'; +import { EuiBadge, EuiBasicTable } from '@elastic/eui'; import { SuggestionsTable } from './suggestions_table'; @@ -75,13 +75,23 @@ describe('SuggestionsTable', () => { }); it('show a suggestions query with a link', () => { - const wrapper = renderColumn(0)('test'); + const wrapper = renderColumn(0)('test', {}); expect(wrapper.prop('href')).toBe( '/app/enterprise_search/engines/some-engine/curations/suggestions/test' ); expect(wrapper.text()).toEqual('test'); }); + it('show a badge when there are overrides', () => { + let wrapper: ShallowWrapper; + + wrapper = renderColumn(0)('test', {}); + expect(wrapper.find(EuiBadge)).toHaveLength(0); + + wrapper = renderColumn(0)('test', { override_curation_id: '1-2-3' }); + expect(wrapper.find(EuiBadge).prop('children')).toEqual('Overrides'); + }); + it('contains an updated at timestamp', () => { const wrapper = renderColumn(1)('2021-07-08T14:35:50Z'); expect(wrapper.find('FormattedDate').exists()).toBe(true); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.tsx index 779b86ce5156e..2a252a9666ac1 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/components/suggestions_table.tsx @@ -9,7 +9,7 @@ import React, { useEffect } from 'react'; import { useActions, useValues } from 'kea'; -import { EuiBasicTable, EuiBasicTableColumn } from '@elastic/eui'; +import { EuiBadge, EuiBasicTable, EuiBasicTableColumn } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { VIEW_BUTTON_LABEL } from '../../../../shared/constants'; @@ -26,6 +26,8 @@ import { convertToDate } from '../utils'; import { SuggestionsLogic } from './suggestions_logic'; +import './suggestions_table.scss'; + const getSuggestionRoute = (query: string) => { return generateEnginePath(ENGINE_CURATION_SUGGESTION_PATH, { query }); }; @@ -37,7 +39,21 @@ const columns: Array<EuiBasicTableColumn<CurationSuggestion>> = [ 'xpack.enterpriseSearch.appSearch.engine.curations.suggestionsTable.column.queryTableHeader', { defaultMessage: 'Query' } ), - render: (query: string) => <EuiLinkTo to={getSuggestionRoute(query)}>{query}</EuiLinkTo>, + render: (query: string, curation: CurationSuggestion) => ( + <EuiLinkTo to={getSuggestionRoute(query)}> + {query} + {curation.override_curation_id && ( + <> + <EuiBadge iconType="alert" color="warning" className="suggestionsTableBadge"> + {i18n.translate( + 'xpack.enterpriseSearch.appSearch.engine.curations.suggestionsTable.overridesLabel', + { defaultMessage: 'Overrides' } + )} + </EuiBadge> + </> + )} + </EuiLinkTo> + ), }, { field: 'updated_at', @@ -89,6 +105,7 @@ export const SuggestionsTable: React.FC = () => { return ( <DataPanel + className="suggestionsTable" iconType={LightbulbIcon} title={ <h2> diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/constants.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/constants.ts index f8c3e3efdbc1d..01ca80776ae85 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/constants.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/constants.ts @@ -50,6 +50,13 @@ export const RESTORE_CONFIRMATION = i18n.translate( } ); +export const CONVERT_TO_MANUAL_CONFIRMATION = i18n.translate( + 'xpack.enterpriseSearch.appSearch.engine.curations.convertToManualCurationConfirmation', + { + defaultMessage: 'Are you sure you want to convert this to a manual curation?', + } +); + export const RESULT_ACTIONS_DIRECTIONS = i18n.translate( 'xpack.enterpriseSearch.appSearch.engine.curations.resultActionsDescription', { defaultMessage: 'Promote results by clicking the star, hide them by clicking the eye.' } @@ -82,3 +89,13 @@ export const SHOW_DOCUMENT_ACTION = { iconType: 'eye', iconColor: 'primary' as EuiButtonIconColor, }; + +export const AUTOMATED_LABEL = i18n.translate( + 'xpack.enterpriseSearch.appSearch.engine.curation.automatedLabel', + { defaultMessage: 'Automated' } +); + +export const COVERT_TO_MANUAL_BUTTON_LABEL = i18n.translate( + 'xpack.enterpriseSearch.appSearch.engine.curation.convertToManualCurationButtonLabel', + { defaultMessage: 'Convert to manual curation' } +); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation.test.tsx new file mode 100644 index 0000000000000..55725bb130deb --- /dev/null +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation.test.tsx @@ -0,0 +1,119 @@ +/* + * 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 '../../../../__mocks__/shallow_useeffect.mock'; +import { setMockActions, setMockValues } from '../../../../__mocks__/kea_logic'; +import { mockUseParams } from '../../../../__mocks__/react_router'; +import '../../../__mocks__/engine_logic.mock'; + +import React from 'react'; + +import { shallow, ShallowWrapper } from 'enzyme'; + +import { EuiBadge, EuiTab } from '@elastic/eui'; + +import { getPageHeaderActions, getPageHeaderTabs, getPageTitle } from '../../../../test_helpers'; + +jest.mock('./curation_logic', () => ({ CurationLogic: jest.fn() })); + +import { AppSearchPageTemplate } from '../../layout'; + +import { AutomatedCuration } from './automated_curation'; +import { CurationLogic } from './curation_logic'; + +import { PromotedDocuments, OrganicDocuments } from './documents'; + +describe('AutomatedCuration', () => { + const values = { + dataLoading: false, + queries: ['query A', 'query B'], + isFlyoutOpen: false, + curation: { + suggestion: { + status: 'applied', + }, + }, + activeQuery: 'query A', + isAutomated: true, + }; + + const actions = { + convertToManual: jest.fn(), + }; + + beforeEach(() => { + jest.clearAllMocks(); + setMockValues(values); + setMockActions(actions); + mockUseParams.mockReturnValue({ curationId: 'test' }); + }); + + it('renders', () => { + const wrapper = shallow(<AutomatedCuration />); + + expect(wrapper.is(AppSearchPageTemplate)); + expect(wrapper.find(PromotedDocuments)).toHaveLength(1); + expect(wrapper.find(OrganicDocuments)).toHaveLength(1); + }); + + it('includes a static tab group', () => { + const wrapper = shallow(<AutomatedCuration />); + const tabs = getPageHeaderTabs(wrapper).find(EuiTab); + + expect(tabs).toHaveLength(2); + + expect(tabs.at(0).prop('onClick')).toBeUndefined(); + expect(tabs.at(0).prop('isSelected')).toBe(true); + + expect(tabs.at(1).prop('onClick')).toBeUndefined(); + expect(tabs.at(1).prop('isSelected')).toBe(false); + expect(tabs.at(1).prop('disabled')).toBe(true); + }); + + it('initializes CurationLogic with a curationId prop from URL param', () => { + mockUseParams.mockReturnValueOnce({ curationId: 'hello-world' }); + shallow(<AutomatedCuration />); + + expect(CurationLogic).toHaveBeenCalledWith({ curationId: 'hello-world' }); + }); + + it('displays the query in the title with a badge', () => { + const wrapper = shallow(<AutomatedCuration />); + const pageTitle = shallow(<div>{getPageTitle(wrapper)}</div>); + + expect(pageTitle.text()).toContain('query A'); + expect(pageTitle.find(EuiBadge)).toHaveLength(1); + }); + + describe('convert to manual button', () => { + let convertToManualButton: ShallowWrapper; + let confirmSpy: jest.SpyInstance; + + beforeAll(() => { + const wrapper = shallow(<AutomatedCuration />); + convertToManualButton = getPageHeaderActions(wrapper).childAt(0); + + confirmSpy = jest.spyOn(window, 'confirm'); + }); + + afterAll(() => { + confirmSpy.mockRestore(); + }); + + it('converts the curation upon user confirmation', () => { + confirmSpy.mockReturnValueOnce(true); + convertToManualButton.simulate('click'); + expect(actions.convertToManual).toHaveBeenCalled(); + }); + + it('does not convert the curation if the user cancels', () => { + confirmSpy.mockReturnValueOnce(false); + convertToManualButton.simulate('click'); + expect(actions.convertToManual).not.toHaveBeenCalled(); + }); + }); +}); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation.tsx new file mode 100644 index 0000000000000..e5c212d8f292d --- /dev/null +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/automated_curation.tsx @@ -0,0 +1,81 @@ +/* + * 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 React from 'react'; +import { useParams } from 'react-router-dom'; + +import { useValues, useActions } from 'kea'; + +import { EuiSpacer, EuiButton, EuiBadge } from '@elastic/eui'; + +import { AppSearchPageTemplate } from '../../layout'; +import { AutomatedIcon } from '../components/automated_icon'; +import { + AUTOMATED_LABEL, + COVERT_TO_MANUAL_BUTTON_LABEL, + CONVERT_TO_MANUAL_CONFIRMATION, +} from '../constants'; + +import { getCurationsBreadcrumbs } from '../utils'; + +import { HIDDEN_DOCUMENTS_TITLE, PROMOTED_DOCUMENTS_TITLE } from './constants'; +import { CurationLogic } from './curation_logic'; +import { PromotedDocuments, OrganicDocuments } from './documents'; + +export const AutomatedCuration: React.FC = () => { + const { curationId } = useParams<{ curationId: string }>(); + const logic = CurationLogic({ curationId }); + const { convertToManual } = useActions(logic); + const { activeQuery, dataLoading, queries } = useValues(logic); + + // This tab group is meant to visually mirror the dynamic group of tags in the ManualCuration component + const pageTabs = [ + { + label: PROMOTED_DOCUMENTS_TITLE, + isSelected: true, + }, + { + label: HIDDEN_DOCUMENTS_TITLE, + isSelected: false, + disabled: true, + }, + ]; + + return ( + <AppSearchPageTemplate + pageChrome={getCurationsBreadcrumbs([queries.join(', ')])} + pageHeader={{ + pageTitle: ( + <> + {activeQuery}{' '} + <EuiBadge iconType={AutomatedIcon} color="accent"> + {AUTOMATED_LABEL} + </EuiBadge> + </> + ), + rightSideItems: [ + <EuiButton + color="primary" + fill + iconType="exportAction" + onClick={() => { + if (window.confirm(CONVERT_TO_MANUAL_CONFIRMATION)) convertToManual(); + }} + > + {COVERT_TO_MANUAL_BUTTON_LABEL} + </EuiButton>, + ], + tabs: pageTabs, + }} + isLoading={dataLoading} + > + <PromotedDocuments /> + <EuiSpacer /> + <OrganicDocuments /> + </AppSearchPageTemplate> + ); +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/constants.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/constants.ts new file mode 100644 index 0000000000000..3ea907bfa3cbe --- /dev/null +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/constants.ts @@ -0,0 +1,18 @@ +/* + * 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 { i18n } from '@kbn/i18n'; + +export const PROMOTED_DOCUMENTS_TITLE = i18n.translate( + 'xpack.enterpriseSearch.appSearch.engine.curations.promotedDocuments.title', + { defaultMessage: 'Promoted documents' } +); + +export const HIDDEN_DOCUMENTS_TITLE = i18n.translate( + 'xpack.enterpriseSearch.appSearch.engine.curations.hiddenDocuments.title', + { defaultMessage: 'Hidden documents' } +); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation.test.tsx index 2efe1f2ffe86f..62c3a6c7d4578 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation.test.tsx @@ -12,26 +12,25 @@ import '../../../__mocks__/engine_logic.mock'; import React from 'react'; -import { shallow, ShallowWrapper } from 'enzyme'; +import { shallow } from 'enzyme'; -import { rerender, getPageTitle, getPageHeaderActions } from '../../../../test_helpers'; +import { rerender } from '../../../../test_helpers'; jest.mock('./curation_logic', () => ({ CurationLogic: jest.fn() })); -import { CurationLogic } from './curation_logic'; -import { AddResultFlyout } from './results'; +import { AutomatedCuration } from './automated_curation'; + +import { ManualCuration } from './manual_curation'; import { Curation } from './'; describe('Curation', () => { const values = { - dataLoading: false, - queries: ['query A', 'query B'], - isFlyoutOpen: false, + isAutomated: true, }; + const actions = { loadCuration: jest.fn(), - resetCuration: jest.fn(), }; beforeEach(() => { @@ -40,32 +39,6 @@ describe('Curation', () => { setMockActions(actions); }); - it('renders', () => { - const wrapper = shallow(<Curation />); - - expect(getPageTitle(wrapper)).toEqual('Manage curation'); - expect(wrapper.prop('pageChrome')).toEqual([ - 'Engines', - 'some-engine', - 'Curations', - 'query A, query B', - ]); - }); - - it('renders the add result flyout when open', () => { - setMockValues({ ...values, isFlyoutOpen: true }); - const wrapper = shallow(<Curation />); - - expect(wrapper.find(AddResultFlyout)).toHaveLength(1); - }); - - it('initializes CurationLogic with a curationId prop from URL param', () => { - mockUseParams.mockReturnValueOnce({ curationId: 'hello-world' }); - shallow(<Curation />); - - expect(CurationLogic).toHaveBeenCalledWith({ curationId: 'hello-world' }); - }); - it('calls loadCuration on page load & whenever the curationId URL param changes', () => { mockUseParams.mockReturnValueOnce({ curationId: 'cur-123456789' }); const wrapper = shallow(<Curation />); @@ -76,31 +49,17 @@ describe('Curation', () => { expect(actions.loadCuration).toHaveBeenCalledTimes(2); }); - describe('restore defaults button', () => { - let restoreDefaultsButton: ShallowWrapper; - let confirmSpy: jest.SpyInstance; - - beforeAll(() => { - const wrapper = shallow(<Curation />); - restoreDefaultsButton = getPageHeaderActions(wrapper).childAt(0); - - confirmSpy = jest.spyOn(window, 'confirm'); - }); + it('renders a view for automated curations', () => { + setMockValues({ isAutomated: true }); + const wrapper = shallow(<Curation />); - afterAll(() => { - confirmSpy.mockRestore(); - }); + expect(wrapper.is(AutomatedCuration)).toBe(true); + }); - it('resets the curation upon user confirmation', () => { - confirmSpy.mockReturnValueOnce(true); - restoreDefaultsButton.simulate('click'); - expect(actions.resetCuration).toHaveBeenCalled(); - }); + it('renders a view for manual curations', () => { + setMockValues({ isAutomated: false }); + const wrapper = shallow(<Curation />); - it('does not reset the curation if the user cancels', () => { - confirmSpy.mockReturnValueOnce(false); - restoreDefaultsButton.simulate('click'); - expect(actions.resetCuration).not.toHaveBeenCalled(); - }); + expect(wrapper.is(ManualCuration)).toBe(true); }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation.tsx index 2a01c0db049ab..19b6542e96c4b 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation.tsx @@ -10,64 +10,18 @@ import { useParams } from 'react-router-dom'; import { useValues, useActions } from 'kea'; -import { EuiSpacer, EuiFlexGroup, EuiFlexItem, EuiButton } from '@elastic/eui'; - -import { RESTORE_DEFAULTS_BUTTON_LABEL } from '../../../constants'; -import { AppSearchPageTemplate } from '../../layout'; -import { MANAGE_CURATION_TITLE, RESTORE_CONFIRMATION } from '../constants'; -import { getCurationsBreadcrumbs } from '../utils'; - +import { AutomatedCuration } from './automated_curation'; import { CurationLogic } from './curation_logic'; -import { PromotedDocuments, OrganicDocuments, HiddenDocuments } from './documents'; -import { ActiveQuerySelect, ManageQueriesModal } from './queries'; -import { AddResultLogic, AddResultFlyout } from './results'; +import { ManualCuration } from './manual_curation'; export const Curation: React.FC = () => { const { curationId } = useParams() as { curationId: string }; - const { loadCuration, resetCuration } = useActions(CurationLogic({ curationId })); - const { dataLoading, queries } = useValues(CurationLogic({ curationId })); - const { isFlyoutOpen } = useValues(AddResultLogic); + const { loadCuration } = useActions(CurationLogic({ curationId })); + const { isAutomated } = useValues(CurationLogic({ curationId })); useEffect(() => { loadCuration(); }, [curationId]); - return ( - <AppSearchPageTemplate - pageChrome={getCurationsBreadcrumbs([queries.join(', ')])} - pageHeader={{ - pageTitle: MANAGE_CURATION_TITLE, - rightSideItems: [ - <EuiButton - color="danger" - onClick={() => { - if (window.confirm(RESTORE_CONFIRMATION)) resetCuration(); - }} - > - {RESTORE_DEFAULTS_BUTTON_LABEL} - </EuiButton>, - ], - }} - isLoading={dataLoading} - > - <EuiFlexGroup alignItems="flexEnd" gutterSize="xl" responsive={false}> - <EuiFlexItem> - <ActiveQuerySelect /> - </EuiFlexItem> - <EuiFlexItem grow={false}> - <ManageQueriesModal /> - </EuiFlexItem> - </EuiFlexGroup> - - <EuiSpacer size="xl" /> - - <PromotedDocuments /> - <EuiSpacer /> - <OrganicDocuments /> - <EuiSpacer /> - <HiddenDocuments /> - - {isFlyoutOpen && <AddResultFlyout />} - </AppSearchPageTemplate> - ); + return isAutomated ? <AutomatedCuration /> : <ManualCuration />; }; diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.test.ts index 8fa57e52a26a1..d80a07e756927 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.test.ts @@ -55,6 +55,8 @@ describe('CurationLogic', () => { promotedDocumentsLoading: false, hiddenIds: [], hiddenDocumentsLoading: false, + isAutomated: false, + selectedPageTab: 'promoted', }; beforeEach(() => { @@ -263,9 +265,77 @@ describe('CurationLogic', () => { }); }); }); + + describe('onSelectPageTab', () => { + it('should set the selected page tab', () => { + mount({ + selectedPageTab: 'promoted', + }); + + CurationLogic.actions.onSelectPageTab('hidden'); + + expect(CurationLogic.values).toEqual({ + ...DEFAULT_VALUES, + selectedPageTab: 'hidden', + }); + }); + }); + }); + + describe('selectors', () => { + describe('isAutomated', () => { + it('is true when suggestion status is automated', () => { + mount({ curation: { suggestion: { status: 'automated' } } }); + + expect(CurationLogic.values.isAutomated).toBe(true); + }); + + it('is false when suggestion status is not automated', () => { + for (status of ['pending', 'applied', 'rejected', 'disabled']) { + mount({ curation: { suggestion: { status } } }); + + expect(CurationLogic.values.isAutomated).toBe(false); + } + }); + }); }); describe('listeners', () => { + describe('convertToManual', () => { + it('should make an API call and re-load the curation on success', async () => { + http.put.mockReturnValueOnce(Promise.resolve()); + mount({ activeQuery: 'some query' }); + jest.spyOn(CurationLogic.actions, 'loadCuration'); + + CurationLogic.actions.convertToManual(); + await nextTick(); + + expect(http.put).toHaveBeenCalledWith( + '/internal/app_search/engines/some-engine/search_relevance_suggestions', + { + body: JSON.stringify([ + { + query: 'some query', + type: 'curation', + status: 'applied', + }, + ]), + } + ); + expect(CurationLogic.actions.loadCuration).toHaveBeenCalled(); + }); + + it('flashes any error messages', async () => { + http.put.mockReturnValueOnce(Promise.reject('error')); + mount({ activeQuery: 'some query' }); + + CurationLogic.actions.convertToManual(); + await nextTick(); + + expect(flashAPIErrors).toHaveBeenCalledWith('error'); + }); + }); + describe('loadCuration', () => { it('should set dataLoading state', () => { mount({ dataLoading: false }, { curationId: 'cur-123456789' }); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.ts index c49fc76d06874..c54a2d1f31e1d 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.ts @@ -16,6 +16,8 @@ import { EngineLogic, generateEnginePath } from '../../engine'; import { Curation } from '../types'; import { addDocument, removeDocument } from '../utils'; +type CurationPageTabs = 'promoted' | 'hidden'; + interface CurationValues { dataLoading: boolean; curation: Curation; @@ -27,9 +29,12 @@ interface CurationValues { promotedDocumentsLoading: boolean; hiddenIds: string[]; hiddenDocumentsLoading: boolean; + isAutomated: boolean; + selectedPageTab: CurationPageTabs; } interface CurationActions { + convertToManual(): void; loadCuration(): void; onCurationLoad(curation: Curation): { curation: Curation }; updateCuration(): void; @@ -44,6 +49,7 @@ interface CurationActions { removeHiddenId(id: string): { id: string }; clearHiddenIds(): void; resetCuration(): void; + onSelectPageTab(pageTab: CurationPageTabs): { pageTab: CurationPageTabs }; } interface CurationProps { @@ -53,6 +59,7 @@ interface CurationProps { export const CurationLogic = kea<MakeLogicType<CurationValues, CurationActions, CurationProps>>({ path: ['enterprise_search', 'app_search', 'curation_logic'], actions: () => ({ + convertToManual: true, loadCuration: true, onCurationLoad: (curation) => ({ curation }), updateCuration: true, @@ -67,6 +74,7 @@ export const CurationLogic = kea<MakeLogicType<CurationValues, CurationActions, removeHiddenId: (id) => ({ id }), clearHiddenIds: true, resetCuration: true, + onSelectPageTab: (pageTab) => ({ pageTab }), }), reducers: () => ({ dataLoading: [ @@ -161,8 +169,41 @@ export const CurationLogic = kea<MakeLogicType<CurationValues, CurationActions, onCurationError: () => false, }, ], + selectedPageTab: [ + 'promoted', + { + onSelectPageTab: (_, { pageTab }) => pageTab, + }, + ], + }), + selectors: ({ selectors }) => ({ + isAutomated: [ + () => [selectors.curation], + (curation: CurationValues['curation']) => { + return curation.suggestion?.status === 'automated'; + }, + ], }), listeners: ({ actions, values, props }) => ({ + convertToManual: async () => { + const { http } = HttpLogic.values; + const { engineName } = EngineLogic.values; + + try { + await http.put(`/internal/app_search/engines/${engineName}/search_relevance_suggestions`, { + body: JSON.stringify([ + { + query: values.activeQuery, + type: 'curation', + status: 'applied', + }, + ]), + }); + actions.loadCuration(); + } catch (e) { + flashAPIErrors(e); + } + }, loadCuration: async () => { const { http } = HttpLogic.values; const { engineName } = EngineLogic.values; diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/hidden_documents.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/hidden_documents.tsx index 8cb06f32d9e4e..be50b03960ace 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/hidden_documents.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/hidden_documents.tsx @@ -15,6 +15,7 @@ import { i18n } from '@kbn/i18n'; import { DataPanel } from '../../../data_panel'; import { SHOW_DOCUMENT_ACTION } from '../../constants'; +import { HIDDEN_DOCUMENTS_TITLE } from '../constants'; import { CurationLogic } from '../curation_logic'; import { AddResultButton, CurationResult, convertToResultFormat } from '../results'; @@ -29,14 +30,7 @@ export const HiddenDocuments: React.FC = () => { <DataPanel filled iconType="eyeClosed" - title={ - <h2> - {i18n.translate( - 'xpack.enterpriseSearch.appSearch.engine.curations.hiddenDocuments.title', - { defaultMessage: 'Hidden documents' } - )} - </h2> - } + title={<h2>{HIDDEN_DOCUMENTS_TITLE}</h2>} subtitle={i18n.translate( 'xpack.enterpriseSearch.appSearch.engine.curations.hiddenDocuments.description', { defaultMessage: 'Hidden documents will not appear in organic results.' } diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/organic_documents.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/organic_documents.test.tsx index 0624d0063e57d..b7955cf514079 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/organic_documents.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/organic_documents.test.tsx @@ -13,6 +13,8 @@ import { shallow } from 'enzyme'; import { EuiLoadingContent, EuiEmptyPrompt } from '@elastic/eui'; +import { mountWithIntl } from '../../../../../test_helpers'; + import { DataPanel } from '../../../data_panel'; import { CurationResult } from '../results'; @@ -30,6 +32,7 @@ describe('OrganicDocuments', () => { }, activeQuery: 'world', organicDocumentsLoading: false, + isAutomated: false, }; const actions = { addPromotedId: jest.fn(), @@ -56,6 +59,13 @@ describe('OrganicDocuments', () => { expect(titleText).toEqual('Top organic documents for "world"'); }); + it('shows a title when the curation is manual', () => { + setMockValues({ ...values, isAutomated: false }); + const wrapper = shallow(<OrganicDocuments />); + + expect(wrapper.find(DataPanel).prop('subtitle')).toContain('Promote results'); + }); + it('renders a loading state', () => { setMockValues({ ...values, organicDocumentsLoading: true }); const wrapper = shallow(<OrganicDocuments />); @@ -63,11 +73,21 @@ describe('OrganicDocuments', () => { expect(wrapper.find(EuiLoadingContent)).toHaveLength(1); }); - it('renders an empty state', () => { - setMockValues({ ...values, curation: { organic: [] } }); - const wrapper = shallow(<OrganicDocuments />); + describe('empty state', () => { + it('renders', () => { + setMockValues({ ...values, curation: { organic: [] } }); + const wrapper = shallow(<OrganicDocuments />); + + expect(wrapper.find(EuiEmptyPrompt)).toHaveLength(1); + }); - expect(wrapper.find(EuiEmptyPrompt)).toHaveLength(1); + it('tells the user to modify the query if the curation is manual', () => { + setMockValues({ ...values, curation: { organic: [] }, isAutomated: false }); + const wrapper = shallow(<OrganicDocuments />); + const emptyPromptBody = mountWithIntl(<>{wrapper.find(EuiEmptyPrompt).prop('body')}</>); + + expect(emptyPromptBody.text()).toContain('Add or change'); + }); }); describe('actions', () => { @@ -86,5 +106,13 @@ describe('OrganicDocuments', () => { expect(actions.addHiddenId).toHaveBeenCalledWith('mock-document-3'); }); + + it('hides actions when the curation is automated', () => { + setMockValues({ ...values, isAutomated: true }); + const wrapper = shallow(<OrganicDocuments />); + const result = wrapper.find(CurationResult).first(); + + expect(result.prop('actions')).toEqual([]); + }); }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/organic_documents.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/organic_documents.tsx index a3a761feefcd2..7314376a4a7ab 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/organic_documents.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/organic_documents.tsx @@ -11,6 +11,7 @@ import { useValues, useActions } from 'kea'; import { EuiLoadingContent, EuiEmptyPrompt } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; +import { FormattedMessage } from '@kbn/i18n/react'; import { DataPanel } from '../../../data_panel'; import { Result } from '../../../result/types'; @@ -25,7 +26,7 @@ import { CurationResult } from '../results'; export const OrganicDocuments: React.FC = () => { const { addPromotedId, addHiddenId } = useActions(CurationLogic); - const { curation, activeQuery, organicDocumentsLoading } = useValues(CurationLogic); + const { curation, activeQuery, isAutomated, organicDocumentsLoading } = useValues(CurationLogic); const documents = curation.organic; const hasDocuments = documents.length > 0 && !organicDocumentsLoading; @@ -46,36 +47,50 @@ export const OrganicDocuments: React.FC = () => { )} </h2> } - subtitle={RESULT_ACTIONS_DIRECTIONS} + subtitle={!isAutomated && RESULT_ACTIONS_DIRECTIONS} > {hasDocuments ? ( documents.map((document: Result) => ( <CurationResult result={document} key={document.id.raw} - actions={[ - { - ...HIDE_DOCUMENT_ACTION, - onClick: () => addHiddenId(document.id.raw), - }, - { - ...PROMOTE_DOCUMENT_ACTION, - onClick: () => addPromotedId(document.id.raw), - }, - ]} + actions={ + isAutomated + ? [] + : [ + { + ...HIDE_DOCUMENT_ACTION, + onClick: () => addHiddenId(document.id.raw), + }, + { + ...PROMOTE_DOCUMENT_ACTION, + onClick: () => addPromotedId(document.id.raw), + }, + ] + } /> )) ) : organicDocumentsLoading ? ( <EuiLoadingContent lines={5} /> ) : ( <EuiEmptyPrompt - body={i18n.translate( - 'xpack.enterpriseSearch.appSearch.engine.curations.organicDocuments.emptyDescription', - { - defaultMessage: - 'No organic results to display. Add or change the active query above.', - } - )} + body={ + <FormattedMessage + id="xpack.enterpriseSearch.appSearch.engine.curations.organicDocuments.description" + defaultMessage="No organic results to display.{manualDescription}" + values={{ + manualDescription: !isAutomated && ( + <> + {' '} + <FormattedMessage + id="xpack.enterpriseSearch.appSearch.engine.curations.organicDocuments.manualDescription" + defaultMessage="Add or change the active query above." + /> + </> + ), + }} + /> + } /> )} </DataPanel> diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.test.tsx index e0c6de973666c..a66b33a47f35c 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.test.tsx @@ -4,7 +4,6 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ - import { setMockValues, setMockActions } from '../../../../../__mocks__/kea_logic'; import React from 'react'; @@ -13,6 +12,7 @@ import { shallow } from 'enzyme'; import { EuiDragDropContext, EuiDraggable, EuiEmptyPrompt, EuiButtonEmpty } from '@elastic/eui'; +import { mountWithIntl } from '../../../../../test_helpers'; import { DataPanel } from '../../../data_panel'; import { CurationResult } from '../results'; @@ -57,11 +57,50 @@ describe('PromotedDocuments', () => { }); }); - it('renders an empty state & hides the panel actions when empty', () => { + it('informs the user documents can be re-ordered if the curation is manual', () => { + setMockValues({ ...values, isAutomated: false }); + const wrapper = shallow(<PromotedDocuments />); + const subtitle = mountWithIntl(wrapper.prop('subtitle')); + + expect(subtitle.text()).toContain('Documents can be re-ordered'); + }); + + it('informs the user the curation is managed if the curation is automated', () => { + setMockValues({ ...values, isAutomated: true }); + const wrapper = shallow(<PromotedDocuments />); + const subtitle = mountWithIntl(wrapper.prop('subtitle')); + + expect(subtitle.text()).toContain('managed by App Search'); + }); + + describe('empty state', () => { + it('renders', () => { + setMockValues({ ...values, curation: { promoted: [] } }); + const wrapper = shallow(<PromotedDocuments />); + + expect(wrapper.find(EuiEmptyPrompt)).toHaveLength(1); + }); + + it('hide information about starring documents if the curation is automated', () => { + setMockValues({ ...values, curation: { promoted: [] }, isAutomated: true }); + const wrapper = shallow(<PromotedDocuments />); + const emptyPromptBody = mountWithIntl(<>{wrapper.find(EuiEmptyPrompt).prop('body')}</>); + + expect(emptyPromptBody.text()).not.toContain('Star documents'); + }); + }); + + it('hides the panel actions when empty', () => { setMockValues({ ...values, curation: { promoted: [] } }); const wrapper = shallow(<PromotedDocuments />); - expect(wrapper.find(EuiEmptyPrompt)).toHaveLength(1); + expect(wrapper.find(DataPanel).prop('action')).toBe(false); + }); + + it('hides the panel actions when the curation is automated', () => { + setMockValues({ ...values, isAutomated: true }); + const wrapper = shallow(<PromotedDocuments />); + expect(wrapper.find(DataPanel).prop('action')).toBe(false); }); @@ -81,6 +120,14 @@ describe('PromotedDocuments', () => { expect(actions.removePromotedId).toHaveBeenCalledWith('mock-document-4'); }); + it('hides demote button for results when the curation is automated', () => { + setMockValues({ ...values, isAutomated: true }); + const wrapper = shallow(<PromotedDocuments />); + const result = getDraggableChildren(wrapper.find(EuiDraggable).last()); + + expect(result.prop('actions')).toEqual([]); + }); + it('renders a demote all button that demotes all hidden results', () => { const wrapper = shallow(<PromotedDocuments />); const panelActions = shallow(wrapper.find(DataPanel).prop('action') as React.ReactElement); @@ -89,7 +136,7 @@ describe('PromotedDocuments', () => { expect(actions.clearPromotedIds).toHaveBeenCalled(); }); - describe('draggging', () => { + describe('dragging', () => { it('calls setPromotedIds with the reordered list when users are done dragging', () => { const wrapper = shallow(<PromotedDocuments />); wrapper.find(EuiDragDropContext).simulate('dragEnd', { diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.tsx index 6b0a02aa2af58..377e9d5d9a56c 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/documents/promoted_documents.tsx @@ -21,15 +21,17 @@ import { euiDragDropReorder, } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; +import { FormattedMessage } from '@kbn/i18n/react'; import { DataPanel } from '../../../data_panel'; import { DEMOTE_DOCUMENT_ACTION } from '../../constants'; +import { PROMOTED_DOCUMENTS_TITLE } from '../constants'; import { CurationLogic } from '../curation_logic'; import { AddResultButton, CurationResult, convertToResultFormat } from '../results'; export const PromotedDocuments: React.FC = () => { - const { curation, promotedIds, promotedDocumentsLoading } = useValues(CurationLogic); + const { curation, isAutomated, promotedIds, promotedDocumentsLoading } = useValues(CurationLogic); const documents = curation.promoted; const hasDocuments = documents.length > 0; @@ -45,29 +47,34 @@ export const PromotedDocuments: React.FC = () => { <DataPanel filled iconType="starFilled" - title={ - <h2> - {i18n.translate( - 'xpack.enterpriseSearch.appSearch.engine.curations.promotedDocuments.title', - { defaultMessage: 'Promoted documents' } - )} - </h2> + title={<h2>{PROMOTED_DOCUMENTS_TITLE}</h2>} + subtitle={ + isAutomated ? ( + <FormattedMessage + id="xpack.enterpriseSearch.appSearch.engine.curations.promotedDocuments.automatedDescription" + defaultMessage="This curation is being managed by App Search" + /> + ) : ( + <FormattedMessage + id="xpack.enterpriseSearch.appSearch.engine.curations.promotedDocuments.manualDescription" + defaultMessage="Promoted results appear before organic results. Documents can be re-ordered." + /> + ) } - subtitle={i18n.translate( - 'xpack.enterpriseSearch.appSearch.engine.curations.promotedDocuments.description', - { - defaultMessage: - 'Promoted results appear before organic results. Documents can be re-ordered.', - } - )} action={ + !isAutomated && hasDocuments && ( <EuiFlexGroup gutterSize="s" responsive={false} wrap> <EuiFlexItem> <AddResultButton /> </EuiFlexItem> <EuiFlexItem> - <EuiButtonEmpty onClick={clearPromotedIds} iconType="menuDown" size="s"> + <EuiButtonEmpty + onClick={clearPromotedIds} + iconType="menuDown" + size="s" + disabled={isAutomated} + > {i18n.translate( 'xpack.enterpriseSearch.appSearch.engine.curations.promotedDocuments.removeAllButtonLabel', { defaultMessage: 'Demote all' } @@ -89,17 +96,22 @@ export const PromotedDocuments: React.FC = () => { draggableId={document.id} customDragHandle spacing="none" + isDragDisabled={isAutomated} > {(provided) => ( <CurationResult key={document.id} result={convertToResultFormat(document)} - actions={[ - { - ...DEMOTE_DOCUMENT_ACTION, - onClick: () => removePromotedId(document.id), - }, - ]} + actions={ + isAutomated + ? [] + : [ + { + ...DEMOTE_DOCUMENT_ACTION, + onClick: () => removePromotedId(document.id), + }, + ] + } dragHandleProps={provided.dragHandleProps} /> )} @@ -109,13 +121,22 @@ export const PromotedDocuments: React.FC = () => { </EuiDragDropContext> ) : ( <EuiEmptyPrompt - body={i18n.translate( - 'xpack.enterpriseSearch.appSearch.engine.curations.promotedDocuments.emptyDescription', - { - defaultMessage: - 'Star documents from the organic results below, or search and promote a result manually.', - } - )} + body={ + isAutomated + ? i18n.translate( + 'xpack.enterpriseSearch.appSearch.engine.curations.promotedDocuments.automatedEmptyDescription', + { + defaultMessage: "We haven't identified any documents to promote", + } + ) + : i18n.translate( + 'xpack.enterpriseSearch.appSearch.engine.curations.promotedDocuments.emptyDescription', + { + defaultMessage: + 'Star documents from the organic results below, or search and promote a result manually.', + } + ) + } actions={<AddResultButton />} /> )} diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/manual_curation.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/manual_curation.test.tsx new file mode 100644 index 0000000000000..ea0a54ae7dc6d --- /dev/null +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/manual_curation.test.tsx @@ -0,0 +1,138 @@ +/* + * 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 '../../../../__mocks__/shallow_useeffect.mock'; +import { setMockActions, setMockValues } from '../../../../__mocks__/kea_logic'; +import { mockUseParams } from '../../../../__mocks__/react_router'; +import '../../../__mocks__/engine_logic.mock'; + +import React from 'react'; + +import { shallow, ShallowWrapper } from 'enzyme'; + +import { EuiTab } from '@elastic/eui'; + +import { getPageTitle, getPageHeaderActions, getPageHeaderTabs } from '../../../../test_helpers'; + +jest.mock('./curation_logic', () => ({ CurationLogic: jest.fn() })); +import { CurationLogic } from './curation_logic'; + +import { PromotedDocuments, HiddenDocuments } from './documents'; +import { ManualCuration } from './manual_curation'; +import { AddResultFlyout } from './results'; +import { SuggestedDocumentsCallout } from './suggested_documents_callout'; + +describe('ManualCuration', () => { + const values = { + dataLoading: false, + queries: ['query A', 'query B'], + isFlyoutOpen: false, + selectedPageTab: 'promoted', + }; + const actions = { + resetCuration: jest.fn(), + onSelectPageTab: jest.fn(), + }; + + beforeEach(() => { + jest.clearAllMocks(); + setMockValues(values); + setMockActions(actions); + }); + + it('renders a view for managing a curation', () => { + const wrapper = shallow(<ManualCuration />); + + expect(getPageTitle(wrapper)).toEqual('Manage curation'); + expect(wrapper.prop('pageChrome')).toEqual([ + 'Engines', + 'some-engine', + 'Curations', + 'query A, query B', + ]); + }); + + it('includes set of tabs in the page header', () => { + const wrapper = shallow(<ManualCuration />); + + const tabs = getPageHeaderTabs(wrapper).find(EuiTab); + + tabs.at(0).simulate('click'); + expect(actions.onSelectPageTab).toHaveBeenNthCalledWith(1, 'promoted'); + + tabs.at(1).simulate('click'); + expect(actions.onSelectPageTab).toHaveBeenNthCalledWith(2, 'hidden'); + }); + + it('contains a suggested documents callout when the selectedPageTab is ', () => { + const wrapper = shallow(<ManualCuration />); + + expect(wrapper.find(SuggestedDocumentsCallout)).toHaveLength(1); + }); + + it('renders promoted documents when that tab is selected', () => { + setMockValues({ ...values, selectedPageTab: 'promoted' }); + const wrapper = shallow(<ManualCuration />); + const tabs = getPageHeaderTabs(wrapper).find(EuiTab); + + expect(tabs.at(0).prop('isSelected')).toEqual(true); + + expect(wrapper.find(PromotedDocuments)).toHaveLength(1); + }); + + it('renders hidden documents when that tab is selected', () => { + setMockValues({ ...values, selectedPageTab: 'hidden' }); + const wrapper = shallow(<ManualCuration />); + const tabs = getPageHeaderTabs(wrapper).find(EuiTab); + + expect(tabs.at(1).prop('isSelected')).toEqual(true); + + expect(wrapper.find(HiddenDocuments)).toHaveLength(1); + }); + + it('renders the add result flyout when open', () => { + setMockValues({ ...values, isFlyoutOpen: true }); + const wrapper = shallow(<ManualCuration />); + + expect(wrapper.find(AddResultFlyout)).toHaveLength(1); + }); + + it('initializes CurationLogic with a curationId prop from URL param', () => { + mockUseParams.mockReturnValueOnce({ curationId: 'hello-world' }); + shallow(<ManualCuration />); + + expect(CurationLogic).toHaveBeenCalledWith({ curationId: 'hello-world' }); + }); + + describe('restore defaults button', () => { + let restoreDefaultsButton: ShallowWrapper; + let confirmSpy: jest.SpyInstance; + + beforeAll(() => { + const wrapper = shallow(<ManualCuration />); + restoreDefaultsButton = getPageHeaderActions(wrapper).childAt(0); + + confirmSpy = jest.spyOn(window, 'confirm'); + }); + + afterAll(() => { + confirmSpy.mockRestore(); + }); + + it('resets the curation upon user confirmation', () => { + confirmSpy.mockReturnValueOnce(true); + restoreDefaultsButton.simulate('click'); + expect(actions.resetCuration).toHaveBeenCalled(); + }); + + it('does not reset the curation if the user cancels', () => { + confirmSpy.mockReturnValueOnce(false); + restoreDefaultsButton.simulate('click'); + expect(actions.resetCuration).not.toHaveBeenCalled(); + }); + }); +}); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/manual_curation.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/manual_curation.tsx new file mode 100644 index 0000000000000..ab031ca4a5ee7 --- /dev/null +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/manual_curation.tsx @@ -0,0 +1,83 @@ +/* + * 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 React from 'react'; +import { useParams } from 'react-router-dom'; + +import { useValues, useActions } from 'kea'; + +import { EuiSpacer, EuiFlexGroup, EuiFlexItem, EuiButton } from '@elastic/eui'; + +import { RESTORE_DEFAULTS_BUTTON_LABEL } from '../../../constants'; +import { AppSearchPageTemplate } from '../../layout'; +import { MANAGE_CURATION_TITLE, RESTORE_CONFIRMATION } from '../constants'; +import { getCurationsBreadcrumbs } from '../utils'; + +import { PROMOTED_DOCUMENTS_TITLE, HIDDEN_DOCUMENTS_TITLE } from './constants'; +import { CurationLogic } from './curation_logic'; +import { PromotedDocuments, OrganicDocuments, HiddenDocuments } from './documents'; +import { ActiveQuerySelect, ManageQueriesModal } from './queries'; +import { AddResultLogic, AddResultFlyout } from './results'; +import { SuggestedDocumentsCallout } from './suggested_documents_callout'; + +export const ManualCuration: React.FC = () => { + const { curationId } = useParams() as { curationId: string }; + const { onSelectPageTab, resetCuration } = useActions(CurationLogic({ curationId })); + const { dataLoading, queries, selectedPageTab } = useValues(CurationLogic({ curationId })); + const { isFlyoutOpen } = useValues(AddResultLogic); + + const pageTabs = [ + { + label: PROMOTED_DOCUMENTS_TITLE, + isSelected: selectedPageTab === 'promoted', + onClick: () => onSelectPageTab('promoted'), + }, + { + label: HIDDEN_DOCUMENTS_TITLE, + isSelected: selectedPageTab === 'hidden', + onClick: () => onSelectPageTab('hidden'), + }, + ]; + + return ( + <AppSearchPageTemplate + pageChrome={getCurationsBreadcrumbs([queries.join(', ')])} + pageHeader={{ + pageTitle: MANAGE_CURATION_TITLE, + rightSideItems: [ + <EuiButton + color="danger" + onClick={() => { + if (window.confirm(RESTORE_CONFIRMATION)) resetCuration(); + }} + > + {RESTORE_DEFAULTS_BUTTON_LABEL} + </EuiButton>, + ], + tabs: pageTabs, + }} + isLoading={dataLoading} + > + <SuggestedDocumentsCallout /> + <EuiFlexGroup alignItems="flexEnd" gutterSize="xl" responsive={false}> + <EuiFlexItem> + <ActiveQuerySelect /> + </EuiFlexItem> + <EuiFlexItem grow={false}> + <ManageQueriesModal /> + </EuiFlexItem> + </EuiFlexGroup> + <EuiSpacer size="xl" /> + {selectedPageTab === 'promoted' && <PromotedDocuments />} + {selectedPageTab === 'hidden' && <HiddenDocuments />} + <EuiSpacer /> + <OrganicDocuments /> + + {isFlyoutOpen && <AddResultFlyout />} + </AppSearchPageTemplate> + ); +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_button.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_button.test.tsx index 53cefdd00c670..5b5c814a24c5b 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_button.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_button.test.tsx @@ -5,34 +5,43 @@ * 2.0. */ -import { setMockActions } from '../../../../../__mocks__/kea_logic'; +import { setMockActions, setMockValues } from '../../../../../__mocks__/kea_logic'; import React from 'react'; -import { shallow, ShallowWrapper } from 'enzyme'; +import { shallow } from 'enzyme'; import { EuiButton } from '@elastic/eui'; import { AddResultButton } from './'; describe('AddResultButton', () => { + const values = { + isAutomated: false, + }; + const actions = { openFlyout: jest.fn(), }; - let wrapper: ShallowWrapper; - - beforeAll(() => { - setMockActions(actions); - wrapper = shallow(<AddResultButton />); - }); - it('renders', () => { - expect(wrapper.find(EuiButton)).toHaveLength(1); + const wrapper = shallow(<AddResultButton />); + + expect(wrapper.is(EuiButton)).toBe(true); }); it('opens the add result flyout on click', () => { + setMockActions(actions); + const wrapper = shallow(<AddResultButton />); + wrapper.find(EuiButton).simulate('click'); expect(actions.openFlyout).toHaveBeenCalled(); }); + + it('is disbled when the curation is automated', () => { + setMockValues({ ...values, isAutomated: true }); + const wrapper = shallow(<AddResultButton />); + + expect(wrapper.find(EuiButton).prop('disabled')).toBe(true); + }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_button.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_button.tsx index 025dda65f4fb8..f2285064da307 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_button.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/results/add_result_button.tsx @@ -7,18 +7,21 @@ import React from 'react'; -import { useActions } from 'kea'; +import { useActions, useValues } from 'kea'; import { EuiButton } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; +import { CurationLogic } from '..'; + import { AddResultLogic } from './'; export const AddResultButton: React.FC = () => { const { openFlyout } = useActions(AddResultLogic); + const { isAutomated } = useValues(CurationLogic); return ( - <EuiButton onClick={openFlyout} iconType="plusInCircle" size="s" fill> + <EuiButton onClick={openFlyout} iconType="plusInCircle" size="s" fill disabled={isAutomated}> {i18n.translate('xpack.enterpriseSearch.appSearch.engine.curations.addResult.buttonLabel', { defaultMessage: 'Add result manually', })} diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/suggested_documents_callout.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/suggested_documents_callout.test.tsx new file mode 100644 index 0000000000000..29418d09218f4 --- /dev/null +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/suggested_documents_callout.test.tsx @@ -0,0 +1,58 @@ +/* + * 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 '../../../__mocks__/engine_logic.mock'; + +import { setMockValues } from '../../../../__mocks__/kea_logic'; + +import React from 'react'; + +import { shallow } from 'enzyme'; +import { set } from 'lodash/fp'; + +import { SuggestionsCallout } from '../components/suggestions_callout'; + +import { SuggestedDocumentsCallout } from './suggested_documents_callout'; + +const MOCK_VALUES = { + // CurationLogic + curation: { + suggestion: { + status: 'pending', + updated_at: '2021-01-01T00:30:00Z', + }, + queries: ['some query'], + }, +}; + +describe('SuggestedDocumentsCallout', () => { + beforeEach(() => { + jest.clearAllMocks(); + setMockValues(MOCK_VALUES); + }); + + it('renders', () => { + const wrapper = shallow(<SuggestedDocumentsCallout />); + + expect(wrapper.is(SuggestionsCallout)); + }); + + it('is empty when the suggested is undefined', () => { + setMockValues({ ...MOCK_VALUES, curation: {} }); + + const wrapper = shallow(<SuggestedDocumentsCallout />); + + expect(wrapper.isEmptyRender()).toBe(true); + }); + + it('is empty when curation status is not pending', () => { + const values = set('curation.suggestion.status', 'applied', MOCK_VALUES); + setMockValues(values); + const wrapper = shallow(<SuggestedDocumentsCallout />); + + expect(wrapper.isEmptyRender()).toBe(true); + }); +}); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/suggested_documents_callout.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/suggested_documents_callout.tsx new file mode 100644 index 0000000000000..e443e77d76190 --- /dev/null +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/suggested_documents_callout.tsx @@ -0,0 +1,48 @@ +/* + * 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 React from 'react'; + +import { useValues } from 'kea'; + +import { i18n } from '@kbn/i18n'; + +import { ENGINE_CURATION_SUGGESTION_PATH } from '../../../routes'; +import { generateEnginePath } from '../../engine'; + +import { SuggestionsCallout } from '../components/suggestions_callout'; + +import { CurationLogic } from '.'; + +export const SuggestedDocumentsCallout: React.FC = () => { + const { + curation: { suggestion, queries }, + } = useValues(CurationLogic); + + if (typeof suggestion === 'undefined' || suggestion.status !== 'pending') { + return null; + } + + return ( + <SuggestionsCallout + title={i18n.translate( + 'xpack.enterpriseSearch.appSearch.engine.curation.suggestedDocumentsCallout.title', + { defaultMessage: 'New suggested documents for this query' } + )} + description={i18n.translate( + 'xpack.enterpriseSearch.appSearch.engine.curation.suggestedDocumentsCallout.description', + { + defaultMessage: + "Based on your engine's analytics, there are new suggested document promotions ready to review.", + } + )} + buttonTo={generateEnginePath(ENGINE_CURATION_SUGGESTION_PATH, { + query: queries[0], + })} + lastUpdatedTimestamp={suggestion.updated_at} + /> + ); +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/types.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/types.ts index 866bf6490ebe8..96e300e0d0520 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/types.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/types.ts @@ -12,7 +12,11 @@ export interface CurationSuggestion { query: string; updated_at: string; promoted: string[]; + status: 'pending' | 'applied' | 'automated' | 'rejected' | 'disabled'; + curation_id?: string; + override_curation_id?: string; } + export interface Curation { id: string; last_updated: string; @@ -20,6 +24,7 @@ export interface Curation { promoted: CurationResult[]; hidden: CurationResult[]; organic: Result[]; + suggestion?: CurationSuggestion; } export interface CurationsAPIResponse { diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_result_panel.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_result_panel.tsx index b61355d0b8555..5a21bfcb38843 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_result_panel.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_result_panel.tsx @@ -73,7 +73,7 @@ export const CurationResultPanel: React.FC<Props> = ({ variant, results }) => { > {results.length > 0 ? ( results.map((result) => ( - <EuiFlexItem grow={false} key={result.id.raw}> + <EuiFlexItem key={result.id.raw} style={{ width: '100%' }}> <Result result={result} isMetaEngine={isMetaEngine} diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion.test.tsx index 2dcefa7273c72..1c3f4645d89e9 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion.test.tsx @@ -57,6 +57,14 @@ describe('CurationSuggestion', () => { }, }, ], + curation: { + promoted: [ + { + id: '4', + foo: 'foo', + }, + ], + }, isMetaEngine: true, engine: { schema: {}, @@ -88,6 +96,27 @@ describe('CurationSuggestion', () => { expect(actions.loadSuggestion).toHaveBeenCalled(); }); + it('shows existing promoted documents', () => { + const wrapper = shallow(<CurationSuggestion />); + const suggestedResultsPanel = wrapper.find(CurationResultPanel).at(0); + // gets populated from 'curation' in state, and converted to results format (i.e, has raw properties, etc.) + expect(suggestedResultsPanel.prop('results')).toEqual([ + { + id: { + raw: '4', + snippet: null, + }, + foo: { + raw: 'foo', + snippet: null, + }, + _meta: { + id: '4', + }, + }, + ]); + }); + it('shows suggested promoted documents', () => { const wrapper = shallow(<CurationSuggestion />); const suggestedResultsPanel = wrapper.find(CurationResultPanel).at(1); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion.tsx index ade78e4914e84..3191d4e912cff 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion.tsx @@ -25,6 +25,7 @@ import { EngineLogic } from '../../../engine'; import { AppSearchPageTemplate } from '../../../layout'; import { Result } from '../../../result'; import { Result as ResultType } from '../../../result/types'; +import { convertToResultFormat } from '../../curation/results'; import { getCurationsBreadcrumbs } from '../../utils'; import { CurationActionBar } from './curation_action_bar'; @@ -35,14 +36,15 @@ import { DATA } from './temp_data'; export const CurationSuggestion: React.FC = () => { const { query } = useDecodedParams(); + const { engine, isMetaEngine } = useValues(EngineLogic); const curationSuggestionLogic = CurationSuggestionLogic({ query }); const { loadSuggestion } = useActions(curationSuggestionLogic); - const { engine, isMetaEngine } = useValues(EngineLogic); - const { suggestion, suggestedPromotedDocuments, dataLoading } = + const { suggestion, suggestedPromotedDocuments, curation, dataLoading } = useValues(curationSuggestionLogic); const [showOrganicResults, setShowOrganicResults] = useState(false); const currentOrganicResults = [...DATA].splice(5, 4); const proposedOrganicResults = [...DATA].splice(2, 4); + const existingCurationResults = curation ? curation.promoted.map(convertToResultFormat) : []; const suggestionQuery = suggestion?.query || ''; @@ -79,7 +81,7 @@ export const CurationSuggestion: React.FC = () => { </h2> </EuiTitle> <EuiSpacer size="s" /> - <CurationResultPanel variant="current" results={[...DATA].splice(0, 3)} /> + <CurationResultPanel variant="current" results={existingCurationResults} /> </EuiFlexItem> <EuiFlexItem> <EuiTitle size="xxs"> diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion_logic.test.ts index 6e616dcd9452c..af694c3756fd1 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion_logic.test.ts @@ -11,22 +11,41 @@ import { mockHttpValues, } from '../../../../../__mocks__/kea_logic'; +import { set } from 'lodash/fp'; + import '../../../../__mocks__/engine_logic.mock'; import { nextTick } from '@kbn/test/jest'; +import { CurationSuggestion } from '../../types'; + import { CurationSuggestionLogic } from './curation_suggestion_logic'; const DEFAULT_VALUES = { dataLoading: true, suggestion: null, suggestedPromotedDocuments: [], + curation: null, }; -const suggestion = { +const suggestion: CurationSuggestion = { query: 'foo', updated_at: '2021-07-08T14:35:50Z', promoted: ['1', '2', '3'], + status: 'applied', +}; + +const curation = { + id: 'cur-6155e69c7a2f2e4f756303fd', + queries: ['foo'], + promoted: [ + { + id: '5', + }, + ], + hidden: [], + last_updated: 'September 30, 2021 at 04:32PM', + organic: [], }; const suggestedPromotedDocuments = [ @@ -114,16 +133,18 @@ describe('CurationSuggestionLogic', () => { describe('actions', () => { describe('onSuggestionLoaded', () => { - it('should save the loaded suggestion and promoted documents associated with that suggestion and set dataLoading to false', () => { + it('should save provided state and set dataLoading to false', () => { mountLogic(); CurationSuggestionLogic.actions.onSuggestionLoaded({ suggestion, suggestedPromotedDocuments, + curation, }); expect(CurationSuggestionLogic.values).toEqual({ ...DEFAULT_VALUES, suggestion, suggestedPromotedDocuments, + curation, dataLoading: false, }); }); @@ -143,7 +164,7 @@ describe('CurationSuggestionLogic', () => { }); }); - it('should make an API call and trigger onSuggestionLoaded', async () => { + it('should make API calls to fetch data and trigger onSuggestionLoaded', async () => { http.post.mockReturnValueOnce(Promise.resolve(MOCK_RESPONSE)); http.post.mockReturnValueOnce(Promise.resolve(MOCK_DOCUMENTS_RESPONSE)); mountLogic(); @@ -186,6 +207,7 @@ describe('CurationSuggestionLogic', () => { query: 'foo', updated_at: '2021-07-08T14:35:50Z', promoted: ['1', '2', '3'], + status: 'applied', }, // Note that these were re-ordered to match the 'promoted' list above, and since document // 3 was not found it is not included in this list @@ -209,6 +231,36 @@ describe('CurationSuggestionLogic', () => { }, }, ], + curation: null, + }); + }); + + it('will also fetch curation details if the suggestion has a curation_id', async () => { + http.post.mockReturnValueOnce( + Promise.resolve( + set('results[0].curation_id', 'cur-6155e69c7a2f2e4f756303fd', MOCK_RESPONSE) + ) + ); + http.post.mockReturnValueOnce(Promise.resolve(MOCK_DOCUMENTS_RESPONSE)); + http.get.mockReturnValueOnce(Promise.resolve(curation)); + mountLogic({ + suggestion: set('curation_id', 'cur-6155e69c7a2f2e4f756303fd', suggestion), + }); + jest.spyOn(CurationSuggestionLogic.actions, 'onSuggestionLoaded'); + + CurationSuggestionLogic.actions.loadSuggestion(); + await nextTick(); + + expect(http.get).toHaveBeenCalledWith( + '/internal/app_search/engines/some-engine/curations/cur-6155e69c7a2f2e4f756303fd', + { query: { skip_record_analytics: 'true' } } + ); + await nextTick(); + + expect(CurationSuggestionLogic.actions.onSuggestionLoaded).toHaveBeenCalledWith({ + suggestion: expect.any(Object), + suggestedPromotedDocuments: expect.any(Object), + curation, }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion_logic.ts index d3f27be122060..3c3af8bfd96c8 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/views/curation_suggestion/curation_suggestion_logic.ts @@ -6,17 +6,19 @@ */ import { kea, MakeLogicType } from 'kea'; +import { HttpSetup } from 'kibana/public'; import { flashAPIErrors } from '../../../../../shared/flash_messages'; import { HttpLogic } from '../../../../../shared/http'; import { EngineLogic } from '../../../engine'; import { Result } from '../../../result/types'; -import { CurationSuggestion } from '../../types'; +import { Curation, CurationSuggestion } from '../../types'; interface CurationSuggestionValues { dataLoading: boolean; suggestion: CurationSuggestion | null; suggestedPromotedDocuments: Result[]; + curation: Curation | null; } interface CurationSuggestionActions { @@ -24,12 +26,15 @@ interface CurationSuggestionActions { onSuggestionLoaded({ suggestion, suggestedPromotedDocuments, + curation, }: { suggestion: CurationSuggestion; suggestedPromotedDocuments: Result[]; + curation: Curation; }): { suggestion: CurationSuggestion; suggestedPromotedDocuments: Result[]; + curation: Curation; }; } @@ -43,9 +48,10 @@ export const CurationSuggestionLogic = kea< path: ['enterprise_search', 'app_search', 'curations', 'suggestion_logic'], actions: () => ({ loadSuggestion: true, - onSuggestionLoaded: ({ suggestion, suggestedPromotedDocuments }) => ({ + onSuggestionLoaded: ({ suggestion, suggestedPromotedDocuments, curation }) => ({ suggestion, suggestedPromotedDocuments, + curation, }), }), reducers: () => ({ @@ -68,6 +74,12 @@ export const CurationSuggestionLogic = kea< onSuggestionLoaded: (_, { suggestedPromotedDocuments }) => suggestedPromotedDocuments, }, ], + curation: [ + null, + { + onSuggestionLoaded: (_, { curation }) => curation, + }, + ], }), listeners: ({ actions, props }) => ({ loadSuggestion: async () => { @@ -75,44 +87,20 @@ export const CurationSuggestionLogic = kea< const { engineName } = EngineLogic.values; try { - const response = await http.post( - `/internal/app_search/engines/${engineName}/search_relevance_suggestions/${props.query}`, - { - body: JSON.stringify({ - page: { - current: 1, - size: 1, - }, - filters: { - status: ['pending'], - type: 'curation', - }, - }), - } - ); + const suggestion = await getSuggestions(http, engineName, props.query); + const promotedIds: string[] = suggestion.promoted; + const documentDetailsResopnse = getDocumentDetails(http, engineName, promotedIds); - const suggestion = response.results[0]; + let promises = [documentDetailsResopnse]; + if (suggestion.curation_id) { + promises = [...promises, getCuration(http, engineName, suggestion.curation_id)]; + } - const searchResponse = await http.post( - `/internal/app_search/engines/${engineName}/search`, - { - query: { query: '' }, - body: JSON.stringify({ - page: { - size: 100, - }, - filters: { - id: suggestion.promoted, - }, - }), - } - ); + const [documentDetails, curation] = await Promise.all(promises); // Filter out docs that were not found and maintain promoted order - const promotedIds: string[] = suggestion.promoted; - const documentDetails = searchResponse.results; const suggestedPromotedDocuments = promotedIds.reduce((acc: Result[], id: string) => { - const found = documentDetails.find( + const found = documentDetails.results.find( (documentDetail: Result) => documentDetail.id.raw === id ); if (!found) return acc; @@ -120,8 +108,9 @@ export const CurationSuggestionLogic = kea< }, []); actions.onSuggestionLoaded({ - suggestion: suggestion as CurationSuggestion, + suggestion, suggestedPromotedDocuments, + curation: curation || null, }); } catch (e) { flashAPIErrors(e); @@ -129,3 +118,48 @@ export const CurationSuggestionLogic = kea< }, }), }); + +const getSuggestions = async ( + http: HttpSetup, + engineName: string, + query: string +): Promise<CurationSuggestion> => { + const response = await http.post( + `/internal/app_search/engines/${engineName}/search_relevance_suggestions/${query}`, + { + body: JSON.stringify({ + page: { + current: 1, + size: 1, + }, + filters: { + status: ['pending'], + type: 'curation', + }, + }), + } + ); + + const suggestion = response.results[0] as CurationSuggestion; + return suggestion; +}; + +const getDocumentDetails = async (http: HttpSetup, engineName: string, documentIds: string[]) => { + return http.post(`/internal/app_search/engines/${engineName}/search`, { + query: { query: '' }, + body: JSON.stringify({ + page: { + size: 100, + }, + filters: { + id: documentIds, + }, + }), + }); +}; + +const getCuration = async (http: HttpSetup, engineName: string, curationId: string) => { + return http.get(`/internal/app_search/engines/${engineName}/curations/${curationId}`, { + query: { skip_record_analytics: 'true' }, + }); +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/types.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/types.ts index 2c22a3addf63b..d4c652ab9c7a7 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/types.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/types.ts @@ -22,6 +22,21 @@ export interface Engine { }; } +interface CurationSuggestionDetails { + count: number; + pending: number; + applied: number; + automated: number; + rejected: number; + disabled: number; + last_updated: string; +} + +interface SearchRelevanceSuggestionDetails { + count: number; + curation: CurationSuggestionDetails; +} + export interface EngineDetails extends Engine { created_at: string; document_count: number; @@ -38,6 +53,7 @@ export interface EngineDetails extends Engine { isMeta: boolean; engine_count?: number; includedEngines?: EngineDetails[]; + search_relevance_suggestions?: SearchRelevanceSuggestionDetails; } interface ResultField { diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/suggested_curations_callout.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/suggested_curations_callout.test.tsx new file mode 100644 index 0000000000000..38e57fa0483e6 --- /dev/null +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/suggested_curations_callout.test.tsx @@ -0,0 +1,59 @@ +/* + * 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 '../../../__mocks__/engine_logic.mock'; + +import { setMockValues } from '../../../../__mocks__/kea_logic'; + +import React from 'react'; + +import { shallow } from 'enzyme'; +import { set } from 'lodash/fp'; + +import { SuggestionsCallout } from '../../curations/components/suggestions_callout'; + +import { SuggestedCurationsCallout } from './suggested_curations_callout'; + +const MOCK_VALUES = { + // EngineLogic + engine: { + search_relevance_suggestions: { + curation: { + pending: 1, + }, + }, + }, +}; + +describe('SuggestedCurationsCallout', () => { + beforeEach(() => { + jest.clearAllMocks(); + setMockValues(MOCK_VALUES); + }); + + it('renders', () => { + const wrapper = shallow(<SuggestedCurationsCallout />); + + expect(wrapper.is(SuggestionsCallout)); + }); + + it('is empty when the suggestions are undefined', () => { + setMockValues({ ...MOCK_VALUES, engine: {} }); + + const wrapper = shallow(<SuggestedCurationsCallout />); + + expect(wrapper.isEmptyRender()).toBe(true); + }); + + it('is empty when no pending curations', () => { + const values = set('engine.search_relevance_suggestions.curation.pending', 0, MOCK_VALUES); + setMockValues(values); + + const wrapper = shallow(<SuggestedCurationsCallout />); + + expect(wrapper.isEmptyRender()).toBe(true); + }); +}); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/suggested_curations_callout.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/suggested_curations_callout.tsx new file mode 100644 index 0000000000000..a7155b7d2b161 --- /dev/null +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/components/suggested_curations_callout.tsx @@ -0,0 +1,45 @@ +/* + * 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 React from 'react'; + +import { useValues } from 'kea'; + +import { i18n } from '@kbn/i18n'; + +import { ENGINE_CURATIONS_PATH } from '../../../routes'; +import { SuggestionsCallout } from '../../curations/components/suggestions_callout'; +import { EngineLogic, generateEnginePath } from '../../engine'; + +export const SuggestedCurationsCallout: React.FC = () => { + const { + engine: { search_relevance_suggestions: searchRelevanceSuggestions }, + } = useValues(EngineLogic); + + const pendingCount = searchRelevanceSuggestions?.curation.pending; + + if (typeof searchRelevanceSuggestions === 'undefined' || pendingCount === 0) { + return null; + } + + return ( + <SuggestionsCallout + title={i18n.translate( + 'xpack.enterpriseSearch.appSearch.engine.suggestedCurationsCallout.title', + { defaultMessage: 'New suggested curations to review' } + )} + description={i18n.translate( + 'xpack.enterpriseSearch.appSearch.engine.suggestedCurationsCallout.description', + { + defaultMessage: + "Based on your engine's analytics, there are new suggested curations ready to review.", + } + )} + buttonTo={generateEnginePath(ENGINE_CURATIONS_PATH)} + lastUpdatedTimestamp={searchRelevanceSuggestions.curation.last_updated} + /> + ); +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_metrics.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_metrics.test.tsx index 14f182463d837..c80e5c2208c31 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_metrics.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_metrics.test.tsx @@ -16,6 +16,7 @@ import { shallow } from 'enzyme'; import { getPageTitle } from '../../../test_helpers'; import { TotalStats, TotalCharts, RecentApiLogs } from './components'; +import { SuggestedCurationsCallout } from './components/suggested_curations_callout'; import { EngineOverviewMetrics } from './engine_overview_metrics'; describe('EngineOverviewMetrics', () => { @@ -36,6 +37,7 @@ describe('EngineOverviewMetrics', () => { const wrapper = shallow(<EngineOverviewMetrics />); expect(getPageTitle(wrapper)).toEqual('Engine overview'); + expect(wrapper.find(SuggestedCurationsCallout)).toHaveLength(1); expect(wrapper.find(TotalStats)).toHaveLength(1); expect(wrapper.find(TotalCharts)).toHaveLength(1); expect(wrapper.find(RecentApiLogs)).toHaveLength(1); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_metrics.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_metrics.tsx index 9c3a900dfe115..d245b293467f3 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_metrics.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_metrics.tsx @@ -17,6 +17,8 @@ import { AppSearchPageTemplate } from '../layout'; import { TotalStats, TotalCharts, RecentApiLogs } from './components'; +import { SuggestedCurationsCallout } from './components/suggested_curations_callout'; + import { EngineOverviewLogic } from './'; export const EngineOverviewMetrics: React.FC = () => { @@ -38,6 +40,7 @@ export const EngineOverviewMetrics: React.FC = () => { isLoading={dataLoading} data-test-subj="EngineOverview" > + <SuggestedCurationsCallout /> <EuiFlexGroup> <EuiFlexItem grow={1}> <TotalStats /> diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_actions.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_actions.tsx index 52fbee90fe31a..5eac38b88937c 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_actions.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/result_actions.tsx @@ -18,7 +18,7 @@ interface Props { export const ResultActions: React.FC<Props> = ({ actions }) => { return ( <EuiFlexGroup gutterSize="s" responsive={false}> - {actions.map(({ onClick, title, iconType, iconColor }) => ( + {actions.map(({ onClick, title, iconType, iconColor, disabled }) => ( <EuiFlexItem key={title} grow={false}> <EuiButtonIcon iconType={iconType} @@ -26,6 +26,7 @@ export const ResultActions: React.FC<Props> = ({ actions }) => { color={iconColor ? iconColor : 'primary'} aria-label={title} title={title} + disabled={disabled} /> </EuiFlexItem> ))} diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/types.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/types.ts index 4be3eb137177b..d9f1bb394778e 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/types.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/result/types.ts @@ -41,4 +41,5 @@ export interface ResultAction { title: string; iconType: string; iconColor?: EuiButtonIconColor; + disabled?: boolean; } diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/constants/units.ts b/x-pack/plugins/enterprise_search/public/applications/shared/constants/units.ts index fdf879807bc6e..0a172974bd34c 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/constants/units.ts +++ b/x-pack/plugins/enterprise_search/public/applications/shared/constants/units.ts @@ -7,6 +7,10 @@ import { i18n } from '@kbn/i18n'; +export const ALL_DAYS_LABEL = i18n.translate('xpack.enterpriseSearch.units.allDaysLabel', { + defaultMessage: 'All days', +}); + export const MINUTES_UNIT_LABEL = i18n.translate('xpack.enterpriseSearch.units.minutesLabel', { defaultMessage: 'Minutes', }); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/__mocks__/content_sources.mock.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/__mocks__/content_sources.mock.ts index e7b4e543b5eb8..fab241163f470 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/__mocks__/content_sources.mock.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/__mocks__/content_sources.mock.ts @@ -51,9 +51,9 @@ const defaultIndexing = { rules: [], schedule: { full: 'P1D', - incremental: 'P2H', - delete: 'P10M', - permissions: 'P3H', + incremental: 'PT2H', + delete: 'PT10M', + permissions: 'PT3H', estimates: { full: { nextStart: '2021-09-30T15:37:38+00:00', diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/constants.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/constants.ts index 4a3b6a11c707d..2cec9f617cd27 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/constants.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/constants.ts @@ -768,8 +768,8 @@ export const BETWEEN_LABEL = i18n.translate('xpack.enterpriseSearch.workplaceSea defaultMessage: 'between', }); -export const EVERY_LABEL = i18n.translate('xpack.enterpriseSearch.workplaceSearch.everyLabel', { - defaultMessage: 'every', +export const ON_LABEL = i18n.translate('xpack.enterpriseSearch.workplaceSearch.onLabel', { + defaultMessage: 'on', }); export const AND = i18n.translate('xpack.enterpriseSearch.workplaceSearch.and', { diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/types.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/types.ts index 9956eae229a04..f81672e71e013 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/types.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/types.ts @@ -143,8 +143,9 @@ interface SyncIndexItem<T> { permissions?: T; } -interface IndexingSchedule extends SyncIndexItem<string> { +export interface IndexingSchedule extends SyncIndexItem<string> { estimates: SyncIndexItem<SyncEstimate>; + blockedWindows?: BlockedWindow[]; } export type SyncJobType = 'full' | 'incremental' | 'delete' | 'permissions'; @@ -162,7 +163,7 @@ export type DayOfWeek = typeof DAYS_OF_WEEK_VALUES[number]; export interface BlockedWindow { jobType: SyncJobType; - day: DayOfWeek; + day: DayOfWeek | 'all'; start: Moment; end: Moment; } diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.test.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.test.tsx index 883c8631365eb..83cf21ce86233 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.test.tsx @@ -105,84 +105,6 @@ describe('SourceSettings', () => { ); }); - it('handles disabling synchronization', () => { - const wrapper = shallow(<SourceSettings />); - - const synchronizeSwitch = wrapper.find('[data-test-subj="SynchronizeToggle"]').first(); - const event = { target: { checked: false } }; - synchronizeSwitch.prop('onChange')?.(event as any); - - wrapper.find('[data-test-subj="SaveSyncControlsButton"]').simulate('click'); - - expect(updateContentSource).toHaveBeenCalledWith(fullContentSources[0].id, { - indexing: { - enabled: false, - features: { - content_extraction: { enabled: true }, - thumbnails: { enabled: true }, - }, - }, - }); - }); - - it('handles disabling thumbnails', () => { - const wrapper = shallow(<SourceSettings />); - - const thumbnailsSwitch = wrapper.find('[data-test-subj="ThumbnailsToggle"]').first(); - const event = { target: { checked: false } }; - thumbnailsSwitch.prop('onChange')?.(event as any); - - wrapper.find('[data-test-subj="SaveSyncControlsButton"]').simulate('click'); - - expect(updateContentSource).toHaveBeenCalledWith(fullContentSources[0].id, { - indexing: { - enabled: true, - features: { - content_extraction: { enabled: true }, - thumbnails: { enabled: false }, - }, - }, - }); - }); - - it('handles disabling content extraction', () => { - const wrapper = shallow(<SourceSettings />); - - const contentExtractionSwitch = wrapper - .find('[data-test-subj="ContentExtractionToggle"]') - .first(); - const event = { target: { checked: false } }; - contentExtractionSwitch.prop('onChange')?.(event as any); - - wrapper.find('[data-test-subj="SaveSyncControlsButton"]').simulate('click'); - - expect(updateContentSource).toHaveBeenCalledWith(fullContentSources[0].id, { - indexing: { - enabled: true, - features: { - content_extraction: { enabled: false }, - thumbnails: { enabled: true }, - }, - }, - }); - }); - - it('disables the thumbnails switch when globally disabled', () => { - setMockValues({ - ...mockValues, - contentSource: { - ...fullContentSources[0], - areThumbnailsConfigEnabled: false, - }, - }); - - const wrapper = shallow(<SourceSettings />); - - const synchronizeSwitch = wrapper.find('[data-test-subj="ThumbnailsToggle"]'); - - expect(synchronizeSwitch.prop('disabled')).toEqual(true); - }); - describe('DownloadDiagnosticsButton', () => { it('renders for org with correct href', () => { const wrapper = shallow(<SourceSettings />); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.tsx index 585477fed058e..dd8625ebd7a7c 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.tsx @@ -17,8 +17,6 @@ import { EuiFlexGroup, EuiFlexItem, EuiFormRow, - EuiSpacer, - EuiSwitch, } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; @@ -51,12 +49,6 @@ import { SYNC_DIAGNOSTICS_TITLE, SYNC_DIAGNOSTICS_DESCRIPTION, SYNC_DIAGNOSTICS_BUTTON, - SYNC_MANAGEMENT_TITLE, - SYNC_MANAGEMENT_DESCRIPTION, - SYNC_MANAGEMENT_SYNCHRONIZE_LABEL, - SYNC_MANAGEMENT_THUMBNAILS_LABEL, - SYNC_MANAGEMENT_THUMBNAILS_GLOBAL_CONFIG_LABEL, - SYNC_MANAGEMENT_CONTENT_EXTRACTION_LABEL, } from '../constants'; import { staticSourceData } from '../source_data'; import { SourceLogic } from '../source_logic'; @@ -70,22 +62,7 @@ export const SourceSettings: React.FC = () => { const { getSourceConfigData } = useActions(AddSourceLogic); const { - contentSource: { - name, - id, - serviceType, - custom: isCustom, - isIndexedSource, - areThumbnailsConfigEnabled, - isOauth1, - indexing: { - enabled, - features: { - contentExtraction: { enabled: contentExtractionEnabled }, - thumbnails: { enabled: thumbnailsEnabled }, - }, - }, - }, + contentSource: { name, id, serviceType, isOauth1 }, buttonLoading, } = useValues(SourceLogic); @@ -109,11 +86,6 @@ export const SourceSettings: React.FC = () => { const hideConfirm = () => setModalVisibility(false); const showConfig = isOrganization && !isEmpty(configuredFields); - const showSyncControls = isOrganization && isIndexedSource && !isCustom; - - const [synchronizeChecked, setSynchronize] = useState(enabled); - const [thumbnailsChecked, setThumbnails] = useState(thumbnailsEnabled); - const [contentExtractionChecked, setContentExtraction] = useState(contentExtractionEnabled); const { clientId, clientSecret, publicKey, consumerKey, baseUrl } = configuredFields || {}; @@ -130,18 +102,6 @@ export const SourceSettings: React.FC = () => { updateContentSource(id, { name: inputValue }); }; - const submitSyncControls = () => { - updateContentSource(id, { - indexing: { - enabled: synchronizeChecked, - features: { - content_extraction: { enabled: contentExtractionChecked }, - thumbnails: { enabled: thumbnailsChecked }, - }, - }, - }); - }; - const handleSourceRemoval = () => { /** * The modal was just hanging while the UI waited for the server to respond. @@ -221,58 +181,6 @@ export const SourceSettings: React.FC = () => { </EuiFormRow> </ContentSection> )} - {showSyncControls && ( - <ContentSection title={SYNC_MANAGEMENT_TITLE} description={SYNC_MANAGEMENT_DESCRIPTION}> - <EuiFlexGroup> - <EuiFlexItem grow={false}> - <EuiSwitch - checked={synchronizeChecked} - onChange={(e) => setSynchronize(e.target.checked)} - label={SYNC_MANAGEMENT_SYNCHRONIZE_LABEL} - data-test-subj="SynchronizeToggle" - /> - </EuiFlexItem> - </EuiFlexGroup> - <EuiSpacer /> - <EuiFlexGroup> - <EuiFlexItem grow={false}> - <EuiSwitch - checked={thumbnailsChecked} - onChange={(e) => setThumbnails(e.target.checked)} - label={ - areThumbnailsConfigEnabled - ? SYNC_MANAGEMENT_THUMBNAILS_LABEL - : SYNC_MANAGEMENT_THUMBNAILS_GLOBAL_CONFIG_LABEL - } - disabled={!areThumbnailsConfigEnabled} - data-test-subj="ThumbnailsToggle" - /> - </EuiFlexItem> - </EuiFlexGroup> - <EuiFlexGroup> - <EuiFlexItem grow={false}> - <EuiSwitch - checked={contentExtractionChecked} - onChange={(e) => setContentExtraction(e.target.checked)} - label={SYNC_MANAGEMENT_CONTENT_EXTRACTION_LABEL} - data-test-subj="ContentExtractionToggle" - /> - </EuiFlexItem> - </EuiFlexGroup> - <EuiSpacer /> - <EuiFlexGroup> - <EuiFlexItem grow={false}> - <EuiButton - color="primary" - onClick={submitSyncControls} - data-test-subj="SaveSyncControlsButton" - > - {SAVE_CHANGES_BUTTON} - </EuiButton> - </EuiFlexItem> - </EuiFlexGroup> - </ContentSection> - )} <ContentSection title={SYNC_DIAGNOSTICS_TITLE} description={SYNC_DIAGNOSTICS_DESCRIPTION}> <EuiButton target="_blank" diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.test.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.test.tsx index 9f8f0b08f3ca3..703b1f9d8c5fe 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.test.tsx @@ -11,7 +11,7 @@ import React from 'react'; import { shallow } from 'enzyme'; -import { EuiComboBox, EuiDatePicker, EuiSuperSelect } from '@elastic/eui'; +import { EuiDatePickerRange, EuiSelect, EuiSuperSelect } from '@elastic/eui'; import { BlockedWindowItem } from './blocked_window_item'; @@ -20,8 +20,8 @@ describe('BlockedWindowItem', () => { it('renders', () => { const wrapper = shallow(<BlockedWindowItem {...props} />); - expect(wrapper.find(EuiComboBox)).toHaveLength(1); + expect(wrapper.find(EuiSelect)).toHaveLength(1); expect(wrapper.find(EuiSuperSelect)).toHaveLength(1); - expect(wrapper.find(EuiDatePicker)).toHaveLength(2); + expect(wrapper.find(EuiDatePickerRange)).toHaveLength(1); }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.tsx index 80f4244101fd8..5aec23b5faaea 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_item.tsx @@ -7,20 +7,25 @@ import React from 'react'; +import moment from 'moment'; + import { EuiButton, - EuiComboBox, - EuiComboBoxOptionOption, EuiDatePicker, + EuiDatePickerRange, EuiFlexGroup, EuiFlexItem, + EuiIconTip, + EuiSelect, + EuiSelectOption, EuiSpacer, EuiSuperSelect, EuiText, } from '@elastic/eui'; +import { FormattedMessage } from '@kbn/i18n/react'; -import { DAYS_OF_WEEK_LABELS } from '../../../../../shared/constants'; -import { BLOCK_LABEL, BETWEEN_LABEL, EVERY_LABEL, AND, REMOVE_BUTTON } from '../../../../constants'; +import { ALL_DAYS_LABEL, DAYS_OF_WEEK_LABELS } from '../../../../../shared/constants'; +import { BLOCK_LABEL, BETWEEN_LABEL, ON_LABEL, REMOVE_BUTTON } from '../../../../constants'; import { BlockedWindow, DAYS_OF_WEEK_VALUES } from '../../../../types'; import { @@ -32,6 +37,7 @@ import { INCREMENTAL_SYNC_DESCRIPTION, DELETION_SYNC_DESCRIPTION, PERMISSIONS_SYNC_DESCRIPTION, + UTC_TITLE, } from '../../constants'; interface Props { @@ -81,13 +87,11 @@ const syncOptions = [ }, ]; -const dayPickerOptions = DAYS_OF_WEEK_VALUES.reduce((options, day) => { - options.push({ - label: DAYS_OF_WEEK_LABELS[day.toUpperCase() as keyof typeof DAYS_OF_WEEK_LABELS], - value: day, - }); - return options; -}, [] as Array<EuiComboBoxOptionOption<string>>); +const daySelectOptions = DAYS_OF_WEEK_VALUES.map((day) => ({ + text: DAYS_OF_WEEK_LABELS[day.toUpperCase() as keyof typeof DAYS_OF_WEEK_LABELS], + value: day, +})) as EuiSelectOption[]; +daySelectOptions.push({ text: ALL_DAYS_LABEL, value: 'all' }); export const BlockedWindowItem: React.FC<Props> = ({ blockedWindow }) => { const handleSyncTypeChange = () => '#TODO'; @@ -103,7 +107,7 @@ export const BlockedWindowItem: React.FC<Props> = ({ blockedWindow }) => { </EuiFlexItem> <EuiFlexItem grow={false} style={{ width: 175 }} className="blockedItemSyncSelect"> <EuiSuperSelect - valueOfSelected={'permissions'} + valueOfSelected={blockedWindow.jobType} options={syncOptions} onChange={handleSyncTypeChange} itemClassName="blockedWindowSelectItem" @@ -111,38 +115,51 @@ export const BlockedWindowItem: React.FC<Props> = ({ blockedWindow }) => { /> </EuiFlexItem> <EuiFlexItem grow={false}> - <EuiText>{BETWEEN_LABEL}</EuiText> + <EuiText>{ON_LABEL}</EuiText> </EuiFlexItem> - <EuiFlexItem grow={false} style={{ width: 128 }}> - <EuiDatePicker - showTimeSelect - showTimeSelectOnly - selected={blockedWindow.start} - onChange={handleStartDateChange} - dateFormat="hh:mm A" - timeFormat="hh:mm A" - /> + <EuiFlexItem style={{ minWidth: 130 }}> + <EuiSelect value={blockedWindow.day} options={daySelectOptions} /> </EuiFlexItem> <EuiFlexItem grow={false}> - <EuiText>{AND}</EuiText> + <EuiText>{BETWEEN_LABEL}</EuiText> </EuiFlexItem> - <EuiFlexItem grow={false} style={{ width: 128 }}> - <EuiDatePicker - showTimeSelect - showTimeSelectOnly - selected={blockedWindow.end} - onChange={handleEndDateChange} - dateFormat="hh:mm A" - timeFormat="hh:mm A" + <EuiFlexItem grow={false}> + <EuiDatePickerRange + startDateControl={ + <EuiDatePicker + showTimeSelect + showTimeSelectOnly + selected={moment(blockedWindow.start, 'HH:mm:ssZ')} + onChange={handleStartDateChange} + dateFormat="h:mm A" + timeFormat="h:mm A" + /> + } + endDateControl={ + <EuiDatePicker + showTimeSelect + showTimeSelectOnly + selected={moment(blockedWindow.end, 'HH:mm:ssZ')} + onChange={handleEndDateChange} + dateFormat="h:mm A" + timeFormat="h:mm A" + /> + } /> </EuiFlexItem> <EuiFlexItem grow={false}> - <EuiText>{EVERY_LABEL}</EuiText> - </EuiFlexItem> - <EuiFlexItem> - <EuiComboBox - selectedOptions={[dayPickerOptions[0], dayPickerOptions[1]]} - options={dayPickerOptions} + <EuiIconTip + title={UTC_TITLE} + type="iInCircle" + content={ + <EuiText size="s"> + <FormattedMessage + id="xpack.enterpriseSearch.workplaceSearch.sources.utcLabel" + defaultMessage="Current UTC time: {utcTime}" + values={{ utcTime: moment().utc().format('h:mm A') }} + /> + </EuiText> + } /> </EuiFlexItem> <EuiFlexItem grow={false}> diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_tab.test.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_tab.test.tsx index 0d5183b5e95e1..7cada1d39fb6e 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_tab.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_tab.test.tsx @@ -7,6 +7,7 @@ import '../../../../../__mocks__/shallow_useeffect.mock'; import { setMockActions, setMockValues } from '../../../../../__mocks__/kea_logic'; +import { fullContentSources } from '../../../../__mocks__/content_sources.mock'; import { blockedWindow } from './__mocks__/syncronization.mock'; import React from 'react'; @@ -25,6 +26,7 @@ describe('BlockedWindows', () => { }; const mockValues = { blockedWindows: [blockedWindow], + contentSource: fullContentSources[0], }; beforeEach(() => { diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_tab.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_tab.tsx index 474bf4cab2a8e..f0227f76d4aa5 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_tab.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/blocked_window_tab.tsx @@ -13,13 +13,15 @@ import { EuiButton, EuiEmptyPrompt, EuiSpacer } from '@elastic/eui'; import { ADD_LABEL } from '../../../../constants'; import { BLOCKED_EMPTY_STATE_TITLE, BLOCKED_EMPTY_STATE_DESCRIPTION } from '../../constants'; +import { SourceLogic } from '../../source_logic'; import { BlockedWindowItem } from './blocked_window_item'; import { SynchronizationLogic } from './synchronization_logic'; export const BlockedWindows: React.FC = () => { - const { blockedWindows } = useValues(SynchronizationLogic); - const { addBlockedWindow } = useActions(SynchronizationLogic); + const { contentSource } = useValues(SourceLogic); + const { blockedWindows } = useValues(SynchronizationLogic({ contentSource })); + const { addBlockedWindow } = useActions(SynchronizationLogic({ contentSource })); const hasBlockedWindows = blockedWindows.length > 0; diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.test.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.test.tsx index 08de4b41758a2..283c9a9cebbbd 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.test.tsx @@ -7,6 +7,7 @@ import '../../../../../__mocks__/shallow_useeffect.mock'; import { setMockActions, setMockValues } from '../../../../../__mocks__/kea_logic'; +import { fullContentSources } from '../../../../__mocks__/content_sources.mock'; import React from 'react'; @@ -23,7 +24,9 @@ describe('Frequency', () => { const mockActions = { handleSelectedTabChanged, }; - const mockValues = {}; + const mockValues = { + contentSource: fullContentSources[0], + }; beforeEach(() => { setMockActions(mockActions); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.tsx index fb19c84ecfdd1..914ec9dfe6eff 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency.tsx @@ -7,7 +7,7 @@ import React from 'react'; -import { useActions } from 'kea'; +import { useActions, useValues } from 'kea'; import { EuiButton, @@ -31,6 +31,7 @@ import { DIFFERENT_SYNC_TYPES_LINK_LABEL, SYNC_BEST_PRACTICES_LINK_LABEL, } from '../../constants'; +import { SourceLogic } from '../../source_logic'; import { SourceLayout } from '../source_layout'; import { BlockedWindows } from './blocked_window_tab'; @@ -42,7 +43,8 @@ interface FrequencyProps { } export const Frequency: React.FC<FrequencyProps> = ({ tabId }) => { - const { handleSelectedTabChanged } = useActions(SynchronizationLogic); + const { contentSource } = useValues(SourceLogic); + const { handleSelectedTabChanged } = useActions(SynchronizationLogic({ contentSource })); const tabs = [ { @@ -102,7 +104,7 @@ export const Frequency: React.FC<FrequencyProps> = ({ tabId }) => { action={actions} /> {docsLinks} - <EuiSpacer size="s" /> + <EuiSpacer /> <EuiTabbedContent tabs={tabs} selectedTab={tabs[tabId]} onTabClick={onSelectedTabChanged} /> </SourceLayout> ); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.test.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.test.tsx index fb346ad96117e..b3421539cb7ba 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.test.tsx @@ -8,57 +8,69 @@ import React from 'react'; import { shallow } from 'enzyme'; +import moment from 'moment'; -import { EuiFieldNumber, EuiSuperSelect } from '@elastic/eui'; +import { EuiFieldNumber } from '@elastic/eui'; import { FrequencyItem } from './frequency_item'; describe('FrequencyItem', () => { + const estimate = { + duration: 'PT3D', + nextStart: '2021-09-27T21:39:24+00:00', + lastRun: '2021-09-25T21:39:24+00:00', + }; + const props = { label: 'Item', description: 'My item', duration: 'PT2D', - estimate: { - duration: 'PT3D', - nextStart: '2021-09-27T21:39:24+00:00', - lastRun: '2021-09-25T21:39:24+00:00', - }, + estimate, }; it('renders', () => { const wrapper = shallow(<FrequencyItem {...props} />); - expect(wrapper.find(EuiSuperSelect)).toHaveLength(1); - expect(wrapper.find(EuiFieldNumber)).toHaveLength(1); + expect(wrapper.find(EuiFieldNumber)).toHaveLength(3); }); describe('ISO8601 formatting', () => { it('handles minutes display', () => { const wrapper = shallow(<FrequencyItem {...props} duration="P1DT2H3M4S" />); - expect(wrapper.find(EuiFieldNumber).prop('value')).toEqual(1563); - expect(wrapper.find(EuiSuperSelect).prop('valueOfSelected')).toEqual('minutes'); + expect(wrapper.find('[data-test-subj="durationMinutes"]').prop('value')).toEqual(3); }); it('handles hours display', () => { const wrapper = shallow(<FrequencyItem {...props} duration="P1DT2H" />); - expect(wrapper.find(EuiFieldNumber).prop('value')).toEqual(26); - expect(wrapper.find(EuiSuperSelect).prop('valueOfSelected')).toEqual('hours'); + expect(wrapper.find('[data-test-subj="durationHours"]').prop('value')).toEqual(2); }); it('handles days display', () => { const wrapper = shallow(<FrequencyItem {...props} duration="P3D" />); - expect(wrapper.find(EuiFieldNumber).prop('value')).toEqual(3); - expect(wrapper.find(EuiSuperSelect).prop('valueOfSelected')).toEqual('days'); + expect(wrapper.find('[data-test-subj="durationDays"]').prop('value')).toEqual(3); + }); + + it('handles "nextStart" that is in past', () => { + const wrapper = shallow(<FrequencyItem {...props} />); + + expect( + (wrapper.find('[data-test-subj="nextStartSummary"]').prop('values') as any)!.nextStartTime + ).toEqual('as soon as the currently running job finishes'); }); - it('handles seconds display (defaults to 1 minute)', () => { - const wrapper = shallow(<FrequencyItem {...props} duration="P44S" />); + it('handles "nextStart" that is in future', () => { + const estimateWithPastNextStart = { + ...estimate, + nextStart: moment().add(2, 'days').format(), + }; + const wrapper = shallow(<FrequencyItem {...props} estimate={estimateWithPastNextStart} />); - expect(wrapper.find(EuiFieldNumber).prop('value')).toEqual(1); - expect(wrapper.find(EuiSuperSelect).prop('valueOfSelected')).toEqual('minutes'); + expect( + (wrapper.find('[data-test-subj="nextStartSummary"]').prop('values') as any)!.nextStartTime + ).toEqual('in 2 days'); }); }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.tsx index 4e9eec28dc1eb..618f5c73d6099 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/frequency_item.tsx @@ -15,7 +15,6 @@ import { EuiFlexItem, EuiIconTip, EuiSpacer, - EuiSuperSelect, EuiText, } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; @@ -27,6 +26,8 @@ import { } from '../../../../../shared/constants'; import { SyncEstimate } from '../../../../types'; +import { NEXT_SYNC_RUNNING_MESSAGE } from '../../constants'; + interface Props { label: string; description: string; @@ -34,27 +35,11 @@ interface Props { estimate: SyncEstimate; } -const unitOptions = [ - { - value: 'minutes', - inputDisplay: MINUTES_UNIT_LABEL, - }, - { - value: 'hours', - inputDisplay: HOURS_UNIT_LABEL, - }, - { - value: 'days', - inputDisplay: DAYS_UNIT_LABEL, - }, -]; - export const FrequencyItem: React.FC<Props> = ({ label, description, duration, estimate }) => { - const [interval, unit] = formatDuration(duration); const { lastRun, nextStart, duration: durationEstimate } = estimate; const estimateDisplay = durationEstimate && moment.duration(durationEstimate).humanize(); - - const onChange = () => '#TODO'; + const nextStartIsPast = moment().isAfter(nextStart); + const nextStartTime = nextStartIsPast ? NEXT_SYNC_RUNNING_MESSAGE : moment(nextStart).fromNow(); const frequencyItemLabel = ( <FormattedMessage @@ -86,6 +71,7 @@ export const FrequencyItem: React.FC<Props> = ({ label, description, duration, e const nextStartSummary = ( <FormattedMessage + data-test-subj="nextStartSummary" id="xpack.enterpriseSearch.workplaceSearch.contentSources.synchronization.nextStartSummary" defaultMessage="{nextStartStrong} will begin {nextStartTime}." values={{ @@ -97,7 +83,7 @@ export const FrequencyItem: React.FC<Props> = ({ label, description, duration, e /> </strong> ), - nextStartTime: moment(nextStart).fromNow(), + nextStartTime, }} /> ); @@ -116,11 +102,26 @@ export const FrequencyItem: React.FC<Props> = ({ label, description, duration, e <EuiFlexItem grow={false}> <EuiText>{frequencyItemLabel}</EuiText> </EuiFlexItem> - <EuiFlexItem grow={false} style={{ width: 90 }}> - <EuiFieldNumber value={interval} /> + <EuiFlexItem grow={false} style={{ width: 120 }}> + <EuiFieldNumber + data-test-subj="durationDays" + value={moment.duration(duration).days()} + append={DAYS_UNIT_LABEL} + /> + </EuiFlexItem> + <EuiFlexItem grow={false} style={{ width: 120 }}> + <EuiFieldNumber + data-test-subj="durationHours" + value={moment.duration(duration).hours()} + append={HOURS_UNIT_LABEL} + /> </EuiFlexItem> - <EuiFlexItem grow={false} style={{ width: 128 }}> - <EuiSuperSelect valueOfSelected={unit} options={unitOptions} onChange={onChange} /> + <EuiFlexItem grow={false} style={{ width: 150 }}> + <EuiFieldNumber + data-test-subj="durationMinutes" + value={moment.duration(duration).minutes()} + append={MINUTES_UNIT_LABEL} + /> </EuiFlexItem> <EuiFlexItem grow={false}> <EuiIconTip title={label} type="iInCircle" content={description} /> @@ -134,24 +135,3 @@ export const FrequencyItem: React.FC<Props> = ({ label, description, duration, e </> ); }; - -// In most cases, the user will use the form to set the sync frequency, in which case the duration -// will be in the format of "PT3D" (ISO 8601). However, if an operator has set the sync frequency via -// the API, the duration could be a complex format, such as "P1DT2H3M4S". It was decided that in this -// case, we should omit seconds and go with the least common denominator from minutes. -// -// Example: "P1DT2H3M4S" -> "1563 Minutes" -const formatDuration = (duration: string): [interval: number, unit: string] => { - const momentDuration = moment.duration(duration); - if (duration.includes('M')) { - return [Math.round(momentDuration.asMinutes()), unitOptions[0].value]; - } - if (duration.includes('H')) { - return [Math.round(momentDuration.asHours()), unitOptions[1].value]; - } - if (duration.includes('D')) { - return [Math.round(momentDuration.asDays()), unitOptions[2].value]; - } - - return [1, unitOptions[0].value]; -}; diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/objects_and_assets.test.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/objects_and_assets.test.tsx new file mode 100644 index 0000000000000..42a08084db418 --- /dev/null +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/objects_and_assets.test.tsx @@ -0,0 +1,86 @@ +/* + * 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 '../../../../../__mocks__/shallow_useeffect.mock'; +import { setMockActions, setMockValues } from '../../../../../__mocks__/kea_logic'; +import { fullContentSources } from '../../../../__mocks__/content_sources.mock'; +import { blockedWindow } from './__mocks__/syncronization.mock'; + +import React from 'react'; + +import { shallow } from 'enzyme'; + +import { EuiSwitch } from '@elastic/eui'; + +import { ObjectsAndAssets } from './objects_and_assets'; + +describe('ObjectsAndAssets', () => { + const setThumbnailsChecked = jest.fn(); + const setContentExtractionChecked = jest.fn(); + const updateSyncSettings = jest.fn(); + const resetSyncSettings = jest.fn(); + const contentSource = fullContentSources[0]; + + const mockActions = { + setThumbnailsChecked, + setContentExtractionChecked, + updateSyncSettings, + resetSyncSettings, + }; + const mockValues = { + dataLoading: false, + blockedWindows: [blockedWindow], + contentSource, + thumbnailsChecked: true, + contentExtractionChecked: true, + hasUnsavedObjectsAndAssetsChanges: false, + }; + + beforeEach(() => { + setMockActions(mockActions); + setMockValues(mockValues); + }); + + it('renders', () => { + const wrapper = shallow(<ObjectsAndAssets />); + + expect(wrapper.find(EuiSwitch)).toHaveLength(2); + }); + + it('handles thumbnails switch change', () => { + const wrapper = shallow(<ObjectsAndAssets />); + wrapper + .find('[data-test-subj="ThumbnailsToggle"]') + .simulate('change', { target: { checked: false } }); + + expect(setThumbnailsChecked).toHaveBeenCalledWith(false); + }); + + it('handles content extraction switch change', () => { + const wrapper = shallow(<ObjectsAndAssets />); + wrapper + .find('[data-test-subj="ContentExtractionToggle"]') + .simulate('change', { target: { checked: false } }); + + expect(setContentExtractionChecked).toHaveBeenCalledWith(false); + }); + + it('renders correct text when areThumbnailsConfigEnabled is false', () => { + setMockValues({ + ...mockValues, + contentSource: { + ...contentSource, + areThumbnailsConfigEnabled: false, + }, + }); + const wrapper = shallow(<ObjectsAndAssets />); + + expect(wrapper.find('[data-test-subj="ThumbnailsToggle"]').prop('label')).toEqual( + 'Sync thumbnails - disabled at global configuration level' + ); + }); +}); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/objects_and_assets.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/objects_and_assets.tsx index 4c2804459f1ba..98abdb8bf67ea 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/objects_and_assets.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/objects_and_assets.tsx @@ -7,33 +7,113 @@ import React from 'react'; -import { EuiHorizontalRule, EuiLink } from '@elastic/eui'; +import { useActions, useValues } from 'kea'; +import { + EuiButton, + EuiButtonEmpty, + EuiFlexGroup, + EuiFlexItem, + EuiHorizontalRule, + EuiLink, + EuiSpacer, + EuiSwitch, + EuiText, +} from '@elastic/eui'; + +import { SAVE_BUTTON_LABEL } from '../../../../../shared/constants'; +import { UnsavedChangesPrompt } from '../../../../../shared/unsaved_changes_prompt'; import { ViewContentHeader } from '../../../../components/shared/view_content_header'; -import { NAV } from '../../../../constants'; +import { NAV, RESET_BUTTON } from '../../../../constants'; import { OBJECTS_AND_ASSETS_DOCS_URL } from '../../../../routes'; import { + SYNC_MANAGEMENT_CONTENT_EXTRACTION_LABEL, + SYNC_MANAGEMENT_THUMBNAILS_LABEL, + SYNC_MANAGEMENT_THUMBNAILS_GLOBAL_CONFIG_LABEL, SOURCE_OBJECTS_AND_ASSETS_DESCRIPTION, SYNC_OBJECTS_TYPES_LINK_LABEL, + SOURCE_OBJECTS_AND_ASSETS_LABEL, + SYNC_UNSAVED_CHANGES_MESSAGE, } from '../../constants'; +import { SourceLogic } from '../../source_logic'; import { SourceLayout } from '../source_layout'; +import { SynchronizationLogic } from './synchronization_logic'; + export const ObjectsAndAssets: React.FC = () => { + const { contentSource, dataLoading } = useValues(SourceLogic); + const { thumbnailsChecked, contentExtractionChecked, hasUnsavedObjectsAndAssetsChanges } = + useValues(SynchronizationLogic({ contentSource })); + const { + setThumbnailsChecked, + setContentExtractionChecked, + updateSyncSettings, + resetSyncSettings, + } = useActions(SynchronizationLogic({ contentSource })); + + const { areThumbnailsConfigEnabled } = contentSource; + + const actions = ( + <EuiFlexGroup> + <EuiFlexItem> + <EuiButtonEmpty onClick={resetSyncSettings} disabled={!hasUnsavedObjectsAndAssetsChanges}> + {RESET_BUTTON} + </EuiButtonEmpty> + </EuiFlexItem> + <EuiFlexItem> + <EuiButton fill onClick={updateSyncSettings} disabled={!hasUnsavedObjectsAndAssetsChanges}> + {SAVE_BUTTON_LABEL} + </EuiButton> + </EuiFlexItem> + </EuiFlexGroup> + ); + return ( <SourceLayout pageChrome={[NAV.SYNCHRONIZATION_OBJECTS_AND_ASSETS]} pageViewTelemetry="source_synchronization" - isLoading={false} + isLoading={dataLoading} > + <UnsavedChangesPrompt + hasUnsavedChanges={hasUnsavedObjectsAndAssetsChanges} + messageText={SYNC_UNSAVED_CHANGES_MESSAGE} + /> <ViewContentHeader title={NAV.SYNCHRONIZATION_OBJECTS_AND_ASSETS} description={SOURCE_OBJECTS_AND_ASSETS_DESCRIPTION} + action={actions} /> <EuiLink href={OBJECTS_AND_ASSETS_DOCS_URL} external> {SYNC_OBJECTS_TYPES_LINK_LABEL} </EuiLink> <EuiHorizontalRule /> - <div>TODO</div> + <EuiText size="m">{SOURCE_OBJECTS_AND_ASSETS_LABEL}</EuiText> + <EuiSpacer /> + <EuiFlexGroup> + <EuiFlexItem grow={false}> + <EuiSwitch + checked={thumbnailsChecked} + onChange={(e) => setThumbnailsChecked(e.target.checked)} + label={ + areThumbnailsConfigEnabled + ? SYNC_MANAGEMENT_THUMBNAILS_LABEL + : SYNC_MANAGEMENT_THUMBNAILS_GLOBAL_CONFIG_LABEL + } + disabled={!areThumbnailsConfigEnabled} + data-test-subj="ThumbnailsToggle" + /> + </EuiFlexItem> + </EuiFlexGroup> + <EuiFlexGroup> + <EuiFlexItem grow={false}> + <EuiSwitch + checked={contentExtractionChecked} + onChange={(e) => setContentExtractionChecked(e.target.checked)} + label={SYNC_MANAGEMENT_CONTENT_EXTRACTION_LABEL} + data-test-subj="ContentExtractionToggle" + /> + </EuiFlexItem> + </EuiFlexGroup> </SourceLayout> ); }; diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization.test.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization.test.tsx index 632af08611ca9..fb9cdc6916fa9 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization.test.tsx @@ -5,7 +5,8 @@ * 2.0. */ -import { setMockValues } from '../../../../../__mocks__/kea_logic'; +import { setMockValues, setMockActions } from '../../../../../__mocks__/kea_logic'; +import { fullContentSources } from '../../../../__mocks__/content_sources.mock'; import React from 'react'; @@ -16,8 +17,15 @@ import { EuiLink, EuiCallOut, EuiSwitch } from '@elastic/eui'; import { Synchronization } from './synchronization'; describe('Synchronization', () => { + const updateSyncEnabled = jest.fn(); + const mockvalues = { contentSource: fullContentSources[0] }; + + beforeEach(() => { + setMockActions({ updateSyncEnabled }); + setMockValues(mockvalues); + }); + it('renders when config enabled', () => { - setMockValues({ contentSource: { isSyncConfigEnabled: true } }); const wrapper = shallow(<Synchronization />); expect(wrapper.find(EuiLink)).toHaveLength(1); @@ -25,9 +33,16 @@ describe('Synchronization', () => { }); it('renders when config disabled', () => { - setMockValues({ contentSource: { isSyncConfigEnabled: false } }); + setMockValues({ contentSource: { isSyncConfigEnabled: false, indexing: { enabled: true } } }); const wrapper = shallow(<Synchronization />); expect(wrapper.find(EuiCallOut)).toHaveLength(1); }); + + it('handles EuiSwitch change event', () => { + const wrapper = shallow(<Synchronization />); + wrapper.find(EuiSwitch).simulate('change', { target: { checked: true } }); + + expect(updateSyncEnabled).toHaveBeenCalled(); + }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization.tsx index 21daee8f26d40..21c44225615ea 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization.tsx @@ -7,7 +7,7 @@ import React from 'react'; -import { useValues } from 'kea'; +import { useActions, useValues } from 'kea'; import { EuiCallOut, EuiLink, EuiPanel, EuiSwitch, EuiSpacer, EuiText } from '@elastic/eui'; @@ -25,17 +25,23 @@ import { import { SourceLogic } from '../../source_logic'; import { SourceLayout } from '../source_layout'; +import { SynchronizationLogic } from './synchronization_logic'; + export const Synchronization: React.FC = () => { + const { contentSource } = useValues(SourceLogic); + const { updateSyncEnabled } = useActions(SynchronizationLogic({ contentSource })); + const { - contentSource: { isSyncConfigEnabled }, - } = useValues(SourceLogic); + isSyncConfigEnabled, + indexing: { enabled }, + } = contentSource; - const onChange = (checked: boolean) => `#TODO: ${checked}`; + const onChange = (checked: boolean) => updateSyncEnabled(checked); const syncToggle = ( <EuiPanel hasBorder> <EuiSwitch label={SOURCE_SYNCRONIZATION_TOGGLE_LABEL} - checked + checked={enabled} onChange={(e) => onChange(e.target.checked)} /> <EuiSpacer size="m" /> diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.test.ts index 50553d1493417..298c315f4cf90 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.test.ts @@ -5,33 +5,54 @@ * 2.0. */ -import { LogicMounter, mockKibanaValues } from '../../../../../__mocks__/kea_logic'; +import { + LogicMounter, + mockFlashMessageHelpers, + mockHttpValues, + mockKibanaValues, +} from '../../../../../__mocks__/kea_logic'; +import { fullContentSources } from '../../../../__mocks__/content_sources.mock'; import { nextTick } from '@kbn/test/jest'; -const contentSource = { id: 'source123' }; +import { expectedAsyncError } from '../../../../../test_helpers'; + jest.mock('../../source_logic', () => ({ - SourceLogic: { values: { contentSource } }, + SourceLogic: { actions: { setContentSource: jest.fn() } }, })); +import { SourceLogic } from '../../source_logic'; jest.mock('../../../../app_logic', () => ({ AppLogic: { values: { isOrganization: true } }, })); -import { SynchronizationLogic, emptyBlockedWindow } from './synchronization_logic'; +import { + SynchronizationLogic, + emptyBlockedWindow, + stripScheduleSeconds, +} from './synchronization_logic'; describe('SynchronizationLogic', () => { + const { http } = mockHttpValues; + const { flashAPIErrors, flashSuccessToast } = mockFlashMessageHelpers; const { navigateToUrl } = mockKibanaValues; const { mount } = new LogicMounter(SynchronizationLogic); + const contentSource = fullContentSources[0]; const defaultValues = { navigatingBetweenTabs: false, + hasUnsavedObjectsAndAssetsChanges: false, + hasUnsavedFrequencyChanges: true, + contentExtractionChecked: true, + thumbnailsChecked: true, blockedWindows: [], + schedule: contentSource.indexing.schedule, + cachedSchedule: contentSource.indexing.schedule, }; beforeEach(() => { jest.clearAllMocks(); - mount(); + mount({}, { contentSource }); }); it('has expected default values', () => { @@ -50,6 +71,18 @@ describe('SynchronizationLogic', () => { expect(SynchronizationLogic.values.blockedWindows).toEqual([emptyBlockedWindow]); }); + + it('setThumbnailsChecked', () => { + SynchronizationLogic.actions.setThumbnailsChecked(false); + + expect(SynchronizationLogic.values.thumbnailsChecked).toEqual(false); + }); + + it('setContentExtractionChecked', () => { + SynchronizationLogic.actions.setContentExtractionChecked(false); + + expect(SynchronizationLogic.values.contentExtractionChecked).toEqual(false); + }); }); describe('listeners', () => { @@ -63,7 +96,7 @@ describe('SynchronizationLogic', () => { await nextTick(); expect(setNavigatingBetweenTabsSpy).toHaveBeenCalledWith(true); - expect(navigateToUrl).toHaveBeenCalledWith('/sources/source123/synchronization/frequency'); + expect(navigateToUrl).toHaveBeenCalledWith('/sources/123/synchronization/frequency'); }); it('calls calls correct route for "blocked_time_windows"', async () => { @@ -71,9 +104,139 @@ describe('SynchronizationLogic', () => { await nextTick(); expect(navigateToUrl).toHaveBeenCalledWith( - '/sources/source123/synchronization/frequency/blocked_windows' + '/sources/123/synchronization/frequency/blocked_windows' + ); + }); + }); + + describe('updateSyncEnabled', () => { + it('calls API and sets values for false value', async () => { + const setContentSourceSpy = jest.spyOn(SourceLogic.actions, 'setContentSource'); + const promise = Promise.resolve(contentSource); + http.patch.mockReturnValue(promise); + SynchronizationLogic.actions.updateSyncEnabled(false); + + expect(http.patch).toHaveBeenCalledWith( + '/internal/workplace_search/org/sources/123/settings', + { + body: JSON.stringify({ + content_source: { + indexing: { enabled: false }, + }, + }), + } + ); + await promise; + expect(setContentSourceSpy).toHaveBeenCalledWith(contentSource); + expect(flashSuccessToast).toHaveBeenCalledWith('Source synchronization disabled.'); + }); + + it('calls API and sets values for true value', async () => { + const promise = Promise.resolve(contentSource); + http.patch.mockReturnValue(promise); + SynchronizationLogic.actions.updateSyncEnabled(true); + + expect(http.patch).toHaveBeenCalledWith( + '/internal/workplace_search/org/sources/123/settings', + { + body: JSON.stringify({ + content_source: { + indexing: { enabled: true }, + }, + }), + } + ); + await promise; + expect(flashSuccessToast).toHaveBeenCalledWith('Source synchronization enabled.'); + }); + + it('handles error', async () => { + const error = { + response: { + error: 'this is an error', + status: 400, + }, + }; + const promise = Promise.reject(error); + http.patch.mockReturnValue(promise); + SynchronizationLogic.actions.updateSyncEnabled(false); + await expectedAsyncError(promise); + + expect(flashAPIErrors).toHaveBeenCalledWith(error); + }); + }); + + describe('resetSyncSettings', () => { + it('calls methods', async () => { + const setThumbnailsCheckedSpy = jest.spyOn( + SynchronizationLogic.actions, + 'setThumbnailsChecked' ); + const setContentExtractionCheckedSpy = jest.spyOn( + SynchronizationLogic.actions, + 'setContentExtractionChecked' + ); + SynchronizationLogic.actions.resetSyncSettings(); + + expect(setThumbnailsCheckedSpy).toHaveBeenCalledWith(true); + expect(setContentExtractionCheckedSpy).toHaveBeenCalledWith(true); }); }); + + describe('updateSyncSettings', () => { + it('calls API and sets values', async () => { + const setContentSourceSpy = jest.spyOn(SourceLogic.actions, 'setContentSource'); + const promise = Promise.resolve(contentSource); + http.patch.mockReturnValue(promise); + SynchronizationLogic.actions.updateSyncSettings(); + + expect(http.patch).toHaveBeenCalledWith( + '/internal/workplace_search/org/sources/123/settings', + { + body: JSON.stringify({ + content_source: { + indexing: { + features: { + content_extraction: { enabled: true }, + thumbnails: { enabled: true }, + }, + }, + }, + }), + } + ); + await promise; + expect(setContentSourceSpy).toHaveBeenCalledWith(contentSource); + expect(flashSuccessToast).toHaveBeenCalledWith('Source synchronization settings updated.'); + }); + + it('handles error', async () => { + const error = { + response: { + error: 'this is an error', + status: 400, + }, + }; + const promise = Promise.reject(error); + http.patch.mockReturnValue(promise); + SynchronizationLogic.actions.updateSyncSettings(); + await expectedAsyncError(promise); + + expect(flashAPIErrors).toHaveBeenCalledWith(error); + }); + }); + }); + + describe('stripScheduleSeconds', () => { + it('handles case where permissions not present', () => { + const schedule = { + full: 'P3D', + incremental: 'P5D', + delete: 'PT2H', + }; + const stripped = stripScheduleSeconds(schedule as any); + + expect(stripped.permissions).toBeUndefined(); + }); }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.ts index 4f67f6471e6e1..3aaa7f5fdfbf3 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/synchronization/synchronization_logic.ts @@ -6,10 +6,13 @@ */ import { kea, MakeLogicType } from 'kea'; +import { cloneDeep, isEqual } from 'lodash'; import moment from 'moment'; export type TabId = 'source_sync_frequency' | 'blocked_time_windows'; +import { flashAPIErrors, flashSuccessToast } from '../../../../../shared/flash_messages'; +import { HttpLogic } from '../../../../../shared/http'; import { KibanaLogic } from '../../../../../shared/kibana'; import { AppLogic } from '../../../../app_logic'; import { @@ -17,20 +20,35 @@ import { BLOCKED_TIME_WINDOWS_PATH, getContentSourcePath, } from '../../../../routes'; -import { BlockedWindow } from '../../../../types'; +import { BlockedWindow, IndexingSchedule } from '../../../../types'; +import { + SYNC_ENABLED_MESSAGE, + SYNC_DISABLED_MESSAGE, + SYNC_SETTINGS_UPDATED_MESSAGE, +} from '../../constants'; import { SourceLogic } from '../../source_logic'; interface SynchronizationActions { setNavigatingBetweenTabs(navigatingBetweenTabs: boolean): boolean; handleSelectedTabChanged(tabId: TabId): TabId; addBlockedWindow(): void; + updateSyncSettings(): void; + resetSyncSettings(): void; + updateSyncEnabled(enabled: boolean): boolean; + setThumbnailsChecked(checked: boolean): boolean; + setContentExtractionChecked(checked: boolean): boolean; } interface SynchronizationValues { - hasUnsavedChanges: boolean; navigatingBetweenTabs: boolean; + hasUnsavedFrequencyChanges: boolean; + hasUnsavedObjectsAndAssetsChanges: boolean; + thumbnailsChecked: boolean; + contentExtractionChecked: boolean; blockedWindows: BlockedWindow[]; + cachedSchedule: IndexingSchedule; + schedule: IndexingSchedule; } export const emptyBlockedWindow: BlockedWindow = { @@ -43,12 +61,18 @@ export const emptyBlockedWindow: BlockedWindow = { export const SynchronizationLogic = kea< MakeLogicType<SynchronizationValues, SynchronizationActions> >({ + path: ['enterprise_search', 'workplace_search', 'synchronization_logic'], actions: { setNavigatingBetweenTabs: (navigatingBetweenTabs: boolean) => navigatingBetweenTabs, handleSelectedTabChanged: (tabId: TabId) => tabId, + updateSyncEnabled: (enabled: boolean) => enabled, + setThumbnailsChecked: (checked: boolean) => checked, + setContentExtractionChecked: (checked: boolean) => checked, + updateSyncSettings: true, + resetSyncSettings: true, addBlockedWindow: true, }, - reducers: { + reducers: ({ props }) => ({ navigatingBetweenTabs: [ false, { @@ -56,16 +80,58 @@ export const SynchronizationLogic = kea< }, ], blockedWindows: [ - [], + props.contentSource.indexing.schedule.blockedWindows || [], { addBlockedWindow: (state, _) => [...state, emptyBlockedWindow], }, ], - }, - listeners: ({ actions }) => ({ + thumbnailsChecked: [ + props.contentSource.indexing.features.thumbnails.enabled, + { + setThumbnailsChecked: (_, thumbnailsChecked) => thumbnailsChecked, + }, + ], + contentExtractionChecked: [ + props.contentSource.indexing.features.contentExtraction.enabled, + { + setContentExtractionChecked: (_, contentExtractionChecked) => contentExtractionChecked, + }, + ], + cachedSchedule: [stripScheduleSeconds(props.contentSource.indexing.schedule)], + schedule: [stripScheduleSeconds(props.contentSource.indexing.schedule)], + }), + selectors: ({ selectors }) => ({ + hasUnsavedObjectsAndAssetsChanges: [ + () => [ + selectors.thumbnailsChecked, + selectors.contentExtractionChecked, + (_, props) => props.contentSource, + ], + (thumbnailsChecked, contentExtractionChecked, contentSource) => { + const { + indexing: { + features: { + thumbnails: { enabled: thumbnailsEnabled }, + contentExtraction: { enabled: contentExtractionEnabled }, + }, + }, + } = contentSource; + + return ( + thumbnailsChecked !== thumbnailsEnabled || + contentExtractionChecked !== contentExtractionEnabled + ); + }, + ], + hasUnsavedFrequencyChanges: [ + () => [selectors.cachedSchedule, selectors.schedule], + (cachedSchedule, schedule) => isEqual(cachedSchedule, schedule), + ], + }), + listeners: ({ actions, values, props }) => ({ handleSelectedTabChanged: async (tabId, breakpoint) => { const { isOrganization } = AppLogic.values; - const { id: sourceId } = SourceLogic.values.contentSource; + const { id: sourceId } = props.contentSource; const path = tabId === 'source_sync_frequency' ? getContentSourcePath(SYNC_FREQUENCY_PATH, sourceId, isOrganization) @@ -82,5 +148,70 @@ export const SynchronizationLogic = kea< KibanaLogic.values.navigateToUrl(path); actions.setNavigatingBetweenTabs(false); }, + updateSyncEnabled: async (enabled) => { + const { id: sourceId } = props.contentSource; + const route = `/internal/workplace_search/org/sources/${sourceId}/settings`; + const successMessage = enabled ? SYNC_ENABLED_MESSAGE : SYNC_DISABLED_MESSAGE; + + try { + const response = await HttpLogic.values.http.patch(route, { + body: JSON.stringify({ content_source: { indexing: { enabled } } }), + }); + + SourceLogic.actions.setContentSource(response); + flashSuccessToast(successMessage); + } catch (e) { + flashAPIErrors(e); + } + }, + resetSyncSettings: () => { + actions.setThumbnailsChecked(props.contentSource.indexing.features.thumbnails.enabled); + actions.setContentExtractionChecked( + props.contentSource.indexing.features.contentExtraction.enabled + ); + }, + updateSyncSettings: async () => { + const { id: sourceId } = props.contentSource; + const route = `/internal/workplace_search/org/sources/${sourceId}/settings`; + + try { + const response = await HttpLogic.values.http.patch(route, { + body: JSON.stringify({ + content_source: { + indexing: { + features: { + content_extraction: { enabled: values.contentExtractionChecked }, + thumbnails: { enabled: values.thumbnailsChecked }, + }, + }, + }, + }), + }); + + SourceLogic.actions.setContentSource(response); + flashSuccessToast(SYNC_SETTINGS_UPDATED_MESSAGE); + } catch (e) { + flashAPIErrors(e); + } + }, }), }); + +const SECONDS_IN_MS = 1000; +const getDurationMS = (time: string): number => moment.duration(time).seconds() * SECONDS_IN_MS; +const getISOStringWithoutSeconds = (time: string): string => + moment.duration(time).subtract(getDurationMS(time)).toISOString(); + +// The API allows for setting schedule values with seconds. The UI feature does not allow for setting +// values with seconds. This function strips the seconds from the schedule values for equality checks +// to determine if the user has unsaved changes. +export const stripScheduleSeconds = (schedule: IndexingSchedule): IndexingSchedule => { + const _schedule = cloneDeep(schedule); + const { full, incremental, delete: _delete, permissions } = _schedule; + _schedule.full = getISOStringWithoutSeconds(full); + _schedule.incremental = getISOStringWithoutSeconds(incremental); + _schedule.delete = getISOStringWithoutSeconds(_delete); + if (permissions) _schedule.permissions = getISOStringWithoutSeconds(permissions); + + return _schedule; +}; diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/constants.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/constants.ts index ae55a970a4f9f..1f76d667949fb 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/constants.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/constants.ts @@ -306,20 +306,6 @@ export const SOURCE_CONFIG_TITLE = i18n.translate( } ); -export const SYNC_MANAGEMENT_TITLE = i18n.translate( - 'xpack.enterpriseSearch.workplaceSearch.contentSources.syncManagementTitle', - { - defaultMessage: 'Sync management', - } -); - -export const SYNC_MANAGEMENT_DESCRIPTION = i18n.translate( - 'xpack.enterpriseSearch.workplaceSearch.contentSources.syncManagementDescription', - { - defaultMessage: 'Enable and disable extraction of specific content for this source.', - } -); - export const SYNC_MANAGEMENT_SYNCHRONIZE_LABEL = i18n.translate( 'xpack.enterpriseSearch.workplaceSearch.contentSources.syncManagementSynchronizeLabel', { @@ -344,7 +330,7 @@ export const SYNC_MANAGEMENT_THUMBNAILS_GLOBAL_CONFIG_LABEL = i18n.translate( export const SYNC_MANAGEMENT_CONTENT_EXTRACTION_LABEL = i18n.translate( 'xpack.enterpriseSearch.workplaceSearch.contentSources.syncManagementContentExtractionLabel', { - defaultMessage: 'Sync all text and content', + defaultMessage: 'Sync full-text from files', } ); @@ -565,6 +551,13 @@ export const SOURCE_OBJECTS_AND_ASSETS_DESCRIPTION = i18n.translate( } ); +export const SOURCE_OBJECTS_AND_ASSETS_LABEL = i18n.translate( + 'xpack.enterpriseSearch.workplaceSearch.sources.sourceObjectsAndAssetsLabel', + { + defaultMessage: 'Object and details to include in search results', + } +); + export const SOURCE_SYNCRONIZATION_TOGGLE_LABEL = i18n.translate( 'xpack.enterpriseSearch.workplaceSearch.sources.sourceSyncronizationToggleLabel', { @@ -711,3 +704,42 @@ export const BLOCKED_EMPTY_STATE_DESCRIPTION = i18n.translate( defaultMessage: 'Add a blocked time window to only perform syncs at the right time.', } ); + +export const SYNC_ENABLED_MESSAGE = i18n.translate( + 'xpack.enterpriseSearch.workplaceSearch.sources.syncEnabledMessage', + { + defaultMessage: 'Source synchronization enabled.', + } +); + +export const SYNC_DISABLED_MESSAGE = i18n.translate( + 'xpack.enterpriseSearch.workplaceSearch.sources.syncDisabledMessage', + { + defaultMessage: 'Source synchronization disabled.', + } +); + +export const SYNC_SETTINGS_UPDATED_MESSAGE = i18n.translate( + 'xpack.enterpriseSearch.workplaceSearch.sources.syncSettingsUpdatedMessage', + { + defaultMessage: 'Source synchronization settings updated.', + } +); + +export const SYNC_UNSAVED_CHANGES_MESSAGE = i18n.translate( + 'xpack.enterpriseSearch.workplaceSearch.sources.syncUnsavedChangesMessage', + { + defaultMessage: 'Your changes have not been saved. Are you sure you want to leave?', + } +); + +export const NEXT_SYNC_RUNNING_MESSAGE = i18n.translate( + 'xpack.enterpriseSearch.workplaceSearch.sources.nextSyncRunningMessage', + { + defaultMessage: 'as soon as the currently running job finishes', + } +); + +export const UTC_TITLE = i18n.translate('xpack.enterpriseSearch.workplaceSearch.sources.utcTitle', { + defaultMessage: 'All times are in UTC', +}); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.test.ts index 0d8d5684c4a4c..1fb4477cea5c0 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.test.ts @@ -58,8 +58,8 @@ describe('SourceLogic', () => { }); describe('actions', () => { - it('onInitializeSource', () => { - SourceLogic.actions.onInitializeSource(contentSource); + it('setContentSource', () => { + SourceLogic.actions.setContentSource(contentSource); expect(SourceLogic.values.contentSource).toEqual(contentSource); expect(SourceLogic.values.dataLoading).toEqual(false); @@ -67,7 +67,7 @@ describe('SourceLogic', () => { it('onUpdateSourceName', () => { const NAME = 'foo'; - SourceLogic.actions.onInitializeSource(contentSource); + SourceLogic.actions.setContentSource(contentSource); SourceLogic.actions.onUpdateSourceName(NAME); expect(SourceLogic.values.contentSource).toEqual({ @@ -88,7 +88,7 @@ describe('SourceLogic', () => { it('setContentFilterValue', () => { const VALUE = 'bar'; SourceLogic.actions.setSearchResults(searchServerResponse); - SourceLogic.actions.onInitializeSource(contentSource); + SourceLogic.actions.setContentSource(contentSource); SourceLogic.actions.setContentFilterValue(VALUE); expect(SourceLogic.values.contentMeta).toEqual({ @@ -127,7 +127,7 @@ describe('SourceLogic', () => { describe('listeners', () => { describe('initializeSource', () => { it('calls API and sets values (org)', async () => { - const onInitializeSourceSpy = jest.spyOn(SourceLogic.actions, 'onInitializeSource'); + const onInitializeSourceSpy = jest.spyOn(SourceLogic.actions, 'setContentSource'); const promise = Promise.resolve(contentSource); http.get.mockReturnValue(promise); SourceLogic.actions.initializeSource(contentSource.id); @@ -140,7 +140,7 @@ describe('SourceLogic', () => { it('calls API and sets values (account)', async () => { AppLogic.values.isOrganization = false; - const onInitializeSourceSpy = jest.spyOn(SourceLogic.actions, 'onInitializeSource'); + const onInitializeSourceSpy = jest.spyOn(SourceLogic.actions, 'setContentSource'); const promise = Promise.resolve(contentSource); http.get.mockReturnValue(promise); SourceLogic.actions.initializeSource(contentSource.id); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.ts index c31eacda69515..d10400bc5ba2d 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.ts @@ -23,7 +23,7 @@ import { PRIVATE_SOURCES_PATH, SOURCES_PATH, getSourcesPath } from '../../routes import { ContentSourceFullData, Meta, DocumentSummaryItem, SourceContentItem } from '../../types'; export interface SourceActions { - onInitializeSource(contentSource: ContentSourceFullData): ContentSourceFullData; + setContentSource(contentSource: ContentSourceFullData): ContentSourceFullData; onUpdateSourceName(name: string): string; setSearchResults(searchResultsResponse: SearchResultsResponse): SearchResultsResponse; initializeFederatedSummary(sourceId: string): { sourceId: string }; @@ -73,7 +73,7 @@ interface SourceUpdatePayload { export const SourceLogic = kea<MakeLogicType<SourceValues, SourceActions>>({ path: ['enterprise_search', 'workplace_search', 'source_logic'], actions: { - onInitializeSource: (contentSource: ContentSourceFullData) => contentSource, + setContentSource: (contentSource: ContentSourceFullData) => contentSource, onUpdateSourceName: (name: string) => name, onUpdateSummary: (summary: object[]) => summary, setSearchResults: (searchResultsResponse: SearchResultsResponse) => searchResultsResponse, @@ -93,7 +93,7 @@ export const SourceLogic = kea<MakeLogicType<SourceValues, SourceActions>>({ contentSource: [ {} as ContentSourceFullData, { - onInitializeSource: (_, contentSource) => contentSource, + setContentSource: (_, contentSource) => contentSource, onUpdateSourceName: (contentSource, name) => ({ ...contentSource, name, @@ -108,7 +108,7 @@ export const SourceLogic = kea<MakeLogicType<SourceValues, SourceActions>>({ dataLoading: [ true, { - onInitializeSource: () => false, + setContentSource: () => false, resetSourceState: () => true, }, ], @@ -158,7 +158,7 @@ export const SourceLogic = kea<MakeLogicType<SourceValues, SourceActions>>({ try { const response = await HttpLogic.values.http.get(route); - actions.onInitializeSource(response); + actions.setContentSource(response); if (response.isFederatedSource) { actions.initializeFederatedSummary(sourceId); } diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/search_relevance_suggestions.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/search_relevance_suggestions.test.ts index e6bfaa4a9cca2..2bdcfb9fe9d58 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/search_relevance_suggestions.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/search_relevance_suggestions.test.ts @@ -38,6 +38,35 @@ describe('search relevance insights routes', () => { }); }); + describe('PUT /internal/app_search/engines/{name}/search_relevance_suggestions', () => { + const mockRouter = new MockRouter({ + method: 'put', + path: '/internal/app_search/engines/{engineName}/search_relevance_suggestions', + }); + + beforeEach(() => { + registerSearchRelevanceSuggestionsRoutes({ + ...mockDependencies, + router: mockRouter.router, + }); + }); + + it('creates a request to enterprise search', () => { + mockRouter.callRoute({ + params: { engineName: 'some-engine' }, + body: { + query: 'some query', + type: 'curation', + status: 'applied', + }, + }); + + expect(mockRequestHandler.createRequest).toHaveBeenCalledWith({ + path: '/api/as/v0/engines/:engineName/search_relevance_suggestions', + }); + }); + }); + describe('GET /internal/app_search/engines/{name}/search_relevance_suggestions/settings', () => { const mockRouter = new MockRouter({ method: 'get', diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/search_relevance_suggestions.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/search_relevance_suggestions.ts index c6fa108a5629e..8b3b204c24d70 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/search_relevance_suggestions.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/search_relevance_suggestions.ts @@ -39,6 +39,20 @@ export function registerSearchRelevanceSuggestionsRoutes({ }) ); + router.put( + skipBodyValidation({ + path: '/internal/app_search/engines/{engineName}/search_relevance_suggestions', + validate: { + params: schema.object({ + engineName: schema.string(), + }), + }, + }), + enterpriseSearchRequestHandler.createRequest({ + path: '/api/as/v0/engines/:engineName/search_relevance_suggestions', + }) + ); + router.get( { path: '/internal/app_search/engines/{engineName}/search_relevance_suggestions/settings', diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts b/x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts index 28a5d621b117c..69a6470b5b9ce 100644 --- a/x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts +++ b/x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts @@ -77,6 +77,20 @@ const sourceSettingsSchema = schema.object({ ), }) ), + schedule: schema.maybe( + schema.object({ + blocked_windows: schema.maybe( + schema.arrayOf( + schema.object({ + job_type: schema.string(), + day: schema.string(), + start: schema.string(), + end: schema.string(), + }) + ) + ), + }) + ), }) ), }), diff --git a/x-pack/plugins/event_log/server/event_log_service.mock.ts b/x-pack/plugins/event_log/server/event_log_service.mock.ts index a6e43a5b488c7..a3ad81eb0e5a6 100644 --- a/x-pack/plugins/event_log/server/event_log_service.mock.ts +++ b/x-pack/plugins/event_log/server/event_log_service.mock.ts @@ -10,7 +10,6 @@ import { eventLoggerMock } from './event_logger.mock'; const createEventLogServiceMock = () => { const mock: jest.Mocked<IEventLogService> = { - isEnabled: jest.fn(), isLoggingEntries: jest.fn(), isIndexingEntries: jest.fn(), registerProviderActions: jest.fn(), diff --git a/x-pack/plugins/event_log/server/event_log_service.test.ts b/x-pack/plugins/event_log/server/event_log_service.test.ts index ad8b8c06b47f3..aad51a03b2f06 100644 --- a/x-pack/plugins/event_log/server/event_log_service.test.ts +++ b/x-pack/plugins/event_log/server/event_log_service.test.ts @@ -19,14 +19,13 @@ describe('EventLogService', () => { const esContext = contextMock.create(); function getService(config: IEventLogConfig) { - const { enabled, logEntries, indexEntries } = config; + const { logEntries, indexEntries } = config; return new EventLogService({ esContext, systemLogger, kibanaUUID: '42', savedObjectProviderRegistry, config: { - enabled, logEntries, indexEntries, }, @@ -37,30 +36,19 @@ describe('EventLogService', () => { test('returns config values from service methods', () => { let service; - service = getService({ enabled: true, logEntries: true, indexEntries: true }); - expect(service.isEnabled()).toEqual(true); + service = getService({ logEntries: true, indexEntries: true }); expect(service.isLoggingEntries()).toEqual(true); expect(service.isIndexingEntries()).toEqual(true); - service = getService({ enabled: true, logEntries: false, indexEntries: true }); - expect(service.isEnabled()).toEqual(true); + service = getService({ logEntries: false, indexEntries: true }); expect(service.isLoggingEntries()).toEqual(false); expect(service.isIndexingEntries()).toEqual(true); - service = getService({ enabled: true, logEntries: true, indexEntries: false }); - expect(service.isEnabled()).toEqual(true); + service = getService({ logEntries: true, indexEntries: false }); expect(service.isLoggingEntries()).toEqual(true); expect(service.isIndexingEntries()).toEqual(false); - service = getService({ enabled: true, logEntries: false, indexEntries: false }); - expect(service.isEnabled()).toEqual(true); - expect(service.isLoggingEntries()).toEqual(false); - expect(service.isIndexingEntries()).toEqual(false); - - // this is the only non-obvious one; when enabled is false, - // logging/indexing will be false as well. - service = getService({ enabled: false, logEntries: true, indexEntries: true }); - expect(service.isEnabled()).toEqual(false); + service = getService({ logEntries: false, indexEntries: false }); expect(service.isLoggingEntries()).toEqual(false); expect(service.isIndexingEntries()).toEqual(false); }); diff --git a/x-pack/plugins/event_log/server/event_log_service.ts b/x-pack/plugins/event_log/server/event_log_service.ts index f6e1533aa1155..993631ed3ca8a 100644 --- a/x-pack/plugins/event_log/server/event_log_service.ts +++ b/x-pack/plugins/event_log/server/event_log_service.ts @@ -55,16 +55,12 @@ export class EventLogService implements IEventLogService { this.kibanaVersion = kibanaVersion; } - public isEnabled(): boolean { - return this.config.enabled; - } - public isLoggingEntries(): boolean { - return this.isEnabled() && this.config.logEntries; + return this.config.logEntries; } public isIndexingEntries(): boolean { - return this.isEnabled() && this.config.indexEntries; + return this.config.indexEntries; } registerProviderActions(provider: string, actions: string[]): void { diff --git a/x-pack/plugins/event_log/server/event_logger.test.ts b/x-pack/plugins/event_log/server/event_logger.test.ts index d90fd93c60043..43d791a18b5fc 100644 --- a/x-pack/plugins/event_log/server/event_logger.test.ts +++ b/x-pack/plugins/event_log/server/event_logger.test.ts @@ -31,7 +31,7 @@ describe('EventLogger', () => { service = new EventLogService({ esContext, systemLogger, - config: { enabled: true, logEntries: true, indexEntries: true }, + config: { logEntries: true, indexEntries: true }, kibanaUUID: KIBANA_SERVER_UUID, savedObjectProviderRegistry: savedObjectProviderRegistryMock.create(), kibanaVersion: '1.0.1', diff --git a/x-pack/plugins/event_log/server/event_logger.ts b/x-pack/plugins/event_log/server/event_logger.ts index bcda73da215ae..97335f9cda8d1 100644 --- a/x-pack/plugins/event_log/server/event_logger.ts +++ b/x-pack/plugins/event_log/server/event_logger.ts @@ -66,8 +66,6 @@ export class EventLogger implements IEventLogger { // non-blocking, but spawns an async task to do the work logEvent(eventProperties: IEvent): void { - if (!this.eventLogService.isEnabled()) return; - const event: IEvent = {}; const fixedProperties = { ecs: { diff --git a/x-pack/plugins/event_log/server/index.ts b/x-pack/plugins/event_log/server/index.ts index deeee970ce68a..14c121664d4a8 100644 --- a/x-pack/plugins/event_log/server/index.ts +++ b/x-pack/plugins/event_log/server/index.ts @@ -26,20 +26,5 @@ export { createReadySignal } from './lib/ready_signal'; export const config: PluginConfigDescriptor<IEventLogConfig> = { schema: ConfigSchema, - deprecations: () => [ - (settings, fromPath, addDeprecation) => { - if ( - settings?.xpack?.eventLog?.enabled === false || - settings?.xpack?.eventLog?.enabled === true - ) { - addDeprecation({ - message: `"xpack.eventLog.enabled" is deprecated. The ability to disable this plugin will be removed in 8.0.0.`, - correctiveActions: { - manualSteps: [`Remove "xpack.eventLog.enabled" from your kibana configs.`], - }, - }); - } - }, - ], }; export const plugin = (context: PluginInitializerContext) => new Plugin(context); diff --git a/x-pack/plugins/event_log/server/plugin.test.ts b/x-pack/plugins/event_log/server/plugin.test.ts index 166b084deb6bf..fa66d4b0b02b3 100644 --- a/x-pack/plugins/event_log/server/plugin.test.ts +++ b/x-pack/plugins/event_log/server/plugin.test.ts @@ -21,7 +21,6 @@ describe('event_log plugin', () => { const setup = plugin.setup(coreSetup); expect(typeof setup.getLogger).toBe('function'); expect(typeof setup.getProviderActions).toBe('function'); - expect(typeof setup.isEnabled).toBe('function'); expect(typeof setup.isIndexingEntries).toBe('function'); expect(typeof setup.isLoggingEntries).toBe('function'); expect(typeof setup.isProviderActionRegistered).toBe('function'); diff --git a/x-pack/plugins/event_log/server/types.ts b/x-pack/plugins/event_log/server/types.ts index 0750e89473b8e..c50bed7e01dd5 100644 --- a/x-pack/plugins/event_log/server/types.ts +++ b/x-pack/plugins/event_log/server/types.ts @@ -18,7 +18,6 @@ import { SavedObjectProvider } from './saved_object_provider_registry'; export const SAVED_OBJECT_REL_PRIMARY = 'primary'; export const ConfigSchema = schema.object({ - enabled: schema.boolean({ defaultValue: true }), logEntries: schema.boolean({ defaultValue: false }), indexEntries: schema.boolean({ defaultValue: true }), }); @@ -27,7 +26,6 @@ export type IEventLogConfig = TypeOf<typeof ConfigSchema>; // the object exposed by plugin.setup() export interface IEventLogService { - isEnabled(): boolean; isLoggingEntries(): boolean; isIndexingEntries(): boolean; registerProviderActions(provider: string, actions: string[]): void; diff --git a/x-pack/plugins/fleet/common/services/routes.ts b/x-pack/plugins/fleet/common/services/routes.ts index 5294c31d6a289..79ea19360c849 100644 --- a/x-pack/plugins/fleet/common/services/routes.ts +++ b/x-pack/plugins/fleet/common/services/routes.ts @@ -59,6 +59,10 @@ export const epmRouteService = { getRemovePath: (pkgkey: string) => { return EPM_API_ROUTES.DELETE_PATTERN.replace('{pkgkey}', pkgkey).replace(/\/$/, ''); // trim trailing slash }, + + getUpdatePath: (pkgkey: string) => { + return EPM_API_ROUTES.INFO_PATTERN.replace('{pkgkey}', pkgkey); + }, }; export const packagePolicyRouteService = { diff --git a/x-pack/plugins/fleet/common/types/models/epm.ts b/x-pack/plugins/fleet/common/types/models/epm.ts index 06e3d13c2394b..20f41174a9847 100644 --- a/x-pack/plugins/fleet/common/types/models/epm.ts +++ b/x-pack/plugins/fleet/common/types/models/epm.ts @@ -351,6 +351,7 @@ export interface EpmPackageAdditions { assets: AssetsGroupedByServiceByType; removable?: boolean; notice?: string; + keepPoliciesUpToDate?: boolean; } type Merge<FirstType, SecondType> = Omit<FirstType, Extract<keyof FirstType, keyof SecondType>> & @@ -364,7 +365,7 @@ export type PackageListItem = Installable<RegistrySearchResult> & { }; export interface IntegrationCardItem { - uiInternalPathUrl: string; + url: string; release?: 'beta' | 'experimental' | 'ga'; description: string; name: string; @@ -391,6 +392,7 @@ export interface Installation extends SavedObjectAttributes { install_version: string; install_started_at: string; install_source: InstallSource; + keep_policies_up_to_date: boolean; } export interface PackageUsageStats { diff --git a/x-pack/plugins/fleet/common/types/rest_spec/epm.ts b/x-pack/plugins/fleet/common/types/rest_spec/epm.ts index 51772eadca69e..cfe0b4abdcd3c 100644 --- a/x-pack/plugins/fleet/common/types/rest_spec/epm.ts +++ b/x-pack/plugins/fleet/common/types/rest_spec/epm.ts @@ -57,6 +57,19 @@ export interface GetInfoResponse { response: PackageInfo; } +export interface UpdatePackageRequest { + params: { + pkgkey: string; + }; + body: { + keepPoliciesUpToDate?: boolean; + }; +} + +export interface UpdatePackageResponse { + response: PackageInfo; +} + export interface GetStatsRequest { params: { pkgname: string; diff --git a/x-pack/plugins/fleet/public/applications/fleet/hooks/use_breadcrumbs.tsx b/x-pack/plugins/fleet/public/applications/fleet/hooks/use_breadcrumbs.tsx index 3149a454c6c52..0202fc3351fc0 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/hooks/use_breadcrumbs.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/hooks/use_breadcrumbs.tsx @@ -64,24 +64,6 @@ const breadcrumbGetters: { }, { text: policyName }, ], - add_integration_from_policy: ({ policyName, policyId }) => [ - BASE_BREADCRUMB, - { - href: pagePathGetters.policies()[1], - text: i18n.translate('xpack.fleet.breadcrumbs.policiesPageTitle', { - defaultMessage: 'Agent policies', - }), - }, - { - href: pagePathGetters.policy_details({ policyId })[1], - text: policyName, - }, - { - text: i18n.translate('xpack.fleet.breadcrumbs.addPackagePolicyPageTitle', { - defaultMessage: 'Add integration', - }), - }, - ], add_integration_to_policy: ({ pkgTitle, pkgkey, integration }) => [ INTEGRATIONS_BASE_BREADCRUMB, { diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/layout.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/layout.tsx index 9354ae4dbe4f9..1de37912b05c9 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/layout.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/layout.tsx @@ -7,6 +7,7 @@ import React, { memo, useMemo } from 'react'; import { FormattedMessage } from '@kbn/i18n/react'; +import styled from 'styled-components'; import { EuiFlexGroup, EuiFlexItem, @@ -23,6 +24,14 @@ import type { AgentPolicy, PackageInfo, RegistryPolicyTemplate } from '../../../ import { PackageIcon } from '../../../../components'; import type { EditPackagePolicyFrom } from '../types'; +const AgentPolicyName = styled(EuiDescriptionListDescription)` + margin-left: auto; + max-width: 250px; + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; +`; + export const CreatePackagePolicyPageLayout: React.FunctionComponent<{ from: EditPackagePolicyFrom; cancelUrl: string; @@ -48,7 +57,7 @@ export const CreatePackagePolicyPageLayout: React.FunctionComponent<{ 'data-test-subj': dataTestSubj, tabs = [], }) => { - const isAdd = useMemo(() => ['policy', 'package'].includes(from), [from]); + const isAdd = useMemo(() => ['package'].includes(from), [from]); const isEdit = useMemo(() => ['edit', 'package-edit'].includes(from), [from]); const isUpgrade = useMemo( () => @@ -209,9 +218,9 @@ export const CreatePackagePolicyPageLayout: React.FunctionComponent<{ defaultMessage="Agent policy" /> </EuiDescriptionListTitle> - <EuiDescriptionListDescription className="eui-textBreakWord"> + <AgentPolicyName className="eui-textBreakWord" title={agentPolicy?.name || '-'}> {agentPolicy?.name || '-'} - </EuiDescriptionListDescription> + </AgentPolicyName> </EuiDescriptionList> ) : undefined; diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/package_policy_input_var_field.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/package_policy_input_var_field.tsx index 398421278b723..954addd4202b1 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/package_policy_input_var_field.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/components/package_policy_input_var_field.tsx @@ -17,12 +17,17 @@ import { EuiFieldPassword, EuiCodeBlock, } from '@elastic/eui'; +import styled from 'styled-components'; import type { RegistryVarsEntry } from '../../../../types'; import { CodeEditor } from '../../../../../../../../../../src/plugins/kibana_react/public'; import { MultiTextInput } from './multi_text_input'; +const FixedHeightDiv = styled.div` + height: 300px; +`; + export const PackagePolicyInputVarField: React.FunctionComponent<{ varDef: RegistryVarsEntry; value: any; @@ -55,31 +60,34 @@ export const PackagePolicyInputVarField: React.FunctionComponent<{ <pre>{value}</pre> </EuiCodeBlock> ) : ( - <CodeEditor - languageId="yaml" - width="100%" - height="300px" - value={value} - onChange={onChange} - options={{ - minimap: { - enabled: false, - }, - ariaLabel: i18n.translate('xpack.fleet.packagePolicyField.yamlCodeEditor', { - defaultMessage: 'YAML Code Editor', - }), - scrollBeyondLastLine: false, - wordWrap: 'off', - wrappingIndent: 'indent', - tabSize: 2, - // To avoid left margin - lineNumbers: 'off', - lineNumbersMinChars: 0, - glyphMargin: false, - folding: false, - lineDecorationsWidth: 0, - }} - /> + <FixedHeightDiv> + <CodeEditor + languageId="yaml" + width="100%" + height="300px" + value={value} + onChange={onChange} + options={{ + minimap: { + enabled: false, + }, + ariaLabel: i18n.translate('xpack.fleet.packagePolicyField.yamlCodeEditor', { + defaultMessage: 'YAML Code Editor', + }), + scrollBeyondLastLine: false, + wordWrap: 'off', + wrappingIndent: 'indent', + tabSize: 2, + // To avoid left margin + lineNumbers: 'off', + lineNumbersMinChars: 0, + glyphMargin: false, + folding: false, + lineDecorationsWidth: 0, + overviewRulerBorder: false, + }} + /> + </FixedHeightDiv> ); case 'bool': return ( diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx index a83f6902ed056..ffc9cba90efea 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/index.tsx @@ -27,12 +27,7 @@ import type { ApplicationStart } from 'kibana/public'; import { safeLoad } from 'js-yaml'; import { toMountPoint } from '../../../../../../../../../src/plugins/kibana_react/public'; -import type { - AgentPolicy, - PackageInfo, - NewPackagePolicy, - CreatePackagePolicyRouteState, -} from '../../../types'; +import type { AgentPolicy, NewPackagePolicy, CreatePackagePolicyRouteState } from '../../../types'; import { useLink, useBreadcrumbs, @@ -40,8 +35,9 @@ import { useStartServices, useConfig, sendGetAgentStatus, + useGetPackageInfoByKey, } from '../../../hooks'; -import { Loading } from '../../../components'; +import { Loading, Error } from '../../../components'; import { ConfirmDeployAgentPolicyModal } from '../components'; import { useIntraAppState, useUIExtension } from '../../../hooks'; import { ExtensionWrapper } from '../../../components'; @@ -74,16 +70,12 @@ interface AddToPolicyParams { policyId?: string; } -interface AddFromPolicyParams { - policyId: string; -} - export const CreatePackagePolicyPage: React.FunctionComponent = () => { const { notifications } = useStartServices(); const { agents: { enabled: isFleetEnabled }, } = useConfig(); - const { params } = useRouteMatch<AddToPolicyParams | AddFromPolicyParams>(); + const { params } = useRouteMatch<AddToPolicyParams>(); const { getHref, getPath } = useLink(); const history = useHistory(); const handleNavigateTo = useNavigateToCallback(); @@ -110,10 +102,8 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { const from: EditPackagePolicyFrom = 'policyId' in params || queryParamsPolicyId ? 'policy' : 'package'; - // Agent policy and package info states + // Agent policy state const [agentPolicy, setAgentPolicy] = useState<AgentPolicy | undefined>(); - const [packageInfo, setPackageInfo] = useState<PackageInfo>(); - const [isLoadingAgentPolicyStep, setIsLoadingAgentPolicyStep] = useState<boolean>(false); // Retrieve agent count const agentPolicyId = agentPolicy?.id; @@ -142,30 +132,24 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { inputs: [], }); - // Package policy validation state + // Validation state const [validationResults, setValidationResults] = useState<PackagePolicyValidationResults>(); + const [hasAgentPolicyError, setHasAgentPolicyError] = useState<boolean>(false); // Form state - const [formState, setFormState] = useState<PackagePolicyFormState>('INVALID'); - - // Update package info method - const updatePackageInfo = useCallback( - (updatedPackageInfo: PackageInfo | undefined) => { - if (updatedPackageInfo) { - setPackageInfo(updatedPackageInfo); - if (agentPolicy) { - setFormState('VALID'); - } - } else { - setFormState('INVALID'); - setPackageInfo(undefined); - } + const [formState, setFormState] = useState<PackagePolicyFormState>('VALID'); - // eslint-disable-next-line no-console - console.debug('Package info updated', updatedPackageInfo); - }, - [agentPolicy, setPackageInfo, setFormState] - ); + // Fetch package info + const { + data: packageInfoData, + error: packageInfoError, + isLoading: isPackageInfoLoading, + } = useGetPackageInfoByKey(params.pkgkey); + const packageInfo = useMemo(() => { + if (packageInfoData && packageInfoData.response) { + return packageInfoData.response; + } + }, [packageInfoData]); // Update agent policy method const updateAgentPolicy = useCallback( @@ -251,12 +235,12 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { if (routeState && routeState.onCancelUrl) { return routeState.onCancelUrl; } - return from === 'policy' + return from === 'policy' && agentPolicyId ? getHref('policy_details', { - policyId: agentPolicyId || (params as AddFromPolicyParams).policyId, + policyId: agentPolicyId, }) - : getHref('integration_details_overview', { pkgkey: (params as AddToPolicyParams).pkgkey }); - }, [agentPolicyId, params, from, getHref, routeState]); + : getHref('integration_details_overview', { pkgkey: params.pkgkey }); + }, [routeState, from, agentPolicyId, getHref, params.pkgkey]); const cancelClickHandler: ReactEventHandler = useCallback( (ev) => { @@ -305,7 +289,7 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { } else { history.push( getPath('policy_details', { - policyId: agentPolicy?.id || (params as AddFromPolicyParams).policyId, + policyId: agentPolicy!.id, }) ); } @@ -313,8 +297,7 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { const fromPolicyWithoutAgentsAssigned = from === 'policy' && agentPolicy && agentCount === 0; - const fromPackageWithoutAgentsAssigned = - from === 'package' && packageInfo && agentPolicy && agentCount === 0; + const fromPackageWithoutAgentsAssigned = packageInfo && agentPolicy && agentCount === 0; const hasAgentsAssigned = agentCount && agentPolicy; @@ -379,7 +362,6 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { hasErrors, agentCount, savePackagePolicy, - doOnSaveNavigation, from, agentPolicy, packageInfo, @@ -390,7 +372,6 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { handleNavigateTo, history, getPath, - params, ]); const integrationInfo = useMemo( @@ -418,24 +399,23 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { const stepSelectAgentPolicy = useMemo( () => ( <StepSelectAgentPolicy - pkgkey={(params as AddToPolicyParams).pkgkey} - updatePackageInfo={updatePackageInfo} + packageInfo={packageInfo} defaultAgentPolicyId={queryParamsPolicyId} agentPolicy={agentPolicy} updateAgentPolicy={updateAgentPolicy} - setIsLoadingSecondStep={setIsLoadingAgentPolicyStep} + setHasAgentPolicyError={setHasAgentPolicyError} /> ), - [params, updatePackageInfo, agentPolicy, updateAgentPolicy, queryParamsPolicyId] + [packageInfo, queryParamsPolicyId, agentPolicy, updateAgentPolicy] ); const extensionView = useUIExtension(packagePolicy.package?.name ?? '', 'package-policy-create'); const stepConfigurePackagePolicy = useMemo( () => - isLoadingAgentPolicyStep ? ( + isPackageInfoLoading ? ( <Loading /> - ) : agentPolicy && packageInfo ? ( + ) : packageInfo ? ( <> <StepDefinePackagePolicy agentPolicy={agentPolicy} @@ -459,8 +439,8 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { /> )} - {/* If an Agent Policy and a package has been selected, then show UI extension (if any) */} - {extensionView && packagePolicy.policy_id && packagePolicy.package?.name && ( + {/* If a package has been loaded, then show UI extension (if any) */} + {extensionView && packagePolicy.package?.name && ( <ExtensionWrapper> <extensionView.Component newPolicy={packagePolicy} @@ -473,7 +453,7 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { <div /> ), [ - isLoadingAgentPolicyStep, + isPackageInfoLoading, agentPolicy, packageInfo, packagePolicy, @@ -491,7 +471,6 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { title: i18n.translate('xpack.fleet.createPackagePolicy.stepConfigurePackagePolicyTitle', { defaultMessage: 'Configure integration', }), - status: !packageInfo || !agentPolicy || isLoadingAgentPolicyStep ? 'disabled' : undefined, 'data-test-subj': 'dataCollectionSetupStep', children: stepConfigurePackagePolicy, }, @@ -503,6 +482,21 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { }, ]; + // Display package error if there is one + if (packageInfoError) { + return ( + <Error + title={ + <FormattedMessage + id="xpack.fleet.createPackagePolicy.StepSelectPolicy.errorLoadingPackageTitle" + defaultMessage="Error loading package information" + /> + } + error={packageInfoError} + /> + ); + } + return ( <CreatePackagePolicyPageLayout {...layoutProps} data-test-subj="createPackagePolicy"> <EuiErrorBoundary> @@ -527,10 +521,7 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { <CustomEuiBottomBar data-test-subj="integrationsBottomBar"> <EuiFlexGroup justifyContent="spaceBetween" alignItems="center"> <EuiFlexItem grow={false}> - {!isLoadingAgentPolicyStep && - agentPolicy && - packageInfo && - formState === 'INVALID' ? ( + {agentPolicy && packageInfo && formState === 'INVALID' ? ( <FormattedMessage id="xpack.fleet.createPackagePolicy.errorOnSaveText" defaultMessage="Your integration policy has errors. Please fix them before saving." @@ -557,7 +548,7 @@ export const CreatePackagePolicyPage: React.FunctionComponent = () => { <EuiButton onClick={onSubmit} isLoading={formState === 'LOADING'} - disabled={formState !== 'VALID'} + disabled={formState !== 'VALID' || hasAgentPolicyError} iconType="save" color="primary" fill diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/step_define_package_policy.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/step_define_package_policy.tsx index e84831a3006f4..7e4896837013c 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/step_define_package_policy.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/step_define_package_policy.tsx @@ -47,7 +47,7 @@ const FormGroupResponsiveFields = styled(EuiDescribedFormGroup)` `; export const StepDefinePackagePolicy: React.FunctionComponent<{ - agentPolicy: AgentPolicy; + agentPolicy?: AgentPolicy; packageInfo: PackageInfo; packagePolicy: NewPackagePolicy; integrationToEnable?: string; @@ -92,15 +92,17 @@ export const StepDefinePackagePolicy: React.FunctionComponent<{ if (currentPkgKey !== pkgKey) { // Existing package policies on the agent policy using the package name, retrieve highest number appended to package policy name const pkgPoliciesNamePattern = new RegExp(`${packageInfo.name}-(\\d+)`); - const pkgPoliciesWithMatchingNames = (agentPolicy.package_policies as PackagePolicy[]) - .filter((ds) => Boolean(ds.name.match(pkgPoliciesNamePattern))) - .map((ds) => parseInt(ds.name.match(pkgPoliciesNamePattern)![1], 10)) - .sort((a, b) => a - b); + const pkgPoliciesWithMatchingNames = agentPolicy + ? (agentPolicy.package_policies as PackagePolicy[]) + .filter((ds) => Boolean(ds.name.match(pkgPoliciesNamePattern))) + .map((ds) => parseInt(ds.name.match(pkgPoliciesNamePattern)![1], 10)) + .sort((a, b) => a - b) + : []; updatePackagePolicy( packageToPackagePolicy( packageInfo, - agentPolicy.id, + agentPolicy?.id || '', packagePolicy.output_id, packagePolicy.namespace, `${packageInfo.name}-${ @@ -115,7 +117,7 @@ export const StepDefinePackagePolicy: React.FunctionComponent<{ } // If agent policy has changed, update package policy's agent policy ID and namespace - if (packagePolicy.policy_id !== agentPolicy.id) { + if (agentPolicy && packagePolicy.policy_id !== agentPolicy.id) { updatePackagePolicy({ policy_id: agentPolicy.id, namespace: agentPolicy.namespace, diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/step_select_agent_policy.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/step_select_agent_policy.tsx index 63cf1a0c87b29..72bd829dcf61a 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/step_select_agent_policy.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/create_package_policy_page/step_select_agent_policy.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React, { useEffect, useState, useMemo } from 'react'; +import React, { useEffect, useState, useMemo, useCallback } from 'react'; import styled from 'styled-components'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n/react'; @@ -26,7 +26,6 @@ import { Error } from '../../../components'; import type { AgentPolicy, PackageInfo, GetAgentPoliciesResponseItem } from '../../../types'; import { isPackageLimited, doesAgentPolicyAlreadyIncludePackage } from '../../../services'; import { - useGetPackageInfoByKey, useGetAgentPolicies, sendGetOneAgentPolicy, useCapabilities, @@ -41,19 +40,17 @@ const AgentPolicyFormRow = styled(EuiFormRow)` `; export const StepSelectAgentPolicy: React.FunctionComponent<{ - pkgkey: string; - updatePackageInfo: (packageInfo: PackageInfo | undefined) => void; + packageInfo?: PackageInfo; defaultAgentPolicyId?: string; agentPolicy: AgentPolicy | undefined; updateAgentPolicy: (agentPolicy: AgentPolicy | undefined) => void; - setIsLoadingSecondStep: (isLoading: boolean) => void; + setHasAgentPolicyError: (hasError: boolean) => void; }> = ({ - pkgkey, - updatePackageInfo, + packageInfo, agentPolicy, updateAgentPolicy, - setIsLoadingSecondStep, defaultAgentPolicyId, + setHasAgentPolicyError, }) => { const { isReady: isFleetReady } = useFleetStatus(); @@ -68,14 +65,6 @@ export const StepSelectAgentPolicy: React.FunctionComponent<{ const [isCreateAgentPolicyFlyoutOpen, setIsCreateAgentPolicyFlyoutOpen] = useState<boolean>(false); - // Fetch package info - const { - data: packageInfoData, - error: packageInfoError, - isLoading: isPackageInfoLoading, - } = useGetPackageInfoByKey(pkgkey); - const isLimitedPackage = (packageInfoData && isPackageLimited(packageInfoData.response)) || false; - // Fetch agent policies info const { data: agentPoliciesData, @@ -101,18 +90,19 @@ export const StepSelectAgentPolicy: React.FunctionComponent<{ }, {}); }, [agentPolicies]); - // Update parent package state - useEffect(() => { - if (packageInfoData && packageInfoData.response) { - updatePackageInfo(packageInfoData.response); - } - }, [packageInfoData, updatePackageInfo]); + const doesAgentPolicyHaveLimitedPackage = useCallback( + (policy: AgentPolicy, pkgInfo: PackageInfo) => { + return policy + ? isPackageLimited(pkgInfo) && doesAgentPolicyAlreadyIncludePackage(policy, pkgInfo.name) + : false; + }, + [] + ); // Update parent selected agent policy state useEffect(() => { const fetchAgentPolicyInfo = async () => { if (selectedPolicyId) { - setIsLoadingSecondStep(true); const { data, error } = await sendGetOneAgentPolicy(selectedPolicyId); if (error) { setSelectedAgentPolicyError(error); @@ -125,39 +115,36 @@ export const StepSelectAgentPolicy: React.FunctionComponent<{ setSelectedAgentPolicyError(undefined); updateAgentPolicy(undefined); } - setIsLoadingSecondStep(false); }; if (!agentPolicy || selectedPolicyId !== agentPolicy.id) { fetchAgentPolicyInfo(); } - }, [selectedPolicyId, agentPolicy, updateAgentPolicy, setIsLoadingSecondStep]); + }, [selectedPolicyId, agentPolicy, updateAgentPolicy]); const agentPolicyOptions: Array<EuiComboBoxOptionOption<string>> = useMemo( () => - packageInfoData + packageInfo ? agentPolicies.map((agentConf) => { - const alreadyHasLimitedPackage = - (isLimitedPackage && - doesAgentPolicyAlreadyIncludePackage(agentConf, packageInfoData.response.name)) || - false; return { label: agentConf.name, value: agentConf.id, - disabled: alreadyHasLimitedPackage, + disabled: doesAgentPolicyHaveLimitedPackage(agentConf, packageInfo), 'data-test-subj': 'agentPolicyItem', }; }) : [], - [agentPolicies, isLimitedPackage, packageInfoData] + [agentPolicies, doesAgentPolicyHaveLimitedPackage, packageInfo] ); - const selectedAgentPolicyOption = agentPolicyOptions.find( - (option) => option.value === selectedPolicyId + const selectedAgentPolicyOption = useMemo( + () => agentPolicyOptions.find((option) => option.value === selectedPolicyId), + [agentPolicyOptions, selectedPolicyId] ); // Try to select default agent policy useEffect(() => { if (!selectedPolicyId && agentPolicies.length && agentPolicyOptions.length) { + const firstEnabledOption = agentPolicyOptions.find((option) => !option.disabled); const defaultAgentPolicy = agentPolicies.find((policy) => policy.is_default); if (defaultAgentPolicy) { const defaultAgentPolicyOption = agentPolicyOptions.find( @@ -165,25 +152,33 @@ export const StepSelectAgentPolicy: React.FunctionComponent<{ ); if (defaultAgentPolicyOption && !defaultAgentPolicyOption.disabled) { setSelectedPolicyId(defaultAgentPolicy.id); + } else { + if (firstEnabledOption) { + setSelectedPolicyId(firstEnabledOption.value); + } } + } else if (firstEnabledOption) { + setSelectedPolicyId(firstEnabledOption.value); } } }, [agentPolicies, agentPolicyOptions, selectedPolicyId]); - // Display package error if there is one - if (packageInfoError) { - return ( - <Error - title={ - <FormattedMessage - id="xpack.fleet.createPackagePolicy.StepSelectPolicy.errorLoadingPackageTitle" - defaultMessage="Error loading package information" - /> - } - error={packageInfoError} - /> - ); - } + // Bubble up any issues with agent policy selection + useEffect(() => { + if ( + selectedPolicyId && + !selectedAgentPolicyError && + selectedAgentPolicyOption && + !selectedAgentPolicyOption.disabled + ) { + setHasAgentPolicyError(false); + } else setHasAgentPolicyError(true); + }, [ + selectedAgentPolicyError, + selectedAgentPolicyOption, + selectedPolicyId, + setHasAgentPolicyError, + ]); // Display agent policies list error if there is one if (agentPoliciesError) { @@ -276,6 +271,27 @@ export const StepSelectAgentPolicy: React.FunctionComponent<{ /> ) : null } + isInvalid={Boolean( + !selectedPolicyId || + !packageInfo || + doesAgentPolicyHaveLimitedPackage( + agentPoliciesById[selectedPolicyId], + packageInfo + ) + )} + error={ + !selectedPolicyId ? ( + <FormattedMessage + id="xpack.fleet.createPackagePolicy.StepSelectPolicy.noPolicySelectedError" + defaultMessage="An agent policy is required." + /> + ) : ( + <FormattedMessage + id="xpack.fleet.createPackagePolicy.StepSelectPolicy.cannotAddLimitedIntegrationError" + defaultMessage="This integration can only be added once per agent policy." + /> + ) + } > <EuiComboBox placeholder={i18n.translate( @@ -287,7 +303,7 @@ export const StepSelectAgentPolicy: React.FunctionComponent<{ singleSelection={{ asPlainText: true }} isClearable={false} fullWidth={true} - isLoading={isAgentPoliciesLoading || isPackageInfoLoading} + isLoading={isAgentPoliciesLoading || !packageInfo} options={agentPolicyOptions} selectedOptions={selectedAgentPolicyOption ? [selectedAgentPolicyOption] : []} onChange={(options) => { diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/index.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/index.tsx index 9d9077a9abdbd..15196fadf7529 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/index.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/index.tsx @@ -15,7 +15,6 @@ import { DefaultLayout } from '../../layouts'; import { AgentPolicyListPage } from './list_page'; import { AgentPolicyDetailsPage } from './details_page'; -import { CreatePackagePolicyPage } from './create_package_policy_page'; import { EditPackagePolicyPage } from './edit_package_policy_page'; import { UpgradePackagePolicyPage } from './upgrade_package_policy_page'; @@ -32,9 +31,6 @@ export const AgentPolicyApp: React.FunctionComponent = () => { <Route path={FLEET_ROUTING_PATHS.upgrade_package_policy}> <UpgradePackagePolicyPage /> </Route> - <Route path={FLEET_ROUTING_PATHS.add_integration_from_policy}> - <CreatePackagePolicyPage /> - </Route> <Route path={FLEET_ROUTING_PATHS.policy_details}> <AgentPolicyDetailsPage /> </Route> diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/fleet_server_cloud_instructions.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/fleet_server_cloud_instructions.tsx index 88590ce3ce504..e2db1534597e0 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/fleet_server_cloud_instructions.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/fleet_server_cloud_instructions.tsx @@ -60,7 +60,7 @@ export const CloudInstructions: React.FC<{ deploymentUrl: string }> = ({ deploym > <FormattedMessage id="xpack.fleet.settings.userGuideLink" - defaultMessage="Fleet User Guide" + defaultMessage="Fleet and Elastic Agent Guide" /> </EuiLink> ), diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/fleet_server_on_prem_instructions.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/fleet_server_on_prem_instructions.tsx index a8cab77af447c..5005c029a7588 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/fleet_server_on_prem_instructions.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_requirements_page/components/fleet_server_on_prem_instructions.tsx @@ -185,7 +185,7 @@ export const FleetServerCommandStep = ({ > <FormattedMessage id="xpack.fleet.fleetServerSetup.setupGuideLink" - defaultMessage="Fleet User Guide" + defaultMessage="Fleet and Elastic Agent Guide" /> </EuiLink> ), @@ -755,7 +755,7 @@ export const OnPremInstructions: React.FC = () => { > <FormattedMessage id="xpack.fleet.fleetServerSetup.setupGuideLink" - defaultMessage="Fleet User Guide" + defaultMessage="Fleet and Elastic Agent Guide" /> </EuiLink> ), diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_health.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_health.tsx index f597d2c6758a8..fbac6ad74906d 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_health.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/components/agent_health.tsx @@ -9,6 +9,8 @@ import React from 'react'; import { FormattedMessage, FormattedRelative } from '@kbn/i18n/react'; import { EuiBadge, EuiToolTip } from '@elastic/eui'; +import * as euiVars from '@elastic/eui/dist/eui_theme_light.json'; + import type { Agent } from '../../../types'; interface Props { @@ -27,7 +29,7 @@ const Status = { </EuiBadge> ), Inactive: ( - <EuiBadge color="default"> + <EuiBadge color={euiVars.default.euiColorDarkShade}> <FormattedMessage id="xpack.fleet.agentHealth.inactiveStatusText" defaultMessage="Inactive" /> </EuiBadge> ), diff --git a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/agent_status.tsx b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/agent_status.tsx index 275d0c83da65e..74e9879936d42 100644 --- a/x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/agent_status.tsx +++ b/x-pack/plugins/fleet/public/applications/fleet/sections/agents/services/agent_status.tsx @@ -7,19 +7,20 @@ import { euiPaletteColorBlindBehindText } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; +import * as euiVars from '@elastic/eui/dist/eui_theme_light.json'; import type { SimplifiedAgentStatus } from '../../../types'; const visColors = euiPaletteColorBlindBehindText(); const colorToHexMap = { - // TODO - replace with variable once https://github.com/elastic/eui/issues/2731 is closed - default: '#d3dae6', + // using variables as mentioned here https://elastic.github.io/eui/#/guidelines/getting-started + default: euiVars.default.euiColorLightShade, primary: visColors[1], secondary: visColors[0], accent: visColors[2], warning: visColors[5], danger: visColors[9], - inactive: '#98A2B3', + inactive: euiVars.default.euiColorDarkShade, }; export const AGENT_STATUSES: SimplifiedAgentStatus[] = [ diff --git a/x-pack/plugins/fleet/public/applications/integrations/app.tsx b/x-pack/plugins/fleet/public/applications/integrations/app.tsx index d37cbe4c166df..c5cc1e1892eda 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/app.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/app.tsx @@ -201,13 +201,15 @@ export const IntegrationsAppContext: React.FC<{ <EuiThemeProvider darkMode={isDarkMode}> <UIExtensionsContext.Provider value={extensions}> <FleetStatusProvider> - <Router history={history}> - <AgentPolicyContextProvider> - <PackageInstallProvider notifications={startServices.notifications}> - {children} - </PackageInstallProvider> - </AgentPolicyContextProvider> - </Router> + <startServices.customIntegrations.ContextProvider> + <Router history={history}> + <AgentPolicyContextProvider> + <PackageInstallProvider notifications={startServices.notifications}> + {children} + </PackageInstallProvider> + </AgentPolicyContextProvider> + </Router> + </startServices.customIntegrations.ContextProvider> </FleetStatusProvider> </UIExtensionsContext.Provider> </EuiThemeProvider> diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.stories.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.stories.tsx index 69c70bba5be1d..bddbc4f027b4f 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.stories.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.stories.tsx @@ -29,7 +29,7 @@ const args: Args = { release: 'ga', id: 'id', version: '1.0.0', - uiInternalPathUrl: '/', + url: '/', icons: [], integration: '', }; @@ -66,6 +66,7 @@ export const Installed = ({ width, ...props }: Args) => { install_status: 'installed', install_source: 'registry', install_started_at: '2020-01-01T00:00:00.000Z', + keep_policies_up_to_date: false, }, references: [], }; diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.tsx index 8c7cd47e950f0..a68499dbd8dd0 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_card.tsx @@ -29,7 +29,7 @@ export function PackageCard({ version, icons, integration, - uiInternalPathUrl, + url, release, }: PackageCardProps) { const betaBadgeLabel = release && release !== 'ga' ? RELEASE_BADGE_LABEL[release] : undefined; @@ -49,9 +49,10 @@ export function PackageCard({ size="xl" /> } - href={uiInternalPathUrl} + href={url} betaBadgeLabel={betaBadgeLabel} betaBadgeTooltipContent={betaBadgeLabelTooltipContent} + target={url.startsWith('http') || url.startsWith('https') ? '_blank' : undefined} /> ); } diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid.stories.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid.stories.tsx index f3bf7106fabcf..c355eb8607f45 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid.stories.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/components/package_list_grid.stories.tsx @@ -9,12 +9,6 @@ import React from 'react'; import { action } from '@storybook/addon-actions'; -import type { SavedObject } from 'src/core/public'; - -import type { Installation } from '../../../../../../common'; - -import type { IntegrationCardItem } from '../../../../../../common'; - import type { ListProps } from './package_list_grid'; import { PackageListGrid } from './package_list_grid'; @@ -31,23 +25,6 @@ const args: Args = { showMissingIntegrationMessage: false, }; -const savedObject: SavedObject<Installation> = { - id: 'id', - type: 'integration', - attributes: { - name: 'savedObject', - version: '1.2.3', - install_version: '1.2.3', - es_index_patterns: {}, - installed_kibana: [], - installed_es: [], - install_status: 'installed', - install_source: 'registry', - install_started_at: '2020-01-01T00:00:00.000Z', - }, - references: [], -}; - export const EmptyList = (props: Args) => ( <PackageListGrid list={[]} @@ -59,88 +36,74 @@ export const EmptyList = (props: Args) => ( export const List = (props: Args) => ( <PackageListGrid - list={ - [ - { - title: 'Package One', - description: 'Not Installed Description', - name: 'beats', - release: 'ga', - id: 'package_one', - version: '1.0.0', - uiInternalPath: '/', - path: 'path', - status: 'not_installed', - }, - { - title: 'Package Two', - description: 'Not Installed Description', - name: 'aws', - release: 'beta', - id: 'package_two', - version: '1.0.0', - uiInternalPath: '/', - path: 'path', - status: 'not_installed', - }, - { - title: 'Package Three', - description: 'Not Installed Description', - name: 'azure', - release: 'experimental', - id: 'package_three', - version: '1.0.0', - uiInternalPath: '/', - path: 'path', - status: 'not_installed', - }, - { - title: 'Package Four', - description: 'Installed Description', - name: 'elastic', - release: 'ga', - id: 'package_four', - version: '1.0.0', - uiInternalPath: '/', - path: 'path', - status: 'installed', - savedObject: { - ...savedObject, - id: 'package_four', - }, - }, - { - title: 'Package Five', - description: 'Installed Description', - name: 'unknown', - release: 'beta', - id: 'package_five', - version: '1.0.0', - uiInternalPath: '/', - path: 'path', - status: 'installed', - savedObject: { - ...savedObject, - id: 'package_five', - }, - }, - { - title: 'Package Six', - description: 'Installed Description', - name: 'kibana', - release: 'experimental', - id: 'package_six', - version: '1.0.0', - uiInternalPath: '/', - path: 'path', - status: 'installed', - savedObject: { - ...savedObject, - id: 'package_six', - }, - }, - ] as unknown as IntegrationCardItem[] - } + list={[ + { + title: 'Package One', + description: 'Not Installed Description', + name: 'beats', + release: 'ga', + id: 'package_one', + version: '1.0.0', + url: 'https://example.com', + icons: [], + integration: 'integation', + }, + { + title: 'Package Two', + description: 'Not Installed Description', + name: 'aws', + release: 'beta', + id: 'package_two', + version: '1.0.0', + url: 'https://example.com', + icons: [], + integration: 'integation', + }, + { + title: 'Package Three', + description: 'Not Installed Description', + name: 'azure', + release: 'experimental', + id: 'package_three', + version: '1.0.0', + url: 'https://example.com', + icons: [], + integration: 'integation', + }, + { + title: 'Package Four', + description: 'Installed Description', + name: 'elastic', + release: 'ga', + id: 'package_four', + version: '1.0.0', + url: 'https://example.com', + icons: [], + integration: 'integation', + }, + { + title: 'Package Five', + description: 'Installed Description', + name: 'unknown', + release: 'beta', + id: 'package_five', + version: '1.0.0', + url: 'https://example.com', + icons: [], + integration: 'integation', + }, + { + title: 'Package Six', + description: 'Installed Description', + name: 'kibana', + release: 'experimental', + id: 'package_six', + version: '1.0.0', + url: 'https://example.com', + icons: [], + integration: 'integation', + }, + ]} onSearchChange={action('onSearchChange')} setSelectedCategory={action('setSelectedCategory')} {...props} diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/index.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/index.tsx index 8424fecad08cd..8716d78dfb7bd 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/index.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/index.tsx @@ -7,3 +7,4 @@ export { UpdateIcon } from './update_icon'; export { IntegrationAgentPolicyCount } from './integration_agent_policy_count'; export { IconPanel, LoadingIconPanel } from './icon_panel'; +export { KeepPoliciesUpToDateSwitch } from './keep_policies_up_to_date_switch'; diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/keep_policies_up_to_date_switch.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/keep_policies_up_to_date_switch.tsx new file mode 100644 index 0000000000000..751282cc42288 --- /dev/null +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/components/keep_policies_up_to_date_switch.tsx @@ -0,0 +1,46 @@ +/* + * 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 React from 'react'; +import { i18n } from '@kbn/i18n'; +import { FormattedMessage } from '@kbn/i18n/react'; +import { EuiSwitch, EuiSpacer, EuiText, EuiFlexGroup, EuiFlexItem, EuiIcon } from '@elastic/eui'; + +interface Props { + checked: boolean; + onChange: () => void; +} + +export const KeepPoliciesUpToDateSwitch: React.FunctionComponent<Props> = ({ + checked, + onChange, +}) => ( + <> + <EuiSwitch + label={i18n.translate( + 'xpack.fleet.integrations.settings.keepIntegrationPoliciesUpToDateLabel', + { defaultMessage: 'Keep integration policies up to date automatically' } + )} + checked={checked} + onChange={onChange} + /> + <EuiSpacer size="s" /> + <EuiText color="subdued" size="xs"> + <EuiFlexGroup alignItems="center" gutterSize="none"> + <EuiFlexItem grow={false}> + <EuiIcon type="iInCircle" /> + </EuiFlexItem> + <EuiFlexItem grow={false}> + <FormattedMessage + id="xpack.fleet.integrations.settings.keepIntegrationPoliciesUpToDateDescription" + defaultMessage="When enabled, Fleet will attempt to upgrade and deploy integration policies automatically" + /> + </EuiFlexItem> + </EuiFlexGroup> + </EuiText> + </> +); diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/details.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/details.tsx index 467dae12fa583..9799f7a9afecb 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/details.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/overview/details.tsx @@ -18,6 +18,8 @@ import { } from '@elastic/eui'; import type { EuiDescriptionListProps } from '@elastic/eui/src/components/description_list/description_list'; +import { euiStyled } from '../../../../../../../../../../../src/plugins/kibana_react/common'; + import type { PackageInfo, PackageSpecCategory, @@ -28,12 +30,36 @@ import { entries } from '../../../../../types'; import { useGetCategories } from '../../../../../hooks'; import { AssetTitleMap, DisplayedAssets, ServiceTitleMap } from '../../../constants'; +import { + withSuspense, + LazyReplacementCard, +} from '../../../../../../../../../../../src/plugins/custom_integrations/public'; + import { NoticeModal } from './notice_modal'; +const ReplacementCard = withSuspense(LazyReplacementCard); + interface Props { packageInfo: PackageInfo; } +const Replacements = euiStyled(EuiFlexItem)` + margin: 0; + + & .euiAccordion { + padding-top: ${({ theme }) => parseInt(theme.eui.euiSizeL, 10) * 2}px; + + &::before { + content: ''; + display: block; + border-top: 1px solid ${({ theme }) => theme.eui.euiColorLightShade}; + position: relative; + top: -${({ theme }) => theme.eui.euiSizeL}; + margin: 0 ${({ theme }) => theme.eui.euiSizeXS}; + } + } +`; + export const Details: React.FC<Props> = memo(({ packageInfo }) => { const { data: categoriesData, isLoading: isLoadingCategories } = useGetCategories(); const packageCategories: string[] = useMemo(() => { @@ -181,6 +207,9 @@ export const Details: React.FC<Props> = memo(({ packageInfo }) => { <EuiFlexItem> <EuiDescriptionList type="column" compressed listItems={listItems} /> </EuiFlexItem> + <Replacements> + <ReplacementCard eprPackageName={packageInfo.name} /> + </Replacements> </EuiFlexGroup> </> ); diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/package_policies.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/package_policies.tsx index 42eb68099970a..304bdd621b1b2 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/package_policies.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/policies/package_policies.tsx @@ -217,7 +217,7 @@ export const PackagePoliciesPage = ({ name, version }: PackagePoliciesPanelProps }), render(_version, { agentPolicy, packagePolicy }) { return ( - <EuiFlexGroup gutterSize="s" alignItems="center"> + <EuiFlexGroup gutterSize="s" alignItems="center" wrap={true}> <EuiFlexItem grow={false}> <EuiText size="s" className="eui-textNoWrap"> <FormattedMessage diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/settings.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/settings.tsx index 07c95e0d77ec7..185ae10bcafd2 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/settings.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/settings/settings.tsx @@ -5,10 +5,11 @@ * 2.0. */ -import React, { memo, useEffect, useMemo, useState } from 'react'; +import React, { memo, useCallback, useEffect, useMemo, useState } from 'react'; import styled from 'styled-components'; import { FormattedMessage } from '@kbn/i18n/react'; import semverLt from 'semver/functions/lt'; +import { uniq } from 'lodash'; import { EuiCallOut, @@ -29,8 +30,16 @@ import { useGetPackageInstallStatus, useLink, sendUpgradePackagePolicyDryRun, + sendUpdatePackage, + useStartServices, } from '../../../../../hooks'; -import { PACKAGE_POLICY_SAVED_OBJECT_TYPE } from '../../../../../constants'; +import { + PACKAGE_POLICY_SAVED_OBJECT_TYPE, + AUTO_UPDATE_PACKAGES, + DEFAULT_PACKAGES, +} from '../../../../../constants'; + +import { KeepPoliciesUpToDateSwitch } from '../components'; import { InstallButton } from './install_button'; import { UpdateButton } from './update_button'; @@ -85,7 +94,7 @@ interface Props { } export const SettingsPage: React.FC<Props> = memo(({ packageInfo }: Props) => { - const { name, title, removable, latestVersion, version } = packageInfo; + const { name, title, removable, latestVersion, version, keepPoliciesUpToDate } = packageInfo; const [dryRunData, setDryRunData] = useState<UpgradePackagePolicyDryRunResponse | null>(); const [isUpgradingPackagePolicies, setIsUpgradingPackagePolicies] = useState<boolean>(false); const getPackageInstallStatus = useGetPackageInstallStatus(); @@ -95,6 +104,67 @@ export const SettingsPage: React.FC<Props> = memo(({ packageInfo }: Props) => { kuery: `${PACKAGE_POLICY_SAVED_OBJECT_TYPE}.package.name:${name}`, }); + const { notifications } = useStartServices(); + + const shouldShowKeepPoliciesUpToDateSwitch = useMemo(() => { + const packages = [...DEFAULT_PACKAGES, ...AUTO_UPDATE_PACKAGES]; + + const packageNames = uniq(packages.map((pkg) => pkg.name)); + + return packageNames.includes(name); + }, [name]); + + const [keepPoliciesUpToDateSwitchValue, setKeepPoliciesUpToDateSwitchValue] = useState<boolean>( + keepPoliciesUpToDate ?? false + ); + + const handleKeepPoliciesUpToDateSwitchChange = useCallback(() => { + const saveKeepPoliciesUpToDate = async () => { + try { + setKeepPoliciesUpToDateSwitchValue((prev) => !prev); + + await sendUpdatePackage(`${packageInfo.name}-${packageInfo.version}`, { + keepPoliciesUpToDate: !keepPoliciesUpToDateSwitchValue, + }); + + notifications.toasts.addSuccess({ + title: i18n.translate('xpack.fleet.integrations.integrationSaved', { + defaultMessage: 'Integration settings saved', + }), + text: !keepPoliciesUpToDateSwitchValue + ? i18n.translate('xpack.fleet.integrations.keepPoliciesUpToDateEnabledSuccess', { + defaultMessage: + 'Fleet will automatically keep integration policies up to date for {title}', + values: { title }, + }) + : i18n.translate('xpack.fleet.integrations.keepPoliciesUpToDateDisabledSuccess', { + defaultMessage: + 'Fleet will not automatically keep integration policies up to date for {title}', + values: { title }, + }), + }); + } catch (error) { + notifications.toasts.addError(error, { + title: i18n.translate('xpack.fleet.integrations.integrationSavedError', { + defaultMessage: 'Error saving integration settings', + }), + toastMessage: i18n.translate('xpack.fleet.integrations.keepPoliciesUpToDateError', { + defaultMessage: 'Error saving integration settings for {title}', + values: { title }, + }), + }); + } + }; + + saveKeepPoliciesUpToDate(); + }, [ + keepPoliciesUpToDateSwitchValue, + notifications.toasts, + packageInfo.name, + packageInfo.version, + title, + ]); + const { status: installationStatus, version: installedVersion } = getPackageInstallStatus(name); const packageHasUsages = !!packagePoliciesData?.total; @@ -199,6 +269,16 @@ export const SettingsPage: React.FC<Props> = memo(({ packageInfo }: Props) => { </tr> </tbody> </table> + {shouldShowKeepPoliciesUpToDateSwitch && ( + <> + <KeepPoliciesUpToDateSwitch + checked={keepPoliciesUpToDateSwitchValue} + onChange={handleKeepPoliciesUpToDateSwitchChange} + /> + <EuiSpacer size="l" /> + </> + )} + {(updateAvailable || isUpgradingPackagePolicies) && ( <> <UpdatesAvailableMsg latestVersion={latestVersion} /> diff --git a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/index.tsx b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/index.tsx index edb79b1f2c17b..62225d14d3857 100644 --- a/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/index.tsx +++ b/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/home/index.tsx @@ -89,7 +89,7 @@ function mapToCard( title: item.title, version: 'version' in item ? item.version || '' : '', release: 'release' in item ? item.release : undefined, - uiInternalPathUrl, + url: uiInternalPathUrl, }; } diff --git a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/missing_fleet_server_host_callout.tsx b/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/missing_fleet_server_host_callout.tsx index 169ff86b40c88..c390b50c498fb 100644 --- a/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/missing_fleet_server_host_callout.tsx +++ b/x-pack/plugins/fleet/public/components/agent_enrollment_flyout/missing_fleet_server_host_callout.tsx @@ -30,7 +30,7 @@ export const MissingFleetServerHostCallout: React.FunctionComponent = () => { <EuiLink href={docLinks.links.fleet.guide} target="_blank" external> <FormattedMessage id="xpack.fleet.agentEnrollment.missingFleetHostGuideLink" - defaultMessage="Fleet User Guide" + defaultMessage="Fleet and Elastic Agent Guide" /> </EuiLink> ), diff --git a/x-pack/plugins/fleet/public/components/package_policy_actions_menu.tsx b/x-pack/plugins/fleet/public/components/package_policy_actions_menu.tsx index ee7d5f97fcbac..754a3fb1c76b5 100644 --- a/x-pack/plugins/fleet/public/components/package_policy_actions_menu.tsx +++ b/x-pack/plugins/fleet/public/components/package_policy_actions_menu.tsx @@ -77,8 +77,7 @@ export const PackagePolicyActionsMenu: React.FunctionComponent<{ <EuiContextMenuItem disabled={!hasWriteCapabilities} icon="pencil" - href={getHref('edit_integration', { - policyId: agentPolicy.id, + href={getHref('integration_policy_edit', { packagePolicyId: packagePolicy.id, })} key="packagePolicyEdit" diff --git a/x-pack/plugins/fleet/public/components/settings_flyout/index.tsx b/x-pack/plugins/fleet/public/components/settings_flyout/index.tsx index 9bedfca0d3bca..d10fd8336a37f 100644 --- a/x-pack/plugins/fleet/public/components/settings_flyout/index.tsx +++ b/x-pack/plugins/fleet/public/components/settings_flyout/index.tsx @@ -382,7 +382,7 @@ export const SettingFlyout: React.FunctionComponent<Props> = ({ onClose }) => { > <FormattedMessage id="xpack.fleet.settings.userGuideLink" - defaultMessage="Fleet User Guide" + defaultMessage="Fleet and Elastic Agent Guide" /> </EuiLink> ), diff --git a/x-pack/plugins/fleet/public/constants/index.ts b/x-pack/plugins/fleet/public/constants/index.ts index a0e88bc58726a..32dd732c53dec 100644 --- a/x-pack/plugins/fleet/public/constants/index.ts +++ b/x-pack/plugins/fleet/public/constants/index.ts @@ -19,6 +19,9 @@ export { // Fleet Server index AGENTS_INDEX, ENROLLMENT_API_KEYS_INDEX, + // Preconfiguration + AUTO_UPDATE_PACKAGES, + DEFAULT_PACKAGES, } from '../../common/constants'; export * from './page_paths'; diff --git a/x-pack/plugins/fleet/public/constants/page_paths.ts b/x-pack/plugins/fleet/public/constants/page_paths.ts index e430e58d297f9..0673d50ec9485 100644 --- a/x-pack/plugins/fleet/public/constants/page_paths.ts +++ b/x-pack/plugins/fleet/public/constants/page_paths.ts @@ -26,7 +26,6 @@ export type DynamicPage = | 'integration_details_custom' | 'integration_policy_edit' | 'policy_details' - | 'add_integration_from_policy' | 'add_integration_to_policy' | 'edit_integration' | 'upgrade_package_policy' @@ -56,8 +55,6 @@ export const FLEET_ROUTING_PATHS = { policy_details_settings: '/policies/:policyId/settings', edit_integration: '/policies/:policyId/edit-integration/:packagePolicyId', upgrade_package_policy: '/policies/:policyId/upgrade-package-policy/:packagePolicyId', - // TODO: Review uses and remove if it is no longer used or linked to in any UX flows - add_integration_from_policy: '/policies/:policyId/add-integration', enrollment_tokens: '/enrollment-tokens', data_streams: '/data-streams', @@ -127,11 +124,6 @@ export const pagePathGetters: { FLEET_BASE_PATH, `/policies/${policyId}${tabId ? `/${tabId}` : ''}`, ], - // TODO: This might need to be removed because we do not have a way to pick an integration in line anymore - add_integration_from_policy: ({ policyId }) => [ - FLEET_BASE_PATH, - `/policies/${policyId}/add-integration`, - ], add_integration_to_policy: ({ pkgkey, integration, agentPolicyId }) => [ FLEET_BASE_PATH, // prettier-ignore diff --git a/x-pack/plugins/fleet/public/hooks/use_merge_epr_with_replacements.ts b/x-pack/plugins/fleet/public/hooks/use_merge_epr_with_replacements.ts index a3c1fea5e744f..ac53badc2446d 100644 --- a/x-pack/plugins/fleet/public/hooks/use_merge_epr_with_replacements.ts +++ b/x-pack/plugins/fleet/public/hooks/use_merge_epr_with_replacements.ts @@ -10,6 +10,7 @@ import type { CustomIntegration, IntegrationCategory, } from '../../../../../src/plugins/custom_integrations/common'; +import { filterCustomIntegrations } from '../../../../../src/plugins/custom_integrations/public'; // Export this as a utility to find replacements for a package (e.g. in the overview-page for an EPR package) function findReplacementsForEprPackage( @@ -20,9 +21,7 @@ function findReplacementsForEprPackage( if (release === 'ga') { return []; } - return replacements.filter((customIntegration: CustomIntegration) => { - return customIntegration.eprOverlap === packageName; - }); + return filterCustomIntegrations(replacements, { eprPackageName: packageName }); } export function useMergeEprPackagesWithReplacements( diff --git a/x-pack/plugins/fleet/public/hooks/use_request/epm.ts b/x-pack/plugins/fleet/public/hooks/use_request/epm.ts index d6764aac7de00..a7078dd3a3f91 100644 --- a/x-pack/plugins/fleet/public/hooks/use_request/epm.ts +++ b/x-pack/plugins/fleet/public/hooks/use_request/epm.ts @@ -17,6 +17,8 @@ import type { GetInfoResponse, InstallPackageResponse, DeletePackageResponse, + UpdatePackageRequest, + UpdatePackageResponse, } from '../../types'; import type { GetStatsResponse } from '../../../common'; @@ -113,3 +115,11 @@ export const sendRemovePackage = (pkgkey: string) => { method: 'delete', }); }; + +export const sendUpdatePackage = (pkgkey: string, body: UpdatePackageRequest['body']) => { + return sendRequest<UpdatePackageResponse>({ + path: epmRouteService.getUpdatePath(pkgkey), + method: 'put', + body, + }); +}; diff --git a/x-pack/plugins/fleet/public/mock/plugin_dependencies.ts b/x-pack/plugins/fleet/public/mock/plugin_dependencies.ts index 5f3ee5c188b45..f78fe58a6ad88 100644 --- a/x-pack/plugins/fleet/public/mock/plugin_dependencies.ts +++ b/x-pack/plugins/fleet/public/mock/plugin_dependencies.ts @@ -26,5 +26,6 @@ export const createStartDepsMock = (): MockedFleetStartDeps => { return { data: dataPluginMock.createStartContract(), navigation: navigationPluginMock.createStartContract(), + customIntegrations: customIntegrationsMock.createStart(), }; }; diff --git a/x-pack/plugins/fleet/public/plugin.ts b/x-pack/plugins/fleet/public/plugin.ts index d7cc332910dc2..d23bfcfe7b888 100644 --- a/x-pack/plugins/fleet/public/plugin.ts +++ b/x-pack/plugins/fleet/public/plugin.ts @@ -16,8 +16,12 @@ import { i18n } from '@kbn/i18n'; import type { NavigationPublicPluginStart } from 'src/plugins/navigation/public'; +import type { + CustomIntegrationsStart, + CustomIntegrationsSetup, +} from 'src/plugins/custom_integrations/public'; + import { DEFAULT_APP_CATEGORIES, AppNavLinkStatus } from '../../../../src/core/public'; -import type { CustomIntegrationsSetup } from '../../../../src/plugins/custom_integrations/public'; import type { DataPublicPluginSetup, @@ -76,6 +80,7 @@ export interface FleetSetupDeps { export interface FleetStartDeps { data: DataPublicPluginStart; navigation: NavigationPublicPluginStart; + customIntegrations: CustomIntegrationsStart; } export interface FleetStartServices extends CoreStart, FleetStartDeps { diff --git a/x-pack/plugins/fleet/public/types/index.ts b/x-pack/plugins/fleet/public/types/index.ts index 2328ca826da71..3ff0a760b5882 100644 --- a/x-pack/plugins/fleet/public/types/index.ts +++ b/x-pack/plugins/fleet/public/types/index.ts @@ -128,6 +128,8 @@ export { Installable, RegistryRelease, PackageSpecCategory, + UpdatePackageRequest, + UpdatePackageResponse, } from '../../common'; export * from './intra_app_route_state'; diff --git a/x-pack/plugins/fleet/server/constants/index.ts b/x-pack/plugins/fleet/server/constants/index.ts index 2ce457242c6b5..bfb1f3ec433f2 100644 --- a/x-pack/plugins/fleet/server/constants/index.ts +++ b/x-pack/plugins/fleet/server/constants/index.ts @@ -58,6 +58,7 @@ export { // Preconfiguration PRECONFIGURATION_DELETION_RECORD_SAVED_OBJECT_TYPE, PRECONFIGURATION_LATEST_KEYWORD, + AUTO_UPDATE_PACKAGES, } from '../../common'; export { diff --git a/x-pack/plugins/fleet/server/index.test.ts b/x-pack/plugins/fleet/server/index.test.ts index 659c7d2761d02..724bb9ad91ab6 100644 --- a/x-pack/plugins/fleet/server/index.test.ts +++ b/x-pack/plugins/fleet/server/index.test.ts @@ -7,8 +7,12 @@ import { applyDeprecations, configDeprecationFactory } from '@kbn/config'; +import { configDeprecationsMock } from '../../../../src/core/server/mocks'; + import { config } from '.'; +const deprecationContext = configDeprecationsMock.createContext(); + const applyConfigDeprecations = (settings: Record<string, any> = {}) => { if (!config.deprecations) { throw new Error('Config is not valid no deprecations'); @@ -20,6 +24,7 @@ const applyConfigDeprecations = (settings: Record<string, any> = {}) => { deprecations.map((deprecation) => ({ deprecation, path: '', + context: deprecationContext, })), () => ({ message }) => diff --git a/x-pack/plugins/fleet/server/routes/epm/handlers.ts b/x-pack/plugins/fleet/server/routes/epm/handlers.ts index 16d583f8a8d1f..2324d1a423bfc 100644 --- a/x-pack/plugins/fleet/server/routes/epm/handlers.ts +++ b/x-pack/plugins/fleet/server/routes/epm/handlers.ts @@ -22,6 +22,7 @@ import type { BulkInstallPackagesResponse, IBulkInstallPackageHTTPError, GetStatsResponse, + UpdatePackageResponse, } from '../../../common'; import type { GetCategoriesRequestSchema, @@ -33,6 +34,7 @@ import type { DeletePackageRequestSchema, BulkUpgradePackagesFromRegistryRequestSchema, GetStatsRequestSchema, + UpdatePackageRequestSchema, } from '../../types'; import { bulkInstallPackages, @@ -53,6 +55,7 @@ import { licenseService } from '../../services'; import { getArchiveEntry } from '../../services/epm/archive/cache'; import { getAsset } from '../../services/epm/archive/storage'; import { getPackageUsageStats } from '../../services/epm/packages/get'; +import { updatePackage } from '../../services/epm/packages/update'; export const getCategoriesHandler: RequestHandler< undefined, @@ -201,6 +204,28 @@ export const getInfoHandler: RequestHandler<TypeOf<typeof GetInfoRequestSchema.p } }; +export const updatePackageHandler: RequestHandler< + TypeOf<typeof UpdatePackageRequestSchema.params>, + unknown, + TypeOf<typeof UpdatePackageRequestSchema.body> +> = async (context, request, response) => { + try { + const { pkgkey } = request.params; + const savedObjectsClient = context.core.savedObjects.client; + + const { pkgName } = splitPkgKey(pkgkey); + + const res = await updatePackage({ savedObjectsClient, pkgName, ...request.body }); + const body: UpdatePackageResponse = { + response: res, + }; + + return response.ok({ body }); + } catch (error) { + return defaultIngestErrorHandler({ error, response }); + } +}; + export const getStatsHandler: RequestHandler<TypeOf<typeof GetStatsRequestSchema.params>> = async ( context, request, diff --git a/x-pack/plugins/fleet/server/routes/epm/index.ts b/x-pack/plugins/fleet/server/routes/epm/index.ts index 40316bd102e5f..684547dc1862c 100644 --- a/x-pack/plugins/fleet/server/routes/epm/index.ts +++ b/x-pack/plugins/fleet/server/routes/epm/index.ts @@ -18,6 +18,7 @@ import { DeletePackageRequestSchema, BulkUpgradePackagesFromRegistryRequestSchema, GetStatsRequestSchema, + UpdatePackageRequestSchema, } from '../../types'; import { @@ -31,6 +32,7 @@ import { deletePackageHandler, bulkInstallPackagesFromRegistryHandler, getStatsHandler, + updatePackageHandler, } from './handlers'; const MAX_FILE_SIZE_BYTES = 104857600; // 100MB @@ -90,6 +92,15 @@ export const registerRoutes = (router: IRouter) => { getInfoHandler ); + router.put( + { + path: EPM_API_ROUTES.INFO_PATTERN, + validate: UpdatePackageRequestSchema, + options: { tags: [`access:${PLUGIN_ID}-all`] }, + }, + updatePackageHandler + ); + router.post( { path: EPM_API_ROUTES.INSTALL_FROM_REGISTRY_PATTERN, diff --git a/x-pack/plugins/fleet/server/saved_objects/index.ts b/x-pack/plugins/fleet/server/saved_objects/index.ts index 83188e0047044..ac5ca401da000 100644 --- a/x-pack/plugins/fleet/server/saved_objects/index.ts +++ b/x-pack/plugins/fleet/server/saved_objects/index.ts @@ -44,6 +44,7 @@ import { } from './migrations/to_v7_13_0'; import { migratePackagePolicyToV7140, migrateInstallationToV7140 } from './migrations/to_v7_14_0'; import { migratePackagePolicyToV7150 } from './migrations/to_v7_15_0'; +import { migrateInstallationToV7160 } from './migrations/to_v7_16_0'; /* * Saved object types and mappings @@ -298,6 +299,7 @@ const getSavedObjectTypes = ( version: { type: 'keyword' }, internal: { type: 'boolean' }, removable: { type: 'boolean' }, + keep_policies_up_to_date: { type: 'boolean', index: false }, es_index_patterns: { enabled: false, type: 'object', @@ -332,6 +334,7 @@ const getSavedObjectTypes = ( migrations: { '7.14.0': migrateInstallationToV7140, '7.14.1': migrateInstallationToV7140, + '7.16.0': migrateInstallationToV7160, }, }, [ASSETS_SAVED_OBJECT_TYPE]: { diff --git a/x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_16_0.ts b/x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_16_0.ts new file mode 100644 index 0000000000000..7d12c550ec406 --- /dev/null +++ b/x-pack/plugins/fleet/server/saved_objects/migrations/to_v7_16_0.ts @@ -0,0 +1,28 @@ +/* + * 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 type { SavedObjectMigrationFn } from 'kibana/server'; + +import type { Installation } from '../../../common'; +import { AUTO_UPDATE_PACKAGES, DEFAULT_PACKAGES } from '../../../common'; + +export const migrateInstallationToV7160: SavedObjectMigrationFn<Installation, Installation> = ( + installationDoc, + migrationContext +) => { + const updatedInstallationDoc = installationDoc; + + if ( + [...AUTO_UPDATE_PACKAGES, ...DEFAULT_PACKAGES].some( + (pkg) => pkg.name === updatedInstallationDoc.attributes.name + ) + ) { + updatedInstallationDoc.attributes.keep_policies_up_to_date = true; + } + + return updatedInstallationDoc; +}; diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/default_settings.test.ts b/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/default_settings.test.ts index 5e7a3b35c544a..30f2909b2403e 100644 --- a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/default_settings.test.ts +++ b/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/default_settings.test.ts @@ -46,19 +46,11 @@ describe('buildDefaultSettings', () => { "lifecycle": Object { "name": "logs", }, - "mapping": Object { - "total_fields": Object { - "limit": "10000", - }, - }, - "number_of_routing_shards": "30", - "number_of_shards": "1", "query": Object { "default_field": Array [ "field1Keyword", ], }, - "refresh_interval": "5s", }, } `); diff --git a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/default_settings.ts b/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/default_settings.ts index e7fccb22566a5..a9ae65e9e97b8 100644 --- a/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/default_settings.ts +++ b/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/default_settings.ts @@ -67,17 +67,6 @@ export function buildDefaultSettings({ }, // What should be our default for the compression? codec: 'best_compression', - mapping: { - total_fields: { - limit: '10000', - }, - }, - // This is the default from Beats? So far seems to be a good value - refresh_interval: '5s', - // Default in the stack now, still good to have it in - number_of_shards: '1', - // We are setting 30 because it can be devided by several numbers. Useful when shrinking. - number_of_routing_shards: '30', // All the default fields which should be queried have to be added here. // So far we add all keyword and text fields here if there are any, otherwise diff --git a/x-pack/plugins/fleet/server/services/epm/packages/_install_package.ts b/x-pack/plugins/fleet/server/services/epm/packages/_install_package.ts index 1bbbb1bb9b6a2..9f66b5dd379ec 100644 --- a/x-pack/plugins/fleet/server/services/epm/packages/_install_package.ts +++ b/x-pack/plugins/fleet/server/services/epm/packages/_install_package.ts @@ -7,7 +7,12 @@ import type { ElasticsearchClient, SavedObject, SavedObjectsClientContract } from 'src/core/server'; -import { MAX_TIME_COMPLETE_INSTALL, ASSETS_SAVED_OBJECT_TYPE } from '../../../../common'; +import { + MAX_TIME_COMPLETE_INSTALL, + ASSETS_SAVED_OBJECT_TYPE, + PACKAGE_POLICY_SAVED_OBJECT_TYPE, + SO_SEARCH_LIMIT, +} from '../../../../common'; import type { InstallablePackage, InstallSource, PackageAssetReference } from '../../../../common'; import { PACKAGES_SAVED_OBJECT_TYPE } from '../../../constants'; import type { AssetReference, Installation, InstallType } from '../../../types'; @@ -22,6 +27,8 @@ import { installIlmForDataStream } from '../elasticsearch/datastream_ilm/install import { saveArchiveEntries } from '../archive/storage'; import { ConcurrentInstallOperationError } from '../../../errors'; +import { packagePolicyService } from '../..'; + import { createInstallation, saveKibanaAssetsRefs, updateVersion } from './install'; import { deleteKibanaSavedObjectsAssets } from './remove'; @@ -192,11 +199,27 @@ export async function _installPackage({ // update to newly installed version when all assets are successfully installed if (installedPkg) await updateVersion(savedObjectsClient, pkgName, pkgVersion); - await savedObjectsClient.update(PACKAGES_SAVED_OBJECT_TYPE, pkgName, { - install_version: pkgVersion, - install_status: 'installed', - package_assets: packageAssetRefs, - }); + const updatedPackage = await savedObjectsClient.update<Installation>( + PACKAGES_SAVED_OBJECT_TYPE, + pkgName, + { + install_version: pkgVersion, + install_status: 'installed', + package_assets: packageAssetRefs, + } + ); + + // If the package is flagged with the `keep_policies_up_to_date` flag, upgrade its + // associated package policies after installation + if (updatedPackage.attributes.keep_policies_up_to_date) { + const policyIdsToUpgrade = await packagePolicyService.listIds(savedObjectsClient, { + page: 1, + perPage: SO_SEARCH_LIMIT, + kuery: `${PACKAGE_POLICY_SAVED_OBJECT_TYPE}.package.name:${pkgName}`, + }); + + await packagePolicyService.upgrade(savedObjectsClient, esClient, policyIdsToUpgrade.items); + } return [ ...installedKibanaAssetsRefs, diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get.ts b/x-pack/plugins/fleet/server/services/epm/packages/get.ts index 0e23981b95fcd..d4f988e5fba8c 100644 --- a/x-pack/plugins/fleet/server/services/epm/packages/get.ts +++ b/x-pack/plugins/fleet/server/services/epm/packages/get.ts @@ -137,6 +137,7 @@ export async function getPackageInfo(options: { assets: Registry.groupPathsByService(paths || []), removable: !isUnremovablePackage(pkgName), notice: Registry.getNoticePath(paths || []), + keepPoliciesUpToDate: savedObject?.attributes.keep_policies_up_to_date ?? false, }; const updated = { ...packageInfo, ...additions }; diff --git a/x-pack/plugins/fleet/server/services/epm/packages/get_install_type.test.ts b/x-pack/plugins/fleet/server/services/epm/packages/get_install_type.test.ts index 155cd67e60287..6bc962165f1d2 100644 --- a/x-pack/plugins/fleet/server/services/epm/packages/get_install_type.test.ts +++ b/x-pack/plugins/fleet/server/services/epm/packages/get_install_type.test.ts @@ -28,6 +28,7 @@ const mockInstallation: SavedObject<Installation> = { install_version: '1.0.0', install_started_at: new Date().toISOString(), install_source: 'registry', + keep_policies_up_to_date: false, }, }; const mockInstallationUpdateFail: SavedObject<Installation> = { @@ -46,6 +47,7 @@ const mockInstallationUpdateFail: SavedObject<Installation> = { install_version: '1.0.1', install_started_at: new Date().toISOString(), install_source: 'registry', + keep_policies_up_to_date: false, }, }; diff --git a/x-pack/plugins/fleet/server/services/epm/packages/install.ts b/x-pack/plugins/fleet/server/services/epm/packages/install.ts index bd1968f03c263..e71ef5e002884 100644 --- a/x-pack/plugins/fleet/server/services/epm/packages/install.ts +++ b/x-pack/plugins/fleet/server/services/epm/packages/install.ts @@ -457,6 +457,7 @@ export async function createInstallation(options: { install_status: 'installing', install_started_at: new Date().toISOString(), install_source: installSource, + keep_policies_up_to_date: false, }, { id: pkgName, overwrite: true } ); diff --git a/x-pack/plugins/fleet/server/services/epm/packages/update.ts b/x-pack/plugins/fleet/server/services/epm/packages/update.ts new file mode 100644 index 0000000000000..84c756983fa07 --- /dev/null +++ b/x-pack/plugins/fleet/server/services/epm/packages/update.ts @@ -0,0 +1,42 @@ +/* + * 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 type { SavedObjectsClientContract } from 'kibana/server'; +import type { TypeOf } from '@kbn/config-schema'; + +import { PACKAGES_SAVED_OBJECT_TYPE } from '../../../constants'; +import type { Installation, UpdatePackageRequestSchema } from '../../../types'; +import { IngestManagerError } from '../../../errors'; + +import { getInstallationObject, getPackageInfo } from './get'; + +export async function updatePackage( + options: { + savedObjectsClient: SavedObjectsClientContract; + pkgName: string; + keepPoliciesUpToDate?: boolean; + } & TypeOf<typeof UpdatePackageRequestSchema.body> +) { + const { savedObjectsClient, pkgName, keepPoliciesUpToDate } = options; + const installedPackage = await getInstallationObject({ savedObjectsClient, pkgName }); + + if (!installedPackage) { + throw new IngestManagerError(`package ${pkgName} is not installed`); + } + + await savedObjectsClient.update<Installation>(PACKAGES_SAVED_OBJECT_TYPE, installedPackage.id, { + keep_policies_up_to_date: keepPoliciesUpToDate ?? false, + }); + + const packageInfo = await getPackageInfo({ + savedObjectsClient, + pkgName, + pkgVersion: installedPackage.attributes.version, + }); + + return packageInfo; +} diff --git a/x-pack/plugins/fleet/server/services/epm/registry/registry_url.ts b/x-pack/plugins/fleet/server/services/epm/registry/registry_url.ts index 568aafddecbad..dfca8511fd84c 100644 --- a/x-pack/plugins/fleet/server/services/epm/registry/registry_url.ts +++ b/x-pack/plugins/fleet/server/services/epm/registry/registry_url.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { appContextService, licenseService } from '../../'; +import { appContextService } from '../../'; // from https://github.com/elastic/package-registry#docker (maybe from OpenAPI one day) // the unused variables cause a TS warning about unused values @@ -32,16 +32,9 @@ const getDefaultRegistryUrl = (): string => { export const getRegistryUrl = (): string => { const customUrl = appContextService.getConfig()?.registryUrl; - const isEnterprise = licenseService.isEnterprise(); - - if (customUrl && isEnterprise) { - return customUrl; - } if (customUrl) { - appContextService - .getLogger() - .warn('Enterprise license is required to use a custom registry url.'); + return customUrl; } return getDefaultRegistryUrl(); diff --git a/x-pack/plugins/fleet/server/services/fleet_server/index.ts b/x-pack/plugins/fleet/server/services/fleet_server/index.ts index 733d962a86e9e..0d386b9ba4995 100644 --- a/x-pack/plugins/fleet/server/services/fleet_server/index.ts +++ b/x-pack/plugins/fleet/server/services/fleet_server/index.ts @@ -50,22 +50,25 @@ export async function startFleetServerSetup() { _onResolve = resolve; }); const logger = appContextService.getLogger(); + + // Check for security if (!appContextService.hasSecurity()) { // Fleet will not work if security is not enabled logger?.warn('Fleet requires the security plugin to be enabled.'); return; } + // Log information about custom registry URL + const customUrl = appContextService.getConfig()?.registryUrl; + if (customUrl) { + logger.info( + `Custom registry url is an experimental feature and is unsupported. Using custom registry at ${customUrl}` + ); + } + try { // We need licence to be initialized before using the SO service. await licenseService.getLicenseInformation$()?.pipe(first())?.toPromise(); - - const customUrl = appContextService.getConfig()?.registryUrl; - const isEnterprise = licenseService.isEnterprise(); - if (customUrl && isEnterprise) { - logger.info('Custom registry url is an experimental feature and is unsupported.'); - } - await runFleetServerMigration(); _isFleetServerSetup = true; } catch (err) { diff --git a/x-pack/plugins/fleet/server/services/managed_package_policies.test.ts b/x-pack/plugins/fleet/server/services/managed_package_policies.test.ts new file mode 100644 index 0000000000000..a53b1fe648905 --- /dev/null +++ b/x-pack/plugins/fleet/server/services/managed_package_policies.test.ts @@ -0,0 +1,106 @@ +/* + * 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 { elasticsearchServiceMock, savedObjectsClientMock } from 'src/core/server/mocks'; + +import { upgradeManagedPackagePolicies } from './managed_package_policies'; +import { packagePolicyService } from './package_policy'; +import { getPackageInfo } from './epm/packages'; + +jest.mock('./package_policy'); +jest.mock('./epm/packages'); +jest.mock('./app_context', () => { + return { + ...jest.requireActual('./app_context'), + appContextService: { + getLogger: jest.fn(() => { + return { debug: jest.fn() }; + }), + }, + }; +}); + +describe('managed package policies', () => { + afterEach(() => { + (packagePolicyService.get as jest.Mock).mockReset(); + (getPackageInfo as jest.Mock).mockReset(); + }); + + it('should not upgrade policies for non-managed package', async () => { + const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; + const soClient = savedObjectsClientMock.create(); + + (packagePolicyService.get as jest.Mock).mockImplementationOnce( + (savedObjectsClient: any, id: string) => { + return { + id, + inputs: {}, + version: '', + revision: 1, + updated_at: '', + updated_by: '', + created_at: '', + created_by: '', + package: { + name: 'non-managed-package', + title: 'Non-Managed Package', + version: '0.0.1', + }, + }; + } + ); + + (getPackageInfo as jest.Mock).mockImplementationOnce( + ({ savedObjectsClient, pkgName, pkgVersion }) => ({ + name: pkgName, + version: pkgVersion, + keepPoliciesUpToDate: false, + }) + ); + + await upgradeManagedPackagePolicies(soClient, esClient, ['non-managed-package-id']); + + expect(packagePolicyService.upgrade).not.toBeCalled(); + }); + + it('should upgrade policies for managed package', async () => { + const esClient = elasticsearchServiceMock.createClusterClient().asInternalUser; + const soClient = savedObjectsClientMock.create(); + + (packagePolicyService.get as jest.Mock).mockImplementationOnce( + (savedObjectsClient: any, id: string) => { + return { + id, + inputs: {}, + version: '', + revision: 1, + updated_at: '', + updated_by: '', + created_at: '', + created_by: '', + package: { + name: 'managed-package', + title: 'Managed Package', + version: '0.0.1', + }, + }; + } + ); + + (getPackageInfo as jest.Mock).mockImplementationOnce( + ({ savedObjectsClient, pkgName, pkgVersion }) => ({ + name: pkgName, + version: pkgVersion, + keepPoliciesUpToDate: true, + }) + ); + + await upgradeManagedPackagePolicies(soClient, esClient, ['managed-package-id']); + + expect(packagePolicyService.upgrade).toBeCalledWith(soClient, esClient, ['managed-package-id']); + }); +}); diff --git a/x-pack/plugins/fleet/server/services/managed_package_policies.ts b/x-pack/plugins/fleet/server/services/managed_package_policies.ts new file mode 100644 index 0000000000000..73f85525f4c60 --- /dev/null +++ b/x-pack/plugins/fleet/server/services/managed_package_policies.ts @@ -0,0 +1,58 @@ +/* + * 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 type { ElasticsearchClient, SavedObjectsClientContract } from 'src/core/server'; + +import { AUTO_UPDATE_PACKAGES } from '../../common'; + +import { appContextService } from './app_context'; +import { getPackageInfo } from './epm/packages'; +import { packagePolicyService } from './package_policy'; + +/** + * Upgrade any package policies for packages installed through setup that are denoted as `AUTO_UPGRADE` packages + * or have the `keep_policies_up_to_date` flag set to `true` + */ +export const upgradeManagedPackagePolicies = async ( + soClient: SavedObjectsClientContract, + esClient: ElasticsearchClient, + packagePolicyIds: string[] +) => { + const policyIdsToUpgrade: string[] = []; + + for (const packagePolicyId of packagePolicyIds) { + const packagePolicy = await packagePolicyService.get(soClient, packagePolicyId); + + if (!packagePolicy || !packagePolicy.package) { + continue; + } + + const packageInfo = await getPackageInfo({ + savedObjectsClient: soClient, + pkgName: packagePolicy.package.name, + pkgVersion: packagePolicy.package.version, + }); + + const shouldUpgradePolicies = + AUTO_UPDATE_PACKAGES.some((pkg) => pkg.name === packageInfo.name) || + packageInfo.keepPoliciesUpToDate; + + if (shouldUpgradePolicies) { + policyIdsToUpgrade.push(packagePolicy.id); + } + } + + if (policyIdsToUpgrade.length) { + appContextService + .getLogger() + .debug( + `Upgrading ${policyIdsToUpgrade.length} package policies: ${policyIdsToUpgrade.join(', ')}` + ); + + await packagePolicyService.upgrade(soClient, esClient, policyIdsToUpgrade); + } +}; diff --git a/x-pack/plugins/fleet/server/services/package_policy.test.ts b/x-pack/plugins/fleet/server/services/package_policy.test.ts index 31f1440135436..8b5a46dc675fc 100644 --- a/x-pack/plugins/fleet/server/services/package_policy.test.ts +++ b/x-pack/plugins/fleet/server/services/package_policy.test.ts @@ -1085,91 +1085,584 @@ describe('Package policy service', () => { }); describe('overridePackageInputs', () => { - it('should override variable in base package policy', () => { - const basePackagePolicy: NewPackagePolicy = { - name: 'base-package-policy', - description: 'Base Package Policy', - namespace: 'default', - enabled: true, - policy_id: 'xxxx', - output_id: 'xxxx', - package: { + describe('when variable is already defined', () => { + it('preserves original variable value without overwriting', () => { + const basePackagePolicy: NewPackagePolicy = { + name: 'base-package-policy', + description: 'Base Package Policy', + namespace: 'default', + enabled: true, + policy_id: 'xxxx', + output_id: 'xxxx', + package: { + name: 'test-package', + title: 'Test Package', + version: '0.0.1', + }, + inputs: [ + { + type: 'logs', + policy_template: 'template_1', + enabled: true, + vars: { + path: { + type: 'text', + value: ['/var/log/logfile.log'], + }, + }, + streams: [], + }, + ], + }; + + const packageInfo: PackageInfo = { name: 'test-package', + description: 'Test Package', title: 'Test Package', version: '0.0.1', - }, - inputs: [ + latestVersion: '0.0.1', + release: 'experimental', + format_version: '1.0.0', + owner: { github: 'elastic/fleet' }, + policy_templates: [ + { + name: 'template_1', + title: 'Template 1', + description: 'Template 1', + inputs: [ + { + type: 'logs', + title: 'Log', + description: 'Log Input', + vars: [ + { + name: 'path', + type: 'text', + }, + ], + }, + ], + }, + ], + // @ts-ignore + assets: {}, + }; + + const inputsOverride: NewPackagePolicyInput[] = [ { type: 'logs', - policy_template: 'template_1', enabled: true, + streams: [], vars: { path: { type: 'text', - value: ['/var/log/logfile.log'], + value: '/var/log/new-logfile.log', }, }, + }, + ]; + + const result = overridePackageInputs( + basePackagePolicy, + packageInfo, + // TODO: Update this type assertion when the `InputsOverride` type is updated such + // that it no longer causes unresolvable type errors when used directly + inputsOverride as InputsOverride[], + false + ); + expect(result.inputs[0]?.vars?.path.value).toEqual(['/var/log/logfile.log']); + }); + }); + + describe('when variable is undefined in original object', () => { + it('adds the variable definition to the resulting object', () => { + const basePackagePolicy: NewPackagePolicy = { + name: 'base-package-policy', + description: 'Base Package Policy', + namespace: 'default', + enabled: true, + policy_id: 'xxxx', + output_id: 'xxxx', + package: { + name: 'test-package', + title: 'Test Package', + version: '0.0.1', + }, + inputs: [ + { + type: 'logs', + policy_template: 'template_1', + enabled: true, + vars: { + path: { + type: 'text', + value: ['/var/log/logfile.log'], + }, + }, + streams: [], + }, + ], + }; + + const packageInfo: PackageInfo = { + name: 'test-package', + description: 'Test Package', + title: 'Test Package', + version: '0.0.1', + latestVersion: '0.0.1', + release: 'experimental', + format_version: '1.0.0', + owner: { github: 'elastic/fleet' }, + policy_templates: [ + { + name: 'template_1', + title: 'Template 1', + description: 'Template 1', + inputs: [ + { + type: 'logs', + title: 'Log', + description: 'Log Input', + vars: [ + { + name: 'path', + type: 'text', + }, + { + name: 'path_2', + type: 'text', + }, + ], + }, + ], + }, + ], + // @ts-ignore + assets: {}, + }; + + const inputsOverride: NewPackagePolicyInput[] = [ + { + type: 'logs', + enabled: true, streams: [], + policy_template: 'template_1', + vars: { + path: { + type: 'text', + value: '/var/log/new-logfile.log', + }, + path_2: { + type: 'text', + value: '/var/log/custom.log', + }, + }, }, - ], - }; + ]; + + const result = overridePackageInputs( + basePackagePolicy, + packageInfo, + // TODO: Update this type assertion when the `InputsOverride` type is updated such + // that it no longer causes unresolvable type errors when used directly + inputsOverride as InputsOverride[], + false + ); + + expect(result.inputs[0]?.vars?.path_2.value).toEqual('/var/log/custom.log'); + }); + }); + + describe('when an input of the same type exists under multiple policy templates', () => { + it('adds variable definitions to the proper streams', () => { + const basePackagePolicy: NewPackagePolicy = { + name: 'base-package-policy', + description: 'Base Package Policy', + namespace: 'default', + enabled: true, + policy_id: 'xxxx', + output_id: 'xxxx', + package: { + name: 'test-package', + title: 'Test Package', + version: '0.0.1', + }, + inputs: [ + { + type: 'logs', + policy_template: 'template_1', + enabled: true, + streams: [ + { + enabled: true, + data_stream: { + dataset: 'test.logs', + type: 'logfile', + }, + vars: { + log_file_path: { + type: 'text', + }, + }, + }, + ], + }, + { + type: 'logs', + policy_template: 'template_2', + enabled: true, + streams: [ + { + enabled: true, + data_stream: { + dataset: 'test.logs', + type: 'logfile', + }, + vars: { + log_file_path: { + type: 'text', + }, + }, + }, + ], + }, + ], + }; + + const packageInfo: PackageInfo = { + name: 'test-package', + description: 'Test Package', + title: 'Test Package', + version: '0.0.1', + latestVersion: '0.0.1', + release: 'experimental', + format_version: '1.0.0', + owner: { github: 'elastic/fleet' }, + policy_templates: [ + { + name: 'template_1', + title: 'Template 1', + description: 'Template 1', + inputs: [ + { + type: 'logs', + title: 'Log', + description: 'Log Input', + vars: [], + }, + ], + }, + { + name: 'template_2', + title: 'Template 2', + description: 'Template 2', + inputs: [ + { + type: 'logs', + title: 'Log', + description: 'Log Input', + vars: [], + }, + ], + }, + ], + // @ts-ignore + assets: {}, + }; - const packageInfo: PackageInfo = { - name: 'test-package', - description: 'Test Package', - title: 'Test Package', - version: '0.0.1', - latestVersion: '0.0.1', - release: 'experimental', - format_version: '1.0.0', - owner: { github: 'elastic/fleet' }, - policy_templates: [ + const inputsOverride: NewPackagePolicyInput[] = [ { - name: 'template_1', - title: 'Template 1', - description: 'Template 1', - inputs: [ + type: 'logs', + enabled: true, + policy_template: 'template_1', + streams: [ { - type: 'logs', - title: 'Log', - description: 'Log Input', - vars: [ - { - name: 'path', + enabled: true, + data_stream: { + dataset: 'test.logs', + type: 'logfile', + }, + vars: { + log_file_path: { type: 'text', + value: '/var/log/template1-logfile.log', }, - ], + }, }, ], }, - ], - // @ts-ignore - assets: {}, - }; + { + type: 'logs', + enabled: true, + policy_template: 'template_2', + streams: [ + { + enabled: true, + data_stream: { + dataset: 'test.logs', + type: 'logfile', + }, + vars: { + log_file_path: { + type: 'text', + value: '/var/log/template2-logfile.log', + }, + }, + }, + ], + }, + ]; + + const result = overridePackageInputs( + basePackagePolicy, + packageInfo, + // TODO: Update this type assertion when the `InputsOverride` type is updated such + // that it no longer causes unresolvable type errors when used directly + inputsOverride as InputsOverride[], + false + ); - const inputsOverride: NewPackagePolicyInput[] = [ - { - type: 'logs', + expect(result.inputs).toHaveLength(2); + + const template1Input = result.inputs.find( + (input) => input.policy_template === 'template_1' + ); + const template2Input = result.inputs.find( + (input) => input.policy_template === 'template_2' + ); + + expect(template1Input).toBeDefined(); + expect(template2Input).toBeDefined(); + + expect(template1Input?.streams[0].vars?.log_file_path.value).toBe( + '/var/log/template1-logfile.log' + ); + + expect(template2Input?.streams[0].vars?.log_file_path.value).toBe( + '/var/log/template2-logfile.log' + ); + }); + }); + + describe('when an input or stream is disabled on the original policy object', () => { + it('remains disabled on the resulting policy object', () => { + const basePackagePolicy: NewPackagePolicy = { + name: 'base-package-policy', + description: 'Base Package Policy', + namespace: 'default', enabled: true, - streams: [], - vars: { - path: { - type: 'text', - value: '/var/log/new-logfile.log', + policy_id: 'xxxx', + output_id: 'xxxx', + package: { + name: 'test-package', + title: 'Test Package', + version: '0.0.1', + }, + inputs: [ + { + type: 'logs', + policy_template: 'template_1', + enabled: false, + streams: [ + { + enabled: false, + data_stream: { + dataset: 'test.logs', + type: 'logfile', + }, + vars: { + log_file_path: { + type: 'text', + }, + }, + }, + { + enabled: true, + data_stream: { + dataset: 'test.logs', + type: 'logfile2', + }, + vars: { + log_file_path_2: { + type: 'text', + }, + }, + }, + ], + }, + { + type: 'logs_2', + policy_template: 'template_1', + enabled: true, + streams: [ + { + enabled: true, + data_stream: { + dataset: 'test.logs', + type: 'logfile', + }, + vars: { + log_file_path: { + type: 'text', + }, + }, + }, + ], + }, + { + type: 'logs', + policy_template: 'template_2', + enabled: true, + streams: [ + { + enabled: true, + data_stream: { + dataset: 'test.logs', + type: 'logfile', + }, + vars: { + log_file_path: { + type: 'text', + }, + }, + }, + ], }, + ], + }; + + const packageInfo: PackageInfo = { + name: 'test-package', + description: 'Test Package', + title: 'Test Package', + version: '0.0.1', + latestVersion: '0.0.1', + release: 'experimental', + format_version: '1.0.0', + owner: { github: 'elastic/fleet' }, + policy_templates: [ + { + name: 'template_1', + title: 'Template 1', + description: 'Template 1', + inputs: [ + { + type: 'logs', + title: 'Log', + description: 'Log Input', + vars: [], + }, + { + type: 'logs_2', + title: 'Log 2', + description: 'Log Input 2', + vars: [], + }, + ], + }, + { + name: 'template_2', + title: 'Template 2', + description: 'Template 2', + inputs: [ + { + type: 'logs', + title: 'Log', + description: 'Log Input', + vars: [], + }, + ], + }, + ], + // @ts-ignore + assets: {}, + }; + + const inputsOverride: NewPackagePolicyInput[] = [ + { + type: 'logs', + enabled: true, + policy_template: 'template_1', + streams: [ + { + enabled: true, + data_stream: { + dataset: 'test.logs', + type: 'logfile', + }, + vars: { + log_file_path: { + type: 'text', + value: '/var/log/template1-logfile.log', + }, + }, + }, + { + enabled: true, + data_stream: { + dataset: 'test.logs', + type: 'logfile2', + }, + vars: { + log_file_path_2: { + type: 'text', + value: '/var/log/template1-logfile2.log', + }, + }, + }, + ], }, - }, - ]; + { + type: 'logs', + enabled: true, + policy_template: 'template_2', + streams: [ + { + enabled: true, + data_stream: { + dataset: 'test.logs', + type: 'logfile', + }, + vars: { + log_file_path: { + type: 'text', + value: '/var/log/template2-logfile.log', + }, + }, + }, + ], + }, + ]; + + const result = overridePackageInputs( + basePackagePolicy, + packageInfo, + // TODO: Update this type assertion when the `InputsOverride` type is updated such + // that it no longer causes unresolvable type errors when used directly + inputsOverride as InputsOverride[], + false + ); - const result = overridePackageInputs( - basePackagePolicy, - packageInfo, - // TODO: Update this type assertion when the `InputsOverride` type is updated such - // that it no longer causes unresolvable type errors when used directly - inputsOverride as InputsOverride[], - false - ); - expect(result.inputs[0]?.vars?.path.value).toBe('/var/log/new-logfile.log'); + const template1Inputs = result.inputs.filter( + (input) => input.policy_template === 'template_1' + ); + + const template2Inputs = result.inputs.filter( + (input) => input.policy_template === 'template_2' + ); + + expect(template1Inputs).toHaveLength(2); + expect(template2Inputs).toHaveLength(1); + + const logsInput = template1Inputs?.find((input) => input.type === 'logs'); + expect(logsInput?.enabled).toBe(false); + + const logfileStream = logsInput?.streams.find( + (stream) => stream.data_stream.type === 'logfile' + ); + + expect(logfileStream?.enabled).toBe(false); + }); }); }); }); diff --git a/x-pack/plugins/fleet/server/services/package_policy.ts b/x-pack/plugins/fleet/server/services/package_policy.ts index 9b02d6eaff495..546e267b8402b 100644 --- a/x-pack/plugins/fleet/server/services/package_policy.ts +++ b/x-pack/plugins/fleet/server/services/package_policy.ts @@ -980,7 +980,7 @@ export function overridePackageInputs( ({ name }) => name === input.policy_template ); - // Ignore any policy template removes in the new package version + // Ignore any policy templates removed in the new package version if (!policyTemplate) { return false; } @@ -996,21 +996,26 @@ export function overridePackageInputs( ]; for (const override of inputsOverride) { - let originalInput = inputs.find((i) => i.type === override.type); + let originalInput = inputs.find( + (i) => i.type === override.type && i.policy_template === override.policy_template + ); // If there's no corresponding input on the original package policy, just // take the override value from the new package as-is. This case typically - // occurs when inputs or package policies are added/removed between versions. + // occurs when inputs or package policy templates are added/removed between versions. if (originalInput === undefined) { inputs.push(override as NewPackagePolicyInput); continue; } - if (typeof override.enabled !== 'undefined') { + // For flags like this, we only want to override the original value if it was set + // as `undefined` in the original object. An explicit true/false value should be + // persisted from the original object to the result after the override process is complete. + if (originalInput.enabled === undefined && override.enabled !== undefined) { originalInput.enabled = override.enabled; } - if (typeof override.keep_enabled !== 'undefined') { + if (originalInput.keep_enabled === undefined && override.keep_enabled !== undefined) { originalInput.keep_enabled = override.keep_enabled; } @@ -1029,7 +1034,7 @@ export function overridePackageInputs( continue; } - if (typeof stream.enabled !== 'undefined' && originalStream) { + if (originalStream?.enabled === undefined) { originalStream.enabled = stream.enabled; } @@ -1092,7 +1097,14 @@ function deepMergeVars(original: any, override: any): any { for (const { name, ...overrideVal } of overrideVars) { const originalVar = original.vars[name]; + result.vars[name] = { ...originalVar, ...overrideVal }; + + // Ensure that any value from the original object is persisted on the newly merged resulting object, + // even if we merge other data about the given variable + if (originalVar?.value) { + result.vars[name].value = originalVar.value; + } } return result; diff --git a/x-pack/plugins/fleet/server/services/preconfiguration.test.ts b/x-pack/plugins/fleet/server/services/preconfiguration.test.ts index 43887bc2787f4..d0ae995358632 100644 --- a/x-pack/plugins/fleet/server/services/preconfiguration.test.ts +++ b/x-pack/plugins/fleet/server/services/preconfiguration.test.ts @@ -137,6 +137,7 @@ jest.mock('./package_policy', () => ({ ...jest.requireActual('./package_policy'), packagePolicyService: { getByIDs: jest.fn().mockReturnValue([]), + listIds: jest.fn().mockReturnValue({ items: [] }), create(soClient: any, esClient: any, newPackagePolicy: NewPackagePolicy) { return { id: 'mocked', @@ -144,6 +145,12 @@ jest.mock('./package_policy', () => ({ ...newPackagePolicy, }; }, + get(soClient: any, id: string) { + return { + id: 'mocked', + version: 'mocked', + }; + }, }, })); diff --git a/x-pack/plugins/fleet/server/services/preconfiguration.ts b/x-pack/plugins/fleet/server/services/preconfiguration.ts index 30c5c27c68916..a444f8bdaa4da 100644 --- a/x-pack/plugins/fleet/server/services/preconfiguration.ts +++ b/x-pack/plugins/fleet/server/services/preconfiguration.ts @@ -35,6 +35,7 @@ import { agentPolicyService, addPackageToAgentPolicy } from './agent_policy'; import type { InputsOverride } from './package_policy'; import { overridePackageInputs } from './package_policy'; import { appContextService } from './app_context'; +import { upgradeManagedPackagePolicies } from './managed_package_policies'; import { outputService } from './output'; interface PreconfigurationResult { @@ -313,6 +314,17 @@ export async function ensurePreconfiguredPackagesAndPolicies( } } + try { + const fulfilledPolicyPackagePolicyIds = fulfilledPolicies.flatMap<string>( + ({ policy }) => policy?.package_policies as string[] + ); + + await upgradeManagedPackagePolicies(soClient, esClient, fulfilledPolicyPackagePolicyIds); + // Swallow errors that occur when upgrading + } catch (error) { + appContextService.getLogger().error(error); + } + return { policies: fulfilledPolicies.map((p) => p.policy diff --git a/x-pack/plugins/fleet/server/types/rest_spec/epm.ts b/x-pack/plugins/fleet/server/types/rest_spec/epm.ts index 25f1e766a7476..918def62a9d0e 100644 --- a/x-pack/plugins/fleet/server/types/rest_spec/epm.ts +++ b/x-pack/plugins/fleet/server/types/rest_spec/epm.ts @@ -35,6 +35,15 @@ export const GetInfoRequestSchema = { }), }; +export const UpdatePackageRequestSchema = { + params: schema.object({ + pkgkey: schema.string(), + }), + body: schema.object({ + keepPoliciesUpToDate: schema.boolean(), + }), +}; + export const GetStatsRequestSchema = { params: schema.object({ pkgName: schema.string(), diff --git a/x-pack/plugins/fleet/storybook/context/fixtures/packages.ts b/x-pack/plugins/fleet/storybook/context/fixtures/packages.ts index 251024a4e7cdb..2a6012272d4b8 100644 --- a/x-pack/plugins/fleet/storybook/context/fixtures/packages.ts +++ b/x-pack/plugins/fleet/storybook/context/fixtures/packages.ts @@ -985,6 +985,7 @@ export const response: GetPackagesResponse['response'] = [ install_status: 'installed', install_started_at: '2021-08-25T19:44:41.090Z', install_source: 'registry', + keep_policies_up_to_date: false, }, references: [], coreMigrationVersion: '7.14.0', @@ -1113,6 +1114,7 @@ export const response: GetPackagesResponse['response'] = [ install_status: 'installed', install_started_at: '2021-08-25T19:44:37.078Z', install_source: 'registry', + keep_policies_up_to_date: false, }, references: [], coreMigrationVersion: '7.14.0', @@ -4268,6 +4270,7 @@ export const response: GetPackagesResponse['response'] = [ install_status: 'installed', install_started_at: '2021-08-25T19:44:43.380Z', install_source: 'registry', + keep_policies_up_to_date: false, }, references: [], coreMigrationVersion: '7.14.0', diff --git a/x-pack/plugins/fleet/storybook/context/index.tsx b/x-pack/plugins/fleet/storybook/context/index.tsx index 6c6b2e479d234..e5a360c28385b 100644 --- a/x-pack/plugins/fleet/storybook/context/index.tsx +++ b/x-pack/plugins/fleet/storybook/context/index.tsx @@ -13,12 +13,12 @@ import { createBrowserHistory } from 'history'; import { I18nProvider } from '@kbn/i18n/react'; import { ScopedHistory } from '../../../../../src/core/public'; +import { getStorybookContextProvider } from '../../../../../src/plugins/custom_integrations/storybook'; import { IntegrationsAppContext } from '../../public/applications/integrations/app'; import type { FleetConfigType, FleetStartServices } from '../../public/plugin'; -// TODO: This is a contract leak, and should be on the context, rather than a setter. +// TODO: These are contract leaks, and should be on the context, rather than a setter. import { setHttpClient } from '../../public/hooks/use_request'; - import { setCustomIntegrations } from '../../public/services/custom_integrations'; import { getApplication } from './application'; @@ -36,7 +36,6 @@ import { stubbedStartServices } from './stubs'; // Expect this to grow as components that are given Stories need access to mocked services. export const StorybookContext: React.FC<{ storyContext?: StoryContext }> = ({ children: storyChildren, - storyContext, }) => { const basepath = ''; const browserHistory = createBrowserHistory(); @@ -56,6 +55,9 @@ export const StorybookContext: React.FC<{ storyContext?: StoryContext }> = ({ injectedMetadata: { getInjectedVar: () => null, }, + customIntegrations: { + ContextProvider: getStorybookContextProvider(), + }, ...stubbedStartServices, }; diff --git a/x-pack/plugins/fleet/storybook/decorator.tsx b/x-pack/plugins/fleet/storybook/decorator.tsx index 91d6cc41e6b9a..8e68249809574 100644 --- a/x-pack/plugins/fleet/storybook/decorator.tsx +++ b/x-pack/plugins/fleet/storybook/decorator.tsx @@ -10,6 +10,6 @@ import type { DecoratorFn } from '@storybook/react'; import { StorybookContext } from './context'; -export const decorator: DecoratorFn = (story: Function) => { +export const decorator: DecoratorFn = (story, storybook) => { return <StorybookContext>{story()}</StorybookContext>; }; diff --git a/x-pack/plugins/fleet/storybook/smoke.test.tsx b/x-pack/plugins/fleet/storybook/smoke.test.tsx index e7bdc2e9d82a2..4e9f8646bfdfb 100644 --- a/x-pack/plugins/fleet/storybook/smoke.test.tsx +++ b/x-pack/plugins/fleet/storybook/smoke.test.tsx @@ -10,13 +10,16 @@ import { createElement } from 'react'; import { act } from 'react-dom/test-utils'; import initStoryshots from '@storybook/addon-storyshots'; -initStoryshots({ - configPath: __dirname, - framework: 'react', - test: async ({ story }) => { - const renderer = mount(createElement(story.render)); - // wait until the element will perform all renders and resolve all promises (lazy loading, especially) - await act(() => new Promise((resolve) => setTimeout(resolve, 0))); - expect(renderer.html()).not.toContain('euiErrorBoundary'); - }, +// skipped: https://github.com/elastic/kibana/issues/113991 +describe('Fleet Storybook Smoke', () => { + initStoryshots({ + configPath: __dirname, + framework: 'react', + test: async ({ story }) => { + const renderer = mount(createElement(story.render)); + // wait until the element will perform all renders and resolve all promises (lazy loading, especially) + await act(() => new Promise((resolve) => setTimeout(resolve, 0))); + expect(renderer.html()).not.toContain('euiErrorBoundary'); + }, + }); }); diff --git a/x-pack/plugins/index_management/__jest__/client_integration/helpers/test_subjects.ts b/x-pack/plugins/index_management/__jest__/client_integration/helpers/test_subjects.ts index 1c75ef314b728..b24defcdcd79c 100644 --- a/x-pack/plugins/index_management/__jest__/client_integration/helpers/test_subjects.ts +++ b/x-pack/plugins/index_management/__jest__/client_integration/helpers/test_subjects.ts @@ -25,6 +25,7 @@ export type TestSubjects = | 'ilmPolicyLink' | 'includeStatsSwitch' | 'includeManagedSwitch' + | 'indexManagementHeaderContent' | 'indexTable' | 'indexTableIncludeHiddenIndicesToggle' | 'indexTableIndexNameLink' diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/home.helpers.ts b/x-pack/plugins/index_management/__jest__/client_integration/home/home.helpers.ts index 921812943a3e6..a15e4f2a613d3 100644 --- a/x-pack/plugins/index_management/__jest__/client_integration/home/home.helpers.ts +++ b/x-pack/plugins/index_management/__jest__/client_integration/home/home.helpers.ts @@ -24,24 +24,31 @@ const initTestBed = registerTestBed(WithAppDependencies(IndexManagementHome), te export interface HomeTestBed extends TestBed<TestSubjects> { actions: { selectHomeTab: (tab: 'indicesTab' | 'templatesTab') => void; + toggleHiddenIndices: () => void; }; } export const setup = async (): Promise<HomeTestBed> => { const testBed = await initTestBed(); + const { find } = testBed; /** * User Actions */ const selectHomeTab = (tab: 'indicesTab' | 'templatesTab') => { - testBed.find(tab).simulate('click'); + find(tab).simulate('click'); + }; + + const toggleHiddenIndices = async function () { + find('indexTableIncludeHiddenIndicesToggle').simulate('click'); }; return { ...testBed, actions: { selectHomeTab, + toggleHiddenIndices, }, }; }; diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/home.test.ts b/x-pack/plugins/index_management/__jest__/client_integration/home/home.test.ts index 42863d36050d7..426bb11f3c733 100644 --- a/x-pack/plugins/index_management/__jest__/client_integration/home/home.test.ts +++ b/x-pack/plugins/index_management/__jest__/client_integration/home/home.test.ts @@ -54,15 +54,18 @@ describe('<IndexManagementHome />', () => { }); describe('tabs', () => { - test('should have 2 tabs', () => { + test('should have 4 tabs', () => { const { find } = testBed; - const templatesTab = find('templatesTab'); - const indicesTab = find('indicesTab'); - expect(indicesTab.length).toBe(1); - expect(indicesTab.text()).toEqual('Indices'); - expect(templatesTab.length).toBe(1); - expect(templatesTab.text()).toEqual('Index Templates'); + const indexManagementContainer = find('indexManagementHeaderContent'); + const tabListContainer = indexManagementContainer.find('.euiTabs'); + const allTabs = tabListContainer.children(); + const allTabsLabels = ['Indices', 'Data Streams', 'Index Templates', 'Component Templates']; + + expect(allTabs.length).toBe(4); + for (let i = 0; i < allTabs.length; i++) { + expect(tabListContainer.childAt(i).text()).toEqual(allTabsLabels[i]); + } }); test('should navigate to Index Templates tab', async () => { diff --git a/x-pack/plugins/index_management/public/application/components/no_match/no_match.tsx b/x-pack/plugins/index_management/public/application/components/no_match/no_match.tsx index 34cbc10a32d09..8546a179fafdf 100644 --- a/x-pack/plugins/index_management/public/application/components/no_match/no_match.tsx +++ b/x-pack/plugins/index_management/public/application/components/no_match/no_match.tsx @@ -9,7 +9,7 @@ import React from 'react'; import { FormattedMessage } from '@kbn/i18n/react'; export const NoMatch = () => ( - <div> + <div data-test-subj="noIndicesMessage"> <FormattedMessage id="xpack.idxMgmt.noMatch.noIndicesDescription" defaultMessage="No indices to show" diff --git a/x-pack/plugins/index_management/public/application/sections/home/home.tsx b/x-pack/plugins/index_management/public/application/sections/home/home.tsx index 003aa045f9591..8fce2d354f87b 100644 --- a/x-pack/plugins/index_management/public/application/sections/home/home.tsx +++ b/x-pack/plugins/index_management/public/application/sections/home/home.tsx @@ -85,6 +85,7 @@ export const IndexManagementHome: React.FunctionComponent<RouteComponentProps<Ma return ( <> <EuiPageHeader + data-test-subj="indexManagementHeaderContent" pageTitle={ <span data-test-subj="appTitle"> <FormattedMessage id="xpack.idxMgmt.home.appTitle" defaultMessage="Index Management" /> diff --git a/x-pack/plugins/infra/common/infra_ml/infra_ml.ts b/x-pack/plugins/infra/common/infra_ml/infra_ml.ts index 18c9f591395ee..81e1009a80585 100644 --- a/x-pack/plugins/infra/common/infra_ml/infra_ml.ts +++ b/x-pack/plugins/infra/common/infra_ml/infra_ml.ts @@ -12,6 +12,7 @@ export type JobStatus = | 'initializing' | 'stopped' | 'started' + | 'starting' | 'finished' | 'failed'; @@ -35,10 +36,10 @@ export type SetupStatus = * before this state was reached. */ export const isJobStatusWithResults = (jobStatus: JobStatus) => - ['started', 'finished', 'stopped', 'failed'].includes(jobStatus); + ['started', 'starting', 'finished', 'stopped', 'failed'].includes(jobStatus); export const isHealthyJobStatus = (jobStatus: JobStatus) => - ['started', 'finished'].includes(jobStatus); + ['started', 'starting', 'finished'].includes(jobStatus); /** * Maps a setup status to the possibility that results have already been diff --git a/x-pack/plugins/infra/common/log_analysis/log_analysis.ts b/x-pack/plugins/infra/common/log_analysis/log_analysis.ts index 18c9f591395ee..81e1009a80585 100644 --- a/x-pack/plugins/infra/common/log_analysis/log_analysis.ts +++ b/x-pack/plugins/infra/common/log_analysis/log_analysis.ts @@ -12,6 +12,7 @@ export type JobStatus = | 'initializing' | 'stopped' | 'started' + | 'starting' | 'finished' | 'failed'; @@ -35,10 +36,10 @@ export type SetupStatus = * before this state was reached. */ export const isJobStatusWithResults = (jobStatus: JobStatus) => - ['started', 'finished', 'stopped', 'failed'].includes(jobStatus); + ['started', 'starting', 'finished', 'stopped', 'failed'].includes(jobStatus); export const isHealthyJobStatus = (jobStatus: JobStatus) => - ['started', 'finished'].includes(jobStatus); + ['started', 'starting', 'finished'].includes(jobStatus); /** * Maps a setup status to the possibility that results have already been diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/api/ml_get_jobs_summary_api.ts b/x-pack/plugins/infra/public/containers/logs/log_analysis/api/ml_get_jobs_summary_api.ts index d4e1f7366dd2a..2a5f68b3c32e2 100644 --- a/x-pack/plugins/infra/public/containers/logs/log_analysis/api/ml_get_jobs_summary_api.ts +++ b/x-pack/plugins/infra/public/containers/logs/log_analysis/api/ml_get_jobs_summary_api.ts @@ -41,6 +41,7 @@ export type FetchJobStatusRequestPayload = rt.TypeOf<typeof fetchJobStatusReques const datafeedStateRT = rt.keyof({ started: null, + starting: null, stopped: null, stopping: null, '': null, @@ -89,6 +90,7 @@ export const jobSummaryRT = rt.intersection([ jobState: jobStateRT, }), rt.partial({ + awaitingNodeAssignment: rt.boolean, datafeedIndices: rt.array(rt.string), datafeedState: datafeedStateRT, fullJob: rt.partial({ diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/api/ml_setup_module_api.ts b/x-pack/plugins/infra/public/containers/logs/log_analysis/api/ml_setup_module_api.ts index 6304471e818fa..7e3c2cc10d7da 100644 --- a/x-pack/plugins/infra/public/containers/logs/log_analysis/api/ml_setup_module_api.ts +++ b/x-pack/plugins/infra/public/containers/logs/log_analysis/api/ml_setup_module_api.ts @@ -117,6 +117,7 @@ const datafeedSetupResponseRT = rt.intersection([ success: rt.boolean, }), rt.partial({ + awaitingNodeAssignment: rt.boolean, error: setupErrorResponseRT, }), ]); diff --git a/x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_status.tsx b/x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_status.tsx index 03522fd9ce6e5..9b0946c87dd10 100644 --- a/x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_status.tsx +++ b/x-pack/plugins/infra/public/containers/logs/log_analysis/log_analysis_module_status.tsx @@ -99,7 +99,7 @@ const createStatusReducer = {} as Record<JobType, JobStatus> ); const nextSetupStatus: SetupStatus = Object.values<JobStatus>(nextJobStatus).every( - (jobState) => jobState === 'started' + (jobState) => jobState === 'started' || jobState === 'starting' ) ? { type: 'succeeded' } : { @@ -224,9 +224,17 @@ const getJobStatus = jobSummary.datafeedState === 'stopped' ) { return 'stopped'; - } else if (jobSummary.jobState === 'opening') { + } else if ( + jobSummary.jobState === 'opening' && + jobSummary.awaitingNodeAssignment === false + ) { return 'initializing'; - } else if (jobSummary.jobState === 'opened' && jobSummary.datafeedState === 'started') { + } else if ( + (jobSummary.jobState === 'opened' && jobSummary.datafeedState === 'started') || + (jobSummary.jobState === 'opening' && + jobSummary.datafeedState === 'starting' && + jobSummary.awaitingNodeAssignment === true) + ) { return 'started'; } diff --git a/x-pack/plugins/infra/public/containers/ml/api/ml_get_jobs_summary_api.ts b/x-pack/plugins/infra/public/containers/ml/api/ml_get_jobs_summary_api.ts index 585aa8786286c..c7dc1d509cf11 100644 --- a/x-pack/plugins/infra/public/containers/ml/api/ml_get_jobs_summary_api.ts +++ b/x-pack/plugins/infra/public/containers/ml/api/ml_get_jobs_summary_api.ts @@ -41,6 +41,7 @@ export type FetchJobStatusRequestPayload = rt.TypeOf<typeof fetchJobStatusReques const datafeedStateRT = rt.keyof({ started: null, + starting: null, stopped: null, stopping: null, '': null, @@ -77,6 +78,7 @@ export const jobSummaryRT = rt.intersection([ jobState: jobStateRT, }), rt.partial({ + awaitingNodeAssignment: rt.boolean, datafeedIndices: rt.array(rt.string), datafeedState: datafeedStateRT, fullJob: rt.partial({ diff --git a/x-pack/plugins/infra/public/containers/ml/infra_ml_module_status.tsx b/x-pack/plugins/infra/public/containers/ml/infra_ml_module_status.tsx index 9bbd7720e168f..bc1f4b00c4cbe 100644 --- a/x-pack/plugins/infra/public/containers/ml/infra_ml_module_status.tsx +++ b/x-pack/plugins/infra/public/containers/ml/infra_ml_module_status.tsx @@ -224,9 +224,17 @@ const getJobStatus = jobSummary.datafeedState === 'stopped' ) { return 'stopped'; - } else if (jobSummary.jobState === 'opening') { + } else if ( + jobSummary.jobState === 'opening' && + jobSummary.awaitingNodeAssignment === false + ) { return 'initializing'; - } else if (jobSummary.jobState === 'opened' && jobSummary.datafeedState === 'started') { + } else if ( + (jobSummary.jobState === 'opened' && jobSummary.datafeedState === 'started') || + (jobSummary.jobState === 'opening' && + jobSummary.datafeedState === 'starting' && + jobSummary.awaitingNodeAssignment === true) + ) { return 'started'; } diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/page_content.tsx b/x-pack/plugins/infra/public/pages/logs/log_entry_categories/page_content.tsx index a8d98ea843c96..542b1dcd21d80 100644 --- a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/page_content.tsx +++ b/x-pack/plugins/infra/public/pages/logs/log_entry_categories/page_content.tsx @@ -25,6 +25,7 @@ import { LogEntryCategoriesResultsContent } from './page_results_content'; import { LogEntryCategoriesSetupContent } from './page_setup_content'; import { LogsPageTemplate } from '../page_template'; import type { LazyObservabilityPageTemplateProps } from '../../../../../observability/public'; +import { useLogSourceContext } from '../../../containers/logs/log_source'; const logCategoriesTitle = i18n.translate('xpack.infra.logs.logCategoriesTitle', { defaultMessage: 'Categories', @@ -114,8 +115,10 @@ const CategoriesPageTemplate: React.FC<LazyObservabilityPageTemplateProps> = ({ children, ...rest }) => { + const { sourceStatus } = useLogSourceContext(); return ( <LogsPageTemplate + hasData={sourceStatus?.logIndexStatus !== 'missing'} data-test-subj="logsLogEntryCategoriesPage" pageHeader={ rest.isEmptyState diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/page_results_content.tsx b/x-pack/plugins/infra/public/pages/logs/log_entry_categories/page_results_content.tsx index bf6fe978ddae2..2cb96f4ab0641 100644 --- a/x-pack/plugins/infra/public/pages/logs/log_entry_categories/page_results_content.tsx +++ b/x-pack/plugins/infra/public/pages/logs/log_entry_categories/page_results_content.tsx @@ -32,6 +32,8 @@ import { RecreateJobButton } from '../../../components/logging/log_analysis_setu import { AnalyzeInMlButton } from '../../../components/logging/log_analysis_results'; import { useMlHref, ML_PAGES } from '../../../../../ml/public'; import { DatasetsSelector } from '../../../components/logging/log_analysis_results/datasets_selector'; +import { useLogSourceContext } from '../../../containers/logs/log_source'; +import { MLJobsAwaitingNodeWarning } from '../../../../../ml/public'; const JOB_STATUS_POLLING_INTERVAL = 30000; @@ -49,6 +51,7 @@ export const LogEntryCategoriesResultsContent: React.FunctionComponent<LogEntryC services: { ml, http }, } = useKibanaContextForPlugin(); + const { sourceStatus } = useLogSourceContext(); const { hasLogAnalysisSetupCapabilities } = useLogAnalysisCapabilitiesContext(); const { @@ -210,6 +213,7 @@ export const LogEntryCategoriesResultsContent: React.FunctionComponent<LogEntryC endTimestamp={categoryQueryTimeRange.timeRange.endTime} > <LogsPageTemplate + hasData={sourceStatus?.logIndexStatus !== 'missing'} pageHeader={{ pageTitle, rightSideItems: [ @@ -246,6 +250,7 @@ export const LogEntryCategoriesResultsContent: React.FunctionComponent<LogEntryC </EuiFlexGroup> </EuiFlexItem> <EuiFlexItem grow={false}> + <MLJobsAwaitingNodeWarning jobIds={Object.values(jobIds)} /> <CategoryJobNoticesSection hasOutdatedJobConfigurations={hasOutdatedJobConfigurations} hasOutdatedJobDefinitions={hasOutdatedJobDefinitions} diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_content.tsx b/x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_content.tsx index 04909b059d8c3..b5d04406cd4c0 100644 --- a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_content.tsx +++ b/x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_content.tsx @@ -20,6 +20,7 @@ import { useLogAnalysisSetupFlyoutStateContext, } from '../../../components/logging/log_analysis_setup/setup_flyout'; import { SubscriptionSplashPage } from '../../../components/subscription_splash_content'; +import { useLogSourceContext } from '../../../containers/logs/log_source'; import { useLogAnalysisCapabilitiesContext } from '../../../containers/logs/log_analysis'; import { useLogEntryCategoriesModuleContext } from '../../../containers/logs/log_analysis/modules/log_entry_categories'; import { useLogEntryRateModuleContext } from '../../../containers/logs/log_analysis/modules/log_entry_rate'; @@ -155,8 +156,10 @@ const AnomaliesPageTemplate: React.FC<LazyObservabilityPageTemplateProps> = ({ children, ...rest }) => { + const { sourceStatus } = useLogSourceContext(); return ( <LogsPageTemplate + hasData={sourceStatus?.logIndexStatus !== 'missing'} data-test-subj="logsLogEntryRatePage" pageHeader={ rest.isEmptyState diff --git a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_results_content.tsx b/x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_results_content.tsx index 2aac520dbc28a..7f82a8841fdbf 100644 --- a/x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_results_content.tsx +++ b/x-pack/plugins/infra/public/pages/logs/log_entry_rate/page_results_content.tsx @@ -33,6 +33,7 @@ import { useLogAnalysisResultsUrlState } from './use_log_entry_rate_results_url_ import { isJobStatusWithResults } from '../../../../common/log_analysis'; import { LogsPageTemplate } from '../page_template'; import { ManageJobsButton } from '../../../components/logging/log_analysis_setup/manage_jobs_button'; +import { MLJobsAwaitingNodeWarning } from '../../../../../ml/public'; export const SORT_DEFAULTS = { direction: 'desc' as const, @@ -51,7 +52,7 @@ export const LogEntryRateResultsContent: React.FunctionComponent<{ const navigateToApp = useKibana().services.application?.navigateToApp; - const { sourceId } = useLogSourceContext(); + const { sourceId, sourceStatus } = useLogSourceContext(); const { hasLogAnalysisSetupCapabilities } = useLogAnalysisCapabilitiesContext(); @@ -195,6 +196,7 @@ export const LogEntryRateResultsContent: React.FunctionComponent<{ return ( <LogsPageTemplate + hasData={sourceStatus?.logIndexStatus !== 'missing'} pageHeader={{ pageTitle, rightSideItems: [<ManageJobsButton onClick={showModuleList} size="s" />], @@ -234,6 +236,7 @@ export const LogEntryRateResultsContent: React.FunctionComponent<{ onRecreateMlJobForReconfiguration={showLogEntryRateSetup} onRecreateMlJobForUpdate={showLogEntryRateSetup} /> + <MLJobsAwaitingNodeWarning jobIds={jobIds} /> <CategoryJobNoticesSection hasOutdatedJobConfigurations={hasOutdatedLogEntryCategoriesJobConfigurations} hasOutdatedJobDefinitions={hasOutdatedLogEntryCategoriesJobDefinitions} diff --git a/x-pack/plugins/infra/public/pages/logs/page_template.tsx b/x-pack/plugins/infra/public/pages/logs/page_template.tsx index 42ca992e9402d..7ee60ab84bf25 100644 --- a/x-pack/plugins/infra/public/pages/logs/page_template.tsx +++ b/x-pack/plugins/infra/public/pages/logs/page_template.tsx @@ -6,19 +6,61 @@ */ import React from 'react'; +import { i18n } from '@kbn/i18n'; import { useKibanaContextForPlugin } from '../../hooks/use_kibana'; import type { LazyObservabilityPageTemplateProps } from '../../../../observability/public'; +import { + KibanaPageTemplateProps, + useKibana, +} from '../../../../../../src/plugins/kibana_react/public'; -export const LogsPageTemplate: React.FC<LazyObservabilityPageTemplateProps> = ( - pageTemplateProps -) => { +interface LogsPageTemplateProps extends LazyObservabilityPageTemplateProps { + hasData?: boolean; +} + +export const LogsPageTemplate: React.FC<LogsPageTemplateProps> = ({ + hasData = true, + 'data-test-subj': _dataTestSubj, + ...pageTemplateProps +}) => { const { services: { observability: { navigation: { PageTemplate }, }, + docLinks, }, } = useKibanaContextForPlugin(); - return <PageTemplate {...pageTemplateProps} />; + const { http } = useKibana().services; + const basePath = http!.basePath.get(); + + const noDataConfig: KibanaPageTemplateProps['noDataConfig'] = hasData + ? undefined + : { + solution: i18n.translate('xpack.infra.logs.noDataConfig.solutionName', { + defaultMessage: 'Observability', + }), + actions: { + beats: { + title: i18n.translate('xpack.infra.logs.noDataConfig.beatsCard.title', { + defaultMessage: 'Add logs with Beats', + }), + description: i18n.translate('xpack.infra.logs.noDataConfig.beatsCard.description', { + defaultMessage: + 'Use Beats to send logs to Elasticsearch. We make it easy with modules for many popular systems and apps.', + }), + href: basePath + `/app/home#/tutorial_directory/logging`, + }, + }, + docsLink: docLinks.links.observability.guide, + }; + + return ( + <PageTemplate + data-test-subj={hasData ? _dataTestSubj : 'noDataPage'} + noDataConfig={noDataConfig} + {...pageTemplateProps} + /> + ); }; diff --git a/x-pack/plugins/infra/public/pages/logs/stream/page_content.tsx b/x-pack/plugins/infra/public/pages/logs/stream/page_content.tsx index 527dc79726044..7f8ed4fa6a951 100644 --- a/x-pack/plugins/infra/public/pages/logs/stream/page_content.tsx +++ b/x-pack/plugins/infra/public/pages/logs/stream/page_content.tsx @@ -11,7 +11,6 @@ import { LogSourceErrorPage } from '../../../components/logging/log_source_error import { SourceLoadingPage } from '../../../components/source_loading_page'; import { useLogSourceContext } from '../../../containers/logs/log_source'; import { LogsPageLogsContent } from './page_logs_content'; -import { LogsPageNoIndicesContent } from './page_no_indices_content'; import { LogsPageTemplate } from '../page_template'; import { euiStyled } from '../../../../../../../src/plugins/kibana_react/common'; import { APP_WRAPPER_CLASS } from '../../../../../../../src/core/public'; @@ -34,10 +33,11 @@ export const StreamPageContent: React.FunctionComponent = () => { return <SourceLoadingPage />; } else if (hasFailedLoading) { return <LogSourceErrorPage errors={latestLoadSourceFailures} onRetry={loadSource} />; - } else if (sourceStatus?.logIndexStatus !== 'missing') { + } else { return ( <LogStreamPageWrapper className={APP_WRAPPER_CLASS}> <LogsPageTemplate + hasData={sourceStatus?.logIndexStatus !== 'missing'} pageHeader={{ pageTitle: streamTitle, }} @@ -46,8 +46,6 @@ export const StreamPageContent: React.FunctionComponent = () => { </LogsPageTemplate> </LogStreamPageWrapper> ); - } else { - return <LogsPageNoIndicesContent />; } }; diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/flyout_home.tsx b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/flyout_home.tsx index a16aff903776e..c7443618e458f 100644 --- a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/flyout_home.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/ml/anomaly_detection/flyout_home.tsx @@ -16,6 +16,7 @@ import { EuiButtonEmpty } from '@elastic/eui'; import moment from 'moment'; import { EuiTabs } from '@elastic/eui'; import { EuiTab } from '@elastic/eui'; +import { MLJobsAwaitingNodeWarning } from '../../../../../../../../ml/public'; import { SubscriptionSplashPrompt } from '../../../../../../components/subscription_splash_content'; import { useInfraMLCapabilitiesContext } from '../../../../../../containers/ml/infra_ml_capabilities'; import { @@ -120,14 +121,18 @@ export const FlyoutHome = (props: Props) => { <EuiFlyoutBody banner={ - tab === 'jobs' && - hasJobs && ( - <JobsEnabledCallout - hasHostJobs={hostJobSummaries.length > 0} - hasK8sJobs={k8sJobSummaries.length > 0} - jobIds={jobIds} - /> - ) + <> + {tab === 'jobs' && hasJobs && ( + <> + <JobsEnabledCallout + hasHostJobs={hostJobSummaries.length > 0} + hasK8sJobs={k8sJobSummaries.length > 0} + jobIds={jobIds} + /> + </> + )} + <MLJobsAwaitingNodeWarning jobIds={jobIds} /> + </> } > {tab === 'jobs' && ( diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/index.tsx b/x-pack/plugins/infra/public/pages/metrics/inventory_view/index.tsx index 353997d5fe3ff..67e39a11c12e7 100644 --- a/x-pack/plugins/infra/public/pages/metrics/inventory_view/index.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/inventory_view/index.tsx @@ -5,23 +5,19 @@ * 2.0. */ -import { EuiButton, EuiErrorBoundary, EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; +import { EuiErrorBoundary } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import React, { useContext } from 'react'; import { FilterBar } from './components/filter_bar'; import { DocumentTitle } from '../../../components/document_title'; -import { NoIndices } from '../../../components/empty_states/no_indices'; import { SourceErrorPage } from '../../../components/source_error_page'; import { SourceLoadingPage } from '../../../components/source_loading_page'; -import { ViewSourceConfigurationButton } from '../../../components/source_configuration/view_source_configuration_button'; import { Source } from '../../../containers/metrics_source'; import { useTrackPageview } from '../../../../../observability/public'; import { useMetricsBreadcrumbs } from '../../../hooks/use_metrics_breadcrumbs'; -import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; import { LayoutView } from './components/layout_view'; -import { useLinkProps } from '../../../hooks/use_link_props'; import { SavedViewProvider } from '../../../containers/saved_view/saved_view'; import { DEFAULT_WAFFLE_VIEW_STATE } from './hooks/use_waffle_view_state'; import { useWaffleOptionsContext } from './hooks/use_waffle_options'; @@ -32,7 +28,6 @@ import { inventoryTitle } from '../../../translations'; import { SavedViews } from './components/saved_views'; export const SnapshotPage = () => { - const uiCapabilities = useKibana().services.application?.capabilities; const { hasFailedLoadingSource, isLoading, @@ -45,11 +40,6 @@ export const SnapshotPage = () => { useTrackPageview({ app: 'infra_metrics', path: 'inventory', delay: 15000 }); const { source: optionsSource } = useWaffleOptionsContext(); - const tutorialLinkProps = useLinkProps({ - app: 'home', - hash: '/tutorial_directory/metrics', - }); - useMetricsBreadcrumbs([ { text: inventoryTitle, @@ -79,6 +69,7 @@ export const SnapshotPage = () => { defaultViewState={DEFAULT_WAFFLE_VIEW_STATE} > <MetricsPageTemplate + hasData={metricIndicesExist} pageHeader={{ pageTitle: inventoryTitle, rightSideItems: [<SavedViews />], @@ -96,43 +87,7 @@ export const SnapshotPage = () => { ) : hasFailedLoadingSource ? ( <SourceErrorPage errorMessage={loadSourceFailureMessage || ''} retry={loadSource} /> ) : ( - <NoIndices - title={i18n.translate('xpack.infra.homePage.noMetricsIndicesTitle', { - defaultMessage: "Looks like you don't have any metrics indices.", - })} - message={i18n.translate('xpack.infra.homePage.noMetricsIndicesDescription', { - defaultMessage: "Let's add some!", - })} - actions={ - <EuiFlexGroup> - <EuiFlexItem> - <EuiButton - {...tutorialLinkProps} - color="primary" - fill - data-test-subj="infrastructureViewSetupInstructionsButton" - > - {i18n.translate('xpack.infra.homePage.noMetricsIndicesInstructionsActionLabel', { - defaultMessage: 'View setup instructions', - })} - </EuiButton> - </EuiFlexItem> - {uiCapabilities?.infrastructure?.configureSource ? ( - <EuiFlexItem> - <ViewSourceConfigurationButton - app="metrics" - data-test-subj="configureSourceButton" - > - {i18n.translate('xpack.infra.configureSourceActionLabel', { - defaultMessage: 'Change source configuration', - })} - </ViewSourceConfigurationButton> - </EuiFlexItem> - ) : null} - </EuiFlexGroup> - } - data-test-subj="noMetricsIndicesPrompt" - /> + <MetricsPageTemplate hasData={metricIndicesExist} data-test-subj="noMetricsIndicesPrompt" /> )} </EuiErrorBoundary> ); diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/node_details_page.tsx b/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/node_details_page.tsx index 496a57cf7273a..8da96586be979 100644 --- a/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/node_details_page.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/metric_detail/components/node_details_page.tsx @@ -5,10 +5,11 @@ * 2.0. */ -import React, { useCallback, useEffect, useState } from 'react'; +import React, { useCallback, useEffect, useState, useContext } from 'react'; import dateMath from '@elastic/datemath'; import moment from 'moment'; import { EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; +import { Source } from '../../../../containers/metrics_source'; import { InventoryMetric, InventoryItemType } from '../../../../../common/inventory_models/types'; import { useNodeDetails } from '../hooks/use_node_details'; import { MetricsSideNav } from './side_nav'; @@ -52,6 +53,7 @@ const parseRange = (range: MetricsTimeInput) => { }; export const NodeDetailsPage = (props: Props) => { + const { metricIndicesExist } = useContext(Source.Context); const [parsedTimeRange, setParsedTimeRange] = useState(parseRange(props.timeRange)); const { metrics, loading, makeRequest, error } = useNodeDetails( props.requiredMetrics, @@ -80,6 +82,7 @@ export const NodeDetailsPage = (props: Props) => { return ( <MetricsPageTemplate + hasData={metricIndicesExist} pageHeader={{ pageTitle: props.name, rightSideItems: [ diff --git a/x-pack/plugins/infra/public/pages/metrics/metric_detail/index.tsx b/x-pack/plugins/infra/public/pages/metrics/metric_detail/index.tsx index 2f2ebaf895c37..b8a52a8f34400 100644 --- a/x-pack/plugins/infra/public/pages/metrics/metric_detail/index.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/metric_detail/index.tsx @@ -38,7 +38,7 @@ export const MetricDetail = withMetricPageProviders( const nodeId = match.params.node; const nodeType = match.params.type as InventoryItemType; const inventoryModel = findInventoryModel(nodeType); - const { sourceId } = useContext(Source.Context); + const { sourceId, metricIndicesExist } = useContext(Source.Context); const { timeRange, @@ -86,7 +86,7 @@ export const MetricDetail = withMetricPageProviders( if (metadataLoading && !filteredRequiredMetrics.length) { return ( - <MetricsPageTemplate> + <MetricsPageTemplate hasData={metricIndicesExist}> <InfraLoadingPanel height="100vh" width="100%" diff --git a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx b/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx index 2e2232b09d7f1..f2345b0b8e020 100644 --- a/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx @@ -7,17 +7,17 @@ import { EuiErrorBoundary } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; -import React, { useEffect } from 'react'; +import React, { useEffect, useContext } from 'react'; import { IIndexPattern } from 'src/plugins/data/public'; import { MetricsSourceConfigurationProperties } from '../../../../common/metrics_sources'; import { useTrackPageview } from '../../../../../observability/public'; import { useMetricsBreadcrumbs } from '../../../hooks/use_metrics_breadcrumbs'; - import { DocumentTitle } from '../../../components/document_title'; import { NoData } from '../../../components/empty_states'; import { MetricsExplorerCharts } from './components/charts'; import { MetricsExplorerToolbar } from './components/toolbar'; import { useMetricsExplorerState } from './hooks/use_metric_explorer_state'; +import { Source } from '../../../containers/metrics_source'; import { useSavedViewContext } from '../../../containers/saved_view/saved_view'; import { MetricsPageTemplate } from '../page_template'; import { metricsExplorerTitle } from '../../../translations'; @@ -52,6 +52,7 @@ export const MetricsExplorerPage = ({ source, derivedIndexPattern }: MetricsExpl useTrackPageview({ app: 'infra_metrics', path: 'metrics_explorer' }); useTrackPageview({ app: 'infra_metrics', path: 'metrics_explorer', delay: 15000 }); + const { metricIndicesExist } = useContext(Source.Context); useEffect(() => { if (currentView) { onViewStateChange(currentView); @@ -85,6 +86,7 @@ export const MetricsExplorerPage = ({ source, derivedIndexPattern }: MetricsExpl } /> <MetricsPageTemplate + hasData={metricIndicesExist} pageHeader={{ pageTitle: metricsExplorerTitle, rightSideItems: [ diff --git a/x-pack/plugins/infra/public/pages/metrics/page_template.tsx b/x-pack/plugins/infra/public/pages/metrics/page_template.tsx index c32133525e8e8..41ea12c280841 100644 --- a/x-pack/plugins/infra/public/pages/metrics/page_template.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/page_template.tsx @@ -6,19 +6,61 @@ */ import React from 'react'; +import { i18n } from '@kbn/i18n'; import { useKibanaContextForPlugin } from '../../hooks/use_kibana'; import type { LazyObservabilityPageTemplateProps } from '../../../../observability/public'; +import { KibanaPageTemplateProps } from '../../../../../../src/plugins/kibana_react/public'; +import { useLinkProps } from '../../hooks/use_link_props'; -export const MetricsPageTemplate: React.FC<LazyObservabilityPageTemplateProps> = ( - pageTemplateProps -) => { +interface MetricsPageTemplateProps extends LazyObservabilityPageTemplateProps { + hasData?: boolean; +} + +export const MetricsPageTemplate: React.FC<MetricsPageTemplateProps> = ({ + hasData = true, + 'data-test-subj': _dataTestSubj, + ...pageTemplateProps +}) => { const { services: { observability: { navigation: { PageTemplate }, }, + docLinks, }, } = useKibanaContextForPlugin(); - return <PageTemplate {...pageTemplateProps} />; + const tutorialLinkProps = useLinkProps({ + app: 'home', + hash: '/tutorial_directory/metrics', + }); + + const noDataConfig: KibanaPageTemplateProps['noDataConfig'] = hasData + ? undefined + : { + solution: i18n.translate('xpack.infra.metrics.noDataConfig.solutionName', { + defaultMessage: 'Observability', + }), + actions: { + beats: { + title: i18n.translate('xpack.infra.metrics.noDataConfig.beatsCard.title', { + defaultMessage: 'Add metrics with Beats', + }), + description: i18n.translate('xpack.infra.metrics.noDataConfig.beatsCard.description', { + defaultMessage: + 'Use Beats to send metrics data to Elasticsearch. We make it easy with modules for many popular systems and apps.', + }), + ...tutorialLinkProps, + }, + }, + docsLink: docLinks.links.observability.guide, + }; + + return ( + <PageTemplate + data-test-subj={hasData ? _dataTestSubj : 'noDataPage'} + noDataConfig={noDataConfig} + {...pageTemplateProps} + /> + ); }; diff --git a/x-pack/plugins/infra/server/lib/alerting/common/messages.ts b/x-pack/plugins/infra/server/lib/alerting/common/messages.ts index b692629209849..084043f357bb1 100644 --- a/x-pack/plugins/infra/server/lib/alerting/common/messages.ts +++ b/x-pack/plugins/infra/server/lib/alerting/common/messages.ts @@ -62,9 +62,13 @@ const comparatorToI18n = (comparator: Comparator, threshold: number[], currentVa return ltText; case Comparator.GT_OR_EQ: case Comparator.LT_OR_EQ: { - if (threshold[0] === currentValue) return eqText; - else if (threshold[0] < currentValue) return ltText; - return gtText; + if (currentValue === threshold[0]) { + return eqText; + } else if (currentValue < threshold[0]) { + return ltText; + } else { + return gtText; + } } } }; diff --git a/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts b/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts index bbbb0e917d518..72d9ea9e39def 100644 --- a/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts +++ b/x-pack/plugins/infra/server/lib/alerting/inventory_metric_threshold/inventory_metric_threshold_executor.ts @@ -7,7 +7,7 @@ import { first, get, last } from 'lodash'; import { i18n } from '@kbn/i18n'; -import { ALERT_REASON } from '@kbn/rule-data-utils'; +import { ALERT_REASON, ALERT_RULE_PARAMS } from '@kbn/rule-data-utils'; import moment from 'moment'; import { getCustomMetricLabel } from '../../../../common/formatters/get_custom_metric_label'; import { toMetricOpt } from '../../../../common/snapshot_metric_i18n'; @@ -79,6 +79,7 @@ export const createInventoryMetricThresholdExecutor = (libs: InfraBackendLibs) = id, fields: { [ALERT_REASON]: reason, + [ALERT_RULE_PARAMS]: JSON.stringify(params), }, }); diff --git a/x-pack/plugins/ingest_pipelines/README.md b/x-pack/plugins/ingest_pipelines/README.md index 00d4f5a91863d..dd7c130c7a72d 100644 --- a/x-pack/plugins/ingest_pipelines/README.md +++ b/x-pack/plugins/ingest_pipelines/README.md @@ -1,9 +1,9 @@ -# Ingest Node Pipelines UI +# Ingest Pipelines UI ## Summary -The `ingest_pipelines` plugin provides Kibana support for [Elasticsearch's ingest nodes](https://www.elastic.co/guide/en/elasticsearch/reference/master/ingest.html). Please refer to the Elasticsearch documentation for more details. +The `ingest_pipelines` plugin provides Kibana support for [Elasticsearch's ingest pipelines](https://www.elastic.co/guide/en/elasticsearch/reference/master/ingest.html). -This plugin allows Kibana to create, edit, clone and delete ingest node pipelines. It also provides support to simulate a pipeline. +This plugin allows Kibana to create, edit, clone and delete ingest pipelines. It also provides support to simulate a pipeline. It requires a Basic license and the following cluster privileges: `manage_pipeline` and `cluster:monitor/nodes/info`. @@ -11,7 +11,7 @@ It requires a Basic license and the following cluster privileges: `manage_pipeli ## Development -A new app called Ingest Node Pipelines is registered in the Management section and follows a typical CRUD UI pattern. The client-side portion of this app lives in [public/application](public/application) and uses endpoints registered in [server/routes/api](server/routes/api). For more information on the pipeline processors editor component, check out the [component readme](public/application/components/pipeline_processors_editor/README.md). +A new app called Ingest Pipelines is registered in the Management section and follows a typical CRUD UI pattern. The client-side portion of this app lives in [public/application](public/application) and uses endpoints registered in [server/routes/api](server/routes/api). For more information on the pipeline processors editor component, check out the [component readme](public/application/components/pipeline_processors_editor/README.md). See the [kibana contributing guide](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md) for instructions on setting up your development environment. @@ -25,7 +25,7 @@ The app has the following test coverage: ### Quick steps for manual testing -You can run the following request in Console to create an ingest node pipeline: +You can run the following request in Console to create an ingest pipeline: ``` PUT _ingest/pipeline/test_pipeline @@ -73,7 +73,7 @@ PUT _ingest/pipeline/test_pipeline } ``` -Then, go to the Ingest Node Pipelines UI to edit, delete, clone, or view details of the pipeline. +Then, go to the Ingest Pipelines UI to edit, delete, clone, or view details of the pipeline. To simulate a pipeline, go to the "Edit" page of your pipeline. Click the "Add documents" link under the "Processors" section. You may add the following sample documents to test the pipeline: diff --git a/x-pack/plugins/ingest_pipelines/__jest__/client_integration/ingest_pipelines_list.test.ts b/x-pack/plugins/ingest_pipelines/__jest__/client_integration/ingest_pipelines_list.test.ts index 78e3f2dab0d1d..19a2abb5a5a52 100644 --- a/x-pack/plugins/ingest_pipelines/__jest__/client_integration/ingest_pipelines_list.test.ts +++ b/x-pack/plugins/ingest_pipelines/__jest__/client_integration/ingest_pipelines_list.test.ts @@ -52,11 +52,11 @@ describe('<PipelinesList />', () => { // Verify app title expect(exists('appTitle')).toBe(true); - expect(find('appTitle').text()).toEqual('Ingest Node Pipelines'); + expect(find('appTitle').text()).toEqual('Ingest Pipelines'); // Verify documentation link expect(exists('documentationLink')).toBe(true); - expect(find('documentationLink').text()).toBe('Ingest Node Pipelines docs'); + expect(find('documentationLink').text()).toBe('Ingest Pipelines docs'); // Verify create button exists expect(exists('createPipelineButton')).toBe(true); diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/shared/map_processor_type_to_form.tsx b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/shared/map_processor_type_to_form.tsx index 0d61d839156e2..eae48a6b46dd1 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/shared/map_processor_type_to_form.tsx +++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/shared/map_processor_type_to_form.tsx @@ -557,7 +557,7 @@ export const mapProcessorTypeToDescriptor: MapProcessorTypeToDescriptor = { defaultMessage: 'Pipeline', }), typeDescription: i18n.translate('xpack.ingestPipelines.processors.description.pipeline', { - defaultMessage: 'Runs another ingest node pipeline.', + defaultMessage: 'Runs another ingest pipeline.', }), getDefaultDescription: ({ name }) => i18n.translate('xpack.ingestPipelines.processors.defaultDescription.pipeline', { diff --git a/x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_list/main.tsx b/x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_list/main.tsx index ae68cfcb399f0..95621601011f9 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_list/main.tsx +++ b/x-pack/plugins/ingest_pipelines/public/application/sections/pipelines_list/main.tsx @@ -153,7 +153,7 @@ export const PipelinesList: React.FunctionComponent<RouteComponentProps> = ({ <span data-test-subj="appTitle"> <FormattedMessage id="xpack.ingestPipelines.list.listTitle" - defaultMessage="Ingest Node Pipelines" + defaultMessage="Ingest Pipelines" /> </span> } @@ -172,7 +172,7 @@ export const PipelinesList: React.FunctionComponent<RouteComponentProps> = ({ > <FormattedMessage id="xpack.ingestPipelines.list.pipelinesDocsLinkText" - defaultMessage="Ingest Node Pipelines docs" + defaultMessage="Ingest Pipelines docs" /> </EuiButtonEmpty>, ]} diff --git a/x-pack/plugins/ingest_pipelines/public/application/services/breadcrumbs.ts b/x-pack/plugins/ingest_pipelines/public/application/services/breadcrumbs.ts index 138fdf4e8ead6..f1b2d22e776b9 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/services/breadcrumbs.ts +++ b/x-pack/plugins/ingest_pipelines/public/application/services/breadcrumbs.ts @@ -11,7 +11,7 @@ import { ManagementAppMountParams } from '../../../../../../src/plugins/manageme type SetBreadcrumbs = ManagementAppMountParams['setBreadcrumbs']; const homeBreadcrumbText = i18n.translate('xpack.ingestPipelines.breadcrumb.pipelinesLabel', { - defaultMessage: 'Ingest Node Pipelines', + defaultMessage: 'Ingest Pipelines', }); export class BreadcrumbService { diff --git a/x-pack/plugins/ingest_pipelines/public/plugin.ts b/x-pack/plugins/ingest_pipelines/public/plugin.ts index 4e85490de6209..68dc2c1801e0c 100644 --- a/x-pack/plugins/ingest_pipelines/public/plugin.ts +++ b/x-pack/plugins/ingest_pipelines/public/plugin.ts @@ -25,7 +25,7 @@ export class IngestPipelinesPlugin apiService.setup(http, uiMetricService); const pluginName = i18n.translate('xpack.ingestPipelines.appTitle', { - defaultMessage: 'Ingest Node Pipelines', + defaultMessage: 'Ingest Pipelines', }); management.sections.section.ingest.registerApp({ diff --git a/x-pack/plugins/lens/public/app_plugin/app.test.tsx b/x-pack/plugins/lens/public/app_plugin/app.test.tsx index a2c7c67e1fc77..0b800940e1787 100644 --- a/x-pack/plugins/lens/public/app_plugin/app.test.tsx +++ b/x-pack/plugins/lens/public/app_plugin/app.test.tsx @@ -1142,6 +1142,27 @@ describe('Lens App', () => { }); }); + it('dispatches update to searchSessionId and dateRange when the user hits refresh', async () => { + const { instance, services, lensStore } = await mountWith({}); + act(() => + instance.find(services.navigation.ui.TopNavMenu).prop('onQuerySubmit')!({ + dateRange: { from: 'now-7d', to: 'now' }, + }) + ); + + instance.update(); + expect(lensStore.dispatch).toHaveBeenCalledWith({ + type: 'lens/setState', + payload: { + resolvedDateRange: { + fromDate: '2021-01-10T04:00:00.000Z', + toDate: '2021-01-10T08:00:00.000Z', + }, + searchSessionId: 'sessionId-2', + }, + }); + }); + it('updates the state if session id changes from the outside', async () => { const sessionIdS = new Subject<string>(); const services = makeDefaultServices(sessionIdS, 'sessionId-1'); diff --git a/x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx b/x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx index 6692b7abc03d0..9045080f83b26 100644 --- a/x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx +++ b/x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx @@ -27,7 +27,7 @@ import { LensAppState, DispatchSetState, } from '../state_management'; -import { getIndexPatternsObjects, getIndexPatternsIds } from '../utils'; +import { getIndexPatternsObjects, getIndexPatternsIds, getResolvedDateRange } from '../utils'; function getLensTopNavConfig(options: { showSaveAndReturn: boolean; @@ -363,8 +363,11 @@ export const LensTopNavMenu = ({ trackUiEvent('app_date_change'); } else { // Query has changed, renew the session id. - // Time change will be picked up by the time subscription - dispatchSetState({ searchSessionId: data.search.session.start() }); + // recalculate resolvedDateRange (relevant for relative time range) + dispatchSetState({ + searchSessionId: data.search.session.start(), + resolvedDateRange: getResolvedDateRange(data.query.timefilter.timefilter), + }); trackUiEvent('app_query_change'); } if (newQuery) { diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_helpers.ts b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_helpers.ts index 7f1e4aa58dba3..f3245759c9ef5 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_helpers.ts +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/suggestion_helpers.ts @@ -115,6 +115,7 @@ export function getSuggestions({ } else { dataSourceSuggestions = datasource.getDatasourceSuggestionsFromCurrentState( datasourceState, + (layerId) => isLayerSupportedByVisualization(layerId, [layerTypes.DATA]), activeData ); } diff --git a/x-pack/plugins/lens/public/embeddable/embeddable.tsx b/x-pack/plugins/lens/public/embeddable/embeddable.tsx index 263198871f07a..2e0ab2401c70f 100644 --- a/x-pack/plugins/lens/public/embeddable/embeddable.tsx +++ b/x-pack/plugins/lens/public/embeddable/embeddable.tsx @@ -7,6 +7,7 @@ import { isEqual, uniqBy } from 'lodash'; import React from 'react'; +import { i18n } from '@kbn/i18n'; import { render, unmountComponentAtNode } from 'react-dom'; import type { ExecutionContextSearch, @@ -41,11 +42,7 @@ import { ReferenceOrValueEmbeddable, } from '../../../../../src/plugins/embeddable/public'; import { Document, injectFilterReferences } from '../persistence'; -import { - ExpressionWrapper, - ExpressionWrapperProps, - savedObjectConflictError, -} from './expression_wrapper'; +import { ExpressionWrapper, ExpressionWrapperProps } from './expression_wrapper'; import { UiActionsStart } from '../../../../../src/plugins/ui_actions/public'; import { isLensBrushEvent, @@ -63,6 +60,7 @@ import { LensAttributeService } from '../lens_attribute_service'; import type { ErrorMessage } from '../editor_frame_service/types'; import { getLensInspectorService, LensInspector } from '../lens_inspector_service'; import { SharingSavedObjectProps } from '../types'; +import type { SpacesPluginStart } from '../../../spaces/public'; export type LensSavedObjectAttributes = Omit<Document, 'savedObjectId' | 'type'>; export interface ResolvedLensSavedObjectAttributes extends LensSavedObjectAttributes { @@ -108,6 +106,7 @@ export interface LensEmbeddableDeps { getTriggerCompatibleActions?: UiActionsStart['getTriggerCompatibleActions']; capabilities: { canSaveVisualizations: boolean; canSaveDashboards: boolean }; usageCollection?: UsageCollectionSetup; + spaces?: SpacesPluginStart; } export class Embeddable @@ -281,8 +280,17 @@ export class Embeddable }; const { ast, errors } = await this.deps.documentToExpression(this.savedVis); this.errors = errors; - if (sharingSavedObjectProps?.outcome === 'conflict') { - const conflictError = savedObjectConflictError(sharingSavedObjectProps.errorJSON!); + if (sharingSavedObjectProps?.outcome === 'conflict' && this.deps.spaces) { + const conflictError = { + shortMessage: i18n.translate('xpack.lens.embeddable.legacyURLConflict.shortMessage', { + defaultMessage: `You've encountered a URL conflict`, + }), + longMessage: ( + <this.deps.spaces.ui.components.getSavedObjectConflictMessage + json={sharingSavedObjectProps.errorJSON!} + /> + ), + }; this.errors = this.errors ? [...this.errors, conflictError] : [conflictError]; } this.expression = ast ? toExpression(ast) : null; diff --git a/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts b/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts index 954905c51a4b7..e51ec4c3e5588 100644 --- a/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts +++ b/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts @@ -24,6 +24,7 @@ import { LensAttributeService } from '../lens_attribute_service'; import { DOC_TYPE } from '../../common/constants'; import { ErrorMessage } from '../editor_frame_service/types'; import { extract, inject } from '../../common/embeddable_factory'; +import type { SpacesPluginStart } from '../../../spaces/public'; export interface LensEmbeddableStartServices { timefilter: TimefilterContract; @@ -38,6 +39,7 @@ export interface LensEmbeddableStartServices { documentToExpression: ( doc: Document ) => Promise<{ ast: Ast | null; errors: ErrorMessage[] | undefined }>; + spaces?: SpacesPluginStart; } export class EmbeddableFactory implements EmbeddableFactoryDefinition { @@ -90,6 +92,7 @@ export class EmbeddableFactory implements EmbeddableFactoryDefinition { capabilities, usageCollection, inspector, + spaces, } = await this.getStartServices(); const { Embeddable } = await import('../async_services'); @@ -110,6 +113,7 @@ export class EmbeddableFactory implements EmbeddableFactoryDefinition { canSaveVisualizations: Boolean(capabilities.visualize.save), }, usageCollection, + spaces, }, input, parent diff --git a/x-pack/plugins/lens/public/embeddable/expression_wrapper.tsx b/x-pack/plugins/lens/public/embeddable/expression_wrapper.tsx index c827fe74cc52b..3de914d13d69d 100644 --- a/x-pack/plugins/lens/public/embeddable/expression_wrapper.tsx +++ b/x-pack/plugins/lens/public/embeddable/expression_wrapper.tsx @@ -5,20 +5,10 @@ * 2.0. */ -import React, { useState } from 'react'; +import React from 'react'; import { I18nProvider } from '@kbn/i18n/react'; import { FormattedMessage } from '@kbn/i18n/react'; -import { - EuiFlexGroup, - EuiFlexItem, - EuiText, - EuiIcon, - EuiEmptyPrompt, - EuiButtonEmpty, - EuiCallOut, - EuiSpacer, - EuiLink, -} from '@elastic/eui'; +import { EuiFlexGroup, EuiFlexItem, EuiText, EuiIcon, EuiEmptyPrompt } from '@elastic/eui'; import { ExpressionRendererEvent, ReactExpressionRendererType, @@ -28,7 +18,6 @@ import type { KibanaExecutionContext } from 'src/core/public'; import { ExecutionContextSearch } from 'src/plugins/data/public'; import { DefaultInspectorAdapters, RenderMode } from 'src/plugins/expressions'; import classNames from 'classnames'; -import { i18n } from '@kbn/i18n'; import { getOriginalRequestErrorMessages } from '../editor_frame_service/error_helper'; import { ErrorMessage } from '../editor_frame_service/types'; import { LensInspector } from '../lens_inspector_service'; @@ -172,52 +161,3 @@ export function ExpressionWrapper({ </I18nProvider> ); } - -const SavedObjectConflictMessage = ({ json }: { json: string }) => { - const [expandError, setExpandError] = useState(false); - return ( - <> - <FormattedMessage - id="xpack.lens.embeddable.legacyURLConflict.longMessage" - defaultMessage="Disable the {documentationLink} associated with this object." - values={{ - documentationLink: ( - <EuiLink - external - href="https://www.elastic.co/guide/en/kibana/master/legacy-url-aliases.html" - target="_blank" - > - {i18n.translate('xpack.lens.embeddable.legacyURLConflict.documentationLinkText', { - defaultMessage: 'legacy URL alias', - })} - </EuiLink> - ), - }} - /> - <EuiSpacer /> - {expandError ? ( - <EuiCallOut - title={i18n.translate('xpack.lens.embeddable.legacyURLConflict.expandErrorText', { - defaultMessage: `This object has the same URL as a legacy alias. Disable the alias to resolve this error : {json}`, - values: { json }, - })} - color="danger" - iconType="alert" - /> - ) : ( - <EuiButtonEmpty onClick={() => setExpandError(true)}> - {i18n.translate('xpack.lens.embeddable.legacyURLConflict.expandError', { - defaultMessage: `Show more`, - })} - </EuiButtonEmpty> - )} - </> - ); -}; - -export const savedObjectConflictError = (json: string): ErrorMessage => ({ - shortMessage: i18n.translate('xpack.lens.embeddable.legacyURLConflict.shortMessage', { - defaultMessage: `You've encountered a URL conflict`, - }), - longMessage: <SavedObjectConflictMessage json={json} />, -}); diff --git a/x-pack/plugins/lens/public/indexpattern_datasource/field_item.test.tsx b/x-pack/plugins/lens/public/indexpattern_datasource/field_item.test.tsx index 1d58af6326cf6..868c5864a6730 100644 --- a/x-pack/plugins/lens/public/indexpattern_datasource/field_item.test.tsx +++ b/x-pack/plugins/lens/public/indexpattern_datasource/field_item.test.tsx @@ -215,7 +215,7 @@ describe('IndexPattern Field Item', () => { query: { query: 'geo.src : "US"', language: 'kuery' }, filters: [ { - match: { phrase: { 'geo.dest': 'US' } }, + query: { match: { phrase: { 'geo.dest': 'US' } } }, }, ], }); diff --git a/x-pack/plugins/lens/public/indexpattern_datasource/indexpattern_suggestions.test.tsx b/x-pack/plugins/lens/public/indexpattern_datasource/indexpattern_suggestions.test.tsx index a5d6db4be3319..bf4b10de386a1 100644 --- a/x-pack/plugins/lens/public/indexpattern_datasource/indexpattern_suggestions.test.tsx +++ b/x-pack/plugins/lens/public/indexpattern_datasource/indexpattern_suggestions.test.tsx @@ -1704,6 +1704,103 @@ describe('IndexPattern Data Source suggestions', () => { ); }); + it('adds date histogram over default time field for tables without time dimension and a threshold', async () => { + const initialState = testInitialState(); + const state: IndexPatternPrivateState = { + ...initialState, + layers: { + first: { + indexPatternId: '1', + columnOrder: ['cola', 'colb'], + columns: { + cola: { + label: 'My Terms', + customLabel: true, + dataType: 'string', + isBucketed: true, + operationType: 'terms', + sourceField: 'source', + scale: 'ordinal', + params: { + orderBy: { type: 'alphabetical' }, + orderDirection: 'asc', + size: 5, + }, + }, + colb: { + label: 'My Op', + customLabel: true, + dataType: 'number', + isBucketed: false, + operationType: 'average', + sourceField: 'bytes', + scale: 'ratio', + }, + }, + }, + threshold: { + indexPatternId: '2', + columnOrder: ['thresholda'], + columns: { + thresholda: { + label: 'My Op', + customLabel: true, + dataType: 'number', + isBucketed: false, + operationType: 'average', + sourceField: 'bytes', + scale: 'ratio', + }, + }, + }, + }, + }; + + expect( + getSuggestionSubset( + getDatasourceSuggestionsFromCurrentState(state, (layerId) => layerId !== 'threshold') + ) + ).toContainEqual( + expect.objectContaining({ + table: { + isMultiRow: true, + changeType: 'extended', + label: 'Over time', + columns: [ + { + columnId: 'cola', + operation: { + label: 'My Terms', + dataType: 'string', + isBucketed: true, + scale: 'ordinal', + }, + }, + { + columnId: 'id1', + operation: { + label: 'timestampLabel', + dataType: 'date', + isBucketed: true, + scale: 'interval', + }, + }, + { + columnId: 'colb', + operation: { + label: 'My Op', + dataType: 'number', + isBucketed: false, + scale: 'ratio', + }, + }, + ], + layerId: 'first', + }, + }) + ); + }); + it('does not create an over time suggestion if tables with numeric buckets with time dimension', async () => { const initialState = testInitialState(); const state: IndexPatternPrivateState = { diff --git a/x-pack/plugins/lens/public/indexpattern_datasource/indexpattern_suggestions.ts b/x-pack/plugins/lens/public/indexpattern_datasource/indexpattern_suggestions.ts index 0fe0ef617dc27..604b63aa29246 100644 --- a/x-pack/plugins/lens/public/indexpattern_datasource/indexpattern_suggestions.ts +++ b/x-pack/plugins/lens/public/indexpattern_datasource/indexpattern_suggestions.ts @@ -350,9 +350,11 @@ function createNewLayerWithMetricAggregation( } export function getDatasourceSuggestionsFromCurrentState( - state: IndexPatternPrivateState + state: IndexPatternPrivateState, + filterLayers: (layerId: string) => boolean = () => true ): Array<DatasourceSuggestion<IndexPatternPrivateState>> { - const layers = Object.entries(state.layers || {}); + const layers = Object.entries(state.layers || {}).filter(([layerId]) => filterLayers(layerId)); + if (layers.length > 1) { // Return suggestions that reduce the data to each layer individually return layers @@ -394,7 +396,7 @@ export function getDatasourceSuggestionsFromCurrentState( } return flatten( - Object.entries(state.layers || {}) + layers .filter(([_id, layer]) => layer.columnOrder.length && layer.indexPatternId) .map(([layerId, layer]) => { const indexPattern = state.indexPatterns[layer.indexPatternId]; diff --git a/x-pack/plugins/lens/public/plugin.ts b/x-pack/plugins/lens/public/plugin.ts index 7891b5990989c..1532b2b099104 100644 --- a/x-pack/plugins/lens/public/plugin.ts +++ b/x-pack/plugins/lens/public/plugin.ts @@ -212,6 +212,7 @@ export class LensPlugin { uiActions: plugins.uiActions, usageCollection, inspector: plugins.inspector, + spaces: plugins.spaces, }; }; diff --git a/x-pack/plugins/lens/public/types.ts b/x-pack/plugins/lens/public/types.ts index 75ed5f4907e0b..2e7876f83fc41 100644 --- a/x-pack/plugins/lens/public/types.ts +++ b/x-pack/plugins/lens/public/types.ts @@ -246,6 +246,7 @@ export interface Datasource<T = unknown, P = unknown> { ) => Array<DatasourceSuggestion<T>>; getDatasourceSuggestionsFromCurrentState: ( state: T, + filterFn?: (layerId: string) => boolean, activeData?: Record<string, Datatable> ) => Array<DatasourceSuggestion<T>>; diff --git a/x-pack/plugins/lens/public/xy_visualization/expression.test.tsx b/x-pack/plugins/lens/public/xy_visualization/expression.test.tsx index 77364ac72a046..4056aa730c2ab 100644 --- a/x-pack/plugins/lens/public/xy_visualization/expression.test.tsx +++ b/x-pack/plugins/lens/public/xy_visualization/expression.test.tsx @@ -330,6 +330,48 @@ function sampleArgs() { return { data, args }; } +function sampleArgsWithThreshold(thresholdValue: number = 150) { + const { data, args } = sampleArgs(); + + return { + data: { + ...data, + tables: { + ...data.tables, + threshold: { + type: 'datatable', + columns: [ + { + id: 'threshold-a', + meta: { params: { id: 'number' }, type: 'number' }, + name: 'Static value', + }, + ], + rows: [{ 'threshold-a': thresholdValue }], + }, + }, + } as LensMultiTable, + args: { + ...args, + layers: [ + ...args.layers, + { + layerType: layerTypes.THRESHOLD, + accessors: ['threshold-a'], + layerId: 'threshold', + seriesType: 'line', + xScaleType: 'linear', + yScaleType: 'linear', + palette: mockPaletteOutput, + isHistogram: false, + hide: true, + yConfig: [{ axisMode: 'left', forAccessor: 'threshold-a', type: 'lens_xy_yConfig' }], + }, + ], + } as XYArgs, + }; +} + describe('xy_expression', () => { describe('configs', () => { test('legendConfig produces the correct arguments', () => { @@ -829,6 +871,53 @@ describe('xy_expression', () => { max: undefined, }); }); + + test('it does include threshold values when in full extent mode', () => { + const { data, args } = sampleArgsWithThreshold(); + + const component = shallow(<XYChart {...defaultProps} data={data} args={args} />); + expect(component.find(Axis).find('[id="left"]').prop('domain')).toEqual({ + fit: false, + min: 0, + max: 150, + }); + }); + + test('it should ignore threshold values when set to custom extents', () => { + const { data, args } = sampleArgsWithThreshold(); + + const component = shallow( + <XYChart + {...defaultProps} + data={data} + args={{ + ...args, + yLeftExtent: { + type: 'lens_xy_axisExtentConfig', + mode: 'custom', + lowerBound: 123, + upperBound: 456, + }, + }} + /> + ); + expect(component.find(Axis).find('[id="left"]').prop('domain')).toEqual({ + fit: false, + min: 123, + max: 456, + }); + }); + + test('it should work for negative values in thresholds', () => { + const { data, args } = sampleArgsWithThreshold(-150); + + const component = shallow(<XYChart {...defaultProps} data={data} args={args} />); + expect(component.find(Axis).find('[id="left"]').prop('domain')).toEqual({ + fit: false, + min: -150, + max: 5, + }); + }); }); test('it has xDomain undefined if the x is not a time scale or a histogram', () => { diff --git a/x-pack/plugins/lens/public/xy_visualization/expression.tsx b/x-pack/plugins/lens/public/xy_visualization/expression.tsx index 0eec6f1e35f27..5dfad58f50018 100644 --- a/x-pack/plugins/lens/public/xy_visualization/expression.tsx +++ b/x-pack/plugins/lens/public/xy_visualization/expression.tsx @@ -117,6 +117,8 @@ export function calculateMinInterval({ args: { layers }, data }: XYChartProps) { return intervalDuration.as('milliseconds'); } +const isPrimitive = (value: unknown): boolean => value != null && typeof value !== 'object'; + export const getXyChartRenderer = (dependencies: { formatFactory: FormatFactory; chartsThemeService: ChartsPluginStart['theme']; @@ -395,6 +397,41 @@ export function XYChart({ min = extent.lowerBound; max = extent.upperBound; } + } else { + const axisHasThreshold = thresholdLayers.some(({ yConfig }) => + yConfig?.some(({ axisMode }) => axisMode === axis.groupId) + ); + if (!fit && axisHasThreshold) { + // Remove this once the chart will support automatic annotation fit for other type of charts + for (const series of axis.series) { + const table = data.tables[series.layer]; + for (const row of table.rows) { + for (const column of table.columns) { + if (column.id === series.accessor) { + const value = row[column.id]; + if (typeof value === 'number') { + // keep the 0 in view + max = Math.max(value, max || 0, 0); + min = Math.min(value, min || 0, 0); + } + } + } + } + } + for (const { layerId, yConfig } of thresholdLayers) { + const table = data.tables[layerId]; + for (const { axisMode, forAccessor } of yConfig || []) { + if (axis.groupId === axisMode) { + for (const row of table.rows) { + const value = row[forAccessor]; + // keep the 0 in view + max = Math.max(value, max || 0, 0); + min = Math.min(value, min || 0, 0); + } + } + } + } + } } return { @@ -652,9 +689,6 @@ export function XYChart({ const table = data.tables[layerId]; - const isPrimitive = (value: unknown): boolean => - value != null && typeof value !== 'object'; - // what if row values are not primitive? That is the case of, for instance, Ranges // remaps them to their serialized version with the formatHint metadata // In order to do it we need to make a copy of the table as the raw one is required for more features (filters, etc...) later on diff --git a/x-pack/plugins/licensing/README.md b/x-pack/plugins/licensing/README.md index 3de1fe9cae425..52204c66dd2bf 100644 --- a/x-pack/plugins/licensing/README.md +++ b/x-pack/plugins/licensing/README.md @@ -126,6 +126,7 @@ This change makes NP & LP licensing service not compatible. We have to keep both **LP**: `xpack.xpack_main.xpack_api_polling_frequency_millis` **NP**: `xpack.licensing.api_polling_frequency` +Support for deprecated `xpack.xpack_main.xpack_api_polling_frequency_millis` is removed in v8.0.0. See https://github.com/elastic/kibana/issues/103915 for more details. #### License **NP**: `mode` field is provided, but deprecated. diff --git a/x-pack/plugins/licensing/server/licensing_config.ts b/x-pack/plugins/licensing/server/licensing_config.ts index a27eaba56df50..85de9f84a703f 100644 --- a/x-pack/plugins/licensing/server/licensing_config.ts +++ b/x-pack/plugins/licensing/server/licensing_config.ts @@ -18,10 +18,4 @@ export const config: PluginConfigDescriptor<LicenseConfigType> = { schema: schema.object({ api_polling_frequency: schema.duration({ defaultValue: '30s' }), }), - deprecations: ({ renameFromRoot }) => [ - renameFromRoot( - 'xpack.xpack_main.xpack_api_polling_frequency_millis', - 'xpack.licensing.api_polling_frequency' - ), - ], }; diff --git a/x-pack/plugins/maps/kibana.json b/x-pack/plugins/maps/kibana.json index bfd501dbcb295..2aa2e4a756490 100644 --- a/x-pack/plugins/maps/kibana.json +++ b/x-pack/plugins/maps/kibana.json @@ -29,6 +29,7 @@ "savedObjectsTagging", "charts", "security", + "spaces", "usageCollection" ], "ui": true, diff --git a/x-pack/plugins/maps/public/api/index.ts b/x-pack/plugins/maps/public/api/index.ts index feded3e16f375..9cf7577f448be 100644 --- a/x-pack/plugins/maps/public/api/index.ts +++ b/x-pack/plugins/maps/public/api/index.ts @@ -8,5 +8,4 @@ export { MapsStartApi } from './start_api'; export { MapsSetupApi } from './setup_api'; export { createLayerDescriptors } from './create_layer_descriptors'; -export { registerLayerWizard, registerSource } from './register'; export { suggestEMSTermJoinConfig } from './ems'; diff --git a/x-pack/plugins/maps/public/api/register.ts b/x-pack/plugins/maps/public/api/register.ts deleted file mode 100644 index 037eeadc48df7..0000000000000 --- a/x-pack/plugins/maps/public/api/register.ts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * 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 type { SourceRegistryEntry } from '../classes/sources/source_registry'; -import type { LayerWizard } from '../classes/layers/layer_wizard_registry'; -import { lazyLoadMapModules } from '../lazy_load_bundle'; - -export async function registerLayerWizard(layerWizard: LayerWizard): Promise<void> { - const mapModules = await lazyLoadMapModules(); - return mapModules.registerLayerWizard(layerWizard); -} - -export async function registerSource(entry: SourceRegistryEntry): Promise<void> { - const mapModules = await lazyLoadMapModules(); - return mapModules.registerSource(entry); -} diff --git a/x-pack/plugins/maps/public/api/setup_api.ts b/x-pack/plugins/maps/public/api/setup_api.ts index 1b4fee968aad4..3fb80afc665c2 100644 --- a/x-pack/plugins/maps/public/api/setup_api.ts +++ b/x-pack/plugins/maps/public/api/setup_api.ts @@ -9,6 +9,6 @@ import type { SourceRegistryEntry } from '../classes/sources/source_registry'; import type { LayerWizard } from '../classes/layers/layer_wizard_registry'; export interface MapsSetupApi { - registerLayerWizard(layerWizard: LayerWizard): Promise<void>; - registerSource(entry: SourceRegistryEntry): Promise<void>; + registerLayerWizard(layerWizard: LayerWizard): void; + registerSource(entry: SourceRegistryEntry): void; } diff --git a/x-pack/plugins/maps/public/classes/layers/layer_wizard_registry.ts b/x-pack/plugins/maps/public/classes/layers/layer_wizard_registry.ts index 4f43d0384940c..1c4ff5a457ba3 100644 --- a/x-pack/plugins/maps/public/classes/layers/layer_wizard_registry.ts +++ b/x-pack/plugins/maps/public/classes/layers/layer_wizard_registry.ts @@ -8,7 +8,7 @@ /* eslint-disable @typescript-eslint/consistent-type-definitions */ import { ReactElement, FunctionComponent } from 'react'; -import { LayerDescriptor } from '../../../common/descriptor_types'; +import type { LayerDescriptor } from '../../../common/descriptor_types'; import { LAYER_WIZARD_CATEGORY } from '../../../common/constants'; export type RenderWizardArguments = { diff --git a/x-pack/plugins/maps/public/classes/sources/source_registry.ts b/x-pack/plugins/maps/public/classes/sources/source_registry.ts index b67c2668dd1ec..7be7343889d48 100644 --- a/x-pack/plugins/maps/public/classes/sources/source_registry.ts +++ b/x-pack/plugins/maps/public/classes/sources/source_registry.ts @@ -7,7 +7,7 @@ /* eslint-disable @typescript-eslint/consistent-type-definitions */ -import { ISource } from './source'; +import type { ISource } from './source'; import { Adapters } from '../../../../../../src/plugins/inspector/common/adapters'; export type SourceRegistryEntry = { diff --git a/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts b/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts index b9021f1896550..8ee9d30ecbf89 100644 --- a/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts +++ b/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts @@ -125,8 +125,10 @@ describe('getESFilters', () => { index: 'indexPatternId', negate: true, }, - exists: { - field: 'machine.os', + query: { + exists: { + field: 'machine.os', + }, }, }, ]); diff --git a/x-pack/plugins/maps/public/embeddable/_index.scss b/x-pack/plugins/maps/public/embeddable/_index.scss index 966236f54d259..07c874d966fec 100644 --- a/x-pack/plugins/maps/public/embeddable/_index.scss +++ b/x-pack/plugins/maps/public/embeddable/_index.scss @@ -5,4 +5,12 @@ flex: 1 1 100%; z-index: 1; min-height: 0; // Absolute must for Firefox to scroll contents +} + +.mapEmbeddedError { + flex-grow: 1; + display: flex; + align-items: center; + justify-content: center; + overflow: auto; } \ No newline at end of file diff --git a/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx b/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx index c15138f6c5b15..b0daace7afa9e 100644 --- a/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx +++ b/x-pack/plugins/maps/public/embeddable/map_embeddable.tsx @@ -12,6 +12,7 @@ import { Provider } from 'react-redux'; import { render, unmountComponentAtNode } from 'react-dom'; import { Subscription } from 'rxjs'; import { Unsubscribe } from 'redux'; +import { EuiEmptyPrompt } from '@elastic/eui'; import { Embeddable, IContainer, @@ -66,6 +67,7 @@ import { getCoreI18n, getHttp, getChartsPaletteServiceGetColor, + getSpacesApi, getSearchService, } from '../kibana_services'; import { LayerDescriptor, MapExtent } from '../../common/descriptor_types'; @@ -353,23 +355,38 @@ export class MapEmbeddable return; } - const I18nContext = getCoreI18n().Context; + const sharingSavedObjectProps = this._savedMap.getSharingSavedObjectProps(); + const spaces = getSpacesApi(); + const content = + sharingSavedObjectProps && spaces && sharingSavedObjectProps?.outcome === 'conflict' ? ( + <div className="mapEmbeddedError"> + <EuiEmptyPrompt + iconType="alert" + iconColor="danger" + data-test-subj="embeddable-maps-failure" + body={spaces.ui.components.getSavedObjectConflictMessage({ + json: sharingSavedObjectProps.errorJSON!, + })} + /> + </div> + ) : ( + <MapContainer + onSingleValueTrigger={this.onSingleValueTrigger} + addFilters={this.input.hideFilterActions ? null : this.addFilters} + getFilterActions={this.getFilterActions} + getActionContext={this.getActionContext} + renderTooltipContent={this._renderTooltipContent} + title={this.getTitle()} + description={this.getDescription()} + waitUntilTimeLayersLoad$={waitUntilTimeLayersLoad$(this._savedMap.getStore())} + isSharable={this._isSharable} + /> + ); + const I18nContext = getCoreI18n().Context; render( <Provider store={this._savedMap.getStore()}> - <I18nContext> - <MapContainer - onSingleValueTrigger={this.onSingleValueTrigger} - addFilters={this.input.hideFilterActions ? null : this.addFilters} - getFilterActions={this.getFilterActions} - getActionContext={this.getActionContext} - renderTooltipContent={this._renderTooltipContent} - title={this.getTitle()} - description={this.getDescription()} - waitUntilTimeLayersLoad$={waitUntilTimeLayersLoad$(this._savedMap.getStore())} - isSharable={this._isSharable} - /> - </I18nContext> + <I18nContext>{content}</I18nContext> </Provider>, this._domNode ); diff --git a/x-pack/plugins/maps/public/index_pattern_util.test.ts b/x-pack/plugins/maps/public/index_pattern_util.test.ts index d1affe6ce4d85..71cb11effea64 100644 --- a/x-pack/plugins/maps/public/index_pattern_util.test.ts +++ b/x-pack/plugins/maps/public/index_pattern_util.test.ts @@ -18,23 +18,30 @@ import { IndexPatternField } from 'src/plugins/data/public'; describe('getSourceFields', () => { test('Should remove multi fields from field list', () => { - const fields = [ - { - name: 'agent', - type: 'string', - } as IndexPatternField, - { - name: 'agent.keyword', - subType: { - multi: { - parent: 'agent', - }, + const agent = new IndexPatternField({ + name: 'agent', + searchable: true, + aggregatable: true, + type: 'string', + }); + + const agentKeyword = new IndexPatternField({ + name: 'agent.keyword', + subType: { + multi: { + parent: 'agent', }, - type: 'string', - } as IndexPatternField, - ]; + }, + searchable: true, + aggregatable: true, + type: 'string', + }); + + const fields = [agent, agentKeyword]; const sourceFields = getSourceFields(fields); - expect(sourceFields).toEqual([{ name: 'agent', type: 'string' }]); + expect(sourceFields.length).toEqual(1); + expect(sourceFields[0].name).toEqual('agent'); + expect(sourceFields[0].type).toEqual('string'); }); }); diff --git a/x-pack/plugins/maps/public/index_pattern_util.ts b/x-pack/plugins/maps/public/index_pattern_util.ts index 2861e93848ac9..844d810f61a66 100644 --- a/x-pack/plugins/maps/public/index_pattern_util.ts +++ b/x-pack/plugins/maps/public/index_pattern_util.ts @@ -98,7 +98,6 @@ export function supportsGeoTileAgg(field?: IndexPatternField): boolean { export function getSourceFields(fields: IndexPatternField[]): IndexPatternField[] { return fields.filter((field) => { // Multi fields are not stored in _source and only exist in index. - const isMultiField = field.subType && field.subType.multi; - return !isMultiField && !indexPatterns.isNestedField(field); + return !field.isSubtypeMulti() && !field.isSubtypeNested(); }); } diff --git a/x-pack/plugins/maps/public/inspector/adapters/map_adapter.js b/x-pack/plugins/maps/public/inspector/map_adapter.ts similarity index 78% rename from x-pack/plugins/maps/public/inspector/adapters/map_adapter.js rename to x-pack/plugins/maps/public/inspector/map_adapter.ts index 44561ff6d66ff..3097f686382ac 100644 --- a/x-pack/plugins/maps/public/inspector/adapters/map_adapter.js +++ b/x-pack/plugins/maps/public/inspector/map_adapter.ts @@ -6,9 +6,13 @@ */ import { EventEmitter } from 'events'; +import { Stats } from './types'; class MapAdapter extends EventEmitter { - setMapState({ stats, style }) { + private stats?: Stats; + private style?: string; + + setMapState({ stats, style }: { stats: Stats; style: string }) { this.stats = stats; this.style = style; this._onChange(); diff --git a/x-pack/plugins/maps/public/inspector/views/map_details.js b/x-pack/plugins/maps/public/inspector/map_details.tsx similarity index 74% rename from x-pack/plugins/maps/public/inspector/views/map_details.js rename to x-pack/plugins/maps/public/inspector/map_details.tsx index d477e55270eb5..6689cb0d6ccb4 100644 --- a/x-pack/plugins/maps/public/inspector/views/map_details.js +++ b/x-pack/plugins/maps/public/inspector/map_details.tsx @@ -6,7 +6,6 @@ */ import React, { Component } from 'react'; -import PropTypes from 'prop-types'; import { EuiTab, EuiTabs, @@ -22,31 +21,42 @@ import { FormattedMessage } from '@kbn/i18n/react'; const DETAILS_TAB_ID = 'details'; const STYLE_TAB_ID = 'mapStyle'; -class MapDetails extends Component { - tabs = [ - { - id: DETAILS_TAB_ID, - name: i18n.translate('xpack.maps.inspector.mapDetailsTitle', { - defaultMessage: 'Map details', - }), - dataTestSubj: 'mapDetailsTab', - }, - { - id: STYLE_TAB_ID, - name: i18n.translate('xpack.maps.inspector.mapboxStyleTitle', { - defaultMessage: 'Mapbox style', - }), - dataTestSubj: 'mapboxStyleTab', - }, - ]; +const TABS = [ + { + id: DETAILS_TAB_ID, + name: i18n.translate('xpack.maps.inspector.mapDetailsTitle', { + defaultMessage: 'Map details', + }), + dataTestSubj: 'mapDetailsTab', + }, + { + id: STYLE_TAB_ID, + name: i18n.translate('xpack.maps.inspector.mapboxStyleTitle', { + defaultMessage: 'Mapbox style', + }), + dataTestSubj: 'mapboxStyleTab', + }, +]; - state = { +interface Props { + centerLon: number; + centerLat: number; + zoom: number; + style: string; +} + +interface State { + selectedTabId: typeof DETAILS_TAB_ID | typeof STYLE_TAB_ID; +} + +export class MapDetails extends Component<Props, State> { + state: State = { selectedTabId: DETAILS_TAB_ID, }; - onSelectedTabChanged = (id) => { + onSelectedTabChanged = (id: string) => { this.setState({ - selectedTabId: id, + selectedTabId: id as typeof DETAILS_TAB_ID | typeof STYLE_TAB_ID, }); }; @@ -55,7 +65,7 @@ class MapDetails extends Component { return ( <div data-test-subj="mapboxStyleContainer"> <EuiCodeBlock language="json" paddingSize="s"> - {JSON.stringify(this.props.mapStyle, null, 2)} + {JSON.stringify(this.props.style, null, 2)} </EuiCodeBlock> </div> ); @@ -96,7 +106,7 @@ class MapDetails extends Component { }; renderTabs() { - return this.tabs.map((tab, index) => ( + return TABS.map((tab, index) => ( <EuiTab onClick={() => this.onSelectedTabChanged(tab.id)} isSelected={tab.id === this.state.selectedTabId} @@ -118,12 +128,3 @@ class MapDetails extends Component { ); } } - -MapDetails.propTypes = { - centerLon: PropTypes.number.isRequired, - centerLat: PropTypes.number.isRequired, - zoom: PropTypes.number.isRequired, - mapStyle: PropTypes.object.isRequired, -}; - -export { MapDetails }; diff --git a/x-pack/plugins/maps/public/inspector/map_inspector_view.tsx b/x-pack/plugins/maps/public/inspector/map_inspector_view.tsx new file mode 100644 index 0000000000000..77809b81b9077 --- /dev/null +++ b/x-pack/plugins/maps/public/inspector/map_inspector_view.tsx @@ -0,0 +1,31 @@ +/* + * 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 React, { lazy } from 'react'; +import type { Adapters } from 'src/plugins/inspector/public'; +import { i18n } from '@kbn/i18n'; +import { LazyWrapper } from '../lazy_wrapper'; + +const getLazyComponent = () => { + return lazy(() => import('./map_view_component')); +}; + +export const MapInspectorView = { + title: i18n.translate('xpack.maps.inspector.mapDetailsViewTitle', { + defaultMessage: 'Map details', + }), + order: 30, + help: i18n.translate('xpack.maps.inspector.mapDetailsViewHelpText', { + defaultMessage: 'View the map state', + }), + shouldShow(adapters: Adapters) { + return Boolean(adapters.map); + }, + component: (props: { adapters: Adapters }) => { + return <LazyWrapper getLazyComponent={getLazyComponent} lazyComponentProps={props} />; + }, +}; diff --git a/x-pack/plugins/maps/public/inspector/map_view_component.tsx b/x-pack/plugins/maps/public/inspector/map_view_component.tsx new file mode 100644 index 0000000000000..364f4d4d2d435 --- /dev/null +++ b/x-pack/plugins/maps/public/inspector/map_view_component.tsx @@ -0,0 +1,51 @@ +/* + * 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 React, { Component } from 'react'; +import type { Adapters } from 'src/plugins/inspector/public'; +import { MapDetails } from './map_details'; +import { Stats } from './types'; + +interface Props { + adapters: Adapters; +} + +interface State { + stats: Stats; + style: string; +} + +class MapViewComponent extends Component<Props, State> { + state: State = this.props.adapters.map.getMapState(); + + _onMapChange = () => { + this.setState(this.props.adapters.map.getMapState()); + }; + + componentDidMount() { + this.props.adapters.map.on('change', this._onMapChange); + } + + componentWillUnmount() { + this.props.adapters.map.removeListener('change', this._onMapChange); + } + + render() { + return ( + <MapDetails + centerLon={this.state.stats.center[0]} + centerLat={this.state.stats.center[1]} + zoom={this.state.stats.zoom} + style={this.state.style} + /> + ); + } +} + +// default export required for React.Lazy +// eslint-disable-next-line import/no-default-export +export default MapViewComponent; diff --git a/x-pack/plugins/maps/public/inspector/types.ts b/x-pack/plugins/maps/public/inspector/types.ts new file mode 100644 index 0000000000000..e8bbd126cdd08 --- /dev/null +++ b/x-pack/plugins/maps/public/inspector/types.ts @@ -0,0 +1,11 @@ +/* + * 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. + */ + +export interface Stats { + center: [number, number]; + zoom: number; +} diff --git a/x-pack/plugins/maps/public/inspector/views/map_view.js b/x-pack/plugins/maps/public/inspector/views/map_view.js deleted file mode 100644 index e2aac26dc7d17..0000000000000 --- a/x-pack/plugins/maps/public/inspector/views/map_view.js +++ /dev/null @@ -1,67 +0,0 @@ -/* - * 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 React, { Component } from 'react'; -import PropTypes from 'prop-types'; -import { MapDetails } from './map_details'; -import { i18n } from '@kbn/i18n'; - -class MapViewComponent extends Component { - constructor(props) { - super(props); - props.adapters.map.on('change', this._onMapChange); - - const { stats, style } = props.adapters.map.getMapState(); - this.state = { - stats, - mapStyle: style, - }; - } - - _onMapChange = () => { - const { stats, style } = this.props.adapters.map.getMapState(); - this.setState({ - stats, - mapStyle: style, - }); - }; - - componentWillUnmount() { - this.props.adapters.map.removeListener('change', this._onMapChange); - } - - render() { - return ( - <MapDetails - centerLon={this.state.stats.center[0]} - centerLat={this.state.stats.center[1]} - zoom={this.state.stats.zoom} - mapStyle={this.state.mapStyle} - /> - ); - } -} - -MapViewComponent.propTypes = { - adapters: PropTypes.object.isRequired, -}; - -const MapView = { - title: i18n.translate('xpack.maps.inspector.mapDetailsViewTitle', { - defaultMessage: 'Map details', - }), - order: 30, - help: i18n.translate('xpack.maps.inspector.mapDetailsViewHelpText', { - defaultMessage: 'View the map state', - }), - shouldShow(adapters) { - return Boolean(adapters.map); - }, - component: MapViewComponent, -}; - -export { MapView }; diff --git a/x-pack/plugins/maps/public/kibana_services.ts b/x-pack/plugins/maps/public/kibana_services.ts index 300fe07a841e9..5ad3a1d3fd23d 100644 --- a/x-pack/plugins/maps/public/kibana_services.ts +++ b/x-pack/plugins/maps/public/kibana_services.ts @@ -53,6 +53,7 @@ export const getNavigateToApp = () => coreStart.application.navigateToApp; export const getSavedObjectsTagging = () => pluginsStart.savedObjectsTagging; export const getPresentationUtilContext = () => pluginsStart.presentationUtil.ContextProvider; export const getSecurityService = () => pluginsStart.security; +export const getSpacesApi = () => pluginsStart.spaces; // xpack.maps.* kibana.yml settings from this plugin let mapAppConfig: MapsConfigType; diff --git a/x-pack/plugins/maps/public/lazy_load_bundle/index.ts b/x-pack/plugins/maps/public/lazy_load_bundle/index.ts index 1cbf009ffd5fa..8fdae1ae6d197 100644 --- a/x-pack/plugins/maps/public/lazy_load_bundle/index.ts +++ b/x-pack/plugins/maps/public/lazy_load_bundle/index.ts @@ -14,8 +14,6 @@ import type { MapEmbeddableInput, MapEmbeddableType, } from '../embeddable/types'; -import { SourceRegistryEntry } from '../classes/sources/source_registry'; -import { LayerWizard } from '../classes/layers/layer_wizard_registry'; import type { CreateLayerDescriptorParams } from '../classes/sources/es_search_source'; import type { EMSTermJoinConfig, SampleValuesConfig } from '../ems_autosuggest'; import type { CreateTileMapLayerDescriptorParams } from '../classes/layers/create_tile_map_layer_descriptor'; @@ -36,8 +34,6 @@ export interface LazyLoadedMapModules { indexPatternId: string, indexPatternTitle: string ) => LayerDescriptor[]; - registerLayerWizard: (layerWizard: LayerWizard) => void; - registerSource(entry: SourceRegistryEntry): void; createTileMapLayerDescriptor: ({ label, mapType, @@ -77,8 +73,6 @@ export async function lazyLoadMapModules(): Promise<LazyLoadedMapModules> { getMapsCapabilities, renderApp, createSecurityLayerDescriptors, - registerLayerWizard, - registerSource, createTileMapLayerDescriptor, createRegionMapLayerDescriptor, createBasemapLayerDescriptor, @@ -91,8 +85,6 @@ export async function lazyLoadMapModules(): Promise<LazyLoadedMapModules> { getMapsCapabilities, renderApp, createSecurityLayerDescriptors, - registerLayerWizard, - registerSource, createTileMapLayerDescriptor, createRegionMapLayerDescriptor, createBasemapLayerDescriptor, diff --git a/x-pack/plugins/maps/public/lazy_load_bundle/lazy/index.ts b/x-pack/plugins/maps/public/lazy_load_bundle/lazy/index.ts index 4ccc19ae988da..114fa86bc1d99 100644 --- a/x-pack/plugins/maps/public/lazy_load_bundle/lazy/index.ts +++ b/x-pack/plugins/maps/public/lazy_load_bundle/lazy/index.ts @@ -10,8 +10,6 @@ export * from '../../embeddable/map_embeddable'; export * from '../../kibana_services'; export { renderApp } from '../../render_app'; export * from '../../classes/layers/solution_layers/security'; -export { registerLayerWizard } from '../../classes/layers/layer_wizard_registry'; -export { registerSource } from '../../classes/sources/source_registry'; export { createTileMapLayerDescriptor } from '../../classes/layers/create_tile_map_layer_descriptor'; export { createRegionMapLayerDescriptor } from '../../classes/layers/create_region_map_layer_descriptor'; export { createBasemapLayerDescriptor } from '../../classes/layers/create_basemap_layer_descriptor'; diff --git a/x-pack/plugins/maps/public/lazy_wrapper.tsx b/x-pack/plugins/maps/public/lazy_wrapper.tsx new file mode 100644 index 0000000000000..1a808799bf4c4 --- /dev/null +++ b/x-pack/plugins/maps/public/lazy_wrapper.tsx @@ -0,0 +1,31 @@ +/* + * 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 React, { FC, Suspense } from 'react'; +import { EuiDelayRender, EuiErrorBoundary, EuiLoadingContent } from '@elastic/eui'; + +const Fallback = () => ( + <EuiDelayRender> + <EuiLoadingContent lines={3} /> + </EuiDelayRender> +); + +interface Props<T> { + getLazyComponent: () => FC<T>; + lazyComponentProps: T; +} + +export function LazyWrapper<T>({ getLazyComponent, lazyComponentProps }: Props<T>) { + const LazyComponent = getLazyComponent(); + return ( + <EuiErrorBoundary> + <Suspense fallback={<Fallback />}> + <LazyComponent {...lazyComponentProps} /> + </Suspense> + </EuiErrorBoundary> + ); +} diff --git a/x-pack/plugins/maps/public/map_attribute_service.ts b/x-pack/plugins/maps/public/map_attribute_service.ts index 5f7c45b1b42d7..ab380ca5a6b66 100644 --- a/x-pack/plugins/maps/public/map_attribute_service.ts +++ b/x-pack/plugins/maps/public/map_attribute_service.ts @@ -14,8 +14,18 @@ import { checkForDuplicateTitle, OnSaveProps } from '../../../../src/plugins/sav import { getCoreOverlays, getEmbeddableService, getSavedObjectsClient } from './kibana_services'; import { extractReferences, injectReferences } from '../common/migrations/references'; import { MapByValueInput, MapByReferenceInput } from './embeddable/types'; +import { getSpacesApi } from './kibana_services'; -type MapDoc = MapSavedObjectAttributes & { references?: SavedObjectReference[] }; +export interface SharingSavedObjectProps { + outcome?: 'aliasMatch' | 'exactMatch' | 'conflict'; + aliasTargetId?: string; + errorJSON?: string; +} + +type MapDoc = MapSavedObjectAttributes & { + sharingSavedObjectProps?: SharingSavedObjectProps; + references?: SavedObjectReference[]; +}; export type MapAttributeService = AttributeService<MapDoc, MapByValueInput, MapByReferenceInput>; @@ -58,7 +68,11 @@ export function getMapAttributeService(): MapAttributeService { return { id: savedObject.id }; }, unwrapMethod: async (savedObjectId: string): Promise<MapDoc> => { - const savedObject = await getSavedObjectsClient().get<MapSavedObjectAttributes>( + const { + saved_object: savedObject, + outcome, + alias_target_id: aliasTargetId, + } = await getSavedObjectsClient().resolve<MapSavedObjectAttributes>( MAP_SAVED_OBJECT_TYPE, savedObjectId ); @@ -68,7 +82,22 @@ export function getMapAttributeService(): MapAttributeService { } const { attributes } = injectReferences(savedObject); - return { ...attributes, references: savedObject.references }; + return { + ...attributes, + references: savedObject.references, + sharingSavedObjectProps: { + aliasTargetId, + outcome, + errorJSON: + outcome === 'conflict' && getSpacesApi() + ? JSON.stringify({ + targetType: MAP_SAVED_OBJECT_TYPE, + sourceId: savedObjectId, + targetSpace: (await getSpacesApi()!.getActiveSpace()).id, + }) + : undefined, + }, + }; }, checkForDuplicateTitle: (props: OnSaveProps) => { return checkForDuplicateTitle( diff --git a/x-pack/plugins/maps/public/plugin.ts b/x-pack/plugins/maps/public/plugin.ts index 8f6e74adfc2fd..b8538975bdc9c 100644 --- a/x-pack/plugins/maps/public/plugin.ts +++ b/x-pack/plugins/maps/public/plugin.ts @@ -20,8 +20,7 @@ import type { PluginInitializerContext, } from '../../../../src/core/public'; import { DEFAULT_APP_CATEGORIES } from '../../../../src/core/public'; -// @ts-ignore -import { MapView } from './inspector/views/map_view'; +import { MapInspectorView } from './inspector/map_inspector_view'; import { setEMSSettings, setKibanaCommonConfig, @@ -49,12 +48,12 @@ import { getAppTitle } from '../common/i18n_getters'; import { lazyLoadMapModules } from './lazy_load_bundle'; import { createLayerDescriptors, - registerLayerWizard, - registerSource, MapsSetupApi, MapsStartApi, suggestEMSTermJoinConfig, } from './api'; +import { registerLayerWizard } from './classes/layers/layer_wizard_registry'; +import { registerSource } from './classes/sources/source_registry'; import type { SharePluginSetup, SharePluginStart } from '../../../../src/plugins/share/public'; import type { MapsEmsPluginSetup } from '../../../../src/plugins/maps_ems/public'; import type { DataPublicPluginStart } from '../../../../src/plugins/data/public'; @@ -83,7 +82,8 @@ import { tileMapRenderer, tileMapVisType, } from './legacy_visualizations'; -import { SecurityPluginStart } from '../../security/public'; +import type { SecurityPluginStart } from '../../security/public'; +import type { SpacesPluginStart } from '../../spaces/public'; export interface MapsPluginSetupDependencies { expressions: ReturnType<ExpressionsPublicPlugin['setup']>; @@ -112,7 +112,8 @@ export interface MapsPluginStartDependencies { dashboard: DashboardStart; savedObjectsTagging?: SavedObjectTaggingPluginStart; presentationUtil: PresentationUtilPluginStart; - security: SecurityPluginStart; + security?: SecurityPluginStart; + spaces?: SpacesPluginStart; } /** @@ -166,7 +167,7 @@ export class MapsPlugin }) ); - plugins.inspector.registerView(MapView); + plugins.inspector.registerView(MapInspectorView); if (plugins.home) { plugins.home.featureCatalogue.register(featureCatalogueEntry); } diff --git a/x-pack/plugins/maps/public/reducers/non_serializable_instances.js b/x-pack/plugins/maps/public/reducers/non_serializable_instances.js index 402d7727cd6fe..9524d25a9a476 100644 --- a/x-pack/plugins/maps/public/reducers/non_serializable_instances.js +++ b/x-pack/plugins/maps/public/reducers/non_serializable_instances.js @@ -6,7 +6,7 @@ */ import { RequestAdapter } from '../../../../../src/plugins/inspector/common/adapters/request'; -import { MapAdapter } from '../inspector/adapters/map_adapter'; +import { MapAdapter } from '../inspector/map_adapter'; import { getShowMapsInspectorAdapter } from '../kibana_services'; const REGISTER_CANCEL_CALLBACK = 'REGISTER_CANCEL_CALLBACK'; diff --git a/x-pack/plugins/maps/public/render_app.tsx b/x-pack/plugins/maps/public/render_app.tsx index de67939b1a42a..3eefaeb6f7a9b 100644 --- a/x-pack/plugins/maps/public/render_app.tsx +++ b/x-pack/plugins/maps/public/render_app.tsx @@ -9,7 +9,7 @@ import React from 'react'; import { render, unmountComponentAtNode } from 'react-dom'; import { Router, Switch, Route, Redirect, RouteComponentProps } from 'react-router-dom'; import { i18n } from '@kbn/i18n'; -import { AppMountParameters } from 'kibana/public'; +import type { AppMountParameters } from 'kibana/public'; import { getCoreChrome, getCoreI18n, @@ -98,6 +98,7 @@ export async function renderApp( setHeaderActionMenu={setHeaderActionMenu} stateTransfer={stateTransfer} originatingApp={originatingApp} + history={history} key={routeProps.match.params.savedMapId ? routeProps.match.params.savedMapId : 'new'} /> ); diff --git a/x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx b/x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx index 212fa89e2ad65..8fc2d97c4862a 100644 --- a/x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx +++ b/x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx @@ -18,6 +18,7 @@ import { getCoreChrome, getMapsCapabilities, getNavigation, + getSpacesApi, getTimeFilter, getToasts, } from '../../../kibana_services'; @@ -40,7 +41,8 @@ import { getIndexPatternsFromIds } from '../../../index_pattern_util'; import { getTopNavConfig } from '../top_nav_config'; import { goToSpecifiedPath } from '../../../render_app'; import { MapSavedObjectAttributes } from '../../../../common/map_saved_object_type'; -import { getFullPath, APP_ID } from '../../../../common/constants'; +import { getEditPath, getFullPath, APP_ID } from '../../../../common/constants'; +import { getMapEmbeddableDisplayName } from '../../../../common/i18n_getters'; import { getInitialQuery, getInitialRefreshConfig, @@ -85,6 +87,7 @@ export interface Props { isSaveDisabled: boolean; query: Query | undefined; setHeaderActionMenu: AppMountParameters['setHeaderActionMenu']; + history: AppMountParameters['history']; } export interface State { @@ -347,6 +350,16 @@ export class MapApp extends React.Component<Props, State> { return; } + const sharingSavedObjectProps = this.props.savedMap.getSharingSavedObjectProps(); + const spaces = getSpacesApi(); + if (spaces && sharingSavedObjectProps?.outcome === 'aliasMatch') { + // We found this object by a legacy URL alias from its old ID; redirect the user to the page with its new ID, preserving any URL hash + const newObjectId = sharingSavedObjectProps?.aliasTargetId; // This is always defined if outcome === 'aliasMatch' + const newPath = `${getEditPath(newObjectId)}${this.props.history.location.hash}`; + await spaces.ui.redirectLegacyUrl(newPath, getMapEmbeddableDisplayName()); + return; + } + this.props.savedMap.setBreadcrumbs(); getCoreChrome().docTitle.change(this.props.savedMap.getTitle()); const savedObjectId = this.props.savedMap.getSavedObjectId(); @@ -437,6 +450,21 @@ export class MapApp extends React.Component<Props, State> { this._onFiltersChange([...this.props.filters, ...newFilters]); }; + _renderLegacyUrlConflict() { + const sharingSavedObjectProps = this.props.savedMap.getSharingSavedObjectProps(); + const spaces = getSpacesApi(); + return spaces && sharingSavedObjectProps?.outcome === 'conflict' + ? spaces.ui.components.getLegacyUrlConflict({ + objectNoun: getMapEmbeddableDisplayName(), + currentObjectId: this.props.savedMap.getSavedObjectId()!, + otherObjectId: sharingSavedObjectProps.aliasTargetId!, + otherObjectPath: `${getEditPath(sharingSavedObjectProps.aliasTargetId!)}${ + this.props.history.location.hash + }`, + }) + : null; + } + render() { if (!this.state.initialized) { return null; @@ -447,6 +475,7 @@ export class MapApp extends React.Component<Props, State> { {this._renderTopNav()} <h1 className="euiScreenReaderOnly">{`screenTitle placeholder`}</h1> <div id="react-maps-root"> + {this._renderLegacyUrlConflict()} <MapContainer addFilters={this._addFilter} title={this.props.savedMap.getAttributes().title} diff --git a/x-pack/plugins/maps/public/routes/map_page/map_page.tsx b/x-pack/plugins/maps/public/routes/map_page/map_page.tsx index 73ea62ef59d7c..7e927115a5d06 100644 --- a/x-pack/plugins/maps/public/routes/map_page/map_page.tsx +++ b/x-pack/plugins/maps/public/routes/map_page/map_page.tsx @@ -7,8 +7,8 @@ import React, { Component } from 'react'; import { Provider } from 'react-redux'; -import { AppMountParameters } from 'kibana/public'; -import { EmbeddableStateTransfer } from 'src/plugins/embeddable/public'; +import type { AppMountParameters } from 'kibana/public'; +import type { EmbeddableStateTransfer } from 'src/plugins/embeddable/public'; import { MapApp } from './map_app'; import { SavedMap, getInitialLayersFromUrlParam } from './saved_map'; import { MapEmbeddableInput } from '../../embeddable/types'; @@ -20,6 +20,7 @@ interface Props { setHeaderActionMenu: AppMountParameters['setHeaderActionMenu']; stateTransfer: EmbeddableStateTransfer; originatingApp?: string; + history: AppMountParameters['history']; } interface State { @@ -69,6 +70,7 @@ export class MapPage extends Component<Props, State> { return ( <Provider store={this.state.savedMap.getStore()}> <MapApp + history={this.props.history} savedMap={this.state.savedMap} onAppLeave={this.props.onAppLeave} setHeaderActionMenu={this.props.setHeaderActionMenu} diff --git a/x-pack/plugins/maps/public/routes/map_page/saved_map/saved_map.ts b/x-pack/plugins/maps/public/routes/map_page/saved_map/saved_map.ts index fab88af308f8d..004b88a242623 100644 --- a/x-pack/plugins/maps/public/routes/map_page/saved_map/saved_map.ts +++ b/x-pack/plugins/maps/public/routes/map_page/saved_map/saved_map.ts @@ -30,7 +30,7 @@ import { setHiddenLayers, } from '../../../actions'; import { getIsLayerTOCOpen, getOpenTOCDetails } from '../../../selectors/ui_selectors'; -import { getMapAttributeService } from '../../../map_attribute_service'; +import { getMapAttributeService, SharingSavedObjectProps } from '../../../map_attribute_service'; import { OnSaveProps } from '../../../../../../../src/plugins/saved_objects/public'; import { MapByReferenceInput, MapEmbeddableInput } from '../../../embeddable/types'; import { @@ -50,6 +50,7 @@ import { whenLicenseInitialized } from '../../../licensed_features'; export class SavedMap { private _attributes: MapSavedObjectAttributes | null = null; + private _sharingSavedObjectProps: SharingSavedObjectProps | null = null; private readonly _defaultLayers: LayerDescriptor[]; private readonly _embeddableId?: string; private _initialLayerListConfig: LayerDescriptor[] = []; @@ -98,8 +99,11 @@ export class SavedMap { }; } else { const doc = await getMapAttributeService().unwrapAttributes(this._mapEmbeddableInput); - const { references, ...savedObjectAttributes } = doc; + const { references, sharingSavedObjectProps, ...savedObjectAttributes } = doc; this._attributes = savedObjectAttributes; + if (sharingSavedObjectProps) { + this._sharingSavedObjectProps = sharingSavedObjectProps; + } const savedObjectsTagging = getSavedObjectsTagging(); if (savedObjectsTagging && references && references.length) { this._tags = savedObjectsTagging.ui.getTagIdsFromReferences(references); @@ -274,6 +278,10 @@ export class SavedMap { return this._attributes; } + public getSharingSavedObjectProps(): SharingSavedObjectProps | null { + return this._sharingSavedObjectProps; + } + public isByValue(): boolean { const hasSavedObjectId = !!this.getSavedObjectId(); return getIsAllowByValueEmbeddables() && !!this._originatingApp && !hasSavedObjectId; diff --git a/x-pack/plugins/maps/server/maps_telemetry/collectors/register.ts b/x-pack/plugins/maps/server/maps_telemetry/collectors/register.ts index 7dcfea6f267bb..ea2c59eb5f12c 100644 --- a/x-pack/plugins/maps/server/maps_telemetry/collectors/register.ts +++ b/x-pack/plugins/maps/server/maps_telemetry/collectors/register.ts @@ -8,7 +8,7 @@ import { UsageCollectionSetup } from 'src/plugins/usage_collection/server'; import { getMapsTelemetry, MapsUsage } from '../maps_telemetry'; -export function registerMapsUsageCollector(usageCollection: UsageCollectionSetup): void { +export function registerMapsUsageCollector(usageCollection?: UsageCollectionSetup): void { if (!usageCollection) { return; } diff --git a/x-pack/plugins/maps/server/plugin.ts b/x-pack/plugins/maps/server/plugin.ts index cb03d732bebdc..88e3dd6096654 100644 --- a/x-pack/plugins/maps/server/plugin.ts +++ b/x-pack/plugins/maps/server/plugin.ts @@ -42,8 +42,8 @@ import { embeddableMigrations } from './embeddable_migrations'; interface SetupDeps { features: FeaturesPluginSetupContract; - usageCollection: UsageCollectionSetup; - home: HomeServerPluginSetup; + usageCollection?: UsageCollectionSetup; + home?: HomeServerPluginSetup; licensing: LicensingPluginSetup; mapsEms: MapsEmsPluginSetup; embeddable: EmbeddableSetup; @@ -72,66 +72,65 @@ export class MapsPlugin implements Plugin { const sampleDataLinkLabel = i18n.translate('xpack.maps.sampleDataLinkLabel', { defaultMessage: 'Map', }); - if (home) { - home.sampleData.addSavedObjectsToSampleDataset('ecommerce', getEcommerceSavedObjects()); - home.sampleData.addAppLinksToSampleDataset('ecommerce', [ - { - path: getFullPath('2c9c1f60-1909-11e9-919b-ffe5949a18d2'), - label: sampleDataLinkLabel, - icon: APP_ICON, - }, - ]); + home.sampleData.addSavedObjectsToSampleDataset('ecommerce', getEcommerceSavedObjects()); - home.sampleData.addSavedObjectsToSampleDataset('flights', getFlightsSavedObjects()); + home.sampleData.addAppLinksToSampleDataset('ecommerce', [ + { + path: getFullPath('2c9c1f60-1909-11e9-919b-ffe5949a18d2'), + label: sampleDataLinkLabel, + icon: APP_ICON, + }, + ]); - home.sampleData.addAppLinksToSampleDataset('flights', [ - { - path: getFullPath('5dd88580-1906-11e9-919b-ffe5949a18d2'), - label: sampleDataLinkLabel, - icon: APP_ICON, - }, - ]); - - home.sampleData.replacePanelInSampleDatasetDashboard({ - sampleDataId: 'flights', - dashboardId: '7adfa750-4c81-11e8-b3d7-01146121b73d', - oldEmbeddableId: '334084f0-52fd-11e8-a160-89cc2ad9e8e2', - embeddableId: '5dd88580-1906-11e9-919b-ffe5949a18d2', - // @ts-ignore - embeddableType: MAP_SAVED_OBJECT_TYPE, - embeddableConfig: { - isLayerTOCOpen: true, - }, - }); - - home.sampleData.addSavedObjectsToSampleDataset('logs', getWebLogsSavedObjects()); - home.sampleData.addAppLinksToSampleDataset('logs', [ - { - path: getFullPath('de71f4f0-1902-11e9-919b-ffe5949a18d2'), - label: sampleDataLinkLabel, - icon: APP_ICON, - }, - ]); - home.sampleData.replacePanelInSampleDatasetDashboard({ - sampleDataId: 'logs', - dashboardId: 'edf84fe0-e1a0-11e7-b6d5-4dc382ef7f5b', - oldEmbeddableId: '06cf9c40-9ee8-11e7-8711-e7a007dcef99', - embeddableId: 'de71f4f0-1902-11e9-919b-ffe5949a18d2', - // @ts-ignore - embeddableType: MAP_SAVED_OBJECT_TYPE, - embeddableConfig: { - isLayerTOCOpen: false, - }, - }); - - home.tutorials.registerTutorial( - emsBoundariesSpecProvider({ - prependBasePath, - emsLandingPageUrl: emsSettings.getEMSLandingPageUrl(), - }) - ); - } + home.sampleData.addSavedObjectsToSampleDataset('flights', getFlightsSavedObjects()); + + home.sampleData.addAppLinksToSampleDataset('flights', [ + { + path: getFullPath('5dd88580-1906-11e9-919b-ffe5949a18d2'), + label: sampleDataLinkLabel, + icon: APP_ICON, + }, + ]); + + home.sampleData.replacePanelInSampleDatasetDashboard({ + sampleDataId: 'flights', + dashboardId: '7adfa750-4c81-11e8-b3d7-01146121b73d', + oldEmbeddableId: '334084f0-52fd-11e8-a160-89cc2ad9e8e2', + embeddableId: '5dd88580-1906-11e9-919b-ffe5949a18d2', + // @ts-ignore + embeddableType: MAP_SAVED_OBJECT_TYPE, + embeddableConfig: { + isLayerTOCOpen: true, + }, + }); + + home.sampleData.addSavedObjectsToSampleDataset('logs', getWebLogsSavedObjects()); + home.sampleData.addAppLinksToSampleDataset('logs', [ + { + path: getFullPath('de71f4f0-1902-11e9-919b-ffe5949a18d2'), + label: sampleDataLinkLabel, + icon: APP_ICON, + }, + ]); + home.sampleData.replacePanelInSampleDatasetDashboard({ + sampleDataId: 'logs', + dashboardId: 'edf84fe0-e1a0-11e7-b6d5-4dc382ef7f5b', + oldEmbeddableId: '06cf9c40-9ee8-11e7-8711-e7a007dcef99', + embeddableId: 'de71f4f0-1902-11e9-919b-ffe5949a18d2', + // @ts-ignore + embeddableType: MAP_SAVED_OBJECT_TYPE, + embeddableConfig: { + isLayerTOCOpen: false, + }, + }); + + home.tutorials.registerTutorial( + emsBoundariesSpecProvider({ + prependBasePath, + emsLandingPageUrl: emsSettings.getEMSLandingPageUrl(), + }) + ); } // @ts-ignore @@ -160,7 +159,9 @@ export class MapsPlugin implements Plugin { initRoutes(core, () => lastLicenseId, emsSettings, this.kibanaVersion, this._logger); - this._initHomeData(home, core.http.basePath.prepend, emsSettings); + if (home) { + this._initHomeData(home, core.http.basePath.prepend, emsSettings); + } features.registerKibanaFeature({ id: APP_ID, diff --git a/x-pack/plugins/maps/tsconfig.json b/x-pack/plugins/maps/tsconfig.json index 3f6e1fdbe8475..e2be2f3d66561 100644 --- a/x-pack/plugins/maps/tsconfig.json +++ b/x-pack/plugins/maps/tsconfig.json @@ -36,6 +36,7 @@ { "path": "../licensing/tsconfig.json" }, { "path": "../file_upload/tsconfig.json" }, { "path": "../saved_objects_tagging/tsconfig.json" }, - { "path": "../security/tsconfig.json" } + { "path": "../security/tsconfig.json" }, + { "path": "../spaces/tsconfig.json" } ] } diff --git a/x-pack/plugins/ml/common/types/saved_objects.ts b/x-pack/plugins/ml/common/types/saved_objects.ts index c90707d39ab14..0e48800dd845d 100644 --- a/x-pack/plugins/ml/common/types/saved_objects.ts +++ b/x-pack/plugins/ml/common/types/saved_objects.ts @@ -5,12 +5,13 @@ * 2.0. */ +import { ErrorType } from '../util/errors'; export type JobType = 'anomaly-detector' | 'data-frame-analytics'; export const ML_SAVED_OBJECT_TYPE = 'ml-job'; export const ML_MODULE_SAVED_OBJECT_TYPE = 'ml-module'; export interface SavedObjectResult { - [jobId: string]: { success: boolean; error?: any }; + [jobId: string]: { success: boolean; type: JobType; error?: ErrorType }; } export interface SyncSavedObjectResponse { @@ -33,8 +34,13 @@ export type JobsSpacesResponse = { export interface InitializeSavedObjectResponse { jobs: Array<{ id: string; type: JobType }>; + datafeeds: Array<{ id: string; type: JobType }>; success: boolean; - error?: any; + error?: ErrorType; +} + +export interface SyncCheckResponse { + result: boolean; } export interface DeleteJobCheckResponse { diff --git a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/index.ts b/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/index.ts index a0a79c10f3ef2..fd87a7e816f67 100644 --- a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/index.ts +++ b/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/index.ts @@ -7,3 +7,4 @@ export { JobsAwaitingNodeWarning } from './jobs_awaiting_node_warning'; export { NewJobAwaitingNodeWarning } from './new_job_awaiting_node'; +export { MLJobsAwaitingNodeWarning } from './new_job_awaiting_node_shared'; diff --git a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/jobs_awaiting_node_warning.tsx b/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/jobs_awaiting_node_warning.tsx index 2cc36b7a2adf7..2f51fd6e32a60 100644 --- a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/jobs_awaiting_node_warning.tsx +++ b/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/jobs_awaiting_node_warning.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React, { Fragment, FC } from 'react'; +import React, { FC } from 'react'; import { EuiCallOut, EuiSpacer } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; @@ -21,7 +21,7 @@ export const JobsAwaitingNodeWarning: FC<Props> = ({ jobCount }) => { } return ( - <Fragment> + <> <EuiCallOut title={ <FormattedMessage @@ -43,6 +43,6 @@ export const JobsAwaitingNodeWarning: FC<Props> = ({ jobCount }) => { </div> </EuiCallOut> <EuiSpacer size="m" /> - </Fragment> + </> ); }; diff --git a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node.tsx b/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node.tsx index ce31d1afc475b..f181497a9efc5 100644 --- a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node.tsx +++ b/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React, { Fragment, FC } from 'react'; +import React, { FC } from 'react'; import { EuiCallOut, EuiSpacer } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; @@ -22,7 +22,7 @@ export const NewJobAwaitingNodeWarning: FC<Props> = () => { } return ( - <Fragment> + <> <EuiCallOut title={ <FormattedMessage @@ -41,6 +41,6 @@ export const NewJobAwaitingNodeWarning: FC<Props> = () => { </div> </EuiCallOut> <EuiSpacer size="m" /> - </Fragment> + </> ); }; diff --git a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/index.tsx b/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/index.tsx new file mode 100644 index 0000000000000..0457e7dd18d3c --- /dev/null +++ b/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/index.tsx @@ -0,0 +1,8 @@ +/* + * 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. + */ + +export { MLJobsAwaitingNodeWarning } from './lazy_loader'; diff --git a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx b/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx new file mode 100644 index 0000000000000..655bde61ccc5d --- /dev/null +++ b/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/lazy_loader.tsx @@ -0,0 +1,24 @@ +/* + * 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 React, { FC } from 'react'; + +const MLJobsAwaitingNodeWarningComponent = React.lazy( + () => import('./new_job_awaiting_node_shared') +); + +interface Props { + jobIds: string[]; +} + +export const MLJobsAwaitingNodeWarning: FC<Props> = ({ jobIds }) => { + return ( + <React.Suspense fallback={<div />}> + <MLJobsAwaitingNodeWarningComponent jobIds={jobIds} /> + </React.Suspense> + ); +}; diff --git a/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/new_job_awaiting_node_shared.tsx b/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/new_job_awaiting_node_shared.tsx new file mode 100644 index 0000000000000..5850349ff5fd6 --- /dev/null +++ b/x-pack/plugins/ml/public/application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared/new_job_awaiting_node_shared.tsx @@ -0,0 +1,164 @@ +/* + * 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 React, { FC, useState, useEffect, useCallback, useMemo } from 'react'; +import { estypes } from '@elastic/elasticsearch'; + +import { EuiCallOut, EuiSpacer, EuiLink } from '@elastic/eui'; +import { FormattedMessage } from '@kbn/i18n/react'; +import { useKibana } from '../../../../../../../../src/plugins/kibana_react/public'; +import { JOB_STATE } from '../../../../../common/constants/states'; +import { mlApiServicesProvider } from '../../../services/ml_api_service'; +import { HttpService } from '../../../services/http_service'; +import { extractDeploymentId, CloudInfo } from '../../../services/ml_server_info'; + +interface Props { + jobIds: string[]; +} + +function isJobAwaitingNodeAssignment(job: estypes.MlJobStats) { + return job.node === undefined && job.state === JOB_STATE.OPENING; +} + +const MLJobsAwaitingNodeWarning: FC<Props> = ({ jobIds }) => { + const { http } = useKibana().services; + const ml = useMemo(() => mlApiServicesProvider(new HttpService(http!)), [http]); + + const [unassignedJobCount, setUnassignedJobCount] = useState<number>(0); + const [cloudInfo, setCloudInfo] = useState<CloudInfo | null>(null); + + const checkNodes = useCallback(async () => { + try { + if (jobIds.length === 0) { + setUnassignedJobCount(0); + return; + } + + const { lazyNodeCount } = await ml.mlNodeCount(); + if (lazyNodeCount === 0) { + setUnassignedJobCount(0); + return; + } + + const { jobs } = await ml.getJobStats({ jobId: jobIds.join(',') }); + const unassignedJobs = jobs.filter(isJobAwaitingNodeAssignment); + setUnassignedJobCount(unassignedJobs.length); + } catch (error) { + setUnassignedJobCount(0); + // eslint-disable-next-line no-console + console.error('Could not determine ML node information', error); + } + }, [jobIds]); + + const checkCloudInfo = useCallback(async () => { + if (unassignedJobCount === 0) { + return; + } + + try { + const resp = await ml.mlInfo(); + const cloudId = resp.cloudId ?? null; + setCloudInfo({ + isCloud: cloudId !== null, + cloudId, + deploymentId: cloudId === null ? null : extractDeploymentId(cloudId), + }); + } catch (error) { + setCloudInfo(null); + // eslint-disable-next-line no-console + console.error('Could not determine cloud information', error); + } + }, [unassignedJobCount]); + + useEffect(() => { + checkCloudInfo(); + }, [unassignedJobCount]); + + useEffect(() => { + checkNodes(); + }, [jobIds]); + + if (unassignedJobCount === 0) { + return null; + } + + return ( + <> + <EuiCallOut + title={ + <FormattedMessage + id="xpack.ml.jobsAwaitingNodeWarningShared.title" + defaultMessage="Awaiting machine learning node" + /> + } + color="primary" + iconType="iInCircle" + > + <div> + <FormattedMessage + id="xpack.ml.jobsAwaitingNodeWarningShared.noMLNodesAvailableDescription" + defaultMessage="There {jobCount, plural, one {is} other {are}} {jobCount, plural, one {# job} other {# jobs}} waiting for machine learning nodes to start." + values={{ + jobCount: unassignedJobCount, + }} + /> + <EuiSpacer size="s" /> + {cloudInfo && + (cloudInfo.isCloud ? ( + <> + <FormattedMessage + id="xpack.ml.jobsAwaitingNodeWarningShared.isCloud" + defaultMessage="Elastic Cloud deployments can autoscale to add more ML capacity. This may take 5-20 minutes. " + /> + {cloudInfo.deploymentId === null ? null : ( + <FormattedMessage + id="xpack.ml.jobsAwaitingNodeWarningShared.isCloud.link" + defaultMessage="You can monitor progress in the {link}." + values={{ + link: ( + <EuiLink + href={`https://cloud.elastic.co/deployments?q=${cloudInfo.deploymentId}`} + > + <FormattedMessage + id="xpack.ml.jobsAwaitingNodeWarningShared.linkToCloud.linkText" + defaultMessage="Elastic Cloud admin console" + /> + </EuiLink> + ), + }} + /> + )} + </> + ) : ( + <FormattedMessage + id="xpack.ml.jobsAwaitingNodeWarningShared.notCloud" + defaultMessage="Only Elastic Cloud deployments can autoscale; you must add machine learning nodes. {link}" + values={{ + link: ( + <EuiLink + href={ + 'https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-node.html#ml-node' + } + > + <FormattedMessage + id="xpack.ml.jobsAwaitingNodeWarningShared.linkToCloud.learnMore" + defaultMessage="Learn more." + /> + </EuiLink> + ), + }} + /> + ))} + </div> + </EuiCallOut> + <EuiSpacer size="m" /> + </> + ); +}; + +// eslint-disable-next-line import/no-default-export +export default MLJobsAwaitingNodeWarning; diff --git a/x-pack/plugins/ml/public/application/components/saved_objects_warning/saved_objects_warning.tsx b/x-pack/plugins/ml/public/application/components/saved_objects_warning/saved_objects_warning.tsx index 974b4ee4eb9d5..d89d3ee9ea2ff 100644 --- a/x-pack/plugins/ml/public/application/components/saved_objects_warning/saved_objects_warning.tsx +++ b/x-pack/plugins/ml/public/application/components/saved_objects_warning/saved_objects_warning.tsx @@ -5,48 +5,77 @@ * 2.0. */ -import React, { FC, useEffect, useState } from 'react'; - +import React, { FC, useEffect, useState, useCallback, useRef, useMemo } from 'react'; import { EuiCallOut, EuiLink, EuiSpacer } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; import { JobType } from '../../../../common/types/saved_objects'; -import { useMlApiContext, useMlKibana } from '../../contexts/kibana'; +import { useMlApiContext } from '../../contexts/kibana'; +import { JobSpacesSyncFlyout } from '../../components/job_spaces_sync'; +import { checkPermission } from '../../capabilities/check_capabilities'; interface Props { jobType?: JobType; + onCloseFlyout?: () => void; + forceRefresh?: boolean; } -export const SavedObjectsWarning: FC<Props> = ({ jobType }) => { +export const SavedObjectsWarning: FC<Props> = ({ jobType, onCloseFlyout, forceRefresh }) => { const { - savedObjects: { initSavedObjects }, + savedObjects: { syncCheck }, } = useMlApiContext(); - const { - services: { - http: { basePath }, - }, - } = useMlKibana(); + const mounted = useRef(false); const [showWarning, setShowWarning] = useState(false); + const [showSyncFlyout, setShowSyncFlyout] = useState(false); + const canCreateJob = useMemo(() => checkPermission('canCreateJob'), []); - useEffect(() => { - let unmounted = false; - initSavedObjects(true) - .then(({ jobs }) => { - if (unmounted === true) { - return; - } + const checkStatus = useCallback(async () => { + try { + if (mounted.current === false) { + return; + } + + const { result } = await syncCheck(jobType); + + if (mounted.current === true) { + setShowWarning(showSyncFlyout || result); + } + } catch (error) { + console.log('Saved object synchronization check could not be performed.'); // eslint-disable-line no-console + } + }, [showSyncFlyout, setShowWarning]); - const missingJobs = - jobs.length > 0 && (jobType === undefined || jobs.some(({ type }) => type === jobType)); - setShowWarning(missingJobs); - }) - .catch(() => { - console.log('Saved object synchronization check could not be performed.'); // eslint-disable-line no-console - }); - return () => { - unmounted = true; - }; - }, []); + useEffect( + function initialStatusCheck() { + mounted.current = true; + if (forceRefresh === undefined || forceRefresh === true) { + checkStatus(); + } + return () => { + mounted.current = false; + }; + }, + [forceRefresh, mounted] + ); + + const onClose = useCallback(() => { + if (forceRefresh === undefined) { + checkStatus(); + } + setShowSyncFlyout(false); + if (typeof onCloseFlyout === 'function') { + onCloseFlyout(); + } + }, [checkStatus, onCloseFlyout, setShowSyncFlyout]); + + useEffect( + function hideSyncFlyoutOnWarningClose() { + if (showWarning === false && mounted.current === true) { + setShowSyncFlyout(false); + } + }, + [showWarning, setShowSyncFlyout] + ); return showWarning === false ? null : ( <> @@ -61,22 +90,34 @@ export const SavedObjectsWarning: FC<Props> = ({ jobType }) => { iconType="alert" data-test-subj="mlJobSyncRequiredWarning" > - <div> + <> <FormattedMessage id="xpack.ml.jobsList.missingSavedObjectWarning.description" - defaultMessage="Some jobs are missing their saved object and require synchronization in {link}." - values={{ - link: ( - <EuiLink href={`${basePath.get()}/app/management/insightsAndAlerting/jobsListLink`}> - <FormattedMessage - id="xpack.ml.jobsList.missingSavedObjectWarning.linkToManagement.link" - defaultMessage="Stack Management" - /> - </EuiLink> - ), - }} + defaultMessage="Some jobs are missing or have incomplete saved objects. " /> - </div> + {canCreateJob ? ( + <FormattedMessage + id="xpack.ml.jobsList.missingSavedObjectWarning.link" + defaultMessage=" {link}" + values={{ + link: ( + <EuiLink onClick={setShowSyncFlyout.bind(null, true)}> + <FormattedMessage + id="xpack.ml.jobsList.missingSavedObjectWarning.linkToManagement.link" + defaultMessage="Synchronize your jobs." + /> + </EuiLink> + ), + }} + /> + ) : ( + <FormattedMessage + id="xpack.ml.jobsList.missingSavedObjectWarning.noPermission" + defaultMessage="An Administrator can synchronize the jobs in Stack Management." + /> + )} + {showSyncFlyout && <JobSpacesSyncFlyout onClose={onClose} />} + </> </EuiCallOut> <EuiSpacer size="m" /> </> diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/page.tsx b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/page.tsx index 8118a7eb76f10..dedbddcab4f52 100644 --- a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/page.tsx +++ b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/page.tsx @@ -39,6 +39,7 @@ import { DataFrameAnalyticsListColumn } from './components/analytics_list/common import { ML_PAGES } from '../../../../../common/constants/locator'; import { HelpMenu } from '../../../components/help_menu'; import { useMlKibana } from '../../../contexts/kibana'; +import { useRefreshAnalyticsList } from '../../common'; export const getDefaultDFAListState = (): ListingPageUrlState => ({ pageIndex: 0, @@ -57,6 +58,8 @@ export const Page: FC = () => { ); useRefreshInterval(setBlockRefresh); + const [isLoading, setIsLoading] = useState(false); + const { refresh } = useRefreshAnalyticsList({ isLoading: setIsLoading }); const location = useLocation(); const selectedTabId = useMemo(() => location.pathname.split('/').pop(), [location]); @@ -99,7 +102,11 @@ export const Page: FC = () => { </EuiPageHeader> <NodeAvailableWarning /> - <SavedObjectsWarning jobType="data-frame-analytics" /> + <SavedObjectsWarning + jobType="data-frame-analytics" + onCloseFlyout={refresh} + forceRefresh={isLoading} + /> <UpgradeWarning /> <EuiPageContent> diff --git a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list_view/jobs_list_view.js b/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list_view/jobs_list_view.js index f0017ada611e0..6f7a9adaecceb 100644 --- a/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list_view/jobs_list_view.js +++ b/x-pack/plugins/ml/public/application/jobs/jobs_list/components/jobs_list_view/jobs_list_view.js @@ -18,7 +18,7 @@ import { EuiSpacer, EuiTitle, } from '@elastic/eui'; -import { isEqual, debounce } from 'lodash'; +import { debounce } from 'lodash'; import { ml } from '../../../../services/ml_api_service'; import { checkForAutoStartDatafeed, filterJobs, loadFullJob } from '../utils'; @@ -101,6 +101,7 @@ export class JobsListView extends Component { componentDidUpdate(prevProps) { if (prevProps.lastRefresh !== this.props.lastRefresh) { + this.setState({ isRefreshing: true }); this.refreshJobSummaryList(); } } @@ -387,9 +388,8 @@ export class JobsListView extends Component { } const { jobs } = await ml.jobs.blockingJobTasks(); - const blockingJobIds = Object.keys(jobs); - const taskListHasChanged = - isEqual(blockingJobIds.sort(), this.state.blockingJobIds.sort()) === false; + const blockingJobIds = jobs.map((j) => Object.keys(j)[0]).sort(); + const taskListHasChanged = blockingJobIds.join() !== this.state.blockingJobIds.join(); this.setState({ blockingJobIds, @@ -501,7 +501,11 @@ export class JobsListView extends Component { <NodeAvailableWarning /> <JobsAwaitingNodeWarning jobCount={jobsAwaitingNodeCount} /> - <SavedObjectsWarning jobType="anomaly-detector" /> + <SavedObjectsWarning + jobType="anomaly-detector" + onCloseFlyout={this.onRefreshClick} + forceRefresh={loading || isRefreshing} + /> <UpgradeWarning /> diff --git a/x-pack/plugins/ml/public/application/overview/components/analytics_panel/analytics_panel.tsx b/x-pack/plugins/ml/public/application/overview/components/analytics_panel/analytics_panel.tsx index 70655a3999e79..4b5ba39967036 100644 --- a/x-pack/plugins/ml/public/application/overview/components/analytics_panel/analytics_panel.tsx +++ b/x-pack/plugins/ml/public/application/overview/components/analytics_panel/analytics_panel.tsx @@ -31,8 +31,13 @@ import { SourceSelection } from '../../../data_frame_analytics/pages/analytics_m interface Props { jobCreationDisabled: boolean; setLazyJobCount: React.Dispatch<React.SetStateAction<number>>; + refreshCount: number; } -export const AnalyticsPanel: FC<Props> = ({ jobCreationDisabled, setLazyJobCount }) => { +export const AnalyticsPanel: FC<Props> = ({ + jobCreationDisabled, + setLazyJobCount, + refreshCount, +}) => { const [analytics, setAnalytics] = useState<DataFrameAnalyticsListRow[]>([]); const [analyticsStats, setAnalyticsStats] = useState<AnalyticStatsBarStats | undefined>( undefined @@ -64,7 +69,7 @@ export const AnalyticsPanel: FC<Props> = ({ jobCreationDisabled, setLazyJobCount useEffect(() => { getAnalytics(true); - }, []); + }, [refreshCount]); const onRefresh = () => { getAnalytics(true); diff --git a/x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/anomaly_detection_panel.tsx b/x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/anomaly_detection_panel.tsx index 73d14b8d62590..73d8a44bdfad5 100644 --- a/x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/anomaly_detection_panel.tsx +++ b/x-pack/plugins/ml/public/application/overview/components/anomaly_detection_panel/anomaly_detection_panel.tsx @@ -53,9 +53,14 @@ function getDefaultAnomalyScores(groups: Group[]): MaxScoresByGroup { interface Props { jobCreationDisabled: boolean; setLazyJobCount: React.Dispatch<React.SetStateAction<number>>; + refreshCount: number; } -export const AnomalyDetectionPanel: FC<Props> = ({ jobCreationDisabled, setLazyJobCount }) => { +export const AnomalyDetectionPanel: FC<Props> = ({ + jobCreationDisabled, + setLazyJobCount, + refreshCount, +}) => { const { services: { notifications }, } = useMlKibana(); @@ -157,7 +162,7 @@ export const AnomalyDetectionPanel: FC<Props> = ({ jobCreationDisabled, setLazyJ useEffect(() => { loadJobs(); - }, []); + }, [refreshCount]); const onRefresh = () => { loadJobs(); diff --git a/x-pack/plugins/ml/public/application/overview/components/content.tsx b/x-pack/plugins/ml/public/application/overview/components/content.tsx index 08e918b2f2c04..7a46064cc76f6 100644 --- a/x-pack/plugins/ml/public/application/overview/components/content.tsx +++ b/x-pack/plugins/ml/public/application/overview/components/content.tsx @@ -15,6 +15,7 @@ interface Props { createAnalyticsJobDisabled: boolean; setAdLazyJobCount: React.Dispatch<React.SetStateAction<number>>; setDfaLazyJobCount: React.Dispatch<React.SetStateAction<number>>; + refreshCount: number; } // Fetch jobs and determine what to show @@ -23,6 +24,7 @@ export const OverviewContent: FC<Props> = ({ createAnalyticsJobDisabled, setAdLazyJobCount, setDfaLazyJobCount, + refreshCount, }) => ( <EuiFlexItem grow={3}> <EuiFlexGroup direction="column"> @@ -30,12 +32,14 @@ export const OverviewContent: FC<Props> = ({ <AnomalyDetectionPanel jobCreationDisabled={createAnomalyDetectionJobDisabled} setLazyJobCount={setAdLazyJobCount} + refreshCount={refreshCount} /> </EuiFlexItem> <EuiFlexItem grow={false}> <AnalyticsPanel jobCreationDisabled={createAnalyticsJobDisabled} setLazyJobCount={setDfaLazyJobCount} + refreshCount={refreshCount} /> </EuiFlexItem> </EuiFlexGroup> diff --git a/x-pack/plugins/ml/public/application/overview/overview_page.tsx b/x-pack/plugins/ml/public/application/overview/overview_page.tsx index 80c023a60f48f..5c1fcbf4e4acc 100644 --- a/x-pack/plugins/ml/public/application/overview/overview_page.tsx +++ b/x-pack/plugins/ml/public/application/overview/overview_page.tsx @@ -32,6 +32,7 @@ export const OverviewPage: FC = () => { const [adLazyJobCount, setAdLazyJobCount] = useState(0); const [dfaLazyJobCount, setDfaLazyJobCount] = useState(0); + const [refreshCount, setRefreshCount] = useState(0); return ( <Fragment> @@ -40,7 +41,7 @@ export const OverviewPage: FC = () => { <EuiPageBody> <NodeAvailableWarning /> <JobsAwaitingNodeWarning jobCount={adLazyJobCount + dfaLazyJobCount} /> - <SavedObjectsWarning /> + <SavedObjectsWarning onCloseFlyout={() => setRefreshCount(refreshCount + 1)} /> <UpgradeWarning /> <EuiFlexGroup> @@ -50,6 +51,7 @@ export const OverviewPage: FC = () => { createAnalyticsJobDisabled={disableCreateAnalyticsButton} setAdLazyJobCount={setAdLazyJobCount} setDfaLazyJobCount={setDfaLazyJobCount} + refreshCount={refreshCount} /> </EuiFlexGroup> </EuiPageBody> diff --git a/x-pack/plugins/ml/public/application/services/ml_api_service/saved_objects.ts b/x-pack/plugins/ml/public/application/services/ml_api_service/saved_objects.ts index dd2e35f3f7759..b256f4530ff08 100644 --- a/x-pack/plugins/ml/public/application/services/ml_api_service/saved_objects.ts +++ b/x-pack/plugins/ml/public/application/services/ml_api_service/saved_objects.ts @@ -17,6 +17,7 @@ import { InitializeSavedObjectResponse, SavedObjectResult, JobsSpacesResponse, + SyncCheckResponse, } from '../../../../common/types/saved_objects'; export const savedObjectsApiProvider = (httpService: HttpService) => ({ @@ -61,6 +62,14 @@ export const savedObjectsApiProvider = (httpService: HttpService) => ({ query: { simulate }, }); }, + syncCheck(jobType?: JobType) { + const body = JSON.stringify({ jobType }); + return httpService.http<SyncCheckResponse>({ + path: `${basePath()}/saved_objects/sync_check`, + method: 'POST', + body, + }); + }, canDeleteJob(jobType: JobType, jobIds: string[]) { const body = JSON.stringify({ jobIds }); return httpService.http<CanDeleteJobResponse>({ diff --git a/x-pack/plugins/ml/public/application/services/ml_server_info.ts b/x-pack/plugins/ml/public/application/services/ml_server_info.ts index 21a1773206c43..c13ac94337490 100644 --- a/x-pack/plugins/ml/public/application/services/ml_server_info.ts +++ b/x-pack/plugins/ml/public/application/services/ml_server_info.ts @@ -11,6 +11,7 @@ import { MlServerDefaults, MlServerLimits } from '../../../common/types/ml_serve export interface CloudInfo { cloudId: string | null; isCloud: boolean; + deploymentId: string | null; } let defaults: MlServerDefaults = { @@ -22,6 +23,7 @@ let limits: MlServerLimits = {}; const cloudInfo: CloudInfo = { cloudId: null, isCloud: false, + deploymentId: null, }; export async function loadMlServerInfo() { @@ -31,6 +33,7 @@ export async function loadMlServerInfo() { limits = resp.limits; cloudInfo.cloudId = resp.cloudId || null; cloudInfo.isCloud = resp.cloudId !== undefined; + cloudInfo.deploymentId = !resp.cloudId ? null : extractDeploymentId(resp.cloudId); return { defaults, limits, cloudId: cloudInfo }; } catch (error) { return { defaults, limits, cloudId: cloudInfo }; @@ -54,7 +57,7 @@ export function isCloud(): boolean { } export function getCloudDeploymentId(): string | null { - return cloudInfo.cloudId === null ? null : extractDeploymentId(cloudInfo.cloudId); + return cloudInfo.deploymentId; } export function extractDeploymentId(cloudId: string) { diff --git a/x-pack/plugins/ml/public/index.ts b/x-pack/plugins/ml/public/index.ts index 78090c611b479..6af8b8a6c876d 100755 --- a/x-pack/plugins/ml/public/index.ts +++ b/x-pack/plugins/ml/public/index.ts @@ -64,3 +64,5 @@ export const getMlSharedImports = async () => { // Helper to get Type returned by getMlSharedImports. type AwaitReturnType<T> = T extends PromiseLike<infer U> ? U : T; export type GetMlSharedImportsReturnType = AwaitReturnType<ReturnType<typeof getMlSharedImports>>; + +export { MLJobsAwaitingNodeWarning } from './application/components/jobs_awaiting_node_warning/new_job_awaiting_node_shared'; diff --git a/x-pack/plugins/ml/server/routes/apidoc.json b/x-pack/plugins/ml/server/routes/apidoc.json index 620c2cdcf6c88..7f53ebb92b68a 100644 --- a/x-pack/plugins/ml/server/routes/apidoc.json +++ b/x-pack/plugins/ml/server/routes/apidoc.json @@ -149,6 +149,7 @@ "SavedObjectsStatus", "SyncJobSavedObjects", "InitializeJobSavedObjects", + "SyncCheck", "UpdateJobsSpaces", "RemoveJobsFromCurrentSpace", "JobsSpaces", diff --git a/x-pack/plugins/ml/server/routes/saved_objects.ts b/x-pack/plugins/ml/server/routes/saved_objects.ts index 24140c9253cda..fded5500824b3 100644 --- a/x-pack/plugins/ml/server/routes/saved_objects.ts +++ b/x-pack/plugins/ml/server/routes/saved_objects.ts @@ -12,10 +12,12 @@ import { jobsAndSpaces, jobsAndCurrentSpace, syncJobObjects, + syncCheckSchema, canDeleteJobSchema, jobTypeSchema, } from './schemas/saved_objects'; import { spacesUtilsProvider } from '../lib/spaces_utils'; +import { JobType } from '../../common/types/saved_objects'; /** * Routes for job saved object management @@ -123,6 +125,39 @@ export function savedObjectsRoutes( }) ); + /** + * @apiGroup JobSavedObjects + * + * @api {get} /api/ml/saved_objects/sync_needed Check whether job saved objects need synchronizing + * @apiName SyncCheck + * @apiDescription Check whether job saved objects need synchronizing. + * + */ + router.post( + { + path: '/api/ml/saved_objects/sync_check', + validate: { + body: syncCheckSchema, + }, + options: { + tags: ['access:ml:canGetJobs', 'access:ml:canGetDataFrameAnalytics'], + }, + }, + routeGuard.fullLicenseAPIGuard(async ({ client, request, response, jobSavedObjectService }) => { + try { + const { jobType } = request.body; + const { isSyncNeeded } = syncSavedObjectsFactory(client, jobSavedObjectService); + const result = await isSyncNeeded(jobType as JobType); + + return response.ok({ + body: { result }, + }); + } catch (e) { + return response.customError(wrapError(e)); + } + }) + ); + /** * @apiGroup JobSavedObjects * diff --git a/x-pack/plugins/ml/server/routes/schemas/saved_objects.ts b/x-pack/plugins/ml/server/routes/schemas/saved_objects.ts index 64d0b291772f9..5a62392b5f5eb 100644 --- a/x-pack/plugins/ml/server/routes/schemas/saved_objects.ts +++ b/x-pack/plugins/ml/server/routes/schemas/saved_objects.ts @@ -28,6 +28,8 @@ export const jobsAndCurrentSpace = schema.object({ export const syncJobObjects = schema.object({ simulate: schema.maybe(schema.boolean()) }); +export const syncCheckSchema = schema.object({ jobType: schema.maybe(schema.string()) }); + export const canDeleteJobSchema = schema.object({ /** List of job IDs. */ jobIds: schema.arrayOf(schema.string()), diff --git a/x-pack/plugins/ml/server/saved_objects/checks.ts b/x-pack/plugins/ml/server/saved_objects/checks.ts index de4aca2992ee8..f3bc89a6d9bea 100644 --- a/x-pack/plugins/ml/server/saved_objects/checks.ts +++ b/x-pack/plugins/ml/server/saved_objects/checks.ts @@ -67,9 +67,7 @@ export function checksFactory( if (type === 'anomaly-detector') { jobExists = adJobs.jobs.some((j) => j.job_id === jobId); - datafeedExists = datafeeds.datafeeds.some( - (d) => d.datafeed_id === datafeedId && d.job_id === jobId - ); + datafeedExists = datafeeds.datafeeds.some((d) => d.job_id === jobId); } else { jobExists = dfaJobs.data_frame_analytics.some((j) => j.id === jobId); } diff --git a/x-pack/plugins/ml/server/saved_objects/initialization/initialization.ts b/x-pack/plugins/ml/server/saved_objects/initialization/initialization.ts index c55ed3d40a676..96a834229553e 100644 --- a/x-pack/plugins/ml/server/saved_objects/initialization/initialization.ts +++ b/x-pack/plugins/ml/server/saved_objects/initialization/initialization.ts @@ -68,9 +68,11 @@ export function jobSavedObjectsInitializationFactory( } async function _needsInitializing(savedObjectsClient: SavedObjectsClientContract) { - if (await _jobSavedObjectsExist(savedObjectsClient)) { + if (false && (await _jobSavedObjectsExist(savedObjectsClient))) { // at least one ml saved object exists // this has been initialized before + // this check is currently disabled to allow the initialization to run + // on every kibana restart return false; } diff --git a/x-pack/plugins/ml/server/saved_objects/sync.ts b/x-pack/plugins/ml/server/saved_objects/sync.ts index d6fa887d1d68b..f8895c039bd8e 100644 --- a/x-pack/plugins/ml/server/saved_objects/sync.ts +++ b/x-pack/plugins/ml/server/saved_objects/sync.ts @@ -54,8 +54,9 @@ export function syncSavedObjectsFactory( for (const job of status.jobs['anomaly-detector']) { if (job.checks.savedObjectExits === false) { + const type = 'anomaly-detector'; if (simulate === true) { - results.savedObjectsCreated[job.jobId] = { success: true }; + results.savedObjectsCreated[job.jobId] = { success: true, type }; } else { // create AD saved objects for jobs which are missing them const jobId = job.jobId; @@ -63,10 +64,11 @@ export function syncSavedObjectsFactory( tasks.push(async () => { try { await jobSavedObjectService.createAnomalyDetectionJob(jobId, datafeedId ?? undefined); - results.savedObjectsCreated[job.jobId] = { success: true }; + results.savedObjectsCreated[job.jobId] = { success: true, type }; } catch (error) { results.savedObjectsCreated[job.jobId] = { success: false, + type, error: getSavedObjectClientError(error), }; } @@ -76,18 +78,23 @@ export function syncSavedObjectsFactory( } for (const job of status.jobs['data-frame-analytics']) { if (job.checks.savedObjectExits === false) { + const type = 'data-frame-analytics'; if (simulate === true) { - results.savedObjectsCreated[job.jobId] = { success: true }; + results.savedObjectsCreated[job.jobId] = { success: true, type }; } else { // create DFA saved objects for jobs which are missing them const jobId = job.jobId; tasks.push(async () => { try { await jobSavedObjectService.createDataFrameAnalyticsJob(jobId); - results.savedObjectsCreated[job.jobId] = { success: true }; + results.savedObjectsCreated[job.jobId] = { + success: true, + type, + }; } catch (error) { results.savedObjectsCreated[job.jobId] = { success: false, + type, error: getSavedObjectClientError(error), }; } @@ -98,8 +105,9 @@ export function syncSavedObjectsFactory( for (const job of status.savedObjects['anomaly-detector']) { if (job.checks.jobExists === false) { + const type = 'anomaly-detector'; if (simulate === true) { - results.savedObjectsDeleted[job.jobId] = { success: true }; + results.savedObjectsDeleted[job.jobId] = { success: true, type }; } else { // Delete AD saved objects for jobs which no longer exist const { jobId, namespaces } = job; @@ -110,10 +118,11 @@ export function syncSavedObjectsFactory( } else { await jobSavedObjectService.deleteAnomalyDetectionJob(jobId); } - results.savedObjectsDeleted[job.jobId] = { success: true }; + results.savedObjectsDeleted[job.jobId] = { success: true, type }; } catch (error) { results.savedObjectsDeleted[job.jobId] = { success: false, + type, error: getSavedObjectClientError(error), }; } @@ -123,8 +132,9 @@ export function syncSavedObjectsFactory( } for (const job of status.savedObjects['data-frame-analytics']) { if (job.checks.jobExists === false) { + const type = 'data-frame-analytics'; if (simulate === true) { - results.savedObjectsDeleted[job.jobId] = { success: true }; + results.savedObjectsDeleted[job.jobId] = { success: true, type }; } else { // Delete DFA saved objects for jobs which no longer exist const { jobId, namespaces } = job; @@ -135,10 +145,14 @@ export function syncSavedObjectsFactory( } else { await jobSavedObjectService.deleteDataFrameAnalyticsJob(jobId); } - results.savedObjectsDeleted[job.jobId] = { success: true }; + results.savedObjectsDeleted[job.jobId] = { + success: true, + type, + }; } catch (error) { results.savedObjectsDeleted[job.jobId] = { success: false, + type, error: getSavedObjectClientError(error), }; } @@ -148,18 +162,18 @@ export function syncSavedObjectsFactory( } for (const job of status.savedObjects['anomaly-detector']) { + const type = 'anomaly-detector'; if ( (job.checks.datafeedExists === true && job.datafeedId === null) || - (job.checks.datafeedExists === false && - job.datafeedId === null && - job.checks.datafeedExists === false && + (job.checks.datafeedExists === true && + job.datafeedId !== null && adJobsById[job.jobId] && adJobsById[job.jobId].datafeedId !== job.datafeedId) ) { // add datafeed id for jobs where the datafeed exists but the id is missing from the saved object // or if the datafeed id in the saved object is not the same as the one attached to the job in es if (simulate === true) { - results.datafeedsAdded[job.jobId] = { success: true }; + results.datafeedsAdded[job.jobId] = { success: true, type }; } else { const df = datafeeds.datafeeds.find((d) => d.job_id === job.jobId); const jobId = job.jobId; @@ -170,10 +184,11 @@ export function syncSavedObjectsFactory( if (datafeedId !== undefined) { await jobSavedObjectService.addDatafeed(datafeedId, jobId); } - results.datafeedsAdded[job.jobId] = { success: true }; + results.datafeedsAdded[job.jobId] = { success: true, type }; } catch (error) { results.datafeedsAdded[job.jobId] = { success: false, + type, error: getSavedObjectClientError(error), }; } @@ -187,16 +202,17 @@ export function syncSavedObjectsFactory( ) { // remove datafeed id for jobs where the datafeed no longer exists but the id is populated in the saved object if (simulate === true) { - results.datafeedsRemoved[job.jobId] = { success: true }; + results.datafeedsRemoved[job.jobId] = { success: true, type }; } else { const datafeedId = job.datafeedId; tasks.push(async () => { try { await jobSavedObjectService.deleteDatafeed(datafeedId); - results.datafeedsRemoved[job.jobId] = { success: true }; + results.datafeedsRemoved[job.jobId] = { success: true, type }; } catch (error) { results.datafeedsRemoved[job.jobId] = { success: false, + type, error: getSavedObjectClientError(error), }; } @@ -214,11 +230,17 @@ export function syncSavedObjectsFactory( ): Promise<InitializeSavedObjectResponse> { const results: InitializeSavedObjectResponse = { jobs: [], + datafeeds: [], success: true, }; const status = await checkStatus(); + const adJobsById = status.jobs['anomaly-detector'].reduce((acc, j) => { + acc[j.jobId] = j; + return acc; + }, {} as Record<string, JobStatus>); const jobs: Array<{ job: JobObject; namespaces: string[] }> = []; + const datafeeds: Array<{ jobId: string; datafeedId: string }> = []; const types: JobType[] = ['anomaly-detector', 'data-frame-analytics']; types.forEach((type) => { @@ -241,7 +263,33 @@ export function syncSavedObjectsFactory( }); }); + status.savedObjects['anomaly-detector'].forEach((job) => { + const type = 'anomaly-detector'; + const datafeedId = adJobsById[job.jobId]?.datafeedId; + if (!datafeedId) { + return; + } + + if ( + job.checks.datafeedExists === true && + (job.datafeedId === null || + (job.datafeedId !== null && + adJobsById[job.jobId] && + adJobsById[job.jobId].datafeedId !== job.datafeedId)) + ) { + if (simulate === true) { + results.datafeeds.push({ id: datafeedId, type }); + } else { + datafeeds.push({ + jobId: job.jobId, + datafeedId, + }); + } + } + }); + try { + // create missing job saved objects const createResults = await jobSavedObjectService.bulkCreateJobs(jobs); createResults.saved_objects.forEach(({ attributes }) => { results.jobs.push({ @@ -249,12 +297,32 @@ export function syncSavedObjectsFactory( type: attributes.type, }); }); + + // create missing datafeed ids + for (const { jobId, datafeedId } of datafeeds) { + await jobSavedObjectService.addDatafeed(datafeedId, jobId); + results.datafeeds.push({ + id: datafeedId, + type: 'anomaly-detector', + }); + } } catch (error) { results.success = false; - results.error = Boom.boomify(error).output; + results.error = Boom.boomify(error); } + return results; } - return { checkStatus, syncSavedObjects, initSavedObjects }; + async function isSyncNeeded(jobType: JobType) { + const { jobs, datafeeds } = await initSavedObjects(true); + const missingJobs = + jobs.length > 0 && (jobType === undefined || jobs.some(({ type }) => type === jobType)); + + const missingDatafeeds = datafeeds.length > 0 && jobType !== 'data-frame-analytics'; + + return missingJobs || missingDatafeeds; + } + + return { checkStatus, syncSavedObjects, initSavedObjects, isSyncNeeded }; } diff --git a/x-pack/plugins/monitoring/public/alerts/enable_alerts_modal.tsx b/x-pack/plugins/monitoring/public/alerts/enable_alerts_modal.tsx index 780997ca98191..3e45262610f45 100644 --- a/x-pack/plugins/monitoring/public/alerts/enable_alerts_modal.tsx +++ b/x-pack/plugins/monitoring/public/alerts/enable_alerts_modal.tsx @@ -23,6 +23,7 @@ import { import { FormattedMessage } from '@kbn/i18n/react'; import { i18n } from '@kbn/i18n'; import { Legacy } from '../legacy_shims'; +import { useAlertsModal } from '../application/hooks/use_alerts_modal'; interface Props { alerts: {}; @@ -30,8 +31,7 @@ interface Props { export const EnableAlertsModal: React.FC<Props> = ({ alerts }: Props) => { const [isModalVisible, setIsModalVisible] = useState(false); - const $injector = Legacy.shims.getAngularInjector(); - const alertsEnableModalProvider: any = $injector.get('enableAlertsModal'); + const alertsEnableModalProvider = useAlertsModal(); const closeModal = () => { setIsModalVisible(false); diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_alerts_modal.ts b/x-pack/plugins/monitoring/public/application/hooks/use_alerts_modal.ts new file mode 100644 index 0000000000000..9a2a2b80cc40f --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/hooks/use_alerts_modal.ts @@ -0,0 +1,54 @@ +/* + * 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 { useKibana } from '../../../../../../src/plugins/kibana_react/public'; +import { showAlertsToast } from '../../alerts/lib/alerts_toast'; +import { ajaxErrorHandlersProvider } from '../../lib/ajax_error_handler'; + +export const useAlertsModal = () => { + const { services } = useKibana(); + + function shouldShowAlertsModal(alerts: {}) { + const modalHasBeenShown = + window.sessionStorage.getItem('ALERTS_MODAL_HAS_BEEN_SHOWN') === 'true'; + const decisionMade = window.localStorage.getItem('ALERTS_MODAL_DECISION_MADE') === 'true'; + + if (Object.keys(alerts).length > 0) { + window.localStorage.setItem('ALERTS_MODAL_DECISION_MADE', 'true'); + return false; + } else if (!modalHasBeenShown && !decisionMade) { + return true; + } + + return false; + } + + async function enableAlerts() { + try { + const { data } = await services.http?.post('../api/monitoring/v1/alerts/enable', {}); + window.localStorage.setItem('ALERTS_MODAL_DECISION_MADE', 'true'); + showAlertsToast(data); + } catch (err) { + const ajaxErrorHandlers = ajaxErrorHandlersProvider(); + return ajaxErrorHandlers(err); + } + } + + function notAskAgain() { + window.localStorage.setItem('ALERTS_MODAL_DECISION_MADE', 'true'); + } + + function hideModalForSession() { + window.sessionStorage.setItem('ALERTS_MODAL_HAS_BEEN_SHOWN', 'true'); + } + + return { + shouldShowAlertsModal, + enableAlerts, + notAskAgain, + hideModalForSession, + }; +}; diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_clusters.ts b/x-pack/plugins/monitoring/public/application/hooks/use_clusters.ts index e11317fd92bde..b4b8c21ca4d40 100644 --- a/x-pack/plugins/monitoring/public/application/hooks/use_clusters.ts +++ b/x-pack/plugins/monitoring/public/application/hooks/use_clusters.ts @@ -6,7 +6,7 @@ */ import { useState, useEffect } from 'react'; import { useKibana } from '../../../../../../src/plugins/kibana_react/public'; -import { STANDALONE_CLUSTER_CLUSTER_UUID } from '../../../common/constants'; +import { fetchClusters } from '../../lib/fetch_clusters'; export function useClusters(clusterUuid?: string | null, ccs?: any, codePaths?: string[]) { const { services } = useKibana<{ data: any }>(); @@ -18,47 +18,29 @@ export function useClusters(clusterUuid?: string | null, ccs?: any, codePaths?: const [clusters, setClusters] = useState([] as any); const [loaded, setLoaded] = useState<boolean | null>(false); - let url = '../api/monitoring/v1/clusters'; - if (clusterUuid) { - url += `/${clusterUuid}`; - } - useEffect(() => { - const fetchClusters = async () => { + async function makeRequest() { try { - const response = await services.http?.fetch(url, { - method: 'POST', - body: JSON.stringify({ - ccs, + if (services.http?.fetch) { + const response = await fetchClusters({ timeRange: { min, max, }, + fetch: services.http.fetch, + clusterUuid, codePaths, - }), - }); - - setClusters(formatClusters(response)); - } catch (err) { - // TODO: handle errors + }); + setClusters(response); + } + } catch (e) { + // TODO: Handle errors } finally { setLoaded(true); } - }; - - fetchClusters(); - }, [ccs, services.http, codePaths, url, min, max]); + } + makeRequest(); + }, [clusterUuid, ccs, services.http, codePaths, min, max]); return { clusters, loaded }; } - -function formatClusters(clusters: any) { - return clusters.map(formatCluster); -} - -function formatCluster(cluster: any) { - if (cluster.cluster_uuid === STANDALONE_CLUSTER_CLUSTER_UUID) { - cluster.cluster_name = 'Standalone Cluster'; - } - return cluster; -} diff --git a/x-pack/plugins/monitoring/public/application/index.tsx b/x-pack/plugins/monitoring/public/application/index.tsx index 9ecfca2f2df2e..c81903fed5a31 100644 --- a/x-pack/plugins/monitoring/public/application/index.tsx +++ b/x-pack/plugins/monitoring/public/application/index.tsx @@ -13,6 +13,7 @@ import { KibanaContextProvider } from '../../../../../src/plugins/kibana_react/p import { LoadingPage } from './pages/loading_page'; import { LicensePage } from './pages/license_page'; import { ClusterOverview } from './pages/cluster/overview_page'; +import { ClusterListing } from './pages/home/cluster_listing'; import { MonitoringStartPluginDependencies } from '../types'; import { GlobalStateProvider } from './global_state_context'; import { ExternalConfigContext, ExternalConfig } from './external_config_context'; @@ -21,24 +22,38 @@ import { RouteInit } from './route_init'; import { NoDataPage } from './pages/no_data'; import { ElasticsearchOverviewPage } from './pages/elasticsearch/overview'; import { BeatsOverviewPage } from './pages/beats/overview'; -import { BeatsInstancesPage } from './pages/beats/instances'; +import { + CODE_PATH_ELASTICSEARCH, + CODE_PATH_BEATS, + CODE_PATH_KIBANA, + CODE_PATH_LOGSTASH, + CODE_PATH_APM, +} from '../../common/constants'; import { BeatsInstancePage } from './pages/beats/instance'; import { ApmOverviewPage, ApmInstancesPage, ApmInstancePage } from './pages/apm'; import { KibanaOverviewPage } from './pages/kibana/overview'; +import { KibanaInstancesPage } from './pages/kibana/instances'; +import { KibanaInstancePage } from './pages/kibana/instance'; import { ElasticsearchNodesPage } from './pages/elasticsearch/nodes_page'; import { ElasticsearchIndicesPage } from './pages/elasticsearch/indices_page'; import { ElasticsearchIndexPage } from './pages/elasticsearch/index_page'; import { ElasticsearchIndexAdvancedPage } from './pages/elasticsearch/index_advanced_page'; import { ElasticsearchNodePage } from './pages/elasticsearch/node_page'; +import { ElasticsearchMLJobsPage } from './pages/elasticsearch/ml_jobs_page'; import { ElasticsearchNodeAdvancedPage } from './pages/elasticsearch/node_advanced_page'; +import { ElasticsearchCcrPage } from './pages/elasticsearch/ccr_page'; +import { ElasticsearchCcrShardPage } from './pages/elasticsearch/ccr_shard_page'; import { MonitoringTimeContainer } from './hooks/use_monitoring_time'; import { BreadcrumbContainer } from './hooks/use_breadcrumbs'; -import { - CODE_PATH_ELASTICSEARCH, - CODE_PATH_KIBANA, - CODE_PATH_BEATS, - CODE_PATH_APM, -} from '../../common/constants'; +import { LogStashOverviewPage } from './pages/logstash/overview'; +import { LogStashNodesPage } from './pages/logstash/nodes'; +import { LogStashPipelinesPage } from './pages/logstash/pipelines'; +import { LogStashPipelinePage } from './pages/logstash/pipeline'; +import { BeatsInstancesPage } from './pages/beats/instances'; +import { LogStashNodeAdvancedPage } from './pages/logstash/advanced'; +// import { LogStashNodePipelinesPage } from './pages/logstash/node_pipelines'; +import { LogStashNodePage } from './pages/logstash/node'; +import { LogStashNodePipelinesPage } from './pages/logstash/node_pipelines'; export const renderApp = ( core: CoreStart, @@ -81,9 +96,10 @@ const MonitoringApp: React.FC<{ /> <RouteInit path="/home" - component={Home} + component={ClusterListing} codePaths={['all']} - fetchAllClusters={false} + fetchAllClusters={true} + unsetGlobalState={true} /> <RouteInit path="/overview" @@ -93,6 +109,27 @@ const MonitoringApp: React.FC<{ /> {/* ElasticSearch Views */} + <RouteInit + path="/elasticsearch/ml_jobs" + component={ElasticsearchMLJobsPage} + codePaths={[CODE_PATH_ELASTICSEARCH]} + fetchAllClusters={false} + /> + + <RouteInit + path="/elasticsearch/ccr/:index/shard/:shardId" + component={ElasticsearchCcrShardPage} + codePaths={[CODE_PATH_ELASTICSEARCH]} + fetchAllClusters={false} + /> + + <RouteInit + path="/elasticsearch/ccr" + component={ElasticsearchCcrPage} + codePaths={[CODE_PATH_ELASTICSEARCH]} + fetchAllClusters={false} + /> + <RouteInit path="/elasticsearch/indices/:index/advanced" component={ElasticsearchIndexAdvancedPage} @@ -143,6 +180,20 @@ const MonitoringApp: React.FC<{ /> {/* Kibana Views */} + <RouteInit + path="/kibana/instances/:instance" + component={KibanaInstancePage} + codePaths={[CODE_PATH_KIBANA]} + fetchAllClusters={false} + /> + + <RouteInit + path="/kibana/instances" + component={KibanaInstancesPage} + codePaths={[CODE_PATH_KIBANA]} + fetchAllClusters={false} + /> + <RouteInit path="/kibana" component={KibanaOverviewPage} @@ -172,6 +223,14 @@ const MonitoringApp: React.FC<{ fetchAllClusters={false} /> + {/* Logstash Routes */} + <RouteInit + path="/logstash/nodes" + component={LogStashNodesPage} + codePaths={[CODE_PATH_LOGSTASH]} + fetchAllClusters={false} + /> + {/* APM Views */} <RouteInit path="/apm/instances/:instance" @@ -180,6 +239,20 @@ const MonitoringApp: React.FC<{ fetchAllClusters={false} /> + {/* Logstash Routes */} + <RouteInit + path="/logstash/nodes" + component={LogStashNodesPage} + codePaths={[CODE_PATH_LOGSTASH]} + fetchAllClusters={false} + /> + + <RouteInit + path="/logstash/node/:uuid/advanced" + component={LogStashNodeAdvancedPage} + codePaths={[CODE_PATH_LOGSTASH]} + fetchAllClusters={false} + /> <RouteInit path="/apm/instances" component={ApmInstancesPage} @@ -187,6 +260,40 @@ const MonitoringApp: React.FC<{ fetchAllClusters={false} /> + <RouteInit + path="/logstash/node/:uuid/pipelines" + component={LogStashNodePipelinesPage} + codePaths={[CODE_PATH_LOGSTASH]} + fetchAllClusters={false} + /> + + <RouteInit + path="/logstash/node/:uuid" + component={LogStashNodePage} + codePaths={[CODE_PATH_LOGSTASH]} + fetchAllClusters={false} + /> + + <RouteInit + path="/logstash/pipelines/:id/:hash?" + component={LogStashPipelinePage} + codePaths={[CODE_PATH_LOGSTASH]} + fetchAllClusters={false} + /> + + <RouteInit + path="/logstash/pipelines" + component={LogStashPipelinesPage} + codePaths={[CODE_PATH_LOGSTASH]} + fetchAllClusters={false} + /> + + <RouteInit + path="/logstash" + component={LogStashOverviewPage} + codePaths={[CODE_PATH_LOGSTASH]} + fetchAllClusters={false} + /> <RouteInit path="/apm" component={ApmOverviewPage} @@ -209,7 +316,3 @@ const MonitoringApp: React.FC<{ </KibanaContextProvider> ); }; - -const Home: React.FC<{}> = () => { - return <div>Home page (Cluster listing)</div>; -}; diff --git a/x-pack/plugins/monitoring/public/application/pages/beats/instances.tsx b/x-pack/plugins/monitoring/public/application/pages/beats/instances.tsx index 7a65022d8ff53..29945f0fe725c 100644 --- a/x-pack/plugins/monitoring/public/application/pages/beats/instances.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/beats/instances.tsx @@ -15,16 +15,10 @@ import { useTable } from '../../hooks/use_table'; import { BeatsTemplate } from './beats_template'; // @ts-ignore import { Listing } from '../../../components/beats/listing'; -import { SetupModeRenderer } from '../../setup_mode/setup_mode_renderer'; +import { SetupModeRenderer, SetupModeProps } from '../../setup_mode/setup_mode_renderer'; import { SetupModeContext } from '../../../components/setup_mode/setup_mode_context'; import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; -interface SetupModeProps { - setupMode: any; - flyoutComponent: any; - bottomBarComponent: any; -} - export const BeatsInstancesPage: React.FC<ComponentProps> = ({ clusters }) => { const globalState = useContext(GlobalStateContext); const { services } = useKibana<{ data: any }>(); diff --git a/x-pack/plugins/monitoring/public/application/pages/cluster/overview_page.tsx b/x-pack/plugins/monitoring/public/application/pages/cluster/overview_page.tsx index 9bf0bf6d14795..3a717036396e9 100644 --- a/x-pack/plugins/monitoring/public/application/pages/cluster/overview_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/cluster/overview_page.tsx @@ -14,17 +14,12 @@ import { GlobalStateContext } from '../../global_state_context'; import { TabMenuItem } from '../page_template'; import { Overview } from '../../../components/cluster/overview'; import { ExternalConfigContext } from '../../external_config_context'; -import { SetupModeRenderer } from '../../setup_mode/setup_mode_renderer'; +import { SetupModeRenderer, SetupModeProps } from '../../setup_mode/setup_mode_renderer'; import { SetupModeContext } from '../../../components/setup_mode/setup_mode_context'; -import { STANDALONE_CLUSTER_CLUSTER_UUID } from '../../../../common/constants'; import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; +import { fetchClusters } from '../../../lib/fetch_clusters'; const CODE_PATHS = [CODE_PATH_ALL]; -interface SetupModeProps { - setupMode: any; - flyoutComponent: any; - bottomBarComponent: any; -} export const ClusterOverview: React.FC<{}> = () => { const state = useContext(GlobalStateContext); @@ -59,25 +54,20 @@ export const ClusterOverview: React.FC<{}> = () => { const getPageData = useCallback(async () => { const bounds = services.data?.query.timefilter.timefilter.getBounds(); - let url = '../api/monitoring/v1/clusters'; - if (clusterUuid) { - url += `/${clusterUuid}`; - } - try { - const response = await services.http?.fetch(url, { - method: 'POST', - body: JSON.stringify({ - ccs, + if (services.http?.fetch) { + const response = await fetchClusters({ + fetch: services.http.fetch, timeRange: { min: bounds.min.toISOString(), max: bounds.max.toISOString(), }, + ccs, + clusterUuid, codePaths: CODE_PATHS, - }), - }); - - setClusters(formatClusters(response)); + }); + setClusters(response); + } } catch (err) { // TODO: handle errors } finally { @@ -111,14 +101,3 @@ export const ClusterOverview: React.FC<{}> = () => { </PageTemplate> ); }; - -function formatClusters(clusters: any) { - return clusters.map(formatCluster); -} - -function formatCluster(cluster: any) { - if (cluster.cluster_uuid === STANDALONE_CLUSTER_CLUSTER_UUID) { - cluster.cluster_name = 'Standalone Cluster'; - } - return cluster; -} diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_page.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_page.tsx new file mode 100644 index 0000000000000..0bc55e98746cb --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_page.tsx @@ -0,0 +1,81 @@ +/* + * 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 React, { useContext, useState, useCallback } from 'react'; +import { i18n } from '@kbn/i18n'; +import { find } from 'lodash'; +import { ElasticsearchTemplate } from './elasticsearch_template'; +import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; +import { GlobalStateContext } from '../../global_state_context'; +// @ts-ignore +import { Ccr } from '../../../components/elasticsearch/ccr'; +import { ComponentProps } from '../../route_init'; +import { SetupModeRenderer } from '../../setup_mode/setup_mode_renderer'; +import { SetupModeContext } from '../../../components/setup_mode/setup_mode_context'; + +interface SetupModeProps { + setupMode: any; + flyoutComponent: any; + bottomBarComponent: any; +} + +export const ElasticsearchCcrPage: React.FC<ComponentProps> = ({ clusters }) => { + const globalState = useContext(GlobalStateContext); + const { services } = useKibana<{ data: any }>(); + + const clusterUuid = globalState.cluster_uuid; + const cluster = find(clusters, { + cluster_uuid: clusterUuid, + }) as any; + const ccs = globalState.ccs; + const [data, setData] = useState({} as any); + + const title = i18n.translate('xpack.monitoring.elasticsearch.ccr.title', { + defaultMessage: 'Elasticsearch - Ccr', + }); + + const pageTitle = i18n.translate('xpack.monitoring.elasticsearch.ccr.pageTitle', { + defaultMessage: 'Elasticsearch Ccr', + }); + + const getPageData = useCallback(async () => { + const bounds = services.data?.query.timefilter.timefilter.getBounds(); + const url = `../api/monitoring/v1/clusters/${clusterUuid}/elasticsearch/ccr`; + + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + }), + }); + + setData(response); + }, [ccs, clusterUuid, services.data?.query.timefilter.timefilter, services.http]); + + return ( + <ElasticsearchTemplate + title={title} + pageTitle={pageTitle} + getPageData={getPageData} + data-test-subj="elasticsearchCcrPage" + cluster={cluster} + > + <SetupModeRenderer + render={({ flyoutComponent, bottomBarComponent }: SetupModeProps) => ( + <SetupModeContext.Provider value={{ setupModeSupported: true }}> + {flyoutComponent} + <Ccr data={data.data} alerts={{}} /> + {bottomBarComponent} + </SetupModeContext.Provider> + )} + /> + </ElasticsearchTemplate> + ); +}; diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx new file mode 100644 index 0000000000000..56de1cace3546 --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx @@ -0,0 +1,92 @@ +/* + * 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 React, { useContext, useState, useCallback } from 'react'; +import { useParams } from 'react-router-dom'; +import { get } from 'lodash'; +import { i18n } from '@kbn/i18n'; +import { PageTemplate } from '../page_template'; +import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; +import { GlobalStateContext } from '../../global_state_context'; +// @ts-ignore +import { CcrShardReact } from '../../../components/elasticsearch/ccr_shard'; +import { ComponentProps } from '../../route_init'; +import { SetupModeRenderer } from '../../setup_mode/setup_mode_renderer'; +import { SetupModeContext } from '../../../components/setup_mode/setup_mode_context'; + +interface SetupModeProps { + setupMode: any; + flyoutComponent: any; + bottomBarComponent: any; +} + +export const ElasticsearchCcrShardPage: React.FC<ComponentProps> = ({ clusters }) => { + const globalState = useContext(GlobalStateContext); + const { services } = useKibana<{ data: any }>(); + const { index, shardId }: { index: string; shardId: string } = useParams(); + + const clusterUuid = globalState.cluster_uuid; + const ccs = globalState.ccs; + const [data, setData] = useState({} as any); + + const title = i18n.translate('xpack.monitoring.elasticsearch.ccr.shard.title', { + defaultMessage: 'Elasticsearch - Ccr - Shard', + }); + + const pageTitle = i18n.translate('xpack.monitoring.elasticsearch.ccr.shard.pageTitle', { + defaultMessage: 'Elasticsearch Ccr Shard - Index: {followerIndex} Shard: {shardId}', + values: { + followerIndex: get(data, 'stat.follower.index', get(data, 'stat.follower_index')), + shardId: get(data, 'stat.follower.shard.number', get(data, 'stat.shard_id')), + }, + }); + + const instance = i18n.translate('xpack.monitoring.elasticsearch.ccr.shard.instanceTitle', { + defaultMessage: 'Index: {followerIndex} Shard: {shardId}', + values: { + followerIndex: get(data, 'stat.follower_index'), + shardId: get(data, 'stat.shard_id'), + }, + }); + + const getPageData = useCallback(async () => { + const bounds = services.data?.query.timefilter.timefilter.getBounds(); + const url = `../api/monitoring/v1/clusters/${clusterUuid}/elasticsearch/ccr/${index}/shard/${shardId}`; + + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + }), + }); + + setData(response); + }, [ccs, clusterUuid, services.data?.query.timefilter.timefilter, services.http, index, shardId]); + + return ( + <PageTemplate + title={title} + pageTitle={pageTitle} + getPageData={getPageData} + data-test-subj="elasticsearchCcrShardPage" + > + <SetupModeRenderer + instance={instance} + render={({ flyoutComponent, bottomBarComponent }: SetupModeProps) => ( + <SetupModeContext.Provider value={{ setupModeSupported: true }}> + {flyoutComponent} + <CcrShardReact {...data} alerts={{}} /> + {bottomBarComponent} + </SetupModeContext.Provider> + )} + /> + </PageTemplate> + ); +}; diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx index ccaf23c7ade8e..a55e0b5df9648 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx @@ -10,19 +10,13 @@ import { useParams } from 'react-router-dom'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; import { GlobalStateContext } from '../../global_state_context'; import { ComponentProps } from '../../route_init'; -import { SetupModeRenderer } from '../../setup_mode/setup_mode_renderer'; +import { SetupModeRenderer, SetupModeProps } from '../../setup_mode/setup_mode_renderer'; import { SetupModeContext } from '../../../components/setup_mode/setup_mode_context'; import { useCharts } from '../../hooks/use_charts'; import { ItemTemplate } from './item_template'; // @ts-ignore import { AdvancedIndex } from '../../../components/elasticsearch/index/advanced'; -interface SetupModeProps { - setupMode: any; - flyoutComponent: any; - bottomBarComponent: any; -} - export const ElasticsearchIndexAdvancedPage: React.FC<ComponentProps> = ({ clusters }) => { const globalState = useContext(GlobalStateContext); const { services } = useKibana<{ data: any }>(); diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_page.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_page.tsx index b23f9c71a98bf..4f659f6c1354e 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_page.tsx @@ -12,7 +12,7 @@ import { GlobalStateContext } from '../../global_state_context'; // @ts-ignore import { IndexReact } from '../../../components/elasticsearch/index/index_react'; import { ComponentProps } from '../../route_init'; -import { SetupModeRenderer } from '../../setup_mode/setup_mode_renderer'; +import { SetupModeRenderer, SetupModeProps } from '../../setup_mode/setup_mode_renderer'; import { SetupModeContext } from '../../../components/setup_mode/setup_mode_context'; import { useCharts } from '../../hooks/use_charts'; import { ItemTemplate } from './item_template'; @@ -21,12 +21,6 @@ import { indicesByNodes } from '../../../components/elasticsearch/shard_allocati // @ts-ignore import { labels } from '../../../components/elasticsearch/shard_allocation/lib/labels'; -interface SetupModeProps { - setupMode: any; - flyoutComponent: any; - bottomBarComponent: any; -} - export const ElasticsearchIndexPage: React.FC<ComponentProps> = ({ clusters }) => { const globalState = useContext(GlobalStateContext); const { services } = useKibana<{ data: any }>(); diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/indices_page.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/indices_page.tsx index 9166f2090d89a..de3173a1e8787 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/indices_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/indices_page.tsx @@ -12,22 +12,17 @@ import { useKibana } from '../../../../../../../src/plugins/kibana_react/public' import { GlobalStateContext } from '../../global_state_context'; import { ElasticsearchIndices } from '../../../components/elasticsearch'; import { ComponentProps } from '../../route_init'; -import { SetupModeRenderer } from '../../setup_mode/setup_mode_renderer'; +import { SetupModeRenderer, SetupModeProps } from '../../setup_mode/setup_mode_renderer'; import { SetupModeContext } from '../../../components/setup_mode/setup_mode_context'; import { useTable } from '../../hooks/use_table'; import { useLocalStorage } from '../../hooks/use_local_storage'; -interface SetupModeProps { - setupMode: any; - flyoutComponent: any; - bottomBarComponent: any; -} - export const ElasticsearchIndicesPage: React.FC<ComponentProps> = ({ clusters }) => { const globalState = useContext(GlobalStateContext); const { services } = useKibana<{ data: any }>(); const { getPaginationTableProps } = useTable('elasticsearch.indices'); const clusterUuid = globalState.cluster_uuid; + const ccs = globalState.ccs; const cluster = find(clusters, { cluster_uuid: clusterUuid, }); @@ -59,6 +54,7 @@ export const ElasticsearchIndicesPage: React.FC<ComponentProps> = ({ clusters }) show_system_indices: showSystemIndices, }, body: JSON.stringify({ + ccs, timeRange: { min: bounds.min.toISOString(), max: bounds.max.toISOString(), @@ -66,7 +62,13 @@ export const ElasticsearchIndicesPage: React.FC<ComponentProps> = ({ clusters }) }), }); setData(response); - }, [showSystemIndices, clusterUuid, services.data?.query.timefilter.timefilter, services.http]); + }, [ + ccs, + showSystemIndices, + clusterUuid, + services.data?.query.timefilter.timefilter, + services.http, + ]); return ( <ElasticsearchTemplate @@ -76,7 +78,7 @@ export const ElasticsearchIndicesPage: React.FC<ComponentProps> = ({ clusters }) data-test-subj="elasticsearchOverviewPage" cluster={cluster} > - <div data-test-subj="elasticsearchNodesListingPage"> + <div data-test-subj="elasticsearchIndicesListingPage"> <SetupModeRenderer render={({ flyoutComponent, bottomBarComponent }: SetupModeProps) => ( <SetupModeContext.Provider value={{ setupModeSupported: true }}> diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx new file mode 100644 index 0000000000000..bb709f563ed26 --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx @@ -0,0 +1,98 @@ +/* + * 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 React, { useContext, useState, useCallback } from 'react'; +import { i18n } from '@kbn/i18n'; +import { find } from 'lodash'; +import { ElasticsearchTemplate } from './elasticsearch_template'; +import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; +import { GlobalStateContext } from '../../global_state_context'; +import { ElasticsearchMLJobs } from '../../../components/elasticsearch'; +import { ComponentProps } from '../../route_init'; +import { SetupModeRenderer } from '../../setup_mode/setup_mode_renderer'; +import { SetupModeContext } from '../../../components/setup_mode/setup_mode_context'; +import { useTable } from '../../hooks/use_table'; +import type { MLJobs } from '../../../types'; + +interface SetupModeProps { + setupMode: any; + flyoutComponent: any; + bottomBarComponent: any; +} + +export const ElasticsearchMLJobsPage: React.FC<ComponentProps> = ({ clusters }) => { + const globalState = useContext(GlobalStateContext); + const { services } = useKibana<{ data: any }>(); + const { getPaginationTableProps } = useTable('elasticsearch.mlJobs'); + const clusterUuid = globalState.cluster_uuid; + const ccs = globalState.ccs; + const cluster = find(clusters, { + cluster_uuid: clusterUuid, + }); + const [data, setData] = useState({} as any); + + const title = i18n.translate('xpack.monitoring.elasticsearch.mlJobs.routeTitle', { + defaultMessage: 'Elasticsearch - Machine Learning Jobs', + }); + + const pageTitle = i18n.translate('xpack.monitoring.elasticsearch.mlJobs.pageTitle', { + defaultMessage: 'Elasticsearch machine learning jobs', + }); + + const getPageData = useCallback(async () => { + const bounds = services.data?.query.timefilter.timefilter.getBounds(); + const url = `../api/monitoring/v1/clusters/${clusterUuid}/elasticsearch/ml_jobs`; + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + }), + }); + setData({ + clusterStatus: response.clusterStatus, + jobs: (response.rows as MLJobs).map((job) => { + if ('ml' in job && job.ml?.job) { + return { + ...job.ml.job, + node: job.node, + job_id: job.ml.job.id, + }; + } + return job; + }), + }); + }, [ccs, clusterUuid, services.data?.query.timefilter.timefilter, services.http]); + + return ( + <ElasticsearchTemplate + title={title} + pageTitle={pageTitle} + getPageData={getPageData} + data-test-subj="elasticsearchOverviewPage" + cluster={cluster} + > + <div data-test-subj="elasticsearchMLJobsListingPage"> + <SetupModeRenderer + render={({ flyoutComponent, bottomBarComponent }: SetupModeProps) => ( + <SetupModeContext.Provider value={{ setupModeSupported: true }}> + {flyoutComponent} + <ElasticsearchMLJobs + clusterStatus={data.clusterStatus} + jobs={data.jobs} + {...getPaginationTableProps()} + /> + {bottomBarComponent} + </SetupModeContext.Provider> + )} + /> + </div> + </ElasticsearchTemplate> + ); +}; diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_page.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_page.tsx index a8825f377eada..58acd77afc622 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_page.tsx @@ -12,7 +12,7 @@ import { useKibana } from '../../../../../../../src/plugins/kibana_react/public' import { GlobalStateContext } from '../../global_state_context'; import { NodeReact } from '../../../components/elasticsearch'; import { ComponentProps } from '../../route_init'; -import { SetupModeRenderer } from '../../setup_mode/setup_mode_renderer'; +import { SetupModeRenderer, SetupModeProps } from '../../setup_mode/setup_mode_renderer'; import { SetupModeContext } from '../../../components/setup_mode/setup_mode_context'; import { useLocalStorage } from '../../hooks/use_local_storage'; import { useCharts } from '../../hooks/use_charts'; @@ -20,12 +20,6 @@ import { nodesByIndices } from '../../../components/elasticsearch/shard_allocati // @ts-ignore import { labels } from '../../../components/elasticsearch/shard_allocation/lib/labels'; -interface SetupModeProps { - setupMode: any; - flyoutComponent: any; - bottomBarComponent: any; -} - export const ElasticsearchNodePage: React.FC<ComponentProps> = ({ clusters }) => { const globalState = useContext(GlobalStateContext); const { zoomInfo, onBrush } = useCharts(); diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/nodes_page.tsx b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/nodes_page.tsx index 1fee700b4d920..d91b8b0441c59 100644 --- a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/nodes_page.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/elasticsearch/nodes_page.tsx @@ -13,17 +13,11 @@ import { GlobalStateContext } from '../../global_state_context'; import { ExternalConfigContext } from '../../external_config_context'; import { ElasticsearchNodes } from '../../../components/elasticsearch'; import { ComponentProps } from '../../route_init'; -import { SetupModeRenderer } from '../../setup_mode/setup_mode_renderer'; +import { SetupModeRenderer, SetupModeProps } from '../../setup_mode/setup_mode_renderer'; import { SetupModeContext } from '../../../components/setup_mode/setup_mode_context'; import { useTable } from '../../hooks/use_table'; import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; -interface SetupModeProps { - setupMode: any; - flyoutComponent: any; - bottomBarComponent: any; -} - export const ElasticsearchNodesPage: React.FC<ComponentProps> = ({ clusters }) => { const globalState = useContext(GlobalStateContext); const { showCgroupMetricsElasticsearch } = useContext(ExternalConfigContext); diff --git a/x-pack/plugins/monitoring/public/application/pages/home/cluster_listing.tsx b/x-pack/plugins/monitoring/public/application/pages/home/cluster_listing.tsx new file mode 100644 index 0000000000000..906db1b57f0f5 --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/pages/home/cluster_listing.tsx @@ -0,0 +1,116 @@ +/* + * 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 React, { useCallback, useContext, useEffect, useState } from 'react'; +import { Redirect } from 'react-router-dom'; +import { i18n } from '@kbn/i18n'; +import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; +// @ts-ignore +import { Listing } from '../../../components/cluster/listing'; +import { EnableAlertsModal } from '../../../alerts/enable_alerts_modal'; +import { GlobalStateContext } from '../../global_state_context'; +import { ExternalConfigContext } from '../../external_config_context'; +import { ComponentProps } from '../../route_init'; +import { useTable } from '../../hooks/use_table'; +import { PageTemplate, TabMenuItem } from '../page_template'; +import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; +import { fetchClusters } from '../../../lib/fetch_clusters'; + +const pageTitle = i18n.translate('xpack.monitoring.cluster.listing.pageTitle', { + defaultMessage: 'Cluster listing', +}); + +const tabTitle = i18n.translate('xpack.monitoring.cluster.listing.tabTitle', { + defaultMessage: 'Clusters', +}); + +const getAlerts = (clusters: any[]) => { + return clusters.reduce( + (alerts, cluster) => ({ ...alerts, ...((cluster.alerts && cluster.alerts.list) || {}) }), + {} + ); +}; + +export const ClusterListing: React.FC<ComponentProps> = () => { + const globalState = useContext(GlobalStateContext); + const externalConfig = useContext(ExternalConfigContext); + const { services } = useKibana<{ data: any }>(); + const [clusters, setClusters] = useState([] as any); + const { update: updateBreadcrumbs } = useContext(BreadcrumbContainer.Context); + + const fakeScope = { + $evalAsync: (fn: () => void) => fn(), + filterQuery: '', // replace with something + }; + const { getPaginationTableProps } = useTable('clusters'); + const { sorting, pagination, onTableChange } = getPaginationTableProps(); + + useEffect(() => { + updateBreadcrumbs([ + { + 'data-test-subj': 'clusterListingBreadcrumb', + text: tabTitle, + }, + ]); + }, [updateBreadcrumbs]); + + const tabs: TabMenuItem[] = [ + { + id: 'clusters', + label: tabTitle, + testSubj: 'clusterListingTab', + route: '/home', + }, + ]; + + const getPageData = useCallback(async () => { + const bounds = services.data?.query.timefilter.timefilter.getBounds(); + try { + if (services.http?.fetch) { + const response = await fetchClusters({ + fetch: services.http.fetch, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + ccs: globalState.ccs, + codePaths: ['all'], + }); + setClusters(response); + } + } catch (err) { + // TODO: handle errors + } + }, [globalState, services.data?.query.timefilter.timefilter, services.http]); + + if (globalState.save && clusters.length === 1) { + globalState.cluster_uuid = clusters[0].cluster_uuid; + globalState.save(); + } + + return ( + <PageTemplate tabs={tabs} title={pageTitle} pageTitle={pageTitle} getPageData={getPageData}> + {clusters.length === 1 && <Redirect to={{ pathname: '/overview' }} />} + <Listing + clusters={clusters} + angular={{ + scope: fakeScope, + globalState, + storage: { + get: (key: string) => window.localStorage.getItem(key), + set: (key: string, value: string) => window.localStorage.setItem(key, value), + }, + showLicenseExpiration: externalConfig.showLicenseExpiration, + }} + sorting={sorting} + pagination={pagination} + onTableChange={onTableChange} + /> + <EnableAlertsModal alerts={getAlerts(clusters)} /> + </PageTemplate> + ); +}; diff --git a/x-pack/plugins/monitoring/public/application/pages/kibana/instance.tsx b/x-pack/plugins/monitoring/public/application/pages/kibana/instance.tsx new file mode 100644 index 0000000000000..8b88fc47a9007 --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/pages/kibana/instance.tsx @@ -0,0 +1,163 @@ +/* + * 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 React, { useContext, useState, useCallback, useEffect } from 'react'; +import { useParams } from 'react-router-dom'; +import { i18n } from '@kbn/i18n'; +import { find } from 'lodash'; +import { + EuiPage, + EuiPageBody, + EuiPageContent, + EuiSpacer, + EuiFlexGrid, + EuiFlexItem, + EuiPanel, +} from '@elastic/eui'; +import { ComponentProps } from '../../route_init'; +import { GlobalStateContext } from '../../global_state_context'; +import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; +import { useCharts } from '../../hooks/use_charts'; +// @ts-ignore +import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; +// @ts-ignore +import { MonitoringTimeseriesContainer } from '../../../components/chart'; +// @ts-ignore +import { DetailStatus } from '../../../components/kibana/detail_status'; +import { PageTemplate } from '../page_template'; +import { AlertsCallout } from '../../../alerts/callout'; + +const KibanaInstance = ({ data, alerts }: { data: any; alerts: any }) => { + const { zoomInfo, onBrush } = useCharts(); + + return ( + <EuiPage> + <EuiPageBody> + <EuiPanel> + <DetailStatus stats={data.kibanaSummary} /> + </EuiPanel> + <EuiSpacer size="m" /> + <AlertsCallout alerts={alerts} /> + <EuiPageContent> + <EuiFlexGrid columns={2} gutterSize="s"> + <EuiFlexItem grow={true}> + <MonitoringTimeseriesContainer + series={data.metrics.kibana_requests} + onBrush={onBrush} + zoomInfo={zoomInfo} + /> + <EuiSpacer /> + </EuiFlexItem> + <EuiFlexItem grow={true}> + <MonitoringTimeseriesContainer + series={data.metrics.kibana_response_times} + onBrush={onBrush} + zoomInfo={zoomInfo} + /> + <EuiSpacer /> + </EuiFlexItem> + <EuiFlexItem grow={true}> + <MonitoringTimeseriesContainer + series={data.metrics.kibana_memory} + onBrush={onBrush} + zoomInfo={zoomInfo} + /> + <EuiSpacer /> + </EuiFlexItem> + <EuiFlexItem grow={true}> + <MonitoringTimeseriesContainer + series={data.metrics.kibana_average_concurrent_connections} + onBrush={onBrush} + zoomInfo={zoomInfo} + /> + <EuiSpacer /> + </EuiFlexItem> + <EuiFlexItem grow={true}> + <MonitoringTimeseriesContainer + series={data.metrics.kibana_os_load} + onBrush={onBrush} + zoomInfo={zoomInfo} + /> + <EuiSpacer /> + </EuiFlexItem> + <EuiFlexItem grow={true}> + <MonitoringTimeseriesContainer + series={data.metrics.kibana_process_delay} + onBrush={onBrush} + zoomInfo={zoomInfo} + /> + <EuiSpacer /> + </EuiFlexItem> + </EuiFlexGrid> + </EuiPageContent> + </EuiPageBody> + </EuiPage> + ); +}; + +export const KibanaInstancePage: React.FC<ComponentProps> = ({ clusters }) => { + const { instance }: { instance: string } = useParams(); + + const globalState = useContext(GlobalStateContext); + const { services } = useKibana<{ data: any }>(); + const { generate: generateBreadcrumbs } = useContext(BreadcrumbContainer.Context); + const clusterUuid = globalState.cluster_uuid; + const ccs = globalState.ccs; + const cluster = find(clusters, { + cluster_uuid: clusterUuid, + }) as any; + const [data, setData] = useState({} as any); + const [instanceName, setInstanceName] = useState(''); + + const title = `Kibana - ${instanceName}`; + const pageTitle = i18n.translate('xpack.monitoring.kibana.instance.pageTitle', { + defaultMessage: 'Kibana instance: {instance}', + values: { + instance: instanceName, + }, + }); + + useEffect(() => { + if (cluster) { + generateBreadcrumbs(cluster.cluster_name, { + inKibana: true, + instance: instanceName, + }); + } + }, [cluster, instanceName, generateBreadcrumbs]); + + const getPageData = useCallback(async () => { + const bounds = services.data?.query.timefilter.timefilter.getBounds(); + const url = `../api/monitoring/v1/clusters/${clusterUuid}/kibana/${instance}`; + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + }), + }); + + setData(response); + setInstanceName(response.kibanaSummary.name); + }, [ccs, clusterUuid, instance, services.data?.query.timefilter.timefilter, services.http]); + + return ( + <PageTemplate + title={title} + pageTitle={pageTitle} + getPageData={getPageData} + data-test-subj="kibanaInstancePage" + > + <div data-test-subj="monitoringKibanaInstanceApp"> + <KibanaInstance data={data} alerts={{}} /> + </div> + </PageTemplate> + ); +}; diff --git a/x-pack/plugins/monitoring/public/application/pages/kibana/instances.tsx b/x-pack/plugins/monitoring/public/application/pages/kibana/instances.tsx new file mode 100644 index 0000000000000..12f3214b73693 --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/pages/kibana/instances.tsx @@ -0,0 +1,100 @@ +/* + * 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 React, { useContext, useState, useCallback, useEffect } from 'react'; +import { i18n } from '@kbn/i18n'; +import { find } from 'lodash'; +import { ComponentProps } from '../../route_init'; +import { GlobalStateContext } from '../../global_state_context'; +import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; +import { useTable } from '../../hooks/use_table'; +import { KibanaTemplate } from './kibana_template'; +// @ts-ignore +import { KibanaInstances } from '../../../components/kibana/instances'; +// @ts-ignore +import { SetupModeRenderer, SetupModeProps } from '../../setup_mode/setup_mode_renderer'; +import { SetupModeContext } from '../../../components/setup_mode/setup_mode_context'; +import { BreadcrumbContainer } from '../../hooks/use_breadcrumbs'; + +export const KibanaInstancesPage: React.FC<ComponentProps> = ({ clusters }) => { + const { cluster_uuid: clusterUuid, ccs } = useContext(GlobalStateContext); + const { services } = useKibana<{ data: any }>(); + const { generate: generateBreadcrumbs } = useContext(BreadcrumbContainer.Context); + const { updateTotalItemCount, getPaginationTableProps } = useTable('kibana.instances'); + const cluster = find(clusters, { + cluster_uuid: clusterUuid, + }) as any; + const [data, setData] = useState({} as any); + + const title = i18n.translate('xpack.monitoring.kibana.instances.routeTitle', { + defaultMessage: 'Kibana - Instances', + }); + + const pageTitle = i18n.translate('xpack.monitoring.kibana.instances.pageTitle', { + defaultMessage: 'Kibana instances', + }); + + useEffect(() => { + if (cluster) { + generateBreadcrumbs(cluster.cluster_name, { + inKibana: true, + }); + } + }, [cluster, generateBreadcrumbs]); + + const getPageData = useCallback(async () => { + const bounds = services.data?.query.timefilter.timefilter.getBounds(); + const url = `../api/monitoring/v1/clusters/${clusterUuid}/kibana/instances`; + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + }), + }); + + setData(response); + updateTotalItemCount(response.stats.total); + }, [ + ccs, + clusterUuid, + services.data?.query.timefilter.timefilter, + services.http, + updateTotalItemCount, + ]); + + return ( + <KibanaTemplate + title={title} + pageTitle={pageTitle} + getPageData={getPageData} + data-test-subj="kibanaInstancesPage" + > + <div data-test-subj="monitoringKibanaInstancesApp"> + <SetupModeRenderer + productName="kibana" + render={({ setupMode, flyoutComponent, bottomBarComponent }: SetupModeProps) => ( + <SetupModeContext.Provider value={{ setupModeSupported: true }}> + {flyoutComponent} + <KibanaInstances + alerts={{}} + instances={data.kibanas} + setupMode={setupMode} + clusterStatus={data.clusterStatus} + {...getPaginationTableProps()} + /> + {bottomBarComponent} + </SetupModeContext.Provider> + )} + /> + </div> + </KibanaTemplate> + ); +}; diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/advanced.tsx b/x-pack/plugins/monitoring/public/application/pages/logstash/advanced.tsx new file mode 100644 index 0000000000000..8a33190d39c94 --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/pages/logstash/advanced.tsx @@ -0,0 +1,128 @@ +/* + * 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 React, { useContext, useState, useCallback, useMemo } from 'react'; +import { i18n } from '@kbn/i18n'; +import { find } from 'lodash'; +import { + EuiPage, + EuiPageBody, + EuiPanel, + EuiSpacer, + EuiPageContent, + EuiFlexGrid, + EuiFlexItem, +} from '@elastic/eui'; +import { useRouteMatch } from 'react-router-dom'; +import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; +import { GlobalStateContext } from '../../global_state_context'; +import { ComponentProps } from '../../route_init'; +// @ts-ignore +import { Listing } from '../../../components/logstash/listing'; +import { LogstashTemplate } from './logstash_template'; +// @ts-ignore +import { DetailStatus } from '../../../components/logstash/detail_status'; +// @ts-ignore +import { MonitoringTimeseriesContainer } from '../../../components/chart'; +import { AlertsCallout } from '../../../alerts/callout'; +import { useCharts } from '../../hooks/use_charts'; + +export const LogStashNodeAdvancedPage: React.FC<ComponentProps> = ({ clusters }) => { + const globalState = useContext(GlobalStateContext); + const match = useRouteMatch<{ uuid: string | undefined }>(); + const { services } = useKibana<{ data: any }>(); + const clusterUuid = globalState.cluster_uuid; + const { zoomInfo, onBrush } = useCharts(); + const ccs = globalState.ccs; + const cluster = find(clusters, { + cluster_uuid: clusterUuid, + }); + + const [data, setData] = useState({} as any); + + const title = i18n.translate('xpack.monitoring.logstash.node.advanced.routeTitle', { + defaultMessage: 'Logstash - {nodeName} - Advanced', + values: { + nodeName: data.nodeSummary ? data.nodeSummary.name : '', + }, + }); + + const pageTitle = i18n.translate('xpack.monitoring.logstash.node.advanced.pageTitle', { + defaultMessage: 'Logstash node: {nodeName}', + values: { + nodeName: data.nodeSummary ? data.nodeSummary.name : '', + }, + }); + + const getPageData = useCallback(async () => { + const bounds = services.data?.query.timefilter.timefilter.getBounds(); + const url = `../api/monitoring/v1/clusters/${clusterUuid}/logstash/node/${match.params.uuid}`; + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + is_advanced: true, + }), + }); + + setData(response); + }, [ + ccs, + clusterUuid, + services.data?.query.timefilter.timefilter, + services.http, + match.params.uuid, + ]); + + const metricsToShow = useMemo(() => { + if (!data.metrics) return []; + + return [ + data.metrics.logstash_node_cpu_utilization, + data.metrics.logstash_queue_events_count, + data.metrics.logstash_node_cgroup_cpu, + data.metrics.logstash_pipeline_queue_size, + data.metrics.logstash_node_cgroup_stats, + ]; + }, [data.metrics]); + + return ( + <LogstashTemplate + instance={data} + title={title} + pageTitle={pageTitle} + getPageData={getPageData} + cluster={cluster} + > + <EuiPage> + <EuiPageBody> + <EuiPanel>{data.nodeSummary && <DetailStatus stats={data.nodeSummary} />}</EuiPanel> + <EuiSpacer size="m" /> + <AlertsCallout alerts={{}} /> + <EuiPageContent> + <EuiFlexGrid columns={2} gutterSize="s"> + {metricsToShow.map((metric, index) => ( + <EuiFlexItem key={index}> + <MonitoringTimeseriesContainer + series={metric} + onBrush={onBrush} + zoomInfo={zoomInfo} + {...data} + /> + <EuiSpacer /> + </EuiFlexItem> + ))} + </EuiFlexGrid> + </EuiPageContent> + </EuiPageBody> + </EuiPage> + </LogstashTemplate> + ); +}; diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/logstash_template.tsx b/x-pack/plugins/monitoring/public/application/pages/logstash/logstash_template.tsx new file mode 100644 index 0000000000000..d1b3c5e5ec374 --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/pages/logstash/logstash_template.tsx @@ -0,0 +1,85 @@ +/* + * 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 React from 'react'; +import { i18n } from '@kbn/i18n'; +import { PageTemplate } from '../page_template'; +import { TabMenuItem, PageTemplateProps } from '../page_template'; + +interface LogstashTemplateProps extends PageTemplateProps { + cluster: any; + instance?: any; + pipelineId?: string; + pipelineVersions?: string[]; + tabsDisabled?: boolean; +} + +export const LogstashTemplate: React.FC<LogstashTemplateProps> = ({ + cluster, + instance, + pipelineId, + pipelineVersions, + tabsDisabled, + ...props +}) => { + const tabs: TabMenuItem[] = []; + if (!tabsDisabled) { + if (!instance && !pipelineId) { + tabs.push({ + id: 'overview', + label: i18n.translate('xpack.monitoring.logstashNavigation.overviewLinkText', { + defaultMessage: 'Overview', + }), + route: '/logstash', + }); + tabs.push({ + id: 'nodes', + label: i18n.translate('xpack.monitoring.logstashNavigation.nodesLinkText', { + defaultMessage: 'Nodes', + }), + route: '/logstash/nodes', + }); + tabs.push({ + id: 'pipelines', + label: i18n.translate('xpack.monitoring.logstashNavigation.pipelinesLinkText', { + defaultMessage: 'Pipelines', + }), + route: '/logstash/pipelines', + }); + } else if (instance) { + tabs.push({ + id: 'overview', + label: i18n.translate('xpack.monitoring.logstashNavigation.instance.overviewLinkText', { + defaultMessage: 'Overview', + }), + route: `/logstash/node/${instance.nodeSummary?.uuid}`, // IDK if this is right + }); + tabs.push({ + id: 'pipeline', + label: i18n.translate('xpack.monitoring.logstashNavigation.instance.pipelinesLinkText', { + defaultMessage: 'Pipelines', + }), + route: `/logstash/node/${instance.nodeSummary?.uuid}/pipelines`, // IDK if this is right + }); + tabs.push({ + id: 'advanced', + label: i18n.translate('xpack.monitoring.logstashNavigation.instance.advancedLinkText', { + defaultMessage: 'Advanced', + }), + route: `/logstash/node/${instance.nodeSummary?.uuid}/advanced`, // IDK if this is right + }); + } + } + + if (pipelineVersions && pipelineVersions.length) { + // todo add this in: https://github.com/elastic/kibana/blob/4584a8b570402aa07832cf3e5b520e5d2cfa7166/x-pack/plugins/monitoring/public/directives/main/index.js#L36, https://github.com/elastic/kibana/blob/c07a512e4647a40d8e891eb24f5912783b561fba/x-pack/plugins/monitoring/public/directives/main/index.html#L293-L298 + // tabs.push({ + // id: 'dropdown-elm', + // }) + } + + return <PageTemplate {...props} tabs={tabs} product="logstash" />; +}; diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/node.tsx b/x-pack/plugins/monitoring/public/application/pages/logstash/node.tsx new file mode 100644 index 0000000000000..301d3c45dedb5 --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/pages/logstash/node.tsx @@ -0,0 +1,122 @@ +/* + * 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 React, { useContext, useState, useCallback, useMemo } from 'react'; +import { i18n } from '@kbn/i18n'; +import { find } from 'lodash'; +import { useRouteMatch } from 'react-router-dom'; +import { + EuiPage, + EuiPageBody, + EuiPanel, + EuiSpacer, + EuiPageContent, + EuiFlexGrid, + EuiFlexItem, +} from '@elastic/eui'; +import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; +import { GlobalStateContext } from '../../global_state_context'; +import { ComponentProps } from '../../route_init'; +// @ts-ignore +import { List } from '../../../components/logstash/pipeline_viewer/models/list'; +// @ts-ignore +import { LogstashTemplate } from './logstash_template'; +// @ts-ignore +import { DetailStatus } from '../../../components/logstash/detail_status'; +// @ts-ignore +import { MonitoringTimeseriesContainer } from '../../../components/chart'; +import { AlertsCallout } from '../../../alerts/callout'; +import { useCharts } from '../../hooks/use_charts'; + +export const LogStashNodePage: React.FC<ComponentProps> = ({ clusters }) => { + const match = useRouteMatch<{ uuid: string | undefined }>(); + const globalState = useContext(GlobalStateContext); + const { services } = useKibana<{ data: any }>(); + const clusterUuid = globalState.cluster_uuid; + const ccs = globalState.ccs; + const cluster = find(clusters, { + cluster_uuid: clusterUuid, + }); + const [data, setData] = useState({} as any); + const { zoomInfo, onBrush } = useCharts(); + const title = i18n.translate('xpack.monitoring.logstash.node.routeTitle', { + defaultMessage: 'Logstash - {nodeName}', + values: { + nodeName: data.nodeSummary ? data.nodeSummary.name : '', + }, + }); + + const pageTitle = i18n.translate('xpack.monitoring.logstash.node.pageTitle', { + defaultMessage: 'Logstash node: {nodeName}', + values: { + nodeName: data.nodeSummary ? data.nodeSummary.name : '', + }, + }); + + const getPageData = useCallback(async () => { + const url = `../api/monitoring/v1/clusters/${clusterUuid}/logstash/node/${match.params.uuid}`; + const bounds = services.data?.query.timefilter.timefilter.getBounds(); + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + is_advanced: false, + }), + }); + + setData(response); + }, [ccs, clusterUuid, services.data?.query.timefilter.timefilter, services.http, match.params]); + + const metricsToShow = useMemo(() => { + if (!data.metrics) return []; + + return [ + data.metrics.logstash_events_input_rate, + data.metrics.logstash_jvm_usage, + data.metrics.logstash_events_output_rate, + data.metrics.logstash_node_cpu_metric, + data.metrics.logstash_events_latency, + data.metrics.logstash_os_load, + ]; + }, [data.metrics]); + + return ( + <LogstashTemplate + instance={data} + title={title} + pageTitle={pageTitle} + getPageData={getPageData} + cluster={cluster} + > + <EuiPage> + <EuiPageBody> + <EuiPanel>{data.nodeSummary && <DetailStatus stats={data.nodeSummary} />}</EuiPanel> + <EuiSpacer size="m" /> + <AlertsCallout alerts={{}} /> + <EuiPageContent> + <EuiFlexGrid columns={2} gutterSize="s"> + {metricsToShow.map((metric, index) => ( + <EuiFlexItem key={index}> + <MonitoringTimeseriesContainer + series={metric} + onBrush={onBrush} + zoomInfo={zoomInfo} + {...data} + /> + <EuiSpacer /> + </EuiFlexItem> + ))} + </EuiFlexGrid> + </EuiPageContent> + </EuiPageBody> + </EuiPage> + </LogstashTemplate> + ); +}; diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/node_pipelines.tsx b/x-pack/plugins/monitoring/public/application/pages/logstash/node_pipelines.tsx new file mode 100644 index 0000000000000..1c956603f99bd --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/pages/logstash/node_pipelines.tsx @@ -0,0 +1,122 @@ +/* + * 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 React, { useContext, useState, useCallback } from 'react'; +import { i18n } from '@kbn/i18n'; +import { find } from 'lodash'; +// @ts-ignore +import { useRouteMatch } from 'react-router-dom'; +// @ts-ignore +import { isPipelineMonitoringSupportedInVersion } from '../../../lib/logstash/pipelines'; +import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; +import { GlobalStateContext } from '../../global_state_context'; +import { ComponentProps } from '../../route_init'; +// @ts-ignore +import { Listing } from '../../../components/logstash/listing'; +import { LogstashTemplate } from './logstash_template'; +// @ts-ignore +import { DetailStatus } from '../../../components/logstash/detail_status'; +// @ts-ignore +import { MonitoringTimeseriesContainer } from '../../../components/chart'; +import { useTable } from '../../hooks/use_table'; +// @ts-ignore +import { PipelineListing } from '../../../components/logstash/pipeline_listing/pipeline_listing'; +import { useCharts } from '../../hooks/use_charts'; + +export const LogStashNodePipelinesPage: React.FC<ComponentProps> = ({ clusters }) => { + const globalState = useContext(GlobalStateContext); + const match = useRouteMatch<{ uuid: string | undefined }>(); + const { services } = useKibana<{ data: any }>(); + const clusterUuid = globalState.cluster_uuid; + const ccs = globalState.ccs; + const { onBrush, zoomInfo } = useCharts(); + const cluster = find(clusters, { + cluster_uuid: clusterUuid, + }); + + const { getPaginationTableProps, getPaginationRouteOptions, updateTotalItemCount } = + useTable('logstash.pipelines'); + + const [data, setData] = useState({} as any); + + const title = i18n.translate('xpack.monitoring.logstash.node.pipelines.routeTitle', { + defaultMessage: 'Logstash - {nodeName} - Pipelines', + values: { + nodeName: data.nodeSummary ? data.nodeSummary.name : '', + }, + }); + + const pageTitle = i18n.translate('xpack.monitoring.logstash.node.pipelines.pageTitle', { + defaultMessage: 'Logstash node pipelines: {nodeName}', + values: { + nodeName: data.nodeSummary ? data.nodeSummary.name : '', + }, + }); + + const getPageData = useCallback(async () => { + const bounds = services.data?.query.timefilter.timefilter.getBounds(); + const options: any = getPaginationRouteOptions(); + const url = `../api/monitoring/v1/clusters/${clusterUuid}/logstash/node/${match.params.uuid}/pipelines`; + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + pagination: options.pagination, + queryText: options.queryText, + }), + }); + + setData(response); + updateTotalItemCount(response.totalPipelineCount); + }, [ + ccs, + clusterUuid, + services.data?.query.timefilter.timefilter, + services.http, + getPaginationRouteOptions, + updateTotalItemCount, + match.params.uuid, + ]); + + return ( + <LogstashTemplate + instance={data} + title={title} + pageTitle={pageTitle} + getPageData={getPageData} + cluster={cluster} + > + {data.pipelines && ( + <PipelineListing + className="monitoringLogstashPipelinesTable" + onBrush={onBrush} + zoomInfo={zoomInfo} + stats={data.nodeSummary} + data={data.pipelines} + statusComponent={DetailStatus} + {...getPaginationTableProps()} + upgradeMessage={makeUpgradeMessage(data.nodeSummary.version)} + /> + )} + </LogstashTemplate> + ); +}; + +function makeUpgradeMessage(logstashVersions: any) { + if ( + !Array.isArray(logstashVersions) || + logstashVersions.length === 0 || + logstashVersions.some(isPipelineMonitoringSupportedInVersion) + ) { + return null; + } + + return 'Pipeline monitoring is only available in Logstash version 6.0.0 or higher.'; +} diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/nodes.tsx b/x-pack/plugins/monitoring/public/application/pages/logstash/nodes.tsx new file mode 100644 index 0000000000000..633e47339f467 --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/pages/logstash/nodes.tsx @@ -0,0 +1,89 @@ +/* + * 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 React, { useContext, useState, useCallback } from 'react'; +import { i18n } from '@kbn/i18n'; +import { find } from 'lodash'; +import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; +import { GlobalStateContext } from '../../global_state_context'; +import { ComponentProps } from '../../route_init'; +// @ts-ignore +import { Listing } from '../../../components/logstash/listing'; +import { LogstashTemplate } from './logstash_template'; +import { SetupModeRenderer } from '../../setup_mode/setup_mode_renderer'; +import { SetupModeContext } from '../../../components/setup_mode/setup_mode_context'; +import { useTable } from '../../hooks/use_table'; + +interface SetupModeProps { + setupMode: any; + flyoutComponent: any; + bottomBarComponent: any; +} + +export const LogStashNodesPage: React.FC<ComponentProps> = ({ clusters }) => { + const globalState = useContext(GlobalStateContext); + const { services } = useKibana<{ data: any }>(); + const clusterUuid = globalState.cluster_uuid; + const ccs = globalState.ccs; + const cluster = find(clusters, { + cluster_uuid: clusterUuid, + }); + const [data, setData] = useState({} as any); + const { getPaginationTableProps } = useTable('logstash.nodes'); + + const title = i18n.translate('xpack.monitoring.logstash.nodes.routeTitle', { + defaultMessage: 'Logstash - Nodes', + }); + + const pageTitle = i18n.translate('xpack.monitoring.logstash.nodes.pageTitle', { + defaultMessage: 'Logstash nodes', + }); + + const getPageData = useCallback(async () => { + const bounds = services.data?.query.timefilter.timefilter.getBounds(); + const url = `../api/monitoring/v1/clusters/${clusterUuid}/logstash/nodes`; + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + }), + }); + + setData(response); + }, [ccs, clusterUuid, services.data?.query.timefilter.timefilter, services.http]); + + return ( + <LogstashTemplate + title={title} + pageTitle={pageTitle} + getPageData={getPageData} + cluster={cluster} + > + <div> + <SetupModeRenderer + productName="logstash" + render={({ setupMode, flyoutComponent, bottomBarComponent }: SetupModeProps) => ( + <SetupModeContext.Provider value={{ setupModeSupported: true }}> + {flyoutComponent} + <Listing + stats={data.clusterStatus} + metrics={data.metrics} + data={data.nodes} + setupMode={setupMode} + {...getPaginationTableProps()} + /> + {bottomBarComponent} + </SetupModeContext.Provider> + )} + /> + </div> + </LogstashTemplate> + ); +}; diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/overview.tsx b/x-pack/plugins/monitoring/public/application/pages/logstash/overview.tsx new file mode 100644 index 0000000000000..1edbe5cf71e7d --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/pages/logstash/overview.tsx @@ -0,0 +1,84 @@ +/* + * 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 React, { useContext, useState, useCallback } from 'react'; +import { i18n } from '@kbn/i18n'; +import { find } from 'lodash'; +import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; +import { GlobalStateContext } from '../../global_state_context'; +import { ComponentProps } from '../../route_init'; +import { useCharts } from '../../hooks/use_charts'; +// @ts-ignore +import { Overview } from '../../../components/logstash/overview'; +import { LogstashTemplate } from './logstash_template'; + +export const LogStashOverviewPage: React.FC<ComponentProps> = ({ clusters }) => { + const globalState = useContext(GlobalStateContext); + const { zoomInfo, onBrush } = useCharts(); + const { services } = useKibana<{ data: any }>(); + const clusterUuid = globalState.cluster_uuid; + const ccs = globalState.ccs; + const cluster = find(clusters, { + cluster_uuid: clusterUuid, + }); + const [data, setData] = useState(null); + // const [showShardActivityHistory, setShowShardActivityHistory] = useState(false); + + const title = i18n.translate('xpack.monitoring.logstash.overview.title', { + defaultMessage: 'Logstash', + }); + + const pageTitle = i18n.translate('xpack.monitoring.logstash.overview.pageTitle', { + defaultMessage: 'Logstash overview', + }); + + const getPageData = useCallback(async () => { + const bounds = services.data?.query.timefilter.timefilter.getBounds(); + const url = `../api/monitoring/v1/clusters/${clusterUuid}/logstash`; + + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + }), + }); + + setData(response); + }, [ccs, clusterUuid, services.data?.query.timefilter.timefilter, services.http]); + + const renderOverview = (overviewData: any) => { + if (overviewData === null) { + return null; + } + const { clusterStatus, metrics, logs } = overviewData || {}; + + return ( + <Overview + stats={clusterStatus} + metrics={metrics} + logs={logs} + onBrush={onBrush} + zoomInfo={zoomInfo} + /> + ); + }; + + return ( + <LogstashTemplate + title={title} + pageTitle={pageTitle} + getPageData={getPageData} + data-test-subj="elasticsearchOverviewPage" + cluster={cluster} + > + <div data-test-subj="elasticsearchOverviewPage">{renderOverview(data)}</div> + </LogstashTemplate> + ); +}; diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/pipeline.tsx b/x-pack/plugins/monitoring/public/application/pages/logstash/pipeline.tsx new file mode 100644 index 0000000000000..abff0ab17b992 --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/pages/logstash/pipeline.tsx @@ -0,0 +1,175 @@ +/* + * 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 React, { useContext, useState, useCallback, useEffect } from 'react'; +import { i18n } from '@kbn/i18n'; +import { find } from 'lodash'; +import moment from 'moment'; +import { useRouteMatch } from 'react-router-dom'; +import { useKibana, useUiSetting } from '../../../../../../../src/plugins/kibana_react/public'; +import { GlobalStateContext } from '../../global_state_context'; +import { ComponentProps } from '../../route_init'; +// @ts-ignore +import { List } from '../../../components/logstash/pipeline_viewer/models/list'; +// @ts-ignore +import { PipelineViewer } from '../../../components/logstash/pipeline_viewer'; +// @ts-ignore +import { Pipeline } from '../../../components/logstash/pipeline_viewer/models/pipeline'; +// @ts-ignore +import { PipelineState } from '../../../components/logstash/pipeline_viewer/models/pipeline_state'; +// @ts-ignore +import { vertexFactory } from '../../../components/logstash/pipeline_viewer/models/graph/vertex_factory'; +import { LogstashTemplate } from './logstash_template'; +import { useTable } from '../../hooks/use_table'; +import { ExternalConfigContext } from '../../external_config_context'; +import { formatTimestampToDuration } from '../../../../common'; +import { CALCULATE_DURATION_SINCE } from '../../../../common/constants'; +import { getSafeForExternalLink } from '../../../lib/get_safe_for_external_link'; +import { PipelineVersions } from './pipeline_versions_dropdown'; + +export const LogStashPipelinePage: React.FC<ComponentProps> = ({ clusters }) => { + const match = useRouteMatch<{ id: string | undefined; hash: string | undefined }>(); + const { hash: pipelineHash, id: pipelineId } = match.params; + const globalState = useContext(GlobalStateContext); + const { services } = useKibana<{ data: any }>(); + const clusterUuid = globalState.cluster_uuid; + const { minIntervalSeconds } = useContext(ExternalConfigContext); + + const dateFormat = useUiSetting<string>('dateFormat'); + const [pipelineState, setPipelineState] = useState<PipelineState | null>(null); + const ccs = globalState.ccs; + const cluster = find(clusters, { + cluster_uuid: clusterUuid, + }); + const [data, setData] = useState({} as any); + const [detailVertexId, setDetailVertexId] = useState<string | null>(null); + const { updateTotalItemCount } = useTable('logstash.pipelines'); + + const title = i18n.translate('xpack.monitoring.logstash.pipeline.routeTitle', { + defaultMessage: 'Logstash - Pipeline', + }); + + const pageTitle = i18n.translate('xpack.monitoring.logstash.pipeline.pageTitle', { + defaultMessage: 'Logstash pipeline: {pipeline}', + values: { + pipeline: data.pipeline ? data.pipeline.id : '', + }, + }); + + const getPageData = useCallback(async () => { + const url = pipelineHash + ? `../api/monitoring/v1/clusters/${clusterUuid}/logstash/pipeline/${pipelineId}/${pipelineHash}` + : `../api/monitoring/v1/clusters/${clusterUuid}/logstash/pipeline/${pipelineId}`; + + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + detailVertexId: detailVertexId || undefined, + }), + }); + const myData = response; + + myData.versions = myData.versions.map((version: any) => { + const relativeFirstSeen = formatTimestampToDuration( + version.firstSeen, + CALCULATE_DURATION_SINCE + ); + const relativeLastSeen = formatTimestampToDuration( + version.lastSeen, + CALCULATE_DURATION_SINCE + ); + + const fudgeFactorSeconds = 2 * minIntervalSeconds; + const isLastSeenCloseToNow = Date.now() - version.lastSeen <= fudgeFactorSeconds * 1000; + + return { + ...version, + relativeFirstSeen: i18n.translate( + 'xpack.monitoring.logstash.pipeline.relativeFirstSeenAgoLabel', + { + defaultMessage: '{relativeFirstSeen} ago', + values: { relativeFirstSeen }, + } + ), + relativeLastSeen: isLastSeenCloseToNow + ? i18n.translate('xpack.monitoring.logstash.pipeline.relativeLastSeenNowLabel', { + defaultMessage: 'now', + }) + : i18n.translate('xpack.monitoring.logstash.pipeline.relativeLastSeenAgoLabel', { + defaultMessage: 'until {relativeLastSeen} ago', + values: { relativeLastSeen }, + }), + }; + }); + setData(myData); + updateTotalItemCount(response.totalNodeCount); + }, [ + ccs, + clusterUuid, + services.http, + updateTotalItemCount, + detailVertexId, + minIntervalSeconds, + pipelineHash, + pipelineId, + ]); + + useEffect(() => { + if (data.pipeline) { + setPipelineState(new PipelineState(data.pipeline)); + } + }, [data]); + + const timeseriesTooltipXValueFormatter = (xValue: any) => moment(xValue).format(dateFormat); + + const onVertexChange = useCallback( + (vertex: any) => { + if (!vertex) { + setDetailVertexId(null); + } else { + setDetailVertexId(vertex.id); + } + + getPageData(); + }, + [getPageData] + ); + + const onChangePipelineHash = useCallback(() => { + window.location.hash = getSafeForExternalLink( + `#/logstash/pipelines/${pipelineId}/${pipelineHash}` + ); + }, [pipelineId, pipelineHash]); + + return ( + <LogstashTemplate + tabsDisabled={true} + title={title} + pageTitle={pageTitle} + getPageData={getPageData} + cluster={cluster} + > + <div> + <PipelineVersions + pipelineVersions={data.versions} + onChangePipelineHash={onChangePipelineHash} + pipelineHash={pipelineHash} + /> + </div> + <div> + {pipelineState && ( + <PipelineViewer + pipeline={List.fromPipeline(Pipeline.fromPipelineGraph(pipelineState.config.graph))} + timeseriesTooltipXValueFormatter={timeseriesTooltipXValueFormatter} + setDetailVertexId={onVertexChange} + detailVertex={data.vertex ? vertexFactory(null, data.vertex) : null} + /> + )} + </div> + </LogstashTemplate> + ); +}; diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/pipeline_versions_dropdown.tsx b/x-pack/plugins/monitoring/public/application/pages/logstash/pipeline_versions_dropdown.tsx new file mode 100644 index 0000000000000..021b8ad3b6a28 --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/pages/logstash/pipeline_versions_dropdown.tsx @@ -0,0 +1,47 @@ +/* + * 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 { EuiFlexGroup, EuiFlexItem, EuiSelect } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import React from 'react'; + +interface Props { + pipelineVersions: any[]; + pipelineHash?: string; + onChangePipelineHash: () => void; +} + +export const PipelineVersions = (props: Props) => { + const { pipelineHash, pipelineVersions, onChangePipelineHash } = props; + + return ( + <EuiFlexGroup> + <EuiFlexItem grow={false}> + <EuiSelect + value={pipelineHash} + options={pipelineVersions.map((option) => { + return { + text: i18n.translate( + 'xpack.monitoring.logstashNavigation.pipelineVersionDescription', + { + defaultMessage: + 'Version active {relativeLastSeen} and first seen {relativeFirstSeen}', + values: { + relativeLastSeen: option.relativeLastSeen, + relativeFirstSeen: option.relativeFirstSeen, + }, + } + ), + value: option.hash, + }; + })} + onChange={onChangePipelineHash} + /> + </EuiFlexItem> + </EuiFlexGroup> + ); +}; diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/pipelines.tsx b/x-pack/plugins/monitoring/public/application/pages/logstash/pipelines.tsx new file mode 100644 index 0000000000000..5f4fe634177de --- /dev/null +++ b/x-pack/plugins/monitoring/public/application/pages/logstash/pipelines.tsx @@ -0,0 +1,117 @@ +/* + * 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 React, { useContext, useState, useCallback } from 'react'; +import { i18n } from '@kbn/i18n'; +import { find } from 'lodash'; +import { useKibana, useUiSetting } from '../../../../../../../src/plugins/kibana_react/public'; +import { GlobalStateContext } from '../../global_state_context'; +import { ComponentProps } from '../../route_init'; +import { useCharts } from '../../hooks/use_charts'; +// @ts-ignore +import { isPipelineMonitoringSupportedInVersion } from '../../../lib/logstash/pipelines'; +// @ts-ignore +import { PipelineListing } from '../../../components/logstash/pipeline_listing/pipeline_listing'; +import { LogstashTemplate } from './logstash_template'; +import { useTable } from '../../hooks/use_table'; + +export const LogStashPipelinesPage: React.FC<ComponentProps> = ({ clusters }) => { + const globalState = useContext(GlobalStateContext); + const { onBrush } = useCharts(); + const { services } = useKibana<{ data: any }>(); + const dateFormat = useUiSetting<string>('dateFormat'); + + const clusterUuid = globalState.cluster_uuid; + const ccs = globalState.ccs; + + const cluster = find(clusters, { + cluster_uuid: clusterUuid, + }); + const [data, setData] = useState(null); + const { getPaginationTableProps, getPaginationRouteOptions, updateTotalItemCount } = + useTable('logstash.pipelines'); + + const title = i18n.translate('xpack.monitoring.logstash.overview.title', { + defaultMessage: 'Logstash', + }); + + const pageTitle = i18n.translate('xpack.monitoring.logstash.overview.pageTitle', { + defaultMessage: 'Logstash overview', + }); + + const getPageData = useCallback(async () => { + const bounds = services.data?.query.timefilter.timefilter.getBounds(); + const url = `../api/monitoring/v1/clusters/${clusterUuid}/logstash/pipelines`; + + const options: any = getPaginationRouteOptions(); + const response = await services.http?.fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange: { + min: bounds.min.toISOString(), + max: bounds.max.toISOString(), + }, + pagination: options.pagination, + queryText: options.queryText, + }), + }); + + setData(response); + updateTotalItemCount(response.totalPipelineCount); + }, [ + ccs, + clusterUuid, + services.data?.query.timefilter.timefilter, + services.http, + getPaginationRouteOptions, + updateTotalItemCount, + ]); + + const renderOverview = (pageData: any) => { + if (pageData === null) { + return null; + } + const { clusterStatus, pipelines } = pageData || {}; + + const upgradeMessage = pageData ? makeUpgradeMessage(clusterStatus.versions) : null; + return ( + <PipelineListing + className="monitoringLogstashPipelinesTable" + onBrush={(xaxis: any) => onBrush({ xaxis })} + stats={clusterStatus} + data={pipelines} + {...getPaginationTableProps()} + upgradeMessage={upgradeMessage} + dateFormat={dateFormat} + /> + ); + }; + + return ( + <LogstashTemplate + title={title} + pageTitle={pageTitle} + getPageData={getPageData} + data-test-subj="elasticsearchOverviewPage" + cluster={cluster} + > + <div data-test-subj="elasticsearchOverviewPage">{renderOverview(data)}</div> + </LogstashTemplate> + ); +}; + +function makeUpgradeMessage(logstashVersions: any) { + if ( + !Array.isArray(logstashVersions) || + logstashVersions.length === 0 || + logstashVersions.some(isPipelineMonitoringSupportedInVersion) + ) { + return null; + } + + return 'Pipeline monitoring is only available in Logstash version 6.0.0 or higher.'; +} diff --git a/x-pack/plugins/monitoring/public/application/pages/page_template.tsx b/x-pack/plugins/monitoring/public/application/pages/page_template.tsx index 7c6a6c56a1322..927c464552087 100644 --- a/x-pack/plugins/monitoring/public/application/pages/page_template.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/page_template.tsx @@ -12,7 +12,11 @@ import { useTitle } from '../hooks/use_title'; import { MonitoringToolbar } from '../../components/shared/toolbar'; import { MonitoringTimeContainer } from '../hooks/use_monitoring_time'; import { PageLoading } from '../../components'; -import { getSetupModeState, isSetupModeFeatureEnabled } from '../setup_mode/setup_mode'; +import { + getSetupModeState, + isSetupModeFeatureEnabled, + updateSetupModeData, +} from '../setup_mode/setup_mode'; import { SetupModeFeature } from '../../../common/enums'; export interface TabMenuItem { @@ -54,7 +58,12 @@ export const PageTemplate: React.FC<PageTemplateProps> = ({ }, [getPageData, currentTimerange]); const onRefresh = () => { - getPageData?.().catch((err) => { + const requests = [getPageData?.()]; + if (isSetupModeFeatureEnabled(SetupModeFeature.MetricbeatMigration)) { + requests.push(updateSetupModeData()); + } + + Promise.allSettled(requests).then((results) => { // TODO: handle errors }); }; diff --git a/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode_renderer.d.ts b/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode_renderer.d.ts index 27462f07c07be..48e8ee13059c0 100644 --- a/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode_renderer.d.ts +++ b/x-pack/plugins/monitoring/public/application/setup_mode/setup_mode_renderer.d.ts @@ -6,3 +6,9 @@ */ export const SetupModeRenderer: FunctionComponent<Props>; + +export interface SetupModeProps { + setupMode: any; + flyoutComponent: any; + bottomBarComponent: any; +} diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard_react.test.js.snap b/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard_react.test.js.snap new file mode 100644 index 0000000000000..9302c86a222b1 --- /dev/null +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard_react.test.js.snap @@ -0,0 +1,185 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`CcrShardReact that is renders an exception properly 1`] = ` +<EuiPanel> + <Status + formattedLeader="leader on remote" + oldestStat={ + Object { + "failed_read_requests": 0, + "operations_written": 2976, + } + } + stat={ + Object { + "failed_read_requests": 0, + "follower_global_checkpoint": 3049, + "follower_index": "follower", + "follower_max_seq_no": 3049, + "last_requested_seq_no": 3049, + "leader_global_checkpoint": 3049, + "leader_index": "leader", + "leader_max_seq_no": 3049, + "mapping_version": 2, + "number_of_concurrent_reads": 1, + "number_of_concurrent_writes": 0, + "number_of_failed_bulk_operations": 0, + "number_of_queued_writes": 0, + "number_of_successful_bulk_operations": 3050, + "number_of_successful_fetches": 3050, + "operations_received": 3050, + "operations_written": 3050, + "read_exceptions": Array [ + Object { + "reason": "not sure but something happened", + "type": "something_is_wrong", + }, + ], + "shard_id": 0, + "time_since_last_read_millis": 9402, + "total_fetch_time_millis": 44128980, + "total_index_time_millis": 41827, + "total_transferred_bytes": 234156, + } + } + /> +</EuiPanel> +`; + +exports[`CcrShardReact that it renders normally 1`] = ` +<EuiPage> + <EuiPageBody> + <EuiPanel> + <Status + formattedLeader="leader on remote" + oldestStat={ + Object { + "failed_read_requests": 0, + "operations_written": 2976, + } + } + stat={ + Object { + "failed_read_requests": 0, + "follower_global_checkpoint": 3049, + "follower_index": "follower", + "follower_max_seq_no": 3049, + "last_requested_seq_no": 3049, + "leader_global_checkpoint": 3049, + "leader_index": "leader", + "leader_max_seq_no": 3049, + "mapping_version": 2, + "number_of_concurrent_reads": 1, + "number_of_concurrent_writes": 0, + "number_of_failed_bulk_operations": 0, + "number_of_queued_writes": 0, + "number_of_successful_bulk_operations": 3050, + "number_of_successful_fetches": 3050, + "operations_received": 3050, + "operations_written": 3050, + "read_exceptions": Array [], + "shard_id": 0, + "time_since_last_read_millis": 9402, + "total_fetch_time_millis": 44128980, + "total_index_time_millis": 41827, + "total_transferred_bytes": 234156, + } + } + /> + </EuiPanel> + <EuiSpacer + size="m" + /> + <AlertsCallout /> + <EuiSpacer + size="m" + /> + <EuiFlexGroup + wrap={true} + > + <EuiFlexItem + key="0" + style={ + Object { + "minWidth": "45%", + } + } + > + <EuiPanel> + <MonitoringTimeseriesContainer /> + </EuiPanel> + </EuiFlexItem> + <EuiFlexItem + key="1" + style={ + Object { + "minWidth": "45%", + } + } + > + <EuiPanel> + <MonitoringTimeseriesContainer /> + </EuiPanel> + </EuiFlexItem> + </EuiFlexGroup> + <EuiHorizontalRule /> + <EuiAccordion + arrowDisplay="left" + buttonContent={ + <EuiTitle> + <h2> + <FormattedMessage + defaultMessage="Advanced" + id="xpack.monitoring.elasticsearch.ccrShard.latestStateAdvancedButtonLabel" + values={Object {}} + /> + </h2> + </EuiTitle> + } + id="ccrLatestStat" + initialIsOpen={false} + isLoading={false} + isLoadingMessage={false} + paddingSize="l" + > + <EuiTitle + size="s" + > + <h2> + September 27, 2018 9:32:09 AM + </h2> + </EuiTitle> + <EuiHorizontalRule /> + <EuiCodeBlock + language="json" + > + { + "read_exceptions": [], + "follower_global_checkpoint": 3049, + "follower_index": "follower", + "follower_max_seq_no": 3049, + "last_requested_seq_no": 3049, + "leader_global_checkpoint": 3049, + "leader_index": "leader", + "leader_max_seq_no": 3049, + "mapping_version": 2, + "number_of_concurrent_reads": 1, + "number_of_concurrent_writes": 0, + "number_of_failed_bulk_operations": 0, + "failed_read_requests": 0, + "operations_written": 3050, + "number_of_queued_writes": 0, + "number_of_successful_bulk_operations": 3050, + "number_of_successful_fetches": 3050, + "operations_received": 3050, + "shard_id": 0, + "time_since_last_read_millis": 9402, + "total_fetch_time_millis": 44128980, + "total_index_time_millis": 41827, + "total_transferred_bytes": 234156 +} + </EuiCodeBlock> + </EuiAccordion> + </EuiPageBody> +</EuiPage> +`; diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard_react.js b/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard_react.js new file mode 100644 index 0000000000000..65586d602c85e --- /dev/null +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard_react.js @@ -0,0 +1,145 @@ +/* + * 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 React, { Fragment } from 'react'; +import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; +import { + EuiPage, + EuiPageBody, + EuiPanel, + EuiFlexGroup, + EuiFlexItem, + EuiSpacer, + EuiTitle, + EuiBasicTable, + EuiCodeBlock, + EuiTextColor, + EuiHorizontalRule, + EuiAccordion, +} from '@elastic/eui'; +import { MonitoringTimeseriesContainer } from '../../chart'; +import { Status } from './status'; +import { formatDateTimeLocal } from '../../../../common/formatting'; +import { FormattedMessage } from '@kbn/i18n/react'; +import { i18n } from '@kbn/i18n'; +import { AlertsCallout } from '../../../alerts/callout'; + +export function CcrShardReact(props) { + const { services } = useKibana(); + const timezone = services.uiSettings?.get('dateFormat:tz'); + const { metrics, stat, timestamp, oldestStat, formattedLeader, alerts } = props; + const renderCharts = () => { + const seriesToShow = [metrics.ccr_sync_lag_ops, metrics.ccr_sync_lag_time]; + + const charts = seriesToShow.map((data, index) => ( + <EuiFlexItem style={{ minWidth: '45%' }} key={index}> + <EuiPanel> + <MonitoringTimeseriesContainer series={data} /> + </EuiPanel> + </EuiFlexItem> + )); + + return <Fragment>{charts}</Fragment>; + }; + + const renderErrors = () => { + if (stat.read_exceptions && stat.read_exceptions.length > 0) { + return ( + <Fragment> + <EuiPanel> + <EuiTitle size="s" color="danger"> + <h3> + <EuiTextColor color="danger"> + <FormattedMessage + id="xpack.monitoring.elasticsearch.ccrShard.errorsTableTitle" + defaultMessage="Errors" + /> + </EuiTextColor> + </h3> + </EuiTitle> + <EuiSpacer size="s" /> + <EuiBasicTable + items={stat.read_exceptions} + columns={[ + { + name: i18n.translate( + 'xpack.monitoring.elasticsearch.ccrShard.errorsTable.typeColumnTitle', + { + defaultMessage: 'Type', + } + ), + field: 'exception.type', + }, + { + name: i18n.translate( + 'xpack.monitoring.elasticsearch.ccrShard.errorsTable.reasonColumnTitle', + { + defaultMessage: 'Reason', + } + ), + field: 'exception.reason', + width: '75%', + }, + ]} + /> + </EuiPanel> + <EuiHorizontalRule /> + </Fragment> + ); + } + return null; + }; + + const renderLatestStat = () => { + return ( + <EuiAccordion + id="ccrLatestStat" + buttonContent={ + <EuiTitle> + <h2> + <FormattedMessage + id="xpack.monitoring.elasticsearch.ccrShard.latestStateAdvancedButtonLabel" + defaultMessage="Advanced" + /> + </h2> + </EuiTitle> + } + paddingSize="l" + > + <Fragment> + <EuiTitle size="s"> + <h2>{formatDateTimeLocal(timestamp, timezone)}</h2> + </EuiTitle> + <EuiHorizontalRule /> + <EuiCodeBlock language="json">{JSON.stringify(stat, null, 2)}</EuiCodeBlock> + </Fragment> + </EuiAccordion> + ); + }; + + return ( + <EuiPage> + <EuiPageBody> + <EuiPanel> + <Status + stat={stat} + formattedLeader={formattedLeader} + oldestStat={oldestStat} + alerts={alerts} + /> + </EuiPanel> + <EuiSpacer size="m" /> + <AlertsCallout alerts={alerts} /> + <EuiSpacer size="m" /> + {renderErrors()} + <EuiFlexGroup wrap>{renderCharts()}</EuiFlexGroup> + <EuiHorizontalRule /> + {renderLatestStat()} + </EuiPageBody> + </EuiPage> + ); +} diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard_react.test.js b/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard_react.test.js new file mode 100644 index 0000000000000..afd289a33457a --- /dev/null +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard_react.test.js @@ -0,0 +1,82 @@ +/* + * 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 React from 'react'; +import { shallow } from 'enzyme'; +import { CcrShardReact } from './ccr_shard_react'; + +jest.mock('../../../legacy_shims', () => { + return { + Legacy: { + shims: { getAngularInjector: () => ({ get: () => ({ get: () => 'utc' }) }) }, + }, + }; +}); + +jest.mock('../../chart', () => ({ + MonitoringTimeseriesContainer: () => 'MonitoringTimeseriesContainer', +})); + +describe('CcrShardReact', () => { + const props = { + formattedLeader: 'leader on remote', + metrics: [], + stat: { + read_exceptions: [], + follower_global_checkpoint: 3049, + follower_index: 'follower', + follower_max_seq_no: 3049, + last_requested_seq_no: 3049, + leader_global_checkpoint: 3049, + leader_index: 'leader', + leader_max_seq_no: 3049, + mapping_version: 2, + number_of_concurrent_reads: 1, + number_of_concurrent_writes: 0, + number_of_failed_bulk_operations: 0, + failed_read_requests: 0, + operations_written: 3050, + number_of_queued_writes: 0, + number_of_successful_bulk_operations: 3050, + number_of_successful_fetches: 3050, + operations_received: 3050, + shard_id: 0, + time_since_last_read_millis: 9402, + total_fetch_time_millis: 44128980, + total_index_time_millis: 41827, + total_transferred_bytes: 234156, + }, + oldestStat: { + failed_read_requests: 0, + operations_written: 2976, + }, + timestamp: '2018-09-27T13:32:09.412Z', + }; + + test('that it renders normally', () => { + const component = shallow(<CcrShardReact {...props} />); + expect(component).toMatchSnapshot(); + }); + + test('that is renders an exception properly', () => { + const localProps = { + ...props, + stat: { + ...props.stat, + read_exceptions: [ + { + type: 'something_is_wrong', + reason: 'not sure but something happened', + }, + ], + }, + }; + + const component = shallow(<CcrShardReact {...localProps} />); + expect(component.find('EuiPanel').get(0)).toMatchSnapshot(); + }); +}); diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/index.js b/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/index.js index 4cfd362b8ab0c..036a21e9b8a72 100644 --- a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/index.js +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/index.js @@ -6,3 +6,4 @@ */ export { CcrShard } from './ccr_shard'; +export { CcrShardReact } from './ccr_shard_react'; diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/status.js b/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/status.js index 2f88b2da8e09b..c6884c541f415 100644 --- a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/status.js +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/status.js @@ -14,7 +14,8 @@ import { AlertsStatus } from '../../../alerts/status'; export function Status({ stat, formattedLeader, oldestStat, alerts = {} }) { const followerIndex = stat.follower_index || get(stat, 'follower.index'); - const shardId = stat.shard_id || get(stat, 'follower.shard.number'); + const shardId = + typeof stat.shard_id === 'number' ? stat.shard_id : get(stat, 'follower.shard.number'); const operationsReceived = stat.operations_written || get(stat, 'follower.operations_written'); const failedFetches = stat.failed_read_requests || get(stat, 'requests.failed.read.count'); const oldestOperationsReceived = diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.d.ts b/x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.d.ts new file mode 100644 index 0000000000000..b7196d25d1791 --- /dev/null +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.d.ts @@ -0,0 +1,8 @@ +/* + * 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. + */ + +export const ClusterStatus: FunctionComponent<Props>; diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index.d.ts b/x-pack/plugins/monitoring/public/components/elasticsearch/index.d.ts index 434115df0762c..09f6c1085cfa3 100644 --- a/x-pack/plugins/monitoring/public/components/elasticsearch/index.d.ts +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/index.d.ts @@ -8,4 +8,5 @@ export const ElasticsearchOverview: FunctionComponent<Props>; export const ElasticsearchNodes: FunctionComponent<Props>; export const ElasticsearchIndices: FunctionComponent<Props>; +export const ElasticsearchMLJobs: FunctionComponent<Props>; export const NodeReact: FunctionComponent<Props>; diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index.js b/x-pack/plugins/monitoring/public/components/elasticsearch/index.js index acbd3da5a2f97..6a7dbe609c433 100644 --- a/x-pack/plugins/monitoring/public/components/elasticsearch/index.js +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/index.js @@ -9,3 +9,4 @@ export { ElasticsearchOverview } from './overview'; export { ElasticsearchNodes } from './nodes'; export { NodeReact } from './node'; export { ElasticsearchIndices } from './indices'; +export { ElasticsearchMLJobs } from './ml_jobs'; diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.js b/x-pack/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.tsx similarity index 92% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.js rename to x-pack/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.tsx index 284280ef09e2f..d5c65aecdec21 100644 --- a/x-pack/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.js +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.tsx @@ -6,10 +6,10 @@ */ import React from 'react'; -import { StatusIcon } from '../../status_icon'; import { i18n } from '@kbn/i18n'; +import { StatusIcon } from '../../status_icon'; -export function MachineLearningJobStatusIcon({ status }) { +export function MachineLearningJobStatusIcon({ status }: { status: string }) { const type = (() => { const statusKey = status.toUpperCase(); diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/index.ts b/x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/index.ts new file mode 100644 index 0000000000000..12e22b01c3dd7 --- /dev/null +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/index.ts @@ -0,0 +1,8 @@ +/* + * 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. + */ + +export { ElasticsearchMLJobs } from './ml_jobs'; diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/ml_jobs.tsx b/x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/ml_jobs.tsx new file mode 100644 index 0000000000000..635f9ecd1e10a --- /dev/null +++ b/x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/ml_jobs.tsx @@ -0,0 +1,168 @@ +/* + * 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 { capitalize } from 'lodash'; +import numeral from '@elastic/numeral'; +import React from 'react'; +import { + EuiLink, + EuiPage, + EuiPageContent, + EuiPageBody, + EuiPanel, + EuiSpacer, + Pagination, + EuiTableSortingType, +} from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { FormattedMessage } from '@kbn/i18n/react'; + +import { LARGE_ABBREVIATED, LARGE_BYTES } from '../../../../common/formatting'; +import { getSafeForExternalLink } from '../../../lib/get_safe_for_external_link'; +import type { MLJobs } from '../../../types'; +import { EuiMonitoringTable } from '../../table'; +import { MachineLearningJobStatusIcon } from '../ml_job_listing/status_icon'; +import { ClusterStatus } from '../cluster_status'; + +interface Props { + clusterStatus: boolean; + jobs: MLJobs; + onTableChange: () => void; + sorting: EuiTableSortingType<string>; + pagination: Pagination; +} + +type MLJob = MLJobs[0]; + +export const ElasticsearchMLJobs = ({ + clusterStatus, + jobs, + sorting, + pagination, + onTableChange, +}: Props) => { + return ( + <EuiPage> + <EuiPageBody> + <EuiPanel> + <ClusterStatus stats={clusterStatus} /> + </EuiPanel> + <EuiSpacer size="m" /> + <EuiPageContent> + <EuiMonitoringTable + className="mlJobsTable" + rows={jobs} + columns={columns} + sorting={{ + ...sorting, + sort: { + ...sorting.sort, + field: 'job_id', + }, + }} + pagination={pagination} + message={i18n.translate( + 'xpack.monitoring.elasticsearch.mlJobListing.noJobsDescription', + { + defaultMessage: + 'There are no Machine Learning Jobs that match your query. Try changing the time range selection.', + } + )} + search={{ + box: { + incremental: true, + placeholder: i18n.translate( + 'xpack.monitoring.elasticsearch.mlJobListing.filterJobsPlaceholder', + { + defaultMessage: 'Filter Jobs…', + } + ), + }, + }} + onTableChange={onTableChange} + executeQueryOptions={{ + defaultFields: ['job_id'], + }} + /> + </EuiPageContent> + </EuiPageBody> + </EuiPage> + ); +}; + +const columns = [ + { + name: i18n.translate('xpack.monitoring.elasticsearch.mlJobListing.jobIdTitle', { + defaultMessage: 'Job ID', + }), + field: 'job_id', + sortable: true, + }, + { + name: i18n.translate('xpack.monitoring.elasticsearch.mlJobListing.stateTitle', { + defaultMessage: 'State', + }), + field: 'state', + sortable: true, + render: (state: string) => ( + <div> + <MachineLearningJobStatusIcon status={state} /> +   + {capitalize(state)} + </div> + ), + }, + { + name: i18n.translate('xpack.monitoring.elasticsearch.mlJobListing.processedRecordsTitle', { + defaultMessage: 'Processed Records', + }), + field: 'data_counts.processed_record_count', + sortable: true, + render: (value: unknown) => <span>{numeral(value).format(LARGE_ABBREVIATED)}</span>, + }, + { + name: i18n.translate('xpack.monitoring.elasticsearch.mlJobListing.modelSizeTitle', { + defaultMessage: 'Model Size', + }), + field: 'model_size_stats.model_bytes', + sortable: true, + render: (value: unknown) => <span>{numeral(value).format(LARGE_BYTES)}</span>, + }, + { + name: i18n.translate('xpack.monitoring.elasticsearch.mlJobListing.forecastsTitle', { + defaultMessage: 'Forecasts', + }), + field: 'forecasts_stats.total', + sortable: true, + render: (value: unknown) => <span>{numeral(value).format(LARGE_ABBREVIATED)}</span>, + }, + { + name: i18n.translate('xpack.monitoring.elasticsearch.mlJobListing.nodeTitle', { + defaultMessage: 'Node', + }), + field: 'node.name', + sortable: true, + render: (name: string, job: MLJob) => { + if (job.node) { + if ('id' in job.node) { + return ( + <EuiLink href={getSafeForExternalLink(`#/elasticsearch/nodes/${job.node.id}`)}> + {name} + </EuiLink> + ); + } else return <span>{name}</span>; + } + + return ( + <FormattedMessage + id="xpack.monitoring.elasticsearch.mlJobListing.noDataLabel" + defaultMessage="N/A" + /> + ); + }, + }, +]; diff --git a/x-pack/plugins/monitoring/public/components/status_icon/index.d.ts b/x-pack/plugins/monitoring/public/components/status_icon/index.d.ts new file mode 100644 index 0000000000000..147c2821e3a2a --- /dev/null +++ b/x-pack/plugins/monitoring/public/components/status_icon/index.d.ts @@ -0,0 +1,8 @@ +/* + * 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. + */ + +export const StatusIcon: FunctionComponent<Props>; diff --git a/x-pack/plugins/monitoring/public/components/table/index.d.ts b/x-pack/plugins/monitoring/public/components/table/index.d.ts index 6b54b3d97e5f1..23406ba9e3a5e 100644 --- a/x-pack/plugins/monitoring/public/components/table/index.d.ts +++ b/x-pack/plugins/monitoring/public/components/table/index.d.ts @@ -7,3 +7,4 @@ export const euiTableStorageGetter: (string) => any; export const euiTableStorageSetter: (string) => any; +export const EuiMonitoringTable: FunctionComponent<Props>; diff --git a/x-pack/plugins/monitoring/public/lib/fetch_clusters.ts b/x-pack/plugins/monitoring/public/lib/fetch_clusters.ts new file mode 100644 index 0000000000000..41cb1ab288a17 --- /dev/null +++ b/x-pack/plugins/monitoring/public/lib/fetch_clusters.ts @@ -0,0 +1,45 @@ +/* + * 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 { HttpHandler } from 'kibana/public'; +import { STANDALONE_CLUSTER_CLUSTER_UUID } from '../../common/constants'; + +interface Params { + timeRange: { min: string; max: string }; + fetch: HttpHandler; + clusterUuid?: string | null; + ccs?: boolean; + codePaths?: string[]; +} + +export function formatClusters(clusters: any) { + return clusters.map(formatCluster); +} + +export function formatCluster(cluster: any) { + if (cluster.cluster_uuid === STANDALONE_CLUSTER_CLUSTER_UUID) { + cluster.cluster_name = 'Standalone Cluster'; + } + return cluster; +} + +export const fetchClusters = async ({ clusterUuid, timeRange, fetch, ccs, codePaths }: Params) => { + let url = '../api/monitoring/v1/clusters'; + if (clusterUuid) { + url += `/${clusterUuid}`; + } + const response = await fetch(url, { + method: 'POST', + body: JSON.stringify({ + ccs, + timeRange, + codePaths, + }), + }); + + return formatClusters(response); +}; diff --git a/x-pack/plugins/monitoring/public/types.ts b/x-pack/plugins/monitoring/public/types.ts index da65a3a3d64f1..a09c87dda1afa 100644 --- a/x-pack/plugins/monitoring/public/types.ts +++ b/x-pack/plugins/monitoring/public/types.ts @@ -14,6 +14,8 @@ import { UsageCollectionSetup } from '../../../../src/plugins/usage_collection/p // eslint-disable-next-line @kbn/eslint/no-restricted-paths export { MonitoringConfig } from '../server'; +// eslint-disable-next-line @kbn/eslint/no-restricted-paths +export { MLJobs } from '../server/lib/elasticsearch/get_ml_jobs'; export interface MonitoringStartPluginDependencies { navigation: NavigationStart; diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.ts b/x-pack/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.ts index df44036cd0cd8..b0c82bdc0f502 100644 --- a/x-pack/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.ts +++ b/x-pack/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.ts @@ -35,6 +35,8 @@ export function handleResponse(response: ElasticsearchResponse) { ); } +export type MLJobs = ReturnType<typeof handleResponse>; + export function getMlJobs(req: LegacyRequest, esIndexPattern: string) { checkParam(esIndexPattern, 'esIndexPattern in getMlJobs'); diff --git a/x-pack/plugins/monitoring/server/plugin.ts b/x-pack/plugins/monitoring/server/plugin.ts index 18eb8fd4d4ddb..25fffd94d86a4 100644 --- a/x-pack/plugins/monitoring/server/plugin.ts +++ b/x-pack/plugins/monitoring/server/plugin.ts @@ -128,6 +128,7 @@ export class MonitoringPlugin for (const alert of alerts) { plugins.alerting?.registerType(alert.getRuleType()); } + const config = createConfig(this.initializerContext.config.get<TypeOf<typeof configSchema>>()); // Register collector objects for stats to show up in the APIs diff --git a/x-pack/plugins/observability/kibana.json b/x-pack/plugins/observability/kibana.json index 07299f2e6ff1c..822e0cf9efe7c 100644 --- a/x-pack/plugins/observability/kibana.json +++ b/x-pack/plugins/observability/kibana.json @@ -23,6 +23,7 @@ "cases", "data", "features", + "inspector", "ruleRegistry", "timelines", "triggersActionsUi" diff --git a/x-pack/plugins/observability/public/components/app/empty_sections/index.tsx b/x-pack/plugins/observability/public/components/app/empty_sections/index.tsx index 47417a2bbb545..21aaba99ac5dc 100644 --- a/x-pack/plugins/observability/public/components/app/empty_sections/index.tsx +++ b/x-pack/plugins/observability/public/components/app/empty_sections/index.tsx @@ -50,8 +50,8 @@ export function EmptySections() { <EuiFlexItem key={app.id} style={{ - border: `1px dashed ${theme.eui.euiBorderColor}`, - borderRadius: '4px', + border: `${theme.eui.euiBorderEditable}`, + borderRadius: `${theme.eui.euiBorderRadius}`, }} > <EmptySection section={app} /> diff --git a/x-pack/plugins/observability/public/components/shared/date_picker/index.tsx b/x-pack/plugins/observability/public/components/shared/date_picker/index.tsx index abbbee9e2deaa..c64d4353e613b 100644 --- a/x-pack/plugins/observability/public/components/shared/date_picker/index.tsx +++ b/x-pack/plugins/observability/public/components/shared/date_picker/index.tsx @@ -84,7 +84,6 @@ export function DatePicker({ rangeFrom, rangeTo, refreshPaused, refreshInterval function onTimeChange({ start, end }: { start: string; end: string }) { updateUrl({ rangeFrom: start, rangeTo: end }); - onRefreshTimeRange(); } return ( @@ -96,7 +95,7 @@ export function DatePicker({ rangeFrom, rangeTo, refreshPaused, refreshInterval refreshInterval={refreshInterval} onRefreshChange={onRefreshChange} commonlyUsedRanges={commonlyUsedRanges} - onRefresh={onTimeChange} + onRefresh={onRefreshTimeRange} /> ); } diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/components/date_range_picker.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/components/date_range_picker.tsx index aabde404aa7b4..643f01d570ead 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/components/date_range_picker.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/components/date_range_picker.tsx @@ -91,6 +91,7 @@ export function DateRangePicker({ seriesId, series }: { seriesId: number; series })} dateFormat={dateFormat.replace('ss.SSS', 'ss')} showTimeSelect + popoverPlacement="left" /> } endDateControl={ @@ -105,6 +106,7 @@ export function DateRangePicker({ seriesId, series }: { seriesId: number; series })} dateFormat={dateFormat.replace('ss.SSS', 'ss')} showTimeSelect + popoverPlacement="left" /> } /> diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/constants/constants.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/constants/constants.ts index bf5feb7d5863c..68dcd77e98990 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/constants/constants.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/constants/constants.ts @@ -45,6 +45,7 @@ import { TBT_LABEL, URL_LABEL, BACKEND_TIME_LABEL, + LABELS_FIELD, } from './labels'; export const DEFAULT_TIME = { from: 'now-1h', to: 'now' }; @@ -85,6 +86,8 @@ export const FieldLabels: Record<string, string> = { 'performance.metric': METRIC_LABEL, 'Business.KPI': KPI_LABEL, 'http.request.method': REQUEST_METHOD, + LABEL_FIELDS_FILTER: LABELS_FIELD, + LABEL_FIELDS_BREAKDOWN: 'Labels field', }; export const DataViewLabels: Record<ReportViewType, string> = { @@ -113,3 +116,6 @@ export const TERMS_COLUMN = 'TERMS_COLUMN'; export const OPERATION_COLUMN = 'operation'; export const REPORT_METRIC_FIELD = 'REPORT_METRIC_FIELD'; + +export const LABEL_FIELDS_FILTER = 'LABEL_FIELDS_FILTER'; +export const LABEL_FIELDS_BREAKDOWN = 'LABEL_FIELDS_BREAKDOWN'; diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/constants/labels.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/constants/labels.ts index 5a3e773f7d8ee..cdaa89fc71389 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/constants/labels.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/constants/labels.ts @@ -169,6 +169,15 @@ export const TAGS_LABEL = i18n.translate('xpack.observability.expView.fieldLabel export const METRIC_LABEL = i18n.translate('xpack.observability.expView.fieldLabels.metric', { defaultMessage: 'Metric', }); +export const LABELS_FIELD = i18n.translate('xpack.observability.expView.fieldLabels.labels', { + defaultMessage: 'Labels', +}); +export const LABELS_BREAKDOWN = i18n.translate( + 'xpack.observability.expView.fieldLabels.chooseField', + { + defaultMessage: 'Labels field', + } +); export const KPI_LABEL = i18n.translate('xpack.observability.expView.fieldLabels.kpi', { defaultMessage: 'KPI', }); diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.test.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.test.ts index 9e7c5254b511f..2781c26954234 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.test.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.test.ts @@ -246,6 +246,24 @@ describe('Lens Attribute', () => { }); }); + it('should hide y axis when there are multiple series', function () { + const lensAttrWithMultiSeries = new LensAttributes([layerConfig, layerConfig]).getJSON() as any; + expect(lensAttrWithMultiSeries.state.visualization.axisTitlesVisibilitySettings).toEqual({ + x: true, + yLeft: false, + yRight: false, + }); + }); + + it('should show y axis when there is a single series', function () { + const lensAttrWithMultiSeries = new LensAttributes([layerConfig]).getJSON() as any; + expect(lensAttrWithMultiSeries.state.visualization.axisTitlesVisibilitySettings).toEqual({ + x: true, + yLeft: true, + yRight: true, + }); + }); + it('should return first layer', function () { expect(lnsAttr.getLayers()).toEqual({ layer0: { diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts index ec2e6b5066c87..428ef54277fe2 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts @@ -98,6 +98,7 @@ export class LensAttributes { layers: Record<string, PersistedIndexPatternLayer>; visualization: XYState; layerConfigs: LayerConfig[]; + isMultiSeries: boolean; constructor(layerConfigs: LayerConfig[]) { this.layers = {}; @@ -114,6 +115,7 @@ export class LensAttributes { }); this.layerConfigs = layerConfigs; + this.isMultiSeries = layerConfigs.length > 1; this.layers = this.getLayers(); this.visualization = this.getXyState(); } @@ -505,7 +507,7 @@ export class LensAttributes { const existFilter = filter as ExistsFilter; if (isExistsFilter(existFilter)) { - const fieldName = existFilter.exists?.field; + const fieldName = existFilter.query.exists?.field; const kql = `${fieldName} : *`; if (baseFilters.length > 0) { baseFilters += ` and ${kql}`; @@ -612,7 +614,11 @@ export class LensAttributes { valueLabels: 'hide', fittingFunction: 'Linear', curveType: 'CURVE_MONOTONE_X' as XYCurveType, - axisTitlesVisibilitySettings: { x: true, yLeft: true, yRight: true }, + axisTitlesVisibilitySettings: { + x: true, + yLeft: !this.isMultiSeries, + yRight: !this.isMultiSeries, + }, tickLabelsVisibilitySettings: { x: true, yLeft: true, yRight: true }, gridlinesVisibilitySettings: { x: true, yLeft: true, yRight: true }, preferredSeriesType: 'line', diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/mobile/device_distribution_config.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/mobile/device_distribution_config.ts index 4e178bba7e02a..b66709d0e2286 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/mobile/device_distribution_config.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/mobile/device_distribution_config.ts @@ -6,7 +6,13 @@ */ import { ConfigProps, SeriesConfig } from '../../types'; -import { FieldLabels, REPORT_METRIC_FIELD, ReportTypes, USE_BREAK_DOWN_COLUMN } from '../constants'; +import { + FieldLabels, + LABEL_FIELDS_FILTER, + REPORT_METRIC_FIELD, + ReportTypes, + USE_BREAK_DOWN_COLUMN, +} from '../constants'; import { buildPhraseFilter } from '../utils'; import { SERVICE_NAME } from '../constants/elasticsearch_fieldnames'; import { MOBILE_APP, NUMBER_OF_DEVICES } from '../constants/labels'; @@ -27,7 +33,7 @@ export function getMobileDeviceDistributionConfig({ indexPattern }: ConfigProps) }, ], hasOperationType: false, - filterFields: Object.keys(MobileFields), + filterFields: [...Object.keys(MobileFields), LABEL_FIELDS_FILTER], breakdownFields: Object.keys(MobileFields), baseFilters: [ ...buildPhraseFilter('agent.name', 'iOS/swift', indexPattern), diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/mobile/distribution_config.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/mobile/distribution_config.ts index 1da27be4fcc95..7a924a3bbb38c 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/mobile/distribution_config.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/mobile/distribution_config.ts @@ -6,7 +6,13 @@ */ import { ConfigProps, SeriesConfig } from '../../types'; -import { FieldLabels, RECORDS_FIELD, REPORT_METRIC_FIELD, ReportTypes } from '../constants'; +import { + FieldLabels, + LABEL_FIELDS_FILTER, + RECORDS_FIELD, + REPORT_METRIC_FIELD, + ReportTypes, +} from '../constants'; import { buildPhrasesFilter } from '../utils'; import { METRIC_SYSTEM_CPU_USAGE, @@ -33,7 +39,7 @@ export function getMobileKPIDistributionConfig({ indexPattern }: ConfigProps): S }, ], hasOperationType: false, - filterFields: Object.keys(MobileFields), + filterFields: [...Object.keys(MobileFields), LABEL_FIELDS_FILTER], breakdownFields: Object.keys(MobileFields), baseFilters: [ ...buildPhrasesFilter('agent.name', ['iOS/swift', 'open-telemetry/swift'], indexPattern), diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/mobile/kpi_over_time_config.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/mobile/kpi_over_time_config.ts index 3ee5b3125fcda..30efa2fd9ec5c 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/mobile/kpi_over_time_config.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/mobile/kpi_over_time_config.ts @@ -8,6 +8,7 @@ import { ConfigProps, SeriesConfig } from '../../types'; import { FieldLabels, + LABEL_FIELDS_FILTER, OPERATION_COLUMN, RECORDS_FIELD, REPORT_METRIC_FIELD, @@ -45,7 +46,7 @@ export function getMobileKPIConfig({ indexPattern }: ConfigProps): SeriesConfig }, ], hasOperationType: true, - filterFields: Object.keys(MobileFields), + filterFields: [...Object.keys(MobileFields), LABEL_FIELDS_FILTER], breakdownFields: Object.keys(MobileFields), baseFilters: [ ...buildPhrasesFilter('agent.name', ['iOS/swift', 'open-telemetry/swift'], indexPattern), diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/rum/core_web_vitals_config.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/rum/core_web_vitals_config.ts index e8d620388a89e..e5113211e0a62 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/rum/core_web_vitals_config.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/rum/core_web_vitals_config.ts @@ -10,6 +10,7 @@ import { ConfigProps, SeriesConfig } from '../../types'; import { FieldLabels, FILTER_RECORDS, + LABEL_FIELDS_FILTER, REPORT_METRIC_FIELD, ReportTypes, USE_BREAK_DOWN_COLUMN, @@ -75,6 +76,7 @@ export function getCoreWebVitalsConfig({ indexPattern }: ConfigProps): SeriesCon field: USER_AGENT_NAME, nested: USER_AGENT_VERSION, }, + LABEL_FIELDS_FILTER, ], breakdownFields: [ SERVICE_NAME, diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/rum/data_distribution_config.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/rum/data_distribution_config.ts index de6f2c67b2aeb..7796b381423bf 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/rum/data_distribution_config.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/rum/data_distribution_config.ts @@ -11,6 +11,7 @@ import { REPORT_METRIC_FIELD, RECORDS_PERCENTAGE_FIELD, ReportTypes, + LABEL_FIELDS_FILTER, } from '../constants'; import { buildPhraseFilter } from '../utils'; import { @@ -71,6 +72,7 @@ export function getRumDistributionConfig({ indexPattern }: ConfigProps): SeriesC field: USER_AGENT_NAME, nested: USER_AGENT_VERSION, }, + LABEL_FIELDS_FILTER, ], breakdownFields: [USER_AGENT_NAME, USER_AGENT_OS, CLIENT_GEO_COUNTRY_NAME, USER_AGENT_DEVICE], definitionFields: [SERVICE_NAME, SERVICE_ENVIRONMENT], diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/rum/kpi_over_time_config.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/rum/kpi_over_time_config.ts index 9112778eadaa7..de4f6b2198dbd 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/rum/kpi_over_time_config.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/rum/kpi_over_time_config.ts @@ -8,6 +8,8 @@ import { ConfigProps, SeriesConfig } from '../../types'; import { FieldLabels, + LABEL_FIELDS_BREAKDOWN, + LABEL_FIELDS_FILTER, OPERATION_COLUMN, RECORDS_FIELD, REPORT_METRIC_FIELD, @@ -72,8 +74,15 @@ export function getKPITrendsLensConfig({ indexPattern }: ConfigProps): SeriesCon field: USER_AGENT_NAME, nested: USER_AGENT_VERSION, }, + LABEL_FIELDS_FILTER, + ], + breakdownFields: [ + USER_AGENT_NAME, + USER_AGENT_OS, + CLIENT_GEO_COUNTRY_NAME, + USER_AGENT_DEVICE, + LABEL_FIELDS_BREAKDOWN, ], - breakdownFields: [USER_AGENT_NAME, USER_AGENT_OS, CLIENT_GEO_COUNTRY_NAME, USER_AGENT_DEVICE], baseFilters: [ ...buildPhraseFilter(TRANSACTION_TYPE, 'page-load', indexPattern), ...buildPhraseFilter(PROCESSOR_EVENT, 'transaction', indexPattern), diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx new file mode 100644 index 0000000000000..10ec4075a8155 --- /dev/null +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/embeddable.tsx @@ -0,0 +1,98 @@ +/* + * 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 React, { useState } from 'react'; +import { EuiFlexGroup, EuiFlexItem, EuiText, EuiTitle } from '@elastic/eui'; +import styled from 'styled-components'; +import { AllSeries, useTheme } from '../../../..'; +import { LayerConfig, LensAttributes } from '../configurations/lens_attributes'; +import { ReportViewType } from '../types'; +import { getLayerConfigs } from '../hooks/use_lens_attributes'; +import { LensPublicStart } from '../../../../../../lens/public'; +import { OperationTypeComponent } from '../series_editor/columns/operation_type_select'; +import { IndexPatternState } from '../hooks/use_app_index_pattern'; + +export interface ExploratoryEmbeddableProps { + reportType: ReportViewType; + attributes: AllSeries; + appendTitle?: JSX.Element; + title: string | JSX.Element; + showCalculationMethod?: boolean; +} + +export interface ExploratoryEmbeddableComponentProps extends ExploratoryEmbeddableProps { + lens: LensPublicStart; + indexPatterns: IndexPatternState; +} + +// eslint-disable-next-line import/no-default-export +export default function Embeddable({ + reportType, + attributes, + title, + appendTitle, + indexPatterns, + lens, + showCalculationMethod = false, +}: ExploratoryEmbeddableComponentProps) { + const LensComponent = lens?.EmbeddableComponent; + + const series = Object.entries(attributes)[0][1]; + + const [operationType, setOperationType] = useState(series?.operationType); + const theme = useTheme(); + + const layerConfigs: LayerConfig[] = getLayerConfigs(attributes, reportType, theme, indexPatterns); + + if (layerConfigs.length < 1) { + return null; + } + const lensAttributes = new LensAttributes(layerConfigs); + + if (!LensComponent) { + return <EuiText>No lens component</EuiText>; + } + + return ( + <Wrapper> + <EuiFlexGroup> + <EuiFlexItem> + <EuiTitle size="s"> + <h3>{title}</h3> + </EuiTitle> + </EuiFlexItem> + {showCalculationMethod && ( + <EuiFlexItem grow={false} style={{ minWidth: 150 }}> + <OperationTypeComponent + operationType={operationType} + onChange={(val) => { + setOperationType(val); + }} + /> + </EuiFlexItem> + )} + {appendTitle} + </EuiFlexGroup> + <LensComponent + id="exploratoryView" + style={{ height: '100%' }} + timeRange={series?.time} + attributes={lensAttributes.getJSON()} + onBrushEnd={({ range }) => {}} + /> + </Wrapper> + ); +} + +const Wrapper = styled.div` + height: 100%; + &&& { + > :nth-child(2) { + height: calc(100% - 56px); + } + } +`; diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/index.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/index.tsx new file mode 100644 index 0000000000000..ad84880de5eb1 --- /dev/null +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/embeddable/index.tsx @@ -0,0 +1,66 @@ +/* + * 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 React, { useCallback, useEffect, useState } from 'react'; +import { EuiLoadingSpinner } from '@elastic/eui'; +import { CoreStart } from 'kibana/public'; +import type { ExploratoryEmbeddableProps, ExploratoryEmbeddableComponentProps } from './embeddable'; +import { ObservabilityIndexPatterns } from '../utils/observability_index_patterns'; +import { ObservabilityPublicPluginsStart } from '../../../../plugin'; +import type { IndexPatternState } from '../hooks/use_app_index_pattern'; +import { EuiThemeProvider } from '../../../../../../../../src/plugins/kibana_react/common'; + +const Embeddable = React.lazy(() => import('./embeddable')); + +function ExploratoryViewEmbeddable(props: ExploratoryEmbeddableComponentProps) { + return ( + <React.Suspense fallback={<EuiLoadingSpinner />}> + <Embeddable {...props} /> + </React.Suspense> + ); +} + +export function getExploratoryViewEmbeddable( + core: CoreStart, + plugins: ObservabilityPublicPluginsStart +) { + return (props: ExploratoryEmbeddableProps) => { + const [indexPatterns, setIndexPatterns] = useState<IndexPatternState>({} as IndexPatternState); + const [loading, setLoading] = useState(false); + + const series = props.attributes[0]; + + const isDarkMode = core.uiSettings.get('theme:darkMode'); + + const loadIndexPattern = useCallback(async ({ dataType }) => { + setLoading(true); + try { + const obsvIndexP = new ObservabilityIndexPatterns(plugins.data); + const indPattern = await obsvIndexP.getIndexPattern(dataType, 'heartbeat-*'); + setIndexPatterns((prevState) => ({ ...(prevState ?? {}), [dataType]: indPattern })); + + setLoading(false); + } catch (e) { + setLoading(false); + } + }, []); + + useEffect(() => { + loadIndexPattern({ dataType: series.dataType }); + }, [series.dataType, loadIndexPattern]); + + if (Object.keys(indexPatterns).length === 0 || loading) { + return <EuiLoadingSpinner />; + } + + return ( + <EuiThemeProvider darkMode={isDarkMode}> + <ExploratoryViewEmbeddable {...props} indexPatterns={indexPatterns} lens={plugins.lens} /> + </EuiThemeProvider> + ); + }; +} diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/exploratory_view.test.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/exploratory_view.test.tsx index 8f061fcbfbf26..87ae00b3c72e7 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/exploratory_view.test.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/exploratory_view.test.tsx @@ -51,9 +51,7 @@ describe('ExploratoryView', () => { expect(await screen.findByText(/No series found. Please add a series./i)).toBeInTheDocument(); expect(await screen.findByText(/Hide chart/i)).toBeInTheDocument(); expect(await screen.findByText(/Refresh/i)).toBeInTheDocument(); - expect( - await screen.findByRole('heading', { name: /Performance Distribution/i }) - ).toBeInTheDocument(); + expect(await screen.findByRole('heading', { name: /Explore data/i })).toBeInTheDocument(); }); it('renders lens component when there is series', async () => { diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/header/header.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/header/header.tsx index bec8673f88b4e..59b146ae9af1a 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/header/header.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/header/header.tsx @@ -9,7 +9,6 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; import { EuiBetaBadge, EuiButton, EuiFlexGroup, EuiFlexItem, EuiText } from '@elastic/eui'; import { TypedLensByValueInput } from '../../../../../../lens/public'; -import { DataViewLabels } from '../configurations/constants'; import { useSeriesStorage } from '../hooks/use_series_storage'; import { LastUpdated } from './last_updated'; import { combineTimeRanges } from '../lens_embeddable'; @@ -35,10 +34,9 @@ export function ExploratoryViewHeader({ seriesId, lensAttributes, lastUpdated }: <EuiFlexItem> <EuiText> <h2> - {DataViewLabels[reportType] ?? - i18n.translate('xpack.observability.expView.heading.label', { - defaultMessage: 'Analyze data', - })}{' '} + {i18n.translate('xpack.observability.expView.heading.label', { + defaultMessage: 'Explore data', + })}{' '} <EuiBetaBadge style={{ verticalAlign: `middle`, diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_lens_attributes.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_lens_attributes.ts index ef974d54e6cdc..23eee140b68cf 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_lens_attributes.ts +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_lens_attributes.ts @@ -17,10 +17,12 @@ import { } from './use_series_storage'; import { getDefaultConfigs } from '../configurations/default_configs'; -import { SeriesUrl, UrlFilter } from '../types'; -import { useAppIndexPatternContext } from './use_app_index_pattern'; +import { ReportViewType, SeriesUrl, UrlFilter } from '../types'; +import { IndexPatternState, useAppIndexPatternContext } from './use_app_index_pattern'; import { ALL_VALUES_SELECTED } from '../../field_value_suggestions/field_value_combobox'; import { useTheme } from '../../../../hooks/use_theme'; +import { EuiTheme } from '../../../../../../../../src/plugins/kibana_react/common'; +import { LABEL_FIELDS_BREAKDOWN } from '../configurations/constants'; export const getFiltersFromDefs = (reportDefinitions: SeriesUrl['reportDefinitions']) => { return Object.entries(reportDefinitions ?? {}) @@ -33,6 +35,54 @@ export const getFiltersFromDefs = (reportDefinitions: SeriesUrl['reportDefinitio .filter(({ values }) => !values.includes(ALL_VALUES_SELECTED)) as UrlFilter[]; }; +export function getLayerConfigs( + allSeries: AllSeries, + reportType: ReportViewType, + theme: EuiTheme, + indexPatterns: IndexPatternState +) { + const layerConfigs: LayerConfig[] = []; + + allSeries.forEach((series, seriesIndex) => { + const indexPattern = indexPatterns?.[series?.dataType]; + + if ( + indexPattern && + !isEmpty(series.reportDefinitions) && + !series.hidden && + series.selectedMetricField + ) { + const seriesConfig = getDefaultConfigs({ + reportType, + indexPattern, + dataType: series.dataType, + }); + + const filters: UrlFilter[] = (series.filters ?? []).concat( + getFiltersFromDefs(series.reportDefinitions) + ); + + const color = `euiColorVis${seriesIndex}`; + + layerConfigs.push({ + filters, + indexPattern, + seriesConfig, + time: series.time, + name: series.name, + breakdown: series.breakdown === LABEL_FIELDS_BREAKDOWN ? undefined : series.breakdown, + seriesType: series.seriesType, + operationType: series.operationType, + reportDefinitions: series.reportDefinitions ?? {}, + selectedMetricField: series.selectedMetricField, + color: series.color ?? (theme.eui as unknown as Record<string, string>)[color], + }); + } + }); + + return layerConfigs; +} + export const useLensAttributes = (): TypedLensByValueInput['attributes'] | null => { const { storage, allSeries, lastRefresh, reportType } = useSeriesStorage(); @@ -47,44 +97,7 @@ export const useLensAttributes = (): TypedLensByValueInput['attributes'] | null const allSeriesT: AllSeries = convertAllShortSeries(storage.get(allSeriesKey) ?? []); - const layerConfigs: LayerConfig[] = []; - - allSeriesT.forEach((series, seriesIndex) => { - const indexPattern = indexPatterns?.[series?.dataType]; - - if ( - indexPattern && - !isEmpty(series.reportDefinitions) && - !series.hidden && - series.selectedMetricField - ) { - const seriesConfig = getDefaultConfigs({ - reportType, - indexPattern, - dataType: series.dataType, - }); - - const filters: UrlFilter[] = (series.filters ?? []).concat( - getFiltersFromDefs(series.reportDefinitions) - ); - - const color = `euiColorVis${seriesIndex}`; - - layerConfigs.push({ - filters, - indexPattern, - seriesConfig, - time: series.time, - name: series.name, - breakdown: series.breakdown, - seriesType: series.seriesType, - operationType: series.operationType, - reportDefinitions: series.reportDefinitions ?? {}, - selectedMetricField: series.selectedMetricField, - color: series.color ?? (theme.eui as unknown as Record<string, string>)[color], - }); - } - }); + const layerConfigs = getLayerConfigs(allSeriesT, reportType, theme, indexPatterns); if (layerConfigs.length < 1) { return null; diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_series_storage.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_series_storage.tsx index d9a5adc822140..85e166db94aaa 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_series_storage.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_series_storage.tsx @@ -25,7 +25,7 @@ export interface SeriesContextValue { firstSeries?: SeriesUrl; lastRefresh: number; setLastRefresh: (val: number) => void; - applyChanges: () => void; + applyChanges: (onApply?: () => void) => void; allSeries: AllSeries; setSeries: (seriesIndex: number, newValue: SeriesUrl) => void; getSeries: (seriesIndex: number) => SeriesUrl | undefined; @@ -103,12 +103,18 @@ export function UrlStorageContextProvider({ [allSeries] ); - const applyChanges = useCallback(() => { - const allShortSeries = allSeries.map((series) => convertToShortUrl(series)); + const applyChanges = useCallback( + (onApply?: () => void) => { + const allShortSeries = allSeries.map((series) => convertToShortUrl(series)); - (storage as IKbnUrlStateStorage).set(allSeriesKey, allShortSeries); - setLastRefresh(Date.now()); - }, [allSeries, storage]); + (storage as IKbnUrlStateStorage).set(allSeriesKey, allShortSeries); + setLastRefresh(Date.now()); + if (onApply) { + onApply(); + } + }, + [allSeries, storage] + ); const value = { applyChanges, diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/breakdowns.test.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/breakdown/breakdowns.test.tsx similarity index 100% rename from x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/breakdowns.test.tsx rename to x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/breakdown/breakdowns.test.tsx diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/breakdowns.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/breakdown/breakdowns.tsx similarity index 90% rename from x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/breakdowns.tsx rename to x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/breakdown/breakdowns.tsx index 6003ddbf0290f..cfd3d153a61c5 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/breakdowns.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/breakdown/breakdowns.tsx @@ -9,7 +9,7 @@ import React from 'react'; import { EuiSuperSelect } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { useSeriesStorage } from '../../hooks/use_series_storage'; -import { USE_BREAK_DOWN_COLUMN } from '../../configurations/constants'; +import { LABEL_FIELDS_BREAKDOWN, USE_BREAK_DOWN_COLUMN } from '../../configurations/constants'; import { SeriesConfig, SeriesUrl } from '../../types'; interface Props { @@ -62,9 +62,13 @@ export function Breakdowns({ seriesConfig, seriesId, series }: Props) { dropdownDisplay: label, })); - const valueOfSelected = + let valueOfSelected = selectedBreakdown || (hasUseBreakdownColumn ? options[0].value : NO_BREAKDOWN); + if (selectedBreakdown?.startsWith('labels.')) { + valueOfSelected = LABEL_FIELDS_BREAKDOWN; + } + return ( <EuiSuperSelect options={options} diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/breakdown/label_breakdown.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/breakdown/label_breakdown.tsx new file mode 100644 index 0000000000000..a5723ccb52648 --- /dev/null +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/breakdown/label_breakdown.tsx @@ -0,0 +1,68 @@ +/* + * 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 { EuiComboBox, EuiFlexItem } from '@elastic/eui'; +import React from 'react'; +import { i18n } from '@kbn/i18n'; +import { SeriesConfig, SeriesUrl } from '../../types'; +import { useAppIndexPatternContext } from '../../hooks/use_app_index_pattern'; +import { useSeriesStorage } from '../../hooks/use_series_storage'; +import { LABEL_FIELDS_BREAKDOWN } from '../../configurations/constants'; + +interface Props { + seriesId: number; + series: SeriesUrl; + seriesConfig?: SeriesConfig; +} +export function LabelsBreakdown({ series, seriesId }: Props) { + const { indexPattern } = useAppIndexPatternContext(series.dataType); + + const labelFields = indexPattern?.fields.filter((field) => field.name.startsWith('labels.')); + + const { setSeries } = useSeriesStorage(); + + const { breakdown } = series; + + const hasLabelBreakdown = + breakdown === LABEL_FIELDS_BREAKDOWN || breakdown?.startsWith('labels.'); + + if (!hasLabelBreakdown) { + return null; + } + + const labelFieldOptions = labelFields?.map((field) => { + return { + label: field.name, + value: field.name, + }; + }); + + return ( + <EuiFlexItem grow={false} style={{ minWidth: 200 }}> + <EuiComboBox + selectedOptions={labelFieldOptions?.filter((labelField) => labelField.label === breakdown)} + options={labelFieldOptions} + placeholder={CHOOSE_BREAKDOWN_FIELD} + onChange={(value) => { + setSeries(seriesId, { + ...series, + breakdown: value?.[0]?.label ?? LABEL_FIELDS_BREAKDOWN, + }); + }} + singleSelection={{ asPlainText: true }} + isInvalid={series.breakdown === LABEL_FIELDS_BREAKDOWN} + /> + </EuiFlexItem> + ); +} + +export const CHOOSE_BREAKDOWN_FIELD = i18n.translate( + 'xpack.observability.expView.seriesBuilder.labelField', + { + defaultMessage: 'Choose label field', + } +); diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/filter_expanded.test.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/filter_expanded.test.tsx index a88e2eadd10c9..0a5ac137a7870 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/filter_expanded.test.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/filter_expanded.test.tsx @@ -26,7 +26,7 @@ describe('FilterExpanded', function () { series={mockSeries} label={'Browser Family'} field={USER_AGENT_NAME} - filters={[]} + baseFilters={[]} />, { initSeries } ); @@ -45,7 +45,7 @@ describe('FilterExpanded', function () { series={mockSeries} label={'Browser Family'} field={USER_AGENT_NAME} - filters={[]} + baseFilters={[]} />, { initSeries } ); @@ -69,7 +69,7 @@ describe('FilterExpanded', function () { series={mockSeries} label={'Browser Family'} field={USER_AGENT_NAME} - filters={[]} + baseFilters={[]} />, { initSeries } ); @@ -99,7 +99,7 @@ describe('FilterExpanded', function () { series={mockUxSeries} label={'Browser Family'} field={USER_AGENT_NAME} - filters={[]} + baseFilters={[]} />, { initSeries } ); diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/filter_expanded.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/filter_expanded.tsx index 693b79c6dc831..09b9f443389ce 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/filter_expanded.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/filter_expanded.tsx @@ -5,37 +5,21 @@ * 2.0. */ -import React, { useState, Fragment } from 'react'; -import { - EuiFieldSearch, - EuiSpacer, - EuiFilterGroup, - EuiText, - EuiPopover, - EuiFilterButton, -} from '@elastic/eui'; -import styled from 'styled-components'; -import { rgba } from 'polished'; -import { i18n } from '@kbn/i18n'; -import { QueryDslQueryContainer } from '@elastic/elasticsearch/api/types'; -import { map } from 'lodash'; -import { ExistsFilter, isExistsFilter } from '@kbn/es-query'; -import { useAppIndexPatternContext } from '../../hooks/use_app_index_pattern'; -import { SeriesConfig, SeriesUrl, UrlFilter } from '../../types'; -import { FilterValueButton } from './filter_value_btn'; -import { useValuesList } from '../../../../../hooks/use_values_list'; -import { euiStyled } from '../../../../../../../../../src/plugins/kibana_react/common'; -import { ESFilter } from '../../../../../../../../../src/core/types/elasticsearch'; -import { PersistableFilter } from '../../../../../../../lens/common'; +import React, { useState } from 'react'; -interface Props { +import { EuiFilterButton, EuiPopover } from '@elastic/eui'; +import { SeriesConfig, SeriesUrl } from '../../types'; +import { useFilterValues } from '../use_filter_values'; +import { FilterValuesList } from '../components/filter_values_list'; + +export interface FilterProps { seriesId: number; series: SeriesUrl; label: string; field: string; isNegated?: boolean; nestedField?: string; - filters: SeriesConfig['baseFilters']; + baseFilters: SeriesConfig['baseFilters']; } export interface NestedFilterOpen { @@ -43,137 +27,30 @@ export interface NestedFilterOpen { negate: boolean; } -export function FilterExpanded({ - seriesId, - series, - field, - label, - nestedField, - isNegated, - filters: defaultFilters, -}: Props) { - const [value, setValue] = useState(''); - +export function FilterExpanded(props: FilterProps) { const [isOpen, setIsOpen] = useState(false); - const [isNestedOpen, setIsNestedOpen] = useState<NestedFilterOpen>({ value: '', negate: false }); - - const queryFilters: ESFilter[] = []; - - const { indexPatterns } = useAppIndexPatternContext(series.dataType); - - defaultFilters?.forEach((qFilter: PersistableFilter | ExistsFilter) => { - if (qFilter.query) { - queryFilters.push(qFilter.query); - } - if (isExistsFilter(qFilter)) { - queryFilters.push({ exists: qFilter.exists } as QueryDslQueryContainer); - } - }); - const { values, loading } = useValuesList({ - query: value, - sourceField: field, - time: series.time, - keepHistory: true, - filters: queryFilters, - indexPatternTitle: indexPatterns[series.dataType]?.title, - }); + const [query, setQuery] = useState(''); - const filters = series?.filters ?? []; - - const currFilter: UrlFilter | undefined = filters.find(({ field: fd }) => field === fd); - - const displayValues = map(values, 'label').filter((opt) => - opt.toLowerCase().includes(value.toLowerCase()) - ); + const { values, loading } = useFilterValues(props, query); return ( <EuiPopover button={ <EuiFilterButton onClick={() => setIsOpen((prevState) => !prevState)} iconType="arrowDown"> - {label} + {props.label} </EuiFilterButton> } isOpen={isOpen} closePopover={() => setIsOpen(false)} > - <Wrapper> - <EuiFieldSearch - fullWidth - isLoading={loading} - value={value} - onChange={(evt) => { - setValue(evt.target.value); - }} - placeholder={i18n.translate('xpack.observability.filters.expanded.search', { - defaultMessage: 'Search for {label}', - values: { label }, - })} - /> - <EuiSpacer size="s" /> - <ListWrapper> - {displayValues.length === 0 && !loading && ( - <EuiText> - {i18n.translate('xpack.observability.filters.expanded.noFilter', { - defaultMessage: 'No filters found.', - })} - </EuiText> - )} - {displayValues.map((opt) => ( - <Fragment key={opt}> - <EuiFilterGroup fullWidth={true} color="primary"> - {isNegated !== false && ( - <FilterValueButton - field={field} - value={opt} - allSelectedValues={currFilter?.notValues} - negate={true} - nestedField={nestedField} - seriesId={seriesId} - series={series} - isNestedOpen={isNestedOpen} - setIsNestedOpen={setIsNestedOpen} - /> - )} - <FilterValueButton - field={field} - value={opt} - allSelectedValues={currFilter?.values} - nestedField={nestedField} - seriesId={seriesId} - series={series} - negate={false} - isNestedOpen={isNestedOpen} - setIsNestedOpen={setIsNestedOpen} - /> - </EuiFilterGroup> - <EuiSpacer size="s" /> - </Fragment> - ))} - </ListWrapper> - </Wrapper> + <FilterValuesList + {...props} + setQuery={setQuery} + query={query} + values={values} + loading={loading} + /> </EuiPopover> ); } - -const ListWrapper = euiStyled.div` - height: 400px; - overflow-y: auto; - &::-webkit-scrollbar { - height: ${({ theme }) => theme.eui.euiScrollBar}; - width: ${({ theme }) => theme.eui.euiScrollBar}; - } - &::-webkit-scrollbar-thumb { - background-clip: content-box; - background-color: ${({ theme }) => rgba(theme.eui.euiColorDarkShade, 0.5)}; - border: ${({ theme }) => theme.eui.euiScrollBarCorner} solid transparent; - } - &::-webkit-scrollbar-corner, - &::-webkit-scrollbar-track { - background-color: transparent; - } -`; - -const Wrapper = styled.div` - width: 400px; -`; diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/operation_type_select.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/operation_type_select.tsx index 4c10c9311704d..6d83e25cc96e3 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/operation_type_select.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/operation_type_select.tsx @@ -36,6 +36,24 @@ export function OperationTypeSelect({ // eslint-disable-next-line react-hooks/exhaustive-deps }, [defaultOperationType]); + return ( + <OperationTypeComponent + onChange={onChange} + showLabel={true} + operationType={operationType || defaultOperationType} + /> + ); +} + +export function OperationTypeComponent({ + operationType, + onChange, + showLabel = false, +}: { + operationType?: OperationType; + onChange: (value: OperationType) => void; + showLabel?: boolean; +}) { const options = [ { value: 'average' as OperationType, @@ -83,9 +101,17 @@ export function OperationTypeSelect({ return ( <EuiSuperSelect + compressed fullWidth + prepend={ + showLabel + ? i18n.translate('xpack.observability.expView.operationType.label', { + defaultMessage: 'Calculation', + }) + : undefined + } data-test-subj="operationTypeSelect" - valueOfSelected={operationType || defaultOperationType} + valueOfSelected={operationType} options={options} onChange={onChange} /> diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/report_definition_field.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/report_definition_field.tsx index 3651b4b7f075b..01f36e85c03ae 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/report_definition_field.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/report_definition_field.tsx @@ -38,8 +38,8 @@ export function ReportDefinitionField({ series, field, seriesConfig, onChange }: filtersN.push(qFilter.query); } const existFilter = qFilter as ExistsFilter; - if (existFilter.exists) { - filtersN.push({ exists: existFilter.exists }); + if (existFilter.query.exists) { + filtersN.push({ exists: existFilter.query.exists }); } }); diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/selected_filters.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/selected_filters.tsx index 3327ecf1fc9b6..803318aff9f32 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/selected_filters.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/selected_filters.tsx @@ -36,7 +36,7 @@ export function SelectedFilters({ seriesId, series, seriesConfig }: Props) { return ( <> - <EuiFlexGroup wrap gutterSize="xs" alignItems="center"> + <EuiFlexGroup wrap gutterSize="xs"> {filters.map(({ field, values, notValues }) => ( <Fragment key={field}> {(values ?? []).length > 0 && ( @@ -45,7 +45,7 @@ export function SelectedFilters({ seriesId, series, seriesConfig }: Props) { seriesId={seriesId} series={series} field={field} - label={labels[field]} + label={labels[field] ?? field} value={values ?? []} removeFilter={() => { values?.forEach((val) => { @@ -63,7 +63,7 @@ export function SelectedFilters({ seriesId, series, seriesConfig }: Props) { series={series} seriesId={seriesId} field={field} - label={labels[field]} + label={labels[field] ?? field} value={notValues ?? []} negate={true} removeFilter={() => { diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/series_filter.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/series_filter.tsx index 5b576d9da0172..fe02bdf305fb2 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/series_filter.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/columns/series_filter.tsx @@ -9,8 +9,9 @@ import React from 'react'; import { EuiFilterGroup, EuiSpacer } from '@elastic/eui'; import { FilterExpanded } from './filter_expanded'; import { SeriesConfig, SeriesUrl } from '../../types'; -import { FieldLabels } from '../../configurations/constants/constants'; +import { FieldLabels, LABEL_FIELDS_FILTER } from '../../configurations/constants/constants'; import { SelectedFilters } from './selected_filters'; +import { LabelsFieldFilter } from '../components/labels_filter'; interface Props { seriesId: number; @@ -21,7 +22,7 @@ interface Props { export interface Field { label: string; field: string; - nested?: string; + nestedField?: string; isNegated?: boolean; } @@ -33,7 +34,7 @@ export function SeriesFilter({ series, seriesConfig, seriesId }: Props) { return { field: field.field, - nested: field.nested, + nestedField: field.nested, isNegated: field.isNegated, label: seriesConfig.labels?.[field.field] ?? FieldLabels[field.field], }; @@ -42,18 +43,25 @@ export function SeriesFilter({ series, seriesConfig, seriesId }: Props) { return ( <> <EuiFilterGroup> - {options.map((opt) => ( - <FilterExpanded - series={series} - key={opt.label} - seriesId={seriesId} - field={opt.field} - label={opt.label} - nestedField={opt.nested} - isNegated={opt.isNegated} - filters={seriesConfig.baseFilters} - /> - ))} + {options.map((opt) => + opt.field === LABEL_FIELDS_FILTER ? ( + <LabelsFieldFilter + series={series} + key={opt.label} + seriesId={seriesId} + baseFilters={seriesConfig.baseFilters} + {...opt} + /> + ) : ( + <FilterExpanded + series={series} + key={opt.label} + seriesId={seriesId} + baseFilters={seriesConfig.baseFilters} + {...opt} + /> + ) + )} </EuiFilterGroup> <EuiSpacer size="s" /> <SelectedFilters seriesId={seriesId} series={series} seriesConfig={seriesConfig} /> diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/components/filter_values_list.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/components/filter_values_list.tsx new file mode 100644 index 0000000000000..a6942418c609b --- /dev/null +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/components/filter_values_list.tsx @@ -0,0 +1,143 @@ +/* + * 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 { EuiFieldSearch, EuiFilterGroup, EuiProgress, EuiSpacer, EuiText } from '@elastic/eui'; +import React, { Fragment, useState } from 'react'; +import { rgba } from 'polished'; +import styled from 'styled-components'; +import { map } from 'lodash'; +import { i18n } from '@kbn/i18n'; +import { FilterValueButton } from '../columns/filter_value_btn'; +import { euiStyled } from '../../../../../../../../../src/plugins/kibana_react/common'; +import { FilterProps, NestedFilterOpen } from '../columns/filter_expanded'; +import { UrlFilter } from '../../types'; +import { ListItem } from '../../../../../hooks/use_values_list'; + +interface Props extends FilterProps { + values: ListItem[]; + field: string; + query: string; + loading?: boolean; + setQuery: (q: string) => void; +} + +export function FilterValuesList({ + field, + values, + query, + setQuery, + label, + loading, + isNegated, + nestedField, + series, + seriesId, +}: Props) { + const [isNestedOpen, setIsNestedOpen] = useState<NestedFilterOpen>({ value: '', negate: false }); + + const displayValues = map(values, 'label').filter((opt) => + opt.toLowerCase().includes(query.toLowerCase()) + ); + + const filters = series?.filters ?? []; + + const currFilter: UrlFilter | undefined = filters.find(({ field: fd }) => field === fd); + + const btnProps = { + field, + nestedField, + seriesId, + series, + isNestedOpen, + setIsNestedOpen, + }; + + return ( + <Wrapper> + <EuiFieldSearch + fullWidth + isLoading={loading} + value={query} + onChange={(evt) => { + setQuery(evt.target.value); + }} + placeholder={getSearchLabel(label)} + /> + <EuiSpacer size="s" /> + <ListWrapper> + {loading && ( + <div className="eui-textCenter"> + <EuiProgress + size="xs" + color="primary" + position="absolute" + style={{ + top: 'initial', + }} + /> + </div> + )} + {displayValues.length === 0 && !loading && ( + <EuiText className="eui-textCenter">{NO_RESULT_FOUND}</EuiText> + )} + {displayValues.map((opt) => ( + <Fragment key={opt}> + <EuiFilterGroup fullWidth={true} color="primary"> + {isNegated !== false && ( + <FilterValueButton + {...btnProps} + value={opt} + negate={true} + allSelectedValues={currFilter?.notValues} + /> + )} + <FilterValueButton + {...btnProps} + value={opt} + negate={false} + allSelectedValues={currFilter?.values} + /> + </EuiFilterGroup> + <EuiSpacer size="s" /> + </Fragment> + ))} + </ListWrapper> + </Wrapper> + ); +} + +const NO_RESULT_FOUND = i18n.translate('xpack.observability.filters.expanded.noFilter', { + defaultMessage: 'No filters found.', +}); + +const getSearchLabel = (label: string) => + i18n.translate('xpack.observability.filters.expanded.search', { + defaultMessage: 'Search for {label}', + values: { label }, + }); + +const ListWrapper = euiStyled.div` + height: 370px; + overflow-y: auto; + &::-webkit-scrollbar { + height: ${({ theme }) => theme.eui.euiScrollBar}; + width: ${({ theme }) => theme.eui.euiScrollBar}; + } + &::-webkit-scrollbar-thumb { + background-clip: content-box; + background-color: ${({ theme }) => rgba(theme.eui.euiColorDarkShade, 0.5)}; + border: ${({ theme }) => theme.eui.euiScrollBarCorner} solid transparent; + } + &::-webkit-scrollbar-corner, + &::-webkit-scrollbar-track { + background-color: transparent; + } +`; + +const Wrapper = styled.div` + width: 400px; +`; diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/components/labels_filter.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/components/labels_filter.tsx new file mode 100644 index 0000000000000..6abe2e8f2a7d9 --- /dev/null +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/components/labels_filter.tsx @@ -0,0 +1,128 @@ +/* + * 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 React, { useState } from 'react'; +import { + EuiPopoverTitle, + EuiFilterButton, + EuiPopover, + EuiIcon, + EuiButtonEmpty, + EuiSelectableOption, +} from '@elastic/eui'; + +import { EuiSelectable } from '@elastic/eui'; + +import { i18n } from '@kbn/i18n'; +import { FilterProps } from '../columns/filter_expanded'; +import { useAppIndexPatternContext } from '../../hooks/use_app_index_pattern'; +import { FilterValuesList } from './filter_values_list'; +import { useFilterValues } from '../use_filter_values'; + +export function LabelsFieldFilter(props: FilterProps) { + const { series } = props; + + const [query, setQuery] = useState(''); + + const { indexPattern } = useAppIndexPatternContext(series.dataType); + + const labelFields = indexPattern?.fields.filter((field) => field.name.startsWith('labels.')); + + const [isPopoverOpen, setPopover] = useState(false); + + const onButtonClick = () => { + setPopover(!isPopoverOpen); + }; + + const button = ( + <EuiFilterButton iconType="arrowDown" iconSide="right" onClick={onButtonClick}> + {LABELS_LABEL} + </EuiFilterButton> + ); + + const [selectedLabel, setSelectedLabel] = useState(''); + + const { values, loading } = useFilterValues({ ...props, field: selectedLabel }, query); + + const labelFieldOptions: EuiSelectableOption[] = (labelFields ?? []).map((field) => { + return { + label: field.name, + searchableLabel: field.name, + append: <EuiIcon type="arrowRight" />, + showIcons: false, + }; + }); + + labelFieldOptions.unshift({ + label: LABELS_FIELDS_LABEL, + isGroupLabel: true, + }); + + const closePopover = () => { + setPopover(false); + setSelectedLabel(''); + }; + + return ( + <EuiPopover button={button} closePopover={closePopover} isOpen={isPopoverOpen}> + {selectedLabel ? ( + <> + <EuiPopoverTitle> + <EuiButtonEmpty + iconType="arrowLeft" + iconSide="left" + onClick={() => setSelectedLabel('')} + > + {BACK_TO_LABEL} + </EuiButtonEmpty> + </EuiPopoverTitle> + <FilterValuesList + {...props} + label={selectedLabel} + values={values} + query={query} + setQuery={setQuery} + loading={loading} + field={selectedLabel} + /> + </> + ) : ( + <EuiSelectable + searchable + options={labelFieldOptions} + onChange={(optionsChange) => { + const checked = optionsChange.find((option) => option.checked === 'on'); + setSelectedLabel(checked?.label ?? ''); + }} + listProps={{ + onFocusBadge: false, + }} + height={450} + > + {(list, search) => ( + <div style={{ width: 400 }}> + {search} + {list} + </div> + )} + </EuiSelectable> + )} + </EuiPopover> + ); +} + +const LABELS_LABEL = i18n.translate('xpack.observability.filters.expanded.labels.label', { + defaultMessage: 'Labels', +}); + +const LABELS_FIELDS_LABEL = i18n.translate('xpack.observability.filters.expanded.labels.fields', { + defaultMessage: 'Label fields', +}); + +const BACK_TO_LABEL = i18n.translate('xpack.observability.filters.expanded.labels.backTo', { + defaultMessage: 'Back to labels', +}); diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/expanded_series_row.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/expanded_series_row.tsx index 9f4de1b6dd519..ac71f4ff5abe0 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/expanded_series_row.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/expanded_series_row.tsx @@ -15,7 +15,8 @@ import { OperationTypeSelect } from './columns/operation_type_select'; import { parseCustomFieldName } from '../configurations/lens_attributes'; import { SeriesFilter } from './columns/series_filter'; import { DatePickerCol } from './columns/date_picker_col'; -import { Breakdowns } from './columns/breakdowns'; +import { Breakdowns } from './breakdown/breakdowns'; +import { LabelsBreakdown } from './breakdown/label_breakdown'; function getColumnType(seriesConfig: SeriesConfig, selectedMetricField?: string) { const { columnType } = parseCustomFieldName(seriesConfig, selectedMetricField); @@ -58,13 +59,18 @@ export function ExpandedSeriesRow(seriesProps: Props) { <SeriesFilter seriesConfig={seriesConfig} seriesId={seriesId} series={series} /> </EuiFormRow> <EuiFlexGroup> - <EuiFlexItem> - <EuiFormRow label={BREAKDOWNS_LABEL}> - <Breakdowns {...seriesProps} /> + <EuiFlexItem grow={2}> + <EuiFormRow label={BREAKDOWN_BY_LABEL}> + <EuiFlexGroup gutterSize="xs"> + <EuiFlexItem style={{ minWidth: 200 }}> + <Breakdowns {...seriesProps} /> + </EuiFlexItem> + <LabelsBreakdown {...seriesProps} /> + </EuiFlexGroup> </EuiFormRow> </EuiFlexItem> {(hasOperationType || columnType === 'operation') && ( - <EuiFlexItem> + <EuiFlexItem grow={1}> <EuiFormRow label={OPERATION_LABEL}> <OperationTypeSelect {...seriesProps} @@ -78,8 +84,8 @@ export function ExpandedSeriesRow(seriesProps: Props) { ); } -const BREAKDOWNS_LABEL = i18n.translate('xpack.observability.expView.seriesBuilder.breakdowns', { - defaultMessage: 'Breakdowns', +const BREAKDOWN_BY_LABEL = i18n.translate('xpack.observability.expView.seriesBuilder.breakdownBy', { + defaultMessage: 'Breakdown by', }); const FILTERS_LABEL = i18n.translate('xpack.observability.expView.seriesBuilder.selectFilters', { diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/series.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/series.tsx index ea47ccd0b0426..11f96afe7ceab 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/series.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/series.tsx @@ -7,6 +7,7 @@ import React from 'react'; import styled from 'styled-components'; +import { i18n } from '@kbn/i18n'; import { EuiFlexItem, EuiFlexGroup, EuiPanel, EuiAccordion, EuiSpacer } from '@elastic/eui'; import { BuilderItem } from '../types'; import { SeriesActions } from './columns/series_actions'; @@ -27,6 +28,10 @@ const StyledAccordion = styled(EuiAccordion)` flex-grow: 1; flex-shrink: 1; } + + .euiAccordion__childWrapper { + overflow: visible; + } `; interface Props { @@ -47,6 +52,7 @@ export function Series({ item, isExpanded, toggleExpanded }: Props) { <StyledAccordion id={`exploratoryViewSeriesAccordion${id}`} forceState={isExpanded ? 'open' : 'closed'} + aria-label={ACCORDION_LABEL} onToggle={toggleExpanded} arrowDisplay={!seriesProps.series.dataType ? 'none' : undefined} extraAction={ @@ -91,3 +97,10 @@ export function Series({ item, isExpanded, toggleExpanded }: Props) { </EuiPanel> ); } + +export const ACCORDION_LABEL = i18n.translate( + 'xpack.observability.expView.seriesBuilder.accordion.label', + { + defaultMessage: 'Toggle series information', + } +); diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/series_editor.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/series_editor.tsx index d13857b5e9663..afb8baac0eaf3 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/series_editor.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/series_editor.tsx @@ -146,7 +146,7 @@ export const SeriesEditor = React.memo(function () { </EuiFlexItem> )} <EuiFlexItem> - <ViewActions /> + <ViewActions onApply={() => setItemIdToExpandedRowMap({})} /> </EuiFlexItem> </EuiFlexGroup> diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/use_filter_values.ts b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/use_filter_values.ts new file mode 100644 index 0000000000000..90cdbd61ef923 --- /dev/null +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/series_editor/use_filter_values.ts @@ -0,0 +1,37 @@ +/* + * 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 { ExistsFilter, isExistsFilter } from '@kbn/es-query'; +import { QueryDslQueryContainer } from '@elastic/elasticsearch/api/types'; +import { useValuesList } from '../../../../hooks/use_values_list'; +import { FilterProps } from './columns/filter_expanded'; +import { useAppIndexPatternContext } from '../hooks/use_app_index_pattern'; +import { ESFilter } from '../../../../../../../../src/core/types/elasticsearch'; +import { PersistableFilter } from '../../../../../../lens/common'; + +export function useFilterValues({ field, series, baseFilters }: FilterProps, query: string) { + const { indexPatterns } = useAppIndexPatternContext(series.dataType); + + const queryFilters: ESFilter[] = []; + + baseFilters?.forEach((qFilter: PersistableFilter | ExistsFilter) => { + if (qFilter.query) { + queryFilters.push(qFilter.query); + } + if (isExistsFilter(qFilter)) { + queryFilters.push({ exists: qFilter.query.exists } as QueryDslQueryContainer); + } + }); + + return useValuesList({ + query, + sourceField: field, + time: series.time, + keepHistory: true, + filters: queryFilters, + indexPatternTitle: indexPatterns[series.dataType]?.title, + }); +} diff --git a/x-pack/plugins/observability/public/components/shared/exploratory_view/views/view_actions.tsx b/x-pack/plugins/observability/public/components/shared/exploratory_view/views/view_actions.tsx index f4416ef60441d..ee2668aa0c39a 100644 --- a/x-pack/plugins/observability/public/components/shared/exploratory_view/views/view_actions.tsx +++ b/x-pack/plugins/observability/public/components/shared/exploratory_view/views/view_actions.tsx @@ -11,7 +11,11 @@ import { i18n } from '@kbn/i18n'; import { isEqual } from 'lodash'; import { allSeriesKey, convertAllShortSeries, useSeriesStorage } from '../hooks/use_series_storage'; -export function ViewActions() { +interface Props { + onApply?: () => void; +} + +export function ViewActions({ onApply }: Props) { const { allSeries, storage, applyChanges } = useSeriesStorage(); const noChanges = isEqual(allSeries, convertAllShortSeries(storage.get(allSeriesKey) ?? [])); @@ -19,7 +23,7 @@ export function ViewActions() { return ( <EuiFlexGroup justifyContent="flexEnd" alignItems="center"> <EuiFlexItem grow={false}> - <EuiButton onClick={() => applyChanges()} isDisabled={noChanges} fill size="s"> + <EuiButton onClick={() => applyChanges(onApply)} isDisabled={noChanges} fill size="s"> {i18n.translate('xpack.observability.expView.seriesBuilder.apply', { defaultMessage: 'Apply changes', })} diff --git a/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx b/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx index 9e7b96b02206f..9e8480107c17d 100644 --- a/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx +++ b/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx @@ -41,7 +41,7 @@ export function buildFilterLabel({ return filter; } -interface Props { +export interface FilterValueLabelProps { field: string; label: string; value: string | string[]; @@ -60,7 +60,7 @@ export function FilterValueLabel({ invertFilter, removeFilter, allowExclusion = true, -}: Props) { +}: FilterValueLabelProps) { const FilterItem = injectI18n(esFilters.FilterItem); const filter = buildFilterLabel({ field, value, label, indexPattern, negate }); @@ -92,3 +92,6 @@ export function FilterValueLabel({ /> ) : null; } + +// eslint-disable-next-line import/no-default-export +export default FilterValueLabel; diff --git a/x-pack/plugins/observability/public/components/shared/index.tsx b/x-pack/plugins/observability/public/components/shared/index.tsx index afc053604fcdf..4d841eaf4d724 100644 --- a/x-pack/plugins/observability/public/components/shared/index.tsx +++ b/x-pack/plugins/observability/public/components/shared/index.tsx @@ -9,6 +9,7 @@ import React, { lazy, Suspense } from 'react'; import { EuiLoadingSpinner } from '@elastic/eui'; import type { CoreVitalProps, HeaderMenuPortalProps } from './types'; import type { FieldValueSuggestionsProps } from './field_value_suggestions/types'; +import type { FilterValueLabelProps } from './filter_value_label/filter_value_label'; export { createLazyObservabilityPageTemplate } from './page_template'; export type { LazyObservabilityPageTemplateProps } from './page_template'; @@ -42,3 +43,13 @@ export function FieldValueSuggestions(props: FieldValueSuggestionsProps) { </Suspense> ); } + +const FilterValueLabelLazy = lazy(() => import('./filter_value_label/filter_value_label')); + +export function FilterValueLabel(props: FilterValueLabelProps) { + return ( + <Suspense fallback={null}> + <FilterValueLabelLazy {...props} /> + </Suspense> + ); +} diff --git a/x-pack/plugins/apm/public/context/inspector/inspector_context.tsx b/x-pack/plugins/observability/public/context/inspector/inspector_context.tsx similarity index 91% rename from x-pack/plugins/apm/public/context/inspector/inspector_context.tsx rename to x-pack/plugins/observability/public/context/inspector/inspector_context.tsx index 74a44b56ba07d..1d9bd95fa08fa 100644 --- a/x-pack/plugins/apm/public/context/inspector/inspector_context.tsx +++ b/x-pack/plugins/observability/public/context/inspector/inspector_context.tsx @@ -8,8 +8,8 @@ import React, { createContext, ReactNode, useEffect } from 'react'; import { useHistory } from 'react-router-dom'; import { RequestAdapter } from '../../../../../../src/plugins/inspector/common'; -import { InspectResponse } from '../../../typings/common'; import { FetcherResult } from '../../hooks/use_fetcher'; +import { InspectResponse } from '../../../typings/common'; export interface InspectorContextValue { addInspectorRequest: <Data>(result: FetcherResult<Data>) => void; @@ -23,11 +23,7 @@ const value: InspectorContextValue = { export const InspectorContext = createContext<InspectorContextValue>(value); -export function InspectorContextProvider({ - children, -}: { - children: ReactNode; -}) { +export function InspectorContextProvider({ children }: { children: ReactNode }) { const history = useHistory(); const { inspectorAdapters } = value; @@ -37,8 +33,7 @@ export function InspectorContextProvider({ _inspect?: InspectResponse; }> ) { - const operations = - result.data?._inspect ?? result.data?.mainStatisticsData?._inspect ?? []; + const operations = result.data?._inspect ?? result.data?.mainStatisticsData?._inspect ?? []; operations.forEach((operation) => { if (operation.response) { diff --git a/x-pack/plugins/apm/public/context/inspector/use_inspector_context.tsx b/x-pack/plugins/observability/public/context/inspector/use_inspector_context.tsx similarity index 100% rename from x-pack/plugins/apm/public/context/inspector/use_inspector_context.tsx rename to x-pack/plugins/observability/public/context/inspector/use_inspector_context.tsx diff --git a/x-pack/plugins/observability/public/hooks/use_fetcher.tsx b/x-pack/plugins/observability/public/hooks/use_fetcher.tsx index ab8263b086fcd..2defc9a640f95 100644 --- a/x-pack/plugins/observability/public/hooks/use_fetcher.tsx +++ b/x-pack/plugins/observability/public/hooks/use_fetcher.tsx @@ -12,6 +12,7 @@ export enum FETCH_STATUS { SUCCESS = 'success', FAILURE = 'failure', PENDING = 'pending', + NOT_INITIATED = 'not_initiated', } export interface FetcherResult<Data> { diff --git a/x-pack/plugins/observability/public/hooks/use_values_list.ts b/x-pack/plugins/observability/public/hooks/use_values_list.ts index 5aa7dd672cfda..73bbd97fe5d7a 100644 --- a/x-pack/plugins/observability/public/hooks/use_values_list.ts +++ b/x-pack/plugins/observability/public/hooks/use_values_list.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { capitalize, union } from 'lodash'; +import { capitalize, uniqBy } from 'lodash'; import { useEffect, useState } from 'react'; import useDebounce from 'react-use/lib/useDebounce'; import { ESFilter } from '../../../../../src/core/types/elasticsearch'; @@ -26,6 +26,10 @@ export interface ListItem { count: number; } +const uniqueValues = (values: ListItem[], prevValues: ListItem[]) => { + return uniqBy([...values, ...prevValues], 'label'); +}; + export const useValuesList = ({ sourceField, indexPatternTitle, @@ -113,29 +117,28 @@ export const useValuesList = ({ }, }, }), - [debouncedQuery, from, to, JSON.stringify(filters), indexPatternTitle] + [debouncedQuery, from, to, JSON.stringify(filters), indexPatternTitle, sourceField] ); useEffect(() => { + const valueBuckets = data?.aggregations?.values.buckets; const newValues = - data?.aggregations?.values.buckets.map( - ({ key: value, doc_count: count, count: aggsCount }) => { - if (aggsCount) { - return { - count: aggsCount.value, - label: String(value), - }; - } + valueBuckets?.map(({ key: value, doc_count: count, count: aggsCount }) => { + if (aggsCount) { return { - count, + count: aggsCount.value, label: String(value), }; } - ) ?? []; + return { + count, + label: String(value), + }; + }) ?? []; - if (keepHistory && query) { + if (keepHistory) { setValues((prevState) => { - return union(newValues, prevState); + return uniqueValues(newValues, prevState); }); } else { setValues(newValues); diff --git a/x-pack/plugins/observability/public/index.ts b/x-pack/plugins/observability/public/index.ts index 710bed3adb890..c5dd7f5c858ef 100644 --- a/x-pack/plugins/observability/public/index.ts +++ b/x-pack/plugins/observability/public/index.ts @@ -45,6 +45,7 @@ export { getCoreVitalsComponent, HeaderMenuPortal, FieldValueSuggestions, + FilterValueLabel, } from './components/shared/'; export type { LazyObservabilityPageTemplateProps } from './components/shared'; @@ -70,7 +71,7 @@ export { useTheme } from './hooks/use_theme'; export { getApmTraceUrl } from './utils/get_apm_trace_url'; export { createExploratoryViewUrl } from './components/shared/exploratory_view/configurations/utils'; export { ALL_VALUES_SELECTED } from './components/shared/field_value_suggestions/field_value_combobox'; -export { FilterValueLabel } from './components/shared/filter_value_label/filter_value_label'; +export type { AllSeries } from './components/shared/exploratory_view/hooks/use_series_storage'; export type { SeriesUrl } from './components/shared/exploratory_view/types'; export type { @@ -79,3 +80,7 @@ export type { ObservabilityRuleTypeRegistry, } from './rules/create_observability_rule_type_registry'; export { createObservabilityRuleTypeRegistryMock } from './rules/observability_rule_type_registry_mock'; +export type { ExploratoryEmbeddableProps } from './components/shared/exploratory_view/embeddable/embeddable'; + +export { InspectorContextProvider } from './context/inspector/inspector_context'; +export { useInspectorContext } from './context/inspector/use_inspector_context'; diff --git a/x-pack/plugins/observability/public/pages/alerts/alerts_table_t_grid.tsx b/x-pack/plugins/observability/public/pages/alerts/alerts_table_t_grid.tsx index 3b588c59260d1..ace01aa851ce8 100644 --- a/x-pack/plugins/observability/public/pages/alerts/alerts_table_t_grid.tsx +++ b/x-pack/plugins/observability/public/pages/alerts/alerts_table_t_grid.tsx @@ -36,6 +36,7 @@ import { EuiFlexItem, EuiContextMenuPanel, EuiPopover, + EuiToolTip, } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import styled from 'styled-components'; @@ -248,40 +249,63 @@ function ObservabilityActions({ ]; }, [afterCaseSelection, casePermissions, timelines, event, statusActionItems, alertPermissions]); + const viewDetailsTextLabel = i18n.translate( + 'xpack.observability.alertsTable.viewDetailsTextLabel', + { + defaultMessage: 'View details', + } + ); + const viewInAppTextLabel = i18n.translate('xpack.observability.alertsTable.viewInAppTextLabel', { + defaultMessage: 'View in app', + }); + const moreActionsTextLabel = i18n.translate( + 'xpack.observability.alertsTable.moreActionsTextLabel', + { + defaultMessage: 'More actions', + } + ); + return ( <> <EuiFlexGroup gutterSize="none" responsive={false}> <EuiFlexItem> - <EuiButtonIcon - size="s" - iconType="expand" - color="text" - onClick={() => setFlyoutAlert(alert)} - data-test-subj="openFlyoutButton" - /> + <EuiToolTip content={viewDetailsTextLabel}> + <EuiButtonIcon + size="s" + iconType="expand" + color="text" + onClick={() => setFlyoutAlert(alert)} + data-test-subj="openFlyoutButton" + aria-label={viewDetailsTextLabel} + /> + </EuiToolTip> </EuiFlexItem> <EuiFlexItem> - <EuiButtonIcon - size="s" - href={prepend(alert.link ?? '')} - iconType="eye" - color="text" - aria-label="View alert in app" - /> + <EuiToolTip content={viewInAppTextLabel}> + <EuiButtonIcon + size="s" + href={prepend(alert.link ?? '')} + iconType="eye" + color="text" + aria-label={viewInAppTextLabel} + /> + </EuiToolTip> </EuiFlexItem> {actionsMenuItems.length > 0 && ( <EuiFlexItem> <EuiPopover button={ - <EuiButtonIcon - display="empty" - size="s" - color="text" - iconType="boxesHorizontal" - aria-label="More" - onClick={() => toggleActionsPopover(eventId)} - data-test-subj="alerts-table-row-action-more" - /> + <EuiToolTip content={moreActionsTextLabel}> + <EuiButtonIcon + display="empty" + size="s" + color="text" + iconType="boxesHorizontal" + aria-label={moreActionsTextLabel} + onClick={() => toggleActionsPopover(eventId)} + data-test-subj="alerts-table-row-action-more" + /> + </EuiToolTip> } isOpen={openActionsPopoverId === eventId} closePopover={closeActionsPopover} diff --git a/x-pack/plugins/observability/public/pages/cases/cases.stories.tsx b/x-pack/plugins/observability/public/pages/cases/cases.stories.tsx index a9c83fa650394..41fa2744397c7 100644 --- a/x-pack/plugins/observability/public/pages/cases/cases.stories.tsx +++ b/x-pack/plugins/observability/public/pages/cases/cases.stories.tsx @@ -5,11 +5,13 @@ * 2.0. */ -import { EuiPageTemplate } from '@elastic/eui'; import React, { ComponentType } from 'react'; import { MemoryRouter } from 'react-router-dom'; import { CoreStart } from '../../../../../../src/core/public'; -import { createKibanaReactContext } from '../../../../../../src/plugins/kibana_react/public'; +import { + createKibanaReactContext, + KibanaPageTemplate, +} from '../../../../../../src/plugins/kibana_react/public'; import { casesFeatureId } from '../../../common'; import { PluginContext, PluginContextValue } from '../../context/plugin_context'; import { AllCasesPage } from './all_cases'; @@ -34,7 +36,7 @@ export default { } as unknown as Partial<CoreStart>); const pluginContextValue = { - ObservabilityPageTemplate: EuiPageTemplate, + ObservabilityPageTemplate: KibanaPageTemplate, } as unknown as PluginContextValue; return ( diff --git a/x-pack/plugins/observability/public/plugin.ts b/x-pack/plugins/observability/public/plugin.ts index 10843bbd1d5b5..e4caa8ca91944 100644 --- a/x-pack/plugins/observability/public/plugin.ts +++ b/x-pack/plugins/observability/public/plugin.ts @@ -43,6 +43,8 @@ import { createObservabilityRuleTypeRegistry } from './rules/create_observabilit import { createCallObservabilityApi } from './services/call_observability_api'; import { createNavigationRegistry, NavigationEntry } from './services/navigation_registry'; import { updateGlobalNavigation } from './update_global_navigation'; +import { getExploratoryViewEmbeddable } from './components/shared/exploratory_view/embeddable'; +import { createExploratoryViewUrl } from './components/shared/exploratory_view/configurations/utils'; export type ObservabilityPublicSetup = ReturnType<Plugin['setup']>; @@ -233,7 +235,9 @@ export class Plugin }; } - public start({ application }: CoreStart) { + public start(coreStart: CoreStart, pluginsStart: ObservabilityPublicPluginsStart) { + const { application } = coreStart; + const config = this.initializerContext.config.get(); updateGlobalNavigation({ @@ -254,6 +258,8 @@ export class Plugin navigation: { PageTemplate, }, + createExploratoryViewUrl, + ExploratoryViewEmbeddable: getExploratoryViewEmbeddable(coreStart, pluginsStart), }; } } diff --git a/x-pack/plugins/observability/server/index.ts b/x-pack/plugins/observability/server/index.ts index 97a17b0d11153..53c3ecb23546c 100644 --- a/x-pack/plugins/observability/server/index.ts +++ b/x-pack/plugins/observability/server/index.ts @@ -15,6 +15,7 @@ import { createOrUpdateIndex, Mappings } from './utils/create_or_update_index'; import { ScopedAnnotationsClient } from './lib/annotations/bootstrap_annotations'; import { unwrapEsResponse, WrappedElasticsearchClientError } from './utils/unwrap_es_response'; export { rangeQuery, kqlQuery } from './utils/queries'; +export { getInspectResponse } from './utils/get_inspect_response'; export * from './types'; diff --git a/x-pack/plugins/apm/server/lib/helpers/create_es_client/get_inspect_response.ts b/x-pack/plugins/observability/server/utils/get_inspect_response.ts similarity index 55% rename from x-pack/plugins/apm/server/lib/helpers/create_es_client/get_inspect_response.ts rename to x-pack/plugins/observability/server/utils/get_inspect_response.ts index ae91daf9d2e0d..a6792e0cac5fd 100644 --- a/x-pack/plugins/apm/server/lib/helpers/create_es_client/get_inspect_response.ts +++ b/x-pack/plugins/observability/server/utils/get_inspect_response.ts @@ -6,13 +6,10 @@ */ import { i18n } from '@kbn/i18n'; -import type { KibanaRequest } from '../../../../../../../src/core/server'; -import type { - RequestStatistics, - RequestStatus, -} from '../../../../../../../src/plugins/inspector'; -import { WrappedElasticsearchClientError } from '../../../../../observability/server'; -import type { InspectResponse } from '../../../../typings/common'; +import type { KibanaRequest } from 'kibana/server'; +import type { RequestStatistics, RequestStatus } from '../../../../../src/plugins/inspector'; +import { WrappedElasticsearchClientError } from '../index'; +import { InspectResponse } from '../../typings/common'; /** * Get statistics to show on inspector tab. @@ -33,14 +30,11 @@ function getStats({ }) { const stats: RequestStatistics = { kibanaApiQueryParameters: { - label: i18n.translate( - 'xpack.apm.inspector.stats.kibanaApiQueryParametersLabel', - { - defaultMessage: 'Kibana API query parameters', - } - ), + label: i18n.translate('xpack.observability.inspector.stats.kibanaApiQueryParametersLabel', { + defaultMessage: 'Kibana API query parameters', + }), description: i18n.translate( - 'xpack.apm.inspector.stats.kibanaApiQueryParametersDescription', + 'xpack.observability.inspector.stats.kibanaApiQueryParametersDescription', { defaultMessage: 'The query parameters used in the Kibana API request that initiated the Elasticsearch request.', @@ -49,42 +43,33 @@ function getStats({ value: JSON.stringify(kibanaRequest.query, null, 2), }, kibanaApiRoute: { - label: i18n.translate('xpack.apm.inspector.stats.kibanaApiRouteLabel', { + label: i18n.translate('xpack.observability.inspector.stats.kibanaApiRouteLabel', { defaultMessage: 'Kibana API route', }), - description: i18n.translate( - 'xpack.apm.inspector.stats.kibanaApiRouteDescription', - { - defaultMessage: - 'The route of the Kibana API request that initiated the Elasticsearch request.', - } - ), - value: `${kibanaRequest.route.method.toUpperCase()} ${ - kibanaRequest.route.path - }`, + description: i18n.translate('xpack.observability.inspector.stats.kibanaApiRouteDescription', { + defaultMessage: + 'The route of the Kibana API request that initiated the Elasticsearch request.', + }), + value: `${kibanaRequest.route.method.toUpperCase()} ${kibanaRequest.route.path}`, }, indexPattern: { - label: i18n.translate('xpack.apm.inspector.stats.indexPatternLabel', { + label: i18n.translate('xpack.observability.inspector.stats.indexPatternLabel', { defaultMessage: 'Index pattern', }), value: esRequestParams.index, - description: i18n.translate( - 'xpack.apm.inspector.stats.indexPatternDescription', - { - defaultMessage: - 'The index pattern that connected to the Elasticsearch indices.', - } - ), + description: i18n.translate('xpack.observability.inspector.stats.indexPatternDescription', { + defaultMessage: 'The index pattern that connected to the Elasticsearch indices.', + }), }, }; if (esResponse?.hits) { stats.hits = { - label: i18n.translate('xpack.apm.inspector.stats.hitsLabel', { + label: i18n.translate('xpack.observability.inspector.stats.hitsLabel', { defaultMessage: 'Hits', }), value: `${esResponse.hits.hits.length}`, - description: i18n.translate('xpack.apm.inspector.stats.hitsDescription', { + description: i18n.translate('xpack.observability.inspector.stats.hitsDescription', { defaultMessage: 'The number of documents returned by the query.', }), }; @@ -92,21 +77,18 @@ function getStats({ if (esResponse?.took) { stats.queryTime = { - label: i18n.translate('xpack.apm.inspector.stats.queryTimeLabel', { + label: i18n.translate('xpack.observability.inspector.stats.queryTimeLabel', { defaultMessage: 'Query time', }), - value: i18n.translate('xpack.apm.inspector.stats.queryTimeValue', { + value: i18n.translate('xpack.observability.inspector.stats.queryTimeValue', { defaultMessage: '{queryTime}ms', values: { queryTime: esResponse.took }, }), - description: i18n.translate( - 'xpack.apm.inspector.stats.queryTimeDescription', - { - defaultMessage: - 'The time it took to process the query. ' + - 'Does not include the time to send the request or parse it in the browser.', - } - ), + description: i18n.translate('xpack.observability.inspector.stats.queryTimeDescription', { + defaultMessage: + 'The time it took to process the query. ' + + 'Does not include the time to send the request or parse it in the browser.', + }), }; } @@ -115,20 +97,16 @@ function getStats({ relation: string; value: number; }; - const hitsTotalValue = - total.relation === 'eq' ? `${total.value}` : `> ${total.value}`; + const hitsTotalValue = total.relation === 'eq' ? `${total.value}` : `> ${total.value}`; stats.hitsTotal = { - label: i18n.translate('xpack.apm.inspector.stats.hitsTotalLabel', { + label: i18n.translate('xpack.observability.inspector.stats.hitsTotalLabel', { defaultMessage: 'Hits (total)', }), value: hitsTotalValue, - description: i18n.translate( - 'xpack.apm.inspector.stats.hitsTotalDescription', - { - defaultMessage: 'The number of documents that match the query.', - } - ), + description: i18n.translate('xpack.observability.inspector.stats.hitsTotalDescription', { + defaultMessage: 'The number of documents that match the query.', + }), }; } return stats; diff --git a/x-pack/plugins/observability/typings/common.ts b/x-pack/plugins/observability/typings/common.ts index d6209c737a468..2bc95447d9203 100644 --- a/x-pack/plugins/observability/typings/common.ts +++ b/x-pack/plugins/observability/typings/common.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { Request } from '../../../../src/plugins/inspector'; + export type ObservabilityApp = | 'infra_metrics' | 'infra_logs' @@ -22,3 +24,5 @@ export type PromiseReturnType<Func> = Func extends (...args: any[]) => Promise<i : Func; export { Coordinates } from '../public/typings/fetch_overview_data/'; + +export type InspectResponse = Request[]; diff --git a/x-pack/plugins/osquery/public/scheduled_query_groups/form/index.tsx b/x-pack/plugins/osquery/public/scheduled_query_groups/form/index.tsx index d7cee7e23bf62..bcc82c5f27c99 100644 --- a/x-pack/plugins/osquery/public/scheduled_query_groups/form/index.tsx +++ b/x-pack/plugins/osquery/public/scheduled_query_groups/form/index.tsx @@ -257,12 +257,13 @@ const ScheduledQueryGroupFormComponent: React.FC<ScheduledQueryGroupFormProps> = const [ { + name: queryName, package: { version: integrationPackageVersion } = { version: undefined }, policy_id: policyId, }, ] = useFormData({ form, - watch: ['package', 'policy_id'], + watch: ['name', 'package', 'policy_id'], }); const currentPolicy = useMemo(() => { @@ -281,8 +282,12 @@ const ScheduledQueryGroupFormComponent: React.FC<ScheduledQueryGroupFormProps> = }, [agentPoliciesById, policyId]); const handleNameChange = useCallback( - (newName: string) => setFieldValue('name', newName), - [setFieldValue] + (newName: string) => { + if (queryName === '') { + setFieldValue('name', newName); + } + }, + [setFieldValue, queryName] ); const handleSaveClick = useCallback(() => { @@ -291,13 +296,19 @@ const ScheduledQueryGroupFormComponent: React.FC<ScheduledQueryGroupFormProps> = return; } - submit(); - }, [currentPolicy.agentCount, submit]); + submit().catch((error) => { + form.reset({ resetValues: false }); + setErrorToast(error, { title: error.name, toastMessage: error.message }); + }); + }, [currentPolicy.agentCount, submit, form, setErrorToast]); const handleConfirmConfirmationClick = useCallback(() => { - submit(); + submit().catch((error) => { + form.reset({ resetValues: false }); + setErrorToast(error, { title: error.name, toastMessage: error.message }); + }); setShowConfirmationModal(false); - }, [submit]); + }, [submit, form, setErrorToast]); return ( <> diff --git a/x-pack/plugins/reporting/common/constants.ts b/x-pack/plugins/reporting/common/constants.ts index 9224a23fcb33f..3fb02677dd981 100644 --- a/x-pack/plugins/reporting/common/constants.ts +++ b/x-pack/plugins/reporting/common/constants.ts @@ -7,6 +7,8 @@ export const PLUGIN_ID = 'reporting'; +export const REPORTING_SYSTEM_INDEX = '.reporting'; + export const JOB_COMPLETION_NOTIFICATIONS_SESSION_KEY = 'xpack.reporting.jobCompletionNotifications'; diff --git a/x-pack/plugins/reporting/server/config/index.test.ts b/x-pack/plugins/reporting/server/config/index.test.ts index 62936fb2f14f3..f8426fd24852c 100644 --- a/x-pack/plugins/reporting/server/config/index.test.ts +++ b/x-pack/plugins/reporting/server/config/index.test.ts @@ -7,9 +7,12 @@ import { config } from './index'; import { applyDeprecations, configDeprecationFactory } from '@kbn/config'; +import { configDeprecationsMock } from '../../../../../src/core/server/mocks'; const CONFIG_PATH = 'xpack.reporting'; +const deprecationContext = configDeprecationsMock.createContext(); + const applyReportingDeprecations = (settings: Record<string, any> = {}) => { const deprecations = config.deprecations!(configDeprecationFactory); const deprecationMessages: string[] = []; @@ -20,6 +23,7 @@ const applyReportingDeprecations = (settings: Record<string, any> = {}) => { deprecations.map((deprecation) => ({ deprecation, path: CONFIG_PATH, + context: deprecationContext, })), () => ({ message }) => diff --git a/x-pack/plugins/reporting/server/config/schema.test.ts b/x-pack/plugins/reporting/server/config/schema.test.ts index 0998a80103131..0b2e2cac6ff7c 100644 --- a/x-pack/plugins/reporting/server/config/schema.test.ts +++ b/x-pack/plugins/reporting/server/config/schema.test.ts @@ -84,7 +84,6 @@ describe('Reporting Config Schema', () => { }, "enabled": true, "encryptionKey": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "index": ".reporting", "kibanaServer": Object {}, "poll": Object { "jobCompletionNotifier": Object { @@ -189,7 +188,6 @@ describe('Reporting Config Schema', () => { "useByteOrderMarkEncoding": false, }, "enabled": true, - "index": ".reporting", "kibanaServer": Object {}, "poll": Object { "jobCompletionNotifier": Object { diff --git a/x-pack/plugins/reporting/server/config/schema.ts b/x-pack/plugins/reporting/server/config/schema.ts index d616a18289df0..affd8b7bee7ff 100644 --- a/x-pack/plugins/reporting/server/config/schema.ts +++ b/x-pack/plugins/reporting/server/config/schema.ts @@ -155,8 +155,6 @@ const RolesSchema = schema.object({ allow: schema.arrayOf(schema.string(), { defaultValue: ['reporting_user'] }), }); -const IndexSchema = schema.string({ defaultValue: '.reporting' }); - // Browser side polling: job completion notifier, management table auto-refresh // NOTE: can not use schema.duration, a bug prevents it being passed to the browser correctly const PollSchema = schema.object({ @@ -178,7 +176,6 @@ export const ConfigSchema = schema.object({ csv: CsvSchema, encryptionKey: EncryptionKeySchema, roles: RolesSchema, - index: IndexSchema, poll: PollSchema, }); diff --git a/x-pack/plugins/reporting/server/export_types/csv/execute_job.test.ts b/x-pack/plugins/reporting/server/export_types/csv/execute_job.test.ts index 5032eaab46e84..e5d0ed2613719 100644 --- a/x-pack/plugins/reporting/server/export_types/csv/execute_job.test.ts +++ b/x-pack/plugins/reporting/server/export_types/csv/execute_job.test.ts @@ -77,7 +77,6 @@ describe('CSV Execute Job', function () { stream = { write: jest.fn((chunk) => (content += chunk)) } as unknown as typeof stream; configGetStub = sinon.stub(); configGetStub.withArgs('queue', 'timeout').returns(moment.duration('2m')); - configGetStub.withArgs('index').returns('.reporting-foo-test'); configGetStub.withArgs('encryptionKey').returns(encryptionKey); configGetStub.withArgs('csv', 'maxSizeBytes').returns(1024 * 1000); // 1mB configGetStub.withArgs('csv', 'scroll').returns({}); diff --git a/x-pack/plugins/reporting/server/lib/store/store.ts b/x-pack/plugins/reporting/server/lib/store/store.ts index d49337391ca40..01a6f7a3cd06d 100644 --- a/x-pack/plugins/reporting/server/lib/store/store.ts +++ b/x-pack/plugins/reporting/server/lib/store/store.ts @@ -9,7 +9,7 @@ import { IndexResponse, UpdateResponse } from '@elastic/elasticsearch/api/types' import { ElasticsearchClient } from 'src/core/server'; import { LevelLogger, statuses } from '../'; import { ReportingCore } from '../../'; -import { ILM_POLICY_NAME } from '../../../common/constants'; +import { ILM_POLICY_NAME, REPORTING_SYSTEM_INDEX } from '../../../common/constants'; import { JobStatus, ReportOutput, ReportSource } from '../../../common/types'; import { ReportTaskParams } from '../tasks'; import { Report, ReportDocument, SavedReport } from './'; @@ -87,7 +87,7 @@ export class ReportingStore { constructor(private reportingCore: ReportingCore, private logger: LevelLogger) { const config = reportingCore.getConfig(); - this.indexPrefix = config.get('index'); + this.indexPrefix = REPORTING_SYSTEM_INDEX; this.indexInterval = config.get('queue', 'indexInterval'); this.logger = logger.clone(['store']); } diff --git a/x-pack/plugins/reporting/server/routes/lib/jobs_query.ts b/x-pack/plugins/reporting/server/routes/lib/jobs_query.ts index afa83ed331672..54efe0636536a 100644 --- a/x-pack/plugins/reporting/server/routes/lib/jobs_query.ts +++ b/x-pack/plugins/reporting/server/routes/lib/jobs_query.ts @@ -13,6 +13,7 @@ import { UnwrapPromise } from '@kbn/utility-types'; import { ElasticsearchClient } from 'src/core/server'; import { PromiseType } from 'utility-types'; import { ReportingCore } from '../../'; +import { REPORTING_SYSTEM_INDEX } from '../../../common/constants'; import { ReportApiJSON, ReportSource } from '../../../common/types'; import { statuses } from '../../lib/statuses'; import { Report } from '../../lib/store'; @@ -54,9 +55,7 @@ interface JobsQueryFactory { export function jobsQueryFactory(reportingCore: ReportingCore): JobsQueryFactory { function getIndex() { - const config = reportingCore.getConfig(); - - return `${config.get('index')}-*`; + return `${REPORTING_SYSTEM_INDEX}-*`; } async function execQuery< diff --git a/x-pack/plugins/reporting/server/usage/get_reporting_usage.ts b/x-pack/plugins/reporting/server/usage/get_reporting_usage.ts index 9a452943ff699..69213d8f8cacc 100644 --- a/x-pack/plugins/reporting/server/usage/get_reporting_usage.ts +++ b/x-pack/plugins/reporting/server/usage/get_reporting_usage.ts @@ -8,6 +8,7 @@ import type { estypes } from '@elastic/elasticsearch'; import type { ElasticsearchClient } from 'kibana/server'; import { get } from 'lodash'; import type { ReportingConfig } from '../'; +import { REPORTING_SYSTEM_INDEX } from '../../common/constants'; import type { ExportTypesRegistry } from '../lib/export_types_registry'; import type { GetLicense } from './'; import { getExportStats } from './get_export_stats'; @@ -144,7 +145,7 @@ export async function getReportingUsage( esClient: ElasticsearchClient, exportTypesRegistry: ExportTypesRegistry ): Promise<ReportingUsageType> { - const reportingIndex = config.get('index'); + const reportingIndex = REPORTING_SYSTEM_INDEX; const params = { index: `${reportingIndex}-*`, filterPath: 'aggregations.*.buckets', diff --git a/x-pack/plugins/rule_registry/common/assets/field_maps/technical_rule_field_map.ts b/x-pack/plugins/rule_registry/common/assets/field_maps/technical_rule_field_map.ts index 54a4b80a35bb4..1c59e56c0466a 100644 --- a/x-pack/plugins/rule_registry/common/assets/field_maps/technical_rule_field_map.ts +++ b/x-pack/plugins/rule_registry/common/assets/field_maps/technical_rule_field_map.ts @@ -16,6 +16,7 @@ export const technicalRuleFieldMap = { Fields.EVENT_ACTION, Fields.TAGS ), + [Fields.ALERT_RULE_PARAMS]: { type: 'keyword', index: false }, [Fields.ALERT_RULE_TYPE_ID]: { type: 'keyword', required: true }, [Fields.ALERT_RULE_CONSUMER]: { type: 'keyword', required: true }, [Fields.ALERT_RULE_PRODUCER]: { type: 'keyword', required: true }, diff --git a/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts b/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts index 5f65cda456a16..d35d18d3b5958 100644 --- a/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts +++ b/x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts @@ -395,7 +395,7 @@ export class AlertsClient { esQuery == null ? { query: ``, language: 'kuery' } : esQuery, [ authzFilter as unknown as Filter, - { term: { [SPACE_IDS]: alertSpaceId } } as unknown as Filter, + { query: { term: { [SPACE_IDS]: alertSpaceId } } } as unknown as Filter, ], config ); diff --git a/x-pack/plugins/security/common/model/deprecations.ts b/x-pack/plugins/security/common/model/deprecations.ts new file mode 100644 index 0000000000000..e990f370c5173 --- /dev/null +++ b/x-pack/plugins/security/common/model/deprecations.ts @@ -0,0 +1,25 @@ +/* + * 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. + */ + +// eslint-disable-next-line @kbn/eslint/no-restricted-paths +import type { DeprecationsDetails, GetDeprecationsContext } from '../../../../../src/core/server'; +import type { Role } from './role'; + +export interface PrivilegeDeprecationsRolesByFeatureIdResponse { + roles?: Role[]; + errors?: DeprecationsDetails[]; +} + +export interface PrivilegeDeprecationsRolesByFeatureIdRequest { + context: GetDeprecationsContext; + featureId: string; +} +export interface PrivilegeDeprecationsService { + getKibanaRolesByFeatureId: ( + args: PrivilegeDeprecationsRolesByFeatureIdRequest + ) => Promise<PrivilegeDeprecationsRolesByFeatureIdResponse>; +} diff --git a/x-pack/plugins/security/common/model/index.ts b/x-pack/plugins/security/common/model/index.ts index 8eb341ef9bd37..082e6bdc12cd0 100644 --- a/x-pack/plugins/security/common/model/index.ts +++ b/x-pack/plugins/security/common/model/index.ts @@ -33,3 +33,8 @@ export { RoleTemplate, RoleMapping, } from './role_mapping'; +export { + PrivilegeDeprecationsRolesByFeatureIdRequest, + PrivilegeDeprecationsRolesByFeatureIdResponse, + PrivilegeDeprecationsService, +} from './deprecations'; diff --git a/x-pack/plugins/security/server/authorization/index.ts b/x-pack/plugins/security/server/authorization/index.ts index 4d67f3435e7da..221baa85a65f6 100644 --- a/x-pack/plugins/security/server/authorization/index.ts +++ b/x-pack/plugins/security/server/authorization/index.ts @@ -13,3 +13,4 @@ export { } from './authorization_service'; export { CheckSavedObjectsPrivileges } from './check_saved_objects_privileges'; export { CheckPrivilegesPayload } from './types'; +export { transformElasticsearchRoleToRole, ElasticsearchRole } from './roles'; diff --git a/x-pack/plugins/security/server/routes/authorization/roles/model/elasticsearch_role.ts b/x-pack/plugins/security/server/authorization/roles/elasticsearch_role.ts similarity index 96% rename from x-pack/plugins/security/server/routes/authorization/roles/model/elasticsearch_role.ts rename to x-pack/plugins/security/server/authorization/roles/elasticsearch_role.ts index fa119ca704753..c0dab16f97af8 100644 --- a/x-pack/plugins/security/server/routes/authorization/roles/model/elasticsearch_role.ts +++ b/x-pack/plugins/security/server/authorization/roles/elasticsearch_role.ts @@ -8,10 +8,10 @@ import { GLOBAL_RESOURCE, RESERVED_PRIVILEGES_APPLICATION_WILDCARD, -} from '../../../../../common/constants'; -import type { Role, RoleKibanaPrivilege } from '../../../../../common/model'; -import { PrivilegeSerializer } from '../../../../authorization/privilege_serializer'; -import { ResourceSerializer } from '../../../../authorization/resource_serializer'; +} from '../../../common/constants'; +import type { Role, RoleKibanaPrivilege } from '../../../common/model'; +import { PrivilegeSerializer } from '../privilege_serializer'; +import { ResourceSerializer } from '../resource_serializer'; export type ElasticsearchRole = Pick<Role, 'name' | 'metadata' | 'transient_metadata'> & { applications: Array<{ diff --git a/x-pack/plugins/security/server/authorization/roles/index.ts b/x-pack/plugins/security/server/authorization/roles/index.ts new file mode 100644 index 0000000000000..a5047a1872c09 --- /dev/null +++ b/x-pack/plugins/security/server/authorization/roles/index.ts @@ -0,0 +1,8 @@ +/* + * 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. + */ + +export { transformElasticsearchRoleToRole, ElasticsearchRole } from './elasticsearch_role'; diff --git a/x-pack/plugins/security/server/config.test.ts b/x-pack/plugins/security/server/config.test.ts index 3be565d59a11f..98f11d56853b2 100644 --- a/x-pack/plugins/security/server/config.test.ts +++ b/x-pack/plugins/security/server/config.test.ts @@ -1729,7 +1729,7 @@ describe('createConfig()', () => { }, }, }) - ).toThrow('[audit.appender.2.type]: expected value to equal [legacy-appender]'); + ).toThrow('[audit.appender.1.layout]: expected at least one defined value but got [undefined]'); }); it('rejects an ignore_filter when no appender is configured', () => { diff --git a/x-pack/plugins/security/server/config_deprecations.test.ts b/x-pack/plugins/security/server/config_deprecations.test.ts index 18f864012cb87..beac88293026c 100644 --- a/x-pack/plugins/security/server/config_deprecations.test.ts +++ b/x-pack/plugins/security/server/config_deprecations.test.ts @@ -9,8 +9,11 @@ import { cloneDeep } from 'lodash'; import { applyDeprecations, configDeprecationFactory } from '@kbn/config'; +import { configDeprecationsMock } from '../../../../src/core/server/mocks'; import { securityConfigDeprecationProvider } from './config_deprecations'; +const deprecationContext = configDeprecationsMock.createContext(); + const applyConfigDeprecations = (settings: Record<string, any> = {}) => { const deprecations = securityConfigDeprecationProvider(configDeprecationFactory); const deprecationMessages: string[] = []; @@ -19,6 +22,7 @@ const applyConfigDeprecations = (settings: Record<string, any> = {}) => { deprecations.map((deprecation) => ({ deprecation, path: 'xpack.security', + context: deprecationContext, })), () => ({ message }) => diff --git a/x-pack/plugins/security/server/deprecations/index.ts b/x-pack/plugins/security/server/deprecations/index.ts new file mode 100644 index 0000000000000..05802a5a673c5 --- /dev/null +++ b/x-pack/plugins/security/server/deprecations/index.ts @@ -0,0 +1,12 @@ +/* + * 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. + */ + +/** + * getKibanaRolesByFeature + */ + +export { getPrivilegeDeprecationsService } from './privilege_deprecations'; diff --git a/x-pack/plugins/security/server/deprecations/privilege_deprecations.test.ts b/x-pack/plugins/security/server/deprecations/privilege_deprecations.test.ts new file mode 100644 index 0000000000000..e889eb17d5af9 --- /dev/null +++ b/x-pack/plugins/security/server/deprecations/privilege_deprecations.test.ts @@ -0,0 +1,284 @@ +/* + * 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 type { GetDeprecationsContext } from 'src/core/server'; +import { elasticsearchServiceMock, loggingSystemMock } from 'src/core/server/mocks'; + +import { getPrivilegeDeprecationsService } from '.'; +import { licenseMock } from '../../common/licensing/index.mock'; + +const kibanaIndexName = '.a-kibana-index'; +const application = `kibana-${kibanaIndexName}`; + +describe('#getPrivilegeDeprecationsService', () => { + describe('#getKibanaRolesByFeatureId', () => { + const mockAsCurrentUser = elasticsearchServiceMock.createScopedClusterClient(); + const mockLicense = licenseMock.create(); + const mockLogger = loggingSystemMock.createLogger(); + const authz = { applicationName: application }; + + const { getKibanaRolesByFeatureId } = getPrivilegeDeprecationsService( + authz, + mockLicense, + mockLogger + ); + + it('happy path to find siem roles with feature_siem privileges', async () => { + mockAsCurrentUser.asCurrentUser.security.getRole.mockResolvedValue( + elasticsearchServiceMock.createSuccessTransportRequestPromise({ + first_role: { + cluster: [], + indices: [], + applications: [ + { + application, + privileges: ['feature_siem.all', 'feature_siem.cases_read'], + resources: ['space:securitySolutions'], + }, + ], + run_as: [], + metadata: { + _reserved: true, + }, + transient_metadata: { + enabled: true, + }, + }, + }) + ); + + const mockContext = { + esClient: mockAsCurrentUser, + savedObjectsClient: jest.fn(), + } as unknown as GetDeprecationsContext; + + const resp = await getKibanaRolesByFeatureId({ context: mockContext, featureId: 'siem' }); + expect(resp).toMatchInlineSnapshot(` + Object { + "roles": Array [ + Object { + "_transform_error": Array [], + "_unrecognized_applications": Array [], + "elasticsearch": Object { + "cluster": Array [], + "indices": Array [], + "run_as": Array [], + }, + "kibana": Array [ + Object { + "base": Array [], + "feature": Object { + "siem": Array [ + "all", + "cases_read", + ], + }, + "spaces": Array [ + "securitySolutions", + ], + }, + ], + "metadata": Object { + "_reserved": true, + }, + "name": "first_role", + "transient_metadata": Object { + "enabled": true, + }, + }, + ], + } + `); + }); + + it('happy path to find siem roles with feature_siem and feature_foo and feature_bar privileges', async () => { + mockAsCurrentUser.asCurrentUser.security.getRole.mockResolvedValue( + elasticsearchServiceMock.createSuccessTransportRequestPromise({ + first_role: { + cluster: [], + indices: [], + applications: [ + { + application, + privileges: [ + 'feature_foo.foo-privilege-1', + 'feature_foo.foo-privilege-2', + 'feature_bar.bar-privilege-1', + 'feature_siem.all', + 'feature_siem.cases_read', + ], + resources: ['space:securitySolutions'], + }, + ], + run_as: [], + metadata: { + _reserved: true, + }, + transient_metadata: { + enabled: true, + }, + }, + }) + ); + + const mockContext = { + esClient: mockAsCurrentUser, + savedObjectsClient: jest.fn(), + } as unknown as GetDeprecationsContext; + + const resp = await getKibanaRolesByFeatureId({ context: mockContext, featureId: 'siem' }); + expect(resp).toMatchInlineSnapshot(` + Object { + "roles": Array [ + Object { + "_transform_error": Array [], + "_unrecognized_applications": Array [], + "elasticsearch": Object { + "cluster": Array [], + "indices": Array [], + "run_as": Array [], + }, + "kibana": Array [ + Object { + "base": Array [], + "feature": Object { + "bar": Array [ + "bar-privilege-1", + ], + "foo": Array [ + "foo-privilege-1", + "foo-privilege-2", + ], + "siem": Array [ + "all", + "cases_read", + ], + }, + "spaces": Array [ + "securitySolutions", + ], + }, + ], + "metadata": Object { + "_reserved": true, + }, + "name": "first_role", + "transient_metadata": Object { + "enabled": true, + }, + }, + ], + } + `); + }); + + it('happy path to NOT find siem roles with and feature_foo and feature_bar privileges', async () => { + mockAsCurrentUser.asCurrentUser.security.getRole.mockResolvedValue( + elasticsearchServiceMock.createSuccessTransportRequestPromise({ + first_role: { + cluster: [], + indices: [], + applications: [ + { + application, + privileges: [ + 'feature_foo.foo-privilege-1', + 'feature_foo.foo-privilege-2', + 'feature_bar.bar-privilege-1', + ], + resources: ['space:securitySolutions'], + }, + ], + run_as: [], + metadata: { + _reserved: true, + }, + transient_metadata: { + enabled: true, + }, + }, + }) + ); + + const mockContext = { + esClient: mockAsCurrentUser, + savedObjectsClient: jest.fn(), + } as unknown as GetDeprecationsContext; + + const resp = await getKibanaRolesByFeatureId({ context: mockContext, featureId: 'siem' }); + expect(resp).toMatchInlineSnapshot(` + Object { + "roles": Array [], + } + `); + }); + + it('unhappy path with status code 400, we should have the attribute errors', async () => { + mockAsCurrentUser.asCurrentUser.security.getRole.mockResolvedValue( + elasticsearchServiceMock.createErrorTransportRequestPromise({ + message: 'Test error', + statusCode: 400, + }) + ); + + const mockContext = { + esClient: mockAsCurrentUser, + savedObjectsClient: jest.fn(), + } as unknown as GetDeprecationsContext; + + const resp = await getKibanaRolesByFeatureId({ context: mockContext, featureId: 'siem' }); + expect(resp).toMatchInlineSnapshot(` + Object { + "errors": Array [ + Object { + "correctiveActions": Object { + "manualSteps": Array [ + "A user with the \\"manage_security\\" cluster privilege is required to perform this check.", + ], + }, + "level": "fetch_error", + "message": "Error retrieving roles for privilege deprecations: Test error", + "title": "Error in privilege deprecations services", + }, + ], + } + `); + }); + + it('unhappy path with status code 403, we should have unauthorized message in the attribute errors', async () => { + mockAsCurrentUser.asCurrentUser.security.getRole.mockResolvedValue( + elasticsearchServiceMock.createErrorTransportRequestPromise({ + message: 'Test error', + statusCode: 403, + }) + ); + + const mockContext = { + esClient: mockAsCurrentUser, + savedObjectsClient: jest.fn(), + } as unknown as GetDeprecationsContext; + + const resp = await getKibanaRolesByFeatureId({ context: mockContext, featureId: 'siem' }); + expect(resp).toMatchInlineSnapshot(` + Object { + "errors": Array [ + Object { + "correctiveActions": Object { + "manualSteps": Array [ + "A user with the \\"manage_security\\" cluster privilege is required to perform this check.", + ], + }, + "level": "fetch_error", + "message": "You must have the 'manage_security' cluster privilege to fix role deprecations.", + "title": "Error in privilege deprecations services", + }, + ], + } + `); + }); + }); +}); diff --git a/x-pack/plugins/security/server/deprecations/privilege_deprecations.ts b/x-pack/plugins/security/server/deprecations/privilege_deprecations.ts new file mode 100644 index 0000000000000..df212d5c7bde3 --- /dev/null +++ b/x-pack/plugins/security/server/deprecations/privilege_deprecations.ts @@ -0,0 +1,106 @@ +/* + * 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 { i18n } from '@kbn/i18n'; +import type { Logger } from 'src/core/server'; + +import type { SecurityLicense } from '../../common/licensing'; +import type { + PrivilegeDeprecationsRolesByFeatureIdRequest, + PrivilegeDeprecationsRolesByFeatureIdResponse, +} from '../../common/model'; +import { transformElasticsearchRoleToRole } from '../authorization'; +import type { AuthorizationServiceSetupInternal, ElasticsearchRole } from '../authorization'; +import { getDetailedErrorMessage, getErrorStatusCode } from '../errors'; + +export const getPrivilegeDeprecationsService = ( + authz: Pick<AuthorizationServiceSetupInternal, 'applicationName'>, + license: SecurityLicense, + logger: Logger +) => { + const getKibanaRolesByFeatureId = async ({ + context, + featureId, + }: PrivilegeDeprecationsRolesByFeatureIdRequest): Promise<PrivilegeDeprecationsRolesByFeatureIdResponse> => { + // Nothing to do if security is disabled + if (!license.isEnabled()) { + return { + roles: [], + }; + } + let kibanaRoles; + try { + const { body: elasticsearchRoles } = await context.esClient.asCurrentUser.security.getRole< + Record<string, ElasticsearchRole> + >(); + kibanaRoles = Object.entries(elasticsearchRoles).map(([roleName, elasticsearchRole]) => + transformElasticsearchRoleToRole( + // @ts-expect-error `SecurityIndicesPrivileges.names` expected to be `string[]` + elasticsearchRole, + roleName, + authz.applicationName + ) + ); + } catch (e) { + const statusCode = getErrorStatusCode(e); + const isUnauthorized = statusCode === 403; + const message = isUnauthorized + ? i18n.translate('xpack.security.privilegeDeprecationsService.error.unauthorized.message', { + defaultMessage: `You must have the 'manage_security' cluster privilege to fix role deprecations.`, + }) + : i18n.translate( + 'xpack.security.privilegeDeprecationsService.error.retrievingRoles.message', + { + defaultMessage: `Error retrieving roles for privilege deprecations: {message}`, + values: { + message: getDetailedErrorMessage(e), + }, + } + ); + + if (isUnauthorized) { + logger.warn( + `Failed to retrieve roles when checking for deprecations: the manage_security cluster privilege is required` + ); + } else { + logger.error( + `Failed to retrieve roles when checking for deprecations, unexpected error: ${getDetailedErrorMessage( + e + )}` + ); + } + + return { + errors: [ + { + title: i18n.translate('xpack.security.privilegeDeprecationsService.error.title', { + defaultMessage: `Error in privilege deprecations services`, + }), + level: 'fetch_error', + message, + correctiveActions: { + manualSteps: [ + i18n.translate('xpack.security.privilegeDeprecationsService.manualSteps.message', { + defaultMessage: + 'A user with the "manage_security" cluster privilege is required to perform this check.', + }), + ], + }, + }, + ], + }; + } + return { + roles: kibanaRoles.filter((role) => + role.kibana.find((privilege) => Object.hasOwnProperty.call(privilege.feature, featureId)) + ), + }; + }; + return Object.freeze({ + getKibanaRolesByFeatureId, + }); +}; diff --git a/x-pack/plugins/security/server/mocks.ts b/x-pack/plugins/security/server/mocks.ts index f1f858a40a465..7cae0d29bf943 100644 --- a/x-pack/plugins/security/server/mocks.ts +++ b/x-pack/plugins/security/server/mocks.ts @@ -28,6 +28,9 @@ function createSetupMock() { }, registerSpacesService: jest.fn(), license: licenseMock.create(), + privilegeDeprecationsService: { + getKibanaRolesByFeatureId: jest.fn(), + }, }; } diff --git a/x-pack/plugins/security/server/plugin.test.ts b/x-pack/plugins/security/server/plugin.test.ts index eb88aba1c0e1b..4784e14a11fb4 100644 --- a/x-pack/plugins/security/server/plugin.test.ts +++ b/x-pack/plugins/security/server/plugin.test.ts @@ -123,6 +123,9 @@ describe('Security Plugin', () => { "isEnabled": [Function], "isLicenseAvailable": [Function], }, + "privilegeDeprecationsService": Object { + "getKibanaRolesByFeatureId": [Function], + }, } `); }); diff --git a/x-pack/plugins/security/server/plugin.ts b/x-pack/plugins/security/server/plugin.ts index e3da0716f29ee..2ad75a1c53174 100644 --- a/x-pack/plugins/security/server/plugin.ts +++ b/x-pack/plugins/security/server/plugin.ts @@ -30,7 +30,7 @@ import type { SpacesPluginSetup, SpacesPluginStart } from '../../spaces/server'; import type { TaskManagerSetupContract, TaskManagerStartContract } from '../../task_manager/server'; import type { SecurityLicense } from '../common/licensing'; import { SecurityLicenseService } from '../common/licensing'; -import type { AuthenticatedUser } from '../common/model'; +import type { AuthenticatedUser, PrivilegeDeprecationsService } from '../common/model'; import type { AnonymousAccessServiceStart } from './anonymous_access'; import { AnonymousAccessService } from './anonymous_access'; import type { AuditServiceSetup } from './audit'; @@ -44,6 +44,7 @@ import type { AuthorizationServiceSetup, AuthorizationServiceSetupInternal } fro import { AuthorizationService } from './authorization'; import type { ConfigSchema, ConfigType } from './config'; import { createConfig } from './config'; +import { getPrivilegeDeprecationsService } from './deprecations'; import { ElasticsearchService } from './elasticsearch'; import type { SecurityFeatureUsageServiceStart } from './feature_usage'; import { SecurityFeatureUsageService } from './feature_usage'; @@ -85,6 +86,10 @@ export interface SecurityPluginSetup { * Exposes services for audit logging. */ audit: AuditServiceSetup; + /** + * Exposes services to access kibana roles per feature id with the GetDeprecationsContext + */ + privilegeDeprecationsService: PrivilegeDeprecationsService; } /** @@ -321,9 +326,7 @@ export class SecurityPlugin asScoped: this.auditSetup.asScoped, getLogger: this.auditSetup.getLogger, }, - authc: { getCurrentUser: (request) => this.getAuthentication().getCurrentUser(request) }, - authz: { actions: this.authorizationSetup.actions, checkPrivilegesWithRequest: this.authorizationSetup.checkPrivilegesWithRequest, @@ -333,8 +336,12 @@ export class SecurityPlugin this.authorizationSetup.checkSavedObjectsPrivilegesWithRequest, mode: this.authorizationSetup.mode, }, - license, + privilegeDeprecationsService: getPrivilegeDeprecationsService( + this.authorizationSetup, + license, + this.logger.get('deprecations') + ), }); } diff --git a/x-pack/plugins/security/server/routes/authorization/roles/model/index.ts b/x-pack/plugins/security/server/routes/authorization/roles/model/index.ts index 8334dd3c05476..e090cd26dc39f 100644 --- a/x-pack/plugins/security/server/routes/authorization/roles/model/index.ts +++ b/x-pack/plugins/security/server/routes/authorization/roles/model/index.ts @@ -5,5 +5,5 @@ * 2.0. */ -export { ElasticsearchRole, transformElasticsearchRoleToRole } from './elasticsearch_role'; +export { ElasticsearchRole, transformElasticsearchRoleToRole } from '../../../../authorization'; export { getPutPayloadSchema, transformPutPayloadToElasticsearchRole } from './put_payload'; diff --git a/x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.ts b/x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.ts index 8a560d7b6dd87..7fb2baf0fd410 100644 --- a/x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.ts +++ b/x-pack/plugins/security/server/routes/authorization/roles/model/put_payload.ts @@ -10,10 +10,10 @@ import _ from 'lodash'; import type { TypeOf } from '@kbn/config-schema'; import { schema } from '@kbn/config-schema'; +import type { ElasticsearchRole } from '.'; import { GLOBAL_RESOURCE } from '../../../../../common/constants'; import { PrivilegeSerializer } from '../../../../authorization/privilege_serializer'; import { ResourceSerializer } from '../../../../authorization/resource_serializer'; -import type { ElasticsearchRole } from './elasticsearch_role'; /** * Elasticsearch specific portion of the role definition. diff --git a/x-pack/plugins/security_solution/common/constants.ts b/x-pack/plugins/security_solution/common/constants.ts index 9ac24d96d329f..52c82f57d9ec3 100644 --- a/x-pack/plugins/security_solution/common/constants.ts +++ b/x-pack/plugins/security_solution/common/constants.ts @@ -334,7 +334,7 @@ export const ELASTIC_NAME = 'estc'; export const METADATA_TRANSFORM_STATS_URL = `/api/transform/transforms/${METADATA_TRANSFORMS_PATTERN}/_stats`; -export const RISKY_HOSTS_INDEX = 'ml_host_risk_score_latest'; +export const HOST_RISK_SCORES_INDEX = 'ml_host_risk_score_latest'; export const TRANSFORM_STATES = { ABORTING: 'aborting', diff --git a/x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts b/x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts index b38886296e74d..d017d0095e895 100644 --- a/x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts +++ b/x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts @@ -216,8 +216,10 @@ describe('get_filter', () => { }; const exists: Partial<Filter> = { - exists: { - field: 'host.hostname', + query: { + exists: { + field: 'host.hostname', + }, }, } as Partial<Filter>; diff --git a/x-pack/plugins/security_solution/common/endpoint/data_generators/host_isolation_exception_generator.ts b/x-pack/plugins/security_solution/common/endpoint/data_generators/host_isolation_exception_generator.ts new file mode 100644 index 0000000000000..1790924182dfc --- /dev/null +++ b/x-pack/plugins/security_solution/common/endpoint/data_generators/host_isolation_exception_generator.ts @@ -0,0 +1,39 @@ +/* + * 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 type { CreateExceptionListItemSchema } from '@kbn/securitysolution-io-ts-list-types'; +import { ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_ID } from '@kbn/securitysolution-list-constants'; +import { BaseDataGenerator } from './base_data_generator'; +import { getCreateExceptionListItemSchemaMock } from '../../../../lists/common/schemas/request/create_exception_list_item_schema.mock'; + +export class HostIsolationExceptionGenerator extends BaseDataGenerator<CreateExceptionListItemSchema> { + generate(): CreateExceptionListItemSchema { + const overrides: Partial<CreateExceptionListItemSchema> = { + name: `generator exception ${this.randomString(5)}`, + list_id: ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_ID, + item_id: `generator_endpoint_host_isolation_exception_${this.randomUUID()}`, + os_types: ['windows', 'linux', 'macos'], + tags: ['policy:all'], + namespace_type: 'agnostic', + meta: undefined, + description: `Description ${this.randomString(5)}`, + entries: [ + { + field: 'destination.ip', + operator: 'included', + type: 'match', + value: this.randomIP(), + }, + ], + }; + + return Object.assign<CreateExceptionListItemSchema, Partial<CreateExceptionListItemSchema>>( + getCreateExceptionListItemSchemaMock(), + overrides + ); + } +} diff --git a/x-pack/plugins/security_solution/common/endpoint/generate_data.ts b/x-pack/plugins/security_solution/common/endpoint/generate_data.ts index a1b8ca98afc20..1492e0e8c82c9 100644 --- a/x-pack/plugins/security_solution/common/endpoint/generate_data.ts +++ b/x-pack/plugins/security_solution/common/endpoint/generate_data.ts @@ -1663,6 +1663,7 @@ export class EndpointDocGenerator extends BaseDataGenerator { install_status: 'installed', install_started_at: '2020-06-24T14:41:23.098Z', install_source: 'registry', + keep_policies_up_to_date: false, }, references: [], updated_at: '2020-06-24T14:41:23.098Z', diff --git a/x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/index.ts b/x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/index.ts index 8e65666e921fa..7495e2dd2b865 100644 --- a/x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/index.ts +++ b/x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/index.ts @@ -11,7 +11,7 @@ export * from './common'; export * from './details'; export * from './first_last_seen'; export * from './kpi'; -export * from './risky_hosts'; +export * from './risk_score'; export * from './overview'; export * from './uncommon_processes'; @@ -23,6 +23,6 @@ export enum HostsQueries { hosts = 'hosts', hostsEntities = 'hostsEntities', overview = 'overviewHost', - riskyHosts = 'riskyHosts', + hostsRiskScore = 'hostsRiskScore', uncommonProcesses = 'uncommonProcesses', } diff --git a/x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risk_score/index.ts b/x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risk_score/index.ts new file mode 100644 index 0000000000000..39f648eab8cd0 --- /dev/null +++ b/x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risk_score/index.ts @@ -0,0 +1,32 @@ +/* + * 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 { FactoryQueryTypes } from '../..'; +import { + IEsSearchRequest, + IEsSearchResponse, +} from '../../../../../../../../src/plugins/data/common'; +import { Inspect, Maybe, TimerangeInput } from '../../../common'; + +export interface HostsRiskScoreRequestOptions extends IEsSearchRequest { + defaultIndex: string[]; + factoryQueryType?: FactoryQueryTypes; + hostName?: string; + timerange?: TimerangeInput; +} + +export interface HostsRiskScoreStrategyResponse extends IEsSearchResponse { + inspect?: Maybe<Inspect>; +} + +export interface HostsRiskScore { + host: { + name: string; + }; + risk_score: number; + risk: string; +} diff --git a/x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risky_hosts/index.ts b/x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risky_hosts/index.ts deleted file mode 100644 index f6290e5321a3c..0000000000000 --- a/x-pack/plugins/security_solution/common/search_strategy/security_solution/hosts/risky_hosts/index.ts +++ /dev/null @@ -1,15 +0,0 @@ -/* - * 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 { Inspect, Maybe, RequestBasicOptions } from '../../..'; -import { IEsSearchResponse } from '../../../../../../../../src/plugins/data/common'; - -export type HostsRiskyHostsRequestOptions = RequestBasicOptions; - -export interface HostsRiskyHostsStrategyResponse extends IEsSearchResponse { - inspect?: Maybe<Inspect>; -} diff --git a/x-pack/plugins/security_solution/common/search_strategy/security_solution/index.ts b/x-pack/plugins/security_solution/common/search_strategy/security_solution/index.ts index 47a96d8a5fe69..9a176662fe86b 100644 --- a/x-pack/plugins/security_solution/common/search_strategy/security_solution/index.ts +++ b/x-pack/plugins/security_solution/common/search_strategy/security_solution/index.ts @@ -28,8 +28,8 @@ import { HostsKpiUniqueIpsStrategyResponse, HostsKpiUniqueIpsRequestOptions, HostFirstLastSeenRequestOptions, - HostsRiskyHostsStrategyResponse, - HostsRiskyHostsRequestOptions, + HostsRiskScoreStrategyResponse, + HostsRiskScoreRequestOptions, } from './hosts'; import { NetworkQueries, @@ -126,8 +126,8 @@ export type StrategyResponseType<T extends FactoryQueryTypes> = T extends HostsQ ? HostDetailsStrategyResponse : T extends UebaQueries.riskScore ? RiskScoreStrategyResponse - : T extends HostsQueries.riskyHosts - ? HostsRiskyHostsStrategyResponse + : T extends HostsQueries.hostsRiskScore + ? HostsRiskScoreStrategyResponse : T extends UebaQueries.hostRules ? HostRulesStrategyResponse : T extends UebaQueries.userRules @@ -182,8 +182,8 @@ export type StrategyResponseType<T extends FactoryQueryTypes> = T extends HostsQ export type StrategyRequestType<T extends FactoryQueryTypes> = T extends HostsQueries.hosts ? HostsRequestOptions - : T extends HostsQueries.riskyHosts - ? HostsRiskyHostsRequestOptions + : T extends HostsQueries.hostsRiskScore + ? HostsRiskScoreRequestOptions : T extends HostsQueries.details ? HostDetailsRequestOptions : T extends HostsQueries.overview diff --git a/x-pack/plugins/security_solution/cypress/README.md b/x-pack/plugins/security_solution/cypress/README.md index d70011f864860..b500091aacc2d 100644 --- a/x-pack/plugins/security_solution/cypress/README.md +++ b/x-pack/plugins/security_solution/cypress/README.md @@ -207,7 +207,7 @@ node ../../../scripts/es_archiver load auditbeat --dir ../../test/security_solut # launch the cypress test runner with overridden environment variables cd x-pack/plugins/security_solution -CYPRESS_base_url=http(s)://<username>:<password>@<kbnUrl> CYPRESS_ELASTICSEARCH_URL=http(s)://<username>:<password>@<elsUrl> CYPRESS_ELASTICSEARCH_USERNAME=<username> CYPRESS_ELASTICSEARCH_PASSWORD=<password> CYPRESS_protocol=<httpOrHttps> CYPRESS_hostname=<kibanaInstanceHostName> CYPRESS_configport=<kibanaPort> CYPRESS_KIBANA_URL=<kbnUrl> yarn cypress:run +CYPRESS_BASE_URL=http(s)://<username>:<password>@<kbnUrl> CYPRESS_ELASTICSEARCH_URL=http(s)://<username>:<password>@<elsUrl> CYPRESS_ELASTICSEARCH_USERNAME=<username> CYPRESS_ELASTICSEARCH_PASSWORD=<password> yarn cypress:run ``` #### Custom Target + Headless (Firefox) @@ -225,7 +225,7 @@ node ../../../scripts/es_archiver load auditbeat --dir ../../test/security_solut # launch the cypress test runner with overridden environment variables cd x-pack/plugins/security_solution -CYPRESS_base_url=http(s)://<username>:<password>@<kbnUrl> CYPRESS_ELASTICSEARCH_URL=http(s)://<username>:<password>@<elsUrl> CYPRESS_ELASTICSEARCH_USERNAME=<username> CYPRESS_ELASTICSEARCH_PASSWORD=<password> CYPRESS_protocol=<httpOrHttps> CYPRESS_hostname=<kibanaInstanceHostName> CYPRESS_configport=<kibanaPort> CYPRESS_KIBANA_URL=<kbnUrl> yarn cypress:run:firefox +CYPRESS_BASE_URL=http(s)://<username>:<password>@<kbnUrl> CYPRESS_ELASTICSEARCH_URL=http(s)://<username>:<password>@<elsUrl> CYPRESS_ELASTICSEARCH_USERNAME=<username> CYPRESS_ELASTICSEARCH_PASSWORD=<password> yarn cypress:run:firefox ``` #### CCS Custom Target + Headless diff --git a/x-pack/plugins/security_solution/cypress/integration/timeline_templates/creation.spec.ts b/x-pack/plugins/security_solution/cypress/integration/timeline_templates/creation.spec.ts index 3930088f8bfdd..48269677466b6 100644 --- a/x-pack/plugins/security_solution/cypress/integration/timeline_templates/creation.spec.ts +++ b/x-pack/plugins/security_solution/cypress/integration/timeline_templates/creation.spec.ts @@ -51,12 +51,11 @@ import { TIMELINES_URL } from '../../urls/navigation'; describe('Timeline Templates', () => { beforeEach(() => { cleanKibana(); - loginAndWaitForPageWithoutDateRange(TIMELINES_URL); - cy.intercept('PATCH', '/api/timeline').as('timeline'); }); it('Creates a timeline template', async () => { + loginAndWaitForPageWithoutDateRange(TIMELINES_URL); openTimelineUsingToggle(); createNewTimelineTemplate(); populateTimeline(); @@ -103,20 +102,15 @@ describe('Timeline Templates', () => { }); it('Create template from timeline', () => { + createTimeline(getTimeline()); + loginAndWaitForPageWithoutDateRange(TIMELINES_URL); waitForTimelinesPanelToBeLoaded(); + expandEventAction(); + clickingOnCreateTemplateFromTimelineBtn(); - createTimeline(getTimeline()).then(() => { - expandEventAction(); - clickingOnCreateTemplateFromTimelineBtn(); - cy.wait('@timeline', { timeout: 100000 }).then(({ request }) => { - expect(request.body.timeline).to.haveOwnProperty('templateTimelineId'); - expect(request.body.timeline).to.haveOwnProperty('description', getTimeline().description); - expect(request.body.timeline.kqlQuery.filterQuery.kuery).to.haveOwnProperty( - 'expression', - getTimeline().query - ); - cy.get(TIMELINE_FLYOUT_WRAPPER).should('have.css', 'visibility', 'visible'); - }); - }); + cy.wait('@timeline', { timeout: 100000 }); + cy.get(TIMELINE_FLYOUT_WRAPPER).should('have.css', 'visibility', 'visible'); + cy.get(TIMELINE_DESCRIPTION).should('have.text', getTimeline().description); + cy.get(TIMELINE_QUERY).should('have.text', getTimeline().query); }); }); diff --git a/x-pack/plugins/security_solution/cypress/integration/timelines/creation.spec.ts b/x-pack/plugins/security_solution/cypress/integration/timelines/creation.spec.ts index 6b86957c78e6e..fb41aec91b6c4 100644 --- a/x-pack/plugins/security_solution/cypress/integration/timelines/creation.spec.ts +++ b/x-pack/plugins/security_solution/cypress/integration/timelines/creation.spec.ts @@ -23,9 +23,9 @@ import { import { createTimelineTemplate } from '../../tasks/api_calls/timelines'; import { cleanKibana } from '../../tasks/common'; - import { loginAndWaitForPage, loginAndWaitForPageWithoutDateRange } from '../../tasks/login'; import { openTimelineUsingToggle } from '../../tasks/security_main'; +import { selectCustomTemplates } from '../../tasks/templates'; import { addEqlToTimeline, addFilter, @@ -115,22 +115,22 @@ describe('Timelines', (): void => { describe('Create a timeline from a template', () => { before(() => { + cy.intercept('/api/timeline*').as('timeline'); cleanKibana(); + createTimelineTemplate(getTimeline()); loginAndWaitForPageWithoutDateRange(TIMELINE_TEMPLATES_URL); waitForTimelinesPanelToBeLoaded(); }); it('Should have the same query and open the timeline modal', () => { - createTimelineTemplate(getTimeline()).then(() => { - expandEventAction(); - cy.intercept('/api/timeline').as('timeline'); - - clickingOnCreateTimelineFormTemplateBtn(); - cy.wait('@timeline', { timeout: 100000 }); - - cy.get(TIMELINE_FLYOUT_WRAPPER).should('have.css', 'visibility', 'visible'); - cy.get(TIMELINE_DESCRIPTION).should('have.text', getTimeline().description); - cy.get(TIMELINE_QUERY).should('have.text', getTimeline().query); - }); + selectCustomTemplates(); + cy.wait('@timeline', { timeout: 100000 }); + expandEventAction(); + clickingOnCreateTimelineFormTemplateBtn(); + cy.wait('@timeline', { timeout: 100000 }); + + cy.get(TIMELINE_FLYOUT_WRAPPER).should('have.css', 'visibility', 'visible'); + cy.get(TIMELINE_DESCRIPTION).should('have.text', getTimeline().description); + cy.get(TIMELINE_QUERY).should('have.text', getTimeline().query); }); }); diff --git a/x-pack/plugins/security_solution/cypress/objects/rule.ts b/x-pack/plugins/security_solution/cypress/objects/rule.ts index db76bfc3cf4df..788e177fec721 100644 --- a/x-pack/plugins/security_solution/cypress/objects/rule.ts +++ b/x-pack/plugins/security_solution/cypress/objects/rule.ts @@ -72,10 +72,6 @@ export interface OverrideRule extends CustomRule { timestampOverride: string; } -export interface EventCorrelationRule extends CustomRule { - language: string; -} - export interface ThreatIndicatorRule extends CustomRule { indicatorIndexPattern: string[]; indicatorMappingField: string; @@ -330,7 +326,7 @@ export const getEqlRule = (): CustomRule => ({ maxSignals: 100, }); -export const getCCSEqlRule = (): EventCorrelationRule => ({ +export const getCCSEqlRule = (): CustomRule => ({ customQuery: 'any where process.name == "run-parts"', name: 'New EQL Rule', index: [`${ccsRemoteName}:run-parts`], @@ -346,7 +342,6 @@ export const getCCSEqlRule = (): EventCorrelationRule => ({ lookBack: getLookBack(), timeline: getTimeline(), maxSignals: 100, - language: 'eql', }); export const getEqlSequenceRule = (): CustomRule => ({ diff --git a/x-pack/plugins/security_solution/cypress/screens/templates.ts b/x-pack/plugins/security_solution/cypress/screens/templates.ts new file mode 100644 index 0000000000000..65fab879b1432 --- /dev/null +++ b/x-pack/plugins/security_solution/cypress/screens/templates.ts @@ -0,0 +1,8 @@ +/* + * 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. + */ + +export const CUSTOM_TEMPLATES = '[data-test-subj="Custom templates"]'; diff --git a/x-pack/plugins/security_solution/cypress/tasks/alerts_detection_rules.ts b/x-pack/plugins/security_solution/cypress/tasks/alerts_detection_rules.ts index 7d2116cff7bfb..6b985c7009b27 100644 --- a/x-pack/plugins/security_solution/cypress/tasks/alerts_detection_rules.ts +++ b/x-pack/plugins/security_solution/cypress/tasks/alerts_detection_rules.ts @@ -72,15 +72,13 @@ export const duplicateFirstRule = () => { * flake. */ export const duplicateRuleFromMenu = () => { + const click = ($el: Cypress.ObjectLike) => cy.wrap($el).click({ force: true }); cy.get(LOADING_INDICATOR).should('not.exist'); - cy.root() - .pipe(($el) => { - $el.find(ALL_ACTIONS).trigger('click'); - return $el.find(DUPLICATE_RULE_MENU_PANEL_BTN); - }) - .should(($el) => expect($el).to.be.visible); + cy.get(ALL_ACTIONS).pipe(click); + cy.get(DUPLICATE_RULE_MENU_PANEL_BTN).should('be.visible'); + // Because of a fade effect and fast clicking this can produce more than one click - cy.get(DUPLICATE_RULE_MENU_PANEL_BTN).pipe(($el) => $el.trigger('click')); + cy.get(DUPLICATE_RULE_MENU_PANEL_BTN).pipe(click); }; /** diff --git a/x-pack/plugins/security_solution/cypress/tasks/api_calls/rules.ts b/x-pack/plugins/security_solution/cypress/tasks/api_calls/rules.ts index 130467cde053d..04ff0fcabc081 100644 --- a/x-pack/plugins/security_solution/cypress/tasks/api_calls/rules.ts +++ b/x-pack/plugins/security_solution/cypress/tasks/api_calls/rules.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { CustomRule, EventCorrelationRule, ThreatIndicatorRule } from '../../objects/rule'; +import { CustomRule, ThreatIndicatorRule } from '../../objects/rule'; export const createCustomRule = (rule: CustomRule, ruleId = 'rule_testing', interval = '100m') => cy.request({ @@ -29,7 +29,7 @@ export const createCustomRule = (rule: CustomRule, ruleId = 'rule_testing', inte failOnStatusCode: false, }); -export const createEventCorrelationRule = (rule: EventCorrelationRule, ruleId = 'rule_testing') => +export const createEventCorrelationRule = (rule: CustomRule, ruleId = 'rule_testing') => cy.request({ method: 'POST', url: 'api/detection_engine/rules', diff --git a/x-pack/plugins/security_solution/cypress/tasks/login.ts b/x-pack/plugins/security_solution/cypress/tasks/login.ts index 243bfd113bfd2..5a935702131d6 100644 --- a/x-pack/plugins/security_solution/cypress/tasks/login.ts +++ b/x-pack/plugins/security_solution/cypress/tasks/login.ts @@ -56,13 +56,15 @@ const LOGIN_API_ENDPOINT = '/internal/security/login'; * @param route string route to visit */ export const getUrlWithRoute = (role: ROLES, route: string) => { + const url = Cypress.config().baseUrl; + const kibana = new URL(url!); const theUrl = `${Url.format({ auth: `${role}:changeme`, username: role, password: 'changeme', - protocol: Cypress.env('protocol'), - hostname: Cypress.env('hostname'), - port: Cypress.env('configport'), + protocol: kibana.protocol.replace(':', ''), + hostname: kibana.hostname, + port: kibana.port, } as UrlObject)}${route.startsWith('/') ? '' : '/'}${route}`; cy.log(`origin: ${theUrl}`); return theUrl; @@ -80,11 +82,13 @@ interface User { * @param route string route to visit */ export const constructUrlWithUser = (user: User, route: string) => { - const hostname = Cypress.env('hostname'); + const url = Cypress.config().baseUrl; + const kibana = new URL(url!); + const hostname = kibana.hostname; const username = user.username; const password = user.password; - const protocol = Cypress.env('protocol'); - const port = Cypress.env('configport'); + const protocol = kibana.protocol.replace(':', ''); + const port = kibana.port; const path = `${route.startsWith('/') ? '' : '/'}${route}`; const strUrl = `${protocol}://${username}:${password}@${hostname}:${port}${path}`; @@ -98,7 +102,7 @@ export const getCurlScriptEnvVars = () => ({ ELASTICSEARCH_URL: Cypress.env('ELASTICSEARCH_URL'), ELASTICSEARCH_USERNAME: Cypress.env('ELASTICSEARCH_USERNAME'), ELASTICSEARCH_PASSWORD: Cypress.env('ELASTICSEARCH_PASSWORD'), - KIBANA_URL: Cypress.env('KIBANA_URL'), + KIBANA_URL: Cypress.config().baseUrl, }); export const postRoleAndUser = (role: ROLES) => { diff --git a/x-pack/plugins/security_solution/cypress/tasks/templates.ts b/x-pack/plugins/security_solution/cypress/tasks/templates.ts new file mode 100644 index 0000000000000..6490a7c1df717 --- /dev/null +++ b/x-pack/plugins/security_solution/cypress/tasks/templates.ts @@ -0,0 +1,12 @@ +/* + * 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 { CUSTOM_TEMPLATES } from '../screens/templates'; + +export const selectCustomTemplates = () => { + cy.get(CUSTOM_TEMPLATES).click({ force: true }); +}; diff --git a/x-pack/plugins/security_solution/cypress/tasks/timeline.ts b/x-pack/plugins/security_solution/cypress/tasks/timeline.ts index 03ccb784bd259..039e8ed44886e 100644 --- a/x-pack/plugins/security_solution/cypress/tasks/timeline.ts +++ b/x-pack/plugins/security_solution/cypress/tasks/timeline.ts @@ -390,5 +390,10 @@ export const clickingOnCreateTemplateFromTimelineBtn = () => { }; export const expandEventAction = () => { - cy.get(TIMELINE_COLLAPSED_ITEMS_BTN).first().click(); + cy.waitUntil(() => { + cy.get(TIMELINE_COLLAPSED_ITEMS_BTN).should('exist'); + cy.get(TIMELINE_COLLAPSED_ITEMS_BTN).should('be.visible'); + return cy.get(TIMELINE_COLLAPSED_ITEMS_BTN).then(($el) => $el.length === 1); + }); + cy.get(TIMELINE_COLLAPSED_ITEMS_BTN).click(); }; diff --git a/x-pack/plugins/security_solution/cypress/tasks/timelines.ts b/x-pack/plugins/security_solution/cypress/tasks/timelines.ts index bda78955a2449..a135ce8c90510 100644 --- a/x-pack/plugins/security_solution/cypress/tasks/timelines.ts +++ b/x-pack/plugins/security_solution/cypress/tasks/timelines.ts @@ -5,6 +5,7 @@ * 2.0. */ +import { LOADING_INDICATOR } from '../screens/security_header'; import { TIMELINE_CHECKBOX, BULK_ACTIONS, @@ -24,6 +25,8 @@ export const openTimeline = (id: string) => { cy.get(TIMELINE(id)).should('be.visible').pipe(click); }; -export const waitForTimelinesPanelToBeLoaded = (): Cypress.Chainable<JQuery<HTMLElement>> => { - return cy.get(TIMELINES_TABLE).should('exist'); +export const waitForTimelinesPanelToBeLoaded = () => { + cy.get(LOADING_INDICATOR).should('exist'); + cy.get(LOADING_INDICATOR).should('not.exist'); + cy.get(TIMELINES_TABLE).should('exist'); }; diff --git a/x-pack/plugins/security_solution/public/app/home/template_wrapper/index.tsx b/x-pack/plugins/security_solution/public/app/home/template_wrapper/index.tsx index 04f81d2cac3df..b152ccd546170 100644 --- a/x-pack/plugins/security_solution/public/app/home/template_wrapper/index.tsx +++ b/x-pack/plugins/security_solution/public/app/home/template_wrapper/index.tsx @@ -23,6 +23,10 @@ import { } from './bottom_bar'; import { useShowTimeline } from '../../../common/utils/timeline/use_show_timeline'; import { gutterTimeline } from '../../../common/lib/helpers'; +import { useSourcererScope } from '../../../common/containers/sourcerer'; +import { OverviewEmpty } from '../../../overview/components/overview_empty'; +import { ENDPOINT_METADATA_INDEX } from '../../../../common/constants'; +import { useFetchIndex } from '../../../common/containers/source'; /* eslint-disable react/display-name */ @@ -73,11 +77,16 @@ export const SecuritySolutionTemplateWrapper: React.FC<SecuritySolutionPageWrapp const { show: isShowingTimelineOverlay } = useDeepEqualSelector((state) => getTimelineShowStatus(state, TimelineId.active) ); + const endpointMetadataIndex = useMemo<string[]>(() => { + return [ENDPOINT_METADATA_INDEX]; + }, []); + const [, { indexExists: metadataIndexExists }] = useFetchIndex(endpointMetadataIndex, true); + const { indicesExist } = useSourcererScope(); + const securityIndicesExist = indicesExist || metadataIndexExists; - /* StyledKibanaPageTemplate is a styled EuiPageTemplate. Security solution currently passes the header and page content as the children of StyledKibanaPageTemplate, as opposed to using the pageHeader prop, which may account for any style discrepancies, such as the bottom border not extending the full width of the page, between EuiPageTemplate and the security solution pages. - */ + // StyledKibanaPageTemplate is a styled EuiPageTemplate. Security solution currently passes the header and page content as the children of StyledKibanaPageTemplate, as opposed to using the pageHeader prop, which may account for any style discrepancies, such as the bottom border not extending the full width of the page, between EuiPageTemplate and the security solution pages. - return ( + return securityIndicesExist ? ( <StyledKibanaPageTemplate $isTimelineBottomBarVisible={isTimelineBottomBarVisible} $isShowingTimelineOverlay={isShowingTimelineOverlay} @@ -98,5 +107,7 @@ export const SecuritySolutionTemplateWrapper: React.FC<SecuritySolutionPageWrapp {children} </EuiPanel> </StyledKibanaPageTemplate> + ) : ( + <OverviewEmpty /> ); }); diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/__snapshots__/alert_summary_view.test.tsx.snap b/x-pack/plugins/security_solution/public/common/components/event_details/__snapshots__/alert_summary_view.test.tsx.snap index f11150908375f..2904d8184261e 100644 --- a/x-pack/plugins/security_solution/public/common/components/event_details/__snapshots__/alert_summary_view.test.tsx.snap +++ b/x-pack/plugins/security_solution/public/common/components/event_details/__snapshots__/alert_summary_view.test.tsx.snap @@ -1,10 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`AlertSummaryView Behavior event code renders additional summary rows 1`] = ` -.c1 { - line-height: 1.7rem; -} - .c0 .euiTableHeaderCell, .c0 .euiTableRowCell { border: none; @@ -24,6 +20,10 @@ exports[`AlertSummaryView Behavior event code renders additional summary rows 1` opacity: 1; } +.c1 { + line-height: 1.7rem; +} + .c2 { min-width: 138px; padding: 0 8px; @@ -53,10 +53,6 @@ exports[`AlertSummaryView Behavior event code renders additional summary rows 1` opacity: 1; } -.c3 { - padding: 4px 0; -} - <div class="euiBasicTable c0" data-test-subj="summary-view" @@ -141,7 +137,9 @@ exports[`AlertSummaryView Behavior event code renders additional summary rows 1` <div class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" > - <div> + <div + data-test-subj="event-field-signal.status" + > <div class="euiText euiText--extraSmall" > @@ -205,7 +203,9 @@ exports[`AlertSummaryView Behavior event code renders additional summary rows 1` <div class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" > - <div> + <div + data-test-subj="event-field-@timestamp" + > <div class="eventFieldsTable__fieldValue" > @@ -273,7 +273,9 @@ exports[`AlertSummaryView Behavior event code renders additional summary rows 1` <div class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" > - <div> + <div + data-test-subj="event-field-signal.rule.name" + > <div class="euiText euiText--extraSmall" > @@ -337,7 +339,9 @@ exports[`AlertSummaryView Behavior event code renders additional summary rows 1` <div class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" > - <div> + <div + data-test-subj="event-field-signal.rule.severity" + > <div class="euiText euiText--extraSmall" > @@ -401,7 +405,9 @@ exports[`AlertSummaryView Behavior event code renders additional summary rows 1` <div class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" > - <div> + <div + data-test-subj="event-field-signal.rule.risk_score" + > <div class="euiText euiText--extraSmall" > @@ -465,7 +471,9 @@ exports[`AlertSummaryView Behavior event code renders additional summary rows 1` <div class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" > - <div> + <div + data-test-subj="event-field-host.name" + > <div class="euiText euiText--extraSmall" > @@ -529,7 +537,9 @@ exports[`AlertSummaryView Behavior event code renders additional summary rows 1` <div class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" > - <div> + <div + data-test-subj="event-field-user.name" + > <div class="euiText euiText--extraSmall" > @@ -593,7 +603,9 @@ exports[`AlertSummaryView Behavior event code renders additional summary rows 1` <div class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" > - <div> + <div + data-test-subj="event-field-source.ip" + > <div class="eventFieldsTable__fieldValue" > @@ -644,161 +656,6 @@ exports[`AlertSummaryView Behavior event code renders additional summary rows 1` </div> </td> </tr> - <tr - class="euiTableRow" - > - <td - class="euiTableRowCell" - style="width: 220px;" - > - <div - class="euiTableCellContent euiTableCellContent--overflowingContent" - > - <h5 - class="c1 euiTitle euiTitle--xxxsmall" - > - destination.ip - </h5> - </div> - </td> - <td - class="euiTableRowCell" - > - <div - class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" - > - <div - class="c3" - > - — - </div> - </div> - </td> - </tr> - <tr - class="euiTableRow" - > - <td - class="euiTableRowCell" - style="width: 220px;" - > - <div - class="euiTableCellContent euiTableCellContent--overflowingContent" - > - <h5 - class="c1 euiTitle euiTitle--xxxsmall" - > - Threshold Count - </h5> - </div> - </td> - <td - class="euiTableRowCell" - > - <div - class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" - > - <div - class="c3" - > - — - </div> - </div> - </td> - </tr> - <tr - class="euiTableRow" - > - <td - class="euiTableRowCell" - style="width: 220px;" - > - <div - class="euiTableCellContent euiTableCellContent--overflowingContent" - > - <h5 - class="c1 euiTitle euiTitle--xxxsmall" - > - Threshold Terms - </h5> - </div> - </td> - <td - class="euiTableRowCell" - > - <div - class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" - > - <div - class="c3" - > - — - </div> - </div> - </td> - </tr> - <tr - class="euiTableRow" - > - <td - class="euiTableRowCell" - style="width: 220px;" - > - <div - class="euiTableCellContent euiTableCellContent--overflowingContent" - > - <h5 - class="c1 euiTitle euiTitle--xxxsmall" - > - Threshold Cardinality - </h5> - </div> - </td> - <td - class="euiTableRowCell" - > - <div - class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" - > - <div - class="c3" - > - — - </div> - </div> - </td> - </tr> - <tr - class="euiTableRow" - > - <td - class="euiTableRowCell" - style="width: 220px;" - > - <div - class="euiTableCellContent euiTableCellContent--overflowingContent" - > - <h5 - class="c1 euiTitle euiTitle--xxxsmall" - > - Rule description - </h5> - </div> - </td> - <td - class="euiTableRowCell" - > - <div - class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" - > - <div - class="c3" - > - — - </div> - </div> - </td> - </tr> </tbody> </table> </div> @@ -806,10 +663,6 @@ exports[`AlertSummaryView Behavior event code renders additional summary rows 1` `; exports[`AlertSummaryView Memory event code renders additional summary rows 1`] = ` -.c1 { - line-height: 1.7rem; -} - .c0 .euiTableHeaderCell, .c0 .euiTableRowCell { border: none; @@ -829,6 +682,10 @@ exports[`AlertSummaryView Memory event code renders additional summary rows 1`] opacity: 1; } +.c1 { + line-height: 1.7rem; +} + .c2 { min-width: 138px; padding: 0 8px; @@ -858,10 +715,6 @@ exports[`AlertSummaryView Memory event code renders additional summary rows 1`] opacity: 1; } -.c3 { - padding: 4px 0; -} - <div class="euiBasicTable c0" data-test-subj="summary-view" @@ -946,7 +799,9 @@ exports[`AlertSummaryView Memory event code renders additional summary rows 1`] <div class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" > - <div> + <div + data-test-subj="event-field-signal.status" + > <div class="euiText euiText--extraSmall" > @@ -1010,7 +865,9 @@ exports[`AlertSummaryView Memory event code renders additional summary rows 1`] <div class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" > - <div> + <div + data-test-subj="event-field-@timestamp" + > <div class="eventFieldsTable__fieldValue" > @@ -1078,7 +935,9 @@ exports[`AlertSummaryView Memory event code renders additional summary rows 1`] <div class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" > - <div> + <div + data-test-subj="event-field-signal.rule.name" + > <div class="euiText euiText--extraSmall" > @@ -1142,7 +1001,9 @@ exports[`AlertSummaryView Memory event code renders additional summary rows 1`] <div class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" > - <div> + <div + data-test-subj="event-field-signal.rule.severity" + > <div class="euiText euiText--extraSmall" > @@ -1206,7 +1067,9 @@ exports[`AlertSummaryView Memory event code renders additional summary rows 1`] <div class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" > - <div> + <div + data-test-subj="event-field-signal.rule.risk_score" + > <div class="euiText euiText--extraSmall" > @@ -1270,7 +1133,9 @@ exports[`AlertSummaryView Memory event code renders additional summary rows 1`] <div class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" > - <div> + <div + data-test-subj="event-field-host.name" + > <div class="euiText euiText--extraSmall" > @@ -1334,7 +1199,9 @@ exports[`AlertSummaryView Memory event code renders additional summary rows 1`] <div class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" > - <div> + <div + data-test-subj="event-field-user.name" + > <div class="euiText euiText--extraSmall" > @@ -1398,7 +1265,9 @@ exports[`AlertSummaryView Memory event code renders additional summary rows 1`] <div class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" > - <div> + <div + data-test-subj="event-field-source.ip" + > <div class="eventFieldsTable__fieldValue" > @@ -1449,192 +1318,6 @@ exports[`AlertSummaryView Memory event code renders additional summary rows 1`] </div> </td> </tr> - <tr - class="euiTableRow" - > - <td - class="euiTableRowCell" - style="width: 220px;" - > - <div - class="euiTableCellContent euiTableCellContent--overflowingContent" - > - <h5 - class="c1 euiTitle euiTitle--xxxsmall" - > - destination.ip - </h5> - </div> - </td> - <td - class="euiTableRowCell" - > - <div - class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" - > - <div - class="c3" - > - — - </div> - </div> - </td> - </tr> - <tr - class="euiTableRow" - > - <td - class="euiTableRowCell" - style="width: 220px;" - > - <div - class="euiTableCellContent euiTableCellContent--overflowingContent" - > - <h5 - class="c1 euiTitle euiTitle--xxxsmall" - > - Threshold Count - </h5> - </div> - </td> - <td - class="euiTableRowCell" - > - <div - class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" - > - <div - class="c3" - > - — - </div> - </div> - </td> - </tr> - <tr - class="euiTableRow" - > - <td - class="euiTableRowCell" - style="width: 220px;" - > - <div - class="euiTableCellContent euiTableCellContent--overflowingContent" - > - <h5 - class="c1 euiTitle euiTitle--xxxsmall" - > - Threshold Terms - </h5> - </div> - </td> - <td - class="euiTableRowCell" - > - <div - class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" - > - <div - class="c3" - > - — - </div> - </div> - </td> - </tr> - <tr - class="euiTableRow" - > - <td - class="euiTableRowCell" - style="width: 220px;" - > - <div - class="euiTableCellContent euiTableCellContent--overflowingContent" - > - <h5 - class="c1 euiTitle euiTitle--xxxsmall" - > - Threshold Cardinality - </h5> - </div> - </td> - <td - class="euiTableRowCell" - > - <div - class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" - > - <div - class="c3" - > - — - </div> - </div> - </td> - </tr> - <tr - class="euiTableRow" - > - <td - class="euiTableRowCell" - style="width: 220px;" - > - <div - class="euiTableCellContent euiTableCellContent--overflowingContent" - > - <h5 - class="c1 euiTitle euiTitle--xxxsmall" - > - Rule name - </h5> - </div> - </td> - <td - class="euiTableRowCell" - > - <div - class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" - > - <div - class="c3" - > - — - </div> - </div> - </td> - </tr> - <tr - class="euiTableRow" - > - <td - class="euiTableRowCell" - style="width: 220px;" - > - <div - class="euiTableCellContent euiTableCellContent--overflowingContent" - > - <h5 - class="c1 euiTitle euiTitle--xxxsmall" - > - Import Hash - </h5> - </div> - </td> - <td - class="euiTableRowCell" - > - <div - class="euiTableCellContent flyoutOverviewDescription euiTableCellContent--overflowingContent" - > - <div - class="c3" - > - — - </div> - </div> - </td> - </tr> </tbody> </table> </div> diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/alert_summary_view.test.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/alert_summary_view.test.tsx index 2b399a0571178..fcc943f565895 100644 --- a/x-pack/plugins/security_solution/public/common/components/event_details/alert_summary_view.test.tsx +++ b/x-pack/plugins/security_solution/public/common/components/event_details/alert_summary_view.test.tsx @@ -6,7 +6,7 @@ */ import React from 'react'; -import { waitFor } from '@testing-library/react'; +import { waitFor, render } from '@testing-library/react'; import { AlertSummaryView } from './alert_summary_view'; import { mockAlertDetailsData } from './__mocks__'; @@ -15,7 +15,6 @@ import { useRuleWithFallback } from '../../../detections/containers/detection_en import { TestProviders, TestProvidersComponent } from '../../mock'; import { mockBrowserFields } from '../../containers/source/mock'; -import { useMountAppended } from '../../utils/use_mount_appended'; jest.mock('../../lib/kibana'); @@ -33,8 +32,6 @@ const props = { }; describe('AlertSummaryView', () => { - const mount = useMountAppended(); - beforeEach(() => { jest.clearAllMocks(); (useRuleWithFallback as jest.Mock).mockReturnValue({ @@ -44,23 +41,12 @@ describe('AlertSummaryView', () => { }); }); test('render correct items', () => { - const wrapper = mount( + const { getByTestId } = render( <TestProviders> <AlertSummaryView {...props} /> </TestProviders> ); - expect(wrapper.find('[data-test-subj="summary-view"]').exists()).toEqual(true); - }); - - test('render investigation guide', async () => { - const wrapper = mount( - <TestProviders> - <AlertSummaryView {...props} /> - </TestProviders> - ); - await waitFor(() => { - expect(wrapper.find('[data-test-subj="summary-view-guide"]').exists()).toEqual(true); - }); + expect(getByTestId('summary-view')).toBeInTheDocument(); }); test("render no investigation guide if it doesn't exist", async () => { @@ -69,13 +55,13 @@ describe('AlertSummaryView', () => { note: null, }, }); - const wrapper = mount( + const { queryByTestId } = render( <TestProviders> <AlertSummaryView {...props} /> </TestProviders> ); await waitFor(() => { - expect(wrapper.find('[data-test-subj="summary-view-guide"]').exists()).toEqual(false); + expect(queryByTestId('summary-view-guide')).not.toBeInTheDocument(); }); }); test('Memory event code renders additional summary rows', () => { @@ -93,12 +79,12 @@ describe('AlertSummaryView', () => { return item; }) as TimelineEventsDetailsItem[], }; - const wrapper = mount( + const { container } = render( <TestProvidersComponent> <AlertSummaryView {...renderProps} /> </TestProvidersComponent> ); - expect(wrapper.find('div[data-test-subj="summary-view"]').render()).toMatchSnapshot(); + expect(container.querySelector('div[data-test-subj="summary-view"]')).toMatchSnapshot(); }); test('Behavior event code renders additional summary rows', () => { const renderProps = { @@ -115,11 +101,36 @@ describe('AlertSummaryView', () => { return item; }) as TimelineEventsDetailsItem[], }; - const wrapper = mount( + const { container } = render( <TestProvidersComponent> <AlertSummaryView {...renderProps} /> </TestProvidersComponent> ); - expect(wrapper.find('div[data-test-subj="summary-view"]').render()).toMatchSnapshot(); + expect(container.querySelector('div[data-test-subj="summary-view"]')).toMatchSnapshot(); + }); + + test("doesn't render empty fields", () => { + const renderProps = { + ...props, + data: mockAlertDetailsData.map((item) => { + if (item.category === 'signal' && item.field === 'signal.rule.name') { + return { + category: 'signal', + field: 'signal.rule.name', + values: undefined, + originalValue: undefined, + }; + } + return item; + }) as TimelineEventsDetailsItem[], + }; + + const { queryByTestId } = render( + <TestProviders> + <AlertSummaryView {...renderProps} /> + </TestProviders> + ); + + expect(queryByTestId('event-field-signal.rule.name')).not.toBeInTheDocument(); }); }); diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/alert_summary_view.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/alert_summary_view.tsx index e7816fd1daaa8..19a23e5002567 100644 --- a/x-pack/plugins/security_solution/public/common/components/event_details/alert_summary_view.tsx +++ b/x-pack/plugins/security_solution/public/common/components/event_details/alert_summary_view.tsx @@ -5,113 +5,18 @@ * 2.0. */ -import { EuiBasicTableColumn, EuiSpacer, EuiHorizontalRule, EuiTitle, EuiText } from '@elastic/eui'; -import { get, getOr, find, isEmpty } from 'lodash/fp'; +import { EuiBasicTableColumn, EuiSpacer } from '@elastic/eui'; import React, { useMemo } from 'react'; -import styled from 'styled-components'; -import * as i18n from './translations'; import { BrowserFields } from '../../../../common/search_strategy/index_fields'; -import { - ALERTS_HEADERS_RISK_SCORE, - ALERTS_HEADERS_RULE, - ALERTS_HEADERS_SEVERITY, - ALERTS_HEADERS_THRESHOLD_CARDINALITY, - ALERTS_HEADERS_THRESHOLD_COUNT, - ALERTS_HEADERS_THRESHOLD_TERMS, - ALERTS_HEADERS_RULE_NAME, - SIGNAL_STATUS, - ALERTS_HEADERS_TARGET_IMPORT_HASH, - TIMESTAMP, - ALERTS_HEADERS_RULE_DESCRIPTION, -} from '../../../detections/components/alerts_table/translations'; -import { - AGENT_STATUS_FIELD_NAME, - IP_FIELD_TYPE, - SIGNAL_RULE_NAME_FIELD_NAME, -} from '../../../timelines/components/timeline/body/renderers/constants'; -import { DESTINATION_IP_FIELD_NAME, SOURCE_IP_FIELD_NAME } from '../../../network/components/ip'; import { SummaryView } from './summary_view'; import { AlertSummaryRow, getSummaryColumns, SummaryRow } from './helpers'; -import { useRuleWithFallback } from '../../../detections/containers/detection_engine/rules/use_rule_with_fallback'; -import { MarkdownRenderer } from '../markdown_editor'; -import { LineClamp } from '../line_clamp'; -import { isAlertFromEndpointEvent } from '../../utils/endpoint_alert_check'; -import { getEmptyValue } from '../empty_value'; + import { ActionCell } from './table/action_cell'; import { FieldValueCell } from './table/field_value_cell'; import { TimelineEventsDetailsItem } from '../../../../common'; -import { EventCode } from '../../../../common/ecs/event'; - -export const Indent = styled.div` - padding: 0 8px; - word-break: break-word; -`; - -const StyledEmptyComponent = styled.div` - padding: ${(props) => `${props.theme.eui.paddingSizes.xs} 0`}; -`; - -interface EventSummaryField { - id: string; - label?: string; - linkField?: string; - fieldType?: string; - overrideField?: string; -} - -const defaultDisplayFields: EventSummaryField[] = [ - { id: 'signal.status', label: SIGNAL_STATUS }, - { id: '@timestamp', label: TIMESTAMP }, - { - id: SIGNAL_RULE_NAME_FIELD_NAME, - linkField: 'signal.rule.id', - label: ALERTS_HEADERS_RULE, - }, - { id: 'signal.rule.severity', label: ALERTS_HEADERS_SEVERITY }, - { id: 'signal.rule.risk_score', label: ALERTS_HEADERS_RISK_SCORE }, - { id: 'host.name' }, - { id: 'agent.id', overrideField: AGENT_STATUS_FIELD_NAME, label: i18n.AGENT_STATUS }, - { id: 'user.name' }, - { id: SOURCE_IP_FIELD_NAME, fieldType: IP_FIELD_TYPE }, - { id: DESTINATION_IP_FIELD_NAME, fieldType: IP_FIELD_TYPE }, - { id: 'signal.threshold_result.count', label: ALERTS_HEADERS_THRESHOLD_COUNT }, - { id: 'signal.threshold_result.terms', label: ALERTS_HEADERS_THRESHOLD_TERMS }, - { id: 'signal.threshold_result.cardinality', label: ALERTS_HEADERS_THRESHOLD_CARDINALITY }, -]; - -const processCategoryFields: EventSummaryField[] = [ - ...defaultDisplayFields, - { id: 'process.name' }, - { id: 'process.parent.name' }, - { id: 'process.args' }, -]; -const networkCategoryFields: EventSummaryField[] = [ - ...defaultDisplayFields, - { id: 'destination.address' }, - { id: 'destination.port' }, - { id: 'process.name' }, -]; - -const memoryShellCodeAlertFields: EventSummaryField[] = [ - ...defaultDisplayFields, - { id: 'rule.name', label: ALERTS_HEADERS_RULE_NAME }, - { - id: 'Target.process.thread.Ext.start_address_details.memory_pe.imphash', - label: ALERTS_HEADERS_TARGET_IMPORT_HASH, - }, -]; - -const behaviorAlertFields: EventSummaryField[] = [ - ...defaultDisplayFields, - { id: 'rule.description', label: ALERTS_HEADERS_RULE_DESCRIPTION }, -]; - -const memorySignatureAlertFields: EventSummaryField[] = [ - ...defaultDisplayFields, - { id: 'rule.name', label: ALERTS_HEADERS_RULE_NAME }, -]; +import { getSummaryRows } from './get_alert_summary_rows'; const getDescription = ({ data, @@ -121,187 +26,28 @@ const getDescription = ({ linkValue, timelineId, values, -}: AlertSummaryRow['description']) => { - if (isEmpty(values)) { - return <StyledEmptyComponent>{getEmptyValue()}</StyledEmptyComponent>; - } - - return ( - <> - <FieldValueCell - contextId={timelineId} - data={data} - eventId={eventId} - fieldFromBrowserField={fieldFromBrowserField} - linkValue={linkValue} - isDraggable={isDraggable} - values={values} - /> - <ActionCell - contextId={timelineId} - data={data} - eventId={eventId} - fieldFromBrowserField={fieldFromBrowserField} - linkValue={linkValue} - timelineId={timelineId} - values={values} - /> - </> - ); -}; - -function getEventFieldsToDisplay({ - eventCategory, - eventCode, -}: { - eventCategory: string; - eventCode?: string; -}): EventSummaryField[] { - switch (eventCode) { - // memory protection fields - case EventCode.SHELLCODE_THREAD: - return memoryShellCodeAlertFields; - case EventCode.MEMORY_SIGNATURE: - return memorySignatureAlertFields; - case EventCode.BEHAVIOR: - return behaviorAlertFields; - } - - switch (eventCategory) { - case 'network': - return networkCategoryFields; - - case 'process': - return processCategoryFields; - } - - return defaultDisplayFields; -} - -export const getSummaryRows = ({ - data, - browserFields, - timelineId, - eventId, - isDraggable = false, -}: { - data: TimelineEventsDetailsItem[]; - browserFields: BrowserFields; - timelineId: string; - eventId: string; - isDraggable?: boolean; -}) => { - const eventCategoryField = find({ category: 'event', field: 'event.category' }, data); - - const eventCategory = Array.isArray(eventCategoryField?.originalValue) - ? eventCategoryField?.originalValue[0] - : eventCategoryField?.originalValue; - - const eventCodeField = find({ category: 'event', field: 'event.code' }, data); - - const eventCode = Array.isArray(eventCodeField?.originalValue) - ? eventCodeField?.originalValue?.[0] - : eventCodeField?.originalValue; - - const tableFields = getEventFieldsToDisplay({ eventCategory, eventCode }); - - return data != null - ? tableFields.reduce<SummaryRow[]>((acc, item) => { - const initialDescription = { - contextId: timelineId, - eventId, - isDraggable, - value: null, - fieldType: 'string', - linkValue: undefined, - timelineId, - }; - const field = data.find((d) => d.field === item.id); - if (!field) { - return [ - ...acc, - { - title: item.label ?? item.id, - description: initialDescription, - }, - ]; - } - - const linkValueField = - item.linkField != null && data.find((d) => d.field === item.linkField); - const linkValue = getOr(null, 'originalValue.0', linkValueField); - const value = getOr(null, 'originalValue.0', field); - const category = field.category ?? ''; - const fieldName = field.field ?? ''; - - const browserField = get([category, 'fields', fieldName], browserFields); - const description = { - ...initialDescription, - data: { - field: field.field, - format: browserField?.format ?? '', - type: browserField?.type ?? '', - isObjectArray: field.isObjectArray, - ...(item.overrideField ? { field: item.overrideField } : {}), - }, - values: field.values, - linkValue: linkValue ?? undefined, - fieldFromBrowserField: browserField, - }; - - if (item.id === 'agent.id' && !isAlertFromEndpointEvent({ data })) { - return acc; - } - - if (item.id === 'signal.threshold_result.terms') { - try { - const terms = getOr(null, 'originalValue', field); - const parsedValue = terms.map((term: string) => JSON.parse(term)); - const thresholdTerms = (parsedValue ?? []).map( - (entry: { field: string; value: string }) => { - return { - title: `${entry.field} [threshold]`, - description: { - ...description, - values: [entry.value], - }, - }; - } - ); - return [...acc, ...thresholdTerms]; - } catch (err) { - return [...acc]; - } - } - - if (item.id === 'signal.threshold_result.cardinality') { - try { - const parsedValue = JSON.parse(value); - return [ - ...acc, - { - title: ALERTS_HEADERS_THRESHOLD_CARDINALITY, - description: { - ...description, - values: [`count(${parsedValue.field}) == ${parsedValue.value}`], - }, - }, - ]; - } catch (err) { - return acc; - } - } - - return [ - ...acc, - { - title: item.label ?? item.id, - description, - }, - ]; - }, []) - : []; -}; +}: AlertSummaryRow['description']) => ( + <> + <FieldValueCell + contextId={timelineId} + data={data} + eventId={eventId} + fieldFromBrowserField={fieldFromBrowserField} + linkValue={linkValue} + isDraggable={isDraggable} + values={values} + /> + <ActionCell + contextId={timelineId} + data={data} + eventId={eventId} + fieldFromBrowserField={fieldFromBrowserField} + linkValue={linkValue} + timelineId={timelineId} + values={values} + /> + </> +); const summaryColumns: Array<EuiBasicTableColumn<SummaryRow>> = getSummaryColumns(getDescription); @@ -318,33 +64,10 @@ const AlertSummaryViewComponent: React.FC<{ [browserFields, data, eventId, isDraggable, timelineId] ); - const ruleId = useMemo(() => { - const item = data.find((d) => d.field === 'signal.rule.id'); - return Array.isArray(item?.originalValue) - ? item?.originalValue[0] - : item?.originalValue ?? null; - }, [data]); - const { rule: maybeRule } = useRuleWithFallback(ruleId); - return ( <> + <EuiSpacer size="s" /> <SummaryView summaryColumns={summaryColumns} summaryRows={summaryRows} title={title} /> - {maybeRule?.note && ( - <> - <EuiHorizontalRule /> - <EuiTitle size="xxxs" data-test-subj="summary-view-guide"> - <h5>{i18n.INVESTIGATION_GUIDE}</h5> - </EuiTitle> - <EuiSpacer size="s" /> - <Indent> - <EuiText size="xs"> - <LineClamp lineClampHeight={4.5}> - <MarkdownRenderer>{maybeRule.note}</MarkdownRenderer> - </LineClamp> - </EuiText> - </Indent> - </> - )} </> ); }; diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/enrichment_icon.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/enrichment_icon.tsx index e1e35b0d2c5c5..dd242884e5d9e 100644 --- a/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/enrichment_icon.tsx +++ b/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/enrichment_icon.tsx @@ -13,8 +13,8 @@ import { isInvestigationTimeEnrichment } from './helpers'; export const getTooltipTitle = (type: string | undefined) => isInvestigationTimeEnrichment(type) - ? i18n.INVESTIGATION_TOOLTIP_TITLE - : i18n.INDICATOR_TOOLTIP_TITLE; + ? i18n.INVESTIGATION_ENRICHMENT_TITLE + : i18n.INDICATOR_ENRICHMENT_TITLE; export const getTooltipContent = (type: string | undefined) => isInvestigationTimeEnrichment(type) diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/enrichment_summary.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/enrichment_summary.tsx new file mode 100644 index 0000000000000..37fbab924afa3 --- /dev/null +++ b/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/enrichment_summary.tsx @@ -0,0 +1,189 @@ +/* + * 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 styled from 'styled-components'; +import { get } from 'lodash/fp'; +import React from 'react'; +import { EuiPanel, EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; +import { partition } from 'lodash'; +import * as i18n from './translations'; +import { CtiEnrichment } from '../../../../../common/search_strategy/security_solution/cti'; +import { getEnrichmentIdentifiers, isInvestigationTimeEnrichment } from './helpers'; + +import { FieldsData } from '../types'; +import { ActionCell } from '../table/action_cell'; +import { BrowserField, BrowserFields, TimelineEventsDetailsItem } from '../../../../../common'; +import { FormattedFieldValue } from '../../../../timelines/components/timeline/body/renderers/formatted_field'; +import { EnrichedDataRow, ThreatSummaryPanelHeader } from './threat_summary_view'; + +export interface ThreatSummaryDescription { + browserField: BrowserField; + data: FieldsData | undefined; + eventId: string; + index: number; + provider: string | undefined; + timelineId: string; + value: string | undefined; + isDraggable?: boolean; +} + +const EnrichmentFieldProvider = styled.span` + margin-left: ${({ theme }) => theme.eui.paddingSizes.xs}; + white-space: nowrap; + font-style: italic; +`; + +const EnrichmentDescription: React.FC<ThreatSummaryDescription> = ({ + browserField, + data, + eventId, + index, + provider, + timelineId, + value, + isDraggable, +}) => { + if (!data || !value) return null; + const key = `alert-details-value-formatted-field-value-${timelineId}-${eventId}-${data.field}-${value}-${index}-${provider}`; + return ( + <EuiFlexGroup key={key} direction="row" gutterSize="none" alignItems="center"> + <EuiFlexItem grow={false}> + <div className="eui-textBreakAll"> + <FormattedFieldValue + contextId={timelineId} + eventId={key} + fieldFormat={data.format} + fieldName={data.field} + fieldType={data.type} + isDraggable={isDraggable} + isObjectArray={data.isObjectArray} + value={value} + /> + {provider && ( + <EnrichmentFieldProvider> + {i18n.PROVIDER_PREPOSITION} {provider} + </EnrichmentFieldProvider> + )} + </div> + </EuiFlexItem> + <EuiFlexItem> + {value && ( + <ActionCell + data={data} + contextId={timelineId} + eventId={key} + fieldFromBrowserField={browserField} + timelineId={timelineId} + values={[value]} + /> + )} + </EuiFlexItem> + </EuiFlexGroup> + ); +}; + +const EnrichmentSummaryComponent: React.FC<{ + browserFields: BrowserFields; + data: TimelineEventsDetailsItem[]; + enrichments: CtiEnrichment[]; + timelineId: string; + eventId: string; + isDraggable?: boolean; +}> = ({ browserFields, data, enrichments, timelineId, eventId, isDraggable }) => { + const parsedEnrichments = enrichments.map((enrichment, index) => { + const { field, type, provider, value } = getEnrichmentIdentifiers(enrichment); + const eventData = data.find((item) => item.field === field); + const category = eventData?.category ?? ''; + const browserField = get([category, 'fields', field ?? ''], browserFields); + + const fieldsData: FieldsData = { + field: field ?? '', + format: browserField?.format ?? '', + type: browserField?.type ?? '', + isObjectArray: eventData?.isObjectArray ?? false, + }; + + return { + fieldsData, + type, + provider, + index, + field, + browserField, + value, + }; + }); + + const [investigation, indicator] = partition(parsedEnrichments, ({ type }) => + isInvestigationTimeEnrichment(type) + ); + + return ( + <> + {indicator.length > 0 && ( + <EuiFlexItem grow={false}> + <EuiPanel hasBorder paddingSize="s" grow={false}> + <ThreatSummaryPanelHeader + title={i18n.INDICATOR_ENRICHMENT_TITLE} + toolTipContent={i18n.INDICATOR_TOOLTIP_CONTENT} + /> + + {indicator.map(({ fieldsData, index, field, provider, browserField, value }) => ( + <EnrichedDataRow + key={field} + field={field} + value={ + <EnrichmentDescription + eventId={eventId} + index={index} + provider={provider} + timelineId={timelineId} + value={value} + data={fieldsData} + browserField={browserField} + isDraggable={isDraggable} + /> + } + /> + ))} + </EuiPanel> + </EuiFlexItem> + )} + + {investigation.length > 0 && ( + <EuiFlexItem grow={false}> + <EuiPanel hasBorder paddingSize="s" grow={false}> + <ThreatSummaryPanelHeader + title={i18n.INVESTIGATION_ENRICHMENT_TITLE} + toolTipContent={i18n.INVESTIGATION_TOOLTIP_CONTENT} + /> + + {investigation.map(({ fieldsData, index, field, provider, browserField, value }) => ( + <EnrichedDataRow + key={field} + field={field} + value={ + <EnrichmentDescription + eventId={eventId} + index={index} + provider={provider} + timelineId={timelineId} + value={value} + data={fieldsData} + browserField={browserField} + isDraggable={isDraggable} + /> + } + /> + ))} + </EuiPanel> + </EuiFlexItem> + )} + </> + ); +}; +export const EnrichmentSummary = React.memo(EnrichmentSummaryComponent); diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/host_risk_summary.test.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/host_risk_summary.test.tsx new file mode 100644 index 0000000000000..21b86fc1740b7 --- /dev/null +++ b/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/host_risk_summary.test.tsx @@ -0,0 +1,96 @@ +/* + * 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 React from 'react'; + +import { render } from '@testing-library/react'; +import { TestProviders } from '../../../mock'; +import { NO_HOST_RISK_DATA_DESCRIPTION } from './translations'; +import { HostRiskSummary } from './host_risk_summary'; + +describe('HostRiskSummary', () => { + it('renders host risk data', () => { + const riskKeyword = 'test risk'; + const hostRisk = { + loading: false, + isModuleEnabled: true, + result: [ + { + host: { + name: 'test-host-name', + }, + risk_score: 9999, + risk: riskKeyword, + }, + ], + }; + + const { getByText } = render( + <TestProviders> + <HostRiskSummary hostRisk={hostRisk} /> + </TestProviders> + ); + + expect(getByText(riskKeyword)).toBeInTheDocument(); + }); + + it('renders spinner when loading', () => { + const hostRisk = { + loading: true, + isModuleEnabled: true, + result: [], + }; + + const { getByTestId } = render( + <TestProviders> + <HostRiskSummary hostRisk={hostRisk} /> + </TestProviders> + ); + + expect(getByTestId('loading')).toBeInTheDocument(); + }); + + it('renders no host data message when module is diabled', () => { + const hostRisk = { + loading: false, + isModuleEnabled: false, + result: [ + { + host: { + name: 'test-host-name', + }, + risk_score: 9999, + risk: 'test-risk', + }, + ], + }; + + const { getByText } = render( + <TestProviders> + <HostRiskSummary hostRisk={hostRisk} /> + </TestProviders> + ); + + expect(getByText(NO_HOST_RISK_DATA_DESCRIPTION)).toBeInTheDocument(); + }); + + it('renders no host data message when there is no host data', () => { + const hostRisk = { + loading: false, + isModuleEnabled: true, + result: [], + }; + + const { getByText } = render( + <TestProviders> + <HostRiskSummary hostRisk={hostRisk} /> + </TestProviders> + ); + + expect(getByText(NO_HOST_RISK_DATA_DESCRIPTION)).toBeInTheDocument(); + }); +}); diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/host_risk_summary.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/host_risk_summary.tsx new file mode 100644 index 0000000000000..425bba4f19f23 --- /dev/null +++ b/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/host_risk_summary.tsx @@ -0,0 +1,61 @@ +/* + * 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 React from 'react'; +import { EuiLoadingSpinner, EuiPanel, EuiSpacer, EuiLink, EuiText } from '@elastic/eui'; +import { FormattedMessage } from '@kbn/i18n/react'; +import * as i18n from './translations'; +import { RISKY_HOSTS_DOC_LINK } from '../../../../overview/components/overview_risky_host_links/risky_hosts_disabled_module'; +import { HostRisk } from '../../../../overview/containers/overview_risky_host_links/use_hosts_risk_score'; +import { EnrichedDataRow, ThreatSummaryPanelHeader } from './threat_summary_view'; + +const HostRiskSummaryComponent: React.FC<{ + hostRisk: HostRisk; +}> = ({ hostRisk }) => ( + <> + <EuiPanel hasBorder paddingSize="s" grow={false}> + <ThreatSummaryPanelHeader + title={i18n.HOST_RISK_DATA_TITLE} + toolTipContent={ + <FormattedMessage + id="xpack.securitySolution.alertDetails.overview.hostDataTooltipContent" + defaultMessage="Risk classification is displayed only when available for a host. Ensure {hostsRiskScoreDocumentationLink} is enabled within your environment." + values={{ + hostsRiskScoreDocumentationLink: ( + <EuiLink href={RISKY_HOSTS_DOC_LINK} target="_blank"> + <FormattedMessage + id="xpack.securitySolution.alertDetails.overview.hostsRiskScoreLink" + defaultMessage="Host Risk Score" + /> + </EuiLink> + ), + }} + /> + } + /> + + {hostRisk.loading && <EuiLoadingSpinner data-test-subj="loading" />} + + {!hostRisk.loading && (!hostRisk.isModuleEnabled || hostRisk.result?.length === 0) && ( + <> + <EuiSpacer size="s" /> + <EuiText color="subdued" size="xs"> + {i18n.NO_HOST_RISK_DATA_DESCRIPTION} + </EuiText> + </> + )} + + {hostRisk.isModuleEnabled && hostRisk.result && hostRisk.result.length > 0 && ( + <> + <EnrichedDataRow field={'host.risk.keyword'} value={hostRisk.result[0].risk} /> + </> + )} + </EuiPanel> + </> +); + +export const HostRiskSummary = React.memo(HostRiskSummaryComponent); diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/threat_details_view.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/threat_details_view.tsx index 949d55c7aff54..5800ffb4beb9d 100644 --- a/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/threat_details_view.tsx +++ b/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/threat_details_view.tsx @@ -30,8 +30,8 @@ const EnrichmentSectionHeader: React.FC<{ type?: ENRICHMENT_TYPES }> = ({ type } <EuiTitle size="xxxs"> <h5> {type === ENRICHMENT_TYPES.IndicatorMatchRule - ? i18n.INDICATOR_TOOLTIP_TITLE - : i18n.INVESTIGATION_TOOLTIP_TITLE} + ? i18n.INDICATOR_ENRICHMENT_TITLE + : i18n.INVESTIGATION_ENRICHMENT_TITLE} </h5> </EuiTitle> </EuiFlexItem> diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/threat_summary_view.test.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/threat_summary_view.test.tsx index fe85fd573cfa0..3986b37656ac0 100644 --- a/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/threat_summary_view.test.tsx +++ b/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/threat_summary_view.test.tsx @@ -9,28 +9,36 @@ import React from 'react'; import { ThreatSummaryView } from './threat_summary_view'; import { TestProviders } from '../../../mock'; -import { useMountAppended } from '../../../utils/use_mount_appended'; +import { render } from '@testing-library/react'; import { buildEventEnrichmentMock } from '../../../../../common/search_strategy/security_solution/cti/index.mock'; import { mockAlertDetailsData } from '../__mocks__'; import { TimelineEventsDetailsItem } from '../../../../../../timelines/common'; import { mockBrowserFields } from '../../../containers/source/mock'; +import { mockTimelines } from '../../../../common/mock/mock_timelines_plugin'; + +jest.mock('../../../../common/lib/kibana', () => ({ + useKibana: () => ({ + services: { + timelines: { ...mockTimelines }, + }, + }), +})); jest.mock('../table/action_cell'); jest.mock('../table/field_name_cell'); describe('ThreatSummaryView', () => { - const mount = useMountAppended(); const eventId = '5d1d53da502f56aacc14c3cb5c669363d102b31f99822e5d369d4804ed370a31'; const timelineId = 'detections-page'; const data = mockAlertDetailsData as TimelineEventsDetailsItem[]; const browserFields = mockBrowserFields; - it('renders a row for each enrichment', () => { + it("renders 'Enriched with Threat Intelligence' panel with fields", () => { const enrichments = [ buildEventEnrichmentMock({ 'matched.id': ['test.id'], 'matched.field': ['test.field'] }), buildEventEnrichmentMock({ 'matched.id': ['other.id'], 'matched.field': ['other.field'] }), ]; - const wrapper = mount( + const { getByText, getAllByTestId } = render( <TestProviders> <ThreatSummaryView data={data} @@ -38,12 +46,13 @@ describe('ThreatSummaryView', () => { enrichments={enrichments} eventId={eventId} timelineId={timelineId} + hostRisk={null} /> </TestProviders> ); - expect(wrapper.find('[data-test-subj="threat-summary-view"] .euiTableRow')).toHaveLength( - enrichments.length - ); + expect(getByText('Enriched with Threat Intelligence')).toBeInTheDocument(); + + expect(getAllByTestId('EnrichedDataRow')).toHaveLength(enrichments.length); }); }); diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/threat_summary_view.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/threat_summary_view.tsx index 0756fc8dad88f..bdd342934eeb6 100644 --- a/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/threat_summary_view.tsx +++ b/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/threat_summary_view.tsx @@ -6,172 +6,169 @@ */ import styled from 'styled-components'; -import { get } from 'lodash/fp'; -import React, { Fragment } from 'react'; -import { EuiBasicTableColumn, EuiText, EuiTitle } from '@elastic/eui'; - +import React, { useCallback, useState } from 'react'; +import { + EuiTitle, + EuiHorizontalRule, + EuiFlexGroup, + EuiFlexItem, + EuiSpacer, + EuiPopover, + EuiButtonIcon, + EuiPopoverTitle, + EuiText, +} from '@elastic/eui'; import * as i18n from './translations'; -import { Indent, StyledEuiInMemoryTable } from '../summary_view'; import { CtiEnrichment } from '../../../../../common/search_strategy/security_solution/cti'; -import { getEnrichmentIdentifiers } from './helpers'; -import { EnrichmentIcon } from './enrichment_icon'; + import { FieldsData } from '../types'; -import { ActionCell } from '../table/action_cell'; + import { BrowserField, BrowserFields, TimelineEventsDetailsItem } from '../../../../../common'; -import { FieldValueCell } from '../table/field_value_cell'; - -export interface ThreatSummaryItem { - title: { - title: string | undefined; - type: string | undefined; - }; - description: { - browserField: BrowserField; - data: FieldsData | undefined; - eventId: string; - index: number; - provider: string | undefined; - timelineId: string; - value: string | undefined; - }; +import { HostRisk } from '../../../../overview/containers/overview_risky_host_links/use_hosts_risk_score'; +import { HostRiskSummary } from './host_risk_summary'; +import { EnrichmentSummary } from './enrichment_summary'; + +export interface ThreatSummaryDescription { + browserField: BrowserField; + data: FieldsData | undefined; + eventId: string; + index: number; + provider: string | undefined; + timelineId: string; + value: string | undefined; + isDraggable?: boolean; } -const RightMargin = styled.span` - margin-right: ${({ theme }) => theme.eui.paddingSizes.xs}; - min-width: 30px; +const UppercaseEuiTitle = styled(EuiTitle)` + text-transform: uppercase; `; -const EnrichmentTitle: React.FC<ThreatSummaryItem['title']> = ({ title, type }) => ( - <> - <RightMargin> - <EuiTitle size="xxxs"> - <h5>{title}</h5> - </EuiTitle> - </RightMargin> - <EnrichmentIcon type={type} /> - </> +const ThreatSummaryPanelTitle: React.FC = ({ children }) => ( + <UppercaseEuiTitle size="xxxs"> + <h5>{children}</h5> + </UppercaseEuiTitle> +); + +const StyledEnrichmentFieldTitle = styled(EuiTitle)` + width: 220px; +`; + +const EnrichmentFieldTitle: React.FC<{ + title: string | undefined; +}> = ({ title }) => ( + <StyledEnrichmentFieldTitle size="xxxs"> + <h6>{title}</h6> + </StyledEnrichmentFieldTitle> ); -const EnrichmentDescription: React.FC<ThreatSummaryItem['description']> = ({ - browserField, - data, - eventId, - index, - provider, - timelineId, +const StyledEuiFlexGroup = styled(EuiFlexGroup)` + font-size: ${({ theme }) => theme.eui.euiFontSizeXS}; + margin-top: ${({ theme }) => theme.eui.euiSizeS}; +`; + +export const EnrichedDataRow: React.FC<{ field: string | undefined; value: React.ReactNode }> = ({ + field, value, -}) => { - if (!data || !value) return null; - const key = `alert-details-value-formatted-field-value-${timelineId}-${eventId}-${data.field}-${value}-${index}-${provider}`; +}) => ( + <StyledEuiFlexGroup + direction="row" + gutterSize="none" + responsive + alignItems="center" + data-test-subj="EnrichedDataRow" + > + <EuiFlexItem style={{ flexShrink: 0 }} grow={false}> + <EnrichmentFieldTitle title={field} /> + </EuiFlexItem> + <EuiFlexItem>{value}</EuiFlexItem> + </StyledEuiFlexGroup> +); + +export const ThreatSummaryPanelHeader: React.FC<{ + title: string; + toolTipContent: React.ReactNode; +}> = ({ title, toolTipContent }) => { + const [isPopoverOpen, setIsPopoverOpen] = useState(false); + + const onClick = useCallback(() => { + setIsPopoverOpen(!isPopoverOpen); + }, [isPopoverOpen, setIsPopoverOpen]); + + const closePopover = useCallback(() => { + setIsPopoverOpen(false); + }, [setIsPopoverOpen]); + return ( - <Fragment key={key}> - <RightMargin> - <FieldValueCell - contextId={timelineId} - data={data} - eventId={key} - fieldFromBrowserField={browserField} - values={[value]} - /> - </RightMargin> - {provider && ( - <> - <RightMargin> - <EuiText size="xs"> - <em>{i18n.PROVIDER_PREPOSITION}</em> - </EuiText> - </RightMargin> - <RightMargin> - <EuiText grow={false} size="xs"> - {provider} - </EuiText> - </RightMargin> - </> - )} - {value && ( - <ActionCell - data={data} - contextId={timelineId} - eventId={key} - fieldFromBrowserField={browserField} - timelineId={timelineId} - values={[value]} - /> - )} - </Fragment> + <EuiFlexGroup direction="row" gutterSize="none" alignItems="center"> + <EuiFlexItem> + <ThreatSummaryPanelTitle>{title}</ThreatSummaryPanelTitle> + </EuiFlexItem> + <EuiFlexItem grow={false}> + <EuiPopover + isOpen={isPopoverOpen} + closePopover={closePopover} + anchorPosition="leftCenter" + button={ + <EuiButtonIcon + color="text" + size="xs" + iconSize="m" + iconType="iInCircle" + aria-label={i18n.INFORMATION_ARIA_LABEL} + onClick={onClick} + /> + } + > + <EuiPopoverTitle>{title}</EuiPopoverTitle> + <EuiText size="s" style={{ width: '270px' }}> + {toolTipContent} + </EuiText> + </EuiPopover> + </EuiFlexItem> + </EuiFlexGroup> ); }; -const buildThreatSummaryItems = ( - browserFields: BrowserFields, - data: TimelineEventsDetailsItem[], - enrichments: CtiEnrichment[], - timelineId: string, - eventId: string -) => { - return enrichments.map((enrichment, index) => { - const { field, type, value, provider } = getEnrichmentIdentifiers(enrichment); - const eventData = data.find((item) => item.field === field); - const category = eventData?.category ?? ''; - const browserField = get([category, 'fields', field ?? ''], browserFields); - - const fieldsData = { - field, - format: browserField?.format ?? '', - type: browserField?.type ?? '', - isObjectArray: eventData?.isObjectArray, - }; - - return { - title: { - title: field, - type, - }, - description: { - eventId, - index, - provider, - timelineId, - value, - data: fieldsData, - browserField, - }, - }; - }); -}; - -const columns: Array<EuiBasicTableColumn<ThreatSummaryItem>> = [ - { - field: 'title', - truncateText: false, - render: EnrichmentTitle, - width: '220px', - name: '', - }, - { - className: 'flyoutOverviewDescription', - field: 'description', - truncateText: false, - render: EnrichmentDescription, - name: '', - }, -]; - const ThreatSummaryViewComponent: React.FC<{ browserFields: BrowserFields; data: TimelineEventsDetailsItem[]; enrichments: CtiEnrichment[]; eventId: string; timelineId: string; -}> = ({ browserFields, data, enrichments, eventId, timelineId }) => ( - <Indent> - <StyledEuiInMemoryTable - columns={columns} - compressed - data-test-subj="threat-summary-view" - items={buildThreatSummaryItems(browserFields, data, enrichments, timelineId, eventId)} - /> - </Indent> -); + hostRisk: HostRisk | null; + isDraggable?: boolean; +}> = ({ browserFields, data, enrichments, eventId, timelineId, hostRisk, isDraggable }) => { + if (!hostRisk && enrichments.length === 0) { + return null; + } + + return ( + <> + <EuiHorizontalRule /> + + <EuiTitle size="xxxs"> + <h5>{i18n.ENRICHED_DATA}</h5> + </EuiTitle> + <EuiSpacer size="m" /> + + <EuiFlexGroup direction="column" gutterSize="m" style={{ flexGrow: 0 }}> + {hostRisk && ( + <EuiFlexItem grow={false}> + <HostRiskSummary hostRisk={hostRisk} /> + </EuiFlexItem> + )} + + <EnrichmentSummary + browserFields={browserFields} + data={data} + enrichments={enrichments} + timelineId={timelineId} + eventId={eventId} + isDraggable={isDraggable} + /> + </EuiFlexGroup> + </> + ); +}; export const ThreatSummaryView = React.memo(ThreatSummaryViewComponent); diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/translations.ts b/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/translations.ts index 64775f30b7f3e..14a1fde29d15a 100644 --- a/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/translations.ts +++ b/x-pack/plugins/security_solution/public/common/components/event_details/cti_details/translations.ts @@ -14,20 +14,27 @@ export const PROVIDER_PREPOSITION = i18n.translate( } ); -export const INDICATOR_TOOLTIP_TITLE = i18n.translate( - 'xpack.securitySolution.eventDetails.ctiSummary.indicatorEnrichmentTooltipTitle', +export const INDICATOR_ENRICHMENT_TITLE = i18n.translate( + 'xpack.securitySolution.eventDetails.ctiSummary.indicatorEnrichmentTitle', { defaultMessage: 'Threat Match Detected', } ); -export const INVESTIGATION_TOOLTIP_TITLE = i18n.translate( - 'xpack.securitySolution.eventDetails.ctiSummary.investigationEnrichmentTooltipTitle', +export const INVESTIGATION_ENRICHMENT_TITLE = i18n.translate( + 'xpack.securitySolution.eventDetails.ctiSummary.investigationEnrichmentTitle', { defaultMessage: 'Enriched with Threat Intelligence', } ); +export const HOST_RISK_DATA_TITLE = i18n.translate( + 'xpack.securitySolution.alertDetails.overview.hostRiskDataTitle', + { + defaultMessage: 'Host Risk Data', + } +); + export const INDICATOR_TOOLTIP_CONTENT = i18n.translate( 'xpack.securitySolution.eventDetails.ctiSummary.indicatorEnrichmentTooltipContent', { @@ -36,6 +43,13 @@ export const INDICATOR_TOOLTIP_CONTENT = i18n.translate( } ); +export const INFORMATION_ARIA_LABEL = i18n.translate( + 'xpack.securitySolution.eventDetails.ctiSummary.informationAriaLabel', + { + defaultMessage: 'Information', + } +); + export const INVESTIGATION_TOOLTIP_CONTENT = i18n.translate( 'xpack.securitySolution.eventDetails.ctiSummary.investigationEnrichmentTooltipContent', { @@ -82,6 +96,13 @@ export const NO_ENRICHMENTS_FOUND_DESCRIPTION = i18n.translate( } ); +export const NO_HOST_RISK_DATA_DESCRIPTION = i18n.translate( + 'xpack.securitySolution.alertDetails.noRiskDataDescription', + { + defaultMessage: 'These is no host risk data found for this alert', + } +); + export const CHECK_DOCS = i18n.translate('xpack.securitySolution.alertDetails.checkDocs', { defaultMessage: 'please check out our documentation', }); @@ -117,3 +138,10 @@ export const ENRICHMENT_LOOKBACK_END_DATE = i18n.translate( export const REFRESH = i18n.translate('xpack.securitySolution.alertDetails.refresh', { defaultMessage: 'Refresh', }); + +export const ENRICHED_DATA = i18n.translate( + 'xpack.securitySolution.alertDetails.overview.enrichedDataTitle', + { + defaultMessage: 'Enriched data', + } +); diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/event_details.test.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/event_details.test.tsx index 47d407413316b..a8ba536a75541 100644 --- a/x-pack/plugins/security_solution/public/common/components/event_details/event_details.test.tsx +++ b/x-pack/plugins/security_solution/public/common/components/event_details/event_details.test.tsx @@ -24,6 +24,16 @@ import { useInvestigationTimeEnrichment } from '../../containers/cti/event_enric jest.mock('../../../common/lib/kibana'); jest.mock('../../containers/cti/event_enrichment'); +jest.mock('../../../detections/containers/detection_engine/rules/use_rule_with_fallback', () => { + return { + useRuleWithFallback: jest.fn().mockReturnValue({ + rule: { + note: 'investigation guide', + }, + }), + }; +}); + jest.mock('../link_to'); describe('EventDetails', () => { const mount = useMountAppended(); @@ -37,6 +47,7 @@ describe('EventDetails', () => { timelineTabType: TimelineTabs.query, timelineId: 'test', eventView: EventsViewType.summaryView, + hostRisk: { fields: [], loading: true }, }; const alertsProps = { @@ -115,6 +126,12 @@ describe('EventDetails', () => { }); }); + describe('summary view tab', () => { + it('render investigation guide', () => { + expect(alertsWrapper.find('[data-test-subj="summary-view-guide"]').exists()).toEqual(true); + }); + }); + describe('threat intel tab', () => { it('renders a "no enrichments" panel view if there are no enrichments', () => { alertsWrapper.find('[data-test-subj="threatIntelTab"]').first().simulate('click'); diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/event_details.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/event_details.tsx index 3c96f6746a500..e7092d9d6f466 100644 --- a/x-pack/plugins/security_solution/public/common/components/event_details/event_details.tsx +++ b/x-pack/plugins/security_solution/public/common/components/event_details/event_details.tsx @@ -10,10 +10,10 @@ import { EuiTabbedContentTab, EuiSpacer, EuiLoadingContent, - EuiLoadingSpinner, EuiNotificationBadge, EuiFlexGroup, EuiFlexItem, + EuiLoadingSpinner, } from '@elastic/eui'; import React, { useCallback, useMemo, useState } from 'react'; import styled from 'styled-components'; @@ -38,6 +38,9 @@ import { import { EnrichmentRangePicker } from './cti_details/enrichment_range_picker'; import { Reason } from './reason'; +import { InvestigationGuideView } from './investigation_guide_view'; +import { HostRisk } from '../../../overview/containers/overview_risky_host_links/use_hosts_risk_score'; + type EventViewTab = EuiTabbedContentTab; export type EventViewId = @@ -60,8 +63,14 @@ interface Props { isDraggable?: boolean; timelineTabType: TimelineTabs | 'flyout'; timelineId: string; + hostRisk: HostRisk | null; } +export const Indent = styled.div` + padding: 0 8px; + word-break: break-word; +`; + const StyledEuiTabbedContent = styled(EuiTabbedContent)` display: flex; flex: 1; @@ -99,6 +108,7 @@ const EventDetailsComponent: React.FC<Props> = ({ isDraggable, timelineId, timelineTabType, + hostRisk, }) => { const [selectedTabId, setSelectedTabId] = useState<EventViewId>(EventsViewType.summaryView); const handleTabClick = useCallback( @@ -151,8 +161,11 @@ const EventDetailsComponent: React.FC<Props> = ({ title: i18n.DUCOMENT_SUMMARY, }} /> - {enrichmentCount > 0 && ( + + {(enrichmentCount > 0 || hostRisk) && ( <ThreatSummaryView + isDraggable={isDraggable} + hostRisk={hostRisk} browserFields={browserFields} data={data} eventId={id} @@ -160,11 +173,14 @@ const EventDetailsComponent: React.FC<Props> = ({ enrichments={allEnrichments} /> )} + {isEnrichmentsLoading && ( <> <EuiLoadingContent lines={2} /> </> )} + + <InvestigationGuideView data={data} /> </> ), } @@ -179,6 +195,7 @@ const EventDetailsComponent: React.FC<Props> = ({ enrichmentCount, allEnrichments, isEnrichmentsLoading, + hostRisk, ] ); diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/get_alert_summary_rows.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/get_alert_summary_rows.tsx new file mode 100644 index 0000000000000..52d31e3484594 --- /dev/null +++ b/x-pack/plugins/security_solution/public/common/components/event_details/get_alert_summary_rows.tsx @@ -0,0 +1,243 @@ +/* + * 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 { get, getOr, find, isEmpty } from 'lodash/fp'; + +import * as i18n from './translations'; +import { BrowserFields } from '../../../../common/search_strategy/index_fields'; +import { + ALERTS_HEADERS_RISK_SCORE, + ALERTS_HEADERS_RULE, + ALERTS_HEADERS_SEVERITY, + ALERTS_HEADERS_THRESHOLD_CARDINALITY, + ALERTS_HEADERS_THRESHOLD_COUNT, + ALERTS_HEADERS_THRESHOLD_TERMS, + ALERTS_HEADERS_RULE_NAME, + SIGNAL_STATUS, + ALERTS_HEADERS_TARGET_IMPORT_HASH, + TIMESTAMP, + ALERTS_HEADERS_RULE_DESCRIPTION, +} from '../../../detections/components/alerts_table/translations'; +import { + AGENT_STATUS_FIELD_NAME, + IP_FIELD_TYPE, + SIGNAL_RULE_NAME_FIELD_NAME, +} from '../../../timelines/components/timeline/body/renderers/constants'; +import { DESTINATION_IP_FIELD_NAME, SOURCE_IP_FIELD_NAME } from '../../../network/components/ip'; +import { SummaryRow } from './helpers'; +import { TimelineEventsDetailsItem } from '../../../../common/search_strategy/timeline'; + +import { isAlertFromEndpointEvent } from '../../utils/endpoint_alert_check'; +import { EventCode } from '../../../../common/ecs/event'; + +interface EventSummaryField { + id: string; + label?: string; + linkField?: string; + fieldType?: string; + overrideField?: string; +} + +const defaultDisplayFields: EventSummaryField[] = [ + { id: 'signal.status', label: SIGNAL_STATUS }, + { id: '@timestamp', label: TIMESTAMP }, + { + id: SIGNAL_RULE_NAME_FIELD_NAME, + linkField: 'signal.rule.id', + label: ALERTS_HEADERS_RULE, + }, + { id: 'signal.rule.severity', label: ALERTS_HEADERS_SEVERITY }, + { id: 'signal.rule.risk_score', label: ALERTS_HEADERS_RISK_SCORE }, + { id: 'host.name' }, + { id: 'agent.id', overrideField: AGENT_STATUS_FIELD_NAME, label: i18n.AGENT_STATUS }, + { id: 'user.name' }, + { id: SOURCE_IP_FIELD_NAME, fieldType: IP_FIELD_TYPE }, + { id: DESTINATION_IP_FIELD_NAME, fieldType: IP_FIELD_TYPE }, + { id: 'signal.threshold_result.count', label: ALERTS_HEADERS_THRESHOLD_COUNT }, + { id: 'signal.threshold_result.terms', label: ALERTS_HEADERS_THRESHOLD_TERMS }, + { id: 'signal.threshold_result.cardinality', label: ALERTS_HEADERS_THRESHOLD_CARDINALITY }, +]; + +const processCategoryFields: EventSummaryField[] = [ + ...defaultDisplayFields, + { id: 'process.name' }, + { id: 'process.parent.name' }, + { id: 'process.args' }, +]; + +const networkCategoryFields: EventSummaryField[] = [ + ...defaultDisplayFields, + { id: 'destination.address' }, + { id: 'destination.port' }, + { id: 'process.name' }, +]; + +const memoryShellCodeAlertFields: EventSummaryField[] = [ + ...defaultDisplayFields, + { id: 'rule.name', label: ALERTS_HEADERS_RULE_NAME }, + { + id: 'Target.process.thread.Ext.start_address_details.memory_pe.imphash', + label: ALERTS_HEADERS_TARGET_IMPORT_HASH, + }, +]; + +const behaviorAlertFields: EventSummaryField[] = [ + ...defaultDisplayFields, + { id: 'rule.description', label: ALERTS_HEADERS_RULE_DESCRIPTION }, +]; + +const memorySignatureAlertFields: EventSummaryField[] = [ + ...defaultDisplayFields, + { id: 'rule.name', label: ALERTS_HEADERS_RULE_NAME }, +]; + +function getEventFieldsToDisplay({ + eventCategory, + eventCode, +}: { + eventCategory: string; + eventCode?: string; +}): EventSummaryField[] { + switch (eventCode) { + // memory protection fields + case EventCode.SHELLCODE_THREAD: + return memoryShellCodeAlertFields; + case EventCode.MEMORY_SIGNATURE: + return memorySignatureAlertFields; + case EventCode.BEHAVIOR: + return behaviorAlertFields; + } + + switch (eventCategory) { + case 'network': + return networkCategoryFields; + + case 'process': + return processCategoryFields; + } + + return defaultDisplayFields; +} + +export const getSummaryRows = ({ + data, + browserFields, + timelineId, + eventId, + isDraggable = false, +}: { + data: TimelineEventsDetailsItem[]; + browserFields: BrowserFields; + timelineId: string; + eventId: string; + isDraggable?: boolean; +}) => { + const eventCategoryField = find({ category: 'event', field: 'event.category' }, data); + + const eventCategory = Array.isArray(eventCategoryField?.originalValue) + ? eventCategoryField?.originalValue[0] + : eventCategoryField?.originalValue; + + const eventCodeField = find({ category: 'event', field: 'event.code' }, data); + + const eventCode = Array.isArray(eventCodeField?.originalValue) + ? eventCodeField?.originalValue?.[0] + : eventCodeField?.originalValue; + + const tableFields = getEventFieldsToDisplay({ eventCategory, eventCode }); + + return data != null + ? tableFields.reduce<SummaryRow[]>((acc, item) => { + const initialDescription = { + contextId: timelineId, + eventId, + isDraggable, + value: null, + fieldType: 'string', + linkValue: undefined, + timelineId, + }; + const field = data.find((d) => d.field === item.id); + if (!field || isEmpty(field?.values)) { + return acc; + } + + const linkValueField = + item.linkField != null && data.find((d) => d.field === item.linkField); + const linkValue = getOr(null, 'originalValue.0', linkValueField); + const value = getOr(null, 'originalValue.0', field); + const category = field.category ?? ''; + const fieldName = field.field ?? ''; + + const browserField = get([category, 'fields', fieldName], browserFields); + const description = { + ...initialDescription, + data: { + field: field.field, + format: browserField?.format ?? '', + type: browserField?.type ?? '', + isObjectArray: field.isObjectArray, + ...(item.overrideField ? { field: item.overrideField } : {}), + }, + values: field.values, + linkValue: linkValue ?? undefined, + fieldFromBrowserField: browserField, + }; + + if (item.id === 'agent.id' && !isAlertFromEndpointEvent({ data })) { + return acc; + } + + if (item.id === 'signal.threshold_result.terms') { + try { + const terms = getOr(null, 'originalValue', field); + const parsedValue = terms.map((term: string) => JSON.parse(term)); + const thresholdTerms = (parsedValue ?? []).map( + (entry: { field: string; value: string }) => { + return { + title: `${entry.field} [threshold]`, + description: { + ...description, + values: [entry.value], + }, + }; + } + ); + return [...acc, ...thresholdTerms]; + } catch (err) { + return [...acc]; + } + } + + if (item.id === 'signal.threshold_result.cardinality') { + try { + const parsedValue = JSON.parse(value); + return [ + ...acc, + { + title: ALERTS_HEADERS_THRESHOLD_CARDINALITY, + description: { + ...description, + values: [`count(${parsedValue.field}) == ${parsedValue.value}`], + }, + }, + ]; + } catch (err) { + return acc; + } + } + + return [ + ...acc, + { + title: item.label ?? item.id, + description, + }, + ]; + }, []) + : []; +}; diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/investigation_guide_view.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/investigation_guide_view.tsx new file mode 100644 index 0000000000000..313766caad196 --- /dev/null +++ b/x-pack/plugins/security_solution/public/common/components/event_details/investigation_guide_view.tsx @@ -0,0 +1,57 @@ +/* + * 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 { EuiSpacer, EuiHorizontalRule, EuiTitle, EuiText } from '@elastic/eui'; + +import React, { useMemo } from 'react'; +import styled from 'styled-components'; + +import * as i18n from './translations'; +import { useRuleWithFallback } from '../../../detections/containers/detection_engine/rules/use_rule_with_fallback'; +import { MarkdownRenderer } from '../markdown_editor'; +import { LineClamp } from '../line_clamp'; +import { TimelineEventsDetailsItem } from '../../../../common'; + +export const Indent = styled.div` + padding: 0 8px; + word-break: break-word; +`; + +const InvestigationGuideViewComponent: React.FC<{ + data: TimelineEventsDetailsItem[]; +}> = ({ data }) => { + const ruleId = useMemo(() => { + const item = data.find((d) => d.field === 'signal.rule.id'); + return Array.isArray(item?.originalValue) + ? item?.originalValue[0] + : item?.originalValue ?? null; + }, [data]); + const { rule: maybeRule } = useRuleWithFallback(ruleId); + + if (!maybeRule?.note) { + return null; + } + + return ( + <> + <EuiHorizontalRule /> + <EuiTitle size="xxxs" data-test-subj="summary-view-guide"> + <h5>{i18n.INVESTIGATION_GUIDE}</h5> + </EuiTitle> + <EuiSpacer size="s" /> + <Indent> + <EuiText size="xs"> + <LineClamp lineClampHeight={4.5}> + <MarkdownRenderer>{maybeRule.note}</MarkdownRenderer> + </LineClamp> + </EuiText> + </Indent> + </> + ); +}; + +export const InvestigationGuideView = React.memo(InvestigationGuideViewComponent); diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx index edf4bdf0e8e3c..327d8d963c75e 100644 --- a/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx +++ b/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx @@ -32,7 +32,7 @@ export const FieldNameCell = React.memo( // TODO: Remove. This is what was used to show the plaintext fieldName vs the tooltip one // const showPlainTextName = // (data.isObjectArray && data.type !== 'geo_point') || fieldFromBrowserField == null; - const isMultiField = !!fieldMapping?.spec?.subType?.multi; + const isMultiField = fieldMapping?.isSubtypeMulti(); return ( <> <EuiFlexItem grow={false} className="eventFieldsTable__fieldIcon"> diff --git a/x-pack/plugins/security_solution/public/common/components/event_details/table/field_value_cell.tsx b/x-pack/plugins/security_solution/public/common/components/event_details/table/field_value_cell.tsx index ef7b9da696028..fc20f84d3650d 100644 --- a/x-pack/plugins/security_solution/public/common/components/event_details/table/field_value_cell.tsx +++ b/x-pack/plugins/security_solution/public/common/components/event_details/table/field_value_cell.tsx @@ -36,7 +36,7 @@ export const FieldValueCell = React.memo( values, }: FieldValueCellProps) => { return ( - <div> + <div data-test-subj={`event-field-${data.field}`}> {values != null && values.map((value, i) => { if (fieldFromBrowserField == null) { diff --git a/x-pack/plugins/security_solution/public/common/components/help_menu/index.tsx b/x-pack/plugins/security_solution/public/common/components/help_menu/index.tsx index 28ff98d5c9c88..febc59e7542f5 100644 --- a/x-pack/plugins/security_solution/public/common/components/help_menu/index.tsx +++ b/x-pack/plugins/security_solution/public/common/components/help_menu/index.tsx @@ -8,15 +8,14 @@ import React, { useEffect } from 'react'; import { i18n } from '@kbn/i18n'; import { useKibana } from '../../lib/kibana'; +import { SOLUTION_NAME } from '../../translations'; export const HelpMenu = React.memo(() => { const { chrome, docLinks } = useKibana().services; useEffect(() => { chrome.setHelpExtension({ - appName: i18n.translate('xpack.securitySolution.chrome.help.appName', { - defaultMessage: 'Security', - }), + appName: SOLUTION_NAME, links: [ { content: i18n.translate('xpack.securitySolution.chrome.helpMenu.documentation', { diff --git a/x-pack/plugins/security_solution/public/common/components/markdown_editor/plugins/timeline/processor.tsx b/x-pack/plugins/security_solution/public/common/components/markdown_editor/plugins/timeline/processor.tsx index f70f96a26c83a..9d0f68a9bb483 100644 --- a/x-pack/plugins/security_solution/public/common/components/markdown_editor/plugins/timeline/processor.tsx +++ b/x-pack/plugins/security_solution/public/common/components/markdown_editor/plugins/timeline/processor.tsx @@ -11,16 +11,30 @@ import { EuiToolTip, EuiLink } from '@elastic/eui'; import { useTimelineClick } from '../../../../utils/timeline/use_timeline_click'; import { TimelineProps } from './types'; import * as i18n from './translations'; +import { useAppToasts } from '../../../../hooks/use_app_toasts'; export const TimelineMarkDownRendererComponent: React.FC<TimelineProps> = ({ id, title, graphEventId, }) => { + const { addError } = useAppToasts(); + const handleTimelineClick = useTimelineClick(); + + const onError = useCallback( + (error: Error, timelineId: string) => { + addError(error, { + title: i18n.TIMELINE_ERROR_TITLE, + toastMessage: i18n.FAILED_TO_RETRIEVE_TIMELINE(timelineId), + }); + }, + [addError] + ); + const onClickTimeline = useCallback( - () => handleTimelineClick(id ?? '', graphEventId), - [id, graphEventId, handleTimelineClick] + () => handleTimelineClick(id ?? '', onError, graphEventId), + [id, graphEventId, handleTimelineClick, onError] ); return ( <EuiToolTip content={i18n.TIMELINE_ID(id ?? '')}> diff --git a/x-pack/plugins/security_solution/public/common/components/markdown_editor/plugins/timeline/translations.ts b/x-pack/plugins/security_solution/public/common/components/markdown_editor/plugins/timeline/translations.ts index a32f9c263be49..2c3f5e30b5b5d 100644 --- a/x-pack/plugins/security_solution/public/common/components/markdown_editor/plugins/timeline/translations.ts +++ b/x-pack/plugins/security_solution/public/common/components/markdown_editor/plugins/timeline/translations.ts @@ -53,3 +53,19 @@ export const NO_PARENTHESES = i18n.translate( defaultMessage: 'Expected left parentheses', } ); + +export const FAILED_TO_RETRIEVE_TIMELINE = (timelineId: string) => + i18n.translate( + 'xpack.securitySolution.markdownEditor.plugins.timeline.failedRetrieveTimelineErrorMsg', + { + defaultMessage: 'Failed to retrieve timeline id: { timelineId }', + values: { timelineId }, + } + ); + +export const TIMELINE_ERROR_TITLE = i18n.translate( + 'xpack.securitySolution.markdownEditor.plugins.timeline.timelineErrorTitle', + { + defaultMessage: 'Timeline Error', + } +); diff --git a/x-pack/plugins/security_solution/public/common/components/ml_popover/ml_popover.tsx b/x-pack/plugins/security_solution/public/common/components/ml_popover/ml_popover.tsx index 6abca9cfe8853..cf5e8a5bad80a 100644 --- a/x-pack/plugins/security_solution/public/common/components/ml_popover/ml_popover.tsx +++ b/x-pack/plugins/security_solution/public/common/components/ml_popover/ml_popover.tsx @@ -14,7 +14,7 @@ import { } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; import moment from 'moment'; -import React, { Dispatch, useCallback, useReducer, useState } from 'react'; +import React, { Dispatch, useCallback, useReducer, useState, useMemo } from 'react'; import styled from 'styled-components'; import { useKibana } from '../../lib/kibana'; @@ -30,6 +30,7 @@ import * as i18n from './translations'; import { JobsFilters, SecurityJob } from './types'; import { UpgradeContents } from './upgrade_contents'; import { useSecurityJobs } from './hooks/use_security_jobs'; +import { MLJobsAwaitingNodeWarning } from '../../../../../ml/public'; const PopoverContentsDiv = styled.div` max-width: 684px; @@ -116,6 +117,10 @@ export const MlPopover = React.memo(() => { }); const incompatibleJobCount = jobs.filter((j) => !j.isCompatible).length; + const installedJobsIds = useMemo( + () => jobs.filter((j) => j.isInstalled).map((j) => j.id), + [jobs] + ); if (!isLicensed) { // If the user does not have platinum show upgrade UI @@ -216,6 +221,7 @@ export const MlPopover = React.memo(() => { </> )} + <MLJobsAwaitingNodeWarning jobIds={installedJobsIds} /> <JobsTable isLoading={isLoadingSecurityJobs || isLoading} jobs={filteredJobs} diff --git a/x-pack/plugins/security_solution/public/common/components/top_n/index.test.tsx b/x-pack/plugins/security_solution/public/common/components/top_n/index.test.tsx index 6962ed03e81d4..83c05c2883723 100644 --- a/x-pack/plugins/security_solution/public/common/components/top_n/index.test.tsx +++ b/x-pack/plugins/security_solution/public/common/components/top_n/index.test.tsx @@ -65,10 +65,9 @@ const state: State = { }, }, query: { - match: { + match_phrase: { 'host.os.name': { query: 'Linux', - type: 'phrase', }, }, }, @@ -121,10 +120,9 @@ const state: State = { type: 'phrase', }, query: { - match: { + match_phrase: { 'source.port': { query: '30045', - type: 'phrase', }, }, }, @@ -256,7 +254,7 @@ describe('StatefulTopN', () => { key: 'host.os.name', params: { query: 'Linux' }, }, - query: { match: { 'host.os.name': { query: 'Linux', type: 'phrase' } } }, + query: { match_phrase: { 'host.os.name': { query: 'Linux' } } }, }, ]); }); diff --git a/x-pack/plugins/security_solution/public/common/translations.ts b/x-pack/plugins/security_solution/public/common/translations.ts index 1eefd69d57eb7..2058eaf03b5e1 100644 --- a/x-pack/plugins/security_solution/public/common/translations.ts +++ b/x-pack/plugins/security_solution/public/common/translations.ts @@ -7,8 +7,8 @@ import { i18n } from '@kbn/i18n'; -export const EMPTY_TITLE = i18n.translate('xpack.securitySolution.pages.common.emptyTitle', { - defaultMessage: 'Welcome to Elastic Security. Let’s get you started.', +export const SOLUTION_NAME = i18n.translate('xpack.securitySolution.pages.common.solutionName', { + defaultMessage: 'Security', }); export const EMPTY_ACTION_ELASTIC_AGENT = i18n.translate( diff --git a/x-pack/plugins/security_solution/public/common/utils/timeline/use_timeline_click.tsx b/x-pack/plugins/security_solution/public/common/utils/timeline/use_timeline_click.tsx index 2756ba2a696e1..826ac7c32b7b0 100644 --- a/x-pack/plugins/security_solution/public/common/utils/timeline/use_timeline_click.tsx +++ b/x-pack/plugins/security_solution/public/common/utils/timeline/use_timeline_click.tsx @@ -11,16 +11,18 @@ import { dispatchUpdateTimeline, queryTimelineById, } from '../../../timelines/components/open_timeline/helpers'; +import { TimelineErrorCallback } from '../../../timelines/components/open_timeline/types'; import { updateIsLoading as dispatchUpdateIsLoading } from '../../../timelines/store/timeline/actions'; export const useTimelineClick = () => { const dispatch = useDispatch(); const handleTimelineClick = useCallback( - (timelineId: string, graphEventId?: string) => { + (timelineId: string, onError: TimelineErrorCallback, graphEventId?: string) => { queryTimelineById({ graphEventId, timelineId, + onError, updateIsLoading: ({ id: currentTimelineId, isLoading, diff --git a/x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.test.tsx b/x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.test.tsx index 9c6954a6898a6..978c2b1a8d163 100644 --- a/x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.test.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.test.tsx @@ -52,8 +52,10 @@ describe('alerts default_config', () => { type: 'exists', value: 'exists', }, - exists: { - field: 'signal.rule.threat_mapping', + query: { + exists: { + field: 'signal.rule.threat_mapping', + }, }, }; expect(filters).toHaveLength(1); diff --git a/x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx b/x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx index 3bc229273bc83..b4b4548f51b06 100644 --- a/x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx @@ -130,8 +130,7 @@ export const buildShowBuildingBlockFilter = (showBuildingBlockAlerts: boolean): key: 'signal.rule.building_block_type', value: 'exists', }, - // @ts-expect-error TODO: Rework parent typings to support ExistsFilter[] - exists: { field: 'signal.rule.building_block_type' }, + query: { exists: { field: 'signal.rule.building_block_type' } }, }, ]; @@ -147,8 +146,7 @@ export const buildThreatMatchFilter = (showOnlyThreatIndicatorAlerts: boolean): type: 'exists', value: 'exists', }, - // @ts-expect-error TODO: Rework parent typings to support ExistsFilter[] - exists: { field: 'signal.rule.threat_mapping' }, + query: { exists: { field: 'signal.rule.threat_mapping' } }, }, ] : []; @@ -268,8 +266,7 @@ export const buildShowBuildingBlockFilterRuleRegistry = ( key: 'kibana.rule.building_block_type', value: 'exists', }, - // @ts-expect-error TODO: Rework parent typings to support ExistsFilter[] - exists: { field: 'kibana.rule.building_block_type' }, + query: { exists: { field: 'kibana.rule.building_block_type' } }, }, ]; diff --git a/x-pack/plugins/security_solution/public/detections/components/callouts/missing_privileges_callout/translations.tsx b/x-pack/plugins/security_solution/public/detections/components/callouts/missing_privileges_callout/translations.tsx index 0d628d89c0925..1468f4c00d506 100644 --- a/x-pack/plugins/security_solution/public/detections/components/callouts/missing_privileges_callout/translations.tsx +++ b/x-pack/plugins/security_solution/public/detections/components/callouts/missing_privileges_callout/translations.tsx @@ -56,7 +56,7 @@ export const missingPrivilegesCallOutBody = ({ }: MissingPrivileges) => ( <FormattedMessage id="xpack.securitySolution.detectionEngine.missingPrivilegesCallOut.messageBody.messageDetail" - defaultMessage="{essence} {indexPrivileges} Related documentation: {docs}" + defaultMessage="{essence} {indexPrivileges} {featurePrivileges} Related documentation: {docs}" values={{ essence: ( <p> @@ -77,30 +77,23 @@ export const missingPrivilegesCallOutBody = ({ {indexPrivileges.map(([index, missingPrivileges]) => ( <li key={index}>{missingIndexPrivileges(index, missingPrivileges)}</li> ))} - { - // TODO: Uncomment once RBAC for alerts is reenabled - /* {featurePrivileges.map(([feature, missingPrivileges]) => ( + </ul> + </> + ) : null, + featurePrivileges: + featurePrivileges.length > 0 ? ( + <> + <FormattedMessage + id="xpack.securitySolution.detectionEngine.missingPrivilegesCallOut.messageBody.featurePrivilegesTitle" + defaultMessage="Missing Kibana feature privileges:" + /> + <ul> + {featurePrivileges.map(([feature, missingPrivileges]) => ( <li key={feature}>{missingFeaturePrivileges(feature, missingPrivileges)}</li> - ))} */ - } + ))} </ul> </> ) : null, - // TODO: Uncomment once RBAC for alerts is reenabled - // featurePrivileges: - // featurePrivileges.length > 0 ? ( - // <> - // <FormattedMessage - // id="xpack.securitySolution.detectionEngine.missingPrivilegesCallOut.messageBody.featurePrivilegesTitle" - // defaultMessage="Missing Kibana feature privileges:" - // /> - // <ul> - // {featurePrivileges.map(([feature, missingPrivileges]) => ( - // <li key={feature}>{missingFeaturePrivileges(feature, missingPrivileges)}</li> - // ))} - // </ul> - // </> - // ) : null, docs: ( <ul> <li> @@ -159,15 +152,14 @@ const missingIndexPrivileges = (index: string, privileges: string[]) => ( /> ); -// TODO: Uncomment once RBAC for alerts is reenabled -// const missingFeaturePrivileges = (feature: string, privileges: string[]) => ( -// <FormattedMessage -// id="xpack.securitySolution.detectionEngine.missingPrivilegesCallOut.messageBody.missingFeaturePrivileges" -// defaultMessage="Missing {privileges} privileges for the {index} feature. {explanation}" -// values={{ -// privileges: <CommaSeparatedValues values={privileges} />, -// index: <EuiCode>{feature}</EuiCode>, -// explanation: getPrivilegesExplanation(privileges, feature), -// }} -// /> -// ); +const missingFeaturePrivileges = (feature: string, privileges: string[]) => ( + <FormattedMessage + id="xpack.securitySolution.detectionEngine.missingPrivilegesCallOut.messageBody.missingFeaturePrivileges" + defaultMessage="Missing {privileges} privileges for the {index} feature. {explanation}" + values={{ + privileges: <CommaSeparatedValues values={privileges} />, + index: <EuiCode>{feature}</EuiCode>, + explanation: getPrivilegesExplanation(privileges, feature), + }} + /> +); diff --git a/x-pack/plugins/security_solution/public/detections/components/rules/query_preview/helpers.test.ts b/x-pack/plugins/security_solution/public/detections/components/rules/query_preview/helpers.test.ts index 4913c45ff7c50..0f8fe6687d3da 100644 --- a/x-pack/plugins/security_solution/public/detections/components/rules/query_preview/helpers.test.ts +++ b/x-pack/plugins/security_solution/public/detections/components/rules/query_preview/helpers.test.ts @@ -98,7 +98,7 @@ describe('query_preview/helpers', () => { expect(queryString).toEqual('host.name:*'); expect(language).toEqual('kuery'); - expect(filters).toEqual([{ meta: { alias: '', disabled: false, negate: false } }]); + expect(filters).toEqual([{ meta: { alias: '', disabled: false, negate: false }, query: {} }]); expect(queryFilter).toEqual({ bool: { filter: [ @@ -124,7 +124,7 @@ describe('query_preview/helpers', () => { expect(queryString).toEqual('host.name:*'); expect(language).toEqual('kuery'); - expect(filters).toEqual([{ meta: { alias: '', disabled: false, negate: false } }]); + expect(filters).toEqual([{ meta: { alias: '', disabled: false, negate: false }, query: {} }]); expect(queryFilter).toEqual({ bool: { filter: [ @@ -150,7 +150,7 @@ describe('query_preview/helpers', () => { expect(queryString).toEqual('host.name:*'); expect(language).toEqual('kuery'); - expect(filters).toEqual([{ meta: { alias: '', disabled: false, negate: false } }]); + expect(filters).toEqual([{ meta: { alias: '', disabled: false, negate: false }, query: {} }]); expect(queryFilter).toEqual({ bool: { filter: [ diff --git a/x-pack/plugins/security_solution/public/detections/components/rules/query_preview/reducer.test.ts b/x-pack/plugins/security_solution/public/detections/components/rules/query_preview/reducer.test.ts index 930b7066da5cc..4b5d5f524d16f 100644 --- a/x-pack/plugins/security_solution/public/detections/components/rules/query_preview/reducer.test.ts +++ b/x-pack/plugins/security_solution/public/detections/components/rules/query_preview/reducer.test.ts @@ -79,7 +79,9 @@ describe('queryPreviewReducer', () => { expect(update.language).toEqual('kuery'); expect(update.queryString).toEqual('host.name:*'); - expect(update.filters).toEqual([{ meta: { alias: '', disabled: false, negate: false } }]); + expect(update.filters).toEqual([ + { meta: { alias: '', disabled: false, negate: false }, query: {} }, + ]); }); test('should create the queryFilter if query type is not eql', () => { diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/service.ts b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/service.ts index 85545303c7df0..79ca595fbb61b 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/service.ts +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/service.ts @@ -64,3 +64,13 @@ export async function getHostIsolationExceptionItems({ }); return entries; } + +export async function deleteHostIsolationExceptionItems(http: HttpStart, id: string) { + await ensureHostIsolationExceptionsListExists(http); + return http.delete<ExceptionListItemSchema>(EXCEPTION_LIST_ITEM_URL, { + query: { + id, + namespace_type: 'agnostic', + }, + }); +} diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/action.ts b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/action.ts index 793c44ce79db2..0a9f776655371 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/action.ts +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/action.ts @@ -5,6 +5,7 @@ * 2.0. */ +import { ExceptionListItemSchema } from '@kbn/securitysolution-io-ts-list-types'; import { Action } from 'redux'; import { HostIsolationExceptionsPageState } from '../types'; @@ -13,4 +14,19 @@ export type HostIsolationExceptionsPageDataChanged = payload: HostIsolationExceptionsPageState['entries']; }; -export type HostIsolationExceptionsPageAction = HostIsolationExceptionsPageDataChanged; +export type HostIsolationExceptionsDeleteItem = Action<'hostIsolationExceptionsMarkToDelete'> & { + payload?: ExceptionListItemSchema; +}; + +export type HostIsolationExceptionsSubmitDelete = Action<'hostIsolationExceptionsSubmitDelete'>; + +export type HostIsolationExceptionsDeleteStatusChanged = + Action<'hostIsolationExceptionsDeleteStatusChanged'> & { + payload: HostIsolationExceptionsPageState['deletion']['status']; + }; + +export type HostIsolationExceptionsPageAction = + | HostIsolationExceptionsPageDataChanged + | HostIsolationExceptionsDeleteItem + | HostIsolationExceptionsSubmitDelete + | HostIsolationExceptionsDeleteStatusChanged; diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/builders.ts b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/builders.ts index f5ea3c27bde7f..68a50f9c813f4 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/builders.ts +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/builders.ts @@ -16,4 +16,8 @@ export const initialHostIsolationExceptionsPageState = (): HostIsolationExceptio page_size: MANAGEMENT_DEFAULT_PAGE_SIZE, filter: '', }, + deletion: { + item: undefined, + status: createUninitialisedResourceState(), + }, }); diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/middleware.test.ts b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/middleware.test.ts index cde9d89443903..984794e074ebb 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/middleware.test.ts +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/middleware.test.ts @@ -14,8 +14,12 @@ import { createSpyMiddleware, MiddlewareActionSpyHelper, } from '../../../../common/store/test_utils'; -import { isFailedResourceState, isLoadedResourceState } from '../../../state'; -import { getHostIsolationExceptionItems } from '../service'; +import { + isFailedResourceState, + isLoadedResourceState, + isLoadingResourceState, +} from '../../../state'; +import { getHostIsolationExceptionItems, deleteHostIsolationExceptionItems } from '../service'; import { HostIsolationExceptionsPageState } from '../types'; import { initialHostIsolationExceptionsPageState } from './builders'; import { createHostIsolationExceptionsPageMiddleware } from './middleware'; @@ -24,6 +28,7 @@ import { getListFetchError } from './selector'; jest.mock('../service'); const getHostIsolationExceptionItemsMock = getHostIsolationExceptionItems as jest.Mock; +const deleteHostIsolationExceptionItemsMock = deleteHostIsolationExceptionItems as jest.Mock; const fakeCoreStart = coreMock.createStart({ basePath: '/mock' }); @@ -139,4 +144,69 @@ describe('Host isolation exceptions middleware', () => { }); }); }); + + describe('When deleting an item from host isolation exceptions', () => { + beforeEach(() => { + deleteHostIsolationExceptionItemsMock.mockClear(); + deleteHostIsolationExceptionItemsMock.mockReturnValue(undefined); + getHostIsolationExceptionItemsMock.mockClear(); + getHostIsolationExceptionItemsMock.mockImplementation(getFoundExceptionListItemSchemaMock); + store.dispatch({ + type: 'hostIsolationExceptionsMarkToDelete', + payload: { + id: '1', + }, + }); + }); + + it('should call the delete exception API when a delete is submitted and advertise a loading status', async () => { + const waiter = Promise.all([ + // delete loading action + spyMiddleware.waitForAction('hostIsolationExceptionsDeleteStatusChanged', { + validate({ payload }) { + return isLoadingResourceState(payload); + }, + }), + // delete finished action + spyMiddleware.waitForAction('hostIsolationExceptionsDeleteStatusChanged', { + validate({ payload }) { + return isLoadedResourceState(payload); + }, + }), + ]); + store.dispatch({ + type: 'hostIsolationExceptionsSubmitDelete', + }); + await waiter; + expect(deleteHostIsolationExceptionItemsMock).toHaveBeenLastCalledWith( + fakeCoreStart.http, + '1' + ); + }); + + it('should dispatch a failure if the API returns an error', async () => { + deleteHostIsolationExceptionItemsMock.mockRejectedValue({ + body: { message: 'error message', statusCode: 500, error: 'Internal Server Error' }, + }); + store.dispatch({ + type: 'hostIsolationExceptionsSubmitDelete', + }); + await spyMiddleware.waitForAction('hostIsolationExceptionsDeleteStatusChanged', { + validate({ payload }) { + return isFailedResourceState(payload); + }, + }); + }); + + it('should reload the host isolation exception lists after delete', async () => { + store.dispatch({ + type: 'hostIsolationExceptionsSubmitDelete', + }); + await spyMiddleware.waitForAction('hostIsolationExceptionsPageDataChanged', { + validate({ payload }) { + return isLoadingResourceState(payload); + }, + }); + }); + }); }); diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/middleware.ts b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/middleware.ts index 1df0ef229d2ef..4946cac488700 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/middleware.ts +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/middleware.ts @@ -5,8 +5,11 @@ * 2.0. */ -import { FoundExceptionListItemSchema } from '@kbn/securitysolution-io-ts-list-types'; -import { CoreStart, HttpStart } from 'kibana/public'; +import { + ExceptionListItemSchema, + FoundExceptionListItemSchema, +} from '@kbn/securitysolution-io-ts-list-types'; +import { CoreStart, HttpSetup, HttpStart } from 'kibana/public'; import { matchPath } from 'react-router-dom'; import { AppLocation, Immutable } from '../../../../../common/endpoint/types'; import { ImmutableMiddleware, ImmutableMiddlewareAPI } from '../../../../common/store'; @@ -17,9 +20,9 @@ import { createFailedResourceState, createLoadedResourceState, } from '../../../state/async_resource_builders'; -import { getHostIsolationExceptionItems } from '../service'; +import { deleteHostIsolationExceptionItems, getHostIsolationExceptionItems } from '../service'; import { HostIsolationExceptionsPageState } from '../types'; -import { getCurrentListPageDataState, getCurrentLocation } from './selector'; +import { getCurrentListPageDataState, getCurrentLocation, getItemToDelete } from './selector'; export const SEARCHABLE_FIELDS: Readonly<string[]> = [`name`, `description`, `entries.value`]; @@ -36,6 +39,9 @@ export const createHostIsolationExceptionsPageMiddleware = ( if (action.type === 'userChangedUrl' && isHostIsolationExceptionsPage(action.payload)) { loadHostIsolationExceptionsList(store, coreStart.http); } + if (action.type === 'hostIsolationExceptionsSubmitDelete') { + deleteHostIsolationExceptionsItem(store, coreStart.http); + } }; }; @@ -88,3 +94,37 @@ function isHostIsolationExceptionsPage(location: Immutable<AppLocation>) { }) !== null ); } + +async function deleteHostIsolationExceptionsItem( + store: ImmutableMiddlewareAPI<HostIsolationExceptionsPageState, AppAction>, + http: HttpSetup +) { + const { dispatch } = store; + const itemToDelete = getItemToDelete(store.getState()); + if (itemToDelete === undefined) { + return; + } + try { + dispatch({ + type: 'hostIsolationExceptionsDeleteStatusChanged', + payload: { + type: 'LoadingResourceState', + // @ts-expect-error-next-line will be fixed with when AsyncResourceState is refactored (#830) + previousState: store.getState().deletion.status, + }, + }); + + await deleteHostIsolationExceptionItems(http, itemToDelete.id); + + dispatch({ + type: 'hostIsolationExceptionsDeleteStatusChanged', + payload: createLoadedResourceState(itemToDelete), + }); + loadHostIsolationExceptionsList(store, http); + } catch (error) { + dispatch({ + type: 'hostIsolationExceptionsDeleteStatusChanged', + payload: createFailedResourceState<ExceptionListItemSchema>(error.body ?? error), + }); + } +} diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/reducer.ts b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/reducer.ts index 1bce76c1bfd06..09182661a80b3 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/reducer.ts +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/reducer.ts @@ -16,6 +16,7 @@ import { HostIsolationExceptionsPageState } from '../types'; import { initialHostIsolationExceptionsPageState } from './builders'; import { MANAGEMENT_ROUTING_HOST_ISOLATION_EXCEPTIONS_PATH } from '../../../common/constants'; import { UserChangedUrl } from '../../../../common/store/routing/action'; +import { createUninitialisedResourceState } from '../../../state'; type StateReducer = ImmutableReducer<HostIsolationExceptionsPageState, AppAction>; type CaseReducer<T extends AppAction> = ( @@ -45,6 +46,23 @@ export const hostIsolationExceptionsPageReducer: StateReducer = ( } case 'userChangedUrl': return userChangedUrl(state, action); + case 'hostIsolationExceptionsMarkToDelete': { + return { + ...state, + deletion: { + item: action.payload, + status: createUninitialisedResourceState(), + }, + }; + } + case 'hostIsolationExceptionsDeleteStatusChanged': + return { + ...state, + deletion: { + ...state.deletion, + status: action.payload, + }, + }; } return state; }; diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/selector.ts b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/selector.ts index 0ddfc0953263c..4462864e90702 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/selector.ts +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/store/selector.ts @@ -20,6 +20,7 @@ import { import { getLastLoadedResourceState, isFailedResourceState, + isLoadedResourceState, isLoadingResourceState, } from '../../../state/async_resource_state'; import { HostIsolationExceptionsPageState } from '../types'; @@ -73,3 +74,37 @@ export const getListFetchError: HostIsolationExceptionsSelector< export const getCurrentLocation: HostIsolationExceptionsSelector<StoreState['location']> = ( state ) => state.location; + +export const getDeletionState: HostIsolationExceptionsSelector<StoreState['deletion']> = + createSelector(getCurrentListPageState, (listState) => listState.deletion); + +export const showDeleteModal: HostIsolationExceptionsSelector<boolean> = createSelector( + getDeletionState, + ({ item }) => { + return Boolean(item); + } +); + +export const getItemToDelete: HostIsolationExceptionsSelector<StoreState['deletion']['item']> = + createSelector(getDeletionState, ({ item }) => item); + +export const isDeletionInProgress: HostIsolationExceptionsSelector<boolean> = createSelector( + getDeletionState, + ({ status }) => { + return isLoadingResourceState(status); + } +); + +export const wasDeletionSuccessful: HostIsolationExceptionsSelector<boolean> = createSelector( + getDeletionState, + ({ status }) => { + return isLoadedResourceState(status); + } +); + +export const getDeleteError: HostIsolationExceptionsSelector<ServerApiError | undefined> = + createSelector(getDeletionState, ({ status }) => { + if (isFailedResourceState(status)) { + return status.error; + } + }); diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/types.ts b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/types.ts index 44f3d2a9df764..443a86fefab83 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/types.ts +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/types.ts @@ -5,7 +5,10 @@ * 2.0. */ -import type { FoundExceptionListItemSchema } from '@kbn/securitysolution-io-ts-list-types'; +import type { + ExceptionListItemSchema, + FoundExceptionListItemSchema, +} from '@kbn/securitysolution-io-ts-list-types'; import { AsyncResourceState } from '../../state/async_resource_state'; export interface HostIsolationExceptionsPageLocation { @@ -20,4 +23,8 @@ export interface HostIsolationExceptionsPageLocation { export interface HostIsolationExceptionsPageState { entries: AsyncResourceState<FoundExceptionListItemSchema>; location: HostIsolationExceptionsPageLocation; + deletion: { + item?: ExceptionListItemSchema; + status: AsyncResourceState<ExceptionListItemSchema>; + }; } diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/delete_modal.test.tsx b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/delete_modal.test.tsx new file mode 100644 index 0000000000000..0b09b4bfa14c4 --- /dev/null +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/delete_modal.test.tsx @@ -0,0 +1,135 @@ +/* + * 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 React from 'react'; +import { act } from '@testing-library/react'; +import { + AppContextTestRender, + createAppRootMockRenderer, +} from '../../../../../common/mock/endpoint'; +import { HostIsolationExceptionDeleteModal } from './delete_modal'; +import { isFailedResourceState, isLoadedResourceState } from '../../../../state'; +import { getHostIsolationExceptionItems, deleteHostIsolationExceptionItems } from '../../service'; +import { getExceptionListItemSchemaMock } from '../../../../../../../lists/common/schemas/response/exception_list_item_schema.mock'; +import { fireEvent } from '@testing-library/dom'; + +jest.mock('../../service'); +const getHostIsolationExceptionItemsMock = getHostIsolationExceptionItems as jest.Mock; +const deleteHostIsolationExceptionItemsMock = deleteHostIsolationExceptionItems as jest.Mock; + +describe('When on the host isolation exceptions delete modal', () => { + let render: () => ReturnType<AppContextTestRender['render']>; + let renderResult: ReturnType<typeof render>; + let waitForAction: AppContextTestRender['middlewareSpy']['waitForAction']; + let coreStart: AppContextTestRender['coreStart']; + + beforeEach(() => { + const itemToDelete = getExceptionListItemSchemaMock(); + getHostIsolationExceptionItemsMock.mockReset(); + deleteHostIsolationExceptionItemsMock.mockReset(); + const mockedContext = createAppRootMockRenderer(); + mockedContext.store.dispatch({ + type: 'hostIsolationExceptionsMarkToDelete', + payload: itemToDelete, + }); + render = () => (renderResult = mockedContext.render(<HostIsolationExceptionDeleteModal />)); + waitForAction = mockedContext.middlewareSpy.waitForAction; + ({ coreStart } = mockedContext); + }); + + it('should render the delete modal with the cancel and submit buttons', () => { + render(); + expect(renderResult.getByTestId('hostIsolationExceptionsDeleteModalCancelButton')).toBeTruthy(); + expect( + renderResult.getByTestId('hostIsolationExceptionsDeleteModalConfirmButton') + ).toBeTruthy(); + }); + + it('should disable the buttons when confirm is pressed and show loading', async () => { + render(); + + const submitButton = renderResult.baseElement.querySelector( + '[data-test-subj="hostIsolationExceptionsDeleteModalConfirmButton"]' + )! as HTMLButtonElement; + + const cancelButton = renderResult.baseElement.querySelector( + '[data-test-subj="hostIsolationExceptionsDeleteModalConfirmButton"]' + )! as HTMLButtonElement; + + act(() => { + fireEvent.click(submitButton); + }); + + expect(submitButton.disabled).toBe(true); + expect(cancelButton.disabled).toBe(true); + expect(submitButton.querySelector('.euiLoadingSpinner')).not.toBeNull(); + }); + + it('should clear the item marked to delete when cancel is pressed', async () => { + render(); + const cancelButton = renderResult.baseElement.querySelector( + '[data-test-subj="hostIsolationExceptionsDeleteModalConfirmButton"]' + )! as HTMLButtonElement; + + const waiter = waitForAction('hostIsolationExceptionsMarkToDelete', { + validate: ({ payload }) => { + return payload === undefined; + }, + }); + + act(() => { + fireEvent.click(cancelButton); + }); + await waiter; + }); + + it('should show success toast after the delete is completed', async () => { + render(); + const updateCompleted = waitForAction('hostIsolationExceptionsDeleteStatusChanged', { + validate(action) { + return isLoadedResourceState(action.payload); + }, + }); + + const submitButton = renderResult.baseElement.querySelector( + '[data-test-subj="hostIsolationExceptionsDeleteModalConfirmButton"]' + )! as HTMLButtonElement; + + await act(async () => { + fireEvent.click(submitButton); + await updateCompleted; + }); + + expect(coreStart.notifications.toasts.addSuccess).toHaveBeenCalledWith( + '"some name" has been removed from the Host Isolation Exceptions list.' + ); + }); + + it('should show error toast if error is encountered', async () => { + deleteHostIsolationExceptionItemsMock.mockRejectedValue( + new Error("That's not true. That's impossible") + ); + render(); + const updateFailure = waitForAction('hostIsolationExceptionsDeleteStatusChanged', { + validate(action) { + return isFailedResourceState(action.payload); + }, + }); + + const submitButton = renderResult.baseElement.querySelector( + '[data-test-subj="hostIsolationExceptionsDeleteModalConfirmButton"]' + )! as HTMLButtonElement; + + await act(async () => { + fireEvent.click(submitButton); + await updateFailure; + }); + + expect(coreStart.notifications.toasts.addDanger).toHaveBeenCalledWith( + 'Unable to remove "some name" from the Host Isolation Exceptions list. Reason: That\'s not true. That\'s impossible' + ); + }); +}); diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/delete_modal.tsx b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/delete_modal.tsx new file mode 100644 index 0000000000000..61b0bb7f930c3 --- /dev/null +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/components/delete_modal.tsx @@ -0,0 +1,141 @@ +/* + * 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 React, { memo, useCallback, useEffect } from 'react'; +import { + EuiButton, + EuiButtonEmpty, + EuiModal, + EuiModalBody, + EuiModalFooter, + EuiModalHeader, + EuiModalHeaderTitle, + EuiText, +} from '@elastic/eui'; +import { FormattedMessage } from '@kbn/i18n/react'; +import { useDispatch } from 'react-redux'; +import { Dispatch } from 'redux'; +import { i18n } from '@kbn/i18n'; +import { useToasts } from '../../../../../common/lib/kibana'; +import { useHostIsolationExceptionsSelector } from '../hooks'; +import { + getDeleteError, + getItemToDelete, + isDeletionInProgress, + wasDeletionSuccessful, +} from '../../store/selector'; +import { HostIsolationExceptionsPageAction } from '../../store/action'; + +export const HostIsolationExceptionDeleteModal = memo<{}>(() => { + const dispatch = useDispatch<Dispatch<HostIsolationExceptionsPageAction>>(); + const toasts = useToasts(); + + const isDeleting = useHostIsolationExceptionsSelector(isDeletionInProgress); + const exception = useHostIsolationExceptionsSelector(getItemToDelete); + const wasDeleted = useHostIsolationExceptionsSelector(wasDeletionSuccessful); + const deleteError = useHostIsolationExceptionsSelector(getDeleteError); + + const onCancel = useCallback(() => { + dispatch({ type: 'hostIsolationExceptionsMarkToDelete', payload: undefined }); + }, [dispatch]); + + const onConfirm = useCallback(() => { + dispatch({ type: 'hostIsolationExceptionsSubmitDelete' }); + }, [dispatch]); + + // Show toast for success + useEffect(() => { + if (wasDeleted) { + toasts.addSuccess( + i18n.translate( + 'xpack.securitySolution.hostIsolationExceptions.deletionDialog.deleteSuccess', + { + defaultMessage: '"{name}" has been removed from the Host Isolation Exceptions list.', + values: { name: exception?.name }, + } + ) + ); + + dispatch({ type: 'hostIsolationExceptionsMarkToDelete', payload: undefined }); + } + }, [dispatch, exception?.name, toasts, wasDeleted]); + + // show toast for failures + useEffect(() => { + if (deleteError) { + toasts.addDanger( + i18n.translate( + 'xpack.securitySolution.hostIsolationExceptions.deletionDialog.deleteFailure', + { + defaultMessage: + 'Unable to remove "{name}" from the Host Isolation Exceptions list. Reason: {message}', + values: { name: exception?.name, message: deleteError.message }, + } + ) + ); + } + }, [deleteError, exception?.name, toasts]); + + return ( + <EuiModal onClose={onCancel}> + <EuiModalHeader data-test-subj="hostIsolationExceptionsDeleteModalHeader"> + <EuiModalHeaderTitle> + <FormattedMessage + id="xpack.securitySolution.hostIsolationExceptions.deletionDialog.title" + defaultMessage="Delete Host Isolation Exception" + /> + </EuiModalHeaderTitle> + </EuiModalHeader> + + <EuiModalBody data-test-subj="hostIsolationExceptionsFilterDeleteModalBody"> + <EuiText> + <p> + <FormattedMessage + id="xpack.securitySolution.hostIsolationExceptions.deletionDialog.subtitle" + defaultMessage='You are deleting exception "{name}".' + values={{ name: <b className="eui-textBreakWord">{exception?.name}</b> }} + /> + </p> + <p> + <FormattedMessage + id="xpack.securitySolution.hostIsolationExceptions.deletionDialog.confirmation" + defaultMessage="This action cannot be undone. Are you sure you wish to continue?" + /> + </p> + </EuiText> + </EuiModalBody> + + <EuiModalFooter> + <EuiButtonEmpty + onClick={onCancel} + isDisabled={isDeleting} + data-test-subj="hostIsolationExceptionsDeleteModalCancelButton" + > + <FormattedMessage + id="xpack.securitySolution.hostIsolationExceptions.deletionDialog.cancel" + defaultMessage="Cancel" + /> + </EuiButtonEmpty> + + <EuiButton + fill + color="danger" + onClick={onConfirm} + isLoading={isDeleting} + data-test-subj="hostIsolationExceptionsDeleteModalConfirmButton" + > + <FormattedMessage + id="xpack.securitySolution.hostIsolationExceptions.deletionDialog.confirmButton" + defaultMessage="Remove exception" + /> + </EuiButton> + </EuiModalFooter> + </EuiModal> + ); +}); + +HostIsolationExceptionDeleteModal.displayName = 'HostIsolationExceptionDeleteModal'; diff --git a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/host_isolation_exceptions_list.tsx b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/host_isolation_exceptions_list.tsx index f6198e4e1aa54..53fb74d5bd8f7 100644 --- a/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/host_isolation_exceptions_list.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/host_isolation_exceptions/view/host_isolation_exceptions_list.tsx @@ -7,12 +7,14 @@ import { ExceptionListItemSchema } from '@kbn/securitysolution-io-ts-list-types'; import { i18n } from '@kbn/i18n'; -import React, { useCallback } from 'react'; +import React, { Dispatch, useCallback } from 'react'; import { EuiSpacer } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; +import { useDispatch } from 'react-redux'; import { ExceptionItem } from '../../../../common/components/exceptions/viewer/exception_item'; import { getCurrentLocation, + getItemToDelete, getListFetchError, getListIsLoading, getListItems, @@ -28,18 +30,29 @@ import { AdministrationListPage } from '../../../components/administration_list_ import { SearchExceptions } from '../../../components/search_exceptions'; import { ArtifactEntryCard, ArtifactEntryCardProps } from '../../../components/artifact_entry_card'; import { HostIsolationExceptionsEmptyState } from './components/empty'; +import { HostIsolationExceptionsPageAction } from '../store/action'; +import { HostIsolationExceptionDeleteModal } from './components/delete_modal'; type HostIsolationExceptionPaginatedContent = PaginatedContentProps< Immutable<ExceptionListItemSchema>, typeof ExceptionItem >; +const DELETE_HOST_ISOLATION_EXCEPTION_LABEL = i18n.translate( + 'xpack.securitySolution.hostIsolationExceptions.list.actions.delete', + { + defaultMessage: 'Delete Exception', + } +); + export const HostIsolationExceptionsList = () => { const listItems = useHostIsolationExceptionsSelector(getListItems); const pagination = useHostIsolationExceptionsSelector(getListPagination); const isLoading = useHostIsolationExceptionsSelector(getListIsLoading); const fetchError = useHostIsolationExceptionsSelector(getListFetchError); const location = useHostIsolationExceptionsSelector(getCurrentLocation); + const dispatch = useDispatch<Dispatch<HostIsolationExceptionsPageAction>>(); + const itemToDelete = useHostIsolationExceptionsSelector(getItemToDelete); const navigateCallback = useHostIsolationExceptionsNavigateCallback(); @@ -53,6 +66,19 @@ export const HostIsolationExceptionsList = () => { const handleItemComponentProps = (element: ExceptionListItemSchema): ArtifactEntryCardProps => ({ item: element, 'data-test-subj': `hostIsolationExceptionsCard`, + actions: [ + { + icon: 'trash', + onClick: () => { + dispatch({ + type: 'hostIsolationExceptionsMarkToDelete', + payload: element, + }); + }, + 'data-test-subj': 'deleteHostIsolationException', + children: DELETE_HOST_ISOLATION_EXCEPTION_LABEL, + }, + ], }); const handlePaginatedContentChange: HostIsolationExceptionPaginatedContent['onChange'] = @@ -87,6 +113,7 @@ export const HostIsolationExceptionsList = () => { )} /> <EuiSpacer size="l" /> + {itemToDelete ? <HostIsolationExceptionDeleteModal /> : null} <PaginatedContent<ExceptionListItemSchema, typeof ArtifactEntryCard> items={listItems} ItemComponent={ArtifactEntryCard} diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/action/policy_trusted_apps_action.ts b/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/action/policy_trusted_apps_action.ts index fc32d42db647d..479452968df7a 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/action/policy_trusted_apps_action.ts +++ b/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/action/policy_trusted_apps_action.ts @@ -40,6 +40,11 @@ export interface PolicyArtifactsAssignableListPageDataFilter { payload: { filter: string }; } +export interface PolicyArtifactsDeosAnyTrustedAppExists { + type: 'policyArtifactsDeosAnyTrustedAppExists'; + payload: AsyncResourceState<boolean>; +} + export interface AssignedTrustedAppsListStateChanged extends Action<'assignedTrustedAppsListStateChanged'> { payload: PolicyArtifactsState['assignedList']; @@ -62,6 +67,7 @@ export type PolicyTrustedAppsAction = | PolicyArtifactsUpdateTrustedAppsChanged | PolicyArtifactsAssignableListExistDataChanged | PolicyArtifactsAssignableListPageDataFilter + | PolicyArtifactsDeosAnyTrustedAppExists | AssignedTrustedAppsListStateChanged | PolicyDetailsListOfAllPoliciesStateChanged | PolicyDetailsTrustedAppsForceListDataRefresh; diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/middleware/policy_trusted_apps_middleware.ts b/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/middleware/policy_trusted_apps_middleware.ts index 32968e4de116f..360fe9fb99b8d 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/middleware/policy_trusted_apps_middleware.ts +++ b/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/middleware/policy_trusted_apps_middleware.ts @@ -26,6 +26,7 @@ import { getCurrentArtifactsLocation, isOnPolicyTrustedAppsView, getCurrentUrlLocationPaginationParams, + getDoesAnyTrustedAppExistsIsLoading, } from '../selectors'; import { ImmutableArray, @@ -131,6 +132,38 @@ const checkIfThereAreAssignableTrustedApps = async ( } }; +const checkIfAnyTrustedApp = async ( + store: ImmutableMiddlewareAPI<PolicyDetailsState, PolicyDetailsAction>, + trustedAppsService: TrustedAppsService +) => { + const state = store.getState(); + if (getDoesAnyTrustedAppExistsIsLoading(state)) { + return; + } + store.dispatch({ + type: 'policyArtifactsDeosAnyTrustedAppExists', + // Ignore will be fixed with when AsyncResourceState is refactored (#830) + // @ts-ignore + payload: createLoadingResourceState({ previousState: createUninitialisedResourceState() }), + }); + try { + const trustedApps = await trustedAppsService.getTrustedAppsList({ + page: 1, + per_page: 100, + }); + + store.dispatch({ + type: 'policyArtifactsDeosAnyTrustedAppExists', + payload: createLoadedResourceState(!isEmpty(trustedApps.data)), + }); + } catch (err) { + store.dispatch({ + type: 'policyArtifactsDeosAnyTrustedAppExists', + payload: createFailedResourceState<boolean>(err.body ?? err), + }); + } +}; + const searchTrustedApps = async ( store: ImmutableMiddlewareAPI<PolicyDetailsState, PolicyDetailsAction>, trustedAppsService: TrustedAppsService, @@ -285,6 +318,9 @@ const fetchPolicyTrustedAppsIfNeeded = async ( artifacts: fetchResponse, }), }); + if (!fetchResponse.total) { + await checkIfAnyTrustedApp({ getState, dispatch }, trustedAppsService); + } } catch (error) { dispatch({ type: 'assignedTrustedAppsListStateChanged', diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/reducer/initial_policy_details_state.ts b/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/reducer/initial_policy_details_state.ts index 3c279e696ee51..2ad7ac9c06dac 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/reducer/initial_policy_details_state.ts +++ b/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/reducer/initial_policy_details_state.ts @@ -37,6 +37,7 @@ export const initialPolicyDetailsState: () => Immutable<PolicyDetailsState> = () assignableList: createUninitialisedResourceState(), trustedAppsToUpdate: createUninitialisedResourceState(), assignableListEntriesExist: createUninitialisedResourceState(), + doesAnyTrustedAppExists: createUninitialisedResourceState(), assignedList: createUninitialisedResourceState(), policies: createUninitialisedResourceState(), }, diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/reducer/trusted_apps_reducer.ts b/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/reducer/trusted_apps_reducer.ts index fdf15f0d67825..fbf498797e804 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/reducer/trusted_apps_reducer.ts +++ b/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/reducer/trusted_apps_reducer.ts @@ -61,6 +61,15 @@ export const policyTrustedAppsReducer: ImmutableReducer<PolicyDetailsState, AppA }; } + if (action.type === 'policyArtifactsDeosAnyTrustedAppExists') { + return { + ...state, + artifacts: { + ...state?.artifacts, + doesAnyTrustedAppExists: action.payload, + }, + }; + } if (action.type === 'assignedTrustedAppsListStateChanged') { return { ...state, diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/selectors/trusted_apps_selectors.ts b/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/selectors/trusted_apps_selectors.ts index b168ec18107c2..84f0f4a2c63b8 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/selectors/trusted_apps_selectors.ts +++ b/x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/selectors/trusted_apps_selectors.ts @@ -7,6 +7,7 @@ import { createSelector } from 'reselect'; import { Pagination } from '@elastic/eui'; +import { isEmpty } from 'lodash/fp'; import { PolicyArtifactsState, PolicyAssignedTrustedApps, @@ -34,10 +35,11 @@ import { getCurrentArtifactsLocation } from './policy_common_selectors'; export const doesPolicyHaveTrustedApps = ( state: PolicyDetailsState ): { loading: boolean; hasTrustedApps: boolean } => { - // TODO: implement empty state (task #1645) return { - loading: false, - hasTrustedApps: true, + loading: isLoadingResourceState(state.artifacts.assignedList), + hasTrustedApps: isLoadedResourceState(state.artifacts.assignedList) + ? !isEmpty(state.artifacts.assignedList.data.artifacts.data) + : false, }; }; @@ -105,6 +107,24 @@ export const getUpdateArtifacts = ( : undefined; }; +/** + * Returns does any TA exists + */ +export const getDoesTrustedAppExists = (state: Immutable<PolicyDetailsState>): boolean => { + return ( + isLoadedResourceState(state.artifacts.doesAnyTrustedAppExists) && + state.artifacts.doesAnyTrustedAppExists.data + ); +}; + +/** + * Returns does any TA exists loading + */ +export const doesTrustedAppExistsLoading = (state: Immutable<PolicyDetailsState>): boolean => { + return isLoadingResourceState(state.artifacts.doesAnyTrustedAppExists); +}; + +/** Returns a boolean of whether the user is on the policy details page or not */ export const getCurrentPolicyAssignedTrustedAppsState: PolicyDetailsSelector< PolicyArtifactsState['assignedList'] > = (state) => { @@ -181,3 +201,14 @@ export const getTrustedAppsAllPoliciesById: PolicyDetailsSelector< return mapById; }, {}) as Immutable<Record<string, Immutable<PolicyData>>>; }); + +export const getDoesAnyTrustedAppExists: PolicyDetailsSelector< + PolicyDetailsState['artifacts']['doesAnyTrustedAppExists'] +> = (state) => state.artifacts.doesAnyTrustedAppExists; + +export const getDoesAnyTrustedAppExistsIsLoading: PolicyDetailsSelector<boolean> = createSelector( + getDoesAnyTrustedAppExists, + (doesAnyTrustedAppExists) => { + return isLoadingResourceState(doesAnyTrustedAppExists); + } +); diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/types.ts b/x-pack/plugins/security_solution/public/management/pages/policy/types.ts index 87f3243211c89..7f8bf9c3872ea 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/types.ts +++ b/x-pack/plugins/security_solution/public/management/pages/policy/types.ts @@ -90,6 +90,8 @@ export interface PolicyArtifactsState { assignableListEntriesExist: AsyncResourceState<boolean>; /** A list of trusted apps going to be updated */ trustedAppsToUpdate: AsyncResourceState<PostTrustedAppCreateResponse[]>; + /** Represents if there is any trusted app existing */ + doesAnyTrustedAppExists: AsyncResourceState<boolean>; /** List of artifacts currently assigned to the policy (body specific and global) */ assignedList: AsyncResourceState<PolicyAssignedTrustedApps>; /** A list of all available polices */ diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_hooks.ts b/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_hooks.ts index e62458c9ce47e..82296730af686 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_hooks.ts +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/policy_hooks.ts @@ -87,11 +87,11 @@ export const usePolicyTrustedAppsNotification = () => { ), }); } else if (updateFailed) { - toasts.addSuccess( + toasts.addDanger( i18n.translate( 'xpack.securitySolution.endpoint.policy.trustedApps.layout.flyout.toastError.text', { - defaultMessage: 'An error occurred updating artifacts', + defaultMessage: `An error occurred updating artifacts`, } ) ); diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/tabs/policy_tabs.tsx b/x-pack/plugins/security_solution/public/management/pages/policy/view/tabs/policy_tabs.tsx index da37590dcb9aa..9d28f3c8f52de 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/view/tabs/policy_tabs.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/tabs/policy_tabs.tsx @@ -57,15 +57,17 @@ export const PolicyTabs = React.memo(() => { [] ); - const getInitialSelectedTab = () => { + const currentSelectedTab = useMemo(() => { let initialTab = tabs[0]; - if (isInSettingsTab) initialTab = tabs[0]; - else if (isInTrustedAppsTab) initialTab = tabs[1]; - else initialTab = tabs[0]; + if (isInSettingsTab) { + initialTab = tabs[0]; + } else if (isInTrustedAppsTab) { + initialTab = tabs[1]; + } return initialTab; - }; + }, [isInSettingsTab, isInTrustedAppsTab, tabs]); const onTabClickHandler = useCallback( (selectedTab: EuiTabbedContentTab) => { @@ -81,8 +83,7 @@ export const PolicyTabs = React.memo(() => { return ( <EuiTabbedContent tabs={tabs} - initialSelectedTab={getInitialSelectedTab()} - autoFocus="selected" + selectedTab={currentSelectedTab} size="l" onTabClick={onTabClickHandler} /> diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/empty/index.ts b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/empty/index.ts new file mode 100644 index 0000000000000..aa9048426c495 --- /dev/null +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/empty/index.ts @@ -0,0 +1,9 @@ +/* + * 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. + */ + +export { PolicyTrustedAppsEmptyUnassigned } from './policy_trusted_apps_empty_unassigned'; +export { PolicyTrustedAppsEmptyUnexisting } from './policy_trusted_apps_empty_unexisting'; diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/empty/policy_trusted_apps_empty_unassigned.tsx b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/empty/policy_trusted_apps_empty_unassigned.tsx new file mode 100644 index 0000000000000..0ccdf9bcb388d --- /dev/null +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/empty/policy_trusted_apps_empty_unassigned.tsx @@ -0,0 +1,69 @@ +/* + * 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 React, { memo, useCallback } from 'react'; +import { EuiEmptyPrompt, EuiButton, EuiPageTemplate, EuiLink } from '@elastic/eui'; +import { FormattedMessage } from '@kbn/i18n/react'; +import { usePolicyDetailsNavigateCallback } from '../../policy_hooks'; +import { useGetLinkTo } from './use_policy_trusted_apps_empty_hooks'; + +interface CommonProps { + policyId: string; + policyName: string; +} + +export const PolicyTrustedAppsEmptyUnassigned = memo<CommonProps>(({ policyId, policyName }) => { + const navigateCallback = usePolicyDetailsNavigateCallback(); + const { onClickHandler, toRouteUrl } = useGetLinkTo(policyId, policyName); + const onClickPrimaryButtonHandler = useCallback( + () => + navigateCallback({ + show: 'list', + }), + [navigateCallback] + ); + return ( + <EuiPageTemplate template="centeredContent"> + <EuiEmptyPrompt + iconType="plusInCircle" + data-test-subj="policy-trusted-apps-empty-unassigned" + title={ + <h2> + <FormattedMessage + id="xpack.securitySolution.endpoint.policy.trustedApps.empty.unassigned.title" + defaultMessage="No assigned trusted applications" + /> + </h2> + } + body={ + <FormattedMessage + id="xpack.securitySolution.endpoint.policy.trustedApps.empty.unassigned.content" + defaultMessage="There are currently no trusted applications assigned to {policyName}. Assign trusted applications now or add and manage them on the trusted applications page." + values={{ policyName }} + /> + } + actions={[ + <EuiButton color="primary" fill onClick={onClickPrimaryButtonHandler}> + <FormattedMessage + id="xpack.securitySolution.endpoint.policy.trustedApps.empty.unassigned.primaryAction" + defaultMessage="Assign trusted applications" + /> + </EuiButton>, + // eslint-disable-next-line @elastic/eui/href-or-on-click + <EuiLink onClick={onClickHandler} href={toRouteUrl}> + <FormattedMessage + id="xpack.securitySolution.endpoint.policy.trustedApps.empty.unassigned.secondaryAction" + defaultMessage="Manage trusted applications" + /> + </EuiLink>, + ]} + /> + </EuiPageTemplate> + ); +}); + +PolicyTrustedAppsEmptyUnassigned.displayName = 'PolicyTrustedAppsEmptyUnassigned'; diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/empty/policy_trusted_apps_empty_unexisting.tsx b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/empty/policy_trusted_apps_empty_unexisting.tsx new file mode 100644 index 0000000000000..24bb9d8b6a150 --- /dev/null +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/empty/policy_trusted_apps_empty_unexisting.tsx @@ -0,0 +1,53 @@ +/* + * 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 React, { memo } from 'react'; +import { EuiEmptyPrompt, EuiButton, EuiPageTemplate } from '@elastic/eui'; +import { FormattedMessage } from '@kbn/i18n/react'; +import { useGetLinkTo } from './use_policy_trusted_apps_empty_hooks'; + +interface CommonProps { + policyId: string; + policyName: string; +} + +export const PolicyTrustedAppsEmptyUnexisting = memo<CommonProps>(({ policyId, policyName }) => { + const { onClickHandler, toRouteUrl } = useGetLinkTo(policyId, policyName); + return ( + <EuiPageTemplate template="centeredContent"> + <EuiEmptyPrompt + iconType="plusInCircle" + data-test-subj="policy-trusted-apps-empty-unexisting" + title={ + <h2> + <FormattedMessage + id="xpack.securitySolution.endpoint.policy.trustedApps.empty.unexisting.title" + defaultMessage="No trusted applications exist" + /> + </h2> + } + body={ + <FormattedMessage + id="xpack.securitySolution.endpoint.policy.trustedApps.empty.unexisting.content" + defaultMessage="There are currently no trusted applications applied to your endpoints." + /> + } + actions={ + // eslint-disable-next-line @elastic/eui/href-or-on-click + <EuiButton color="primary" fill onClick={onClickHandler} href={toRouteUrl}> + <FormattedMessage + id="xpack.securitySolution.endpoint.policy.trustedApps.empty.unexisting.action" + defaultMessage="Add trusted application" + /> + </EuiButton> + } + /> + </EuiPageTemplate> + ); +}); + +PolicyTrustedAppsEmptyUnexisting.displayName = 'PolicyTrustedAppsEmptyUnexisting'; diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/empty/use_policy_trusted_apps_empty_hooks.ts b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/empty/use_policy_trusted_apps_empty_hooks.ts new file mode 100644 index 0000000000000..3a64197e50464 --- /dev/null +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/empty/use_policy_trusted_apps_empty_hooks.ts @@ -0,0 +1,59 @@ +/* + * 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 { useMemo } from 'react'; +import { i18n } from '@kbn/i18n'; +import { useNavigateToAppEventHandler } from '../../../../../../common/hooks/endpoint/use_navigate_to_app_event_handler'; +import { useAppUrl } from '../../../../../../common/lib/kibana/hooks'; +import { getPolicyTrustedAppsPath, getTrustedAppsListPath } from '../../../../../common/routing'; +import { APP_ID } from '../../../../../../../common/constants'; + +export const useGetLinkTo = (policyId: string, policyName: string) => { + const { getAppUrl } = useAppUrl(); + const { toRoutePath, toRouteUrl } = useMemo(() => { + const path = getTrustedAppsListPath(); + return { + toRoutePath: path, + toRouteUrl: getAppUrl({ path }), + }; + }, [getAppUrl]); + + const policyTrustedAppsPath = useMemo(() => getPolicyTrustedAppsPath(policyId), [policyId]); + const policyTrustedAppRouteState = useMemo(() => { + return { + backButtonLabel: i18n.translate( + 'xpack.securitySolution.endpoint.policy.trustedApps.empty.unassigned.backButtonLabel', + { + defaultMessage: 'Back to {policyName} policy', + values: { + policyName, + }, + } + ), + onBackButtonNavigateTo: [ + APP_ID, + { + path: policyTrustedAppsPath, + }, + ], + backButtonUrl: getAppUrl({ + appId: APP_ID, + path: policyTrustedAppsPath, + }), + }; + }, [getAppUrl, policyName, policyTrustedAppsPath]); + + const onClickHandler = useNavigateToAppEventHandler(APP_ID, { + state: policyTrustedAppRouteState, + path: toRoutePath, + }); + + return { + onClickHandler, + toRouteUrl, + }; +}; diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/layout/policy_trusted_apps_layout.test.tsx b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/layout/policy_trusted_apps_layout.test.tsx new file mode 100644 index 0000000000000..5d5d36d41aaf8 --- /dev/null +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/layout/policy_trusted_apps_layout.test.tsx @@ -0,0 +1,109 @@ +/* + * 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 React from 'react'; +import { PolicyTrustedAppsLayout } from './policy_trusted_apps_layout'; +import * as reactTestingLibrary from '@testing-library/react'; +import { + AppContextTestRender, + createAppRootMockRenderer, +} from '../../../../../../common/mock/endpoint'; +import { MiddlewareActionSpyHelper } from '../../../../../../common/store/test_utils'; + +import { TrustedAppsHttpService } from '../../../../trusted_apps/service'; +import { getMockListResponse } from '../../../test_utils'; +import { createLoadedResourceState, isLoadedResourceState } from '../../../../../state'; +import { getPolicyDetailsArtifactsListPath } from '../../../../../common/routing'; +import { EndpointDocGenerator } from '../../../../../../../common/endpoint/generate_data'; +import { policyListApiPathHandlers } from '../../../store/test_mock_utils'; + +jest.mock('../../../../trusted_apps/service'); + +let mockedContext: AppContextTestRender; +let waitForAction: MiddlewareActionSpyHelper['waitForAction']; +let render: () => ReturnType<AppContextTestRender['render']>; +const TrustedAppsHttpServiceMock = TrustedAppsHttpService as jest.Mock; +let coreStart: AppContextTestRender['coreStart']; +let http: typeof coreStart.http; +const generator = new EndpointDocGenerator(); + +describe('Policy trusted apps layout', () => { + beforeEach(() => { + mockedContext = createAppRootMockRenderer(); + http = mockedContext.coreStart.http; + const policyListApiHandlers = policyListApiPathHandlers(); + http.get.mockImplementation((...args) => { + const [path] = args; + if (typeof path === 'string') { + // GET datasouce + if (path === '/api/fleet/package_policies/1234') { + return Promise.resolve({ + item: generator.generatePolicyPackagePolicy(), + success: true, + }); + } + + // Get package data + // Used in tests that route back to the list + if (policyListApiHandlers[path]) { + return Promise.resolve(policyListApiHandlers[path]()); + } + } + + return Promise.reject(new Error(`unknown API call (not MOCKED): ${path}`)); + }); + TrustedAppsHttpServiceMock.mockImplementation(() => { + return { + getTrustedAppsList: () => ({ data: [] }), + }; + }); + + waitForAction = mockedContext.middlewareSpy.waitForAction; + render = () => mockedContext.render(<PolicyTrustedAppsLayout />); + }); + + afterEach(() => reactTestingLibrary.cleanup()); + + it('should renders layout with no existing TA data', async () => { + const component = render(); + + mockedContext.history.push(getPolicyDetailsArtifactsListPath('1234')); + + await waitForAction('policyArtifactsDeosAnyTrustedAppExists', { + validate: (action) => isLoadedResourceState(action.payload), + }); + + expect(component.getByTestId('policy-trusted-apps-empty-unexisting')).not.toBeNull(); + }); + + it('should renders layout with no assigned TA data', async () => { + const component = render(); + mockedContext.history.push(getPolicyDetailsArtifactsListPath('1234')); + + await waitForAction('assignedTrustedAppsListStateChanged'); + + mockedContext.store.dispatch({ + type: 'policyArtifactsDeosAnyTrustedAppExists', + payload: createLoadedResourceState(true), + }); + + expect(component.getByTestId('policy-trusted-apps-empty-unassigned')).not.toBeNull(); + }); + + it('should renders layout with data', async () => { + TrustedAppsHttpServiceMock.mockImplementation(() => { + return { + getTrustedAppsList: () => getMockListResponse(), + }; + }); + const component = render(); + mockedContext.history.push(getPolicyDetailsArtifactsListPath('1234')); + + await waitForAction('assignedTrustedAppsListStateChanged'); + + expect(component.getByTestId('policyDetailsTrustedAppsCount')).not.toBeNull(); + }); +}); diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/layout/policy_trusted_apps_layout.tsx b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/layout/policy_trusted_apps_layout.tsx index d2a0c0867c717..64e40e330ad2b 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/layout/policy_trusted_apps_layout.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/layout/policy_trusted_apps_layout.tsx @@ -14,14 +14,25 @@ import { EuiPageHeaderSection, EuiPageContent, } from '@elastic/eui'; -import { getCurrentArtifactsLocation } from '../../../store/policy_details/selectors'; +import { PolicyTrustedAppsEmptyUnassigned, PolicyTrustedAppsEmptyUnexisting } from '../empty'; +import { + getCurrentArtifactsLocation, + getDoesTrustedAppExists, + policyDetails, + doesPolicyHaveTrustedApps, + doesTrustedAppExistsLoading, +} from '../../../store/policy_details/selectors'; import { usePolicyDetailsNavigateCallback, usePolicyDetailsSelector } from '../../policy_hooks'; import { PolicyTrustedAppsFlyout } from '../flyout'; import { PolicyTrustedAppsList } from '../list/policy_trusted_apps_list'; export const PolicyTrustedAppsLayout = React.memo(() => { const location = usePolicyDetailsSelector(getCurrentArtifactsLocation); + const doesTrustedAppExists = usePolicyDetailsSelector(getDoesTrustedAppExists); + const isDoesTrustedAppExistsLoading = usePolicyDetailsSelector(doesTrustedAppExistsLoading); + const policyItem = usePolicyDetailsSelector(policyDetails); const navigateCallback = usePolicyDetailsNavigateCallback(); + const hasAssignedTrustedApps = usePolicyDetailsSelector(doesPolicyHaveTrustedApps); const showListFlyout = location.show === 'list'; @@ -47,20 +58,39 @@ export const PolicyTrustedAppsLayout = React.memo(() => { [navigateCallback] ); - return ( + const displaysEmptyState = useMemo( + () => + !isDoesTrustedAppExistsLoading && + !hasAssignedTrustedApps.loading && + !hasAssignedTrustedApps.hasTrustedApps, + [ + hasAssignedTrustedApps.hasTrustedApps, + hasAssignedTrustedApps.loading, + isDoesTrustedAppExistsLoading, + ] + ); + + const displaysEmptyStateIsLoading = useMemo( + () => isDoesTrustedAppExistsLoading || hasAssignedTrustedApps.loading, + [hasAssignedTrustedApps.loading, isDoesTrustedAppExistsLoading] + ); + + return policyItem ? ( <div> - <EuiPageHeader alignItems="center"> - <EuiPageHeaderSection> - <EuiTitle size="m"> - <h2> - {i18n.translate('xpack.securitySolution.endpoint.policy.trustedApps.layout.title', { - defaultMessage: 'Assigned trusted applications', - })} - </h2> - </EuiTitle> - </EuiPageHeaderSection> - <EuiPageHeaderSection>{assignTrustedAppButton}</EuiPageHeaderSection> - </EuiPageHeader> + {!displaysEmptyStateIsLoading && !displaysEmptyState ? ( + <EuiPageHeader alignItems="center"> + <EuiPageHeaderSection> + <EuiTitle size="m"> + <h2> + {i18n.translate('xpack.securitySolution.endpoint.policy.trustedApps.layout.title', { + defaultMessage: 'Assigned trusted applications', + })} + </h2> + </EuiTitle> + </EuiPageHeaderSection> + <EuiPageHeaderSection>{assignTrustedAppButton}</EuiPageHeaderSection> + </EuiPageHeader> + ) : null} <EuiPageContent hasBorder={false} hasShadow={false} @@ -68,11 +98,25 @@ export const PolicyTrustedAppsLayout = React.memo(() => { color="transparent" borderRadius="none" > - <PolicyTrustedAppsList /> + {displaysEmptyState ? ( + doesTrustedAppExists ? ( + <PolicyTrustedAppsEmptyUnassigned + policyId={policyItem.id} + policyName={policyItem.name} + /> + ) : ( + <PolicyTrustedAppsEmptyUnexisting + policyId={policyItem.id} + policyName={policyItem.name} + /> + ) + ) : ( + <PolicyTrustedAppsList /> + )} </EuiPageContent> {showListFlyout ? <PolicyTrustedAppsFlyout /> : null} </div> - ); + ) : null; }); PolicyTrustedAppsLayout.displayName = 'PolicyTrustedAppsLayout'; diff --git a/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/list/policy_trusted_apps_list.tsx b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/list/policy_trusted_apps_list.tsx index 4463a395043a4..333820b5d81b4 100644 --- a/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/list/policy_trusted_apps_list.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/policy/view/trusted_apps/list/policy_trusted_apps_list.tsx @@ -6,7 +6,7 @@ */ import React, { memo, useCallback, useEffect, useMemo, useState } from 'react'; -import { EuiLoadingSpinner, EuiSpacer, EuiText, Pagination } from '@elastic/eui'; +import { EuiLoadingSpinner, EuiSpacer, EuiText, Pagination, EuiPageTemplate } from '@elastic/eui'; import { useHistory } from 'react-router-dom'; import { i18n } from '@kbn/i18n'; import { @@ -23,6 +23,7 @@ import { getTrustedAppsAllPoliciesById, isPolicyTrustedAppListLoading, policyIdFromParams, + doesTrustedAppExistsLoading, } from '../../../store/policy_details/selectors'; import { getPolicyDetailPath, @@ -41,6 +42,7 @@ export const PolicyTrustedAppsList = memo(() => { const policyId = usePolicyDetailsSelector(policyIdFromParams); const hasTrustedApps = usePolicyDetailsSelector(doesPolicyHaveTrustedApps); const isLoading = usePolicyDetailsSelector(isPolicyTrustedAppListLoading); + const isTrustedAppExistsCheckLoading = usePolicyDetailsSelector(doesTrustedAppExistsLoading); const trustedAppItems = usePolicyDetailsSelector(getPolicyTrustedAppList); const pagination = usePolicyDetailsSelector(getPolicyTrustedAppsListPagination); const urlParams = usePolicyDetailsSelector(getCurrentArtifactsLocation); @@ -156,19 +158,14 @@ export const PolicyTrustedAppsList = memo(() => { setCardExpanded({}); }, [trustedAppItems]); - if (hasTrustedApps.loading) { + if (hasTrustedApps.loading || isTrustedAppExistsCheckLoading) { return ( - <div> + <EuiPageTemplate template="centeredContent"> <EuiLoadingSpinner className="essentialAnimation" size="xl" /> - </div> + </EuiPageTemplate> ); } - if (!hasTrustedApps.hasTrustedApps) { - // TODO: implement empty state (task #1645) - return <div>{'No trusted application'}</div>; - } - return ( <> <EuiText color="subdued" size="xs" data-test-subj="policyDetailsTrustedAppsCount"> diff --git a/x-pack/plugins/security_solution/public/overview/components/overview_empty/index.test.tsx b/x-pack/plugins/security_solution/public/overview/components/overview_empty/index.test.tsx index 2d21ec9565476..5fa2725f9ee6f 100644 --- a/x-pack/plugins/security_solution/public/overview/components/overview_empty/index.test.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/overview_empty/index.test.tsx @@ -41,30 +41,17 @@ describe('OverviewEmpty', () => { (useUserPrivileges as jest.Mock).mockReset(); }); - test('render with correct actions ', () => { - expect(wrapper.find('[data-test-subj="empty-page"]').prop('actions')).toEqual({ - beats: { - description: - 'Lightweight Beats can send data from hundreds or thousands of machines and systems', - fill: false, - label: 'Add data with Beats', - url: '/app/home#/tutorial_directory/security', - }, - elasticAgent: { - description: - 'The Elastic Agent provides a simple, unified way to add monitoring to your hosts.', - fill: false, - label: 'Add data with Elastic Agent', - url: 'ingestUrl', - }, - endpoint: { - description: - 'Protect your hosts with threat prevention, detection, and deep security data visibility.', - fill: false, - label: 'Add Endpoint Security', - onClick: undefined, - url: `/integrations/endpoint-${endpointPackageVersion}/add-integration`, + it('render with correct actions ', () => { + expect(wrapper.find('[data-test-subj="empty-page"]').prop('noDataConfig')).toEqual({ + actions: { + elasticAgent: { + description: + 'Use Elastic Agent to collect security events and protect your endpoints from threats. Manage your agents in Fleet and add integrations with a single click.', + href: '/app/integrations/browse/security', + }, }, + docsLink: 'https://www.elastic.co/guide/en/security/mocked-test-branch/index.html', + solution: 'Security', }); }); }); @@ -78,15 +65,15 @@ describe('OverviewEmpty', () => { wrapper = shallow(<OverviewEmpty />); }); - test('render with correct actions ', () => { - expect(wrapper.find('[data-test-subj="empty-page"]').prop('actions')).toEqual({ - beats: { - description: - 'Lightweight Beats can send data from hundreds or thousands of machines and systems', - fill: false, - label: 'Add data with Beats', - url: '/app/home#/tutorial_directory/security', + it('render with correct actions ', () => { + expect(wrapper.find('[data-test-subj="empty-page"]').prop('noDataConfig')).toEqual({ + actions: { + beats: { + href: '/app/home#/tutorial_directory/security', + }, }, + docsLink: 'https://www.elastic.co/guide/en/security/mocked-test-branch/index.html', + solution: 'Security', }); }); }); diff --git a/x-pack/plugins/security_solution/public/overview/components/overview_empty/index.tsx b/x-pack/plugins/security_solution/public/overview/components/overview_empty/index.tsx index 6f885b348cdeb..bc76333943191 100644 --- a/x-pack/plugins/security_solution/public/overview/components/overview_empty/index.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/overview_empty/index.tsx @@ -6,105 +6,57 @@ */ import React, { useMemo } from 'react'; -import { omit } from 'lodash/fp'; -import { createStructuredSelector } from 'reselect'; - -import { FormattedMessage } from '@kbn/i18n/react'; -import { EuiLink } from '@elastic/eui'; -import * as i18nCommon from '../../../common/translations'; -import { EmptyPage, EmptyPageActionsProps } from '../../../common/components/empty_page'; +import { i18n } from '@kbn/i18n'; import { useKibana } from '../../../common/lib/kibana'; import { ADD_DATA_PATH } from '../../../../common/constants'; -import { - useEndpointSelector, - useIngestUrl, -} from '../../../management/pages/endpoint_hosts/view/hooks'; -import { useNavigateToAppEventHandler } from '../../../common/hooks/endpoint/use_navigate_to_app_event_handler'; -import { CreateStructuredSelector } from '../../../common/store'; -import { endpointPackageVersion as useEndpointPackageVersion } from '../../../management/pages/endpoint_hosts/store/selectors'; +import { pagePathGetters } from '../../../../../fleet/public'; +import { SOLUTION_NAME } from '../../../../public/common/translations'; import { useUserPrivileges } from '../../../common/components/user_privileges'; +import { + KibanaPageTemplate, + NoDataPageActionsProps, +} from '../../../../../../../src/plugins/kibana_react/public'; + const OverviewEmptyComponent: React.FC = () => { const { http, docLinks } = useKibana().services; const basePath = http.basePath.get(); - const selector = (createStructuredSelector as CreateStructuredSelector)({ - endpointPackageVersion: useEndpointPackageVersion, - }); - const { endpointPackageVersion } = useEndpointSelector(selector); - const { url: ingestUrl } = useIngestUrl(''); - - const endpointIntegrationUrlPath = endpointPackageVersion - ? `/endpoint-${endpointPackageVersion}/add-integration` - : ''; - const endpointIntegrationUrl = `/integrations${endpointIntegrationUrlPath}`; - const handleEndpointClick = useNavigateToAppEventHandler('fleet', { - path: endpointIntegrationUrl, - }); const canAccessFleet = useUserPrivileges().endpointPrivileges.canAccessFleet; + const integrationsPathComponents = pagePathGetters.integrations_all({ category: 'security' }); - const emptyPageActions: EmptyPageActionsProps = useMemo( + const agentAction: NoDataPageActionsProps = useMemo( () => ({ elasticAgent: { - label: i18nCommon.EMPTY_ACTION_ELASTIC_AGENT, - url: ingestUrl, - description: i18nCommon.EMPTY_ACTION_ELASTIC_AGENT_DESCRIPTION, - fill: false, - }, - beats: { - label: i18nCommon.EMPTY_ACTION_BEATS, - url: `${basePath}${ADD_DATA_PATH}`, - description: i18nCommon.EMPTY_ACTION_BEATS_DESCRIPTION, - fill: false, - }, - endpoint: { - label: i18nCommon.EMPTY_ACTION_ENDPOINT, - url: endpointIntegrationUrl, - description: i18nCommon.EMPTY_ACTION_ENDPOINT_DESCRIPTION, - onClick: handleEndpointClick, - fill: false, + href: `${basePath}${integrationsPathComponents[0]}${integrationsPathComponents[1]}`, + description: i18n.translate( + 'xpack.securitySolution.pages.emptyPage.beatsCard.description', + { + defaultMessage: + 'Use Elastic Agent to collect security events and protect your endpoints from threats. Manage your agents in Fleet and add integrations with a single click.', + } + ), }, }), - [basePath, ingestUrl, endpointIntegrationUrl, handleEndpointClick] + [basePath, integrationsPathComponents] ); - const emptyPageIngestDisabledActions = useMemo( - () => omit(['elasticAgent', 'endpoint'], emptyPageActions), - [emptyPageActions] + const beatsAction: NoDataPageActionsProps = useMemo( + () => ({ + beats: { + href: `${basePath}${ADD_DATA_PATH}`, + }, + }), + [basePath] ); - return canAccessFleet === true ? ( - <EmptyPage - actions={emptyPageActions} - data-test-subj="empty-page" - message={ - <> - <FormattedMessage - id="xpack.securitySolution.emptyMessage" - defaultMessage="Elastic Security integrates the free and open Elastic SIEM with Endpoint Security to prevent, detect, and respond to threats. To begin, you’ll need to add security solution related data to the Elastic Stack. For additional information, you can view our " - /> - <EuiLink href={docLinks.links.siem.gettingStarted} target="_blank"> - {i18nCommon.EMPTY_ACTION_SECONDARY} - </EuiLink> - </> - } - title={i18nCommon.EMPTY_TITLE} - /> - ) : ( - <EmptyPage - actions={emptyPageIngestDisabledActions} + return ( + <KibanaPageTemplate data-test-subj="empty-page" - message={ - <> - <FormattedMessage - id="xpack.securitySolution.emptyMessage" - defaultMessage="Elastic Security integrates the free and open Elastic SIEM with Endpoint Security to prevent, detect, and respond to threats. To begin, you’ll need to add security solution related data to the Elastic Stack. For additional information, you can view our " - /> - <EuiLink href={docLinks.links.siem.gettingStarted} target="_blank"> - {i18nCommon.EMPTY_ACTION_SECONDARY} - </EuiLink> - </> - } - title={i18nCommon.EMPTY_TITLE} + noDataConfig={{ + solution: SOLUTION_NAME, + actions: canAccessFleet ? agentAction : beatsAction, + docsLink: docLinks.links.siem.gettingStarted, + }} /> ); }; diff --git a/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/index.test.tsx b/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/index.test.tsx index 0fd7184e0c55a..aecd702077d43 100644 --- a/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/index.test.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/index.test.tsx @@ -11,7 +11,6 @@ import { cloneDeep } from 'lodash/fp'; import { render, screen } from '@testing-library/react'; import { I18nProvider } from '@kbn/i18n/react'; import { ThemeProvider } from 'styled-components'; -import { useRiskyHostLinks } from '../../containers/overview_risky_host_links/use_risky_host_links'; import { mockTheme } from '../overview_cti_links/mock'; import { RiskyHostLinks } from '.'; import { createStore, State } from '../../../common/store'; @@ -23,11 +22,12 @@ import { } from '../../../common/mock'; import { useRiskyHostsDashboardButtonHref } from '../../containers/overview_risky_host_links/use_risky_hosts_dashboard_button_href'; import { useRiskyHostsDashboardLinks } from '../../containers/overview_risky_host_links/use_risky_hosts_dashboard_links'; +import { useHostsRiskScore } from '../../containers/overview_risky_host_links/use_hosts_risk_score'; jest.mock('../../../common/lib/kibana'); -jest.mock('../../containers/overview_risky_host_links/use_risky_host_links'); -const useRiskyHostLinksMock = useRiskyHostLinks as jest.Mock; +jest.mock('../../containers/overview_risky_host_links/use_hosts_risk_score'); +const useHostsRiskScoreMock = useHostsRiskScore as jest.Mock; jest.mock('../../containers/overview_risky_host_links/use_risky_hosts_dashboard_button_href'); const useRiskyHostsDashboardButtonHrefMock = useRiskyHostsDashboardButtonHref as jest.Mock; @@ -51,10 +51,10 @@ describe('RiskyHostLinks', () => { }); it('renders enabled module view if module is enabled', () => { - useRiskyHostLinksMock.mockReturnValueOnce({ + useHostsRiskScoreMock.mockReturnValueOnce({ loading: false, isModuleEnabled: true, - listItems: [], + result: [], }); render( @@ -62,10 +62,10 @@ describe('RiskyHostLinks', () => { <I18nProvider> <ThemeProvider theme={mockTheme}> <RiskyHostLinks - to={'now'} - from={'now-30d'} - deleteQuery={jest.fn()} - setQuery={jest.fn()} + timerange={{ + to: 'now', + from: 'now-30d', + }} /> </ThemeProvider> </I18nProvider> @@ -76,10 +76,10 @@ describe('RiskyHostLinks', () => { }); it('renders disabled module view if module is disabled', () => { - useRiskyHostLinksMock.mockReturnValueOnce({ + useHostsRiskScoreMock.mockReturnValueOnce({ loading: false, isModuleEnabled: false, - listItems: [], + result: [], }); render( @@ -87,10 +87,10 @@ describe('RiskyHostLinks', () => { <I18nProvider> <ThemeProvider theme={mockTheme}> <RiskyHostLinks - to={'now'} - from={'now-30d'} - deleteQuery={jest.fn()} - setQuery={jest.fn()} + timerange={{ + to: 'now', + from: 'now-30d', + }} /> </ThemeProvider> </I18nProvider> diff --git a/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/index.tsx b/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/index.tsx index 895037170c447..57bcff45a6348 100644 --- a/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/index.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/index.tsx @@ -7,18 +7,25 @@ import React from 'react'; -import { GlobalTimeArgs } from '../../../common/containers/use_global_time'; -import { useRiskyHostLinks } from '../../containers/overview_risky_host_links/use_risky_host_links'; import { RiskyHostsEnabledModule } from './risky_hosts_enabled_module'; import { RiskyHostsDisabledModule } from './risky_hosts_disabled_module'; -export type RiskyHostLinksProps = Pick<GlobalTimeArgs, 'from' | 'to' | 'deleteQuery' | 'setQuery'>; +import { useHostsRiskScore } from '../../containers/overview_risky_host_links/use_hosts_risk_score'; +export interface RiskyHostLinksProps { + timerange: { to: string; from: string }; +} -const RiskyHostLinksComponent: React.FC<RiskyHostLinksProps> = (props) => { - const { listItems, isModuleEnabled } = useRiskyHostLinks(props); +const RiskyHostLinksComponent: React.FC<RiskyHostLinksProps> = ({ timerange }) => { + const hostRiskScore = useHostsRiskScore({ timerange }); - switch (isModuleEnabled) { + switch (hostRiskScore?.isModuleEnabled) { case true: - return <RiskyHostsEnabledModule to={props.to} from={props.from} listItems={listItems} />; + return ( + <RiskyHostsEnabledModule + to={timerange.to} + from={timerange.from} + hostRiskScore={hostRiskScore} + /> + ); case false: return <RiskyHostsDisabledModule />; case undefined: diff --git a/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/risky_hosts_disabled_module.tsx b/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/risky_hosts_disabled_module.tsx index 7d8436bd9dd25..ae1a5f7b02847 100644 --- a/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/risky_hosts_disabled_module.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/risky_hosts_disabled_module.tsx @@ -12,7 +12,7 @@ import { DisabledLinkPanel } from '../link_panel/disabled_link_panel'; import { RiskyHostsPanelView } from './risky_hosts_panel_view'; import { RiskyHostsEnabledModule } from './risky_hosts_enabled_module'; -const RISKY_HOSTS_DOC_LINK = +export const RISKY_HOSTS_DOC_LINK = 'https://www.github.com/elastic/detection-rules/blob/main/docs/experimental-machine-learning/host-risk-score.md'; export const RiskyHostsDisabledModuleComponent = () => ( diff --git a/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/risky_hosts_enabled_module.test.tsx b/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/risky_hosts_enabled_module.test.tsx index f751abdfb3ab8..0126f115bec88 100644 --- a/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/risky_hosts_enabled_module.test.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/risky_hosts_enabled_module.test.tsx @@ -52,7 +52,19 @@ describe('RiskyHostsEnabledModule', () => { <I18nProvider> <ThemeProvider theme={mockTheme}> <RiskyHostsEnabledModule - listItems={[{ title: 'a', count: 1, path: '' }]} + hostRiskScore={{ + loading: false, + isModuleEnabled: true, + result: [ + { + host: { + name: 'a', + }, + risk_score: 1, + risk: '', + }, + ], + }} to={'now'} from={'now-30d'} /> diff --git a/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/risky_hosts_enabled_module.tsx b/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/risky_hosts_enabled_module.tsx index f26e0c7fb4338..4db6f67acb265 100644 --- a/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/risky_hosts_enabled_module.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/risky_hosts_enabled_module.tsx @@ -5,17 +5,32 @@ * 2.0. */ -import React from 'react'; +import React, { useMemo } from 'react'; import { RiskyHostsPanelView } from './risky_hosts_panel_view'; import { LinkPanelListItem } from '../link_panel'; import { useRiskyHostsDashboardButtonHref } from '../../containers/overview_risky_host_links/use_risky_hosts_dashboard_button_href'; import { useRiskyHostsDashboardLinks } from '../../containers/overview_risky_host_links/use_risky_hosts_dashboard_links'; +import { HostRisk } from '../../containers/overview_risky_host_links/use_hosts_risk_score'; +import { HostsRiskScore } from '../../../../common'; + +const getListItemsFromHits = (items: HostsRiskScore[]): LinkPanelListItem[] => { + return items.map(({ host, risk_score: count, risk: copy }) => ({ + title: host.name, + count, + copy, + path: '', + })); +}; const RiskyHostsEnabledModuleComponent: React.FC<{ from: string; - listItems: LinkPanelListItem[]; + hostRiskScore: HostRisk; to: string; -}> = ({ listItems, to, from }) => { +}> = ({ hostRiskScore, to, from }) => { + const listItems = useMemo( + () => getListItemsFromHits(hostRiskScore?.result || []), + [hostRiskScore] + ); const { buttonHref } = useRiskyHostsDashboardButtonHref(to, from); const { listItemsWithLinks } = useRiskyHostsDashboardLinks(to, from, listItems); diff --git a/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/risky_hosts_panel_view.tsx b/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/risky_hosts_panel_view.tsx index e227e66a7d4f0..84864902f75d3 100644 --- a/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/risky_hosts_panel_view.tsx +++ b/x-pack/plugins/security_solution/public/overview/components/overview_risky_host_links/risky_hosts_panel_view.tsx @@ -14,7 +14,7 @@ import { LinkPanelViewProps } from '../link_panel/types'; import { Link } from '../link_panel/link'; import * as i18n from './translations'; import { VIEW_DASHBOARD } from '../overview_cti_links/translations'; -import { QUERY_ID as RiskyHostsQueryId } from '../../containers/overview_risky_host_links/use_risky_host_links'; +import { QUERY_ID as RiskyHostsQueryId } from '../../containers/overview_risky_host_links/use_hosts_risk_score'; import { NavigateToHost } from './navigate_to_host'; const columns: Array<EuiTableFieldDataColumnType<LinkPanelListItem>> = [ diff --git a/x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_risky_host_links.ts b/x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_hosts_risk_score.ts similarity index 53% rename from x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_risky_host_links.ts rename to x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_hosts_risk_score.ts index 7df091cbbd463..75cf51194ab65 100644 --- a/x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_risky_host_links.ts +++ b/x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_hosts_risk_score.ts @@ -9,61 +9,61 @@ import { i18n } from '@kbn/i18n'; import { useCallback, useEffect, useState } from 'react'; import { useDispatch } from 'react-redux'; -import { useRiskyHostsComplete } from './use_risky_hosts'; import { useAppToasts } from '../../../common/hooks/use_app_toasts'; import { useKibana } from '../../../common/lib/kibana'; import { inputsActions } from '../../../common/store/actions'; -import { LinkPanelListItem } from '../../components/link_panel'; -import { RISKY_HOSTS_INDEX } from '../../../../common/constants'; + +import { HOST_RISK_SCORES_INDEX } from '../../../../common/constants'; import { isIndexNotFoundError } from '../../../common/utils/exceptions'; +import { HostsRiskScore } from '../../../../common'; +import { useHostsRiskScoreComplete } from './use_hosts_risk_score_complete'; +import { useIsExperimentalFeatureEnabled } from '../../../common/hooks/use_experimental_features'; -export const QUERY_ID = 'risky_hosts'; +export const QUERY_ID = 'host_risk_score'; const noop = () => {}; -export interface RiskyHost { - host: { - name: string; - }; - risk_score: number; - risk: string; -} - const isRecord = (item: unknown): item is Record<string, unknown> => typeof item === 'object' && !!item; -const isRiskyHostHit = (item: unknown): item is RiskyHost => +const isHostsRiskScoreHit = (item: unknown): item is HostsRiskScore => isRecord(item) && isRecord(item.host) && typeof item.host.name === 'string' && typeof item.risk_score === 'number' && typeof item.risk === 'string'; -const getListItemsFromHits = (items: RiskyHost[]): LinkPanelListItem[] => { - return items.map(({ host, risk_score: count, risk: copy }) => ({ - title: host.name, - count, - copy, - path: '', - })); -}; +export interface HostRisk { + loading: boolean; + isModuleEnabled?: boolean; + result?: HostsRiskScore[]; +} -export const useRiskyHostLinks = ({ to, from }: { to: string; from: string }) => { +export const useHostsRiskScore = ({ + timerange, + hostName, +}: { + timerange?: { to: string; from: string }; + hostName?: string; +}): HostRisk | null => { + const riskyHostsFeatureEnabled = useIsExperimentalFeatureEnabled('riskyHostsEnabled'); const [isModuleEnabled, setIsModuleEnabled] = useState<boolean | undefined>(undefined); + const [loading, setLoading] = useState<boolean>(riskyHostsFeatureEnabled); const { addError } = useAppToasts(); const { data } = useKibana().services; const dispatch = useDispatch(); - const { error, loading, result, start } = useRiskyHostsComplete(); + const { error, result, start, loading: isHostsRiskScoreLoading } = useHostsRiskScoreComplete(); const deleteQuery = useCallback(() => { dispatch(inputsActions.deleteOneQuery({ inputId: 'global', id: QUERY_ID })); }, [dispatch]); useEffect(() => { - if (!loading && result) { + if (!isHostsRiskScoreLoading && result) { setIsModuleEnabled(true); + setLoading(false); dispatch( inputsActions.setQuery({ inputId: 'global', @@ -72,43 +72,51 @@ export const useRiskyHostLinks = ({ to, from }: { to: string; from: string }) => dsl: result.inspect?.dsl ?? [], response: [JSON.stringify(result.rawResponse, null, 2)], }, - loading, + loading: isHostsRiskScoreLoading, refetch: noop, }) ); } return deleteQuery; - }, [deleteQuery, dispatch, loading, result, setIsModuleEnabled]); + }, [deleteQuery, dispatch, isHostsRiskScoreLoading, result, setIsModuleEnabled]); useEffect(() => { if (error) { if (isIndexNotFoundError(error)) { setIsModuleEnabled(false); + setLoading(false); } else { addError(error, { - title: i18n.translate('xpack.securitySolution.overview.riskyHostsError', { - defaultMessage: 'Error Fetching Risky Hosts', + title: i18n.translate('xpack.securitySolution.overview.hostsRiskError', { + defaultMessage: 'Error Fetching Hosts Risk', }), }); + setLoading(false); setIsModuleEnabled(true); } } }, [addError, error, setIsModuleEnabled]); useEffect(() => { - start({ - data, - timerange: { to, from, interval: '' }, - defaultIndex: [RISKY_HOSTS_INDEX], - filterQuery: '', - }); - }, [start, data, to, from]); + if (riskyHostsFeatureEnabled && (hostName || timerange)) { + start({ + data, + timerange: timerange ? { to: timerange.to, from: timerange.from, interval: '' } : undefined, + hostName, + defaultIndex: [HOST_RISK_SCORES_INDEX], + }); + } + }, [start, data, timerange, hostName, riskyHostsFeatureEnabled]); + + if ((!hostName && !timerange) || !riskyHostsFeatureEnabled) { + return null; + } + + const hits = result?.rawResponse?.hits?.hits; return { - listItems: isRiskyHostHit(result?.rawResponse?.hits?.hits?.[0]?._source) - ? getListItemsFromHits( - result?.rawResponse?.hits?.hits?.map((hit) => hit._source) as RiskyHost[] - ) + result: isHostsRiskScoreHit(hits?.[0]?._source) + ? (hits?.map((hit) => hit._source) as HostsRiskScore[]) : [], isModuleEnabled, loading, diff --git a/x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_risky_hosts.ts b/x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_hosts_risk_score_complete.ts similarity index 55% rename from x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_risky_hosts.ts rename to x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_hosts_risk_score_complete.ts index baf7606e8e238..22e3b58692120 100644 --- a/x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_risky_hosts.ts +++ b/x-pack/plugins/security_solution/public/overview/containers/overview_risky_host_links/use_hosts_risk_score_complete.ts @@ -15,28 +15,28 @@ import { } from '../../../../../../../src/plugins/data/public'; import { HostsQueries, - HostsRiskyHostsRequestOptions, - HostsRiskyHostsStrategyResponse, + HostsRiskScoreRequestOptions, + HostsRiskScoreStrategyResponse, } from '../../../../common'; -type GetRiskyHostsProps = HostsRiskyHostsRequestOptions & { +type GetHostsRiskScoreProps = HostsRiskScoreRequestOptions & { data: DataPublicPluginStart; signal: AbortSignal; }; -export const getRiskyHosts = ({ +export const getHostsRiskScore = ({ data, defaultIndex, - filterQuery, timerange, + hostName, signal, -}: GetRiskyHostsProps): Observable<HostsRiskyHostsStrategyResponse> => - data.search.search<HostsRiskyHostsRequestOptions, HostsRiskyHostsStrategyResponse>( +}: GetHostsRiskScoreProps): Observable<HostsRiskScoreStrategyResponse> => + data.search.search<HostsRiskScoreRequestOptions, HostsRiskScoreStrategyResponse>( { defaultIndex, - factoryQueryType: HostsQueries.riskyHosts, - filterQuery, + factoryQueryType: HostsQueries.hostsRiskScore, timerange, + hostName, }, { strategy: 'securitySolutionSearchStrategy', @@ -44,16 +44,16 @@ export const getRiskyHosts = ({ } ); -export const getRiskyHostsComplete = ( - props: GetRiskyHostsProps -): Observable<HostsRiskyHostsStrategyResponse> => { - return getRiskyHosts(props).pipe( +export const getHostsRiskScoreComplete = ( + props: GetHostsRiskScoreProps +): Observable<HostsRiskScoreStrategyResponse> => { + return getHostsRiskScore(props).pipe( filter((response) => { return isErrorResponse(response) || isCompleteResponse(response); }) ); }; -const getRiskyHostsWithOptionalSignal = withOptionalSignal(getRiskyHostsComplete); +const getHostsRiskScoreWithOptionalSignal = withOptionalSignal(getHostsRiskScoreComplete); -export const useRiskyHostsComplete = () => useObservable(getRiskyHostsWithOptionalSignal); +export const useHostsRiskScoreComplete = () => useObservable(getHostsRiskScoreWithOptionalSignal); diff --git a/x-pack/plugins/security_solution/public/overview/pages/overview.test.tsx b/x-pack/plugins/security_solution/public/overview/pages/overview.test.tsx index aadedda5d6233..cab02450f8886 100644 --- a/x-pack/plugins/security_solution/public/overview/pages/overview.test.tsx +++ b/x-pack/plugins/security_solution/public/overview/pages/overview.test.tsx @@ -31,8 +31,8 @@ import { } from '../components/overview_cti_links/mock'; import { useCtiDashboardLinks } from '../containers/overview_cti_links'; import { EndpointPrivileges } from '../../common/components/user_privileges/use_endpoint_privileges'; -import { useRiskyHostLinks } from '../containers/overview_risky_host_links/use_risky_host_links'; import { useIsExperimentalFeatureEnabled } from '../../common/hooks/use_experimental_features'; +import { useHostsRiskScore } from '../containers/overview_risky_host_links/use_hosts_risk_score'; jest.mock('../../common/lib/kibana'); jest.mock('../../common/containers/source'); @@ -86,9 +86,9 @@ jest.mock('../containers/overview_cti_links/use_is_threat_intel_module_enabled') const useIsThreatIntelModuleEnabledMock = useIsThreatIntelModuleEnabled as jest.Mock; useIsThreatIntelModuleEnabledMock.mockReturnValue(true); -jest.mock('../containers/overview_risky_host_links/use_risky_host_links'); -const useRiskyHostLinksMock = useRiskyHostLinks as jest.Mock; -useRiskyHostLinksMock.mockReturnValue({ +jest.mock('../containers/overview_risky_host_links/use_hosts_risk_score'); +const useHostsRiskScoreMock = useHostsRiskScore as jest.Mock; +useHostsRiskScoreMock.mockReturnValue({ loading: false, isModuleEnabled: false, listItems: [], @@ -299,29 +299,6 @@ describe('Overview', () => { ); expect(wrapper.find('[data-test-subj="empty-page"]').exists()).toBe(true); }); - - it('does not show Endpoint get ready button when ingest is not enabled', () => { - const wrapper = mount( - <TestProviders> - <MemoryRouter> - <Overview /> - </MemoryRouter> - </TestProviders> - ); - expect(wrapper.find('[data-test-subj="empty-page-endpoint-action"]').exists()).toBe(false); - }); - - it('shows Endpoint get ready button when ingest is enabled', () => { - mockUseUserPrivileges.mockReturnValue(loadedUserPrivilegesState({ canAccessFleet: true })); - const wrapper = mount( - <TestProviders> - <MemoryRouter> - <Overview /> - </MemoryRouter> - </TestProviders> - ); - expect(wrapper.find('[data-test-subj="empty-page-endpoint-action"]').exists()).toBe(true); - }); }); }); diff --git a/x-pack/plugins/security_solution/public/overview/pages/overview.tsx b/x-pack/plugins/security_solution/public/overview/pages/overview.tsx index 93c0bac5a88d7..10fa4e4c4e925 100644 --- a/x-pack/plugins/security_solution/public/overview/pages/overview.tsx +++ b/x-pack/plugins/security_solution/public/overview/pages/overview.tsx @@ -164,10 +164,10 @@ const OverviewComponent = () => { <EuiFlexItem grow={1}> {riskyHostsEnabled && ( <RiskyHostLinks - deleteQuery={deleteQuery} - from={from} - setQuery={setQuery} - to={to} + timerange={{ + from, + to, + }} /> )} </EuiFlexItem> diff --git a/x-pack/plugins/security_solution/public/overview/pages/translations.ts b/x-pack/plugins/security_solution/public/overview/pages/translations.ts index f2d90bf8bf370..cf5254a7e3137 100644 --- a/x-pack/plugins/security_solution/public/overview/pages/translations.ts +++ b/x-pack/plugins/security_solution/public/overview/pages/translations.ts @@ -18,10 +18,6 @@ export const NEWS_FEED_TITLE = i18n.translate( } ); -export const PAGE_TITLE = i18n.translate('xpack.securitySolution.overview.pageTitle', { - defaultMessage: 'Security', -}); - export const PAGE_SUBTITLE = i18n.translate('xpack.securitySolution.overview.pageSubtitle', { defaultMessage: 'Security Information & Event Management with the Elastic Stack', }); diff --git a/x-pack/plugins/security_solution/public/plugin.tsx b/x-pack/plugins/security_solution/public/plugin.tsx index cd65808f28bce..fe746d2e8e8d8 100644 --- a/x-pack/plugins/security_solution/public/plugin.tsx +++ b/x-pack/plugins/security_solution/public/plugin.tsx @@ -33,6 +33,7 @@ import { import { Storage } from '../../../../src/plugins/kibana_utils/public'; import { initTelemetry } from './common/lib/telemetry'; import { KibanaServices } from './common/lib/kibana/services'; +import { SOLUTION_NAME } from './common/translations'; import { APP_ID, @@ -104,7 +105,7 @@ export class Plugin implements IPlugin<PluginSetup, PluginStart, SetupPlugins, S if (plugins.home) { plugins.home.featureCatalogue.registerSolution({ id: APP_ID, - title: APP_NAME, + title: SOLUTION_NAME, description: i18n.translate('xpack.securitySolution.featureCatalogueDescription', { defaultMessage: 'Prevent, collect, detect, and respond to threats for unified protection across your infrastructure.', @@ -134,7 +135,7 @@ export class Plugin implements IPlugin<PluginSetup, PluginStart, SetupPlugins, S core.application.register({ id: APP_ID, - title: APP_NAME, + title: SOLUTION_NAME, appRoute: APP_PATH, category: DEFAULT_APP_CATEGORIES.security, navLinkStatus: AppNavLinkStatus.hidden, @@ -433,7 +434,3 @@ export class Plugin implements IPlugin<PluginSetup, PluginStart, SetupPlugins, S return this._store; } } - -const APP_NAME = i18n.translate('xpack.securitySolution.security.title', { - defaultMessage: 'Security', -}); diff --git a/x-pack/plugins/security_solution/public/timelines/components/open_timeline/helpers.test.ts b/x-pack/plugins/security_solution/public/timelines/components/open_timeline/helpers.test.ts index 69b63e83186e3..5d52d2c8a4d48 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/open_timeline/helpers.test.ts +++ b/x-pack/plugins/security_solution/public/timelines/components/open_timeline/helpers.test.ts @@ -939,17 +939,46 @@ describe('helpers', () => { }); describe('queryTimelineById', () => { + describe('encounters failure when retrieving a timeline', () => { + const onError = jest.fn(); + const mockError = new Error('failed'); + + const args = { + timelineId: '123', + onError, + updateIsLoading: jest.fn(), + updateTimeline: jest.fn(), + }; + + beforeAll(async () => { + (getTimeline as jest.Mock).mockRejectedValue(mockError); + queryTimelineById<{}>(args as unknown as QueryTimelineById<{}>); + }); + + afterAll(() => { + jest.clearAllMocks(); + }); + + test('calls onError with the error', () => { + expect(onError).toHaveBeenCalledWith(mockError, '123'); + }); + }); + describe('open a timeline', () => { - const updateIsLoading = jest.fn(); const selectedTimeline = { ...mockSelectedTimeline, }; + + const updateIsLoading = jest.fn(); const onOpenTimeline = jest.fn(); + const onError = jest.fn(); + const args = { duplicate: false, graphEventId: '', timelineId: '', timelineType: TimelineType.default, + onError, onOpenTimeline, openTimeline: true, updateIsLoading, @@ -976,6 +1005,10 @@ describe('helpers', () => { expect(getTimeline).toHaveBeenCalled(); }); + test('it does not call onError when an error does not occur', () => { + expect(onError).not.toHaveBeenCalled(); + }); + test('Do not override daterange if TimelineStatus is active', () => { const { timeline } = formatTimelineResultToModel( omitTypenameInTimeline(getOr({}, 'data.getOneTimeline', selectedTimeline)), diff --git a/x-pack/plugins/security_solution/public/timelines/components/open_timeline/helpers.ts b/x-pack/plugins/security_solution/public/timelines/components/open_timeline/helpers.ts index c72aa5878478d..2a3b49517b456 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/open_timeline/helpers.ts +++ b/x-pack/plugins/security_solution/public/timelines/components/open_timeline/helpers.ts @@ -50,7 +50,12 @@ import { DEFAULT_COLUMN_MIN_WIDTH, } from '../timeline/body/constants'; -import { OpenTimelineResult, UpdateTimeline, DispatchUpdateTimeline } from './types'; +import { + OpenTimelineResult, + UpdateTimeline, + DispatchUpdateTimeline, + TimelineErrorCallback, +} from './types'; import { createNote } from '../notes/helpers'; import { IS_OPERATOR } from '../timeline/data_providers/data_provider'; import { normalizeTimeRange } from '../../../common/components/url_state/normalize_time_range'; @@ -313,6 +318,7 @@ export interface QueryTimelineById<TCache> { graphEventId?: string; timelineId: string; timelineType?: TimelineType; + onError?: TimelineErrorCallback; onOpenTimeline?: (timeline: TimelineModel) => void; openTimeline?: boolean; updateIsLoading: ({ @@ -331,6 +337,7 @@ export const queryTimelineById = <TCache>({ graphEventId = '', timelineId, timelineType, + onError, onOpenTimeline, openTimeline = true, updateIsLoading, @@ -372,6 +379,11 @@ export const queryTimelineById = <TCache>({ })(); } }) + .catch((error) => { + if (onError != null) { + onError(error, timelineId); + } + }) .finally(() => { updateIsLoading({ id: TimelineId.active, isLoading: false }); }); diff --git a/x-pack/plugins/security_solution/public/timelines/components/open_timeline/search_row/index.tsx b/x-pack/plugins/security_solution/public/timelines/components/open_timeline/search_row/index.tsx index d1f95496bb70c..15f97b72855fc 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/open_timeline/search_row/index.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/open_timeline/search_row/index.tsx @@ -62,6 +62,7 @@ export const SearchRow = React.memo<Props>( ? i18n.SEARCH_PLACEHOLDER : i18n.SEARCH_TEMPLATE_PLACEHOLDER, incremental: false, + 'data-test-subj': 'search-bar', }), [timelineType] ); @@ -70,7 +71,7 @@ export const SearchRow = React.memo<Props>( <SearchRowContainer> <SearchRowFlexGroup gutterSize="s"> <EuiFlexItem> - <EuiSearchBar data-test-subj="search-bar" box={searchBox} onChange={onQueryChange} /> + <EuiSearchBar box={searchBox} onChange={onQueryChange} /> </EuiFlexItem> <EuiFlexItem grow={false}> diff --git a/x-pack/plugins/security_solution/public/timelines/components/open_timeline/types.ts b/x-pack/plugins/security_solution/public/timelines/components/open_timeline/types.ts index cddf4e8d71d60..79a700856c00f 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/open_timeline/types.ts +++ b/x-pack/plugins/security_solution/public/timelines/components/open_timeline/types.ts @@ -235,3 +235,5 @@ export interface TemplateTimelineFilter { withNext: boolean; count: number | undefined; } + +export type TimelineErrorCallback = (error: Error, timelineId: string) => void; diff --git a/x-pack/plugins/security_solution/public/timelines/components/open_timeline/use_timeline_status.tsx b/x-pack/plugins/security_solution/public/timelines/components/open_timeline/use_timeline_status.tsx index 060212d0972de..097919d7e6f08 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/open_timeline/use_timeline_status.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/open_timeline/use_timeline_status.tsx @@ -97,6 +97,7 @@ export const useTimelineStatus = ({ onClick={onFilterClicked.bind(null, tab.id)} withNext={tab.withNext} isDisabled={tab.disabled} + data-test-subj={tab.name} > {tab.name} </EuiFilterButton> diff --git a/x-pack/plugins/security_solution/public/timelines/components/side_panel/__snapshots__/index.test.tsx.snap b/x-pack/plugins/security_solution/public/timelines/components/side_panel/__snapshots__/index.test.tsx.snap index b2a8a439220c0..137d8d78bcdaa 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/side_panel/__snapshots__/index.test.tsx.snap +++ b/x-pack/plugins/security_solution/public/timelines/components/side_panel/__snapshots__/index.test.tsx.snap @@ -435,6 +435,7 @@ exports[`Details Panel Component DetailsPanel:EventDetails: rendering it should "indexName": "my-index", } } + hostRisk={null} isAlert={false} isDraggable={false} loading={true} @@ -954,6 +955,7 @@ Array [ "indexName": "my-index", } } + hostRisk={null} isAlert={false} isDraggable={false} loading={true} @@ -1990,6 +1992,7 @@ Array [ "indexName": "my-index", } } + hostRisk={null} isAlert={false} isDraggable={false} loading={true} diff --git a/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/expandable_event.tsx b/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/expandable_event.tsx index b3d7b869c0699..53382fe8fa21d 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/expandable_event.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/expandable_event.tsx @@ -22,6 +22,7 @@ import { BrowserFields } from '../../../../common/containers/source'; import { EventDetails } from '../../../../common/components/event_details/event_details'; import { TimelineEventsDetailsItem } from '../../../../../common/search_strategy/timeline'; import * as i18n from './translations'; +import { HostRisk } from '../../../../overview/containers/overview_risky_host_links/use_hosts_risk_score'; export type HandleOnEventClosed = () => void; interface Props { @@ -34,6 +35,7 @@ interface Props { messageHeight?: number; timelineTabType: TimelineTabs | 'flyout'; timelineId: string; + hostRisk: HostRisk | null; } interface ExpandableEventTitleProps { @@ -90,6 +92,7 @@ export const ExpandableEvent = React.memo<Props>( isDraggable, loading, detailsData, + hostRisk, }) => { if (!event.eventId) { return <EuiTextColor color="subdued">{i18n.EVENT_DETAILS_PLACEHOLDER}</EuiTextColor>; @@ -110,6 +113,7 @@ export const ExpandableEvent = React.memo<Props>( isDraggable={isDraggable} timelineId={timelineId} timelineTabType={timelineTabType} + hostRisk={hostRisk} /> </StyledEuiFlexItem> </StyledFlexGroup> diff --git a/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/index.tsx b/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/index.tsx index ba58e8a084067..f8786e0706834 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/index.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/side_panel/event_details/index.tsx @@ -34,6 +34,7 @@ import { TimelineNonEcsData } from '../../../../../common'; import { Ecs } from '../../../../../common/ecs'; import { EventDetailsFooter } from './footer'; import { EntityType } from '../../../../../../timelines/common'; +import { useHostsRiskScore } from '../../../../overview/containers/overview_risky_host_links/use_hosts_risk_score'; const StyledEuiFlyoutBody = styled(EuiFlyoutBody)` .euiFlyoutBody__overflow { @@ -124,6 +125,10 @@ const EventDetailsPanelComponent: React.FC<EventDetailsPanelProps> = ({ [detailsData] ); + const hostRisk = useHostsRiskScore({ + hostName, + }); + const backToAlertDetailsLink = useMemo(() => { return ( <> @@ -192,6 +197,7 @@ const EventDetailsPanelComponent: React.FC<EventDetailsPanelProps> = ({ loading={loading} timelineId={timelineId} timelineTabType="flyout" + hostRisk={hostRisk} /> )} </StyledEuiFlyoutBody> @@ -224,6 +230,7 @@ const EventDetailsPanelComponent: React.FC<EventDetailsPanelProps> = ({ loading={loading} timelineId={timelineId} timelineTabType={tabType} + hostRisk={hostRisk} /> </> ); diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/column_headers/header/index.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/column_headers/header/index.tsx index 60a241a340d99..18b407a035708 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/column_headers/header/index.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/column_headers/header/index.tsx @@ -8,6 +8,7 @@ import { noop } from 'lodash/fp'; import React, { useCallback, useMemo } from 'react'; import { useDispatch } from 'react-redux'; +import { isDataViewFieldSubtypeNested } from '@kbn/es-query'; import { ColumnHeaderOptions } from '../../../../../../../common'; import { @@ -86,7 +87,7 @@ export const HeaderComponent: React.FC<Props> = ({ const { isLoading } = useDeepEqualSelector( (state) => getManageTimeline(state, timelineId) || { isLoading: false } ); - const showSortingCapability = !isEqlOn && !(header.subType && header.subType.nested); + const showSortingCapability = !isEqlOn && !isDataViewFieldSubtypeNested(header); return ( <> diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.test.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.test.tsx index 678fd9d7a3cf5..8383da6bf28a4 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.test.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.test.tsx @@ -290,7 +290,7 @@ describe('Combined Queries', () => { type: 'exists', value: 'exists', }, - exists: { field: 'host.name' }, + query: { exists: { field: 'host.name' } }, } as Filter, ], kqlQuery: { query: '', language: 'kuery' }, @@ -515,8 +515,10 @@ describe('Combined Queries', () => { key: 'nestedField.firstAttributes', value: 'exists', }, - exists: { - field: 'nestedField.firstAttributes', + query: { + exists: { + field: 'nestedField.firstAttributes', + }, }, $state: { store: esFilters.FilterStateStore.APP_STATE, diff --git a/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts b/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts index 1b1434e3e8a3e..d45ba26c0e12a 100644 --- a/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts +++ b/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts @@ -126,7 +126,7 @@ describe('Epic Timeline', () => { type: 'exists', value: 'exists', }, - exists: { field: '@timestamp' }, + query: { exists: { field: '@timestamp' } }, } as Filter, ], indexNames: [], @@ -264,13 +264,12 @@ describe('Epic Timeline', () => { type: 'phrase', value: null, }, - missing: null, query: '{"match_phrase":{"event.category":"file"}}', range: null, script: null, }, { - exists: '{"field":"@timestamp"}', + query: '{"exists":{"field":"@timestamp"}}', match_all: null, meta: { alias: null, @@ -282,8 +281,6 @@ describe('Epic Timeline', () => { type: 'exists', value: 'exists', }, - missing: null, - query: null, range: null, script: null, }, diff --git a/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts b/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts index c1f107a004da3..9d95036cb6076 100644 --- a/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts +++ b/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts @@ -392,27 +392,28 @@ export const convertTimelineAsInput = ( }, ...(esFilters.isMatchAllFilter(basicFilter) ? { - match_all: convertToString((basicFilter as MatchAllFilter).match_all), + query: { + match_all: convertToString( + (basicFilter as MatchAllFilter).query.match_all + ), + }, } : { match_all: null }), - ...(esFilters.isMissingFilter(basicFilter) && basicFilter.missing != null - ? { missing: convertToString(basicFilter.missing) } - : { missing: null }), - ...(esFilters.isExistsFilter(basicFilter) && basicFilter.exists != null - ? { exists: convertToString(basicFilter.exists) } + ...(esFilters.isExistsFilter(basicFilter) && basicFilter.query.exists != null + ? { query: { exists: convertToString(basicFilter.query.exists) } } : { exists: null }), ...((esFilters.isQueryStringFilter(basicFilter) || get('query', basicFilter) != null) && basicFilter.query != null ? { query: convertToString(basicFilter.query) } : { query: null }), - ...(esFilters.isRangeFilter(basicFilter) && basicFilter.range != null - ? { range: convertToString(basicFilter.range) } + ...(esFilters.isRangeFilter(basicFilter) && basicFilter.query.range != null + ? { query: { range: convertToString(basicFilter.query.range) } } : { range: null }), ...(isScriptedRangeFilter(basicFilter) && - basicFilter.script != + basicFilter.query.script != null /* TODO remove it when PR50713 is merged || esFilters.isPhraseFilter(basicFilter) */ - ? { script: convertToString(basicFilter.script) } + ? { query: { script: convertToString(basicFilter.query.script) } } : { script: null }), }; }) diff --git a/x-pack/plugins/security_solution/scripts/endpoint/host_isolation_exceptions/index.ts b/x-pack/plugins/security_solution/scripts/endpoint/host_isolation_exceptions/index.ts new file mode 100644 index 0000000000000..b9b70c4c1da19 --- /dev/null +++ b/x-pack/plugins/security_solution/scripts/endpoint/host_isolation_exceptions/index.ts @@ -0,0 +1,111 @@ +/* + * 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 { run, RunFn, createFailError } from '@kbn/dev-utils'; +import { KbnClient } from '@kbn/test'; +import { AxiosError } from 'axios'; +import bluebird from 'bluebird'; +import type { CreateExceptionListSchema } from '@kbn/securitysolution-io-ts-list-types'; +import { + ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_DESCRIPTION, + ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_ID, + ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_NAME, + EXCEPTION_LIST_ITEM_URL, + EXCEPTION_LIST_URL, +} from '@kbn/securitysolution-list-constants'; +import { HostIsolationExceptionGenerator } from '../../../common/endpoint/data_generators/host_isolation_exception_generator'; + +export const cli = () => { + run( + async (options) => { + try { + await createHostIsolationException(options); + options.log.success(`${options.flags.count} endpoint host isolation exceptions`); + } catch (e) { + options.log.error(e); + throw createFailError(e.message); + } + }, + { + description: 'Load Host Isolation Exceptions', + flags: { + string: ['kibana'], + default: { + count: 10, + kibana: 'http://elastic:changeme@localhost:5601', + }, + help: ` + --count Number of host isolation exceptions to create. Default: 10 + --kibana The URL to kibana including credentials. Default: http://elastic:changeme@localhost:5601 + `, + }, + } + ); +}; + +class EventFilterDataLoaderError extends Error { + constructor(message: string, public readonly meta: unknown) { + super(message); + } +} + +const handleThrowAxiosHttpError = (err: AxiosError): never => { + let message = err.message; + + if (err.response) { + message = `[${err.response.status}] ${err.response.data.message ?? err.message} [ ${String( + err.response.config.method + ).toUpperCase()} ${err.response.config.url} ]`; + } + throw new EventFilterDataLoaderError(message, err.toJSON()); +}; + +const createHostIsolationException: RunFn = async ({ flags, log }) => { + const eventGenerator = new HostIsolationExceptionGenerator(); + const kbn = new KbnClient({ log, url: flags.kibana as string }); + + await ensureCreateEndpointHostIsolationExceptionList(kbn); + + await bluebird.map( + Array.from({ length: flags.count as unknown as number }), + () => + kbn + .request({ + method: 'POST', + path: EXCEPTION_LIST_ITEM_URL, + body: eventGenerator.generate(), + }) + .catch((e) => handleThrowAxiosHttpError(e)), + { concurrency: 10 } + ); +}; + +const ensureCreateEndpointHostIsolationExceptionList = async (kbn: KbnClient) => { + const newListDefinition: CreateExceptionListSchema = { + description: ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_DESCRIPTION, + list_id: ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_ID, + meta: undefined, + name: ENDPOINT_HOST_ISOLATION_EXCEPTIONS_LIST_NAME, + os_types: [], + tags: [], + type: 'endpoint', + namespace_type: 'agnostic', + }; + + await kbn + .request({ + method: 'POST', + path: EXCEPTION_LIST_URL, + body: newListDefinition, + }) + .catch((e) => { + // Ignore if list was already created + if (e.response.status !== 409) { + handleThrowAxiosHttpError(e); + } + }); +}; diff --git a/x-pack/plugins/security_solution/scripts/endpoint/load_host_isolation_exceptions.js b/x-pack/plugins/security_solution/scripts/endpoint/load_host_isolation_exceptions.js new file mode 100644 index 0000000000000..13fedecb690ca --- /dev/null +++ b/x-pack/plugins/security_solution/scripts/endpoint/load_host_isolation_exceptions.js @@ -0,0 +1,11 @@ +#!/usr/bin/env node + +/* + * 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. + */ + +require('../../../../../src/setup_node_env'); +require('./host_isolation_exceptions').cli(); diff --git a/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts b/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts index ed5dbbd09d79a..71df9902223da 100644 --- a/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts +++ b/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts @@ -151,6 +151,7 @@ describe('Host Isolation', () => { type: ElasticsearchAssetType.transform, }, ], + keep_policies_up_to_date: false, }) ); licenseEmitter = new Subject(); diff --git a/x-pack/plugins/security_solution/server/endpoint/routes/metadata/metadata.test.ts b/x-pack/plugins/security_solution/server/endpoint/routes/metadata/metadata.test.ts index 3fa90ad6d27a5..d9016e7a9c7cb 100644 --- a/x-pack/plugins/security_solution/server/endpoint/routes/metadata/metadata.test.ts +++ b/x-pack/plugins/security_solution/server/endpoint/routes/metadata/metadata.test.ts @@ -131,6 +131,7 @@ describe('test endpoint route', () => { type: ElasticsearchAssetType.transform, }, ], + keep_policies_up_to_date: false, }) ); endpointAppContextService.start({ ...startContract, packageService: mockPackageService }); @@ -390,6 +391,7 @@ describe('test endpoint route', () => { type: ElasticsearchAssetType.transform, }, ], + keep_policies_up_to_date: false, }) ); endpointAppContextService.start({ ...startContract, packageService: mockPackageService }); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/notifications/legacy_saved_object_references/legacy_extract_rule_id.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/notifications/legacy_saved_object_references/legacy_extract_rule_id.test.ts index 476a72461e8a0..8e6732727abf2 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/notifications/legacy_saved_object_references/legacy_extract_rule_id.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/notifications/legacy_saved_object_references/legacy_extract_rule_id.test.ts @@ -37,7 +37,7 @@ describe('legacy_extract_rule_id', () => { ).toEqual<FuncReturn>([]); expect(logger.error).toBeCalledWith( - 'Security Solution notification (Legacy) system "ruleAlertId" is null or undefined when it never should be. ,This indicates potentially that saved object migrations did not run correctly. Returning empty reference' + 'Security Solution notification (Legacy) system "ruleAlertId" is null or undefined when it never should be. This indicates potentially that saved object migrations did not run correctly. Returning empty reference.' ); }); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/notifications/legacy_saved_object_references/legacy_extract_rule_id.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/notifications/legacy_saved_object_references/legacy_extract_rule_id.ts index bc43fd59e68ee..1647e213c1e9e 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/notifications/legacy_saved_object_references/legacy_extract_rule_id.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/notifications/legacy_saved_object_references/legacy_extract_rule_id.ts @@ -6,6 +6,9 @@ */ import { Logger, SavedObjectReference } from 'src/core/server'; + +// eslint-disable-next-line no-restricted-imports +import { legacyGetRuleReference } from '../../rule_actions/legacy_utils'; // eslint-disable-next-line no-restricted-imports import { LegacyRulesNotificationParams } from '../legacy_types'; @@ -30,17 +33,11 @@ export const legacyExtractRuleId = ({ logger.error( [ 'Security Solution notification (Legacy) system "ruleAlertId" is null or undefined when it never should be. ', - 'This indicates potentially that saved object migrations did not run correctly. Returning empty reference', - ].join() + 'This indicates potentially that saved object migrations did not run correctly. Returning empty reference.', + ].join('') ); return []; } else { - return [ - { - id: ruleAlertId, - name: 'alert_0', - type: 'alert', - }, - ]; + return [legacyGetRuleReference(ruleAlertId)]; } }; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_route.test.ts index d15d31dcd63e8..7ae3f56b6fea9 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_route.test.ts @@ -5,6 +5,7 @@ * 2.0. */ +import { loggingSystemMock } from 'src/core/server/mocks'; import { DETECTION_ENGINE_RULES_URL } from '../../../../../common/constants'; import { getQueryRuleParams } from '../../schemas/rule_schemas.mock'; import { requestContextMock, requestMock, serverMock } from '../__mocks__'; @@ -23,9 +24,11 @@ describe.each([ ])('find_rules - %s', (_, isRuleRegistryEnabled) => { let server: ReturnType<typeof serverMock.create>; let { clients, context } = requestContextMock.createTools(); + let logger: ReturnType<typeof loggingSystemMock.createLogger>; beforeEach(async () => { server = serverMock.create(); + logger = loggingSystemMock.createLogger(); ({ clients, context } = requestContextMock.createTools()); clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); @@ -35,7 +38,7 @@ describe.each([ clients.savedObjectsClient.find.mockResolvedValue(getEmptySavedObjectsResponse()); clients.ruleExecutionLogClient.findBulk.mockResolvedValue(getFindBulkResultStatus()); - findRulesRoute(server.router, isRuleRegistryEnabled); + findRulesRoute(server.router, logger, isRuleRegistryEnabled); }); describe('status codes with actionClient and alertClient', () => { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_route.ts index bd8d2bd9685cf..a55a525806b17 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_route.ts @@ -6,6 +6,7 @@ */ import { transformError } from '@kbn/securitysolution-es-utils'; +import { Logger } from 'src/core/server'; import { findRuleValidateTypeDependents } from '../../../../../common/detection_engine/schemas/request/find_rules_type_dependents'; import { findRulesSchema, @@ -17,11 +18,13 @@ import { findRules } from '../../rules/find_rules'; import { buildSiemResponse } from '../utils'; import { buildRouteValidation } from '../../../../utils/build_validation/route_validation'; import { transformFindAlerts } from './utils'; + // eslint-disable-next-line no-restricted-imports import { legacyGetBulkRuleActionsSavedObject } from '../../rule_actions/legacy_get_bulk_rule_actions_saved_object'; export const findRulesRoute = ( router: SecuritySolutionPluginRouter, + logger: Logger, isRuleRegistryEnabled: boolean ) => { router.get( @@ -71,7 +74,7 @@ export const findRulesRoute = ( logsCount: 1, spaceId: context.securitySolution.getSpaceId(), }), - legacyGetBulkRuleActionsSavedObject({ alertIds, savedObjectsClient }), + legacyGetBulkRuleActionsSavedObject({ alertIds, savedObjectsClient, logger }), ]); const transformed = transformFindAlerts(rules, ruleStatuses, ruleActions); if (transformed == null) { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/legacy_create_legacy_notification.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/legacy_create_legacy_notification.ts index 248b864bef9ed..5908a9dc6e0f8 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/legacy_create_legacy_notification.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/legacy_create_legacy_notification.ts @@ -6,6 +6,8 @@ */ import { schema } from '@kbn/config-schema'; +import { Logger } from 'src/core/server'; + import type { SecuritySolutionPluginRouter } from '../../../../types'; // eslint-disable-next-line no-restricted-imports import { legacyUpdateOrCreateRuleActionsSavedObject } from '../../rule_actions/legacy_update_or_create_rule_actions_saved_object'; @@ -25,7 +27,10 @@ import { legacyCreateNotifications } from '../../notifications/legacy_create_not * @deprecated Once we no longer have legacy notifications and "side car actions" this can be removed. * @param router The router */ -export const legacyCreateLegacyNotificationRoute = (router: SecuritySolutionPluginRouter): void => { +export const legacyCreateLegacyNotificationRoute = ( + router: SecuritySolutionPluginRouter, + logger: Logger +): void => { router.post( { path: '/internal/api/detection/legacy/notifications', @@ -95,6 +100,7 @@ export const legacyCreateLegacyNotificationRoute = (router: SecuritySolutionPlug savedObjectsClient, actions, throttle: interval, + logger, }); } catch (error) { const message = error instanceof Error ? error.message : 'unknown'; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/read_rules_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/read_rules_route.test.ts index 057cbf4c12966..d6c18088800ba 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/read_rules_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/read_rules_route.test.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { loggingSystemMock } from 'src/core/server/mocks'; + import { DETECTION_ENGINE_RULES_URL } from '../../../../../common/constants'; import { readRulesRoute } from './read_rules_route'; import { @@ -22,16 +24,18 @@ describe.each([ ])('read_rules - %s', (_, isRuleRegistryEnabled) => { let server: ReturnType<typeof serverMock.create>; let { clients, context } = requestContextMock.createTools(); + let logger: ReturnType<typeof loggingSystemMock.createLogger>; beforeEach(() => { server = serverMock.create(); + logger = loggingSystemMock.createLogger(); ({ clients, context } = requestContextMock.createTools()); clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); // rule exists clients.savedObjectsClient.find.mockResolvedValue(getEmptySavedObjectsResponse()); // successful transform clients.ruleExecutionLogClient.find.mockResolvedValue([]); - readRulesRoute(server.router, isRuleRegistryEnabled); + readRulesRoute(server.router, logger, isRuleRegistryEnabled); }); describe('status codes with actionClient and alertClient', () => { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/read_rules_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/read_rules_route.ts index 6abe3086d6bb8..c3d6f09c306f0 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/read_rules_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/read_rules_route.ts @@ -6,6 +6,7 @@ */ import { transformError } from '@kbn/securitysolution-es-utils'; +import { Logger } from 'src/core/server'; import { queryRuleValidateTypeDependents } from '../../../../../common/detection_engine/schemas/request/query_rules_type_dependents'; import { queryRulesSchema, @@ -24,6 +25,7 @@ import { legacyGetRuleActionsSavedObject } from '../../rule_actions/legacy_get_r export const readRulesRoute = ( router: SecuritySolutionPluginRouter, + logger: Logger, isRuleRegistryEnabled: boolean ) => { router.get( @@ -66,6 +68,7 @@ export const readRulesRoute = ( const legacyRuleActions = await legacyGetRuleActionsSavedObject({ savedObjectsClient, ruleAlertId: rule.id, + logger, }); const ruleStatuses = await ruleStatusClient.find({ logsCount: 1, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/utils.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/utils.test.ts index 672a834731b45..c5a30c349d497 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/utils.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/utils.test.ts @@ -38,7 +38,8 @@ import { } from '../../schemas/rule_schemas.mock'; // eslint-disable-next-line no-restricted-imports import { LegacyRulesActionsSavedObject } from '../../rule_actions/legacy_get_rule_actions_saved_object'; -import { RuleAlertAction } from '../../../../../common/detection_engine/types'; +// eslint-disable-next-line no-restricted-imports +import { LegacyRuleAlertAction } from '../../rule_actions/legacy_types'; type PromiseFromStreams = ImportRulesSchemaDecoded | Error; @@ -306,7 +307,7 @@ describe.each([ }); test('outputs 200 if the data is of type siem alert and has a legacy rule action', () => { - const actions: RuleAlertAction[] = [ + const actions: LegacyRuleAlertAction[] = [ { id: '456', params: {}, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_create_rule_actions_saved_object.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_create_rule_actions_saved_object.test.ts new file mode 100644 index 0000000000000..c67db80e18003 --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_create_rule_actions_saved_object.test.ts @@ -0,0 +1,160 @@ +/* + * 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 { savedObjectsClientMock } from 'src/core/server/mocks'; + +// eslint-disable-next-line no-restricted-imports +import { legacyCreateRuleActionsSavedObject } from './legacy_create_rule_actions_saved_object'; +// eslint-disable-next-line no-restricted-imports +import { LegacyIRuleActionsAttributesSavedObjectAttributes } from './legacy_types'; + +describe('legacy_create_rule_actions_saved_object', () => { + let savedObjectsClient: ReturnType<typeof savedObjectsClientMock.create>; + + beforeEach(() => { + savedObjectsClient = savedObjectsClientMock.create(); + }); + + test('it creates a rule actions saved object with empty actions array', () => { + legacyCreateRuleActionsSavedObject({ + ruleAlertId: '123', + savedObjectsClient, + actions: [], + throttle: '1d', + }); + const [[, arg2, arg3]] = savedObjectsClient.create.mock.calls; + expect(arg2).toEqual<LegacyIRuleActionsAttributesSavedObjectAttributes>({ + actions: [], + alertThrottle: '1d', + ruleThrottle: '1d', + }); + expect(arg3).toEqual({ + references: [ + { + id: '123', + name: 'alert_0', + type: 'alert', + }, + ], + }); + }); + + test('it creates a rule actions saved object with 1 single action', () => { + legacyCreateRuleActionsSavedObject({ + ruleAlertId: '123', + savedObjectsClient, + actions: [ + { + id: '456', + group: 'default', + actionTypeId: '.slack', + params: { + kibana_siem_app_url: 'www.example.com', + }, + }, + ], + throttle: '1d', + }); + const [[, arg2, arg3]] = savedObjectsClient.create.mock.calls; + expect(arg2).toEqual<LegacyIRuleActionsAttributesSavedObjectAttributes>({ + actions: [ + { + actionRef: 'action_0', + action_type_id: '.slack', + group: 'default', + params: { + kibana_siem_app_url: 'www.example.com', + }, + }, + ], + alertThrottle: '1d', + ruleThrottle: '1d', + }); + expect(arg3).toEqual({ + references: [ + { + id: '123', + name: 'alert_0', + type: 'alert', + }, + { + id: '456', + name: 'action_0', + type: 'action', + }, + ], + }); + }); + + test('it creates a rule actions saved object with 2 actions', () => { + legacyCreateRuleActionsSavedObject({ + ruleAlertId: '123', + savedObjectsClient, + actions: [ + { + id: '456', + group: 'default', + actionTypeId: '.slack', + params: { + kibana_siem_app_url: 'www.example.com', + }, + }, + { + id: '555', + group: 'default_2', + actionTypeId: '.email', + params: { + kibana_siem_app_url: 'www.example.com/2', + }, + }, + ], + throttle: '1d', + }); + const [[, arg2, arg3]] = savedObjectsClient.create.mock.calls; + expect(arg2).toEqual<LegacyIRuleActionsAttributesSavedObjectAttributes>({ + actions: [ + { + actionRef: 'action_0', + action_type_id: '.slack', + group: 'default', + params: { + kibana_siem_app_url: 'www.example.com', + }, + }, + { + actionRef: 'action_1', + action_type_id: '.email', + group: 'default_2', + params: { + kibana_siem_app_url: 'www.example.com/2', + }, + }, + ], + alertThrottle: '1d', + ruleThrottle: '1d', + }); + expect(arg3).toEqual({ + references: [ + { + id: '123', + name: 'alert_0', + type: 'alert', + }, + { + id: '456', + name: 'action_0', + type: 'action', + }, + { + id: '555', + name: 'action_1', + type: 'action', + }, + ], + }); + }); +}); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_create_rule_actions_saved_object.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_create_rule_actions_saved_object.ts index 00607b884cec9..df27a5bcc280d 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_create_rule_actions_saved_object.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_create_rule_actions_saved_object.ts @@ -5,17 +5,20 @@ * 2.0. */ +import { SavedObjectReference } from 'kibana/server'; import { AlertServices } from '../../../../../alerting/server'; // eslint-disable-next-line no-restricted-imports import { legacyRuleActionsSavedObjectType } from './legacy_saved_object_mappings'; // eslint-disable-next-line no-restricted-imports import { LegacyIRuleActionsAttributesSavedObjectAttributes } from './legacy_types'; // eslint-disable-next-line no-restricted-imports -import { legacyGetThrottleOptions, legacyGetRuleActionsFromSavedObject } from './legacy_utils'; -// eslint-disable-next-line no-restricted-imports -import { LegacyRulesActionsSavedObject } from './legacy_get_rule_actions_saved_object'; +import { + legacyGetActionReference, + legacyGetRuleReference, + legacyGetThrottleOptions, + legacyTransformActionToReference, +} from './legacy_utils'; import { AlertAction } from '../../../../../alerting/common'; -import { transformAlertToRuleAction } from '../../../../common/detection_engine/transform_actions'; /** * @deprecated Once we are confident all rules relying on side-car actions SO's have been migrated to SO references we should remove this function @@ -28,23 +31,30 @@ interface LegacyCreateRuleActionsSavedObject { } /** + * NOTE: This should _only_ be seen to be used within the legacy route of "legacyCreateLegacyNotificationRoute" and not exposed and not + * used anywhere else. If you see it being used anywhere else, that would be a bug. * @deprecated Once we are confident all rules relying on side-car actions SO's have been migrated to SO references we should remove this function + * @see legacyCreateLegacyNotificationRoute */ export const legacyCreateRuleActionsSavedObject = async ({ ruleAlertId, savedObjectsClient, actions = [], throttle, -}: LegacyCreateRuleActionsSavedObject): Promise<LegacyRulesActionsSavedObject> => { - const ruleActionsSavedObject = - await savedObjectsClient.create<LegacyIRuleActionsAttributesSavedObjectAttributes>( - legacyRuleActionsSavedObjectType, - { - ruleAlertId, - actions: actions.map((action) => transformAlertToRuleAction(action)), - ...legacyGetThrottleOptions(throttle), - } - ); - - return legacyGetRuleActionsFromSavedObject(ruleActionsSavedObject); +}: LegacyCreateRuleActionsSavedObject): Promise<void> => { + const referenceWithAlertId: SavedObjectReference[] = [legacyGetRuleReference(ruleAlertId)]; + const actionReferences: SavedObjectReference[] = actions.map((action, index) => + legacyGetActionReference(action.id, index) + ); + const references: SavedObjectReference[] = [...referenceWithAlertId, ...actionReferences]; + await savedObjectsClient.create<LegacyIRuleActionsAttributesSavedObjectAttributes>( + legacyRuleActionsSavedObjectType, + { + actions: actions.map((alertAction, index) => + legacyTransformActionToReference(alertAction, index) + ), + ...legacyGetThrottleOptions(throttle), + }, + { references } + ); }; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_get_bulk_rule_actions_saved_object.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_get_bulk_rule_actions_saved_object.test.ts new file mode 100644 index 0000000000000..ab5a352747723 --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_get_bulk_rule_actions_saved_object.test.ts @@ -0,0 +1,497 @@ +/* + * 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 { SavedObjectsFindOptions, SavedObjectsFindResult } from 'kibana/server'; + +import { loggingSystemMock, savedObjectsClientMock } from 'src/core/server/mocks'; + +// eslint-disable-next-line no-restricted-imports +import { legacyGetBulkRuleActionsSavedObject } from './legacy_get_bulk_rule_actions_saved_object'; +// eslint-disable-next-line no-restricted-imports +import { LegacyRulesActionsSavedObject } from './legacy_get_rule_actions_saved_object'; +// eslint-disable-next-line no-restricted-imports +import { legacyRuleActionsSavedObjectType } from './legacy_saved_object_mappings'; +// eslint-disable-next-line no-restricted-imports +import { LegacyIRuleActionsAttributesSavedObjectAttributes } from './legacy_types'; + +describe('legacy_get_bulk_rule_actions_saved_object', () => { + let savedObjectsClient: ReturnType<typeof savedObjectsClientMock.create>; + let logger: ReturnType<typeof loggingSystemMock.createLogger>; + type FuncReturn = Record<string, LegacyRulesActionsSavedObject>; + + beforeEach(() => { + logger = loggingSystemMock.createLogger(); + savedObjectsClient = savedObjectsClientMock.create(); + savedObjectsClient.find.mockResolvedValue({ + total: 0, + per_page: 0, + page: 1, + saved_objects: [], + }); + }); + + test('calls "savedObjectsClient.find" with the expected "hasReferences"', () => { + legacyGetBulkRuleActionsSavedObject({ alertIds: ['123'], savedObjectsClient, logger }); + const [[arg1]] = savedObjectsClient.find.mock.calls; + expect(arg1).toEqual<SavedObjectsFindOptions>({ + hasReference: [{ id: '123', type: 'alert' }], + perPage: 10000, + type: legacyRuleActionsSavedObjectType, + }); + }); + + test('returns nothing transformed through the find if it does not return any matches against the alert id', async () => { + const savedObjects: Array< + SavedObjectsFindResult<LegacyIRuleActionsAttributesSavedObjectAttributes> + > = []; + savedObjectsClient.find.mockResolvedValue({ + total: 0, + per_page: 0, + page: 1, + saved_objects: savedObjects, + }); + + const returnValue = await legacyGetBulkRuleActionsSavedObject({ + alertIds: ['123'], + savedObjectsClient, + logger, + }); + expect(returnValue).toEqual<FuncReturn>({}); + }); + + test('returns 1 action transformed through the find if 1 was found for 1 single alert id', async () => { + const savedObjects: Array< + SavedObjectsFindResult<LegacyIRuleActionsAttributesSavedObjectAttributes> + > = [ + { + score: 0, + id: '123', + type: legacyRuleActionsSavedObjectType, + references: [ + { + name: 'alert_0', + id: 'alert-123', + type: 'alert', + }, + { + name: 'action_0', + id: 'action-123', + type: 'action', + }, + ], + attributes: { + actions: [ + { + group: 'group_1', + params: {}, + action_type_id: 'action_type_1', + actionRef: 'action_0', + }, + ], + ruleThrottle: '1d', + alertThrottle: '1d', + }, + }, + ]; + savedObjectsClient.find.mockResolvedValue({ + total: 0, + per_page: 0, + page: 1, + saved_objects: savedObjects, + }); + + const returnValue = await legacyGetBulkRuleActionsSavedObject({ + alertIds: ['123'], + savedObjectsClient, + logger, + }); + expect(returnValue).toEqual<FuncReturn>({ + 'alert-123': { + id: '123', + alertThrottle: '1d', + ruleThrottle: '1d', + actions: [ + { + action_type_id: 'action_type_1', + group: 'group_1', + id: 'action-123', + params: {}, + }, + ], + }, + }); + }); + + test('returns 1 action transformed through the find for 2 alerts with 1 action each', async () => { + const savedObjects: Array< + SavedObjectsFindResult<LegacyIRuleActionsAttributesSavedObjectAttributes> + > = [ + { + score: 0, + id: '123', + type: legacyRuleActionsSavedObjectType, + references: [ + { + name: 'alert_0', + id: 'alert-123', + type: 'alert', + }, + { + name: 'action_0', + id: 'action-123', + type: 'action', + }, + ], + attributes: { + actions: [ + { + group: 'group_1', + params: {}, + action_type_id: 'action_type_1', + actionRef: 'action_0', + }, + ], + ruleThrottle: '1d', + alertThrottle: '1d', + }, + }, + { + score: 0, + id: '456', + type: legacyRuleActionsSavedObjectType, + references: [ + { + name: 'alert_0', + id: 'alert-456', + type: 'alert', + }, + { + name: 'action_0', + id: 'action-456', + type: 'action', + }, + ], + attributes: { + actions: [ + { + group: 'group_2', + params: {}, + action_type_id: 'action_type_2', + actionRef: 'action_0', + }, + ], + ruleThrottle: '1d', + alertThrottle: '1d', + }, + }, + ]; + savedObjectsClient.find.mockResolvedValue({ + total: 0, + per_page: 0, + page: 1, + saved_objects: savedObjects, + }); + + const returnValue = await legacyGetBulkRuleActionsSavedObject({ + alertIds: ['123'], + savedObjectsClient, + logger, + }); + expect(returnValue).toEqual<FuncReturn>({ + 'alert-123': { + id: '123', + alertThrottle: '1d', + ruleThrottle: '1d', + actions: [ + { + action_type_id: 'action_type_1', + group: 'group_1', + id: 'action-123', + params: {}, + }, + ], + }, + 'alert-456': { + id: '456', + alertThrottle: '1d', + ruleThrottle: '1d', + actions: [ + { + action_type_id: 'action_type_2', + group: 'group_2', + id: 'action-456', + params: {}, + }, + ], + }, + }); + }); + + test('returns 2 actions transformed through the find if they were found for 1 single alert id', async () => { + const savedObjects: Array< + SavedObjectsFindResult<LegacyIRuleActionsAttributesSavedObjectAttributes> + > = [ + { + score: 0, + id: '123', + type: legacyRuleActionsSavedObjectType, + references: [ + { + name: 'alert_0', + id: 'alert-123', + type: 'alert', + }, + { + name: 'action_0', + id: 'action-123', + type: 'action', + }, + { + name: 'action_1', + id: 'action-456', + type: 'action', + }, + ], + attributes: { + actions: [ + { + group: 'group_1', + params: {}, + action_type_id: 'action_type_1', + actionRef: 'action_0', + }, + { + group: 'group_2', + params: {}, + action_type_id: 'action_type_2', + actionRef: 'action_1', + }, + ], + ruleThrottle: '1d', + alertThrottle: '1d', + }, + }, + ]; + savedObjectsClient.find.mockResolvedValue({ + total: 0, + per_page: 0, + page: 1, + saved_objects: savedObjects, + }); + + const returnValue = await legacyGetBulkRuleActionsSavedObject({ + alertIds: ['123'], + savedObjectsClient, + logger, + }); + expect(returnValue).toEqual<FuncReturn>({ + 'alert-123': { + id: '123', + alertThrottle: '1d', + ruleThrottle: '1d', + actions: [ + { + action_type_id: 'action_type_1', + group: 'group_1', + id: 'action-123', + params: {}, + }, + { + action_type_id: 'action_type_2', + group: 'group_2', + id: 'action-456', + params: {}, + }, + ], + }, + }); + }); + + test('returns only 1 action if for some unusual reason the actions reference is missing an item for 1 single alert id', async () => { + const savedObjects: Array< + SavedObjectsFindResult<LegacyIRuleActionsAttributesSavedObjectAttributes> + > = [ + { + score: 0, + id: '123', + type: legacyRuleActionsSavedObjectType, + references: [ + { + name: 'alert_0', + id: 'alert-123', + type: 'alert', + }, + { + name: 'action_0', + id: 'action-123', + type: 'action', + }, + // Missing an "action_1" here. { name: 'action_1', id: 'action-456', type: 'action', }, + ], + attributes: { + actions: [ + { + group: 'group_1', + params: {}, + action_type_id: 'action_type_1', + actionRef: 'action_0', + }, + { + group: 'group_2', + params: {}, + action_type_id: 'action_type_2', + actionRef: 'action_1', + }, + ], + ruleThrottle: '1d', + alertThrottle: '1d', + }, + }, + ]; + savedObjectsClient.find.mockResolvedValue({ + total: 0, + per_page: 0, + page: 1, + saved_objects: savedObjects, + }); + + const returnValue = await legacyGetBulkRuleActionsSavedObject({ + alertIds: ['123'], + savedObjectsClient, + logger, + }); + expect(returnValue).toEqual<FuncReturn>({ + 'alert-123': { + id: '123', + alertThrottle: '1d', + ruleThrottle: '1d', + actions: [ + { + action_type_id: 'action_type_1', + group: 'group_1', + id: 'action-123', + params: {}, + }, + ], + }, + }); + }); + + test('returns only 1 action if for some unusual reason the action is missing from the attributes', async () => { + const savedObjects: Array< + SavedObjectsFindResult<LegacyIRuleActionsAttributesSavedObjectAttributes> + > = [ + { + score: 0, + id: '123', + type: legacyRuleActionsSavedObjectType, + references: [ + { + name: 'alert_0', + id: 'alert-123', + type: 'alert', + }, + { + name: 'action_0', + id: 'action-123', + type: 'action', + }, + { + name: 'action_1', + id: 'action-456', + type: 'action', + }, + ], + attributes: { + actions: [ + { + group: 'group_1', + params: {}, + action_type_id: 'action_type_1', + actionRef: 'action_0', + }, + // Missing the action of { group: 'group_2', params: {}, action_type_id: 'action_type_2', actionRef: 'action_1', }, + ], + ruleThrottle: '1d', + alertThrottle: '1d', + }, + }, + ]; + savedObjectsClient.find.mockResolvedValue({ + total: 0, + per_page: 0, + page: 1, + saved_objects: savedObjects, + }); + + const returnValue = await legacyGetBulkRuleActionsSavedObject({ + alertIds: ['123'], + savedObjectsClient, + logger, + }); + expect(returnValue).toEqual<FuncReturn>({ + 'alert-123': { + id: '123', + alertThrottle: '1d', + ruleThrottle: '1d', + actions: [ + { + action_type_id: 'action_type_1', + group: 'group_1', + id: 'action-123', + params: {}, + }, + ], + }, + }); + }); + + test('returns nothing if the alert id is missing within the references array', async () => { + const savedObjects: Array< + SavedObjectsFindResult<LegacyIRuleActionsAttributesSavedObjectAttributes> + > = [ + { + score: 0, + id: '123', + type: legacyRuleActionsSavedObjectType, + references: [ + // Missing the "alert_0" of { name: 'alert_0', id: 'alert-123', type: 'alert', }, + { + name: 'action_0', + id: 'action-123', + type: 'action', + }, + ], + attributes: { + actions: [ + { + group: 'group_1', + params: {}, + action_type_id: 'action_type_1', + actionRef: 'action_0', + }, + ], + ruleThrottle: '1d', + alertThrottle: '1d', + }, + }, + ]; + savedObjectsClient.find.mockResolvedValue({ + total: 0, + per_page: 0, + page: 1, + saved_objects: savedObjects, + }); + + const returnValue = await legacyGetBulkRuleActionsSavedObject({ + alertIds: ['123'], + savedObjectsClient, + logger, + }); + expect(returnValue).toEqual<FuncReturn>({}); + }); +}); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_get_bulk_rule_actions_saved_object.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_get_bulk_rule_actions_saved_object.ts index 40b359c30219d..b0c5dba77ad74 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_get_bulk_rule_actions_saved_object.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_get_bulk_rule_actions_saved_object.ts @@ -5,6 +5,9 @@ * 2.0. */ +import { SavedObjectsFindOptionsReference } from 'kibana/server'; +import { Logger } from 'src/core/server'; + import { AlertServices } from '../../../../../alerting/server'; // eslint-disable-next-line no-restricted-imports import { legacyRuleActionsSavedObjectType } from './legacy_saved_object_mappings'; @@ -14,7 +17,6 @@ import { LegacyIRuleActionsAttributesSavedObjectAttributes } from './legacy_type import { legacyGetRuleActionsFromSavedObject } from './legacy_utils'; // eslint-disable-next-line no-restricted-imports import { LegacyRulesActionsSavedObject } from './legacy_get_rule_actions_saved_object'; -import { buildChunkedOrFilter } from '../signals/utils'; /** * @deprecated Once we are confident all rules relying on side-car actions SO's have been migrated to SO references we should remove this function @@ -22,6 +24,7 @@ import { buildChunkedOrFilter } from '../signals/utils'; interface LegacyGetBulkRuleActionsSavedObject { alertIds: string[]; savedObjectsClient: AlertServices['savedObjectsClient']; + logger: Logger; } /** @@ -30,22 +33,35 @@ interface LegacyGetBulkRuleActionsSavedObject { export const legacyGetBulkRuleActionsSavedObject = async ({ alertIds, savedObjectsClient, + logger, }: LegacyGetBulkRuleActionsSavedObject): Promise<Record<string, LegacyRulesActionsSavedObject>> => { - const filter = buildChunkedOrFilter( - `${legacyRuleActionsSavedObjectType}.attributes.ruleAlertId`, - alertIds - ); + const references = alertIds.map<SavedObjectsFindOptionsReference>((alertId) => ({ + id: alertId, + type: 'alert', + })); const { // eslint-disable-next-line @typescript-eslint/naming-convention saved_objects, } = await savedObjectsClient.find<LegacyIRuleActionsAttributesSavedObjectAttributes>({ type: legacyRuleActionsSavedObjectType, perPage: 10000, - filter, + hasReference: references, }); return saved_objects.reduce( (acc: { [key: string]: LegacyRulesActionsSavedObject }, savedObject) => { - acc[savedObject.attributes.ruleAlertId] = legacyGetRuleActionsFromSavedObject(savedObject); + const ruleAlertId = savedObject.references.find((reference) => { + // Find the first rule alert and assume that is the one we want since we should only ever have 1. + return reference.type === 'alert'; + }); + // We check to ensure we have found a "ruleAlertId" and hopefully we have. + const ruleAlertIdKey = ruleAlertId != null ? ruleAlertId.id : undefined; + if (ruleAlertIdKey != null) { + acc[ruleAlertIdKey] = legacyGetRuleActionsFromSavedObject(savedObject, logger); + } else { + logger.error( + `Security Solution notification (Legacy) Was expecting to find a reference of type "alert" within ${savedObject.references} but did not. Skipping this notification.` + ); + } return acc; }, {} diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_get_rule_actions_saved_object.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_get_rule_actions_saved_object.test.ts new file mode 100644 index 0000000000000..1e38cea801c53 --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_get_rule_actions_saved_object.test.ts @@ -0,0 +1,204 @@ +/* + * 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 { SavedObjectsFindOptions, SavedObjectsFindResult } from 'kibana/server'; +import { loggingSystemMock, savedObjectsClientMock } from 'src/core/server/mocks'; + +// eslint-disable-next-line no-restricted-imports +import { + legacyGetRuleActionsSavedObject, + LegacyRulesActionsSavedObject, +} from './legacy_get_rule_actions_saved_object'; +// eslint-disable-next-line no-restricted-imports +import { legacyRuleActionsSavedObjectType } from './legacy_saved_object_mappings'; +// eslint-disable-next-line no-restricted-imports +import { LegacyIRuleActionsAttributesSavedObjectAttributes } from './legacy_types'; + +describe('legacy_get_rule_actions_saved_object', () => { + let savedObjectsClient: ReturnType<typeof savedObjectsClientMock.create>; + type FuncReturn = LegacyRulesActionsSavedObject | null; + let logger: ReturnType<typeof loggingSystemMock.createLogger>; + + beforeEach(() => { + logger = loggingSystemMock.createLogger(); + savedObjectsClient = savedObjectsClientMock.create(); + savedObjectsClient.find.mockResolvedValue({ + total: 0, + per_page: 0, + page: 1, + saved_objects: [], + }); + }); + + test('calls "savedObjectsClient.find" with the expected "hasReferences"', () => { + legacyGetRuleActionsSavedObject({ ruleAlertId: '123', savedObjectsClient, logger }); + const [[arg1]] = savedObjectsClient.find.mock.calls; + expect(arg1).toEqual<SavedObjectsFindOptions>({ + hasReference: { id: '123', type: 'alert' }, + perPage: 1, + type: legacyRuleActionsSavedObjectType, + }); + }); + + test('returns null if it does not return any matches against the alert id', async () => { + const savedObjects: Array< + SavedObjectsFindResult<LegacyIRuleActionsAttributesSavedObjectAttributes> + > = []; + savedObjectsClient.find.mockResolvedValue({ + total: 0, + per_page: 0, + page: 1, + saved_objects: savedObjects, + }); + + const returnValue = await legacyGetRuleActionsSavedObject({ + ruleAlertId: '123', + savedObjectsClient, + logger, + }); + expect(returnValue).toEqual<FuncReturn>(null); + }); + + test('returns 1 action transformed through the find if 1 was found for 1 single alert id', async () => { + const savedObjects: Array< + SavedObjectsFindResult<LegacyIRuleActionsAttributesSavedObjectAttributes> + > = [ + { + score: 0, + id: '123', + type: legacyRuleActionsSavedObjectType, + references: [ + { + name: 'alert_0', + id: 'alert-123', + type: 'alert', + }, + { + name: 'action_0', + id: 'action-123', + type: 'action', + }, + ], + attributes: { + actions: [ + { + group: 'group_1', + params: {}, + action_type_id: 'action_type_1', + actionRef: 'action_0', + }, + ], + ruleThrottle: '1d', + alertThrottle: '1d', + }, + }, + ]; + savedObjectsClient.find.mockResolvedValue({ + total: 0, + per_page: 0, + page: 1, + saved_objects: savedObjects, + }); + + const returnValue = await legacyGetRuleActionsSavedObject({ + ruleAlertId: '123', + savedObjectsClient, + logger, + }); + expect(returnValue).toEqual<FuncReturn>({ + actions: [ + { + action_type_id: 'action_type_1', + group: 'group_1', + id: 'action-123', + params: {}, + }, + ], + alertThrottle: '1d', + id: '123', + ruleThrottle: '1d', + }); + }); + + test('returns 2 actions transformed through the find if they were found for 1 single alert id', async () => { + const savedObjects: Array< + SavedObjectsFindResult<LegacyIRuleActionsAttributesSavedObjectAttributes> + > = [ + { + score: 0, + id: '123', + type: legacyRuleActionsSavedObjectType, + references: [ + { + name: 'alert_0', + id: 'alert-123', + type: 'alert', + }, + { + name: 'action_0', + id: 'action-123', + type: 'action', + }, + { + name: 'action_1', + id: 'action-456', + type: 'action', + }, + ], + attributes: { + actions: [ + { + group: 'group_1', + params: {}, + action_type_id: 'action_type_1', + actionRef: 'action_0', + }, + { + group: 'group_2', + params: {}, + action_type_id: 'action_type_2', + actionRef: 'action_1', + }, + ], + ruleThrottle: '1d', + alertThrottle: '1d', + }, + }, + ]; + savedObjectsClient.find.mockResolvedValue({ + total: 0, + per_page: 0, + page: 1, + saved_objects: savedObjects, + }); + + const returnValue = await legacyGetRuleActionsSavedObject({ + ruleAlertId: '123', + savedObjectsClient, + logger, + }); + expect(returnValue).toEqual<FuncReturn>({ + actions: [ + { + action_type_id: 'action_type_1', + group: 'group_1', + id: 'action-123', + params: {}, + }, + { + action_type_id: 'action_type_2', + group: 'group_2', + id: 'action-456', + params: {}, + }, + ], + alertThrottle: '1d', + id: '123', + ruleThrottle: '1d', + }); + }); +}); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_get_rule_actions_saved_object.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_get_rule_actions_saved_object.ts index e73735503825b..d972c6535b3b6 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_get_rule_actions_saved_object.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_get_rule_actions_saved_object.ts @@ -5,12 +5,17 @@ * 2.0. */ -import { RuleAlertAction } from '../../../../common/detection_engine/types'; +import { SavedObjectsFindOptionsReference } from 'kibana/server'; +import { Logger } from 'src/core/server'; import { AlertServices } from '../../../../../alerting/server'; + // eslint-disable-next-line no-restricted-imports import { legacyRuleActionsSavedObjectType } from './legacy_saved_object_mappings'; // eslint-disable-next-line no-restricted-imports -import { LegacyIRuleActionsAttributesSavedObjectAttributes } from './legacy_types'; +import { + LegacyIRuleActionsAttributesSavedObjectAttributes, + LegacyRuleAlertAction, +} from './legacy_types'; // eslint-disable-next-line no-restricted-imports import { legacyGetRuleActionsFromSavedObject } from './legacy_utils'; @@ -20,6 +25,7 @@ import { legacyGetRuleActionsFromSavedObject } from './legacy_utils'; interface LegacyGetRuleActionsSavedObject { ruleAlertId: string; savedObjectsClient: AlertServices['savedObjectsClient']; + logger: Logger; } /** @@ -27,7 +33,7 @@ interface LegacyGetRuleActionsSavedObject { */ export interface LegacyRulesActionsSavedObject { id: string; - actions: RuleAlertAction[]; + actions: LegacyRuleAlertAction[]; alertThrottle: string | null; ruleThrottle: string; } @@ -38,20 +44,24 @@ export interface LegacyRulesActionsSavedObject { export const legacyGetRuleActionsSavedObject = async ({ ruleAlertId, savedObjectsClient, + logger, }: LegacyGetRuleActionsSavedObject): Promise<LegacyRulesActionsSavedObject | null> => { + const reference: SavedObjectsFindOptionsReference = { + id: ruleAlertId, + type: 'alert', + }; const { // eslint-disable-next-line @typescript-eslint/naming-convention saved_objects, } = await savedObjectsClient.find<LegacyIRuleActionsAttributesSavedObjectAttributes>({ type: legacyRuleActionsSavedObjectType, perPage: 1, - search: `${ruleAlertId}`, - searchFields: ['ruleAlertId'], + hasReference: reference, }); if (!saved_objects[0]) { return null; } else { - return legacyGetRuleActionsFromSavedObject(saved_objects[0]); + return legacyGetRuleActionsFromSavedObject(saved_objects[0], logger); } }; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_migrations.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_migrations.test.ts new file mode 100644 index 0000000000000..8414aa93c7984 --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_migrations.test.ts @@ -0,0 +1,355 @@ +/* + * 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 { SavedObjectReference, SavedObjectUnsanitizedDoc } from 'kibana/server'; +// eslint-disable-next-line no-restricted-imports +import { legacyMigrateRuleAlertId, legacyMigrateAlertId } from './legacy_migrations'; +// eslint-disable-next-line no-restricted-imports +import { LegacyIRuleActionsAttributesSavedObjectAttributes } from './legacy_types'; + +describe('legacy_migrations', () => { + describe('legacyMigrateRuleAlertId', () => { + type PartialForTests = Partial< + SavedObjectUnsanitizedDoc<Partial<LegacyIRuleActionsAttributesSavedObjectAttributes>> + >; + + test('it migrates both a "ruleAlertId" and a actions array with 1 element into the references array', () => { + const doc = { + attributes: { + ruleAlertId: '123', + actions: [ + { + id: '456', + group: 'group', + params: {}, + action_type_id: '789', + }, + ], + }, + }; + expect( + legacyMigrateRuleAlertId( + doc as unknown as SavedObjectUnsanitizedDoc<LegacyIRuleActionsAttributesSavedObjectAttributes> + ) + ).toEqual({ + attributes: { + actions: [ + { + actionRef: 'action_0', + group: 'group', + params: {}, + action_type_id: '789', + }, + ], + }, + references: [ + { + id: '123', + name: 'alert_0', + type: 'alert', + }, + { + id: '456', + name: 'action_0', + type: 'action', + }, + ], + }); + }); + + test('it migrates both a "ruleAlertId" and a actions array with 2 elements into the references array', () => { + const doc = { + attributes: { + ruleAlertId: '123', + actions: [ + { + id: '456', + group: 'group', + params: {}, + action_type_id: '789', + }, + { + id: '780', + group: 'group', + params: {}, + action_type_id: '9999', + }, + ], + }, + }; + expect( + legacyMigrateRuleAlertId( + doc as unknown as SavedObjectUnsanitizedDoc<LegacyIRuleActionsAttributesSavedObjectAttributes> + ) + ).toEqual({ + attributes: { + actions: [ + { + actionRef: 'action_0', + group: 'group', + params: {}, + action_type_id: '789', + }, + { + actionRef: 'action_1', + group: 'group', + params: {}, + action_type_id: '9999', + }, + ], + }, + references: [ + { + id: '123', + name: 'alert_0', + type: 'alert', + }, + { + id: '456', + name: 'action_0', + type: 'action', + }, + { + id: '780', + name: 'action_1', + type: 'action', + }, + ], + }); + }); + + test('it returns existing references when migrating both a "ruleAlertId" and a actions array into the references array', () => { + const doc = { + attributes: { + ruleAlertId: '123', + actions: [ + { + id: '456', + group: 'group', + params: {}, + action_type_id: '789', + }, + ], + }, + references: [ + { + id: '890', + name: 'foreign_0', + type: 'foreign', + }, + ], + }; + expect( + legacyMigrateRuleAlertId( + doc as unknown as SavedObjectUnsanitizedDoc<LegacyIRuleActionsAttributesSavedObjectAttributes> + ) + ).toEqual({ + attributes: { + actions: [ + { + actionRef: 'action_0', + group: 'group', + params: {}, + action_type_id: '789', + }, + ], + }, + references: [ + { + id: '890', + name: 'foreign_0', + type: 'foreign', + }, + { + id: '123', + name: 'alert_0', + type: 'alert', + }, + { + id: '456', + name: 'action_0', + type: 'action', + }, + ], + }); + }); + + test('it is idempotent and does not migrate twice if "ruleAlertId" and the actions array are already migrated', () => { + const doc = { + attributes: { + ruleAlertId: '123', + actions: [ + { + id: '456', + group: 'group', + params: {}, + action_type_id: '789', + }, + ], + }, + references: [ + { + id: '123', + name: 'alert_0', + type: 'alert', + }, + { + id: '456', + name: 'action_0', + type: 'action', + }, + ], + }; + expect( + legacyMigrateRuleAlertId( + doc as unknown as SavedObjectUnsanitizedDoc<LegacyIRuleActionsAttributesSavedObjectAttributes> + ) + ).toEqual({ + attributes: { + actions: [ + { + actionRef: 'action_0', + group: 'group', + params: {}, + action_type_id: '789', + }, + ], + }, + references: [ + { + id: '123', + name: 'alert_0', + type: 'alert', + }, + { + id: '456', + name: 'action_0', + type: 'action', + }, + ], + }); + }); + + test('does not migrate if "ruleAlertId" is not a string', () => { + const doc: PartialForTests = { + attributes: { + ruleAlertId: 123, // invalid as this is a number + actions: [ + { + id: '456', + group: 'group', + params: {}, + action_type_id: '789', + }, + ], + }, + } as unknown as PartialForTests; + expect( + legacyMigrateRuleAlertId( + doc as SavedObjectUnsanitizedDoc<LegacyIRuleActionsAttributesSavedObjectAttributes> + ) + ).toEqual({ + attributes: { + ruleAlertId: 123, + actions: [ + { + id: '456', + group: 'group', + params: {}, + action_type_id: '789', + }, + ], + }, + references: [], + }); + }); + + test('does not migrate if "actions" is not an array', () => { + const doc: PartialForTests = { + attributes: { + ruleAlertId: '123', + actions: 'string', // invalid as this is not an array + }, + } as unknown as PartialForTests; + expect( + legacyMigrateRuleAlertId( + doc as SavedObjectUnsanitizedDoc<LegacyIRuleActionsAttributesSavedObjectAttributes> + ) + ).toEqual({ + attributes: { + ruleAlertId: '123', + actions: 'string', + }, + references: [], + }); + }); + }); + + describe('migrateAlertId', () => { + type FuncReturn = ReturnType<typeof legacyMigrateAlertId>; + + test('it migrates a "ruleAlertId" when the existing references is an empty array', () => { + expect( + legacyMigrateAlertId({ ruleAlertId: '123', existingReferences: [] }) + ).toEqual<FuncReturn>([ + { + id: '123', + name: 'alert_0', + type: 'alert', + }, + ]); + }); + + test('it does not return existing references when it migrates a "ruleAlertId"', () => { + const existingReferences: SavedObjectReference[] = [ + { + id: '456', + name: 'foreign_0', + type: 'foreign', + }, + ]; + expect(legacyMigrateAlertId({ ruleAlertId: '123', existingReferences })).toEqual<FuncReturn>([ + { + id: '123', + name: 'alert_0', + type: 'alert', + }, + ]); + }); + + test('it does not migrate twice if "ruleAlertId" is already migrated by returning an empty array', () => { + const existingReferences: SavedObjectReference[] = [ + { + id: '123', + name: 'alert_0', + type: 'alert', + }, + ]; + expect(legacyMigrateAlertId({ ruleAlertId: '123', existingReferences })).toEqual<FuncReturn>( + [] + ); + }); + + test('it does not return existing references when it migrates a "ruleAlertId" and does not migrate twice if "ruleAlertId" is already migrated by returning an empty array', () => { + const existingReferences: SavedObjectReference[] = [ + { + id: '456', + name: 'foreign_0', + type: 'foreign', + }, + { + id: '123', + name: 'alert_0', + type: 'alert', + }, + ]; + expect(legacyMigrateAlertId({ ruleAlertId: '123', existingReferences })).toEqual<FuncReturn>( + [] + ); + }); + }); +}); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_migrations.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_migrations.ts index 8edb372e62e44..8a52d3a13f065 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_migrations.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_migrations.ts @@ -5,14 +5,26 @@ * 2.0. */ -import { RuleAlertAction } from '../../../../common/detection_engine/types'; +import { isString } from 'lodash/fp'; import { SavedObjectUnsanitizedDoc, SavedObjectSanitizedDoc, SavedObjectAttributes, + SavedObjectReference, } from '../../../../../../../src/core/server'; + +// eslint-disable-next-line no-restricted-imports +import { + LegacyIRuleActionsAttributesSavedObjectAttributes, + LegacyRuleAlertAction, + LegacyRuleAlertSavedObjectAction, +} from './legacy_types'; // eslint-disable-next-line no-restricted-imports -import { LegacyIRuleActionsAttributesSavedObjectAttributes } from './legacy_types'; +import { + legacyGetActionReference, + legacyGetRuleReference, + legacyTransformLegacyRuleAlertActionToReference, +} from './legacy_utils'; /** * @deprecated Once we are confident all rules relying on side-car actions SO's have been migrated to SO references we should remove this function @@ -89,7 +101,7 @@ export const legacyRuleActionsSavedObjectMigration = { }, }, }, - ] as RuleAlertAction[]; + ] as LegacyRuleAlertSavedObjectAction[]; } else if (action.action_type_id === '.jira') { const { title, comments, description, issueType, priority, labels, parent, summary } = action.params.subActionParams as { @@ -121,7 +133,7 @@ export const legacyRuleActionsSavedObjectMigration = { }, }, }, - ] as RuleAlertAction[]; + ] as LegacyRuleAlertSavedObjectAction[]; } else if (action.action_type_id === '.resilient') { const { title, comments, description, incidentTypes, severityCode, name } = action.params .subActionParams as { @@ -149,12 +161,12 @@ export const legacyRuleActionsSavedObjectMigration = { }, }, }, - ] as RuleAlertAction[]; + ] as LegacyRuleAlertSavedObjectAction[]; } } return [...acc, action]; - }, [] as RuleAlertAction[]); + }, [] as LegacyRuleAlertSavedObjectAction[]); return { ...doc, @@ -165,4 +177,102 @@ export const legacyRuleActionsSavedObjectMigration = { references: doc.references || [], }; }, + '7.16.0': ( + doc: SavedObjectUnsanitizedDoc<LegacyIRuleActionsAttributesSavedObjectAttributes> + ): SavedObjectSanitizedDoc<LegacyIRuleActionsAttributesSavedObjectAttributes> => { + return legacyMigrateRuleAlertId(doc); + }, +}; + +/** + * This migrates rule_id's and actions within the legacy siem.notification to saved object references on an upgrade. + * We only migrate rule_id if we find these conditions: + * - ruleAlertId is a string and not null, undefined, or malformed data. + * - The existing references do not already have a ruleAlertId found within it. + * We only migrate the actions if we find these conditions: + * - The actions exists and is an array. + * Some of these issues could crop up during either user manual errors of modifying things, earlier migration + * issues, etc... so we are safer to check them as possibilities + * @deprecated Once we are confident all rules relying on side-car actions SO's have been migrated to SO references we should remove this function + * @param doc The document that might have ruleId's to migrate into the references + * @returns The document migrated with saved object references + */ +export const legacyMigrateRuleAlertId = ( + doc: SavedObjectUnsanitizedDoc<LegacyIRuleActionsAttributesSavedObjectAttributes> +): SavedObjectSanitizedDoc<LegacyIRuleActionsAttributesSavedObjectAttributes> => { + const { + attributes: { actions }, + references, + } = doc; + // remove the ruleAlertId from the doc + const { ruleAlertId, ...attributesWithoutRuleAlertId } = doc.attributes; + const existingReferences = references ?? []; + if (!isString(ruleAlertId) || !Array.isArray(actions)) { + // early return if we are not a string or if we are not a security solution notification saved object. + return { ...doc, references: existingReferences }; + } else { + const alertReferences = legacyMigrateAlertId({ + ruleAlertId, + existingReferences, + }); + + // we use flat map here to be "idempotent" and skip it if it has already been migrated for any particular reason + const actionsReferences = actions.flatMap<SavedObjectReference>((action, index) => { + if ( + existingReferences.find((reference) => { + return ( + // we as cast it to the pre-7.16 version to get the old id from it + (action as unknown as LegacyRuleAlertAction).id === reference.id && + reference.type === 'action' + ); + }) + ) { + return []; + } + return [ + // we as cast it to the pre-7.16 version to get the old id from it + legacyGetActionReference((action as unknown as LegacyRuleAlertAction).id, index), + ]; + }); + + const actionsWithRef = actions.map((action, index) => + // we as cast it to the pre-7.16 version to pass it to get the actions with ref. + legacyTransformLegacyRuleAlertActionToReference( + action as unknown as LegacyRuleAlertAction, + index + ) + ); + return { + ...doc, + attributes: { + ...attributesWithoutRuleAlertId.attributes, + actions: actionsWithRef, + }, + references: [...existingReferences, ...alertReferences, ...actionsReferences], + }; + } +}; + +/** + * This is a helper to migrate "ruleAlertId" + * @deprecated Once we are confident all rules relying on side-car actions SO's have been migrated to SO references we should remove this function + * @param existingReferences The existing saved object references + * @param ruleAlertId The ruleAlertId to migrate + * @returns The savedObjectReferences migrated + */ +export const legacyMigrateAlertId = ({ + existingReferences, + ruleAlertId, +}: { + existingReferences: SavedObjectReference[]; + ruleAlertId: string; +}): SavedObjectReference[] => { + const existingReferenceFound = existingReferences.find((reference) => { + return reference.id === ruleAlertId && reference.type === 'alert'; + }); + if (existingReferenceFound) { + return []; + } else { + return [legacyGetRuleReference(ruleAlertId)]; + } }; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_saved_object_mappings.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_saved_object_mappings.ts index d821ca851b6b1..3d6a405225fe6 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_saved_object_mappings.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_saved_object_mappings.ts @@ -30,10 +30,14 @@ const legacyRuleActionsSavedObjectMappings: SavedObjectsType['mappings'] = { }, actions: { properties: { + actionRef: { + type: 'keyword', + }, group: { type: 'keyword', }, id: { + // "actions.id" is no longer used since the saved object references and "actionRef" was introduced. It is still here for legacy reasons such as migrations. type: 'keyword', }, action_type_id: { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_types.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_types.ts index 0573829755c79..36f81709b293f 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_types.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_types.ts @@ -6,7 +6,30 @@ */ import { SavedObjectAttributes } from 'kibana/server'; -import { RuleAlertAction } from '../../../../common/detection_engine/types'; +import { AlertActionParams } from '../../../../../alerting/common'; + +/** + * This was the pre-7.16 version of LegacyRuleAlertAction and how it was stored on disk pre-7.16. + * Post 7.16 this is how it is serialized from the saved object from disk since we are using saved object references. + * @deprecated Remove this once the legacy notification/side car is gone + */ +export interface LegacyRuleAlertAction { + group: string; + id: string; + params: AlertActionParams; + action_type_id: string; +} + +/** + * This is how it is stored on disk in its "raw format" for 7.16+ + * @deprecated Remove this once the legacy notification/side car is gone + */ +export interface LegacyRuleAlertSavedObjectAction { + group: string; + params: AlertActionParams; + action_type_id: string; + actionRef: string; +} /** * We keep this around to migrate and update data for the old deprecated rule actions saved object mapping but we @@ -16,8 +39,7 @@ import { RuleAlertAction } from '../../../../common/detection_engine/types'; */ // eslint-disable-next-line @typescript-eslint/no-explicit-any export interface LegacyIRuleActionsAttributes extends Record<string, any> { - ruleAlertId: string; - actions: RuleAlertAction[]; + actions: LegacyRuleAlertSavedObjectAction[]; ruleThrottle: string; alertThrottle: string | null; } @@ -37,7 +59,7 @@ export interface LegacyIRuleActionsAttributesSavedObjectAttributes */ export interface LegacyRuleActions { id: string; - actions: RuleAlertAction[]; + actions: LegacyRuleAlertAction[]; ruleThrottle: string; alertThrottle: string | null; } diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_update_or_create_rule_actions_saved_object.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_update_or_create_rule_actions_saved_object.ts index ce78bf92af490..d56d4ff921bd3 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_update_or_create_rule_actions_saved_object.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_update_or_create_rule_actions_saved_object.ts @@ -5,16 +5,16 @@ * 2.0. */ +import { Logger } from 'src/core/server'; import { AlertAction } from '../../../../../alerting/common'; import { AlertServices } from '../../../../../alerting/server'; + // eslint-disable-next-line no-restricted-imports import { legacyGetRuleActionsSavedObject } from './legacy_get_rule_actions_saved_object'; // eslint-disable-next-line no-restricted-imports import { legacyCreateRuleActionsSavedObject } from './legacy_create_rule_actions_saved_object'; // eslint-disable-next-line no-restricted-imports import { legacyUpdateRuleActionsSavedObject } from './legacy_update_rule_actions_saved_object'; -// eslint-disable-next-line no-restricted-imports -import { LegacyRuleActions } from './legacy_types'; /** * @deprecated Once we are confident all rules relying on side-car actions SO's have been migrated to SO references we should remove this function @@ -24,20 +24,26 @@ interface LegacyUpdateOrCreateRuleActionsSavedObject { savedObjectsClient: AlertServices['savedObjectsClient']; actions: AlertAction[] | undefined; throttle: string | null | undefined; + logger: Logger; } /** + * NOTE: This should _only_ be seen to be used within the legacy route of "legacyCreateLegacyNotificationRoute" and not exposed and not + * used anywhere else. If you see it being used anywhere else, that would be a bug. * @deprecated Once we are confident all rules relying on side-car actions SO's have been migrated to SO references we should remove this function + * @see legacyCreateLegacyNotificationRoute */ export const legacyUpdateOrCreateRuleActionsSavedObject = async ({ savedObjectsClient, ruleAlertId, actions, throttle, -}: LegacyUpdateOrCreateRuleActionsSavedObject): Promise<LegacyRuleActions> => { + logger, +}: LegacyUpdateOrCreateRuleActionsSavedObject): Promise<void> => { const ruleActions = await legacyGetRuleActionsSavedObject({ ruleAlertId, savedObjectsClient, + logger, }); if (ruleActions != null) { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_update_rule_actions_saved_object.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_update_rule_actions_saved_object.ts index 84c64c6a0d531..fbbbda24e48be 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_update_rule_actions_saved_object.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_update_rule_actions_saved_object.ts @@ -5,17 +5,23 @@ * 2.0. */ +import { SavedObjectReference } from 'kibana/server'; import { AlertServices } from '../../../../../alerting/server'; // eslint-disable-next-line no-restricted-imports import { legacyRuleActionsSavedObjectType } from './legacy_saved_object_mappings'; // eslint-disable-next-line no-restricted-imports import { LegacyRulesActionsSavedObject } from './legacy_get_rule_actions_saved_object'; // eslint-disable-next-line no-restricted-imports -import { legacyGetThrottleOptions } from './legacy_utils'; +import { + legacyGetActionReference, + legacyGetRuleReference, + legacyGetThrottleOptions, + legacyTransformActionToReference, + legacyTransformLegacyRuleAlertActionToReference, +} from './legacy_utils'; // eslint-disable-next-line no-restricted-imports import { LegacyIRuleActionsAttributesSavedObjectAttributes } from './legacy_types'; import { AlertAction } from '../../../../../alerting/common'; -import { transformAlertToRuleAction } from '../../../../common/detection_engine/transform_actions'; /** * @deprecated Once we are confident all rules relying on side-car actions SO's have been migrated to SO references we should remove this function @@ -29,6 +35,8 @@ interface LegacyUpdateRuleActionsSavedObject { } /** + * NOTE: This should _only_ be seen to be used within the legacy route of "legacyCreateLegacyNotificationRoute" and not exposed and not + * used anywhere else. If you see it being used anywhere else, that would be a bug. * @deprecated Once we are confident all rules relying on side-car actions SO's have been migrated to SO references we should remove this function */ export const legacyUpdateRuleActionsSavedObject = async ({ @@ -37,7 +45,14 @@ export const legacyUpdateRuleActionsSavedObject = async ({ actions, throttle, ruleActions, -}: LegacyUpdateRuleActionsSavedObject): Promise<LegacyRulesActionsSavedObject> => { +}: LegacyUpdateRuleActionsSavedObject): Promise<void> => { + const referenceWithAlertId = [legacyGetRuleReference(ruleAlertId)]; + const actionReferences = + actions != null + ? actions.map((action, index) => legacyGetActionReference(action.id, index)) + : ruleActions.actions.map((action, index) => legacyGetActionReference(action.id, index)); + + const references: SavedObjectReference[] = [...referenceWithAlertId, ...actionReferences]; const throttleOptions = throttle ? legacyGetThrottleOptions(throttle) : { @@ -45,25 +60,20 @@ export const legacyUpdateRuleActionsSavedObject = async ({ alertThrottle: ruleActions.alertThrottle, }; - const options = { + const attributes: LegacyIRuleActionsAttributesSavedObjectAttributes = { actions: actions != null - ? actions.map((action) => transformAlertToRuleAction(action)) - : ruleActions.actions, + ? actions.map((alertAction, index) => legacyTransformActionToReference(alertAction, index)) + : ruleActions.actions.map((alertAction, index) => + legacyTransformLegacyRuleAlertActionToReference(alertAction, index) + ), ...throttleOptions, }; await savedObjectsClient.update<LegacyIRuleActionsAttributesSavedObjectAttributes>( legacyRuleActionsSavedObjectType, ruleActions.id, - { - ruleAlertId, - ...options, - } + attributes, + { references } ); - - return { - id: ruleActions.id, - ...options, - }; }; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_utils.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_utils.test.ts new file mode 100644 index 0000000000000..448548e96884b --- /dev/null +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_utils.test.ts @@ -0,0 +1,411 @@ +/* + * 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 { SavedObjectsUpdateResponse } from 'kibana/server'; +import { loggingSystemMock } from 'src/core/server/mocks'; + +import { AlertAction } from '../../../../../alerting/common'; + +// eslint-disable-next-line no-restricted-imports +import { legacyRuleActionsSavedObjectType } from './legacy_saved_object_mappings'; + +// eslint-disable-next-line no-restricted-imports +import { + LegacyIRuleActionsAttributesSavedObjectAttributes, + LegacyRuleAlertAction, +} from './legacy_types'; + +// eslint-disable-next-line no-restricted-imports +import { + legacyGetActionReference, + legacyGetRuleActionsFromSavedObject, + legacyGetRuleReference, + legacyGetThrottleOptions, + legacyTransformActionToReference, + legacyTransformLegacyRuleAlertActionToReference, +} from './legacy_utils'; + +describe('legacy_utils', () => { + describe('legacyGetRuleActionsFromSavedObject', () => { + type FuncReturn = ReturnType<typeof legacyGetRuleActionsFromSavedObject>; + let logger: ReturnType<typeof loggingSystemMock.createLogger>; + + beforeEach(() => { + logger = loggingSystemMock.createLogger(); + }); + + test('returns no_actions and an alert throttle of null if nothing is in the references or in the attributes', async () => { + const savedObject: SavedObjectsUpdateResponse<LegacyIRuleActionsAttributesSavedObjectAttributes> = + { + id: '123', + type: legacyRuleActionsSavedObjectType, + references: [], + attributes: {}, + }; + expect(legacyGetRuleActionsFromSavedObject(savedObject, logger)).toEqual<FuncReturn>({ + actions: [], + alertThrottle: null, + id: '123', + ruleThrottle: 'no_actions', + }); + }); + + test('returns "no_throttle" if the rule throttle is not set', async () => { + const savedObject: SavedObjectsUpdateResponse<LegacyIRuleActionsAttributesSavedObjectAttributes> = + { + id: '123', + type: legacyRuleActionsSavedObjectType, + references: [ + { + name: 'alert_0', + id: 'alert-123', + type: 'alert', + }, + ], + attributes: { + actions: [], + }, + }; + expect(legacyGetRuleActionsFromSavedObject(savedObject, logger)).toEqual<FuncReturn>({ + actions: [], + alertThrottle: null, + id: '123', + ruleThrottle: 'no_actions', + }); + }); + + test('returns 1 action transformed through the find if 1 was found for 1 single alert id', async () => { + const savedObject: SavedObjectsUpdateResponse<LegacyIRuleActionsAttributesSavedObjectAttributes> = + { + id: '123', + type: legacyRuleActionsSavedObjectType, + references: [ + { + name: 'alert_0', + id: 'alert-123', + type: 'alert', + }, + { + name: 'action_0', + id: 'action-123', + type: 'action', + }, + ], + attributes: { + actions: [ + { + group: 'group_1', + params: {}, + action_type_id: 'action_type_1', + actionRef: 'action_0', + }, + ], + ruleThrottle: '1d', + alertThrottle: '1d', + }, + }; + expect(legacyGetRuleActionsFromSavedObject(savedObject, logger)).toEqual<FuncReturn>({ + actions: [ + { + action_type_id: 'action_type_1', + group: 'group_1', + id: 'action-123', + params: {}, + }, + ], + alertThrottle: '1d', + id: '123', + ruleThrottle: '1d', + }); + }); + + test('returns 2 actions transformed through the find if 1 was found for 1 single alert id', async () => { + const savedObject: SavedObjectsUpdateResponse<LegacyIRuleActionsAttributesSavedObjectAttributes> = + { + id: '123', + type: legacyRuleActionsSavedObjectType, + references: [ + { + name: 'alert_0', + id: 'alert-123', + type: 'alert', + }, + { + name: 'action_0', + id: 'action-123', + type: 'action', + }, + { + name: 'action_1', + id: 'action-456', + type: 'action', + }, + ], + attributes: { + actions: [ + { + group: 'group_1', + params: {}, + action_type_id: 'action_type_1', + actionRef: 'action_0', + }, + { + group: 'group_2', + params: {}, + action_type_id: 'action_type_2', + actionRef: 'action_1', + }, + ], + ruleThrottle: '1d', + alertThrottle: '1d', + }, + }; + expect(legacyGetRuleActionsFromSavedObject(savedObject, logger)).toEqual<FuncReturn>({ + id: '123', + alertThrottle: '1d', + ruleThrottle: '1d', + actions: [ + { + action_type_id: 'action_type_1', + group: 'group_1', + id: 'action-123', + params: {}, + }, + { + action_type_id: 'action_type_2', + group: 'group_2', + id: 'action-456', + params: {}, + }, + ], + }); + }); + + test('returns 1 action transformed through the find if 1 was found for 1 single alert id a but a 2nd was not', async () => { + const savedObject: SavedObjectsUpdateResponse<LegacyIRuleActionsAttributesSavedObjectAttributes> = + { + id: '123', + type: legacyRuleActionsSavedObjectType, + references: [ + { + name: 'alert_0', + id: 'alert-123', + type: 'alert', + }, + { + name: 'action_1', + id: 'action-456', + type: 'action', + }, + ], + attributes: { + actions: [ + { + group: 'group_1', + params: {}, + action_type_id: 'action_type_1', + actionRef: 'action_0', + }, + { + group: 'group_2', + params: {}, + action_type_id: 'action_type_2', + actionRef: 'action_1', + }, + ], + ruleThrottle: '1d', + alertThrottle: '1d', + }, + }; + expect(legacyGetRuleActionsFromSavedObject(savedObject, logger)).toEqual<FuncReturn>({ + id: '123', + alertThrottle: '1d', + ruleThrottle: '1d', + actions: [ + { + action_type_id: 'action_type_2', + group: 'group_2', + id: 'action-456', + params: {}, + }, + ], + }); + }); + + test('returns empty actions array and "no_actions" if it cannot be found in the references', async () => { + const savedObject: SavedObjectsUpdateResponse<LegacyIRuleActionsAttributesSavedObjectAttributes> = + { + id: '123', + type: legacyRuleActionsSavedObjectType, + references: [ + { + name: 'alert_0', + id: 'alert-123', + type: 'alert', + }, + ], + attributes: { + actions: [ + { + group: 'group_1', + params: {}, + action_type_id: 'action_type_1', + actionRef: 'action_0', + }, + ], + ruleThrottle: 'no_actions', + alertThrottle: '1d', + }, + }; + expect(legacyGetRuleActionsFromSavedObject(savedObject, logger)).toEqual<FuncReturn>({ + actions: [], + alertThrottle: '1d', + id: '123', + ruleThrottle: 'no_actions', + }); + }); + }); + + describe('legacyGetThrottleOptions', () => { + type FuncReturn = ReturnType<typeof legacyGetThrottleOptions>; + + test('it returns "no_actions" and "alertThrottle" set to "null" if given no throttle', () => { + expect(legacyGetThrottleOptions()).toEqual<FuncReturn>({ + alertThrottle: null, + ruleThrottle: 'no_actions', + }); + }); + + test('it returns "no_actions" and "alertThrottle" set to "null" if given a null throttle', () => { + expect(legacyGetThrottleOptions(null)).toEqual<FuncReturn>({ + alertThrottle: null, + ruleThrottle: 'no_actions', + }); + }); + + test('it returns "1d" if given a "1d" throttle', () => { + expect(legacyGetThrottleOptions('1d')).toEqual<FuncReturn>({ + alertThrottle: '1d', + ruleThrottle: '1d', + }); + }); + + test('it returns null and "no_actions" if given a "no_actions"', () => { + expect(legacyGetThrottleOptions('no_actions')).toEqual<FuncReturn>({ + alertThrottle: null, + ruleThrottle: 'no_actions', + }); + }); + + test('it returns null and "rule" if given a "rule"', () => { + expect(legacyGetThrottleOptions('rule')).toEqual<FuncReturn>({ + alertThrottle: null, + ruleThrottle: 'rule', + }); + }); + }); + + describe('legacyGetRuleReference', () => { + type FuncReturn = ReturnType<typeof legacyGetRuleReference>; + + test('it returns the id transformed', () => { + expect(legacyGetRuleReference('123')).toEqual<FuncReturn>({ + id: '123', + name: 'alert_0', + type: 'alert', + }); + }); + }); + + describe('legacyGetActionReference', () => { + type FuncReturn = ReturnType<typeof legacyGetActionReference>; + + test('it returns the id and index transformed with the index at 0', () => { + expect(legacyGetActionReference('123', 0)).toEqual<FuncReturn>({ + id: '123', + name: 'action_0', + type: 'action', + }); + }); + + test('it returns the id and index transformed with the index at 1', () => { + expect(legacyGetActionReference('123', 1)).toEqual<FuncReturn>({ + id: '123', + name: 'action_1', + type: 'action', + }); + }); + }); + + describe('legacyTransformActionToReference', () => { + type FuncReturn = ReturnType<typeof legacyTransformActionToReference>; + const alertAction: AlertAction = { + id: '123', + group: 'group_1', + params: { + test: '123', + }, + actionTypeId: '567', + }; + + test('it returns the id and index transformed with the index at 0', () => { + expect(legacyTransformActionToReference(alertAction, 0)).toEqual<FuncReturn>({ + actionRef: 'action_0', + action_type_id: '567', + group: 'group_1', + params: { + test: '123', + }, + }); + }); + + test('it returns the id and index transformed with the index at 1', () => { + expect(legacyTransformActionToReference(alertAction, 1)).toEqual<FuncReturn>({ + actionRef: 'action_1', + action_type_id: '567', + group: 'group_1', + params: { + test: '123', + }, + }); + }); + }); + + describe('legacyTransformLegacyRuleAlertActionToReference', () => { + type FuncReturn = ReturnType<typeof legacyTransformLegacyRuleAlertActionToReference>; + const alertAction: LegacyRuleAlertAction = { + id: '123', + group: 'group_1', + params: { + test: '123', + }, + action_type_id: '567', + }; + + test('it returns the id and index transformed with the index at 0', () => { + expect(legacyTransformLegacyRuleAlertActionToReference(alertAction, 0)).toEqual<FuncReturn>({ + actionRef: 'action_0', + action_type_id: '567', + group: 'group_1', + params: { + test: '123', + }, + }); + }); + + test('it returns the id and index transformed with the index at 1', () => { + expect(legacyTransformLegacyRuleAlertActionToReference(alertAction, 1)).toEqual<FuncReturn>({ + actionRef: 'action_1', + action_type_id: '567', + group: 'group_1', + params: { + test: '123', + }, + }); + }); + }); +}); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_utils.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_utils.ts index 6be894c391b81..78f6c7419ae66 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_utils.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions/legacy_utils.ts @@ -6,9 +6,16 @@ */ import { SavedObjectsUpdateResponse } from 'kibana/server'; -import { RuleAlertAction } from '../../../../common/detection_engine/types'; +import { Logger } from 'src/core/server'; + +import { AlertAction } from '../../../../../alerting/common'; + // eslint-disable-next-line no-restricted-imports -import { LegacyIRuleActionsAttributesSavedObjectAttributes } from './legacy_types'; +import { + LegacyIRuleActionsAttributesSavedObjectAttributes, + LegacyRuleAlertAction, + LegacyRuleAlertSavedObjectAction, +} from './legacy_types'; /** * @deprecated Once we are confident all rules relying on side-car actions SO's have been migrated to SO references we should remove this function @@ -27,15 +34,105 @@ export const legacyGetThrottleOptions = ( * @deprecated Once we are confident all rules relying on side-car actions SO's have been migrated to SO references we should remove this function */ export const legacyGetRuleActionsFromSavedObject = ( - savedObject: SavedObjectsUpdateResponse<LegacyIRuleActionsAttributesSavedObjectAttributes> + savedObject: SavedObjectsUpdateResponse<LegacyIRuleActionsAttributesSavedObjectAttributes>, + logger: Logger ): { id: string; - actions: RuleAlertAction[]; + actions: LegacyRuleAlertAction[]; alertThrottle: string | null; ruleThrottle: string; -} => ({ - id: savedObject.id, - actions: savedObject.attributes.actions || [], - alertThrottle: savedObject.attributes.alertThrottle || null, - ruleThrottle: savedObject.attributes.ruleThrottle || 'no_actions', +} => { + const existingActions = savedObject.attributes.actions ?? []; + // We have to serialize the action from the saved object references + const actionsWithIdReplacedFromReference = existingActions.flatMap<LegacyRuleAlertAction>( + // eslint-disable-next-line @typescript-eslint/naming-convention + ({ group, params, action_type_id, actionRef }) => { + const found = savedObject.references?.find( + (reference) => actionRef === reference.name && reference.type === 'action' + ); + if (found) { + return [ + { + id: found.id, + group, + params, + action_type_id, + }, + ]; + } else { + // We cannot find it so we return no actions. This line should not be reached. + logger.error( + [ + 'Security Solution notification (Legacy) Expected to find an action within the action reference of:', + `${actionRef} inside of the references of ${savedObject.references} but did not. Skipping this action.`, + ].join('') + ); + return []; + } + } + ); + return { + id: savedObject.id, + actions: actionsWithIdReplacedFromReference, + alertThrottle: savedObject.attributes.alertThrottle || null, + ruleThrottle: + savedObject.attributes.ruleThrottle == null || actionsWithIdReplacedFromReference.length === 0 + ? 'no_actions' + : savedObject.attributes.ruleThrottle, + }; +}; + +/** + * Given an id this returns a legacy rule reference. + * @param id The id of the alert + * @deprecated Once we are confident all rules relying on side-car actions SO's have been migrated to SO references we should remove this function + */ +export const legacyGetRuleReference = (id: string) => ({ + id, + type: 'alert', + name: 'alert_0', +}); + +/** + * Given an id this returns a legacy action reference. + * @param id The id of the action + * @param index The index of the action + * @deprecated Once we are confident all rules relying on side-car actions SO's have been migrated to SO references we should remove this function + */ +export const legacyGetActionReference = (id: string, index: number) => ({ + id, + type: 'action', + name: `action_${index}`, +}); + +/** + * Given an alertAction this returns a transformed legacy action as a reference. + * @param alertAction The alertAction + * @param index The index of the action + * @deprecated Once we are confident all rules relying on side-car actions SO's have been migrated to SO references we should remove this function + */ +export const legacyTransformActionToReference = ( + alertAction: AlertAction, + index: number +): LegacyRuleAlertSavedObjectAction => ({ + actionRef: `action_${index}`, + group: alertAction.group, + params: alertAction.params, + action_type_id: alertAction.actionTypeId, +}); + +/** + * Given an alertAction this returns a transformed legacy action as a reference. + * @param alertAction The alertAction + * @param index The index of the action + * @deprecated Once we are confident all rules relying on side-car actions SO's have been migrated to SO references we should remove this function + */ +export const legacyTransformLegacyRuleAlertActionToReference = ( + alertAction: LegacyRuleAlertAction, + index: number +): LegacyRuleAlertSavedObjectAction => ({ + actionRef: `action_${index}`, + group: alertAction.group, + params: alertAction.params, + action_type_id: alertAction.action_type_id, }); diff --git a/x-pack/plugins/security_solution/server/lib/timeline/saved_object_mappings/notes.ts b/x-pack/plugins/security_solution/server/lib/timeline/saved_object_mappings/notes.ts index eda2478e7809d..444acbac4d147 100644 --- a/x-pack/plugins/security_solution/server/lib/timeline/saved_object_mappings/notes.ts +++ b/x-pack/plugins/security_solution/server/lib/timeline/saved_object_mappings/notes.ts @@ -36,7 +36,8 @@ export const noteSavedObjectMappings: SavedObjectsType['mappings'] = { export const noteType: SavedObjectsType = { name: noteSavedObjectType, hidden: false, - namespaceType: 'single', + namespaceType: 'multiple-isolated', + convertToMultiNamespaceTypeVersion: '8.0.0', mappings: noteSavedObjectMappings, migrations: notesMigrations, }; diff --git a/x-pack/plugins/security_solution/server/lib/timeline/saved_object_mappings/pinned_events.ts b/x-pack/plugins/security_solution/server/lib/timeline/saved_object_mappings/pinned_events.ts index 2f8e72ad763f9..f5ae5f38af3a2 100644 --- a/x-pack/plugins/security_solution/server/lib/timeline/saved_object_mappings/pinned_events.ts +++ b/x-pack/plugins/security_solution/server/lib/timeline/saved_object_mappings/pinned_events.ts @@ -33,7 +33,8 @@ export const pinnedEventSavedObjectMappings: SavedObjectsType['mappings'] = { export const pinnedEventType: SavedObjectsType = { name: pinnedEventSavedObjectType, hidden: false, - namespaceType: 'single', + namespaceType: 'multiple-isolated', + convertToMultiNamespaceTypeVersion: '8.0.0', mappings: pinnedEventSavedObjectMappings, migrations: pinnedEventsMigrations, }; diff --git a/x-pack/plugins/security_solution/server/lib/timeline/saved_object_mappings/timelines.ts b/x-pack/plugins/security_solution/server/lib/timeline/saved_object_mappings/timelines.ts index e1e3a454087f9..66c58c5f34446 100644 --- a/x-pack/plugins/security_solution/server/lib/timeline/saved_object_mappings/timelines.ts +++ b/x-pack/plugins/security_solution/server/lib/timeline/saved_object_mappings/timelines.ts @@ -318,7 +318,8 @@ export const timelineSavedObjectMappings: SavedObjectsType['mappings'] = { export const timelineType: SavedObjectsType = { name: timelineSavedObjectType, hidden: false, - namespaceType: 'single', + namespaceType: 'multiple-isolated', + convertToMultiNamespaceTypeVersion: '8.0.0', mappings: timelineSavedObjectMappings, migrations: timelinesMigrations, }; diff --git a/x-pack/plugins/security_solution/server/plugin.ts b/x-pack/plugins/security_solution/server/plugin.ts index f69565cacceb5..9c4d739e0f434 100644 --- a/x-pack/plugins/security_solution/server/plugin.ts +++ b/x-pack/plugins/security_solution/server/plugin.ts @@ -285,6 +285,7 @@ export class Plugin implements IPlugin<PluginSetup, PluginStart, SetupPlugins, S plugins.security, plugins.ml, ruleDataService, + this.logger, isRuleRegistryEnabled ); registerEndpointRoutes(router, endpointContext); diff --git a/x-pack/plugins/security_solution/server/routes/index.ts b/x-pack/plugins/security_solution/server/routes/index.ts index c4e50ae4f5a7b..d045c6b129e43 100644 --- a/x-pack/plugins/security_solution/server/routes/index.ts +++ b/x-pack/plugins/security_solution/server/routes/index.ts @@ -5,6 +5,7 @@ * 2.0. */ +import { Logger } from 'src/core/server'; import { RuleDataPluginService } from '../../../rule_registry/server'; import { SecuritySolutionPluginRouter } from '../types'; @@ -67,19 +68,20 @@ export const initRoutes = ( security: SetupPlugins['security'], ml: SetupPlugins['ml'], ruleDataService: RuleDataPluginService, + logger: Logger, isRuleRegistryEnabled: boolean ) => { // Detection Engine Rule routes that have the REST endpoints of /api/detection_engine/rules // All REST rule creation, deletion, updating, etc...... createRulesRoute(router, ml, isRuleRegistryEnabled); - readRulesRoute(router, isRuleRegistryEnabled); + readRulesRoute(router, logger, isRuleRegistryEnabled); updateRulesRoute(router, ml, isRuleRegistryEnabled); patchRulesRoute(router, ml, isRuleRegistryEnabled); deleteRulesRoute(router, isRuleRegistryEnabled); - findRulesRoute(router, isRuleRegistryEnabled); + findRulesRoute(router, logger, isRuleRegistryEnabled); // Once we no longer have the legacy notifications system/"side car actions" this should be removed. - legacyCreateLegacyNotificationRoute(router); + legacyCreateLegacyNotificationRoute(router, logger); // TODO: pass isRuleRegistryEnabled to all relevant routes diff --git a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/index.test.ts b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/index.test.ts index b807806e18091..9aef01d953c82 100644 --- a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/index.test.ts +++ b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/index.test.ts @@ -10,7 +10,8 @@ import { HostsQueries, HostsKpiQueries } from '../../../../../common/search_stra import { allHosts } from './all'; import { hostDetails } from './details'; import { hostOverview } from './overview'; -import { riskyHosts } from './risky_hosts'; + +import { riskScore } from './risk_score'; import { firstOrLastSeenHost } from './last_first_seen'; import { uncommonProcesses } from './uncommon_processes'; import { authentications, authenticationsEntities } from './authentications'; @@ -27,7 +28,7 @@ jest.mock('./authentications'); jest.mock('./kpi/authentications'); jest.mock('./kpi/hosts'); jest.mock('./kpi/unique_ips'); -jest.mock('./risky_hosts'); +jest.mock('./risk_score'); describe('hostsFactory', () => { test('should include correct apis', () => { @@ -39,7 +40,7 @@ describe('hostsFactory', () => { [HostsQueries.uncommonProcesses]: uncommonProcesses, [HostsQueries.authentications]: authentications, [HostsQueries.authenticationsEntities]: authenticationsEntities, - [HostsQueries.riskyHosts]: riskyHosts, + [HostsQueries.hostsRiskScore]: riskScore, [HostsKpiQueries.kpiAuthentications]: hostsKpiAuthentications, [HostsKpiQueries.kpiAuthenticationsEntities]: hostsKpiAuthenticationsEntities, [HostsKpiQueries.kpiHosts]: hostsKpiHosts, diff --git a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/index.ts b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/index.ts index d067dacfc5290..5b501099a21ed 100644 --- a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/index.ts +++ b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/index.ts @@ -21,7 +21,7 @@ import { authentications, authenticationsEntities } from './authentications'; import { hostsKpiAuthentications, hostsKpiAuthenticationsEntities } from './kpi/authentications'; import { hostsKpiHosts, hostsKpiHostsEntities } from './kpi/hosts'; import { hostsKpiUniqueIps, hostsKpiUniqueIpsEntities } from './kpi/unique_ips'; -import { riskyHosts } from './risky_hosts'; +import { riskScore } from './risk_score'; export const hostsFactory: Record< HostsQueries | HostsKpiQueries, @@ -35,7 +35,7 @@ export const hostsFactory: Record< [HostsQueries.uncommonProcesses]: uncommonProcesses, [HostsQueries.authentications]: authentications, [HostsQueries.authenticationsEntities]: authenticationsEntities, - [HostsQueries.riskyHosts]: riskyHosts, + [HostsQueries.hostsRiskScore]: riskScore, [HostsKpiQueries.kpiAuthentications]: hostsKpiAuthentications, [HostsKpiQueries.kpiAuthenticationsEntities]: hostsKpiAuthenticationsEntities, [HostsKpiQueries.kpiHosts]: hostsKpiHosts, diff --git a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/risky_hosts/index.ts b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/risk_score/index.ts similarity index 51% rename from x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/risky_hosts/index.ts rename to x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/risk_score/index.ts index 0b2fd1c00c3df..2a440ad614d93 100644 --- a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/risky_hosts/index.ts +++ b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/risk_score/index.ts @@ -6,23 +6,23 @@ */ import { SecuritySolutionFactory } from '../../types'; -import { HostsQueries } from '../../../../../../common'; +import { + HostsRiskScoreRequestOptions, + HostsQueries, + HostsRiskScoreStrategyResponse, +} from '../../../../../../common'; import { IEsSearchResponse } from '../../../../../../../../../src/plugins/data/common'; import { inspectStringifyObject } from '../../../../../utils/build_query'; -import { buildRiskyHostsQuery } from './query.risky_hosts.dsl'; -import { - HostsRiskyHostsRequestOptions, - HostsRiskyHostsStrategyResponse, -} from '../../../../../../common/search_strategy/security_solution/hosts/risky_hosts'; +import { buildHostsRiskScoreQuery } from './query.hosts_risk.dsl'; -export const riskyHosts: SecuritySolutionFactory<HostsQueries.riskyHosts> = { - buildDsl: (options: HostsRiskyHostsRequestOptions) => buildRiskyHostsQuery(options), +export const riskScore: SecuritySolutionFactory<HostsQueries.hostsRiskScore> = { + buildDsl: (options: HostsRiskScoreRequestOptions) => buildHostsRiskScoreQuery(options), parse: async ( - options: HostsRiskyHostsRequestOptions, + options: HostsRiskScoreRequestOptions, response: IEsSearchResponse<unknown> - ): Promise<HostsRiskyHostsStrategyResponse> => { + ): Promise<HostsRiskScoreStrategyResponse> => { const inspect = { - dsl: [inspectStringifyObject(buildRiskyHostsQuery(options))], + dsl: [inspectStringifyObject(buildHostsRiskScoreQuery(options))], }; return { diff --git a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/risky_hosts/query.risky_hosts.dsl.ts b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/risk_score/query.hosts_risk.dsl.ts similarity index 58% rename from x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/risky_hosts/query.risky_hosts.dsl.ts rename to x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/risk_score/query.hosts_risk.dsl.ts index 79b6a91ff403c..43930ab3de2ef 100644 --- a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/risky_hosts/query.risky_hosts.dsl.ts +++ b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/hosts/risk_score/query.hosts_risk.dsl.ts @@ -5,26 +5,30 @@ * 2.0. */ -import { HostsRiskyHostsRequestOptions } from '../../../../../../common/search_strategy/security_solution/hosts/risky_hosts'; -import { createQueryFilterClauses } from '../../../../../utils/build_query'; +import { HostsRiskScoreRequestOptions } from '../../../../../../common'; -export const buildRiskyHostsQuery = ({ - filterQuery, - timerange: { from, to }, +export const buildHostsRiskScoreQuery = ({ + timerange, + hostName, defaultIndex, -}: HostsRiskyHostsRequestOptions) => { - const filter = [ - ...createQueryFilterClauses(filterQuery), - { +}: HostsRiskScoreRequestOptions) => { + const filter = []; + + if (timerange) { + filter.push({ range: { '@timestamp': { - gte: from, - lte: to, + gte: timerange.from, + lte: timerange.to, format: 'strict_date_optional_time', }, }, - }, - ]; + }); + } + + if (hostName) { + filter.push({ term: { 'host.name': hostName } }); + } const dslQuery = { index: defaultIndex, diff --git a/x-pack/plugins/spaces/public/mocks.ts b/x-pack/plugins/spaces/public/mocks.ts index 897f58e1d649c..76cafd4c7f5ae 100644 --- a/x-pack/plugins/spaces/public/mocks.ts +++ b/x-pack/plugins/spaces/public/mocks.ts @@ -41,6 +41,7 @@ const createApiUiComponentsMock = () => { getSpaceList: jest.fn(), getLegacyUrlConflict: jest.fn(), getSpaceAvatar: jest.fn(), + getSavedObjectConflictMessage: jest.fn(), }; return mock; diff --git a/x-pack/plugins/spaces/public/share_saved_objects_to_space/components/get_saved_object_conflict_message.tsx b/x-pack/plugins/spaces/public/share_saved_objects_to_space/components/get_saved_object_conflict_message.tsx new file mode 100644 index 0000000000000..66b2a5652057a --- /dev/null +++ b/x-pack/plugins/spaces/public/share_saved_objects_to_space/components/get_saved_object_conflict_message.tsx @@ -0,0 +1,19 @@ +/* + * 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 React from 'react'; + +import type { SavedObjectConflictMessageProps } from '../types'; + +export const getSavedObjectConflictMessage = async (): Promise< + React.FC<SavedObjectConflictMessageProps> +> => { + const { SavedObjectConflictMessage } = await import('./saved_object_conflict_message'); + return (props: SavedObjectConflictMessageProps) => { + return <SavedObjectConflictMessage {...props} />; + }; +}; diff --git a/x-pack/plugins/spaces/public/share_saved_objects_to_space/components/index.ts b/x-pack/plugins/spaces/public/share_saved_objects_to_space/components/index.ts index c0828e3b5331d..fa641d03fd715 100644 --- a/x-pack/plugins/spaces/public/share_saved_objects_to_space/components/index.ts +++ b/x-pack/plugins/spaces/public/share_saved_objects_to_space/components/index.ts @@ -6,4 +6,5 @@ */ export { getShareToSpaceFlyoutComponent } from './share_to_space_flyout'; +export { getSavedObjectConflictMessage } from './get_saved_object_conflict_message'; export { getLegacyUrlConflict } from './legacy_url_conflict'; diff --git a/x-pack/plugins/spaces/public/share_saved_objects_to_space/components/saved_object_conflict_message.tsx b/x-pack/plugins/spaces/public/share_saved_objects_to_space/components/saved_object_conflict_message.tsx new file mode 100644 index 0000000000000..22a1ad7cd20aa --- /dev/null +++ b/x-pack/plugins/spaces/public/share_saved_objects_to_space/components/saved_object_conflict_message.tsx @@ -0,0 +1,56 @@ +/* + * 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 { EuiButtonEmpty, EuiCallOut, EuiLink, EuiSpacer } from '@elastic/eui'; +import React, { useState } from 'react'; + +import { i18n } from '@kbn/i18n'; +import { FormattedMessage } from '@kbn/i18n/react'; + +import type { SavedObjectConflictMessageProps } from '../types'; + +export const SavedObjectConflictMessage = ({ json }: SavedObjectConflictMessageProps) => { + const [expandError, setExpandError] = useState(false); + return ( + <> + <FormattedMessage + id="xpack.spaces.legacyURLConflict.longMessage" + defaultMessage="Disable the {documentationLink} associated with this object." + values={{ + documentationLink: ( + <EuiLink + external + href="https://www.elastic.co/guide/en/kibana/master/legacy-url-aliases.html" + target="_blank" + > + {i18n.translate('xpack.spaces.legacyURLConflict.documentationLinkText', { + defaultMessage: 'legacy URL alias', + })} + </EuiLink> + ), + }} + /> + <EuiSpacer /> + {expandError ? ( + <EuiCallOut + title={i18n.translate('xpack.spaces.legacyURLConflict.expandErrorText', { + defaultMessage: `This object has the same URL as a legacy alias. Disable the alias to resolve this error : {json}`, + values: { json }, + })} + color="danger" + iconType="alert" + /> + ) : ( + <EuiButtonEmpty onClick={() => setExpandError(true)}> + {i18n.translate('xpack.spaces.legacyURLConflict.expandError', { + defaultMessage: `Show more`, + })} + </EuiButtonEmpty> + )} + </> + ); +}; diff --git a/x-pack/plugins/spaces/public/share_saved_objects_to_space/index.ts b/x-pack/plugins/spaces/public/share_saved_objects_to_space/index.ts index fe90ee8d6a8a9..465fd179c8441 100644 --- a/x-pack/plugins/spaces/public/share_saved_objects_to_space/index.ts +++ b/x-pack/plugins/spaces/public/share_saved_objects_to_space/index.ts @@ -5,10 +5,15 @@ * 2.0. */ -export { getShareToSpaceFlyoutComponent, getLegacyUrlConflict } from './components'; +export { + getShareToSpaceFlyoutComponent, + getLegacyUrlConflict, + getSavedObjectConflictMessage, +} from './components'; export { createRedirectLegacyUrl } from './utils'; export type { LegacyUrlConflictProps, ShareToSpaceFlyoutProps, ShareToSpaceSavedObjectTarget, + SavedObjectConflictMessageProps, } from './types'; diff --git a/x-pack/plugins/spaces/public/share_saved_objects_to_space/types.ts b/x-pack/plugins/spaces/public/share_saved_objects_to_space/types.ts index 1beccaa546282..21290f2b90de5 100644 --- a/x-pack/plugins/spaces/public/share_saved_objects_to_space/types.ts +++ b/x-pack/plugins/spaces/public/share_saved_objects_to_space/types.ts @@ -140,3 +140,10 @@ export interface ShareToSpaceSavedObjectTarget { */ noun?: string; } + +/** + * Properties for the SavedObjectConflictMessage component. + */ +export interface SavedObjectConflictMessageProps { + json: string; +} diff --git a/x-pack/plugins/spaces/public/ui_api/components.tsx b/x-pack/plugins/spaces/public/ui_api/components.tsx index a33480712ffae..71dc2e34a0d70 100644 --- a/x-pack/plugins/spaces/public/ui_api/components.tsx +++ b/x-pack/plugins/spaces/public/ui_api/components.tsx @@ -14,6 +14,7 @@ import { getCopyToSpaceFlyoutComponent } from '../copy_saved_objects_to_space'; import type { PluginsStart } from '../plugin'; import { getLegacyUrlConflict, + getSavedObjectConflictMessage, getShareToSpaceFlyoutComponent, } from '../share_saved_objects_to_space'; import { getSpaceAvatarComponent } from '../space_avatar'; @@ -56,5 +57,6 @@ export const getComponents = ({ getSpaceList: wrapLazy(getSpaceListComponent), getLegacyUrlConflict: wrapLazy(() => getLegacyUrlConflict({ getStartServices })), getSpaceAvatar: wrapLazy(getSpaceAvatarComponent), + getSavedObjectConflictMessage: wrapLazy(() => getSavedObjectConflictMessage()), }; }; diff --git a/x-pack/plugins/spaces/public/ui_api/types.ts b/x-pack/plugins/spaces/public/ui_api/types.ts index 5048e5a9b9652..67e43f0cd31a6 100644 --- a/x-pack/plugins/spaces/public/ui_api/types.ts +++ b/x-pack/plugins/spaces/public/ui_api/types.ts @@ -12,6 +12,7 @@ import type { CoreStart } from 'src/core/public'; import type { CopyToSpaceFlyoutProps } from '../copy_saved_objects_to_space'; import type { LegacyUrlConflictProps, + SavedObjectConflictMessageProps, ShareToSpaceFlyoutProps, } from '../share_saved_objects_to_space'; import type { SpaceAvatarProps } from '../space_avatar'; @@ -109,4 +110,8 @@ export interface SpacesApiUiComponent { * Displays an avatar for the given space. */ getSpaceAvatar: LazyComponentFn<SpaceAvatarProps>; + /** + * Displays a saved object conflict message that directs user to disable legacy URL alias + */ + getSavedObjectConflictMessage: LazyComponentFn<SavedObjectConflictMessageProps>; } diff --git a/x-pack/plugins/spaces/server/config.test.ts b/x-pack/plugins/spaces/server/config.test.ts index dfaaff832696e..e8c8b02ef93c2 100644 --- a/x-pack/plugins/spaces/server/config.test.ts +++ b/x-pack/plugins/spaces/server/config.test.ts @@ -8,8 +8,11 @@ import { applyDeprecations, configDeprecationFactory } from '@kbn/config'; import { deepFreeze } from '@kbn/std'; +import { configDeprecationsMock } from '../../../../src/core/server/mocks'; import { spacesConfigDeprecationProvider } from './config'; +const deprecationContext = configDeprecationsMock.createContext(); + const applyConfigDeprecations = (settings: Record<string, any> = {}) => { const deprecations = spacesConfigDeprecationProvider(configDeprecationFactory); const deprecationMessages: string[] = []; @@ -18,6 +21,7 @@ const applyConfigDeprecations = (settings: Record<string, any> = {}) => { deprecations.map((deprecation) => ({ deprecation, path: '', + context: deprecationContext, })), () => ({ message }) => diff --git a/x-pack/plugins/stack_alerts/common/config.ts b/x-pack/plugins/stack_alerts/common/config.ts index ebc12ee563350..e1eb28f092408 100644 --- a/x-pack/plugins/stack_alerts/common/config.ts +++ b/x-pack/plugins/stack_alerts/common/config.ts @@ -7,8 +7,6 @@ import { schema, TypeOf } from '@kbn/config-schema'; -export const configSchema = schema.object({ - enabled: schema.boolean({ defaultValue: true }), -}); +export const configSchema = schema.object({}); export type Config = TypeOf<typeof configSchema>; diff --git a/x-pack/plugins/stack_alerts/server/feature.test.ts b/x-pack/plugins/stack_alerts/server/feature.test.ts index 2836dd1d6d8e7..61d0914fb7df1 100644 --- a/x-pack/plugins/stack_alerts/server/feature.test.ts +++ b/x-pack/plugins/stack_alerts/server/feature.test.ts @@ -32,10 +32,15 @@ describe('Stack Alerts Feature Privileges', () => { BUILT_IN_ALERTS_FEATURE.privileges?.all?.alerting?.rule?.all ?? []; const typesInFeaturePrivilegeRead = BUILT_IN_ALERTS_FEATURE.privileges?.read?.alerting?.rule?.read ?? []; - expect(alertingSetup.registerType.mock.calls.length).toEqual(typesInFeaturePrivilege.length); - expect(alertingSetup.registerType.mock.calls.length).toEqual(typesInFeaturePrivilegeAll.length); + // transform alerting rule is initialized during the transform plugin setup expect(alertingSetup.registerType.mock.calls.length).toEqual( - typesInFeaturePrivilegeRead.length + typesInFeaturePrivilege.length - 1 + ); + expect(alertingSetup.registerType.mock.calls.length).toEqual( + typesInFeaturePrivilegeAll.length - 1 + ); + expect(alertingSetup.registerType.mock.calls.length).toEqual( + typesInFeaturePrivilegeRead.length - 1 ); alertingSetup.registerType.mock.calls.forEach((call) => { diff --git a/x-pack/plugins/stack_alerts/server/feature.ts b/x-pack/plugins/stack_alerts/server/feature.ts index 70e68c2b7ced3..39ea41374df7b 100644 --- a/x-pack/plugins/stack_alerts/server/feature.ts +++ b/x-pack/plugins/stack_alerts/server/feature.ts @@ -12,6 +12,9 @@ import { GEO_CONTAINMENT_ID as GeoContainment } from './alert_types/geo_containm import { ES_QUERY_ID as ElasticsearchQuery } from './alert_types/es_query/alert_type'; import { STACK_ALERTS_FEATURE_ID } from '../common'; import { DEFAULT_APP_CATEGORIES } from '../../../../src/core/server'; +import { TRANSFORM_RULE_TYPE } from '../../transform/common'; + +const TransformHealth = TRANSFORM_RULE_TYPE.TRANSFORM_HEALTH; export const BUILT_IN_ALERTS_FEATURE: KibanaFeatureConfig = { id: STACK_ALERTS_FEATURE_ID, @@ -23,7 +26,7 @@ export const BUILT_IN_ALERTS_FEATURE: KibanaFeatureConfig = { management: { insightsAndAlerting: ['triggersActions'], }, - alerting: [IndexThreshold, GeoContainment, ElasticsearchQuery], + alerting: [IndexThreshold, GeoContainment, ElasticsearchQuery, TransformHealth], privileges: { all: { app: [], @@ -33,10 +36,10 @@ export const BUILT_IN_ALERTS_FEATURE: KibanaFeatureConfig = { }, alerting: { rule: { - all: [IndexThreshold, GeoContainment, ElasticsearchQuery], + all: [IndexThreshold, GeoContainment, ElasticsearchQuery, TransformHealth], }, alert: { - all: [IndexThreshold, GeoContainment, ElasticsearchQuery], + all: [IndexThreshold, GeoContainment, ElasticsearchQuery, TransformHealth], }, }, savedObject: { @@ -54,10 +57,10 @@ export const BUILT_IN_ALERTS_FEATURE: KibanaFeatureConfig = { }, alerting: { rule: { - read: [IndexThreshold, GeoContainment, ElasticsearchQuery], + read: [IndexThreshold, GeoContainment, ElasticsearchQuery, TransformHealth], }, alert: { - read: [IndexThreshold, GeoContainment, ElasticsearchQuery], + read: [IndexThreshold, GeoContainment, ElasticsearchQuery, TransformHealth], }, }, savedObject: { diff --git a/x-pack/plugins/stack_alerts/server/index.test.ts b/x-pack/plugins/stack_alerts/server/index.test.ts index 9f13996558ae6..7d66367f7d752 100644 --- a/x-pack/plugins/stack_alerts/server/index.test.ts +++ b/x-pack/plugins/stack_alerts/server/index.test.ts @@ -6,8 +6,11 @@ */ import { config } from './index'; import { applyDeprecations, configDeprecationFactory } from '@kbn/config'; +import { configDeprecationsMock } from '../../../../src/core/server/mocks'; const CONFIG_PATH = 'xpack.stack_alerts'; +const deprecationContext = configDeprecationsMock.createContext(); + const applyStackAlertDeprecations = (settings: Record<string, unknown> = {}) => { const deprecations = config.deprecations!(configDeprecationFactory); const deprecationMessages: string[] = []; @@ -19,6 +22,7 @@ const applyStackAlertDeprecations = (settings: Record<string, unknown> = {}) => deprecations.map((deprecation) => ({ deprecation, path: CONFIG_PATH, + context: deprecationContext, })), () => ({ message }) => diff --git a/x-pack/plugins/stack_alerts/tsconfig.json b/x-pack/plugins/stack_alerts/tsconfig.json index f3ae4509f35be..ab3864342e57d 100644 --- a/x-pack/plugins/stack_alerts/tsconfig.json +++ b/x-pack/plugins/stack_alerts/tsconfig.json @@ -19,6 +19,7 @@ { "path": "../triggers_actions_ui/tsconfig.json" }, { "path": "../../../src/plugins/kibana_react/tsconfig.json" }, { "path": "../../../src/plugins/saved_objects/tsconfig.json" }, - { "path": "../../../src/plugins/data/tsconfig.json" } + { "path": "../../../src/plugins/data/tsconfig.json" }, + { "path": "../transform/tsconfig.json" } ] } diff --git a/x-pack/plugins/task_manager/server/config.test.ts b/x-pack/plugins/task_manager/server/config.test.ts index e9701fc3e7c05..8d7a6c7872e7e 100644 --- a/x-pack/plugins/task_manager/server/config.test.ts +++ b/x-pack/plugins/task_manager/server/config.test.ts @@ -12,7 +12,6 @@ describe('config validation', () => { const config: Record<string, unknown> = {}; expect(configSchema.validate(config)).toMatchInlineSnapshot(` Object { - "enabled": true, "ephemeral_tasks": Object { "enabled": false, "request_capacity": 10, @@ -71,7 +70,6 @@ describe('config validation', () => { const config: Record<string, unknown> = {}; expect(configSchema.validate(config)).toMatchInlineSnapshot(` Object { - "enabled": true, "ephemeral_tasks": Object { "enabled": false, "request_capacity": 10, @@ -117,7 +115,6 @@ describe('config validation', () => { }; expect(configSchema.validate(config)).toMatchInlineSnapshot(` Object { - "enabled": true, "ephemeral_tasks": Object { "enabled": false, "request_capacity": 10, diff --git a/x-pack/plugins/task_manager/server/config.ts b/x-pack/plugins/task_manager/server/config.ts index 286a9feaa1b5e..f2026ecac3adc 100644 --- a/x-pack/plugins/task_manager/server/config.ts +++ b/x-pack/plugins/task_manager/server/config.ts @@ -43,7 +43,6 @@ export const taskExecutionFailureThresholdSchema = schema.object( export const configSchema = schema.object( { - enabled: schema.boolean({ defaultValue: true }), /* The maximum number of times a task will be attempted before being abandoned as failed */ max_attempts: schema.number({ defaultValue: 3, diff --git a/x-pack/plugins/task_manager/server/ephemeral_task_lifecycle.test.ts b/x-pack/plugins/task_manager/server/ephemeral_task_lifecycle.test.ts index 558aa108c2462..ec6f25b7f1b61 100644 --- a/x-pack/plugins/task_manager/server/ephemeral_task_lifecycle.test.ts +++ b/x-pack/plugins/task_manager/server/ephemeral_task_lifecycle.test.ts @@ -42,7 +42,6 @@ describe('EphemeralTaskLifecycle', () => { definitions: new TaskTypeDictionary(taskManagerLogger), executionContext, config: { - enabled: true, max_workers: 10, index: 'foo', max_attempts: 9, diff --git a/x-pack/plugins/task_manager/server/index.test.ts b/x-pack/plugins/task_manager/server/index.test.ts index 8419e826dfd31..ad2d598fe1082 100644 --- a/x-pack/plugins/task_manager/server/index.test.ts +++ b/x-pack/plugins/task_manager/server/index.test.ts @@ -7,9 +7,12 @@ import { config } from './index'; import { applyDeprecations, configDeprecationFactory } from '@kbn/config'; +import { configDeprecationsMock } from '../../../../src/core/server/mocks'; const CONFIG_PATH = 'xpack.task_manager'; +const deprecationContext = configDeprecationsMock.createContext(); + const applyTaskManagerDeprecations = (settings: Record<string, unknown> = {}) => { const deprecations = config.deprecations!(configDeprecationFactory); const deprecationMessages: string[] = []; @@ -21,6 +24,7 @@ const applyTaskManagerDeprecations = (settings: Record<string, unknown> = {}) => deprecations.map((deprecation) => ({ deprecation, path: CONFIG_PATH, + context: deprecationContext, })), () => ({ message }) => @@ -52,13 +56,4 @@ describe('deprecations', () => { ] `); }); - - it('logs a deprecation warning for the enabled config', () => { - const { messages } = applyTaskManagerDeprecations({ enabled: true }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"xpack.task_manager.enabled\\" is deprecated. The ability to disable this plugin will be removed in 8.0.0.", - ] - `); - }); }); diff --git a/x-pack/plugins/task_manager/server/index.ts b/x-pack/plugins/task_manager/server/index.ts index 368b5a3441778..7667a18fcef54 100644 --- a/x-pack/plugins/task_manager/server/index.ts +++ b/x-pack/plugins/task_manager/server/index.ts @@ -41,6 +41,9 @@ export type { export const config: PluginConfigDescriptor<TaskManagerConfig> = { schema: configSchema, + exposeToUsage: { + max_workers: true, + }, deprecations: () => [ (settings, fromPath, addDeprecation) => { const taskManager = get(settings, fromPath); @@ -68,16 +71,5 @@ export const config: PluginConfigDescriptor<TaskManagerConfig> = { }); } }, - (settings, fromPath, addDeprecation) => { - const taskManager = get(settings, fromPath); - if (taskManager?.enabled === false || taskManager?.enabled === true) { - addDeprecation({ - message: `"xpack.task_manager.enabled" is deprecated. The ability to disable this plugin will be removed in 8.0.0.`, - correctiveActions: { - manualSteps: [`Remove "xpack.task_manager.enabled" from your kibana configs.`], - }, - }); - } - }, ], }; diff --git a/x-pack/plugins/task_manager/server/integration_tests/managed_configuration.test.ts b/x-pack/plugins/task_manager/server/integration_tests/managed_configuration.test.ts index f714fd36c2658..c9cc5be2d5cd6 100644 --- a/x-pack/plugins/task_manager/server/integration_tests/managed_configuration.test.ts +++ b/x-pack/plugins/task_manager/server/integration_tests/managed_configuration.test.ts @@ -29,7 +29,6 @@ describe('managed configuration', () => { clock = sinon.useFakeTimers(); const context = coreMock.createPluginInitializerContext<TaskManagerConfig>({ - enabled: true, max_workers: 10, index: 'foo', max_attempts: 9, diff --git a/x-pack/plugins/task_manager/server/monitoring/configuration_statistics.test.ts b/x-pack/plugins/task_manager/server/monitoring/configuration_statistics.test.ts index 6e88e9803add2..bbd5bc217ae3b 100644 --- a/x-pack/plugins/task_manager/server/monitoring/configuration_statistics.test.ts +++ b/x-pack/plugins/task_manager/server/monitoring/configuration_statistics.test.ts @@ -13,7 +13,6 @@ import { TaskManagerConfig } from '../config'; describe('Configuration Statistics Aggregator', () => { test('merges the static config with the merged configs', async () => { const configuration: TaskManagerConfig = { - enabled: true, max_workers: 10, index: 'foo', max_attempts: 9, diff --git a/x-pack/plugins/task_manager/server/monitoring/monitoring_stats_stream.test.ts b/x-pack/plugins/task_manager/server/monitoring/monitoring_stats_stream.test.ts index ec94d9df1a4dc..e29dbc978c64a 100644 --- a/x-pack/plugins/task_manager/server/monitoring/monitoring_stats_stream.test.ts +++ b/x-pack/plugins/task_manager/server/monitoring/monitoring_stats_stream.test.ts @@ -17,7 +17,6 @@ beforeEach(() => { describe('createMonitoringStatsStream', () => { const configuration: TaskManagerConfig = { - enabled: true, max_workers: 10, index: 'foo', max_attempts: 9, diff --git a/x-pack/plugins/task_manager/server/plugin.test.ts b/x-pack/plugins/task_manager/server/plugin.test.ts index c47f006eca415..c2345d7bf8193 100644 --- a/x-pack/plugins/task_manager/server/plugin.test.ts +++ b/x-pack/plugins/task_manager/server/plugin.test.ts @@ -16,7 +16,6 @@ describe('TaskManagerPlugin', () => { describe('setup', () => { test('throws if no valid UUID is available', async () => { const pluginInitializerContext = coreMock.createPluginInitializerContext<TaskManagerConfig>({ - enabled: true, max_workers: 10, index: 'foo', max_attempts: 9, @@ -59,7 +58,6 @@ describe('TaskManagerPlugin', () => { test('throws if setup methods are called after start', async () => { const pluginInitializerContext = coreMock.createPluginInitializerContext<TaskManagerConfig>({ - enabled: true, max_workers: 10, index: 'foo', max_attempts: 9, @@ -131,7 +129,6 @@ describe('TaskManagerPlugin', () => { test('it logs a warning when the unsafe `exclude_task_types` config is used', async () => { const pluginInitializerContext = coreMock.createPluginInitializerContext<TaskManagerConfig>({ - enabled: true, max_workers: 10, index: 'foo', max_attempts: 9, diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json index 98c81a6f9c677..5bb559c137390 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @@ -163,6 +163,9 @@ "__es-query": { "type": "long" }, + "transform_health": { + "type": "long" + }, "apm__error_rate": { "type": "long" }, @@ -226,10 +229,10 @@ "__geo-containment": { "type": "long" }, - "xpack_ml_anomaly_detection_alert": { + "xpack__ml__anomaly_detection_alert": { "type": "long" }, - "xpack_ml_anomaly_detection_jobs_health": { + "xpack__ml__anomaly_detection_jobs_health": { "type": "long" } } @@ -245,6 +248,9 @@ "__es-query": { "type": "long" }, + "transform_health": { + "type": "long" + }, "apm__error_rate": { "type": "long" }, @@ -308,10 +314,10 @@ "__geo-containment": { "type": "long" }, - "xpack_ml_anomaly_detection_alert": { + "xpack__ml__anomaly_detection_alert": { "type": "long" }, - "xpack_ml_anomaly_detection_jobs_health": { + "xpack__ml__anomaly_detection_jobs_health": { "type": "long" } } diff --git a/x-pack/plugins/timelines/public/components/hover_actions/actions/add_to_timeline.test.tsx b/x-pack/plugins/timelines/public/components/hover_actions/actions/add_to_timeline.test.tsx new file mode 100644 index 0000000000000..4c43bdde50df0 --- /dev/null +++ b/x-pack/plugins/timelines/public/components/hover_actions/actions/add_to_timeline.test.tsx @@ -0,0 +1,372 @@ +/* + * 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 { EuiButtonEmpty } from '@elastic/eui'; +import { act, fireEvent, render, screen } from '@testing-library/react'; +import React from 'react'; + +import AddToTimelineButton, { ADD_TO_TIMELINE_KEYBOARD_SHORTCUT } from './add_to_timeline'; +import { DataProvider, IS_OPERATOR } from '../../../../common/types'; +import { TestProviders } from '../../../mock'; +import * as i18n from './translations'; + +const mockDispatch = jest.fn(); +jest.mock('react-redux', () => { + const originalModule = jest.requireActual('react-redux'); + + return { + ...originalModule, + useDispatch: () => mockDispatch, + }; +}); + +const mockStartDragToTimeline = jest.fn(); +jest.mock('../../../hooks/use_add_to_timeline', () => { + const originalModule = jest.requireActual('../../../hooks/use_add_to_timeline'); + + return { + ...originalModule, + useAddToTimeline: () => ({ + beginDrag: jest.fn(), + cancelDrag: jest.fn(), + dragToLocation: jest.fn(), + endDrag: jest.fn(), + hasDraggableLock: jest.fn(), + startDragToTimeline: mockStartDragToTimeline, + }), + }; +}); + +const providerA: DataProvider = { + and: [], + enabled: true, + excluded: false, + id: 'context-field.name-a', + kqlQuery: '', + name: 'a', + queryMatch: { + field: 'field.name', + value: 'a', + operator: IS_OPERATOR, + }, +}; + +const providerB: DataProvider = { + and: [], + enabled: true, + excluded: false, + id: 'context-field.name-b', + kqlQuery: '', + name: 'b', + queryMatch: { + field: 'field.name', + value: 'b', + operator: IS_OPERATOR, + }, +}; + +describe('add to timeline', () => { + beforeEach(() => { + jest.resetAllMocks(); + }); + + const field = 'user.name'; + + describe('when the `Component` prop is NOT provided', () => { + beforeEach(() => { + render( + <TestProviders> + <AddToTimelineButton field={field} ownFocus={false} /> + </TestProviders> + ); + }); + + test('it renders the button icon', () => { + expect(screen.getByRole('button')).toHaveClass('timelines__hoverActionButton'); + }); + + test('it has the expected aria label', () => { + expect(screen.getByLabelText(i18n.ADD_TO_TIMELINE)).toBeInTheDocument(); + }); + }); + + describe('when the `Component` prop is provided', () => { + beforeEach(() => { + render( + <TestProviders> + <AddToTimelineButton Component={EuiButtonEmpty} field={field} ownFocus={false} /> + </TestProviders> + ); + }); + + test('it renders the component provided via the `Component` prop', () => { + expect(screen.getByRole('button')).toHaveClass('euiButtonEmpty'); + }); + + test('it has the expected aria label', () => { + expect(screen.getByLabelText(i18n.ADD_TO_TIMELINE)).toBeInTheDocument(); + }); + }); + + test('it renders a tooltip when `showTooltip` is true', () => { + const { container } = render( + <TestProviders> + <AddToTimelineButton field={field} ownFocus={false} showTooltip={true} /> + </TestProviders> + ); + + expect(container?.firstChild).toHaveClass('euiToolTipAnchor'); + }); + + test('it does NOT render a tooltip when `showTooltip` is false (default)', () => { + const { container } = render( + <TestProviders> + <AddToTimelineButton field={field} ownFocus={false} /> + </TestProviders> + ); + + expect(container?.firstChild).not.toHaveClass('euiToolTipAnchor'); + }); + + describe('when the user clicks the button', () => { + const draggableId = 'abcd'; + + test('it starts dragging to timeline when a `draggableId` is provided', () => { + render( + <TestProviders> + <AddToTimelineButton draggableId={draggableId} field={field} ownFocus={false} /> + </TestProviders> + ); + + fireEvent.click(screen.getByRole('button')); + + expect(mockStartDragToTimeline).toBeCalled(); + }); + + test('it does NOT start dragging to timeline when a `draggableId` is NOT provided', () => { + render( + <TestProviders> + <AddToTimelineButton field={field} ownFocus={false} /> + </TestProviders> + ); + + fireEvent.click(screen.getByRole('button')); + + expect(mockStartDragToTimeline).not.toBeCalled(); + }); + + test('it dispatches a single `addProviderToTimeline` action when a single, non-array `dataProvider` is provided', () => { + render( + <TestProviders> + <AddToTimelineButton dataProvider={providerA} field={field} ownFocus={false} /> + </TestProviders> + ); + + fireEvent.click(screen.getByRole('button')); + + expect(mockDispatch).toHaveBeenCalledTimes(1); + + expect(mockDispatch).toHaveBeenCalledWith({ + payload: { + dataProvider: { + and: [], + enabled: true, + excluded: false, + id: 'context-field.name-a', + kqlQuery: '', + name: 'a', + queryMatch: { field: 'field.name', operator: ':', value: 'a' }, + }, + id: 'timeline-1', + }, + type: 'x-pack/timelines/t-grid/ADD_PROVIDER_TO_TIMELINE', + }); + }); + + test('it dispatches multiple `addProviderToTimeline` actions when an array of `dataProvider` are provided', () => { + const providers = [providerA, providerB]; + + render( + <TestProviders> + <AddToTimelineButton + dataProvider={[providerA, providerB]} + field={field} + ownFocus={false} + /> + </TestProviders> + ); + + fireEvent.click(screen.getByRole('button')); + + expect(mockDispatch).toHaveBeenCalledTimes(2); + + providers.forEach((p, i) => + expect(mockDispatch).toHaveBeenNthCalledWith(i + 1, { + payload: { + dataProvider: { + and: [], + enabled: true, + excluded: false, + id: providers[i].id, + kqlQuery: '', + name: providers[i].name, + queryMatch: { field: 'field.name', operator: ':', value: providers[i].name }, + }, + id: 'timeline-1', + }, + type: 'x-pack/timelines/t-grid/ADD_PROVIDER_TO_TIMELINE', + }) + ); + }); + + test('it invokes the `onClick` (callback) prop when the user clicks the button', () => { + const onClick = jest.fn(); + + render( + <TestProviders> + <AddToTimelineButton field={field} onClick={onClick} ownFocus={false} /> + </TestProviders> + ); + + fireEvent.click(screen.getByRole('button')); + + expect(onClick).toBeCalled(); + }); + }); + + describe('keyboard event handling', () => { + describe('when the keyboard shortcut is pressed', () => { + const keyboardEvent = new KeyboardEvent('keydown', { + ctrlKey: false, + key: ADD_TO_TIMELINE_KEYBOARD_SHORTCUT, // <-- the correct shortcut key + metaKey: false, + }) as unknown as React.KeyboardEvent; + + beforeEach(() => { + keyboardEvent.stopPropagation = jest.fn(); + keyboardEvent.preventDefault = jest.fn(); + }); + + test('it stops propagation of the keyboard event', async () => { + await act(async () => { + render( + <TestProviders> + <AddToTimelineButton + field={field} + keyboardEvent={keyboardEvent} + ownFocus={true} + showTooltip={true} + /> + </TestProviders> + ); + }); + + expect(keyboardEvent.preventDefault).toHaveBeenCalled(); + }); + + test('it prevents the default keyboard event behavior', async () => { + await act(async () => { + render( + <TestProviders> + <AddToTimelineButton + field={field} + keyboardEvent={keyboardEvent} + ownFocus={true} + showTooltip={true} + /> + </TestProviders> + ); + }); + + expect(keyboardEvent.preventDefault).toHaveBeenCalled(); + }); + + test('it starts dragging to timeline', async () => { + await act(async () => { + render( + <TestProviders> + <AddToTimelineButton + draggableId="abcd" + field={field} + keyboardEvent={keyboardEvent} + ownFocus={true} + showTooltip={true} + /> + </TestProviders> + ); + }); + + expect(mockStartDragToTimeline).toBeCalled(); + }); + }); + + describe("when a key that's NOT the keyboard shortcut is pressed", () => { + const keyboardEvent = new KeyboardEvent('keydown', { + ctrlKey: false, + key: 'z', // <-- NOT the correct shortcut key + metaKey: false, + }) as unknown as React.KeyboardEvent; + + beforeEach(() => { + keyboardEvent.stopPropagation = jest.fn(); + keyboardEvent.preventDefault = jest.fn(); + }); + + test('it does NOT stop propagation of the keyboard event', async () => { + await act(async () => { + render( + <TestProviders> + <AddToTimelineButton + field={field} + keyboardEvent={keyboardEvent} + ownFocus={true} + showTooltip={true} + /> + </TestProviders> + ); + }); + + expect(keyboardEvent.preventDefault).not.toHaveBeenCalled(); + }); + + test('it does NOT prevents the default keyboard event behavior', async () => { + await act(async () => { + render( + <TestProviders> + <AddToTimelineButton + field={field} + keyboardEvent={keyboardEvent} + ownFocus={true} + showTooltip={true} + /> + </TestProviders> + ); + }); + + expect(keyboardEvent.preventDefault).not.toHaveBeenCalled(); + }); + + test('it does NOT start dragging to timeline', async () => { + await act(async () => { + render( + <TestProviders> + <AddToTimelineButton + draggableId="abcd" + field={field} + keyboardEvent={keyboardEvent} + ownFocus={true} + showTooltip={true} + /> + </TestProviders> + ); + }); + + expect(mockStartDragToTimeline).not.toBeCalled(); + }); + }); + }); +}); diff --git a/x-pack/plugins/timelines/public/components/t_grid/body/column_headers/header/index.tsx b/x-pack/plugins/timelines/public/components/t_grid/body/column_headers/header/index.tsx index 1b0f44e686501..1ddade2b58968 100644 --- a/x-pack/plugins/timelines/public/components/t_grid/body/column_headers/header/index.tsx +++ b/x-pack/plugins/timelines/public/components/t_grid/body/column_headers/header/index.tsx @@ -7,6 +7,7 @@ import React, { useCallback, useMemo } from 'react'; import { useDispatch } from 'react-redux'; +import { isDataViewFieldSubtypeNested } from '@kbn/es-query'; import type { ColumnHeaderOptions } from '../../../../../../common/types/timeline'; import type { Sort } from '../../sort'; @@ -68,7 +69,7 @@ export const HeaderComponent: React.FC<Props> = ({ header, sort, timelineId }) = const getManageTimeline = useMemo(() => tGridSelectors.getManageTimelineById(), []); const { isLoading } = useDeepEqualSelector((state) => getManageTimeline(state, timelineId ?? '')); - const showSortingCapability = !(header.subType && header.subType.nested); + const showSortingCapability = !isDataViewFieldSubtypeNested(header); return ( <> diff --git a/x-pack/plugins/timelines/public/components/t_grid/helpers.test.tsx b/x-pack/plugins/timelines/public/components/t_grid/helpers.test.tsx index 0fa47b22e5505..1998bef233748 100644 --- a/x-pack/plugins/timelines/public/components/t_grid/helpers.test.tsx +++ b/x-pack/plugins/timelines/public/components/t_grid/helpers.test.tsx @@ -288,7 +288,7 @@ describe('Combined Queries', () => { type: 'exists', value: 'exists', }, - exists: { field: 'host.name' }, + query: { exists: { field: 'host.name' } }, } as Filter, ], kqlQuery: { query: '', language: 'kuery' }, @@ -489,8 +489,10 @@ describe('Combined Queries', () => { key: 'nestedField.firstAttributes', value: 'exists', }, - exists: { - field: 'nestedField.firstAttributes', + query: { + exists: { + field: 'nestedField.firstAttributes', + }, }, $state: { store: esFilters.FilterStateStore.APP_STATE, diff --git a/x-pack/plugins/transform/common/constants.ts b/x-pack/plugins/transform/common/constants.ts index 84e43f1f632a1..ee1efe53f0fec 100644 --- a/x-pack/plugins/transform/common/constants.ts +++ b/x-pack/plugins/transform/common/constants.ts @@ -8,6 +8,7 @@ import { i18n } from '@kbn/i18n'; import { LicenseType } from '../../licensing/common/types'; +import { TransformHealthTests } from './types/alerting'; export const DEFAULT_REFRESH_INTERVAL_MS = 30000; export const MINIMUM_REFRESH_INTERVAL_MS = 1000; @@ -108,3 +109,26 @@ export const TRANSFORM_FUNCTION = { } as const; export type TransformFunction = typeof TRANSFORM_FUNCTION[keyof typeof TRANSFORM_FUNCTION]; + +export const TRANSFORM_RULE_TYPE = { + TRANSFORM_HEALTH: 'transform_health', +} as const; + +export const ALL_TRANSFORMS_SELECTION = '*'; + +export const TRANSFORM_HEALTH_CHECK_NAMES: Record< + TransformHealthTests, + { name: string; description: string } +> = { + notStarted: { + name: i18n.translate('xpack.transform.alertTypes.transformHealth.notStartedCheckName', { + defaultMessage: 'Transform is not started', + }), + description: i18n.translate( + 'xpack.transform.alertTypes.transformHealth.notStartedCheckDescription', + { + defaultMessage: 'Get alerts when the transform is not started or is not indexing data.', + } + ), + }, +}; diff --git a/x-pack/plugins/transform/common/index.ts b/x-pack/plugins/transform/common/index.ts new file mode 100644 index 0000000000000..3b2ac4da14c6a --- /dev/null +++ b/x-pack/plugins/transform/common/index.ts @@ -0,0 +1,8 @@ +/* + * 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. + */ + +export { TRANSFORM_RULE_TYPE } from './constants'; diff --git a/x-pack/plugins/transform/common/types/alerting.ts b/x-pack/plugins/transform/common/types/alerting.ts new file mode 100644 index 0000000000000..48a80a3889107 --- /dev/null +++ b/x-pack/plugins/transform/common/types/alerting.ts @@ -0,0 +1,22 @@ +/* + * 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 type { AlertTypeParams } from '../../../alerting/common'; + +export type TransformHealthRuleParams = { + includeTransforms?: string[]; + excludeTransforms?: string[] | null; + testsConfig?: { + notStarted?: { + enabled: boolean; + } | null; + } | null; +} & AlertTypeParams; + +export type TransformHealthRuleTestsConfig = TransformHealthRuleParams['testsConfig']; + +export type TransformHealthTests = keyof Exclude<TransformHealthRuleTestsConfig, null | undefined>; diff --git a/x-pack/plugins/transform/common/types/common.ts b/x-pack/plugins/transform/common/types/common.ts index 1cbb370b0a3ab..94cb935f52634 100644 --- a/x-pack/plugins/transform/common/types/common.ts +++ b/x-pack/plugins/transform/common/types/common.ts @@ -20,3 +20,7 @@ export function dictionaryToArray<TValue>(dict: Dictionary<TValue>): TValue[] { export type DeepPartial<T> = { [P in keyof T]?: DeepPartial<T[P]>; }; + +export function isDefined<T>(argument: T | undefined | null): argument is T { + return argument !== undefined && argument !== null; +} diff --git a/x-pack/plugins/transform/common/utils/alerts.ts b/x-pack/plugins/transform/common/utils/alerts.ts new file mode 100644 index 0000000000000..9b3cb2757100a --- /dev/null +++ b/x-pack/plugins/transform/common/utils/alerts.ts @@ -0,0 +1,16 @@ +/* + * 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 type { TransformHealthRuleTestsConfig } from '../types/alerting'; + +export function getResultTestConfig(config: TransformHealthRuleTestsConfig) { + return { + notStarted: { + enabled: config?.notStarted?.enabled ?? true, + }, + }; +} diff --git a/x-pack/plugins/transform/kibana.json b/x-pack/plugins/transform/kibana.json index c9f6beeee5aff..5e1c1fb938a86 100644 --- a/x-pack/plugins/transform/kibana.json +++ b/x-pack/plugins/transform/kibana.json @@ -10,11 +10,14 @@ "management", "features", "savedObjects", - "share" + "share", + "triggersActionsUi", + "fieldFormats" ], "optionalPlugins": [ "security", - "usageCollection" + "usageCollection", + "alerting" ], "configPath": ["xpack", "transform"], "requiredBundles": [ @@ -24,6 +27,9 @@ "kibanaReact", "ml" ], + "extraPublicDirs": [ + "common" + ], "owner": { "name": "Machine Learning UI", "githubTeam": "ml-ui" diff --git a/x-pack/plugins/transform/public/alerting/index.ts b/x-pack/plugins/transform/public/alerting/index.ts new file mode 100644 index 0000000000000..0c693cc4bfc06 --- /dev/null +++ b/x-pack/plugins/transform/public/alerting/index.ts @@ -0,0 +1,8 @@ +/* + * 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. + */ + +export { getTransformHealthRuleType } from './transform_health_rule_type'; diff --git a/x-pack/plugins/transform/public/alerting/transform_health_rule_type/index.ts b/x-pack/plugins/transform/public/alerting/transform_health_rule_type/index.ts new file mode 100644 index 0000000000000..87ced49577a91 --- /dev/null +++ b/x-pack/plugins/transform/public/alerting/transform_health_rule_type/index.ts @@ -0,0 +1,8 @@ +/* + * 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. + */ + +export { getTransformHealthRuleType } from './register_transform_health_rule'; diff --git a/x-pack/plugins/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts b/x-pack/plugins/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts new file mode 100644 index 0000000000000..83117966f73d1 --- /dev/null +++ b/x-pack/plugins/transform/public/alerting/transform_health_rule_type/register_transform_health_rule.ts @@ -0,0 +1,66 @@ +/* + * 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 { lazy } from 'react'; +import { i18n } from '@kbn/i18n'; +import { TRANSFORM_RULE_TYPE } from '../../../common'; +import type { TransformHealthRuleParams } from '../../../common/types/alerting'; +import type { AlertTypeModel } from '../../../../triggers_actions_ui/public'; + +export function getTransformHealthRuleType(): AlertTypeModel<TransformHealthRuleParams> { + return { + id: TRANSFORM_RULE_TYPE.TRANSFORM_HEALTH, + description: i18n.translate('xpack.transform.alertingRuleTypes.transformHealth.description', { + defaultMessage: 'Alert when transforms experience operational issues.', + }), + iconClass: 'bell', + documentationUrl(docLinks) { + return docLinks.links.transforms.alertingRules; + }, + alertParamsExpression: lazy(() => import('./transform_health_rule_trigger')), + validate: (alertParams: TransformHealthRuleParams) => { + const validationResult = { + errors: { + includeTransforms: new Array<string>(), + } as Record<keyof TransformHealthRuleParams, string[]>, + }; + + if (!alertParams.includeTransforms?.length) { + validationResult.errors.includeTransforms?.push( + i18n.translate( + 'xpack.transform.alertTypes.transformHealth.includeTransforms.errorMessage', + { + defaultMessage: 'At least one transform has to be selected', + } + ) + ); + } + + return validationResult; + }, + requiresAppContext: false, + defaultActionMessage: i18n.translate( + 'xpack.transform.alertTypes.transformHealth.defaultActionMessage', + { + defaultMessage: `[\\{\\{rule.name\\}\\}] Transform health check result: +\\{\\{context.message\\}\\} +\\{\\{#context.results\\}\\} + Transform ID: \\{\\{transform_id\\}\\} + \\{\\{#description\\}\\}Transform description: \\{\\{description\\}\\} + \\{\\{/description\\}\\}\\{\\{#transform_state\\}\\}Transform state: \\{\\{transform_state\\}\\} + \\{\\{/transform_state\\}\\}\\{\\{#failure_reason\\}\\}Failure reason: \\{\\{failure_reason\\}\\} + \\{\\{/failure_reason\\}\\}\\{\\{#notification_message\\}\\}Notification message: \\{\\{notification_message\\}\\} + \\{\\{/notification_message\\}\\}\\{\\{#node_name\\}\\}Node name: \\{\\{node_name\\}\\} + \\{\\{/node_name\\}\\}\\{\\{#timestamp\\}\\}Timestamp: \\{\\{timestamp\\}\\} + \\{\\{/timestamp\\}\\} + +\\{\\{/context.results\\}\\} +`, + } + ), + }; +} diff --git a/x-pack/plugins/transform/public/alerting/transform_health_rule_type/tests_selection_control.tsx b/x-pack/plugins/transform/public/alerting/transform_health_rule_type/tests_selection_control.tsx new file mode 100644 index 0000000000000..cd00b21862364 --- /dev/null +++ b/x-pack/plugins/transform/public/alerting/transform_health_rule_type/tests_selection_control.tsx @@ -0,0 +1,81 @@ +/* + * 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 React, { FC, useCallback } from 'react'; +import { EuiDescribedFormGroup, EuiForm, EuiFormRow, EuiSpacer, EuiSwitch } from '@elastic/eui'; +import { FormattedMessage } from '@kbn/i18n/react'; + +import { + TransformHealthRuleTestsConfig, + TransformHealthTests, +} from '../../../common/types/alerting'; +import { getResultTestConfig } from '../../../common/utils/alerts'; +import { TRANSFORM_HEALTH_CHECK_NAMES } from '../../../common/constants'; + +interface TestsSelectionControlProps { + config: TransformHealthRuleTestsConfig; + onChange: (update: TransformHealthRuleTestsConfig) => void; + errors?: string[]; +} + +export const TestsSelectionControl: FC<TestsSelectionControlProps> = React.memo( + ({ config, onChange, errors }) => { + const uiConfig = getResultTestConfig(config); + + const updateCallback = useCallback( + (update: Partial<Exclude<TransformHealthRuleTestsConfig, undefined>>) => { + onChange({ + ...(config ?? {}), + ...update, + }); + }, + [onChange, config] + ); + + return ( + <> + <EuiForm component="div" isInvalid={!!errors?.length} error={errors}> + {( + Object.entries(uiConfig) as Array< + [TransformHealthTests, typeof uiConfig[TransformHealthTests]] + > + ).map(([name, conf], i) => { + return ( + <EuiDescribedFormGroup + key={name} + title={<h4>{TRANSFORM_HEALTH_CHECK_NAMES[name]?.name}</h4>} + description={TRANSFORM_HEALTH_CHECK_NAMES[name]?.description} + fullWidth + gutterSize={'s'} + > + <EuiFormRow> + <EuiSwitch + disabled + label={ + <FormattedMessage + id="xpack.transform.alertTypes.transformHealth.testsSelection.enableTestLabel" + defaultMessage="Enable" + /> + } + onChange={updateCallback.bind(null, { + [name]: { + ...uiConfig[name], + enabled: !uiConfig[name].enabled, + }, + })} + checked={uiConfig[name].enabled} + /> + </EuiFormRow> + </EuiDescribedFormGroup> + ); + })} + </EuiForm> + <EuiSpacer size="l" /> + </> + ); + } +); diff --git a/x-pack/plugins/transform/public/alerting/transform_health_rule_type/transform_health_rule_trigger.tsx b/x-pack/plugins/transform/public/alerting/transform_health_rule_type/transform_health_rule_trigger.tsx new file mode 100644 index 0000000000000..c3e4046a30626 --- /dev/null +++ b/x-pack/plugins/transform/public/alerting/transform_health_rule_type/transform_health_rule_trigger.tsx @@ -0,0 +1,132 @@ +/* + * 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 { EuiForm, EuiSpacer } from '@elastic/eui'; +import React, { FC, useCallback, useEffect, useMemo, useState } from 'react'; +import { FormattedMessage } from '@kbn/i18n/react'; +import { i18n } from '@kbn/i18n'; +import type { AlertTypeParamsExpressionProps } from '../../../../triggers_actions_ui/public'; +import type { TransformHealthRuleParams } from '../../../common/types/alerting'; +import { TestsSelectionControl } from './tests_selection_control'; +import { TransformSelectorControl } from './transform_selector_control'; +import { useApi } from '../../app/hooks'; +import { useToastNotifications } from '../../app/app_dependencies'; +import { GetTransformsResponseSchema } from '../../../common/api_schemas/transforms'; +import { ALL_TRANSFORMS_SELECTION } from '../../../common/constants'; + +export type TransformHealthRuleTriggerProps = + AlertTypeParamsExpressionProps<TransformHealthRuleParams>; + +const TransformHealthRuleTrigger: FC<TransformHealthRuleTriggerProps> = ({ + alertParams, + setAlertParams, + errors, +}) => { + const formErrors = Object.values(errors).flat(); + const isFormInvalid = formErrors.length > 0; + + const api = useApi(); + const toast = useToastNotifications(); + const [transformOptions, setTransformOptions] = useState<string[]>([]); + + const onAlertParamChange = useCallback( + <T extends keyof TransformHealthRuleParams>(param: T) => + (update: TransformHealthRuleParams[T]) => { + setAlertParams(param, update); + }, + [setAlertParams] + ); + + useEffect( + function fetchTransforms() { + let unmounted = false; + api + .getTransforms() + .then((r) => { + if (!unmounted) { + setTransformOptions( + (r as GetTransformsResponseSchema).transforms.filter((v) => v.sync).map((v) => v.id) + ); + } + }) + .catch((e) => { + toast.addError(e, { + title: i18n.translate( + 'xpack.transform.alertingRuleTypes.transformHealth.fetchErrorMessage', + { + defaultMessage: 'Unable to fetch transforms', + } + ), + }); + }); + return () => { + unmounted = true; + }; + }, + [api, toast] + ); + + const excludeTransformOptions = useMemo(() => { + if (alertParams.includeTransforms?.some((v) => v === ALL_TRANSFORMS_SELECTION)) { + return transformOptions; + } + return null; + }, [transformOptions, alertParams.includeTransforms]); + + return ( + <EuiForm + data-test-subj={'transformHealthAlertingRuleForm'} + invalidCallout={'none'} + error={formErrors} + isInvalid={isFormInvalid} + > + <TransformSelectorControl + label={ + <FormattedMessage + id="xpack.transform.alertTypes.transformHealth.includeTransformsLabel" + defaultMessage="Include transforms" + /> + } + options={transformOptions} + selectedOptions={alertParams.includeTransforms ?? []} + onChange={onAlertParamChange('includeTransforms')} + allowSelectAll + errors={errors.includeTransforms as string[]} + /> + + <EuiSpacer size="m" /> + + {!!excludeTransformOptions?.length || !!alertParams.excludeTransforms?.length ? ( + <> + <TransformSelectorControl + label={ + <FormattedMessage + id="xpack.transform.alertTypes.transformHealth.excludeTransformsLabel" + defaultMessage="Exclude transforms" + /> + } + options={excludeTransformOptions ?? []} + selectedOptions={alertParams.excludeTransforms ?? []} + onChange={onAlertParamChange('excludeTransforms')} + /> + <EuiSpacer size="m" /> + </> + ) : null} + + <TestsSelectionControl + config={alertParams.testsConfig} + onChange={onAlertParamChange('testsConfig')} + errors={Array.isArray(errors.testsConfig) ? errors.testsConfig : []} + /> + </EuiForm> + ); +}; + +// Default export is required for React.lazy loading + +// eslint-disable-next-line import/no-default-export +export default TransformHealthRuleTrigger; diff --git a/x-pack/plugins/transform/public/alerting/transform_health_rule_type/transform_selector_control.tsx b/x-pack/plugins/transform/public/alerting/transform_health_rule_type/transform_selector_control.tsx new file mode 100644 index 0000000000000..4300b75cb3fa4 --- /dev/null +++ b/x-pack/plugins/transform/public/alerting/transform_health_rule_type/transform_selector_control.tsx @@ -0,0 +1,69 @@ +/* + * 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 { EuiComboBox, EuiComboBoxProps, EuiFormRow } from '@elastic/eui'; +import React, { FC, useMemo } from 'react'; +import { ALL_TRANSFORMS_SELECTION } from '../../../common/constants'; +import { isDefined } from '../../../common/types/common'; + +export interface TransformSelectorControlProps { + label?: string | JSX.Element; + errors?: string[]; + onChange: (transformSelection: string[]) => void; + selectedOptions: string[]; + options: string[]; + allowSelectAll?: boolean; +} + +function convertToEuiOptions(values: string[]) { + return values.map((v) => ({ value: v, label: v })); +} + +export const TransformSelectorControl: FC<TransformSelectorControlProps> = ({ + label, + errors, + onChange, + selectedOptions, + options, + allowSelectAll = false, +}) => { + const onSelectionChange: EuiComboBoxProps<string>['onChange'] = ((selectionUpdate) => { + if (!selectionUpdate?.length) { + onChange([]); + return; + } + if (selectionUpdate[selectionUpdate.length - 1].value === ALL_TRANSFORMS_SELECTION) { + onChange([ALL_TRANSFORMS_SELECTION]); + return; + } + onChange( + selectionUpdate + .slice(selectionUpdate[0].value === ALL_TRANSFORMS_SELECTION ? 1 : 0) + .map((v) => v.value) + .filter(isDefined) + ); + }) as Exclude<EuiComboBoxProps<string>['onChange'], undefined>; + + const selectedOptionsEui = useMemo(() => convertToEuiOptions(selectedOptions), [selectedOptions]); + const optionsEui = useMemo(() => { + return convertToEuiOptions(allowSelectAll ? [ALL_TRANSFORMS_SELECTION, ...options] : options); + }, [options, allowSelectAll]); + + return ( + <EuiFormRow fullWidth label={label} isInvalid={!!errors?.length} error={errors}> + <EuiComboBox<string> + singleSelection={false} + selectedOptions={selectedOptionsEui} + options={optionsEui} + onChange={onSelectionChange} + fullWidth + data-test-subj={'transformSelection'} + isInvalid={!!errors?.length} + /> + </EuiFormRow> + ); +}; diff --git a/x-pack/plugins/transform/public/index.ts b/x-pack/plugins/transform/public/index.ts index e4f630e23afce..ebe43aea75440 100644 --- a/x-pack/plugins/transform/public/index.ts +++ b/x-pack/plugins/transform/public/index.ts @@ -12,3 +12,5 @@ import { TransformUiPlugin } from './plugin'; export const plugin = () => { return new TransformUiPlugin(); }; + +export { getTransformHealthRuleType } from './alerting'; diff --git a/x-pack/plugins/transform/public/plugin.ts b/x-pack/plugins/transform/public/plugin.ts index b058be46d677b..4ed4e64070344 100644 --- a/x-pack/plugins/transform/public/plugin.ts +++ b/x-pack/plugins/transform/public/plugin.ts @@ -14,6 +14,9 @@ import type { SavedObjectsStart } from 'src/plugins/saved_objects/public'; import type { ManagementSetup } from 'src/plugins/management/public'; import type { SharePluginStart } from 'src/plugins/share/public'; import { registerFeature } from './register_feature'; +import type { PluginSetupContract as AlertingSetup } from '../../alerting/public'; +import type { TriggersAndActionsUIPublicPluginSetup } from '../../triggers_actions_ui/public'; +import { getTransformHealthRuleType } from './alerting'; export interface PluginsDependencies { data: DataPublicPluginStart; @@ -21,11 +24,13 @@ export interface PluginsDependencies { home: HomePublicPluginSetup; savedObjects: SavedObjectsStart; share: SharePluginStart; + alerting?: AlertingSetup; + triggersActionsUi?: TriggersAndActionsUIPublicPluginSetup; } export class TransformUiPlugin { public setup(coreSetup: CoreSetup<PluginsDependencies>, pluginsSetup: PluginsDependencies): void { - const { management, home } = pluginsSetup; + const { management, home, triggersActionsUi } = pluginsSetup; // Register management section const esSection = management.sections.section.data; @@ -41,6 +46,10 @@ export class TransformUiPlugin { }, }); registerFeature(home); + + if (triggersActionsUi) { + triggersActionsUi.ruleTypeRegistry.register(getTransformHealthRuleType()); + } } public start() {} diff --git a/x-pack/plugins/transform/server/index.ts b/x-pack/plugins/transform/server/index.ts index 77103aa4fdac5..9bd3ffe418b1e 100644 --- a/x-pack/plugins/transform/server/index.ts +++ b/x-pack/plugins/transform/server/index.ts @@ -10,3 +10,5 @@ import { PluginInitializerContext } from 'src/core/server'; import { TransformServerPlugin } from './plugin'; export const plugin = (ctx: PluginInitializerContext) => new TransformServerPlugin(ctx); + +export { registerTransformHealthRuleType } from './lib/alerting'; diff --git a/x-pack/plugins/transform/server/lib/alerting/index.ts b/x-pack/plugins/transform/server/lib/alerting/index.ts new file mode 100644 index 0000000000000..1d75af94f2a72 --- /dev/null +++ b/x-pack/plugins/transform/server/lib/alerting/index.ts @@ -0,0 +1,11 @@ +/* + * 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. + */ + +export { + getTransformHealthRuleType, + registerTransformHealthRuleType, +} from './transform_health_rule_type'; diff --git a/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/index.ts b/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/index.ts new file mode 100644 index 0000000000000..cef3d578df658 --- /dev/null +++ b/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/index.ts @@ -0,0 +1,11 @@ +/* + * 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. + */ + +export { + getTransformHealthRuleType, + registerTransformHealthRuleType, +} from './register_transform_health_rule_type'; diff --git a/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/register_transform_health_rule_type.ts b/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/register_transform_health_rule_type.ts new file mode 100644 index 0000000000000..eb0cf011aeb52 --- /dev/null +++ b/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/register_transform_health_rule_type.ts @@ -0,0 +1,121 @@ +/* + * 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 { i18n } from '@kbn/i18n'; +import { Logger } from 'src/core/server'; +import type { + ActionGroup, + AlertInstanceContext, + AlertInstanceState, + AlertTypeState, +} from '../../../../../alerting/common'; +import { PLUGIN, TRANSFORM_RULE_TYPE } from '../../../../common/constants'; +import { transformHealthRuleParams, TransformHealthRuleParams } from './schema'; +import { AlertType } from '../../../../../alerting/server'; +import { transformHealthServiceProvider } from './transform_health_service'; +import type { PluginSetupContract as AlertingSetup } from '../../../../../alerting/server'; + +export interface BaseResponse { + transform_id: string; + description?: string; +} + +export interface NotStartedTransformResponse extends BaseResponse { + transform_state: string; + node_name?: string; +} + +export type TransformHealthResult = NotStartedTransformResponse; + +export type TransformHealthAlertContext = { + results: TransformHealthResult[]; + message: string; +} & AlertInstanceContext; + +export const TRANSFORM_ISSUE = 'transform_issue'; + +export type TransformIssue = typeof TRANSFORM_ISSUE; + +export const TRANSFORM_ISSUE_DETECTED: ActionGroup<TransformIssue> = { + id: TRANSFORM_ISSUE, + name: i18n.translate('xpack.transform.alertingRuleTypes.transformHealth.actionGroupName', { + defaultMessage: 'Issue detected', + }), +}; + +interface RegisterParams { + logger: Logger; + alerting: AlertingSetup; +} + +export function registerTransformHealthRuleType(params: RegisterParams) { + const { alerting } = params; + alerting.registerType(getTransformHealthRuleType()); +} + +export function getTransformHealthRuleType(): AlertType< + TransformHealthRuleParams, + never, + AlertTypeState, + AlertInstanceState, + TransformHealthAlertContext, + TransformIssue +> { + return { + id: TRANSFORM_RULE_TYPE.TRANSFORM_HEALTH, + name: i18n.translate('xpack.transform.alertingRuleTypes.transformHealth.name', { + defaultMessage: 'Transform health', + }), + actionGroups: [TRANSFORM_ISSUE_DETECTED], + defaultActionGroupId: TRANSFORM_ISSUE, + validate: { params: transformHealthRuleParams }, + actionVariables: { + context: [ + { + name: 'results', + description: i18n.translate( + 'xpack.transform.alertTypes.transformHealth.alertContext.resultsDescription', + { + defaultMessage: 'Rule execution results', + } + ), + }, + { + name: 'message', + description: i18n.translate( + 'xpack.transform.alertTypes.transformHealth.alertContext.messageDescription', + { + defaultMessage: 'Alert info message', + } + ), + }, + ], + }, + producer: 'stackAlerts', + minimumLicenseRequired: PLUGIN.MINIMUM_LICENSE_REQUIRED, + isExportable: true, + async executor(options) { + const { + services: { scopedClusterClient, alertInstanceFactory }, + params, + } = options; + + const transformHealthService = transformHealthServiceProvider( + scopedClusterClient.asInternalUser + ); + + const executionResult = await transformHealthService.getHealthChecksResults(params); + + if (executionResult.length > 0) { + executionResult.forEach(({ name: alertInstanceName, context }) => { + const alertInstance = alertInstanceFactory(alertInstanceName); + alertInstance.scheduleActions(TRANSFORM_ISSUE, context); + }); + } + }, + }; +} diff --git a/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/schema.ts b/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/schema.ts new file mode 100644 index 0000000000000..5a7af83b120d6 --- /dev/null +++ b/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/schema.ts @@ -0,0 +1,24 @@ +/* + * 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 { schema, TypeOf } from '@kbn/config-schema'; + +export const transformHealthRuleParams = schema.object({ + includeTransforms: schema.arrayOf(schema.string()), + excludeTransforms: schema.nullable(schema.arrayOf(schema.string(), { defaultValue: [] })), + testsConfig: schema.nullable( + schema.object({ + notStarted: schema.nullable( + schema.object({ + enabled: schema.boolean({ defaultValue: true }), + }) + ), + }) + ), +}); + +export type TransformHealthRuleParams = TypeOf<typeof transformHealthRuleParams>; diff --git a/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.ts b/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.ts new file mode 100644 index 0000000000000..88b5396c7b110 --- /dev/null +++ b/x-pack/plugins/transform/server/lib/alerting/transform_health_rule_type/transform_health_service.ts @@ -0,0 +1,135 @@ +/* + * 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 { ElasticsearchClient } from 'kibana/server'; +import { i18n } from '@kbn/i18n'; +import type { Transform as EsTransform } from '@elastic/elasticsearch/api/types'; +import { TransformHealthRuleParams } from './schema'; +import { + ALL_TRANSFORMS_SELECTION, + TRANSFORM_HEALTH_CHECK_NAMES, +} from '../../../../common/constants'; +import { getResultTestConfig } from '../../../../common/utils/alerts'; +import { + NotStartedTransformResponse, + TransformHealthAlertContext, +} from './register_transform_health_rule_type'; + +interface TestResult { + name: string; + context: TransformHealthAlertContext; +} + +// @ts-ignore FIXME update types in the elasticsearch client +type Transform = EsTransform & { id: string; description?: string; sync: object }; + +export function transformHealthServiceProvider(esClient: ElasticsearchClient) { + const transformsDict = new Map<string, Transform>(); + + /** + * Resolves result transform selection. + * @param includeTransforms + * @param excludeTransforms + */ + const getResultsTransformIds = async ( + includeTransforms: string[], + excludeTransforms: string[] | null + ): Promise<string[]> => { + const includeAll = includeTransforms.some((id) => id === ALL_TRANSFORMS_SELECTION); + + // Fetch transforms to make sure assigned transforms exists. + const transformsResponse = ( + await esClient.transform.getTransform({ + ...(includeAll ? {} : { transform_id: includeTransforms.join(',') }), + allow_no_match: true, + size: 1000, + }) + ).body.transforms as Transform[]; + + let resultTransformIds: string[] = []; + + transformsResponse.forEach((t) => { + transformsDict.set(t.id, t); + if (t.sync) { + resultTransformIds.push(t.id); + } + }); + + if (excludeTransforms && excludeTransforms.length > 0) { + const excludeIdsSet = new Set(excludeTransforms); + resultTransformIds = resultTransformIds.filter((id) => !excludeIdsSet.has(id)); + } + + return resultTransformIds; + }; + + return { + /** + * Returns report about not started transform + * @param transformIds + */ + async getNotStartedTransformsReport( + transformIds: string[] + ): Promise<NotStartedTransformResponse[]> { + const transformsStats = ( + await esClient.transform.getTransformStats({ + transform_id: transformIds.join(','), + }) + ).body.transforms; + + return transformsStats + .filter((t) => t.state !== 'started' && t.state !== 'indexing') + .map((t) => ({ + transform_id: t.id, + description: transformsDict.get(t.id)?.description, + transform_state: t.state, + node_name: t.node?.name, + })); + }, + /** + * Returns results of the transform health checks + * @param params + */ + async getHealthChecksResults(params: TransformHealthRuleParams) { + const transformIds = await getResultsTransformIds( + params.includeTransforms, + params.excludeTransforms + ); + + const testsConfig = getResultTestConfig(params.testsConfig); + + const result: TestResult[] = []; + + if (testsConfig.notStarted.enabled) { + const response = await this.getNotStartedTransformsReport(transformIds); + if (response.length > 0) { + const count = response.length; + const transformsString = response.map((t) => t.transform_id).join(', '); + + result.push({ + name: TRANSFORM_HEALTH_CHECK_NAMES.notStarted.name, + context: { + results: response, + message: i18n.translate( + 'xpack.transform.alertTypes.transformHealth.notStartedMessage', + { + defaultMessage: + '{count, plural, one {Transform} other {Transforms}} {transformsString} {count, plural, one {is} other {are}} not started.', + values: { count, transformsString }, + } + ), + }, + }); + } + } + + return result; + }, + }; +} + +export type TransformHealthService = ReturnType<typeof transformHealthServiceProvider>; diff --git a/x-pack/plugins/transform/server/plugin.ts b/x-pack/plugins/transform/server/plugin.ts index c21e131e056b8..6e542bbefc3e1 100644 --- a/x-pack/plugins/transform/server/plugin.ts +++ b/x-pack/plugins/transform/server/plugin.ts @@ -13,6 +13,7 @@ import { LicenseType } from '../../licensing/common/types'; import { Dependencies } from './types'; import { ApiRoutes } from './routes'; import { License } from './services'; +import { registerTransformHealthRuleType } from './lib/alerting'; const basicLicense: LicenseType = 'basic'; @@ -38,7 +39,7 @@ export class TransformServerPlugin implements Plugin<{}, void, any, any> { setup( { http, getStartServices, elasticsearch }: CoreSetup, - { licensing, features }: Dependencies + { licensing, features, alerting }: Dependencies ): {} { const router = http.createRouter(); @@ -75,6 +76,10 @@ export class TransformServerPlugin implements Plugin<{}, void, any, any> { license: this.license, }); + if (alerting) { + registerTransformHealthRuleType({ alerting, logger: this.logger }); + } + return {}; } diff --git a/x-pack/plugins/transform/server/types.ts b/x-pack/plugins/transform/server/types.ts index a6e1996a45013..53f13cc752650 100644 --- a/x-pack/plugins/transform/server/types.ts +++ b/x-pack/plugins/transform/server/types.ts @@ -9,10 +9,12 @@ import { IRouter } from 'src/core/server'; import { LicensingPluginSetup } from '../../licensing/server'; import { PluginSetupContract as FeaturesPluginSetup } from '../../features/server'; import { License } from './services'; +import type { AlertingPlugin } from '../../alerting/server'; export interface Dependencies { licensing: LicensingPluginSetup; features: FeaturesPluginSetup; + alerting?: AlertingPlugin['setup']; } export interface RouteDependencies { diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index dcbb8ce26ee4a..a05d38795cf76 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -1653,12 +1653,6 @@ "data.functions.esaggs.help": "AggConfig 集約を実行します", "data.functions.esaggs.inspector.dataRequest.description": "このリクエストはElasticsearchにクエリし、ビジュアライゼーション用のデータを取得します。", "data.functions.esaggs.inspector.dataRequest.title": "データ", - "dataViews.indexPatternLoad.help": "インデックスパターンを読み込みます", - "dataViews.functions.indexPatternLoad.id.help": "読み込むインデックスパターンID", - "dataViews.ensureDefaultIndexPattern.bannerLabel": "Kibanaでデータの可視化と閲覧を行うには、Elasticsearchからデータを取得するためのインデックスパターンの作成が必要です。", - "dataViews.fetchFieldErrorTitle": "インデックスパターンのフィールド取得中にエラーが発生 {title}(ID:{id})", - "dataViews.indexPatternLoad.error.kibanaRequest": "サーバーでこの検索を実行するには、KibanaRequest が必要です。式実行パラメーターに要求オブジェクトを渡してください。", - "dataViews.unableWriteLabel": "インデックスパターンを書き込めません。このインデックスパターンへの最新の変更を取得するには、ページを更新してください。", "data.inspector.table..dataDescriptionTooltip": "ビジュアライゼーションの元のデータを表示", "data.inspector.table.dataTitle": "データ", "data.inspector.table.downloadCSVToggleButtonLabel": "CSV をダウンロード", @@ -2297,6 +2291,12 @@ "data.searchSessions.sessionService.sessionObjectFetchError": "検索セッション情報を取得できませんでした", "data.triggers.applyFilterDescription": "Kibanaフィルターが適用されるとき。単一の値または範囲フィルターにすることができます。", "data.triggers.applyFilterTitle": "フィルターを適用", + "dataViews.indexPatternLoad.help": "インデックスパターンを読み込みます", + "dataViews.functions.indexPatternLoad.id.help": "読み込むインデックスパターンID", + "dataViews.ensureDefaultIndexPattern.bannerLabel": "Kibanaでデータの可視化と閲覧を行うには、Elasticsearchからデータを取得するためのインデックスパターンの作成が必要です。", + "dataViews.fetchFieldErrorTitle": "インデックスパターンのフィールド取得中にエラーが発生 {title}(ID:{id})", + "dataViews.indexPatternLoad.error.kibanaRequest": "サーバーでこの検索を実行するには、KibanaRequest が必要です。式実行パラメーターに要求オブジェクトを渡してください。", + "dataViews.unableWriteLabel": "インデックスパターンを書き込めません。このインデックスパターンへの最新の変更を取得するには、ページを更新してください。", "devTools.badge.readOnly.text": "読み取り専用", "devTools.badge.readOnly.tooltip": "を保存できませんでした", "devTools.devToolsTitle": "開発ツール", @@ -6310,9 +6310,6 @@ "xpack.apm.exactTransactionRateLabel": "{value} { unit, select, minute {tpm} other {tps} }", "xpack.apm.failedTransactionsCorrelations.licenseCheckText": "失敗したトランザクションの相関関係機能を使用するには、Elastic Platinumライセンスのサブスクリプションが必要です。", "xpack.apm.featureRegistry.apmFeatureName": "APMおよびユーザーエクスペリエンス", - "xpack.apm.featureRegistry.manageAlertsName": "アラート", - "xpack.apm.featureRegistry.subfeature.alertsAllName": "すべて", - "xpack.apm.featureRegistry.subfeature.alertsReadName": "読み取り", "xpack.apm.feedbackMenu.appName": "APM", "xpack.apm.fetcher.error.status": "エラー", "xpack.apm.fetcher.error.title": "リソースの取得中にエラーが発生しました", @@ -6432,24 +6429,6 @@ "xpack.apm.localFilters.titles.serviceName": "サービス名", "xpack.apm.localFilters.titles.transactionUrl": "URL", "xpack.apm.localFiltersTitle": "フィルター", - "xpack.apm.metadataTable.section.agentLabel": "エージェント", - "xpack.apm.metadataTable.section.clientLabel": "クライアント", - "xpack.apm.metadataTable.section.containerLabel": "コンテナー", - "xpack.apm.metadataTable.section.customLabel": "カスタム", - "xpack.apm.metadataTable.section.errorLabel": "エラー", - "xpack.apm.metadataTable.section.hostLabel": "ホスト", - "xpack.apm.metadataTable.section.httpLabel": "HTTP", - "xpack.apm.metadataTable.section.labelsLabel": "ラベル", - "xpack.apm.metadataTable.section.messageLabel": "メッセージ", - "xpack.apm.metadataTable.section.pageLabel": "ページ", - "xpack.apm.metadataTable.section.processLabel": "プロセス", - "xpack.apm.metadataTable.section.serviceLabel": "サービス", - "xpack.apm.metadataTable.section.spanLabel": "スパン", - "xpack.apm.metadataTable.section.traceLabel": "トレース", - "xpack.apm.metadataTable.section.transactionLabel": "トランザクション", - "xpack.apm.metadataTable.section.urlLabel": "URL", - "xpack.apm.metadataTable.section.userAgentLabel": "ユーザーエージェント", - "xpack.apm.metadataTable.section.userLabel": "ユーザー", "xpack.apm.metrics.transactionChart.machineLearningLabel": "機械学習:", "xpack.apm.metrics.transactionChart.machineLearningTooltip": "ストリームには、平均レイテンシの想定境界が表示されます。赤色の垂直の注釈は、異常スコアが75以上の異常値を示します。", "xpack.apm.metrics.transactionChart.machineLearningTooltip.withKuery": "フィルタリングで検索バーを使用しているときには、機械学習結果が表示されません", @@ -9346,11 +9325,9 @@ "xpack.enterpriseSearch.appSearch.engine.curations.manageQueryButtonLabel": "クエリを管理", "xpack.enterpriseSearch.appSearch.engine.curations.manageQueryDescription": "このキュレーションのクエリを編集、追加、削除します。", "xpack.enterpriseSearch.appSearch.engine.curations.manageQueryTitle": "クエリを管理", - "xpack.enterpriseSearch.appSearch.engine.curations.organicDocuments.emptyDescription": "表示するオーガニック結果はありません。上記のアクティブなクエリを追加または変更します。", "xpack.enterpriseSearch.appSearch.engine.curations.organicDocuments.title": "\"{currentQuery}\"の上位のオーガニックドキュメント", "xpack.enterpriseSearch.appSearch.engine.curations.overview.title": "キュレーションされた結果", "xpack.enterpriseSearch.appSearch.engine.curations.promoteButtonLabel": "この結果を昇格", - "xpack.enterpriseSearch.appSearch.engine.curations.promotedDocuments.description": "昇格された結果はオーガニック結果の前に表示されます。ドキュメントを並べ替えることができます。", "xpack.enterpriseSearch.appSearch.engine.curations.promotedDocuments.emptyDescription": "以下のオーガニック結果からドキュメントにスターを付けるか、手動で結果を検索して昇格します。", "xpack.enterpriseSearch.appSearch.engine.curations.promotedDocuments.removeAllButtonLabel": "すべて降格", "xpack.enterpriseSearch.appSearch.engine.curations.promotedDocuments.title": "昇格されたドキュメント", @@ -9974,11 +9951,9 @@ "xpack.enterpriseSearch.workplaceSearch.contentSources.displaySettings.unsaved.message": "表示設定は保存されていません。終了してよろしいですか?", "xpack.enterpriseSearch.workplaceSearch.contentSources.displaySettings.visibleFields.title": "表示フィールド", "xpack.enterpriseSearch.workplaceSearch.contentSources.syncManagementContentExtractionLabel": "すべてのテキストとコンテンツを同期", - "xpack.enterpriseSearch.workplaceSearch.contentSources.syncManagementDescription": "このソースの特定のコンテンツの抽出を有効および無効にします。", "xpack.enterpriseSearch.workplaceSearch.contentSources.syncManagementGlobalConfigLabel": "サムネイルを同期 - グローバル構成レベルでは無効", "xpack.enterpriseSearch.workplaceSearch.contentSources.syncManagementSynchronizeLabel": "このソースを同期", "xpack.enterpriseSearch.workplaceSearch.contentSources.syncManagementThumbnailsLabel": "サムネイルを同期", - "xpack.enterpriseSearch.workplaceSearch.contentSources.syncManagementTitle": "同期管理", "xpack.enterpriseSearch.workplaceSearch.copyText": "コピー", "xpack.enterpriseSearch.workplaceSearch.credentials.description": "クライアントで次の資格情報を使用して、認証サーバーからアクセストークンを要求します。", "xpack.enterpriseSearch.workplaceSearch.credentials.title": "資格情報", @@ -12725,9 +12700,7 @@ "xpack.infra.homePage.documentTitle": "メトリック", "xpack.infra.homePage.inventoryTabTitle": "インベントリ", "xpack.infra.homePage.metricsExplorerTabTitle": "メトリックエクスプローラー", - "xpack.infra.homePage.noMetricsIndicesDescription": "追加しましょう!", "xpack.infra.homePage.noMetricsIndicesInstructionsActionLabel": "セットアップの手順を表示", - "xpack.infra.homePage.noMetricsIndicesTitle": "メトリックインデックスがないようです。", "xpack.infra.homePage.settingsTabTitle": "設定", "xpack.infra.homePage.toolbar.kqlSearchFieldPlaceholder": "インフラストラクチャデータを検索…(例:host.name:host-1)", "xpack.infra.homePage.toolbar.showingLastOneMinuteDataText": "指定期間のデータの最後の{duration}", @@ -16265,7 +16238,6 @@ "xpack.ml.jobsList.managementActions.stopDatafeedDescription": "データフィードを停止します", "xpack.ml.jobsList.managementActions.stopDatafeedLabel": "データフィードを停止します", "xpack.ml.jobsList.memoryStatusLabel": "メモリー状態", - "xpack.ml.jobsList.missingSavedObjectWarning.description": "一部のジョブには保存されたオブジェクトが見つからず、{link}で同期が必要です。", "xpack.ml.jobsList.missingSavedObjectWarning.linkToManagement.link": "スタック管理", "xpack.ml.jobsList.missingSavedObjectWarning.title": "MLジョブ同期は必須です", "xpack.ml.jobsList.multiJobActions.groupSelector.addButtonAriaLabel": "追加", @@ -20736,7 +20708,6 @@ "xpack.securitySolution.certificate.fingerprint.serverCertLabel": "サーバー証明書", "xpack.securitySolution.chart.dataAllValuesZerosTitle": "すべての値はゼロを返します", "xpack.securitySolution.chart.dataNotAvailableTitle": "チャートデータが利用できません", - "xpack.securitySolution.chrome.help.appName": "セキュリティ", "xpack.securitySolution.chrome.helpMenu.documentation": "セキュリティドキュメント", "xpack.securitySolution.chrome.helpMenu.documentation.ecs": "ECSドキュメンテーション", "xpack.securitySolution.clipboard.copied": "コピー完了", @@ -21854,7 +21825,6 @@ "xpack.securitySolution.editDataProvider.valueLabel": "値", "xpack.securitySolution.editDataProvider.valuePlaceholder": "値", "xpack.securitySolution.effectedPolicySelect.viewPolicyLinkLabel": "ポリシーを表示", - "xpack.securitySolution.emptyMessage": "Elastic Securityは無料かつオープンのElastic SIEMに、Endpoint Securityを搭載。脅威の防御と検知、脅威への対応を支援します。開始するには、セキュリティソリューション関連データをElastic Stackに追加する必要があります。詳細については、以下をご覧ください ", "xpack.securitySolution.emptyString.emptyStringDescription": "空の文字列", "xpack.securitySolution.endpoint.actions.agentDetails": "エージェント詳細を表示", "xpack.securitySolution.endpoint.actions.agentPolicy": "エージェントポリシーを表示", @@ -22190,9 +22160,7 @@ "xpack.securitySolution.eventDetails.copyToClipboard": "クリップボードにコピー", "xpack.securitySolution.eventDetails.copyToClipboardTooltip": "クリップボードにコピー", "xpack.securitySolution.eventDetails.ctiSummary.indicatorEnrichmentTooltipContent": "このフィールド値は、作成したルールの脅威インテリジェンス指標と一致しました。", - "xpack.securitySolution.eventDetails.ctiSummary.indicatorEnrichmentTooltipTitle": "脅威一致が検出されました", "xpack.securitySolution.eventDetails.ctiSummary.investigationEnrichmentTooltipContent": "このフィールド値には脅威インテリジェンスソースの別の情報があります。", - "xpack.securitySolution.eventDetails.ctiSummary.investigationEnrichmentTooltipTitle": "Threat Intelligenceで拡張", "xpack.securitySolution.eventDetails.ctiSummary.providerPreposition": "開始", "xpack.securitySolution.eventDetails.description": "説明", "xpack.securitySolution.eventDetails.field": "フィールド", @@ -22819,7 +22787,6 @@ "xpack.securitySolution.overview.packetBeatFlowTitle": "フロー", "xpack.securitySolution.overview.packetbeatTLSTitle": "TLS", "xpack.securitySolution.overview.pageSubtitle": "Elastic Stackによるセキュリティ情報とイベント管理", - "xpack.securitySolution.overview.pageTitle": "セキュリティ", "xpack.securitySolution.overview.recentCasesSidebarTitle": "最近のケース", "xpack.securitySolution.overview.recentTimelinesSidebarTitle": "最近のタイムライン", "xpack.securitySolution.overview.showTopTooltip": "上位の{fieldName}を表示", @@ -22843,7 +22810,6 @@ "xpack.securitySolution.pages.common.emptyActionEndpoint": "Endpoint Securityを追加", "xpack.securitySolution.pages.common.emptyActionEndpointDescription": "脅威防御、検出、深いセキュリティデータの可視化を実現し、ホストを保護します。", "xpack.securitySolution.pages.common.emptyActionSecondary": "入門ガイドを表示します。", - "xpack.securitySolution.pages.common.emptyTitle": "Elastic Securityへようこそ。始めましょう。", "xpack.securitySolution.pages.fourohfour.pageNotFoundDescription": "ページが見つかりません", "xpack.securitySolution.paginatedTable.rowsButtonLabel": "ページごとの行数", "xpack.securitySolution.paginatedTable.showingSubtitle": "表示中", @@ -22957,7 +22923,6 @@ "xpack.securitySolution.search.timeline.templates": "テンプレート", "xpack.securitySolution.search.timelines": "タイムライン", "xpack.securitySolution.search.ueba": "ユーザーとエンティティ", - "xpack.securitySolution.security.title": "セキュリティ", "xpack.securitySolution.source.destination.packetsLabel": "パケット", "xpack.securitySolution.stepDefineRule.previewQueryAriaLabel": "クエリプレビュータイムフレーム選択", "xpack.securitySolution.stepDefineRule.previewQueryButton": "結果を表示", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index 87c96d1efe48d..9d3b54723a442 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -1669,12 +1669,6 @@ "data.functions.esaggs.help": "运行 AggConfig 聚合", "data.functions.esaggs.inspector.dataRequest.description": "此请求查询 Elasticsearch,以获取可视化的数据。", "data.functions.esaggs.inspector.dataRequest.title": "数据", - "dataViews.indexPatternLoad.help": "加载索引模式", - "dataViews.functions.indexPatternLoad.id.help": "要加载的索引模式 id", - "dataViews.ensureDefaultIndexPattern.bannerLabel": "要在 Kibana 中可视化和浏览数据,必须创建索引模式,以从 Elasticsearch 中检索数据。", - "dataViews.fetchFieldErrorTitle": "提取索引模式 {title} (ID: {id}) 的字段时出错", - "dataViews.indexPatternLoad.error.kibanaRequest": "在服务器上执行此搜索时需要 Kibana 请求。请向表达式执行模式参数提供请求对象。", - "dataViews.unableWriteLabel": "无法写入索引模式!请刷新页面以获取此索引模式的最新更改。", "data.inspector.table..dataDescriptionTooltip": "查看可视化后面的数据", "data.inspector.table.dataTitle": "数据", "data.inspector.table.downloadCSVToggleButtonLabel": "下载 CSV", @@ -2319,6 +2313,12 @@ "data.searchSessions.sessionService.sessionObjectFetchError": "无法提取搜索会话信息", "data.triggers.applyFilterDescription": "应用 kibana 筛选时。可能是单个值或范围筛选。", "data.triggers.applyFilterTitle": "应用筛选", + "dataViews.indexPatternLoad.help": "加载索引模式", + "dataViews.functions.indexPatternLoad.id.help": "要加载的索引模式 id", + "dataViews.ensureDefaultIndexPattern.bannerLabel": "要在 Kibana 中可视化和浏览数据,必须创建索引模式,以从 Elasticsearch 中检索数据。", + "dataViews.fetchFieldErrorTitle": "提取索引模式 {title} (ID: {id}) 的字段时出错", + "dataViews.indexPatternLoad.error.kibanaRequest": "在服务器上执行此搜索时需要 Kibana 请求。请向表达式执行模式参数提供请求对象。", + "dataViews.unableWriteLabel": "无法写入索引模式!请刷新页面以获取此索引模式的最新更改。", "devTools.badge.readOnly.text": "只读", "devTools.badge.readOnly.tooltip": "无法保存", "devTools.devToolsTitle": "开发工具", @@ -6359,9 +6359,6 @@ "xpack.apm.exactTransactionRateLabel": "{value} { unit, select, minute {tpm} other {tps} }", "xpack.apm.failedTransactionsCorrelations.licenseCheckText": "要使用失败事务相关性功能,必须订阅 Elastic 白金级许可证。", "xpack.apm.featureRegistry.apmFeatureName": "APM 和用户体验", - "xpack.apm.featureRegistry.manageAlertsName": "告警", - "xpack.apm.featureRegistry.subfeature.alertsAllName": "全部", - "xpack.apm.featureRegistry.subfeature.alertsReadName": "读取", "xpack.apm.feedbackMenu.appName": "APM", "xpack.apm.fetcher.error.status": "错误", "xpack.apm.fetcher.error.title": "提取资源时出错", @@ -6483,24 +6480,6 @@ "xpack.apm.localFilters.titles.serviceName": "服务名称", "xpack.apm.localFilters.titles.transactionUrl": "URL", "xpack.apm.localFiltersTitle": "筛选", - "xpack.apm.metadataTable.section.agentLabel": "代理", - "xpack.apm.metadataTable.section.clientLabel": "客户端", - "xpack.apm.metadataTable.section.containerLabel": "容器", - "xpack.apm.metadataTable.section.customLabel": "定制", - "xpack.apm.metadataTable.section.errorLabel": "错误", - "xpack.apm.metadataTable.section.hostLabel": "主机", - "xpack.apm.metadataTable.section.httpLabel": "HTTP", - "xpack.apm.metadataTable.section.labelsLabel": "标签", - "xpack.apm.metadataTable.section.messageLabel": "消息", - "xpack.apm.metadataTable.section.pageLabel": "页", - "xpack.apm.metadataTable.section.processLabel": "进程", - "xpack.apm.metadataTable.section.serviceLabel": "服务", - "xpack.apm.metadataTable.section.spanLabel": "跨度", - "xpack.apm.metadataTable.section.traceLabel": "跟踪", - "xpack.apm.metadataTable.section.transactionLabel": "事务", - "xpack.apm.metadataTable.section.urlLabel": "URL", - "xpack.apm.metadataTable.section.userAgentLabel": "用户代理", - "xpack.apm.metadataTable.section.userLabel": "用户", "xpack.apm.metrics.transactionChart.machineLearningLabel": "Machine Learning", "xpack.apm.metrics.transactionChart.machineLearningTooltip": "流显示平均延迟的预期边界。红色垂直标注表示异常分数等于或大于 75 的异常。", "xpack.apm.metrics.transactionChart.machineLearningTooltip.withKuery": "使用搜索栏筛选时,Machine Learning 结果处于隐藏状态", @@ -9438,11 +9417,9 @@ "xpack.enterpriseSearch.appSearch.engine.curations.manageQueryButtonLabel": "管理查询", "xpack.enterpriseSearch.appSearch.engine.curations.manageQueryDescription": "编辑、添加或移除此策展的查询。", "xpack.enterpriseSearch.appSearch.engine.curations.manageQueryTitle": "管理查询", - "xpack.enterpriseSearch.appSearch.engine.curations.organicDocuments.emptyDescription": "没有要显示的有机结果。在上面添加或更改活动查询。", "xpack.enterpriseSearch.appSearch.engine.curations.organicDocuments.title": "“{currentQuery}”的排名靠前有机文档", "xpack.enterpriseSearch.appSearch.engine.curations.overview.title": "已策展结果", "xpack.enterpriseSearch.appSearch.engine.curations.promoteButtonLabel": "提升此结果", - "xpack.enterpriseSearch.appSearch.engine.curations.promotedDocuments.description": "提升结果显示在有机结果之前。可以重新排列文档。", "xpack.enterpriseSearch.appSearch.engine.curations.promotedDocuments.emptyDescription": "使用星号标记来自下面有机结果的文档或手动搜索或提升结果。", "xpack.enterpriseSearch.appSearch.engine.curations.promotedDocuments.removeAllButtonLabel": "全部降低", "xpack.enterpriseSearch.appSearch.engine.curations.promotedDocuments.title": "提升文档", @@ -10073,11 +10050,9 @@ "xpack.enterpriseSearch.workplaceSearch.contentSources.displaySettings.unsaved.message": "您的显示设置尚未保存。是否确定要离开?", "xpack.enterpriseSearch.workplaceSearch.contentSources.displaySettings.visibleFields.title": "可见的字段", "xpack.enterpriseSearch.workplaceSearch.contentSources.syncManagementContentExtractionLabel": "同步所有文本和内容", - "xpack.enterpriseSearch.workplaceSearch.contentSources.syncManagementDescription": "为此源启用和禁用特定内容的提取。", "xpack.enterpriseSearch.workplaceSearch.contentSources.syncManagementGlobalConfigLabel": "同步缩略图 - 已在全局配置级别禁用", "xpack.enterpriseSearch.workplaceSearch.contentSources.syncManagementSynchronizeLabel": "同步此源", "xpack.enterpriseSearch.workplaceSearch.contentSources.syncManagementThumbnailsLabel": "同步缩略图", - "xpack.enterpriseSearch.workplaceSearch.contentSources.syncManagementTitle": "同步管理", "xpack.enterpriseSearch.workplaceSearch.copyText": "复制", "xpack.enterpriseSearch.workplaceSearch.credentials.description": "在您的客户端中使用以下凭据从我们的身份验证服务器请求访问令牌。", "xpack.enterpriseSearch.workplaceSearch.credentials.title": "凭据", @@ -12895,9 +12870,7 @@ "xpack.infra.homePage.documentTitle": "指标", "xpack.infra.homePage.inventoryTabTitle": "库存", "xpack.infra.homePage.metricsExplorerTabTitle": "指标浏览器", - "xpack.infra.homePage.noMetricsIndicesDescription": "让我们添加一些!", "xpack.infra.homePage.noMetricsIndicesInstructionsActionLabel": "查看设置说明", - "xpack.infra.homePage.noMetricsIndicesTitle": "似乎您没有任何指标索引。", "xpack.infra.homePage.settingsTabTitle": "设置", "xpack.infra.homePage.toolbar.kqlSearchFieldPlaceholder": "搜索基础设施数据……(例如 host.name:host-1)", "xpack.infra.homePage.toolbar.showingLastOneMinuteDataText": "选定时间过去 {duration}的数据", @@ -16496,7 +16469,6 @@ "xpack.ml.jobsList.managementActions.stopDatafeedDescription": "停止数据馈送", "xpack.ml.jobsList.managementActions.stopDatafeedLabel": "停止数据馈送", "xpack.ml.jobsList.memoryStatusLabel": "内存状态", - "xpack.ml.jobsList.missingSavedObjectWarning.description": "一些作业缺少已保存对象,因此需要在{link}中进行同步。", "xpack.ml.jobsList.missingSavedObjectWarning.linkToManagement.link": "Stack Management", "xpack.ml.jobsList.missingSavedObjectWarning.title": "需要同步 ML 作业", "xpack.ml.jobsList.multiJobActions.groupSelector.addButtonAriaLabel": "添加", @@ -21045,7 +21017,6 @@ "xpack.securitySolution.certificate.fingerprint.serverCertLabel": "服务器证书", "xpack.securitySolution.chart.dataAllValuesZerosTitle": "所有值返回了零", "xpack.securitySolution.chart.dataNotAvailableTitle": "图表数据不可用", - "xpack.securitySolution.chrome.help.appName": "安全", "xpack.securitySolution.chrome.helpMenu.documentation": "Security 文档", "xpack.securitySolution.chrome.helpMenu.documentation.ecs": "ECS 文档", "xpack.securitySolution.clipboard.copied": "已复制", @@ -22195,7 +22166,6 @@ "xpack.securitySolution.editDataProvider.valueLabel": "值", "xpack.securitySolution.editDataProvider.valuePlaceholder": "值", "xpack.securitySolution.effectedPolicySelect.viewPolicyLinkLabel": "查看策略", - "xpack.securitySolution.emptyMessage": "Elastic Security 将免费开放的 Elastic SIEM 和 Endpoint Security 相集成,以预防、检测并响应威胁。首先,您需要将安全解决方案相关数据添加到 Elastic Stack。有关更多信息,您可以查看我们的 ", "xpack.securitySolution.emptyString.emptyStringDescription": "空字符串", "xpack.securitySolution.endpoint.actions.agentDetails": "查看代理详情", "xpack.securitySolution.endpoint.actions.agentPolicy": "查看代理策略", @@ -22536,9 +22506,7 @@ "xpack.securitySolution.eventDetails.copyToClipboard": "复制到剪贴板", "xpack.securitySolution.eventDetails.copyToClipboardTooltip": "复制到剪贴板", "xpack.securitySolution.eventDetails.ctiSummary.indicatorEnrichmentTooltipContent": "此字段值使用您创建的规则匹配威胁情报指标。", - "xpack.securitySolution.eventDetails.ctiSummary.indicatorEnrichmentTooltipTitle": "检测到威胁匹配", "xpack.securitySolution.eventDetails.ctiSummary.investigationEnrichmentTooltipContent": "此字段值具有威胁情报源提供的其他信息。", - "xpack.securitySolution.eventDetails.ctiSummary.investigationEnrichmentTooltipTitle": "已使用威胁情报扩充", "xpack.securitySolution.eventDetails.ctiSummary.providerPreposition": "来自", "xpack.securitySolution.eventDetails.description": "描述", "xpack.securitySolution.eventDetails.field": "字段", @@ -23193,7 +23161,6 @@ "xpack.securitySolution.overview.packetBeatFlowTitle": "流", "xpack.securitySolution.overview.packetbeatTLSTitle": "TLS", "xpack.securitySolution.overview.pageSubtitle": "Elastic Stack 的安全信息和事件管理功能", - "xpack.securitySolution.overview.pageTitle": "安全", "xpack.securitySolution.overview.recentCasesSidebarTitle": "最近案例", "xpack.securitySolution.overview.recentTimelinesSidebarTitle": "最近的时间线", "xpack.securitySolution.overview.showTopTooltip": "显示排名靠前的{fieldName}", @@ -23217,7 +23184,6 @@ "xpack.securitySolution.pages.common.emptyActionEndpoint": "添加 Endpoint Security", "xpack.securitySolution.pages.common.emptyActionEndpointDescription": "使用威胁防御、检测和深度安全数据可见性功能保护您的主机。", "xpack.securitySolution.pages.common.emptyActionSecondary": "入门指南。", - "xpack.securitySolution.pages.common.emptyTitle": "欢迎使用 Elastic Security。让我们帮您如何入门。", "xpack.securitySolution.pages.common.updateAlertStatusFailed": "无法更新{ conflicts } 个{conflicts, plural, other {告警}}。", "xpack.securitySolution.pages.common.updateAlertStatusFailedDetailed": "{ updated } 个{updated, plural, other {告警}}已成功更新,但是 { conflicts } 个无法更新,\n 因为{ conflicts, plural, other {其}}已被修改。", "xpack.securitySolution.pages.fourohfour.pageNotFoundDescription": "未找到页面", @@ -23333,7 +23299,6 @@ "xpack.securitySolution.search.timeline.templates": "模板", "xpack.securitySolution.search.timelines": "时间线", "xpack.securitySolution.search.ueba": "用户和实体", - "xpack.securitySolution.security.title": "安全", "xpack.securitySolution.source.destination.packetsLabel": "pkts", "xpack.securitySolution.stepDefineRule.previewQueryAriaLabel": "查询预览时间范围选择", "xpack.securitySolution.stepDefineRule.previewQueryButton": "预览结果", diff --git a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/email/exchange_form.tsx b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/email/exchange_form.tsx index 52fa53da19cd8..e1a0db952c8ee 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/email/exchange_form.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/email/exchange_form.tsx @@ -12,12 +12,15 @@ import { EuiFlexGroup, EuiFormRow, EuiFieldPassword, + EuiLink, } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; +import { FormattedMessage } from '@kbn/i18n/react'; import { IErrorObject } from '../../../../types'; import { EmailActionConnector } from '../types'; import { nullableString } from './email_connector'; import { getEncryptedFieldNotifyLabel } from '../../get_encrypted_field_notify_label'; +import { useKibana } from '../../../../common/lib/kibana'; interface ExchangeFormFieldsProps { action: EmailActionConnector; @@ -34,6 +37,7 @@ const ExchangeFormFields: React.FunctionComponent<ExchangeFormFieldsProps> = ({ errors, readOnly, }) => { + const { docLinks } = useKibana().services; const { tenantId, clientId } = action.config; const { clientSecret } = action.secrets; @@ -61,6 +65,14 @@ const ExchangeFormFields: React.FunctionComponent<ExchangeFormFieldsProps> = ({ defaultMessage: 'Tenant ID', } )} + helpText={ + <EuiLink href={docLinks.links.alerting.emailExchangeClientIdConfig} target="_blank"> + <FormattedMessage + id="xpack.triggersActionsUI.components.builtinActionTypes.email.exchangeForm.tenantIdHelpLabel" + defaultMessage="Configure Tenant ID" + /> + </EuiLink> + } > <EuiFieldText fullWidth @@ -69,6 +81,7 @@ const ExchangeFormFields: React.FunctionComponent<ExchangeFormFieldsProps> = ({ data-test-subj="emailTenantId" readOnly={readOnly} value={tenantId || ''} + placeholder={'00000000-0000-0000-0000-000000000000'} onChange={(e) => { editActionConfig('tenantId', nullableString(e.target.value)); }} @@ -92,6 +105,14 @@ const ExchangeFormFields: React.FunctionComponent<ExchangeFormFieldsProps> = ({ defaultMessage: 'Client ID', } )} + helpText={ + <EuiLink href={docLinks.links.alerting.emailExchangeClientIdConfig} target="_blank"> + <FormattedMessage + id="xpack.triggersActionsUI.components.builtinActionTypes.email.exchangeForm.clientIdHelpLabel" + defaultMessage="Configure Client ID" + /> + </EuiLink> + } > <EuiFieldText fullWidth @@ -99,6 +120,7 @@ const ExchangeFormFields: React.FunctionComponent<ExchangeFormFieldsProps> = ({ name="clientId" data-test-subj="emailClientId" readOnly={readOnly} + placeholder={'00000000-0000-0000-0000-000000000000'} value={clientId || ''} onChange={(e) => { editActionConfig('clientId', nullableString(e.target.value)); @@ -136,6 +158,17 @@ const ExchangeFormFields: React.FunctionComponent<ExchangeFormFieldsProps> = ({ defaultMessage: 'Client Secret', } )} + helpText={ + <EuiLink + href={docLinks.links.alerting.emailExchangeClientSecretConfig} + target="_blank" + > + <FormattedMessage + id="xpack.triggersActionsUI.components.builtinActionTypes.email.exchangeForm.clientSecretHelpLabel" + defaultMessage="Configure Client Secret" + /> + </EuiLink> + } > <EuiFieldPassword fullWidth diff --git a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_form.tsx b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_form.tsx index d87ad6e5a4cee..5facda85e6c89 100644 --- a/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_form.tsx +++ b/x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_form.tsx @@ -476,6 +476,7 @@ export const AlertForm = ({ ); return ( <EuiListGroupItem + wrapText key={index} data-test-subj={`${item.id}-SelectOption`} color="primary" diff --git a/x-pack/plugins/triggers_actions_ui/server/index.test.ts b/x-pack/plugins/triggers_actions_ui/server/index.test.ts deleted file mode 100644 index 1149843d85a50..0000000000000 --- a/x-pack/plugins/triggers_actions_ui/server/index.test.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* - * 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 { config } from './index'; -import { applyDeprecations, configDeprecationFactory } from '@kbn/config'; - -const CONFIG_PATH = 'xpack.trigger_actions_ui'; -const applyStackAlertDeprecations = (settings: Record<string, unknown> = {}) => { - const deprecations = config.deprecations!(configDeprecationFactory); - const deprecationMessages: string[] = []; - const _config = { - [CONFIG_PATH]: settings, - }; - const { config: migrated } = applyDeprecations( - _config, - deprecations.map((deprecation) => ({ - deprecation, - path: CONFIG_PATH, - })), - () => - ({ message }) => - deprecationMessages.push(message) - ); - return { - messages: deprecationMessages, - migrated, - }; -}; - -describe('index', () => { - describe('deprecations', () => { - it('should deprecate .enabled flag', () => { - const { messages } = applyStackAlertDeprecations({ enabled: false }); - expect(messages).toMatchInlineSnapshot(` - Array [ - "\\"xpack.trigger_actions_ui.enabled\\" is deprecated. The ability to disable this plugin will be removed in 8.0.0.", - ] - `); - }); - }); -}); diff --git a/x-pack/plugins/triggers_actions_ui/server/index.ts b/x-pack/plugins/triggers_actions_ui/server/index.ts index c7d363af45247..89c17ea0d4189 100644 --- a/x-pack/plugins/triggers_actions_ui/server/index.ts +++ b/x-pack/plugins/triggers_actions_ui/server/index.ts @@ -4,7 +4,6 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ -import { get } from 'lodash'; import { PluginConfigDescriptor, PluginInitializerContext } from 'kibana/server'; import { configSchema, ConfigSchema } from '../config'; import { TriggersActionsPlugin } from './plugin'; @@ -26,19 +25,6 @@ export const config: PluginConfigDescriptor<ConfigSchema> = { enableGeoTrackingThresholdAlert: true, }, schema: configSchema, - deprecations: () => [ - (settings, fromPath, addDeprecation) => { - const triggersActionsUi = get(settings, fromPath); - if (triggersActionsUi?.enabled === false || triggersActionsUi?.enabled === true) { - addDeprecation({ - message: `"xpack.trigger_actions_ui.enabled" is deprecated. The ability to disable this plugin will be removed in 8.0.0.`, - correctiveActions: { - manualSteps: [`Remove "xpack.trigger_actions_ui.enabled" from your kibana configs.`], - }, - }); - } - }, - ], }; export const plugin = (ctx: PluginInitializerContext) => new TriggersActionsPlugin(ctx); diff --git a/x-pack/plugins/uptime/server/lib/helper/__snapshots__/assert_close_to.test.ts.snap b/x-pack/plugins/uptime/common/lib/__snapshots__/assert_close_to.test.ts.snap similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/__snapshots__/assert_close_to.test.ts.snap rename to x-pack/plugins/uptime/common/lib/__snapshots__/assert_close_to.test.ts.snap diff --git a/x-pack/plugins/uptime/server/lib/helper/assert_close_to.test.ts b/x-pack/plugins/uptime/common/lib/assert_close_to.test.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/assert_close_to.test.ts rename to x-pack/plugins/uptime/common/lib/assert_close_to.test.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/assert_close_to.ts b/x-pack/plugins/uptime/common/lib/assert_close_to.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/assert_close_to.ts rename to x-pack/plugins/uptime/common/lib/assert_close_to.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/get_histogram_interval.test.ts b/x-pack/plugins/uptime/common/lib/get_histogram_interval.test.ts similarity index 100% rename from x-pack/plugins/uptime/server/lib/helper/get_histogram_interval.test.ts rename to x-pack/plugins/uptime/common/lib/get_histogram_interval.test.ts diff --git a/x-pack/plugins/uptime/server/lib/helper/get_histogram_interval.ts b/x-pack/plugins/uptime/common/lib/get_histogram_interval.ts similarity index 96% rename from x-pack/plugins/uptime/server/lib/helper/get_histogram_interval.ts rename to x-pack/plugins/uptime/common/lib/get_histogram_interval.ts index edb0f7e2436bf..58b04bb041580 100644 --- a/x-pack/plugins/uptime/server/lib/helper/get_histogram_interval.ts +++ b/x-pack/plugins/uptime/common/lib/get_histogram_interval.ts @@ -6,7 +6,7 @@ */ import DateMath from '@elastic/datemath'; -import { QUERY } from '../../../common/constants'; +import { QUERY } from '../constants'; export const parseRelativeDate = (dateStr: string, options = {}) => { // We need this this parsing because if user selects This week or this date diff --git a/x-pack/plugins/uptime/e2e/journeys/uptime.journey.ts b/x-pack/plugins/uptime/e2e/journeys/uptime.journey.ts index 7407a1433ffaa..59a289ef21e7b 100644 --- a/x-pack/plugins/uptime/e2e/journeys/uptime.journey.ts +++ b/x-pack/plugins/uptime/e2e/journeys/uptime.journey.ts @@ -67,8 +67,4 @@ journey('uptime', ({ page, params }) => { step('Click on my monitor', async () => { await page.click('[data-test-subj=monitor-page-link-0001-up]'); }); - - step('Navigates to details page', async () => { - await page.click('[data-test-subj=uptimeMonitorPage]'); - }); }); diff --git a/x-pack/plugins/uptime/e2e/playwright_start.ts b/x-pack/plugins/uptime/e2e/playwright_start.ts index 99ceb591b90c8..aedb255b058be 100644 --- a/x-pack/plugins/uptime/e2e/playwright_start.ts +++ b/x-pack/plugins/uptime/e2e/playwright_start.ts @@ -42,7 +42,7 @@ async function playwrightStart(getService: any) { const res = await playwrightRun({ params: { kibanaUrl }, - playwrightOptions: { chromiumSandbox: false }, + playwrightOptions: { chromiumSandbox: false, timeout: 60 * 1000 }, }); console.log('Removing esArchiver...'); diff --git a/x-pack/plugins/uptime/kibana.json b/x-pack/plugins/uptime/kibana.json index e7fcb4607a8e4..3124324d90389 100644 --- a/x-pack/plugins/uptime/kibana.json +++ b/x-pack/plugins/uptime/kibana.json @@ -38,4 +38,4 @@ "githubTeam": "uptime" }, "description": "This plugin visualizes data from Synthetics and Heartbeat, and integrates with other Observability solutions." -} \ No newline at end of file +} diff --git a/x-pack/plugins/uptime/public/apps/uptime_app.tsx b/x-pack/plugins/uptime/public/apps/uptime_app.tsx index f82a312ef91f5..73f228f621540 100644 --- a/x-pack/plugins/uptime/public/apps/uptime_app.tsx +++ b/x-pack/plugins/uptime/public/apps/uptime_app.tsx @@ -126,11 +126,9 @@ const Application = (props: UptimeAppProps) => { className={APP_WRAPPER_CLASS} application={core.application} > - <main> - <UptimeAlertsFlyoutWrapper /> - <PageRouter /> - <ActionMenu appMountParameters={appMountParameters} /> - </main> + <UptimeAlertsFlyoutWrapper /> + <PageRouter /> + <ActionMenu appMountParameters={appMountParameters} /> </RedirectAppLinks> </div> </UptimeIndexPatternContextProvider> diff --git a/x-pack/plugins/uptime/public/apps/uptime_page_template.tsx b/x-pack/plugins/uptime/public/apps/uptime_page_template.tsx index 033fdcb61b28b..817bbf9bedcb1 100644 --- a/x-pack/plugins/uptime/public/apps/uptime_page_template.tsx +++ b/x-pack/plugins/uptime/public/apps/uptime_page_template.tsx @@ -8,7 +8,7 @@ import React, { useMemo } from 'react'; import styled from 'styled-components'; import { EuiPageHeaderProps } from '@elastic/eui'; -import { OVERVIEW_ROUTE } from '../../common/constants'; +import { CERTIFICATES_ROUTE, OVERVIEW_ROUTE } from '../../common/constants'; import { useKibana } from '../../../../../src/plugins/kibana_react/public'; import { ClientPluginsStart } from './plugin'; import { useNoDataConfig } from './use_no_data_config'; @@ -44,14 +44,16 @@ export const UptimePageTemplateComponent: React.FC<Props> = ({ path, pageHeader, return <EmptyStateError errors={[error]} />; } - const showLoading = loading && path === OVERVIEW_ROUTE && !data; + const isMainRoute = path === OVERVIEW_ROUTE || path === CERTIFICATES_ROUTE; + + const showLoading = loading && isMainRoute && !data; return ( <> - <div data-test-subj={noDataConfig ? 'data-missing' : undefined} /> <StyledPageTemplateComponent pageHeader={pageHeader} - noDataConfig={path === OVERVIEW_ROUTE && !loading ? noDataConfig : undefined} + data-test-subj={noDataConfig ? 'data-missing' : undefined} + noDataConfig={isMainRoute && !loading ? noDataConfig : undefined} > {showLoading && <EmptyStateLoading />} <div diff --git a/x-pack/plugins/uptime/public/components/monitor/ml/ml_flyout_container.tsx b/x-pack/plugins/uptime/public/components/monitor/ml/ml_flyout_container.tsx index 478edb563df9a..c1e32613a2ffb 100644 --- a/x-pack/plugins/uptime/public/components/monitor/ml/ml_flyout_container.tsx +++ b/x-pack/plugins/uptime/public/components/monitor/ml/ml_flyout_container.tsx @@ -41,6 +41,7 @@ const showMLJobNotification = ( basePath: string, range: { to: string; from: string }, success: boolean, + awaitingNodeAssignment: boolean, error?: Error ) => { if (success) { @@ -51,7 +52,9 @@ const showMLJobNotification = ( ), text: toMountPoint( <p> - {labels.JOB_CREATED_SUCCESS_MESSAGE} + {awaitingNodeAssignment + ? labels.JOB_CREATED_LAZY_SUCCESS_MESSAGE + : labels.JOB_CREATED_SUCCESS_MESSAGE} <MLJobLink monitorId={monitorId} basePath={basePath} dateRange={range}> {labels.VIEW_JOB} </MLJobLink> @@ -107,7 +110,8 @@ export const MachineLearningFlyout: React.FC<Props> = ({ onClose }) => { monitorId as string, basePath, { to: dateRangeEnd, from: dateRangeStart }, - true + true, + hasMLJob.awaitingNodeAssignment ); const loadMLJob = (jobId: string) => dispatch(getExistingMLJobAction.get({ monitorId: monitorId as string })); @@ -123,6 +127,7 @@ export const MachineLearningFlyout: React.FC<Props> = ({ onClose }) => { basePath, { to: dateRangeEnd, from: dateRangeStart }, false, + false, error as Error ); } diff --git a/x-pack/plugins/uptime/public/components/monitor/ml/translations.tsx b/x-pack/plugins/uptime/public/components/monitor/ml/translations.tsx index 82b4006246ec7..1fc4093a67d83 100644 --- a/x-pack/plugins/uptime/public/components/monitor/ml/translations.tsx +++ b/x-pack/plugins/uptime/public/components/monitor/ml/translations.tsx @@ -22,6 +22,14 @@ export const JOB_CREATED_SUCCESS_MESSAGE = i18n.translate( } ); +export const JOB_CREATED_LAZY_SUCCESS_MESSAGE = i18n.translate( + 'xpack.uptime.ml.enableAnomalyDetectionPanel.jobCreatedLazyNotificationText', + { + defaultMessage: + 'The analysis is waiting for an ML node to become available. It might take a while before results are added to the response times graph.', + } +); + export const JOB_CREATION_FAILED = i18n.translate( 'xpack.uptime.ml.enableAnomalyDetectionPanel.jobCreationFailedNotificationTitle', { diff --git a/x-pack/plugins/uptime/public/components/overview/monitor_list/monitor_list.tsx b/x-pack/plugins/uptime/public/components/overview/monitor_list/monitor_list.tsx index 37803dff88ce9..fd9c072b9004f 100644 --- a/x-pack/plugins/uptime/public/components/overview/monitor_list/monitor_list.tsx +++ b/x-pack/plugins/uptime/public/components/overview/monitor_list/monitor_list.tsx @@ -17,7 +17,7 @@ import { EuiSpacer, getBreakpoint, } from '@elastic/eui'; -import { HistogramPoint, X509Expiry } from '../../../../common/runtime_types'; +import { X509Expiry } from '../../../../common/runtime_types'; import { MonitorSummary } from '../../../../common/runtime_types'; import { MonitorListStatusColumn } from './columns/monitor_status_column'; import { ExpandedRowMap } from './types'; @@ -35,6 +35,7 @@ import { EnableMonitorAlert } from './columns/enable_alert'; import { STATUS_ALERT_COLUMN } from './translations'; import { MonitorNameColumn } from './columns/monitor_name_col'; import { MonitorTags } from '../../common/monitor_tags'; +import { useMonitorHistogram } from './use_monitor_histogram'; interface Props extends MonitorListProps { pageSize: number; @@ -67,6 +68,8 @@ export const MonitorListComponent: ({ const items = list.summaries ?? []; + const { histogramsById, minInterval } = useMonitorHistogram({ items }); + const nextPagePagination = list.nextPagePagination ?? ''; const prevPagePagination = list.prevPagePagination ?? ''; @@ -149,15 +152,15 @@ export const MonitorListComponent: ({ ? [ { align: 'left' as const, - field: 'histogram.points', + field: 'monitor_id', name: labels.HISTORY_COLUMN_LABEL, mobileOptions: { show: false, }, - render: (histogramSeries: HistogramPoint[] | null, summary: MonitorSummary) => ( + render: (monitorId: string) => ( <MonitorBarSeries - histogramSeries={histogramSeries} - minInterval={summary.minInterval!} + histogramSeries={histogramsById?.[monitorId]?.points} + minInterval={minInterval!} /> ), }, diff --git a/x-pack/plugins/uptime/public/components/overview/monitor_list/use_monitor_histogram.ts b/x-pack/plugins/uptime/public/components/overview/monitor_list/use_monitor_histogram.ts new file mode 100644 index 0000000000000..e1ef3d9efee89 --- /dev/null +++ b/x-pack/plugins/uptime/public/components/overview/monitor_list/use_monitor_histogram.ts @@ -0,0 +1,137 @@ +/* + * 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 { useContext } from 'react'; +import { useSelector } from 'react-redux'; +import { estypes } from '@elastic/elasticsearch'; +import { + Histogram, + HistogramPoint, + MonitorSummary, +} from '../../../../common/runtime_types/monitor'; +import { useGetUrlParams } from '../../../hooks'; +import { UptimeRefreshContext } from '../../../contexts'; +import { useEsSearch } from '../../../../../observability/public'; +import { esKuerySelector } from '../../../state/selectors'; +import { getHistogramInterval } from '../../../../common/lib/get_histogram_interval'; +import { Ping } from '../../../../common/runtime_types'; + +export const useMonitorHistogram = ({ items }: { items: MonitorSummary[] }) => { + const { dateRangeStart, dateRangeEnd, statusFilter } = useGetUrlParams(); + + const { lastRefresh } = useContext(UptimeRefreshContext); + + const filters = useSelector(esKuerySelector); + + const monitorIds = (items ?? []).map(({ monitor_id: monitorId }) => monitorId); + + const { queryParams, minInterval } = getQueryParams( + dateRangeStart, + dateRangeEnd, + filters, + statusFilter, + monitorIds + ); + + const { data, loading } = useEsSearch<Ping, typeof queryParams>(queryParams, [ + JSON.stringify(monitorIds), + lastRefresh, + ]); + + const histogramBuckets = data?.aggregations?.histogram.buckets ?? []; + const simplified = histogramBuckets.map((histogramBucket) => { + const byId: { [key: string]: number } = {}; + histogramBucket.by_id.buckets.forEach((idBucket) => { + byId[idBucket.key] = idBucket.totalDown.value as number; + }); + return { + byId, + timestamp: histogramBucket.key, + }; + }); + + const histogramsById: { [key: string]: Histogram } = {}; + monitorIds.forEach((id: string) => { + const points: HistogramPoint[] = []; + simplified.forEach(({ byId, timestamp }) => { + points.push({ + timestamp, + up: undefined, + down: byId[id], + }); + }); + histogramsById[id] = { points }; + }); + + return { histogramsById, loading, minInterval }; +}; + +const getQueryParams = ( + dateRangeStart: string, + dateRangeEnd: string, + filters: string, + statusFilter: string, + monitorIds: string[] +) => { + const minInterval = getHistogramInterval(dateRangeStart, dateRangeEnd, 12); + + const queryParams = { + index: 'heartbeat-*', + body: { + size: 0, + query: { + bool: { + filter: [ + { + range: { + 'summary.down': { gt: 0 }, + }, + }, + { + terms: { + 'monitor.id': monitorIds, + }, + }, + { + range: { + '@timestamp': { + gte: dateRangeStart, + lte: dateRangeEnd, + }, + }, + }, + ] as estypes.QueryDslQueryContainer, + }, + }, + aggs: { + histogram: { + date_histogram: { + field: '@timestamp', + // 12 seems to be a good size for performance given + // long monitor lists of up to 100 on the overview page + fixed_interval: minInterval + 'ms', + }, + aggs: { + by_id: { + terms: { + field: 'monitor.id', + size: Math.max(monitorIds.length, 1), + }, + aggs: { + totalDown: { + sum: { field: 'summary.down' }, + }, + }, + }, + }, + }, + }, + }, + }; + + return { queryParams, minInterval }; +}; diff --git a/x-pack/plugins/uptime/public/components/synthetics/check_steps/steps_list.tsx b/x-pack/plugins/uptime/public/components/synthetics/check_steps/steps_list.tsx index 0da6f034e53bb..9f2e5d609e867 100644 --- a/x-pack/plugins/uptime/public/components/synthetics/check_steps/steps_list.tsx +++ b/x-pack/plugins/uptime/public/components/synthetics/check_steps/steps_list.tsx @@ -142,7 +142,7 @@ export const StepsList = ({ data, error, loading }: Props) => { return ( <> - <EuiTitle> + <EuiTitle size="s"> <h2> {statusMessage( steps.reduce(reduceStepStatus, { failed: 0, skipped: 0, succeeded: 0 }), diff --git a/x-pack/plugins/uptime/public/state/actions/types.ts b/x-pack/plugins/uptime/public/state/actions/types.ts index b830f81624046..754710db306e4 100644 --- a/x-pack/plugins/uptime/public/state/actions/types.ts +++ b/x-pack/plugins/uptime/public/state/actions/types.ts @@ -48,6 +48,7 @@ export interface MonitorDetailsActionPayload { export interface CreateMLJobSuccess { count: number; jobId: string; + awaitingNodeAssignment: boolean; } export interface DeleteJobResults { diff --git a/x-pack/plugins/uptime/public/state/api/ml_anomaly.ts b/x-pack/plugins/uptime/public/state/api/ml_anomaly.ts index 95784467610fb..24f2d667323d1 100644 --- a/x-pack/plugins/uptime/public/state/api/ml_anomaly.ts +++ b/x-pack/plugins/uptime/public/state/api/ml_anomaly.ts @@ -57,10 +57,12 @@ export const createMLJob = async ({ const response: DataRecognizerConfigResponse = await apiService.post(url, data); if (response?.jobs?.[0]?.id === getMLJobId(monitorId)) { const jobResponse = response.jobs[0]; + const datafeedResponse = response.datafeeds[0]; if (jobResponse.success) { return { count: 1, jobId: jobResponse.id, + awaitingNodeAssignment: datafeedResponse.awaitingMlNodeAllocation === true, }; } else { const { error } = jobResponse; diff --git a/x-pack/plugins/uptime/server/lib/helper/index.ts b/x-pack/plugins/uptime/server/lib/helper/index.ts index dc03191369661..f0dcc75246675 100644 --- a/x-pack/plugins/uptime/server/lib/helper/index.ts +++ b/x-pack/plugins/uptime/server/lib/helper/index.ts @@ -6,6 +6,4 @@ */ export { getFilterClause } from './get_filter_clause'; -export { parseRelativeDate } from './get_histogram_interval'; -export { assertCloseTo } from './assert_close_to'; export { objectValuesToArrays } from './object_to_array'; diff --git a/x-pack/plugins/uptime/server/lib/helper/parse_relative_date.test.ts b/x-pack/plugins/uptime/server/lib/helper/parse_relative_date.test.ts index e76f7b1eb8f55..b8f5ad30671f5 100644 --- a/x-pack/plugins/uptime/server/lib/helper/parse_relative_date.test.ts +++ b/x-pack/plugins/uptime/server/lib/helper/parse_relative_date.test.ts @@ -5,8 +5,8 @@ * 2.0. */ -import { parseRelativeDate } from './get_histogram_interval'; import { Moment } from 'moment'; +import { parseRelativeDate } from '../../../common/lib/get_histogram_interval'; describe('Parsing a relative end date properly', () => { it('converts the upper range of relative end dates to now', async () => { diff --git a/x-pack/plugins/uptime/server/lib/requests/get_monitor_states.ts b/x-pack/plugins/uptime/server/lib/requests/get_monitor_states.ts index 16aca6f8238fb..3d763e59bfa38 100644 --- a/x-pack/plugins/uptime/server/lib/requests/get_monitor_states.ts +++ b/x-pack/plugins/uptime/server/lib/requests/get_monitor_states.ts @@ -9,8 +9,6 @@ import { CONTEXT_DEFAULTS, QUERY } from '../../../common/constants'; import { UMElasticsearchQueryFn } from '../adapters'; import { SortOrder, CursorDirection, MonitorSummariesResult } from '../../../common/runtime_types'; import { QueryContext, MonitorSummaryIterator } from './search'; -import { HistogramPoint, Histogram } from '../../../common/runtime_types'; -import { getHistogramInterval } from '../helper/get_histogram_interval'; export interface CursorPagination { cursorKey?: any; @@ -70,112 +68,9 @@ export const getMonitorStates: UMElasticsearchQueryFn< const iterator = new MonitorSummaryIterator(queryContext); const page = await iterator.nextPage(size); - const minInterval = getHistogramInterval( - queryContext.dateRangeStart, - queryContext.dateRangeEnd, - 12 - ); - - const histograms = await getHistogramForMonitors( - queryContext, - page.monitorSummaries.map((s) => s.monitor_id), - minInterval - ); - - page.monitorSummaries.forEach((s) => { - s.histogram = histograms[s.monitor_id]; - s.minInterval = minInterval; - }); - return { summaries: page.monitorSummaries, nextPagePagination: jsonifyPagination(page.nextPagePagination), prevPagePagination: jsonifyPagination(page.prevPagePagination), }; }; - -export const getHistogramForMonitors = async ( - queryContext: QueryContext, - monitorIds: string[], - minInterval: number -): Promise<{ [key: string]: Histogram }> => { - const params = { - size: 0, - query: { - bool: { - filter: [ - { - range: { - 'summary.down': { gt: 0 }, - }, - }, - { - terms: { - 'monitor.id': monitorIds, - }, - }, - { - range: { - '@timestamp': { - gte: queryContext.dateRangeStart, - lte: queryContext.dateRangeEnd, - }, - }, - }, - ], - }, - }, - aggs: { - histogram: { - date_histogram: { - field: '@timestamp', - // 12 seems to be a good size for performance given - // long monitor lists of up to 100 on the overview page - fixed_interval: minInterval + 'ms', - missing: 0, - }, - aggs: { - by_id: { - terms: { - field: 'monitor.id', - size: Math.max(monitorIds.length, 1), - }, - aggs: { - totalDown: { - sum: { field: 'summary.down' }, - }, - }, - }, - }, - }, - }, - }; - const { body: result } = await queryContext.search({ body: params }); - - const histoBuckets: any[] = (result.aggregations as any)?.histogram.buckets ?? []; - const simplified = histoBuckets.map((histoBucket: any): { timestamp: number; byId: any } => { - const byId: { [key: string]: number } = {}; - histoBucket.by_id.buckets.forEach((idBucket: any) => { - byId[idBucket.key] = idBucket.totalDown.value; - }); - return { - timestamp: parseInt(histoBucket.key, 10), - byId, - }; - }); - - const histosById: { [key: string]: Histogram } = {}; - monitorIds.forEach((id: string) => { - const points: HistogramPoint[] = []; - simplified.forEach((simpleHisto) => { - points.push({ - timestamp: simpleHisto.timestamp, - up: undefined, - down: simpleHisto.byId[id], - }); - }); - histosById[id] = { points }; - }); - - return histosById; -}; diff --git a/x-pack/plugins/uptime/server/lib/requests/get_ping_histogram.test.ts b/x-pack/plugins/uptime/server/lib/requests/get_ping_histogram.test.ts index 5d03110e5cf28..22f714e408a1c 100644 --- a/x-pack/plugins/uptime/server/lib/requests/get_ping_histogram.test.ts +++ b/x-pack/plugins/uptime/server/lib/requests/get_ping_histogram.test.ts @@ -6,7 +6,7 @@ */ import { getPingHistogram } from './get_ping_histogram'; -import * as intervalHelper from '../helper/get_histogram_interval'; +import * as intervalHelper from '../../../common/lib/get_histogram_interval'; import { getUptimeESMockClient } from './helper'; describe('getPingHistogram', () => { diff --git a/x-pack/plugins/uptime/server/lib/requests/get_ping_histogram.ts b/x-pack/plugins/uptime/server/lib/requests/get_ping_histogram.ts index 4490ab67651c9..107a0f29e55fa 100644 --- a/x-pack/plugins/uptime/server/lib/requests/get_ping_histogram.ts +++ b/x-pack/plugins/uptime/server/lib/requests/get_ping_histogram.ts @@ -8,9 +8,9 @@ import { getFilterClause } from '../helper'; import { GetPingHistogramParams, HistogramResult } from '../../../common/runtime_types'; import { QUERY } from '../../../common/constants'; -import { getHistogramInterval } from '../helper/get_histogram_interval'; import { UMElasticsearchQueryFn } from '../adapters/framework'; import { createEsQuery } from '../../../common/utils/es_search'; +import { getHistogramInterval } from '../../../common/lib/get_histogram_interval'; export const getPingHistogram: UMElasticsearchQueryFn<GetPingHistogramParams, HistogramResult> = async ({ diff --git a/x-pack/plugins/uptime/server/lib/requests/search/query_context.ts b/x-pack/plugins/uptime/server/lib/requests/search/query_context.ts index d443411ef4c6e..0bc503093f131 100644 --- a/x-pack/plugins/uptime/server/lib/requests/search/query_context.ts +++ b/x-pack/plugins/uptime/server/lib/requests/search/query_context.ts @@ -7,10 +7,10 @@ import moment from 'moment'; import { CursorPagination } from './types'; -import { parseRelativeDate } from '../../helper'; import { CursorDirection, SortOrder } from '../../../../common/runtime_types'; import { UptimeESClient } from '../../lib'; import { ESFilter } from '../../../../../../../src/core/types/elasticsearch'; +import { parseRelativeDate } from '../../../../common/lib/get_histogram_interval'; export class QueryContext { callES: UptimeESClient; diff --git a/x-pack/test/accessibility/apps/ingest_node_pipelines.ts b/x-pack/test/accessibility/apps/ingest_node_pipelines.ts index b9bc216db60b5..dab9c86bf018e 100644 --- a/x-pack/test/accessibility/apps/ingest_node_pipelines.ts +++ b/x-pack/test/accessibility/apps/ingest_node_pipelines.ts @@ -14,14 +14,14 @@ export default function ({ getService, getPageObjects }: any) { const log = getService('log'); const a11y = getService('a11y'); /* this is the wrapping service around axe */ - describe('Ingest Node Pipelines', async () => { + describe('Ingest Pipelines', async () => { before(async () => { await putSamplePipeline(esClient); await common.navigateToApp('ingestPipelines'); }); it('List View', async () => { - await retry.waitFor('Ingest Node Pipelines page to be visible', async () => { + await retry.waitFor('Ingest Pipelines page to be visible', async () => { await common.navigateToApp('ingestPipelines'); return testSubjects.exists('pipelineDetailsLink') ? true : false; }); diff --git a/x-pack/test/accessibility/apps/login_page.ts b/x-pack/test/accessibility/apps/login_page.ts index 580df3e4ccc88..8de4a47e10b1e 100644 --- a/x-pack/test/accessibility/apps/login_page.ts +++ b/x-pack/test/accessibility/apps/login_page.ts @@ -14,7 +14,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const retry = getService('retry'); const PageObjects = getPageObjects(['common', 'security']); - describe('Security', () => { + // Failing: See https://github.com/elastic/kibana/issues/96372 + describe.skip('Security', () => { describe('Login Page', () => { before(async () => { await esArchiver.load('x-pack/test/functional/es_archives/empty_kibana'); diff --git a/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/index.ts b/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/index.ts index 3a4cc62c2550f..531046013263f 100644 --- a/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/index.ts +++ b/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/index.ts @@ -35,6 +35,7 @@ export default function alertingTests({ loadTestFile, getService }: FtrProviderC loadTestFile(require.resolve('./alerts_space1')); loadTestFile(require.resolve('./alerts_default_space')); loadTestFile(require.resolve('./builtin_alert_types')); + loadTestFile(require.resolve('./transform_rule_types')); loadTestFile(require.resolve('./mustache_templates.ts')); loadTestFile(require.resolve('./notify_when')); loadTestFile(require.resolve('./ephemeral')); diff --git a/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/transform_rule_types/index.ts b/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/transform_rule_types/index.ts new file mode 100644 index 0000000000000..072e318da2df9 --- /dev/null +++ b/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/transform_rule_types/index.ts @@ -0,0 +1,16 @@ +/* + * 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 { FtrProviderContext } from '../../../../common/ftr_provider_context'; + +// eslint-disable-next-line import/no-default-export +export default function alertingTests({ loadTestFile }: FtrProviderContext) { + describe('transform alert rule types', function () { + this.tags('dima'); + loadTestFile(require.resolve('./transform_health')); + }); +} diff --git a/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/transform_rule_types/transform_health/alert.ts b/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/transform_rule_types/transform_health/alert.ts new file mode 100644 index 0000000000000..c5fb4ec61aa4f --- /dev/null +++ b/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/transform_rule_types/transform_health/alert.ts @@ -0,0 +1,206 @@ +/* + * 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 expect from '@kbn/expect'; +import { FtrProviderContext } from '../../../../../common/ftr_provider_context'; +import { + ES_TEST_INDEX_NAME, + ESTestIndexTool, + getUrlPrefix, + ObjectRemover, +} from '../../../../../common/lib'; +import { Spaces } from '../../../../scenarios'; +import { PutTransformsRequestSchema } from '../../../../../../../plugins/transform/common/api_schemas/transforms'; + +const ACTION_TYPE_ID = '.index'; +const ALERT_TYPE_ID = 'transform_health'; +const ES_TEST_INDEX_SOURCE = 'transform-alert:transform-health'; +const ES_TEST_INDEX_REFERENCE = '-na-'; +const ES_TEST_OUTPUT_INDEX_NAME = `${ES_TEST_INDEX_NAME}-ts-output`; + +const ALERT_INTERVAL_SECONDS = 3; + +interface CreateAlertParams { + name: string; + includeTransforms: string[]; + excludeTransforms?: string[] | null; + testsConfig?: { + notStarted?: { + enabled: boolean; + } | null; + } | null; +} + +export function generateDestIndex(transformId: string): string { + return `user-${transformId}`; +} + +export function generateTransformConfig(transformId: string): PutTransformsRequestSchema { + const destinationIndex = generateDestIndex(transformId); + + return { + source: { index: ['ft_farequote'] }, + pivot: { + group_by: { airline: { terms: { field: 'airline' } } }, + aggregations: { '@timestamp.value_count': { value_count: { field: '@timestamp' } } }, + }, + dest: { index: destinationIndex }, + sync: { + time: { field: '@timestamp' }, + }, + }; +} + +// eslint-disable-next-line import/no-default-export +export default function alertTests({ getService }: FtrProviderContext) { + const supertest = getService('supertest'); + const esArchiver = getService('esArchiver'); + const retry = getService('retry'); + const es = getService('es'); + const log = getService('log'); + const transform = getService('transform'); + + const esTestIndexTool = new ESTestIndexTool(es, retry); + const esTestIndexToolOutput = new ESTestIndexTool(es, retry, ES_TEST_OUTPUT_INDEX_NAME); + + describe('alert', async () => { + const objectRemover = new ObjectRemover(supertest); + let actionId: string; + const transformId = 'test_transform_01'; + const destinationIndex = generateDestIndex(transformId); + + beforeEach(async () => { + await esTestIndexTool.destroy(); + await esTestIndexTool.setup(); + + await esTestIndexToolOutput.destroy(); + await esTestIndexToolOutput.setup(); + + await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/ml/farequote'); + await transform.testResources.setKibanaTimeZoneToUTC(); + + actionId = await createAction(); + + await transform.api.createIndices(destinationIndex); + await createTransform(transformId); + }); + + afterEach(async () => { + await objectRemover.removeAll(); + await esTestIndexTool.destroy(); + await esTestIndexToolOutput.destroy(); + await transform.api.cleanTransformIndices(); + }); + + it('runs correctly', async () => { + await createAlert({ + name: 'Test all transforms', + includeTransforms: ['*'], + }); + + await stopTransform(transformId); + + log.debug('Checking created alert instances...'); + + const docs = await waitForDocs(1); + for (const doc of docs) { + const { name, message } = doc._source.params; + + expect(name).to.be('Test all transforms'); + expect(message).to.be('Transform test_transform_01 is not started.'); + } + }); + + async function waitForDocs(count: number): Promise<any[]> { + return await esTestIndexToolOutput.waitForDocs( + ES_TEST_INDEX_SOURCE, + ES_TEST_INDEX_REFERENCE, + count + ); + } + + async function createTransform(id: string) { + const config = generateTransformConfig(id); + await transform.api.createAndRunTransform(id, config); + } + + async function createAlert(params: CreateAlertParams): Promise<string> { + log.debug(`Creating an alerting rule "${params.name}"...`); + const action = { + id: actionId, + group: 'transform_issue', + params: { + documents: [ + { + source: ES_TEST_INDEX_SOURCE, + reference: ES_TEST_INDEX_REFERENCE, + params: { + name: '{{{alertName}}}', + message: '{{{context.message}}}', + }, + }, + ], + }, + }; + + const { status, body: createdAlert } = await supertest + .post(`${getUrlPrefix(Spaces.space1.id)}/api/alerting/rule`) + .set('kbn-xsrf', 'foo') + .send({ + name: params.name, + consumer: 'alerts', + enabled: true, + rule_type_id: ALERT_TYPE_ID, + schedule: { interval: `${ALERT_INTERVAL_SECONDS}s` }, + actions: [action], + notify_when: 'onActiveAlert', + params: { + includeTransforms: params.includeTransforms, + }, + }); + + // will print the error body, if an error occurred + // if (statusCode !== 200) console.log(createdAlert); + + expect(status).to.be(200); + + const alertId = createdAlert.id; + objectRemover.add(Spaces.space1.id, alertId, 'rule', 'alerting'); + + return alertId; + } + + async function stopTransform(id: string) { + await transform.api.stopTransform(id); + } + + async function createAction(): Promise<string> { + log.debug('Creating an action...'); + // @ts-ignore + const { statusCode, body: createdAction } = await supertest + .post(`${getUrlPrefix(Spaces.space1.id)}/api/actions/connector`) + .set('kbn-xsrf', 'foo') + .send({ + name: 'index action for transform health FT', + connector_type_id: ACTION_TYPE_ID, + config: { + index: ES_TEST_OUTPUT_INDEX_NAME, + }, + secrets: {}, + }); + + expect(statusCode).to.be(200); + + log.debug(`Action with id "${createdAction.id}" has been created.`); + + const resultId = createdAction.id; + objectRemover.add(Spaces.space1.id, resultId, 'connector', 'actions'); + + return resultId; + } + }); +} diff --git a/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/transform_rule_types/transform_health/index.ts b/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/transform_rule_types/transform_health/index.ts new file mode 100644 index 0000000000000..c324745b85813 --- /dev/null +++ b/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/transform_rule_types/transform_health/index.ts @@ -0,0 +1,15 @@ +/* + * 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 { FtrProviderContext } from '../../../../../common/ftr_provider_context'; + +// eslint-disable-next-line import/no-default-export +export default function alertingTests({ loadTestFile }: FtrProviderContext) { + describe('transform_health', function () { + loadTestFile(require.resolve('./alert')); + }); +} diff --git a/x-pack/test/api_integration/apis/management/index_lifecycle_management/policies.js b/x-pack/test/api_integration/apis/management/index_lifecycle_management/policies.js index 8e29604a0bf62..25ce7d4b677a3 100644 --- a/x-pack/test/api_integration/apis/management/index_lifecycle_management/policies.js +++ b/x-pack/test/api_integration/apis/management/index_lifecycle_management/policies.js @@ -32,7 +32,8 @@ export default function ({ getService }) { const { addPolicyToIndex } = registerIndexHelpers({ supertest }); - describe('policies', () => { + // FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/114030 + describe.skip('policies', () => { after(() => Promise.all([cleanUpEsResources(), cleanUpPolicies()])); describe('list', () => { diff --git a/x-pack/test/api_integration/apis/management/ingest_pipelines/index.ts b/x-pack/test/api_integration/apis/management/ingest_pipelines/index.ts index 54bd29ede5865..d36c573e14e1f 100644 --- a/x-pack/test/api_integration/apis/management/ingest_pipelines/index.ts +++ b/x-pack/test/api_integration/apis/management/ingest_pipelines/index.ts @@ -8,7 +8,7 @@ import { FtrProviderContext } from '../../../ftr_provider_context'; export default function ({ loadTestFile }: FtrProviderContext) { - describe('Ingest Node Pipelines', () => { + describe('Ingest Pipelines', () => { loadTestFile(require.resolve('./ingest_pipelines')); }); } diff --git a/x-pack/test/api_integration/apis/management/ingest_pipelines/ingest_pipelines.ts b/x-pack/test/api_integration/apis/management/ingest_pipelines/ingest_pipelines.ts index 1ad2a05d4f783..80790a6df400f 100644 --- a/x-pack/test/api_integration/apis/management/ingest_pipelines/ingest_pipelines.ts +++ b/x-pack/test/api_integration/apis/management/ingest_pipelines/ingest_pipelines.ts @@ -145,7 +145,7 @@ export default function ({ getService }: FtrProviderContext) { await createPipeline({ body: PIPELINE, id: PIPELINE_ID }, true); } catch (err) { // eslint-disable-next-line no-console - console.log('[Setup error] Error creating ingest node pipeline'); + console.log('[Setup error] Error creating ingest pipeline'); throw err; } }); @@ -225,7 +225,7 @@ export default function ({ getService }: FtrProviderContext) { await createPipeline({ body: PIPELINE, id: PIPELINE_ID }, true); } catch (err) { // eslint-disable-next-line no-console - console.log('[Setup error] Error creating ingest node pipeline'); + console.log('[Setup error] Error creating ingest pipeline'); throw err; } }); diff --git a/x-pack/test/api_integration/apis/ml/saved_objects/initialize.ts b/x-pack/test/api_integration/apis/ml/saved_objects/initialize.ts index 8859b7ed2b106..1684a9c5465bf 100644 --- a/x-pack/test/api_integration/apis/ml/saved_objects/initialize.ts +++ b/x-pack/test/api_integration/apis/ml/saved_objects/initialize.ts @@ -68,7 +68,7 @@ export default ({ getService }: FtrProviderContext) => { it('should not initialize jobs if all jobs have spaces assigned', async () => { const body = await runRequest(USER.ML_POWERUSER_ALL_SPACES, 200); - expect(body).to.eql({ jobs: [], success: true }); + expect(body).to.eql({ datafeeds: [], jobs: [], success: true }); await ml.api.assertJobSpaces(adJobId, 'anomaly-detector', ['*']); await ml.api.assertJobSpaces(dfaJobId, 'data-frame-analytics', ['*']); }); diff --git a/x-pack/test/api_integration/apis/ml/saved_objects/sync.ts b/x-pack/test/api_integration/apis/ml/saved_objects/sync.ts index e8c940d6b29b6..4038c03f4d953 100644 --- a/x-pack/test/api_integration/apis/ml/saved_objects/sync.ts +++ b/x-pack/test/api_integration/apis/ml/saved_objects/sync.ts @@ -10,6 +10,7 @@ import { cloneDeep } from 'lodash'; import { FtrProviderContext } from '../../../ftr_provider_context'; import { USER } from '../../../../functional/services/ml/security_common'; import { COMMON_REQUEST_HEADERS } from '../../../../functional/services/ml/common_api'; +import { JobType } from '../../../../../plugins/ml/common/types/saved_objects'; export default ({ getService }: FtrProviderContext) => { const ml = getService('ml'); @@ -22,7 +23,7 @@ export default ({ getService }: FtrProviderContext) => { const adJobIdES = 'fq_single_es'; const idSpace1 = 'space1'; - async function runRequest(user: USER, expectedStatusCode: number) { + async function runSyncRequest(user: USER, expectedStatusCode: number) { const { body } = await supertest .get(`/s/${idSpace1}/api/ml/saved_objects/sync`) .auth(user, ml.securityCommon.getPasswordForUser(user)) @@ -32,6 +33,17 @@ export default ({ getService }: FtrProviderContext) => { return body; } + async function runSyncCheckRequest(user: USER, jobType: JobType, expectedStatusCode: number) { + const { body } = await supertest + .post(`/s/${idSpace1}/api/ml/saved_objects/sync_check`) + .auth(user, ml.securityCommon.getPasswordForUser(user)) + .set(COMMON_REQUEST_HEADERS) + .send({ jobType }) + .expect(expectedStatusCode); + + return body; + } + describe('GET saved_objects/sync', () => { beforeEach(async () => { await spacesService.create({ id: idSpace1, name: 'space_one', disabledFeatures: [] }); @@ -45,6 +57,14 @@ export default ({ getService }: FtrProviderContext) => { }); it('should sync datafeeds and saved objects', async () => { + // check to see if a sync is needed + const syncNeeded = await runSyncCheckRequest( + USER.ML_POWERUSER_ALL_SPACES, + 'anomaly-detector', + 200 + ); + expect(syncNeeded.result).to.eql(false, 'sync should not be needed'); + // prepare test data await ml.api.createAnomalyDetectionJob( ml.commonConfig.getADFqSingleMetricJobConfig(adJobId1), @@ -77,18 +97,34 @@ export default ({ getService }: FtrProviderContext) => { // left-over saved object should be removed with the request await ml.api.deleteAnomalyDetectionJobES(adJobId1); + // check to see if a sync is needed + const syncNeeded2 = await runSyncCheckRequest( + USER.ML_POWERUSER_ALL_SPACES, + 'anomaly-detector', + 200 + ); + expect(syncNeeded2.result).to.eql(true, 'sync should be needed'); + // run the sync request and verify the response - const body = await runRequest(USER.ML_POWERUSER_ALL_SPACES, 200); + const body = await runSyncRequest(USER.ML_POWERUSER_ALL_SPACES, 200); expect(body).to.eql({ - datafeedsAdded: { [adJobId2]: { success: true } }, - datafeedsRemoved: { [adJobId3]: { success: true } }, - savedObjectsCreated: { [adJobIdES]: { success: true } }, - savedObjectsDeleted: { [adJobId1]: { success: true } }, + datafeedsAdded: { [adJobId2]: { success: true, type: 'anomaly-detector' } }, + datafeedsRemoved: { [adJobId3]: { success: true, type: 'anomaly-detector' } }, + savedObjectsCreated: { [adJobIdES]: { success: true, type: 'anomaly-detector' } }, + savedObjectsDeleted: { [adJobId1]: { success: true, type: 'anomaly-detector' } }, }); }); it('should sync datafeeds after recreation in ES with different name', async () => { + // check to see if a sync is needed + const syncNeeded = await runSyncCheckRequest( + USER.ML_POWERUSER_ALL_SPACES, + 'anomaly-detector', + 200 + ); + expect(syncNeeded.result).to.eql(false, 'sync should not be needed'); + // prepare test data const jobConfig1 = ml.commonConfig.getADFqSingleMetricJobConfig(adJobId1); await ml.api.createAnomalyDetectionJob(jobConfig1, idSpace1); @@ -97,12 +133,20 @@ export default ({ getService }: FtrProviderContext) => { const datafeedConfig1 = ml.commonConfig.getADFqDatafeedConfig(adJobId1); await ml.api.createDatafeedES(datafeedConfig1); + // check to see if a sync is needed + const syncNeeded2 = await runSyncCheckRequest( + USER.ML_POWERUSER_ALL_SPACES, + 'anomaly-detector', + 200 + ); + expect(syncNeeded2.result).to.eql(true, 'sync should be needed'); + // run the sync request and verify the response - const body = await runRequest(USER.ML_POWERUSER_ALL_SPACES, 200); + const body = await runSyncRequest(USER.ML_POWERUSER_ALL_SPACES, 200); // expect datafeed to be added expect(body).to.eql({ - datafeedsAdded: { [adJobId1]: { success: true } }, + datafeedsAdded: { [adJobId1]: { success: true, type: 'anomaly-detector' } }, datafeedsRemoved: {}, savedObjectsCreated: {}, savedObjectsDeleted: {}, @@ -116,25 +160,31 @@ export default ({ getService }: FtrProviderContext) => { datafeedConfig2.datafeed_id = `different_${datafeedConfig2.datafeed_id}`; await ml.api.createDatafeedES(datafeedConfig2); - const body2 = await runRequest(USER.ML_POWERUSER_ALL_SPACES, 200); - - // previous datafeed should be removed on first sync - expect(body2).to.eql({ - datafeedsAdded: {}, - datafeedsRemoved: { [adJobId1]: { success: true } }, - savedObjectsCreated: {}, - savedObjectsDeleted: {}, - }); + // check to see if a sync is needed + const syncNeeded3 = await runSyncCheckRequest( + USER.ML_POWERUSER_ALL_SPACES, + 'anomaly-detector', + 200 + ); + expect(syncNeeded3.result).to.eql(true, 'sync should be needed'); - const body3 = await runRequest(USER.ML_POWERUSER_ALL_SPACES, 200); + const body2 = await runSyncRequest(USER.ML_POWERUSER_ALL_SPACES, 200); - // new datafeed will be added on second sync - expect(body3).to.eql({ - datafeedsAdded: { [adJobId1]: { success: true } }, + // previous datafeed should be removed and new datafeed should be added on sync + expect(body2).to.eql({ + datafeedsAdded: { [adJobId1]: { success: true, type: 'anomaly-detector' } }, datafeedsRemoved: {}, savedObjectsCreated: {}, savedObjectsDeleted: {}, }); + + // check to see if a sync is needed + const syncNeeded4 = await runSyncCheckRequest( + USER.ML_POWERUSER_ALL_SPACES, + 'anomaly-detector', + 200 + ); + expect(syncNeeded4.result).to.eql(false, 'sync should not be needed'); }); it('should not sync anything if all objects are already synced', async () => { @@ -154,8 +204,8 @@ export default ({ getService }: FtrProviderContext) => { ml.commonConfig.getADFqSingleMetricJobConfig(adJobIdES) ); - await runRequest(USER.ML_POWERUSER_ALL_SPACES, 200); - const body = await runRequest(USER.ML_POWERUSER_ALL_SPACES, 200); + await runSyncRequest(USER.ML_POWERUSER_ALL_SPACES, 200); + const body = await runSyncRequest(USER.ML_POWERUSER_ALL_SPACES, 200); expect(body).to.eql({ datafeedsAdded: {}, diff --git a/x-pack/test/api_integration/apis/security/privileges.ts b/x-pack/test/api_integration/apis/security/privileges.ts index 958c44df35757..762fc1642a87a 100644 --- a/x-pack/test/api_integration/apis/security/privileges.ts +++ b/x-pack/test/api_integration/apis/security/privileges.ts @@ -37,7 +37,7 @@ export default function ({ getService }: FtrProviderContext) { securitySolutionCases: ['all', 'read'], infrastructure: ['all', 'read'], logs: ['all', 'read'], - apm: ['all', 'read', 'minimal_all', 'minimal_read', 'alerts_all', 'alerts_read'], + apm: ['all', 'read'], discover: [ 'all', 'read', diff --git a/x-pack/test/api_integration/apis/security_solution/timeline_migrations.ts b/x-pack/test/api_integration/apis/security_solution/timeline_migrations.ts index 1bfefe04239e2..72607cbe8bf79 100644 --- a/x-pack/test/api_integration/apis/security_solution/timeline_migrations.ts +++ b/x-pack/test/api_integration/apis/security_solution/timeline_migrations.ts @@ -37,6 +37,79 @@ export default function ({ getService }: FtrProviderContext) { const esArchiver = getService('esArchiver'); const es = getService('es'); + describe('8.0 id migration', () => { + const resolveWithSpaceApi = '/s/awesome-space/api/timeline/resolve'; + + before(async () => { + await esArchiver.load( + 'x-pack/test/functional/es_archives/security_solution/timelines/7.15.0_space' + ); + }); + + after(async () => { + await esArchiver.unload( + 'x-pack/test/functional/es_archives/security_solution/timelines/7.15.0_space' + ); + }); + + describe('resolve', () => { + it('should return an aliasMatch outcome', async () => { + const resp = await supertest + .get(resolveWithSpaceApi) + .query({ id: '1e2e9850-25f8-11ec-a981-b77847c6ef30' }); + + expect(resp.body.data.outcome).to.be('aliasMatch'); + expect(resp.body.data.alias_target_id).to.not.be(undefined); + expect(resp.body.data.timeline.title).to.be('An awesome timeline'); + }); + + describe('notes', () => { + it('should return the notes with the correct eventId', async () => { + const resp = await supertest + .get(resolveWithSpaceApi) + .query({ id: '1e2e9850-25f8-11ec-a981-b77847c6ef30' }); + + expect(resp.body.data.timeline.notes[0].eventId).to.be('StU_UXwBAowmaxx6YdiS'); + }); + + it('should return notes with the timelineId matching the resolved timeline id', async () => { + const resp = await supertest + .get(resolveWithSpaceApi) + .query({ id: '1e2e9850-25f8-11ec-a981-b77847c6ef30' }); + + expect(resp.body.data.timeline.notes[0].timelineId).to.be( + resp.body.data.timeline.savedObjectId + ); + expect(resp.body.data.timeline.notes[1].timelineId).to.be( + resp.body.data.timeline.savedObjectId + ); + }); + }); + + describe('pinned events', () => { + it('should pinned events with eventId', async () => { + const resp = await supertest + .get(resolveWithSpaceApi) + .query({ id: '1e2e9850-25f8-11ec-a981-b77847c6ef30' }); + + expect(resp.body.data.timeline.pinnedEventsSaveObject[0].eventId).to.be( + 'StU_UXwBAowmaxx6YdiS' + ); + }); + + it('should return pinned events with the timelineId matching request id', async () => { + const resp = await supertest + .get(resolveWithSpaceApi) + .query({ id: '1e2e9850-25f8-11ec-a981-b77847c6ef30' }); + + expect(resp.body.data.timeline.pinnedEventsSaveObject[0].timelineId).to.be( + resp.body.data.timeline.savedObjectId + ); + }); + }); + }); + }); + describe('7.16.0', () => { before(async () => { await esArchiver.load( diff --git a/x-pack/test/apm_api_integration/common/config.ts b/x-pack/test/apm_api_integration/common/config.ts index a8c5c433df45e..574cfe811bc67 100644 --- a/x-pack/test/apm_api_integration/common/config.ts +++ b/x-pack/test/apm_api_integration/common/config.ts @@ -15,6 +15,7 @@ import { createApmUser, APM_TEST_PASSWORD, ApmUser } from './authentication'; import { APMFtrConfigName } from '../configs'; import { createApmApiClient } from './apm_api_supertest'; import { registry } from './registry'; +import { traceData } from './trace_data'; interface Config { name: APMFtrConfigName; @@ -76,7 +77,7 @@ export function createTestConfig(config: Config) { servers, services: { ...services, - + traceData, apmApiClient: async (context: InheritedFtrProviderContext) => { const security = context.getService('security'); await security.init(); diff --git a/x-pack/test/apm_api_integration/common/fixtures/es_archiver/apm_8.0.0_empty/mappings.json b/x-pack/test/apm_api_integration/common/fixtures/es_archiver/apm_8.0.0_empty/mappings.json new file mode 100644 index 0000000000000..2d05717fa5725 --- /dev/null +++ b/x-pack/test/apm_api_integration/common/fixtures/es_archiver/apm_8.0.0_empty/mappings.json @@ -0,0 +1,22073 @@ +{ + "type": "index", + "value": { + "aliases": { + ".ml-anomalies-.write-apm-environment_not_defined-337d-high_mean_transaction_duration": { + "is_hidden": true + }, + ".ml-anomalies-.write-apm-production-6117-high_mean_transaction_duration": { + "is_hidden": true + }, + ".ml-anomalies-.write-apm-testing-41e5-high_mean_transaction_duration": { + "is_hidden": true + }, + ".ml-anomalies-apm-environment_not_defined-337d-high_mean_transaction_duration": { + "filter": { + "term": { + "job_id": { + "boost": 1, + "value": "apm-environment_not_defined-337d-high_mean_transaction_duration" + } + } + }, + "is_hidden": true + }, + ".ml-anomalies-apm-production-6117-high_mean_transaction_duration": { + "filter": { + "term": { + "job_id": { + "boost": 1, + "value": "apm-production-6117-high_mean_transaction_duration" + } + } + }, + "is_hidden": true + }, + ".ml-anomalies-apm-testing-41e5-high_mean_transaction_duration": { + "filter": { + "term": { + "job_id": { + "boost": 1, + "value": "apm-testing-41e5-high_mean_transaction_duration" + } + } + }, + "is_hidden": true + } + }, + "index": ".ml-anomalies-shared", + "mappings": { + "_meta": { + "version": "7.14.0" + }, + "dynamic_templates": [ + { + "strings_as_keywords": { + "mapping": { + "type": "keyword" + }, + "match": "*" + } + } + ], + "properties": { + "actual": { + "type": "double" + }, + "all_field_values": { + "analyzer": "whitespace", + "type": "text" + }, + "anomaly_score": { + "type": "double" + }, + "assignment_memory_basis": { + "type": "keyword" + }, + "average_bucket_processing_time_ms": { + "type": "double" + }, + "bucket_allocation_failures_count": { + "type": "long" + }, + "bucket_count": { + "type": "long" + }, + "bucket_influencers": { + "properties": { + "anomaly_score": { + "type": "double" + }, + "bucket_span": { + "type": "long" + }, + "influencer_field_name": { + "type": "keyword" + }, + "initial_anomaly_score": { + "type": "double" + }, + "is_interim": { + "type": "boolean" + }, + "job_id": { + "type": "keyword" + }, + "probability": { + "type": "double" + }, + "raw_anomaly_score": { + "type": "double" + }, + "result_type": { + "type": "keyword" + }, + "timestamp": { + "type": "date" + } + }, + "type": "nested" + }, + "bucket_span": { + "type": "long" + }, + "by_field_name": { + "type": "keyword" + }, + "by_field_value": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + }, + "categorization_status": { + "type": "keyword" + }, + "categorized_doc_count": { + "type": "keyword" + }, + "category_id": { + "type": "long" + }, + "causes": { + "properties": { + "actual": { + "type": "double" + }, + "by_field_name": { + "type": "keyword" + }, + "by_field_value": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + }, + "correlated_by_field_value": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + }, + "field_name": { + "type": "keyword" + }, + "function": { + "type": "keyword" + }, + "function_description": { + "type": "keyword" + }, + "geo_results": { + "properties": { + "actual_point": { + "type": "geo_point" + }, + "typical_point": { + "type": "geo_point" + } + } + }, + "over_field_name": { + "type": "keyword" + }, + "over_field_value": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + }, + "partition_field_name": { + "type": "keyword" + }, + "partition_field_value": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + }, + "probability": { + "type": "double" + }, + "typical": { + "type": "double" + } + }, + "type": "nested" + }, + "dead_category_count": { + "type": "keyword" + }, + "description": { + "type": "text" + }, + "detector_index": { + "type": "integer" + }, + "earliest_record_timestamp": { + "type": "date" + }, + "empty_bucket_count": { + "type": "long" + }, + "event_count": { + "type": "long" + }, + "examples": { + "type": "text" + }, + "exponential_average_bucket_processing_time_ms": { + "type": "double" + }, + "exponential_average_calculation_context": { + "properties": { + "incremental_metric_value_ms": { + "type": "double" + }, + "latest_timestamp": { + "type": "date" + }, + "previous_exponential_average_ms": { + "type": "double" + } + } + }, + "failed_category_count": { + "type": "keyword" + }, + "field_name": { + "type": "keyword" + }, + "forecast_create_timestamp": { + "type": "date" + }, + "forecast_end_timestamp": { + "type": "date" + }, + "forecast_expiry_timestamp": { + "type": "date" + }, + "forecast_id": { + "type": "keyword" + }, + "forecast_lower": { + "type": "double" + }, + "forecast_memory_bytes": { + "type": "long" + }, + "forecast_messages": { + "type": "keyword" + }, + "forecast_prediction": { + "type": "double" + }, + "forecast_progress": { + "type": "double" + }, + "forecast_start_timestamp": { + "type": "date" + }, + "forecast_status": { + "type": "keyword" + }, + "forecast_upper": { + "type": "double" + }, + "frequent_category_count": { + "type": "keyword" + }, + "function": { + "type": "keyword" + }, + "function_description": { + "type": "keyword" + }, + "geo_results": { + "properties": { + "actual_point": { + "type": "geo_point" + }, + "typical_point": { + "type": "geo_point" + } + } + }, + "influencer_field_name": { + "type": "keyword" + }, + "influencer_field_value": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + }, + "influencer_score": { + "type": "double" + }, + "influencers": { + "properties": { + "influencer_field_name": { + "type": "keyword" + }, + "influencer_field_values": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + } + }, + "type": "nested" + }, + "initial_anomaly_score": { + "type": "double" + }, + "initial_influencer_score": { + "type": "double" + }, + "initial_record_score": { + "type": "double" + }, + "input_bytes": { + "type": "long" + }, + "input_field_count": { + "type": "long" + }, + "input_record_count": { + "type": "long" + }, + "invalid_date_count": { + "type": "long" + }, + "is_interim": { + "type": "boolean" + }, + "job_id": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + }, + "last_data_time": { + "type": "date" + }, + "latest_empty_bucket_timestamp": { + "type": "date" + }, + "latest_record_time_stamp": { + "type": "date" + }, + "latest_record_timestamp": { + "type": "date" + }, + "latest_result_time_stamp": { + "type": "date" + }, + "latest_sparse_bucket_timestamp": { + "type": "date" + }, + "log_time": { + "type": "date" + }, + "max_matching_length": { + "type": "long" + }, + "maximum_bucket_processing_time_ms": { + "type": "double" + }, + "memory_status": { + "type": "keyword" + }, + "min_version": { + "type": "keyword" + }, + "minimum_bucket_processing_time_ms": { + "type": "double" + }, + "missing_field_count": { + "type": "long" + }, + "mlcategory": { + "type": "keyword" + }, + "model_bytes": { + "type": "long" + }, + "model_bytes_exceeded": { + "type": "keyword" + }, + "model_bytes_memory_limit": { + "type": "keyword" + }, + "model_feature": { + "type": "keyword" + }, + "model_lower": { + "type": "double" + }, + "model_median": { + "type": "double" + }, + "model_size_stats": { + "properties": { + "assignment_memory_basis": { + "type": "keyword" + }, + "bucket_allocation_failures_count": { + "type": "long" + }, + "categorization_status": { + "type": "keyword" + }, + "categorized_doc_count": { + "type": "keyword" + }, + "dead_category_count": { + "type": "keyword" + }, + "failed_category_count": { + "type": "keyword" + }, + "frequent_category_count": { + "type": "keyword" + }, + "job_id": { + "type": "keyword" + }, + "log_time": { + "type": "date" + }, + "memory_status": { + "type": "keyword" + }, + "model_bytes": { + "type": "long" + }, + "model_bytes_exceeded": { + "type": "keyword" + }, + "model_bytes_memory_limit": { + "type": "keyword" + }, + "peak_model_bytes": { + "type": "long" + }, + "rare_category_count": { + "type": "keyword" + }, + "result_type": { + "type": "keyword" + }, + "timestamp": { + "type": "date" + }, + "total_by_field_count": { + "type": "long" + }, + "total_category_count": { + "type": "keyword" + }, + "total_over_field_count": { + "type": "long" + }, + "total_partition_field_count": { + "type": "long" + } + } + }, + "model_upper": { + "type": "double" + }, + "multi_bucket_impact": { + "type": "double" + }, + "num_matches": { + "type": "long" + }, + "out_of_order_timestamp_count": { + "type": "long" + }, + "over_field_name": { + "type": "keyword" + }, + "over_field_value": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + }, + "partition_field_name": { + "type": "keyword" + }, + "partition_field_value": { + "copy_to": [ + "all_field_values" + ], + "type": "keyword" + }, + "peak_model_bytes": { + "type": "keyword" + }, + "preferred_to_categories": { + "type": "long" + }, + "probability": { + "type": "double" + }, + "processed_field_count": { + "type": "long" + }, + "processed_record_count": { + "type": "long" + }, + "processing_time_ms": { + "type": "long" + }, + "quantiles": { + "enabled": false, + "type": "object" + }, + "rare_category_count": { + "type": "keyword" + }, + "raw_anomaly_score": { + "type": "double" + }, + "record_score": { + "type": "double" + }, + "regex": { + "type": "keyword" + }, + "result_type": { + "type": "keyword" + }, + "retain": { + "type": "boolean" + }, + "scheduled_events": { + "type": "keyword" + }, + "search_count": { + "type": "long" + }, + "service": { + "properties": { + "name": { + "type": "keyword" + } + } + }, + "snapshot_doc_count": { + "type": "integer" + }, + "snapshot_id": { + "type": "keyword" + }, + "sparse_bucket_count": { + "type": "long" + }, + "terms": { + "type": "text" + }, + "timestamp": { + "type": "date" + }, + "total_by_field_count": { + "type": "long" + }, + "total_category_count": { + "type": "keyword" + }, + "total_over_field_count": { + "type": "long" + }, + "total_partition_field_count": { + "type": "long" + }, + "total_search_time_ms": { + "type": "double" + }, + "transaction": { + "properties": { + "type": { + "type": "keyword" + } + } + }, + "typical": { + "type": "double" + } + } + }, + "settings": { + "index": { + "auto_expand_replicas": "0-1", + "hidden": "true", + "number_of_replicas": "1", + "number_of_shards": "1", + "translog": { + "durability": "async" + } + } + } + } +} + +{ + "type": "index", + "value": { + "aliases": { + }, + "index": ".ml-config", + "mappings": { + "_meta": { + "version": "7.14.0" + }, + "dynamic_templates": [ + { + "strings_as_keywords": { + "mapping": { + "type": "keyword" + }, + "match": "*" + } + } + ], + "properties": { + "aggregations": { + "enabled": false, + "type": "object" + }, + "allow_lazy_open": { + "type": "keyword" + }, + "allow_lazy_start": { + "type": "keyword" + }, + "analysis": { + "properties": { + "classification": { + "properties": { + "alpha": { + "type": "double" + }, + "class_assignment_objective": { + "type": "keyword" + }, + "dependent_variable": { + "type": "keyword" + }, + "downsample_factor": { + "type": "double" + }, + "early_stopping_enabled": { + "type": "boolean" + }, + "eta": { + "type": "double" + }, + "eta_growth_rate_per_tree": { + "type": "double" + }, + "feature_bag_fraction": { + "type": "double" + }, + "feature_processors": { + "enabled": false, + "type": "object" + }, + "gamma": { + "type": "double" + }, + "lambda": { + "type": "double" + }, + "max_optimization_rounds_per_hyperparameter": { + "type": "integer" + }, + "max_trees": { + "type": "integer" + }, + "num_top_classes": { + "type": "integer" + }, + "num_top_feature_importance_values": { + "type": "integer" + }, + "prediction_field_name": { + "type": "keyword" + }, + "randomize_seed": { + "type": "keyword" + }, + "soft_tree_depth_limit": { + "type": "double" + }, + "soft_tree_depth_tolerance": { + "type": "double" + }, + "training_percent": { + "type": "double" + } + } + }, + "outlier_detection": { + "properties": { + "compute_feature_influence": { + "type": "keyword" + }, + "feature_influence_threshold": { + "type": "double" + }, + "method": { + "type": "keyword" + }, + "n_neighbors": { + "type": "integer" + }, + "outlier_fraction": { + "type": "keyword" + }, + "standardization_enabled": { + "type": "keyword" + } + } + }, + "regression": { + "properties": { + "alpha": { + "type": "double" + }, + "dependent_variable": { + "type": "keyword" + }, + "downsample_factor": { + "type": "double" + }, + "early_stopping_enabled": { + "type": "boolean" + }, + "eta": { + "type": "double" + }, + "eta_growth_rate_per_tree": { + "type": "double" + }, + "feature_bag_fraction": { + "type": "double" + }, + "feature_processors": { + "enabled": false, + "type": "object" + }, + "gamma": { + "type": "double" + }, + "lambda": { + "type": "double" + }, + "loss_function": { + "type": "keyword" + }, + "loss_function_parameter": { + "type": "double" + }, + "max_optimization_rounds_per_hyperparameter": { + "type": "integer" + }, + "max_trees": { + "type": "integer" + }, + "num_top_feature_importance_values": { + "type": "integer" + }, + "prediction_field_name": { + "type": "keyword" + }, + "randomize_seed": { + "type": "keyword" + }, + "soft_tree_depth_limit": { + "type": "double" + }, + "soft_tree_depth_tolerance": { + "type": "double" + }, + "training_percent": { + "type": "double" + } + } + } + } + }, + "analysis_config": { + "properties": { + "bucket_span": { + "type": "keyword" + }, + "categorization_analyzer": { + "enabled": false, + "type": "object" + }, + "categorization_field_name": { + "type": "keyword" + }, + "categorization_filters": { + "type": "keyword" + }, + "detectors": { + "properties": { + "by_field_name": { + "type": "keyword" + }, + "custom_rules": { + "properties": { + "actions": { + "type": "keyword" + }, + "conditions": { + "properties": { + "applies_to": { + "type": "keyword" + }, + "operator": { + "type": "keyword" + }, + "value": { + "type": "double" + } + }, + "type": "nested" + }, + "scope": { + "enabled": false, + "type": "object" + } + }, + "type": "nested" + }, + "detector_description": { + "type": "text" + }, + "detector_index": { + "type": "integer" + }, + "exclude_frequent": { + "type": "keyword" + }, + "field_name": { + "type": "keyword" + }, + "function": { + "type": "keyword" + }, + "over_field_name": { + "type": "keyword" + }, + "partition_field_name": { + "type": "keyword" + }, + "use_null": { + "type": "boolean" + } + } + }, + "influencers": { + "type": "keyword" + }, + "latency": { + "type": "keyword" + }, + "multivariate_by_fields": { + "type": "boolean" + }, + "per_partition_categorization": { + "properties": { + "enabled": { + "type": "boolean" + }, + "stop_on_warn": { + "type": "boolean" + } + } + }, + "summary_count_field_name": { + "type": "keyword" + } + } + }, + "analysis_limits": { + "properties": { + "categorization_examples_limit": { + "type": "long" + }, + "model_memory_limit": { + "type": "keyword" + } + } + }, + "analyzed_fields": { + "enabled": false, + "type": "object" + }, + "background_persist_interval": { + "type": "keyword" + }, + "blocked": { + "properties": { + "reason": { + "type": "keyword" + }, + "task_id": { + "type": "keyword" + } + } + }, + "chunking_config": { + "properties": { + "mode": { + "type": "keyword" + }, + "time_span": { + "type": "keyword" + } + } + }, + "config_type": { + "type": "keyword" + }, + "create_time": { + "type": "date" + }, + "custom_settings": { + "enabled": false, + "type": "object" + }, + "daily_model_snapshot_retention_after_days": { + "type": "long" + }, + "data_description": { + "properties": { + "field_delimiter": { + "type": "keyword" + }, + "format": { + "type": "keyword" + }, + "quote_character": { + "type": "keyword" + }, + "time_field": { + "type": "keyword" + }, + "time_format": { + "type": "keyword" + } + } + }, + "datafeed_id": { + "type": "keyword" + }, + "delayed_data_check_config": { + "properties": { + "check_window": { + "type": "keyword" + }, + "enabled": { + "type": "boolean" + } + } + }, + "deleting": { + "type": "keyword" + }, + "description": { + "type": "text" + }, + "dest": { + "properties": { + "index": { + "type": "keyword" + }, + "results_field": { + "type": "keyword" + } + } + }, + "finished_time": { + "type": "date" + }, + "frequency": { + "type": "keyword" + }, + "groups": { + "type": "keyword" + }, + "headers": { + "enabled": false, + "type": "object" + }, + "id": { + "type": "keyword" + }, + "indices": { + "type": "keyword" + }, + "indices_options": { + "enabled": false, + "type": "object" + }, + "job_id": { + "type": "keyword" + }, + "job_type": { + "type": "keyword" + }, + "job_version": { + "type": "keyword" + }, + "max_empty_searches": { + "type": "keyword" + }, + "max_num_threads": { + "type": "integer" + }, + "model_memory_limit": { + "type": "keyword" + }, + "model_plot_config": { + "properties": { + "annotations_enabled": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "terms": { + "type": "keyword" + } + } + }, + "model_snapshot_id": { + "type": "keyword" + }, + "model_snapshot_min_version": { + "type": "keyword" + }, + "model_snapshot_retention_days": { + "type": "long" + }, + "query": { + "enabled": false, + "type": "object" + }, + "query_delay": { + "type": "keyword" + }, + "renormalization_window_days": { + "type": "long" + }, + "results_index_name": { + "type": "keyword" + }, + "results_retention_days": { + "type": "long" + }, + "runtime_mappings": { + "enabled": false, + "type": "object" + }, + "script_fields": { + "enabled": false, + "type": "object" + }, + "scroll_size": { + "type": "long" + }, + "source": { + "properties": { + "_source": { + "enabled": false, + "type": "object" + }, + "index": { + "type": "keyword" + }, + "query": { + "enabled": false, + "type": "object" + }, + "runtime_mappings": { + "enabled": false, + "type": "object" + } + } + }, + "version": { + "type": "keyword" + } + } + }, + "settings": { + "index": { + "auto_expand_replicas": "0-1", + "blocks": { + "read_only_allow_delete": "false" + }, + "max_result_window": "10000", + "number_of_replicas": "1", + "number_of_shards": "1" + } + } + } +} + +{ + "type": "index", + "value": { + "aliases": { + "apm-7.14.0-error": { + "is_write_index": true + } + }, + "index": "apm-7.14.0-error-000001", + "mappings": { + "_meta": { + "beat": "apm", + "version": "7.14.0" + }, + "date_detection": false, + "dynamic_templates": [ + { + "labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "labels.*" + } + }, + { + "container.labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "container.labels.*" + } + }, + { + "fields": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "fields.*" + } + }, + { + "docker.container.labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "docker.container.labels.*" + } + }, + { + "kubernetes.labels.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.labels.*" + } + }, + { + "kubernetes.annotations.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.annotations.*" + } + }, + { + "kubernetes.selectors.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.selectors.*" + } + }, + { + "labels_string": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "labels.*" + } + }, + { + "labels_boolean": { + "mapping": { + "type": "boolean" + }, + "match_mapping_type": "boolean", + "path_match": "labels.*" + } + }, + { + "labels_*": { + "mapping": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "path_match": "labels.*" + } + }, + { + "histogram": { + "mapping": { + "type": "histogram" + } + } + }, + { + "transaction.marks": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "transaction.marks.*" + } + }, + { + "transaction.marks.*.*": { + "mapping": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "path_match": "transaction.marks.*.*" + } + }, + { + "strings_as_keyword": { + "mapping": { + "ignore_above": 1024, + "type": "keyword" + }, + "match_mapping_type": "string" + } + } + ], + "properties": { + "@timestamp": { + "type": "date" + }, + "agent": { + "dynamic": "false", + "properties": { + "build": { + "properties": { + "original": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ephemeral_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "child": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "client": { + "dynamic": "false", + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "cloud": { + "properties": { + "account": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "availability_zone": { + "ignore_above": 1024, + "type": "keyword" + }, + "image": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "instance": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "machine": { + "dynamic": "false", + "properties": { + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "project": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "provider": { + "ignore_above": 1024, + "type": "keyword" + }, + "region": { + "ignore_above": 1024, + "type": "keyword" + }, + "service": { + "dynamic": "false", + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "container": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "image": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "tag": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "labels": { + "type": "object" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "runtime": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "data_stream": { + "properties": { + "dataset": { + "type": "constant_keyword" + }, + "namespace": { + "type": "constant_keyword" + }, + "type": { + "type": "constant_keyword" + } + } + }, + "destination": { + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "dll": { + "properties": { + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "dns": { + "properties": { + "answers": { + "properties": { + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "data": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "ttl": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "header_flags": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "op_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "question": { + "properties": { + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "resolved_ip": { + "type": "ip" + }, + "response_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "docker": { + "properties": { + "container": { + "properties": { + "labels": { + "type": "object" + } + } + } + } + }, + "ecs": { + "properties": { + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "error": { + "dynamic": "false", + "properties": { + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "culprit": { + "ignore_above": 1024, + "type": "keyword" + }, + "exception": { + "properties": { + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "handled": { + "type": "boolean" + }, + "message": { + "norms": false, + "type": "text" + }, + "module": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "grouping_key": { + "ignore_above": 1024, + "type": "keyword" + }, + "grouping_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "log": { + "properties": { + "level": { + "ignore_above": 1024, + "type": "keyword" + }, + "logger_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "message": { + "norms": false, + "type": "text" + }, + "param_message": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "message": { + "norms": false, + "type": "text" + }, + "stack_trace": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "event": { + "properties": { + "action": { + "ignore_above": 1024, + "type": "keyword" + }, + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "created": { + "type": "date" + }, + "dataset": { + "ignore_above": 1024, + "type": "keyword" + }, + "duration": { + "type": "long" + }, + "end": { + "type": "date" + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "ingested": { + "type": "date" + }, + "kind": { + "ignore_above": 1024, + "type": "keyword" + }, + "module": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "outcome": { + "ignore_above": 1024, + "type": "keyword" + }, + "provider": { + "ignore_above": 1024, + "type": "keyword" + }, + "reason": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "risk_score": { + "type": "float" + }, + "risk_score_norm": { + "type": "float" + }, + "sequence": { + "type": "long" + }, + "severity": { + "type": "long" + }, + "start": { + "type": "date" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "url": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "experimental": { + "dynamic": "true", + "type": "object" + }, + "fields": { + "type": "object" + }, + "file": { + "properties": { + "accessed": { + "type": "date" + }, + "attributes": { + "ignore_above": 1024, + "type": "keyword" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "created": { + "type": "date" + }, + "ctime": { + "type": "date" + }, + "device": { + "ignore_above": 1024, + "type": "keyword" + }, + "directory": { + "ignore_above": 1024, + "type": "keyword" + }, + "drive_letter": { + "ignore_above": 1, + "type": "keyword" + }, + "extension": { + "ignore_above": 1024, + "type": "keyword" + }, + "gid": { + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "inode": { + "ignore_above": 1024, + "type": "keyword" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "mode": { + "ignore_above": 1024, + "type": "keyword" + }, + "mtime": { + "type": "date" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "owner": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "size": { + "type": "long" + }, + "target_path": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "uid": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "host": { + "dynamic": "false", + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "containerized": { + "type": "boolean" + }, + "cpu": { + "properties": { + "usage": { + "scaling_factor": 1000, + "type": "scaled_float" + } + } + }, + "disk": { + "properties": { + "read": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "write": { + "properties": { + "bytes": { + "type": "long" + } + } + } + } + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "network": { + "properties": { + "egress": { + "properties": { + "bytes": { + "type": "long" + }, + "packets": { + "type": "long" + } + } + }, + "ingress": { + "properties": { + "bytes": { + "type": "long" + }, + "packets": { + "type": "long" + } + } + } + } + }, + "os": { + "properties": { + "build": { + "ignore_above": 1024, + "type": "keyword" + }, + "codename": { + "ignore_above": 1024, + "type": "keyword" + }, + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "http": { + "dynamic": "false", + "properties": { + "request": { + "properties": { + "body": { + "properties": { + "bytes": { + "type": "long" + }, + "content": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "bytes": { + "type": "long" + }, + "headers": { + "enabled": false, + "type": "object" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "method": { + "ignore_above": 1024, + "type": "keyword" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "referrer": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "response": { + "properties": { + "body": { + "properties": { + "bytes": { + "type": "long" + }, + "content": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "bytes": { + "type": "long" + }, + "finished": { + "type": "boolean" + }, + "headers": { + "enabled": false, + "type": "object" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "status_code": { + "type": "long" + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "kubernetes": { + "dynamic": "false", + "properties": { + "annotations": { + "properties": { + "*": { + "type": "object" + } + } + }, + "container": { + "properties": { + "image": { + "path": "container.image.name", + "type": "alias" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "deployment": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "labels": { + "properties": { + "*": { + "type": "object" + } + } + }, + "namespace": { + "ignore_above": 1024, + "type": "keyword" + }, + "node": { + "properties": { + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pod": { + "properties": { + "ip": { + "type": "ip" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "uid": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "replicaset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "selectors": { + "properties": { + "*": { + "type": "object" + } + } + }, + "statefulset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "labels": { + "dynamic": "true", + "properties": { + "company": { + "type": "keyword" + }, + "customer_tier": { + "type": "keyword" + }, + "foo": { + "type": "keyword" + }, + "lorem": { + "type": "keyword" + }, + "multi-line": { + "type": "keyword" + }, + "request_id": { + "type": "keyword" + }, + "this-is-a-very-long-tag-name-without-any-spaces": { + "type": "keyword" + } + } + }, + "log": { + "properties": { + "file": { + "properties": { + "path": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "level": { + "ignore_above": 1024, + "type": "keyword" + }, + "logger": { + "ignore_above": 1024, + "type": "keyword" + }, + "origin": { + "properties": { + "file": { + "properties": { + "line": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "original": { + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "syslog": { + "properties": { + "facility": { + "properties": { + "code": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "priority": { + "type": "long" + }, + "severity": { + "properties": { + "code": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + } + } + }, + "message": { + "norms": false, + "type": "text" + }, + "metricset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "period": { + "meta": { + "unit": "ms" + }, + "type": "long" + } + } + }, + "network": { + "dynamic": "false", + "properties": { + "application": { + "ignore_above": 1024, + "type": "keyword" + }, + "bytes": { + "type": "long" + }, + "carrier": { + "properties": { + "icc": { + "ignore_above": 1024, + "type": "keyword" + }, + "mcc": { + "ignore_above": 1024, + "type": "keyword" + }, + "mnc": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "community_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "connection_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "direction": { + "ignore_above": 1024, + "type": "keyword" + }, + "forwarded_ip": { + "type": "ip" + }, + "iana_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "inner": { + "properties": { + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "packets": { + "type": "long" + }, + "protocol": { + "ignore_above": 1024, + "type": "keyword" + }, + "transport": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "observer": { + "dynamic": "false", + "properties": { + "egress": { + "properties": { + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "zone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "ingress": { + "properties": { + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "zone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "listening": { + "ignore_above": 1024, + "type": "keyword" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "vendor": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + }, + "version_major": { + "type": "byte" + } + } + }, + "orchestrator": { + "properties": { + "api_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "cluster": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "url": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "namespace": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "resource": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "organization": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "package": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "build_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "checksum": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "install_scope": { + "ignore_above": 1024, + "type": "keyword" + }, + "installed": { + "type": "date" + }, + "license": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "size": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "parent": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "process": { + "dynamic": "false", + "properties": { + "args": { + "ignore_above": 1024, + "type": "keyword" + }, + "args_count": { + "type": "long" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "command_line": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "entity_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "executable": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "exit_code": { + "type": "long" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "parent": { + "properties": { + "args": { + "ignore_above": 1024, + "type": "keyword" + }, + "args_count": { + "type": "long" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "command_line": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "entity_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "executable": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "exit_code": { + "type": "long" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pgid": { + "type": "long" + }, + "pid": { + "type": "long" + }, + "ppid": { + "type": "long" + }, + "start": { + "type": "date" + }, + "thread": { + "properties": { + "id": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "title": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "working_directory": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pgid": { + "type": "long" + }, + "pid": { + "type": "long" + }, + "ppid": { + "type": "long" + }, + "start": { + "type": "date" + }, + "thread": { + "properties": { + "id": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "title": { + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "working_directory": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "processor": { + "properties": { + "event": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "profile": { + "dynamic": "false", + "properties": { + "alloc_objects": { + "properties": { + "count": { + "type": "long" + } + } + }, + "alloc_space": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "cpu": { + "properties": { + "ns": { + "meta": { + "unit": "nanos" + }, + "type": "long" + } + } + }, + "duration": { + "meta": { + "unit": "nanos" + }, + "type": "long" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "inuse_objects": { + "properties": { + "count": { + "type": "long" + } + } + }, + "inuse_space": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "samples": { + "properties": { + "count": { + "type": "long" + } + } + }, + "stack": { + "dynamic": "false", + "properties": { + "filename": { + "ignore_above": 1024, + "type": "keyword" + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "line": { + "type": "long" + } + } + }, + "top": { + "dynamic": "false", + "properties": { + "filename": { + "ignore_above": 1024, + "type": "keyword" + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "line": { + "type": "long" + } + } + }, + "wall": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "registry": { + "properties": { + "data": { + "properties": { + "bytes": { + "ignore_above": 1024, + "type": "keyword" + }, + "strings": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hive": { + "ignore_above": 1024, + "type": "keyword" + }, + "key": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "value": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "related": { + "properties": { + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "hosts": { + "ignore_above": 1024, + "type": "keyword" + }, + "ip": { + "type": "ip" + }, + "user": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "rule": { + "properties": { + "author": { + "ignore_above": 1024, + "type": "keyword" + }, + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "license": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "ruleset": { + "ignore_above": 1024, + "type": "keyword" + }, + "uuid": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "server": { + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "service": { + "dynamic": "false", + "properties": { + "environment": { + "ignore_above": 1024, + "type": "keyword" + }, + "ephemeral_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "framework": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "language": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "node": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "runtime": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "state": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "session": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "sequence": { + "type": "long" + } + } + }, + "source": { + "dynamic": "false", + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "sourcemap": { + "dynamic": "false", + "properties": { + "bundle_filepath": { + "ignore_above": 1024, + "type": "keyword" + }, + "service": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "span": { + "dynamic": "false", + "properties": { + "action": { + "ignore_above": 1024, + "type": "keyword" + }, + "db": { + "dynamic": "false", + "properties": { + "link": { + "ignore_above": 1024, + "type": "keyword" + }, + "rows_affected": { + "type": "long" + } + } + }, + "destination": { + "dynamic": "false", + "properties": { + "service": { + "dynamic": "false", + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "resource": { + "ignore_above": 1024, + "type": "keyword" + }, + "response_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "duration": { + "properties": { + "us": { + "type": "long" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "message": { + "dynamic": "false", + "properties": { + "age": { + "properties": { + "ms": { + "type": "long" + } + } + }, + "queue": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "self_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "start": { + "properties": { + "us": { + "type": "long" + } + } + }, + "subtype": { + "ignore_above": 1024, + "type": "keyword" + }, + "sync": { + "type": "boolean" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "system": { + "properties": { + "cpu": { + "properties": { + "total": { + "properties": { + "norm": { + "properties": { + "pct": { + "meta": { + "metric_type": "gauge", + "unit": "percent" + }, + "scaling_factor": 1000, + "type": "scaled_float" + } + } + } + } + } + } + }, + "memory": { + "properties": { + "actual": { + "properties": { + "free": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "total": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "process": { + "properties": { + "cgroup": { + "properties": { + "cpu": { + "properties": { + "cfs": { + "properties": { + "period": { + "properties": { + "us": { + "meta": { + "metric_type": "gauge", + "unit": "micros" + }, + "type": "long" + } + } + }, + "quota": { + "properties": { + "us": { + "meta": { + "metric_type": "gauge", + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "stats": { + "properties": { + "periods": { + "meta": { + "metric_type": "counter" + }, + "type": "long" + }, + "throttled": { + "properties": { + "ns": { + "meta": { + "metric_type": "counter", + "unit": "nanos" + }, + "type": "long" + }, + "periods": { + "meta": { + "metric_type": "counter" + }, + "type": "long" + } + } + } + } + } + } + }, + "cpuacct": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "total": { + "properties": { + "ns": { + "meta": { + "metric_type": "counter", + "unit": "nanos" + }, + "type": "long" + } + } + } + } + }, + "memory": { + "properties": { + "mem": { + "properties": { + "limit": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "usage": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + } + } + } + } + } + } + }, + "cpu": { + "properties": { + "total": { + "properties": { + "norm": { + "properties": { + "pct": { + "meta": { + "metric_type": "gauge", + "unit": "percent" + }, + "scaling_factor": 1000, + "type": "scaled_float" + } + } + } + } + } + } + }, + "memory": { + "properties": { + "rss": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "size": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + } + } + } + } + }, + "tags": { + "ignore_above": 1024, + "type": "keyword" + }, + "threat": { + "properties": { + "framework": { + "ignore_above": 1024, + "type": "keyword" + }, + "tactic": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "technique": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "subtechnique": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + } + } + }, + "timeseries": { + "properties": { + "instance": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "timestamp": { + "properties": { + "us": { + "type": "long" + } + } + }, + "tls": { + "properties": { + "cipher": { + "ignore_above": 1024, + "type": "keyword" + }, + "client": { + "properties": { + "certificate": { + "ignore_above": 1024, + "type": "keyword" + }, + "certificate_chain": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "issuer": { + "ignore_above": 1024, + "type": "keyword" + }, + "ja3": { + "ignore_above": 1024, + "type": "keyword" + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "server_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "ignore_above": 1024, + "type": "keyword" + }, + "supported_ciphers": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "established": { + "type": "boolean" + }, + "next_protocol": { + "ignore_above": 1024, + "type": "keyword" + }, + "resumed": { + "type": "boolean" + }, + "server": { + "properties": { + "certificate": { + "ignore_above": 1024, + "type": "keyword" + }, + "certificate_chain": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "issuer": { + "ignore_above": 1024, + "type": "keyword" + }, + "ja3s": { + "ignore_above": 1024, + "type": "keyword" + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "subject": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + }, + "version_protocol": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "trace": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "transaction": { + "dynamic": "false", + "properties": { + "breakdown": { + "properties": { + "count": { + "type": "long" + } + } + }, + "duration": { + "properties": { + "count": { + "type": "long" + }, + "histogram": { + "type": "histogram" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + }, + "us": { + "type": "long" + } + } + }, + "experience": { + "properties": { + "cls": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "fid": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "longtask": { + "properties": { + "count": { + "type": "long" + }, + "max": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "sum": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + }, + "tbt": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "marks": { + "dynamic": "true", + "properties": { + "*": { + "properties": { + "*": { + "dynamic": "true", + "type": "object" + } + } + } + } + }, + "message": { + "dynamic": "false", + "properties": { + "age": { + "properties": { + "ms": { + "type": "long" + } + } + }, + "queue": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "result": { + "ignore_above": 1024, + "type": "keyword" + }, + "root": { + "type": "boolean" + }, + "sampled": { + "type": "boolean" + }, + "self_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "span_count": { + "properties": { + "dropped": { + "type": "long" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "url": { + "dynamic": "false", + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "extension": { + "ignore_above": 1024, + "type": "keyword" + }, + "fragment": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "password": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "port": { + "type": "long" + }, + "query": { + "ignore_above": 1024, + "type": "keyword" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "scheme": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "username": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "user": { + "dynamic": "false", + "properties": { + "changes": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "effective": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + }, + "target": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "user_agent": { + "dynamic": "false", + "properties": { + "device": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vulnerability": { + "properties": { + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "classification": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "enumeration": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "report_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "scanner": { + "properties": { + "vendor": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "score": { + "properties": { + "base": { + "type": "float" + }, + "environmental": { + "type": "float" + }, + "temporal": { + "type": "float" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "severity": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "settings": { + "index": { + "auto_expand_replicas": "0-1", + "blocks": { + "read_only_allow_delete": "false" + }, + "codec": "best_compression", + "lifecycle": { + "name": "apm-rollover-30-days", + "rollover_alias": "apm-7.14.0-error" + }, + "mapping": { + "total_fields": { + "limit": "2000" + } + }, + "max_docvalue_fields_search": "200", + "number_of_replicas": "1", + "number_of_shards": "1", + "priority": "100", + "refresh_interval": "5s" + } + } + } +} + +{ + "type": "index", + "value": { + "aliases": { + "apm-7.14.0-metric": { + "is_write_index": true + } + }, + "index": "apm-7.14.0-metric-000001", + "mappings": { + "_meta": { + "beat": "apm", + "version": "7.14.0" + }, + "date_detection": false, + "dynamic_templates": [ + { + "labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "labels.*" + } + }, + { + "container.labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "container.labels.*" + } + }, + { + "fields": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "fields.*" + } + }, + { + "docker.container.labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "docker.container.labels.*" + } + }, + { + "kubernetes.labels.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.labels.*" + } + }, + { + "kubernetes.annotations.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.annotations.*" + } + }, + { + "kubernetes.selectors.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.selectors.*" + } + }, + { + "labels_string": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "labels.*" + } + }, + { + "labels_boolean": { + "mapping": { + "type": "boolean" + }, + "match_mapping_type": "boolean", + "path_match": "labels.*" + } + }, + { + "labels_*": { + "mapping": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "path_match": "labels.*" + } + }, + { + "histogram": { + "mapping": { + "type": "histogram" + } + } + }, + { + "transaction.marks": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "transaction.marks.*" + } + }, + { + "transaction.marks.*.*": { + "mapping": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "path_match": "transaction.marks.*.*" + } + }, + { + "strings_as_keyword": { + "mapping": { + "ignore_above": 1024, + "type": "keyword" + }, + "match_mapping_type": "string" + } + } + ], + "properties": { + "@timestamp": { + "type": "date" + }, + "agent": { + "dynamic": "false", + "properties": { + "build": { + "properties": { + "original": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ephemeral_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "agent_config_applied": { + "type": "long" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "child": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "client": { + "dynamic": "false", + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "cloud": { + "properties": { + "account": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "availability_zone": { + "ignore_above": 1024, + "type": "keyword" + }, + "image": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "instance": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "machine": { + "dynamic": "false", + "properties": { + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "project": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "provider": { + "ignore_above": 1024, + "type": "keyword" + }, + "region": { + "ignore_above": 1024, + "type": "keyword" + }, + "service": { + "dynamic": "false", + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "clr": { + "properties": { + "gc": { + "properties": { + "count": { + "type": "long" + }, + "gen0size": { + "type": "long" + }, + "gen1size": { + "type": "float" + }, + "gen2size": { + "type": "long" + }, + "gen3size": { + "type": "float" + }, + "time": { + "type": "float" + } + } + } + } + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "container": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "image": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "tag": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "labels": { + "type": "object" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "runtime": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "data_stream": { + "properties": { + "dataset": { + "type": "constant_keyword" + }, + "namespace": { + "type": "constant_keyword" + }, + "type": { + "type": "constant_keyword" + } + } + }, + "destination": { + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "dll": { + "properties": { + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "dns": { + "properties": { + "answers": { + "properties": { + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "data": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "ttl": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "header_flags": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "op_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "question": { + "properties": { + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "resolved_ip": { + "type": "ip" + }, + "response_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "docker": { + "properties": { + "container": { + "properties": { + "labels": { + "type": "object" + } + } + } + } + }, + "ecs": { + "properties": { + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "error": { + "dynamic": "false", + "properties": { + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "culprit": { + "ignore_above": 1024, + "type": "keyword" + }, + "exception": { + "properties": { + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "handled": { + "type": "boolean" + }, + "message": { + "norms": false, + "type": "text" + }, + "module": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "grouping_key": { + "ignore_above": 1024, + "type": "keyword" + }, + "grouping_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "log": { + "properties": { + "level": { + "ignore_above": 1024, + "type": "keyword" + }, + "logger_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "message": { + "norms": false, + "type": "text" + }, + "param_message": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "message": { + "norms": false, + "type": "text" + }, + "stack_trace": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "event": { + "properties": { + "action": { + "ignore_above": 1024, + "type": "keyword" + }, + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "created": { + "type": "date" + }, + "dataset": { + "ignore_above": 1024, + "type": "keyword" + }, + "duration": { + "type": "long" + }, + "end": { + "type": "date" + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "ingested": { + "type": "date" + }, + "kind": { + "ignore_above": 1024, + "type": "keyword" + }, + "module": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "outcome": { + "ignore_above": 1024, + "type": "keyword" + }, + "provider": { + "ignore_above": 1024, + "type": "keyword" + }, + "reason": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "risk_score": { + "type": "float" + }, + "risk_score_norm": { + "type": "float" + }, + "sequence": { + "type": "long" + }, + "severity": { + "type": "long" + }, + "start": { + "type": "date" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "url": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "experimental": { + "dynamic": "true", + "type": "object" + }, + "fields": { + "type": "object" + }, + "file": { + "properties": { + "accessed": { + "type": "date" + }, + "attributes": { + "ignore_above": 1024, + "type": "keyword" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "created": { + "type": "date" + }, + "ctime": { + "type": "date" + }, + "device": { + "ignore_above": 1024, + "type": "keyword" + }, + "directory": { + "ignore_above": 1024, + "type": "keyword" + }, + "drive_letter": { + "ignore_above": 1, + "type": "keyword" + }, + "extension": { + "ignore_above": 1024, + "type": "keyword" + }, + "gid": { + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "inode": { + "ignore_above": 1024, + "type": "keyword" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "mode": { + "ignore_above": 1024, + "type": "keyword" + }, + "mtime": { + "type": "date" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "owner": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "size": { + "type": "long" + }, + "target_path": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "uid": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "golang": { + "properties": { + "goroutines": { + "type": "long" + }, + "heap": { + "properties": { + "allocations": { + "properties": { + "active": { + "type": "float" + }, + "allocated": { + "type": "float" + }, + "frees": { + "type": "long" + }, + "idle": { + "type": "float" + }, + "mallocs": { + "type": "long" + }, + "objects": { + "type": "long" + }, + "total": { + "type": "float" + } + } + }, + "gc": { + "properties": { + "cpu_fraction": { + "type": "float" + }, + "next_gc_limit": { + "type": "float" + }, + "total_count": { + "type": "long" + }, + "total_pause": { + "properties": { + "ns": { + "type": "float" + } + } + } + } + }, + "system": { + "properties": { + "obtained": { + "type": "float" + }, + "released": { + "type": "float" + }, + "stack": { + "type": "float" + }, + "total": { + "type": "float" + } + } + } + } + } + } + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "host": { + "dynamic": "false", + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "containerized": { + "type": "boolean" + }, + "cpu": { + "properties": { + "usage": { + "scaling_factor": 1000, + "type": "scaled_float" + } + } + }, + "disk": { + "properties": { + "read": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "write": { + "properties": { + "bytes": { + "type": "long" + } + } + } + } + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "network": { + "properties": { + "egress": { + "properties": { + "bytes": { + "type": "long" + }, + "packets": { + "type": "long" + } + } + }, + "ingress": { + "properties": { + "bytes": { + "type": "long" + }, + "packets": { + "type": "long" + } + } + } + } + }, + "os": { + "properties": { + "build": { + "ignore_above": 1024, + "type": "keyword" + }, + "codename": { + "ignore_above": 1024, + "type": "keyword" + }, + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "http": { + "dynamic": "false", + "properties": { + "request": { + "properties": { + "body": { + "properties": { + "bytes": { + "type": "long" + }, + "content": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "bytes": { + "type": "long" + }, + "headers": { + "enabled": false, + "type": "object" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "method": { + "ignore_above": 1024, + "type": "keyword" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "referrer": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "response": { + "properties": { + "body": { + "properties": { + "bytes": { + "type": "long" + }, + "content": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "bytes": { + "type": "long" + }, + "finished": { + "type": "boolean" + }, + "headers": { + "enabled": false, + "type": "object" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "status_code": { + "type": "long" + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "jvm": { + "properties": { + "gc": { + "properties": { + "alloc": { + "type": "float" + }, + "count": { + "type": "long" + }, + "time": { + "type": "long" + } + } + }, + "memory": { + "properties": { + "heap": { + "properties": { + "committed": { + "type": "float" + }, + "max": { + "type": "float" + }, + "pool": { + "properties": { + "committed": { + "type": "float" + }, + "max": { + "type": "float" + }, + "used": { + "type": "float" + } + } + }, + "used": { + "type": "float" + } + } + }, + "non_heap": { + "properties": { + "committed": { + "type": "float" + }, + "max": { + "type": "long" + }, + "used": { + "type": "float" + } + } + } + } + }, + "thread": { + "properties": { + "count": { + "type": "long" + } + } + } + } + }, + "kubernetes": { + "dynamic": "false", + "properties": { + "annotations": { + "properties": { + "*": { + "type": "object" + } + } + }, + "container": { + "properties": { + "image": { + "path": "container.image.name", + "type": "alias" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "deployment": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "labels": { + "properties": { + "*": { + "type": "object" + } + } + }, + "namespace": { + "ignore_above": 1024, + "type": "keyword" + }, + "node": { + "properties": { + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pod": { + "properties": { + "ip": { + "type": "ip" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "uid": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "replicaset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "selectors": { + "properties": { + "*": { + "type": "object" + } + } + }, + "statefulset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "labels": { + "dynamic": "true", + "properties": { + "a": { + "type": "keyword" + }, + "charset": { + "type": "keyword" + }, + "connection": { + "type": "keyword" + }, + "env": { + "type": "keyword" + }, + "etag": { + "type": "keyword" + }, + "generation": { + "type": "keyword" + }, + "hostname": { + "type": "keyword" + }, + "implementation": { + "type": "keyword" + }, + "major": { + "type": "keyword" + }, + "method": { + "type": "keyword" + }, + "minor": { + "type": "keyword" + }, + "name": { + "type": "keyword" + }, + "patchlevel": { + "type": "keyword" + }, + "status": { + "type": "keyword" + }, + "transport": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "version": { + "type": "keyword" + }, + "view": { + "type": "keyword" + } + } + }, + "log": { + "properties": { + "file": { + "properties": { + "path": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "level": { + "ignore_above": 1024, + "type": "keyword" + }, + "logger": { + "ignore_above": 1024, + "type": "keyword" + }, + "origin": { + "properties": { + "file": { + "properties": { + "line": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "original": { + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "syslog": { + "properties": { + "facility": { + "properties": { + "code": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "priority": { + "type": "long" + }, + "severity": { + "properties": { + "code": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + } + } + }, + "message": { + "norms": false, + "type": "text" + }, + "metricset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "period": { + "meta": { + "unit": "ms" + }, + "type": "long" + } + } + }, + "network": { + "dynamic": "false", + "properties": { + "application": { + "ignore_above": 1024, + "type": "keyword" + }, + "bytes": { + "type": "long" + }, + "carrier": { + "properties": { + "icc": { + "ignore_above": 1024, + "type": "keyword" + }, + "mcc": { + "ignore_above": 1024, + "type": "keyword" + }, + "mnc": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "community_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "connection_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "direction": { + "ignore_above": 1024, + "type": "keyword" + }, + "forwarded_ip": { + "type": "ip" + }, + "iana_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "inner": { + "properties": { + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "packets": { + "type": "long" + }, + "protocol": { + "ignore_above": 1024, + "type": "keyword" + }, + "transport": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "nodejs": { + "properties": { + "eventloop": { + "properties": { + "delay": { + "properties": { + "avg": { + "properties": { + "ms": { + "type": "long" + } + } + } + } + } + } + }, + "handles": { + "properties": { + "active": { + "type": "long" + } + } + }, + "memory": { + "properties": { + "arrayBuffers": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "external": { + "properties": { + "bytes": { + "type": "float" + } + } + }, + "heap": { + "properties": { + "allocated": { + "properties": { + "bytes": { + "type": "float" + } + } + }, + "used": { + "properties": { + "bytes": { + "type": "float" + } + } + } + } + } + } + }, + "requests": { + "properties": { + "active": { + "type": "long" + } + } + } + } + }, + "observer": { + "dynamic": "false", + "properties": { + "egress": { + "properties": { + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "zone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "ingress": { + "properties": { + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "zone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "listening": { + "ignore_above": 1024, + "type": "keyword" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "vendor": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + }, + "version_major": { + "type": "byte" + } + } + }, + "orchestrator": { + "properties": { + "api_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "cluster": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "url": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "namespace": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "resource": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "organization": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "package": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "build_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "checksum": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "install_scope": { + "ignore_above": 1024, + "type": "keyword" + }, + "installed": { + "type": "date" + }, + "license": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "size": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "parent": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "process": { + "dynamic": "false", + "properties": { + "args": { + "ignore_above": 1024, + "type": "keyword" + }, + "args_count": { + "type": "long" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "command_line": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "entity_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "executable": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "exit_code": { + "type": "long" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "parent": { + "properties": { + "args": { + "ignore_above": 1024, + "type": "keyword" + }, + "args_count": { + "type": "long" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "command_line": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "entity_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "executable": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "exit_code": { + "type": "long" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pgid": { + "type": "long" + }, + "pid": { + "type": "long" + }, + "ppid": { + "type": "long" + }, + "start": { + "type": "date" + }, + "thread": { + "properties": { + "id": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "title": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "working_directory": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pgid": { + "type": "long" + }, + "pid": { + "type": "long" + }, + "ppid": { + "type": "long" + }, + "start": { + "type": "date" + }, + "thread": { + "properties": { + "id": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "title": { + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "working_directory": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "processor": { + "properties": { + "event": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "profile": { + "dynamic": "false", + "properties": { + "alloc_objects": { + "properties": { + "count": { + "type": "long" + } + } + }, + "alloc_space": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "cpu": { + "properties": { + "ns": { + "meta": { + "unit": "nanos" + }, + "type": "long" + } + } + }, + "duration": { + "meta": { + "unit": "nanos" + }, + "type": "long" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "inuse_objects": { + "properties": { + "count": { + "type": "long" + } + } + }, + "inuse_space": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "samples": { + "properties": { + "count": { + "type": "long" + } + } + }, + "stack": { + "dynamic": "false", + "properties": { + "filename": { + "ignore_above": 1024, + "type": "keyword" + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "line": { + "type": "long" + } + } + }, + "top": { + "dynamic": "false", + "properties": { + "filename": { + "ignore_above": 1024, + "type": "keyword" + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "line": { + "type": "long" + } + } + }, + "wall": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "prometheus": { + "properties": { + "metrics": { + "properties": { + "django_http_ajax_requests": { + "type": "long" + }, + "django_http_exceptions_total_by_type": { + "type": "long" + }, + "django_http_exceptions_total_by_view": { + "type": "long" + }, + "django_http_requests_before_middlewares": { + "type": "long" + }, + "django_http_requests_total_by_method": { + "type": "long" + }, + "django_http_requests_total_by_transport": { + "type": "long" + }, + "django_http_requests_total_by_view_transport_method": { + "type": "long" + }, + "django_http_requests_unknown_latency": { + "type": "long" + }, + "django_http_requests_unknown_latency_including_middlewares": { + "type": "long" + }, + "django_http_responses_before_middlewares": { + "type": "long" + }, + "django_http_responses_streaming": { + "type": "long" + }, + "django_http_responses_total_by_charset": { + "type": "long" + }, + "django_http_responses_total_by_status": { + "type": "long" + }, + "django_http_responses_total_by_status_view_method": { + "type": "long" + }, + "django_migrations_applied_total": { + "type": "long" + }, + "django_migrations_unapplied_total": { + "type": "long" + }, + "opbeans_python_line_items": { + "type": "long" + }, + "opbeans_python_orders": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "type": "long" + } + } + }, + "process_cpu_seconds": { + "type": "float" + }, + "process_max_fds": { + "type": "float" + }, + "process_open_fds": { + "type": "long" + }, + "process_resident_memory_bytes": { + "type": "float" + }, + "process_start_time_seconds": { + "type": "float" + }, + "process_virtual_memory_bytes": { + "type": "float" + }, + "python_gc_collections": { + "type": "long" + }, + "python_gc_objects_collected": { + "type": "long" + }, + "python_gc_objects_uncollectable": { + "type": "long" + }, + "python_info": { + "type": "long" + }, + "random_counter": { + "type": "long" + }, + "random_gauge": { + "type": "float" + }, + "random_summary": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "type": "long" + } + } + } + } + } + } + }, + "registry": { + "properties": { + "data": { + "properties": { + "bytes": { + "ignore_above": 1024, + "type": "keyword" + }, + "strings": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hive": { + "ignore_above": 1024, + "type": "keyword" + }, + "key": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "value": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "related": { + "properties": { + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "hosts": { + "ignore_above": 1024, + "type": "keyword" + }, + "ip": { + "type": "ip" + }, + "user": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ruby": { + "properties": { + "gc": { + "properties": { + "count": { + "type": "long" + } + } + }, + "heap": { + "properties": { + "allocations": { + "properties": { + "total": { + "type": "long" + } + } + }, + "slots": { + "properties": { + "free": { + "type": "long" + }, + "live": { + "type": "long" + } + } + } + } + }, + "threads": { + "type": "long" + } + } + }, + "rule": { + "properties": { + "author": { + "ignore_above": 1024, + "type": "keyword" + }, + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "license": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "ruleset": { + "ignore_above": 1024, + "type": "keyword" + }, + "uuid": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "server": { + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "service": { + "dynamic": "false", + "properties": { + "environment": { + "ignore_above": 1024, + "type": "keyword" + }, + "ephemeral_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "framework": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "language": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "node": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "runtime": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "state": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "session": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "sequence": { + "type": "long" + } + } + }, + "source": { + "dynamic": "false", + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "sourcemap": { + "dynamic": "false", + "properties": { + "bundle_filepath": { + "ignore_above": 1024, + "type": "keyword" + }, + "service": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "span": { + "dynamic": "false", + "properties": { + "action": { + "ignore_above": 1024, + "type": "keyword" + }, + "db": { + "dynamic": "false", + "properties": { + "link": { + "ignore_above": 1024, + "type": "keyword" + }, + "rows_affected": { + "type": "long" + } + } + }, + "destination": { + "dynamic": "false", + "properties": { + "service": { + "dynamic": "false", + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "resource": { + "ignore_above": 1024, + "type": "keyword" + }, + "response_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "duration": { + "properties": { + "us": { + "type": "long" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "message": { + "dynamic": "false", + "properties": { + "age": { + "properties": { + "ms": { + "type": "long" + } + } + }, + "queue": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "self_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "start": { + "properties": { + "us": { + "type": "long" + } + } + }, + "subtype": { + "ignore_above": 1024, + "type": "keyword" + }, + "sync": { + "type": "boolean" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "system": { + "properties": { + "cpu": { + "properties": { + "total": { + "properties": { + "norm": { + "properties": { + "pct": { + "meta": { + "metric_type": "gauge", + "unit": "percent" + }, + "scaling_factor": 1000, + "type": "scaled_float" + } + } + } + } + } + } + }, + "memory": { + "properties": { + "actual": { + "properties": { + "free": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "total": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "process": { + "properties": { + "cgroup": { + "properties": { + "cpu": { + "properties": { + "cfs": { + "properties": { + "period": { + "properties": { + "us": { + "meta": { + "metric_type": "gauge", + "unit": "micros" + }, + "type": "long" + } + } + }, + "quota": { + "properties": { + "us": { + "meta": { + "metric_type": "gauge", + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "stats": { + "properties": { + "periods": { + "meta": { + "metric_type": "counter" + }, + "type": "long" + }, + "throttled": { + "properties": { + "ns": { + "meta": { + "metric_type": "counter", + "unit": "nanos" + }, + "type": "long" + }, + "periods": { + "meta": { + "metric_type": "counter" + }, + "type": "long" + } + } + } + } + } + } + }, + "cpuacct": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "total": { + "properties": { + "ns": { + "meta": { + "metric_type": "counter", + "unit": "nanos" + }, + "type": "long" + } + } + } + } + }, + "memory": { + "properties": { + "mem": { + "properties": { + "limit": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "usage": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + } + } + }, + "stats": { + "properties": { + "inactive_file": { + "properties": { + "bytes": { + "type": "float" + } + } + } + } + } + } + } + } + }, + "cpu": { + "properties": { + "system": { + "properties": { + "norm": { + "properties": { + "pct": { + "type": "float" + } + } + } + } + }, + "total": { + "properties": { + "norm": { + "properties": { + "pct": { + "meta": { + "metric_type": "gauge", + "unit": "percent" + }, + "scaling_factor": 1000, + "type": "scaled_float" + } + } + } + } + }, + "user": { + "properties": { + "norm": { + "properties": { + "pct": { + "type": "float" + } + } + } + } + } + } + }, + "memory": { + "properties": { + "rss": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "size": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + } + } + } + } + }, + "tags": { + "ignore_above": 1024, + "type": "keyword" + }, + "threat": { + "properties": { + "framework": { + "ignore_above": 1024, + "type": "keyword" + }, + "tactic": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "technique": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "subtechnique": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + } + } + }, + "timeseries": { + "properties": { + "instance": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "timestamp": { + "properties": { + "us": { + "type": "long" + } + } + }, + "tls": { + "properties": { + "cipher": { + "ignore_above": 1024, + "type": "keyword" + }, + "client": { + "properties": { + "certificate": { + "ignore_above": 1024, + "type": "keyword" + }, + "certificate_chain": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "issuer": { + "ignore_above": 1024, + "type": "keyword" + }, + "ja3": { + "ignore_above": 1024, + "type": "keyword" + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "server_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "ignore_above": 1024, + "type": "keyword" + }, + "supported_ciphers": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "established": { + "type": "boolean" + }, + "next_protocol": { + "ignore_above": 1024, + "type": "keyword" + }, + "resumed": { + "type": "boolean" + }, + "server": { + "properties": { + "certificate": { + "ignore_above": 1024, + "type": "keyword" + }, + "certificate_chain": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "issuer": { + "ignore_above": 1024, + "type": "keyword" + }, + "ja3s": { + "ignore_above": 1024, + "type": "keyword" + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "subject": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + }, + "version_protocol": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "trace": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "transaction": { + "dynamic": "false", + "properties": { + "breakdown": { + "properties": { + "count": { + "type": "long" + } + } + }, + "duration": { + "properties": { + "count": { + "type": "long" + }, + "histogram": { + "type": "histogram" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + }, + "us": { + "type": "long" + } + } + }, + "experience": { + "properties": { + "cls": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "fid": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "longtask": { + "properties": { + "count": { + "type": "long" + }, + "max": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "sum": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + }, + "tbt": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "marks": { + "dynamic": "true", + "properties": { + "*": { + "properties": { + "*": { + "dynamic": "true", + "type": "object" + } + } + } + } + }, + "message": { + "dynamic": "false", + "properties": { + "age": { + "properties": { + "ms": { + "type": "long" + } + } + }, + "queue": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "result": { + "ignore_above": 1024, + "type": "keyword" + }, + "root": { + "type": "boolean" + }, + "sampled": { + "type": "boolean" + }, + "self_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "span_count": { + "properties": { + "dropped": { + "type": "long" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "url": { + "dynamic": "false", + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "extension": { + "ignore_above": 1024, + "type": "keyword" + }, + "fragment": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "password": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "port": { + "type": "long" + }, + "query": { + "ignore_above": 1024, + "type": "keyword" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "scheme": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "username": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "user": { + "dynamic": "false", + "properties": { + "changes": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "effective": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + }, + "target": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "user_agent": { + "dynamic": "false", + "properties": { + "device": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vulnerability": { + "properties": { + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "classification": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "enumeration": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "report_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "scanner": { + "properties": { + "vendor": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "score": { + "properties": { + "base": { + "type": "float" + }, + "environmental": { + "type": "float" + }, + "temporal": { + "type": "float" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "severity": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "settings": { + "index": { + "auto_expand_replicas": "0-1", + "blocks": { + "read_only_allow_delete": "false" + }, + "codec": "best_compression", + "lifecycle": { + "name": "apm-rollover-30-days", + "rollover_alias": "apm-7.14.0-metric" + }, + "mapping": { + "total_fields": { + "limit": "2000" + } + }, + "max_docvalue_fields_search": "200", + "number_of_replicas": "1", + "number_of_shards": "1", + "priority": "100", + "refresh_interval": "5s" + } + } + } +} + +{ + "type": "index", + "value": { + "aliases": { + "apm-7.14.0-span": { + "is_write_index": true + } + }, + "index": "apm-7.14.0-span-000001", + "mappings": { + "_meta": { + "beat": "apm", + "version": "7.14.0" + }, + "date_detection": false, + "dynamic_templates": [ + { + "labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "labels.*" + } + }, + { + "container.labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "container.labels.*" + } + }, + { + "fields": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "fields.*" + } + }, + { + "docker.container.labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "docker.container.labels.*" + } + }, + { + "kubernetes.labels.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.labels.*" + } + }, + { + "kubernetes.annotations.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.annotations.*" + } + }, + { + "kubernetes.selectors.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.selectors.*" + } + }, + { + "labels_string": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "labels.*" + } + }, + { + "labels_boolean": { + "mapping": { + "type": "boolean" + }, + "match_mapping_type": "boolean", + "path_match": "labels.*" + } + }, + { + "labels_*": { + "mapping": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "path_match": "labels.*" + } + }, + { + "histogram": { + "mapping": { + "type": "histogram" + } + } + }, + { + "transaction.marks": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "transaction.marks.*" + } + }, + { + "transaction.marks.*.*": { + "mapping": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "path_match": "transaction.marks.*.*" + } + }, + { + "strings_as_keyword": { + "mapping": { + "ignore_above": 1024, + "type": "keyword" + }, + "match_mapping_type": "string" + } + } + ], + "properties": { + "@timestamp": { + "type": "date" + }, + "agent": { + "dynamic": "false", + "properties": { + "build": { + "properties": { + "original": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ephemeral_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "child": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "client": { + "dynamic": "false", + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "cloud": { + "properties": { + "account": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "availability_zone": { + "ignore_above": 1024, + "type": "keyword" + }, + "image": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "instance": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "machine": { + "dynamic": "false", + "properties": { + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "project": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "provider": { + "ignore_above": 1024, + "type": "keyword" + }, + "region": { + "ignore_above": 1024, + "type": "keyword" + }, + "service": { + "dynamic": "false", + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "container": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "image": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "tag": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "labels": { + "type": "object" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "runtime": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "data_stream": { + "properties": { + "dataset": { + "type": "constant_keyword" + }, + "namespace": { + "type": "constant_keyword" + }, + "type": { + "type": "constant_keyword" + } + } + }, + "destination": { + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "dll": { + "properties": { + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "dns": { + "properties": { + "answers": { + "properties": { + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "data": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "ttl": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "header_flags": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "op_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "question": { + "properties": { + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "resolved_ip": { + "type": "ip" + }, + "response_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "docker": { + "properties": { + "container": { + "properties": { + "labels": { + "type": "object" + } + } + } + } + }, + "ecs": { + "properties": { + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "error": { + "dynamic": "false", + "properties": { + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "culprit": { + "ignore_above": 1024, + "type": "keyword" + }, + "exception": { + "properties": { + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "handled": { + "type": "boolean" + }, + "message": { + "norms": false, + "type": "text" + }, + "module": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "grouping_key": { + "ignore_above": 1024, + "type": "keyword" + }, + "grouping_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "log": { + "properties": { + "level": { + "ignore_above": 1024, + "type": "keyword" + }, + "logger_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "message": { + "norms": false, + "type": "text" + }, + "param_message": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "message": { + "norms": false, + "type": "text" + }, + "stack_trace": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "event": { + "properties": { + "action": { + "ignore_above": 1024, + "type": "keyword" + }, + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "created": { + "type": "date" + }, + "dataset": { + "ignore_above": 1024, + "type": "keyword" + }, + "duration": { + "type": "long" + }, + "end": { + "type": "date" + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "ingested": { + "type": "date" + }, + "kind": { + "ignore_above": 1024, + "type": "keyword" + }, + "module": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "outcome": { + "ignore_above": 1024, + "type": "keyword" + }, + "provider": { + "ignore_above": 1024, + "type": "keyword" + }, + "reason": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "risk_score": { + "type": "float" + }, + "risk_score_norm": { + "type": "float" + }, + "sequence": { + "type": "long" + }, + "severity": { + "type": "long" + }, + "start": { + "type": "date" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "url": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "experimental": { + "dynamic": "true", + "type": "object" + }, + "fields": { + "type": "object" + }, + "file": { + "properties": { + "accessed": { + "type": "date" + }, + "attributes": { + "ignore_above": 1024, + "type": "keyword" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "created": { + "type": "date" + }, + "ctime": { + "type": "date" + }, + "device": { + "ignore_above": 1024, + "type": "keyword" + }, + "directory": { + "ignore_above": 1024, + "type": "keyword" + }, + "drive_letter": { + "ignore_above": 1, + "type": "keyword" + }, + "extension": { + "ignore_above": 1024, + "type": "keyword" + }, + "gid": { + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "inode": { + "ignore_above": 1024, + "type": "keyword" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "mode": { + "ignore_above": 1024, + "type": "keyword" + }, + "mtime": { + "type": "date" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "owner": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "size": { + "type": "long" + }, + "target_path": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "uid": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "host": { + "dynamic": "false", + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "containerized": { + "type": "boolean" + }, + "cpu": { + "properties": { + "usage": { + "scaling_factor": 1000, + "type": "scaled_float" + } + } + }, + "disk": { + "properties": { + "read": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "write": { + "properties": { + "bytes": { + "type": "long" + } + } + } + } + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "network": { + "properties": { + "egress": { + "properties": { + "bytes": { + "type": "long" + }, + "packets": { + "type": "long" + } + } + }, + "ingress": { + "properties": { + "bytes": { + "type": "long" + }, + "packets": { + "type": "long" + } + } + } + } + }, + "os": { + "properties": { + "build": { + "ignore_above": 1024, + "type": "keyword" + }, + "codename": { + "ignore_above": 1024, + "type": "keyword" + }, + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "http": { + "dynamic": "false", + "properties": { + "request": { + "properties": { + "body": { + "properties": { + "bytes": { + "type": "long" + }, + "content": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "bytes": { + "type": "long" + }, + "headers": { + "enabled": false, + "type": "object" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "method": { + "ignore_above": 1024, + "type": "keyword" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "referrer": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "response": { + "properties": { + "body": { + "properties": { + "bytes": { + "type": "long" + }, + "content": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "bytes": { + "type": "long" + }, + "finished": { + "type": "boolean" + }, + "headers": { + "enabled": false, + "type": "object" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "status_code": { + "type": "long" + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "kubernetes": { + "dynamic": "false", + "properties": { + "annotations": { + "properties": { + "*": { + "type": "object" + } + } + }, + "container": { + "properties": { + "image": { + "path": "container.image.name", + "type": "alias" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "deployment": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "labels": { + "properties": { + "*": { + "type": "object" + } + } + }, + "namespace": { + "ignore_above": 1024, + "type": "keyword" + }, + "node": { + "properties": { + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pod": { + "properties": { + "ip": { + "type": "ip" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "uid": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "replicaset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "selectors": { + "properties": { + "*": { + "type": "object" + } + } + }, + "statefulset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "labels": { + "dynamic": "true", + "properties": { + "events_encoded": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "events_failed": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "events_original": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "events_published": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "foo": { + "type": "keyword" + }, + "productId": { + "type": "keyword" + } + } + }, + "log": { + "properties": { + "file": { + "properties": { + "path": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "level": { + "ignore_above": 1024, + "type": "keyword" + }, + "logger": { + "ignore_above": 1024, + "type": "keyword" + }, + "origin": { + "properties": { + "file": { + "properties": { + "line": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "original": { + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "syslog": { + "properties": { + "facility": { + "properties": { + "code": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "priority": { + "type": "long" + }, + "severity": { + "properties": { + "code": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + } + } + }, + "message": { + "norms": false, + "type": "text" + }, + "metricset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "period": { + "meta": { + "unit": "ms" + }, + "type": "long" + } + } + }, + "network": { + "dynamic": "false", + "properties": { + "application": { + "ignore_above": 1024, + "type": "keyword" + }, + "bytes": { + "type": "long" + }, + "carrier": { + "properties": { + "icc": { + "ignore_above": 1024, + "type": "keyword" + }, + "mcc": { + "ignore_above": 1024, + "type": "keyword" + }, + "mnc": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "community_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "connection_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "direction": { + "ignore_above": 1024, + "type": "keyword" + }, + "forwarded_ip": { + "type": "ip" + }, + "iana_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "inner": { + "properties": { + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "packets": { + "type": "long" + }, + "protocol": { + "ignore_above": 1024, + "type": "keyword" + }, + "transport": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "observer": { + "dynamic": "false", + "properties": { + "egress": { + "properties": { + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "zone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "ingress": { + "properties": { + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "zone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "listening": { + "ignore_above": 1024, + "type": "keyword" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "vendor": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + }, + "version_major": { + "type": "byte" + } + } + }, + "orchestrator": { + "properties": { + "api_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "cluster": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "url": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "namespace": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "resource": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "organization": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "package": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "build_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "checksum": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "install_scope": { + "ignore_above": 1024, + "type": "keyword" + }, + "installed": { + "type": "date" + }, + "license": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "size": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "parent": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "process": { + "dynamic": "false", + "properties": { + "args": { + "ignore_above": 1024, + "type": "keyword" + }, + "args_count": { + "type": "long" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "command_line": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "entity_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "executable": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "exit_code": { + "type": "long" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "parent": { + "properties": { + "args": { + "ignore_above": 1024, + "type": "keyword" + }, + "args_count": { + "type": "long" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "command_line": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "entity_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "executable": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "exit_code": { + "type": "long" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pgid": { + "type": "long" + }, + "pid": { + "type": "long" + }, + "ppid": { + "type": "long" + }, + "start": { + "type": "date" + }, + "thread": { + "properties": { + "id": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "title": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "working_directory": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pgid": { + "type": "long" + }, + "pid": { + "type": "long" + }, + "ppid": { + "type": "long" + }, + "start": { + "type": "date" + }, + "thread": { + "properties": { + "id": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "title": { + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "working_directory": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "processor": { + "properties": { + "event": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "profile": { + "dynamic": "false", + "properties": { + "alloc_objects": { + "properties": { + "count": { + "type": "long" + } + } + }, + "alloc_space": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "cpu": { + "properties": { + "ns": { + "meta": { + "unit": "nanos" + }, + "type": "long" + } + } + }, + "duration": { + "meta": { + "unit": "nanos" + }, + "type": "long" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "inuse_objects": { + "properties": { + "count": { + "type": "long" + } + } + }, + "inuse_space": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "samples": { + "properties": { + "count": { + "type": "long" + } + } + }, + "stack": { + "dynamic": "false", + "properties": { + "filename": { + "ignore_above": 1024, + "type": "keyword" + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "line": { + "type": "long" + } + } + }, + "top": { + "dynamic": "false", + "properties": { + "filename": { + "ignore_above": 1024, + "type": "keyword" + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "line": { + "type": "long" + } + } + }, + "wall": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "registry": { + "properties": { + "data": { + "properties": { + "bytes": { + "ignore_above": 1024, + "type": "keyword" + }, + "strings": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hive": { + "ignore_above": 1024, + "type": "keyword" + }, + "key": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "value": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "related": { + "properties": { + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "hosts": { + "ignore_above": 1024, + "type": "keyword" + }, + "ip": { + "type": "ip" + }, + "user": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "rule": { + "properties": { + "author": { + "ignore_above": 1024, + "type": "keyword" + }, + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "license": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "ruleset": { + "ignore_above": 1024, + "type": "keyword" + }, + "uuid": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "server": { + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "service": { + "dynamic": "false", + "properties": { + "environment": { + "ignore_above": 1024, + "type": "keyword" + }, + "ephemeral_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "framework": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "language": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "node": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "runtime": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "state": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "session": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "sequence": { + "type": "long" + } + } + }, + "source": { + "dynamic": "false", + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "sourcemap": { + "dynamic": "false", + "properties": { + "bundle_filepath": { + "ignore_above": 1024, + "type": "keyword" + }, + "service": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "span": { + "dynamic": "false", + "properties": { + "action": { + "ignore_above": 1024, + "type": "keyword" + }, + "db": { + "dynamic": "false", + "properties": { + "link": { + "ignore_above": 1024, + "type": "keyword" + }, + "rows_affected": { + "type": "long" + } + } + }, + "destination": { + "dynamic": "false", + "properties": { + "service": { + "dynamic": "false", + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "resource": { + "ignore_above": 1024, + "type": "keyword" + }, + "response_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "duration": { + "properties": { + "us": { + "type": "long" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "message": { + "dynamic": "false", + "properties": { + "age": { + "properties": { + "ms": { + "type": "long" + } + } + }, + "queue": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "self_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "start": { + "properties": { + "us": { + "type": "long" + } + } + }, + "subtype": { + "ignore_above": 1024, + "type": "keyword" + }, + "sync": { + "type": "boolean" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "system": { + "properties": { + "cpu": { + "properties": { + "total": { + "properties": { + "norm": { + "properties": { + "pct": { + "meta": { + "metric_type": "gauge", + "unit": "percent" + }, + "scaling_factor": 1000, + "type": "scaled_float" + } + } + } + } + } + } + }, + "memory": { + "properties": { + "actual": { + "properties": { + "free": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "total": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "process": { + "properties": { + "cgroup": { + "properties": { + "cpu": { + "properties": { + "cfs": { + "properties": { + "period": { + "properties": { + "us": { + "meta": { + "metric_type": "gauge", + "unit": "micros" + }, + "type": "long" + } + } + }, + "quota": { + "properties": { + "us": { + "meta": { + "metric_type": "gauge", + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "stats": { + "properties": { + "periods": { + "meta": { + "metric_type": "counter" + }, + "type": "long" + }, + "throttled": { + "properties": { + "ns": { + "meta": { + "metric_type": "counter", + "unit": "nanos" + }, + "type": "long" + }, + "periods": { + "meta": { + "metric_type": "counter" + }, + "type": "long" + } + } + } + } + } + } + }, + "cpuacct": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "total": { + "properties": { + "ns": { + "meta": { + "metric_type": "counter", + "unit": "nanos" + }, + "type": "long" + } + } + } + } + }, + "memory": { + "properties": { + "mem": { + "properties": { + "limit": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "usage": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + } + } + } + } + } + } + }, + "cpu": { + "properties": { + "total": { + "properties": { + "norm": { + "properties": { + "pct": { + "meta": { + "metric_type": "gauge", + "unit": "percent" + }, + "scaling_factor": 1000, + "type": "scaled_float" + } + } + } + } + } + } + }, + "memory": { + "properties": { + "rss": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "size": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + } + } + } + } + }, + "tags": { + "ignore_above": 1024, + "type": "keyword" + }, + "threat": { + "properties": { + "framework": { + "ignore_above": 1024, + "type": "keyword" + }, + "tactic": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "technique": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "subtechnique": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + } + } + }, + "timeseries": { + "properties": { + "instance": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "timestamp": { + "properties": { + "us": { + "type": "long" + } + } + }, + "tls": { + "properties": { + "cipher": { + "ignore_above": 1024, + "type": "keyword" + }, + "client": { + "properties": { + "certificate": { + "ignore_above": 1024, + "type": "keyword" + }, + "certificate_chain": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "issuer": { + "ignore_above": 1024, + "type": "keyword" + }, + "ja3": { + "ignore_above": 1024, + "type": "keyword" + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "server_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "ignore_above": 1024, + "type": "keyword" + }, + "supported_ciphers": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "established": { + "type": "boolean" + }, + "next_protocol": { + "ignore_above": 1024, + "type": "keyword" + }, + "resumed": { + "type": "boolean" + }, + "server": { + "properties": { + "certificate": { + "ignore_above": 1024, + "type": "keyword" + }, + "certificate_chain": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "issuer": { + "ignore_above": 1024, + "type": "keyword" + }, + "ja3s": { + "ignore_above": 1024, + "type": "keyword" + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "subject": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + }, + "version_protocol": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "trace": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "transaction": { + "dynamic": "false", + "properties": { + "breakdown": { + "properties": { + "count": { + "type": "long" + } + } + }, + "duration": { + "properties": { + "count": { + "type": "long" + }, + "histogram": { + "type": "histogram" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + }, + "us": { + "type": "long" + } + } + }, + "experience": { + "properties": { + "cls": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "fid": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "longtask": { + "properties": { + "count": { + "type": "long" + }, + "max": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "sum": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + }, + "tbt": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "marks": { + "dynamic": "true", + "properties": { + "*": { + "properties": { + "*": { + "dynamic": "true", + "type": "object" + } + } + } + } + }, + "message": { + "dynamic": "false", + "properties": { + "age": { + "properties": { + "ms": { + "type": "long" + } + } + }, + "queue": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "result": { + "ignore_above": 1024, + "type": "keyword" + }, + "root": { + "type": "boolean" + }, + "sampled": { + "type": "boolean" + }, + "self_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "span_count": { + "properties": { + "dropped": { + "type": "long" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "url": { + "dynamic": "false", + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "extension": { + "ignore_above": 1024, + "type": "keyword" + }, + "fragment": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "password": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "port": { + "type": "long" + }, + "query": { + "ignore_above": 1024, + "type": "keyword" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "scheme": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "username": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "user": { + "dynamic": "false", + "properties": { + "changes": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "effective": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + }, + "target": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "user_agent": { + "dynamic": "false", + "properties": { + "device": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vulnerability": { + "properties": { + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "classification": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "enumeration": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "report_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "scanner": { + "properties": { + "vendor": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "score": { + "properties": { + "base": { + "type": "float" + }, + "environmental": { + "type": "float" + }, + "temporal": { + "type": "float" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "severity": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "settings": { + "index": { + "auto_expand_replicas": "0-1", + "blocks": { + "read_only_allow_delete": "false" + }, + "codec": "best_compression", + "lifecycle": { + "name": "apm-rollover-30-days", + "rollover_alias": "apm-7.14.0-span" + }, + "mapping": { + "total_fields": { + "limit": "2000" + } + }, + "max_docvalue_fields_search": "200", + "number_of_replicas": "1", + "number_of_shards": "1", + "priority": "100", + "refresh_interval": "5s" + } + } + } +} + +{ + "type": "index", + "value": { + "aliases": { + "apm-7.14.0-transaction": { + "is_write_index": true + } + }, + "index": "apm-7.14.0-transaction-000001", + "mappings": { + "_meta": { + "beat": "apm", + "version": "7.14.0" + }, + "date_detection": false, + "dynamic_templates": [ + { + "labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "labels.*" + } + }, + { + "container.labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "container.labels.*" + } + }, + { + "fields": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "fields.*" + } + }, + { + "docker.container.labels": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "docker.container.labels.*" + } + }, + { + "kubernetes.labels.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.labels.*" + } + }, + { + "kubernetes.annotations.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.annotations.*" + } + }, + { + "kubernetes.selectors.*": { + "mapping": { + "type": "keyword" + }, + "path_match": "kubernetes.selectors.*" + } + }, + { + "labels_string": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "labels.*" + } + }, + { + "labels_boolean": { + "mapping": { + "type": "boolean" + }, + "match_mapping_type": "boolean", + "path_match": "labels.*" + } + }, + { + "labels_*": { + "mapping": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "path_match": "labels.*" + } + }, + { + "histogram": { + "mapping": { + "type": "histogram" + } + } + }, + { + "transaction.marks": { + "mapping": { + "type": "keyword" + }, + "match_mapping_type": "string", + "path_match": "transaction.marks.*" + } + }, + { + "transaction.marks.*.*": { + "mapping": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "path_match": "transaction.marks.*.*" + } + }, + { + "strings_as_keyword": { + "mapping": { + "ignore_above": 1024, + "type": "keyword" + }, + "match_mapping_type": "string" + } + } + ], + "properties": { + "@timestamp": { + "type": "date" + }, + "agent": { + "dynamic": "false", + "properties": { + "build": { + "properties": { + "original": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ephemeral_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "child": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "client": { + "dynamic": "false", + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "cloud": { + "properties": { + "account": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "availability_zone": { + "ignore_above": 1024, + "type": "keyword" + }, + "image": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "instance": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "machine": { + "dynamic": "false", + "properties": { + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "project": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "provider": { + "ignore_above": 1024, + "type": "keyword" + }, + "region": { + "ignore_above": 1024, + "type": "keyword" + }, + "service": { + "dynamic": "false", + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "container": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "image": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "tag": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "labels": { + "type": "object" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "runtime": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "data_stream": { + "properties": { + "dataset": { + "type": "constant_keyword" + }, + "namespace": { + "type": "constant_keyword" + }, + "type": { + "type": "constant_keyword" + } + } + }, + "destination": { + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "dll": { + "properties": { + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "dns": { + "properties": { + "answers": { + "properties": { + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "data": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "ttl": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "header_flags": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "op_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "question": { + "properties": { + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "resolved_ip": { + "type": "ip" + }, + "response_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "docker": { + "properties": { + "container": { + "properties": { + "labels": { + "type": "object" + } + } + } + } + }, + "ecs": { + "properties": { + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "error": { + "dynamic": "false", + "properties": { + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "culprit": { + "ignore_above": 1024, + "type": "keyword" + }, + "exception": { + "properties": { + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "handled": { + "type": "boolean" + }, + "message": { + "norms": false, + "type": "text" + }, + "module": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "grouping_key": { + "ignore_above": 1024, + "type": "keyword" + }, + "grouping_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "log": { + "properties": { + "level": { + "ignore_above": 1024, + "type": "keyword" + }, + "logger_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "message": { + "norms": false, + "type": "text" + }, + "param_message": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "message": { + "norms": false, + "type": "text" + }, + "stack_trace": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "event": { + "properties": { + "action": { + "ignore_above": 1024, + "type": "keyword" + }, + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "code": { + "ignore_above": 1024, + "type": "keyword" + }, + "created": { + "type": "date" + }, + "dataset": { + "ignore_above": 1024, + "type": "keyword" + }, + "duration": { + "type": "long" + }, + "end": { + "type": "date" + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "ingested": { + "type": "date" + }, + "kind": { + "ignore_above": 1024, + "type": "keyword" + }, + "module": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "outcome": { + "ignore_above": 1024, + "type": "keyword" + }, + "provider": { + "ignore_above": 1024, + "type": "keyword" + }, + "reason": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "risk_score": { + "type": "float" + }, + "risk_score_norm": { + "type": "float" + }, + "sequence": { + "type": "long" + }, + "severity": { + "type": "long" + }, + "start": { + "type": "date" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "url": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "experimental": { + "dynamic": "true", + "type": "object" + }, + "fields": { + "type": "object" + }, + "file": { + "properties": { + "accessed": { + "type": "date" + }, + "attributes": { + "ignore_above": 1024, + "type": "keyword" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "created": { + "type": "date" + }, + "ctime": { + "type": "date" + }, + "device": { + "ignore_above": 1024, + "type": "keyword" + }, + "directory": { + "ignore_above": 1024, + "type": "keyword" + }, + "drive_letter": { + "ignore_above": 1, + "type": "keyword" + }, + "extension": { + "ignore_above": 1024, + "type": "keyword" + }, + "gid": { + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "inode": { + "ignore_above": 1024, + "type": "keyword" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "mode": { + "ignore_above": 1024, + "type": "keyword" + }, + "mtime": { + "type": "date" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "owner": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "size": { + "type": "long" + }, + "target_path": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "uid": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "host": { + "dynamic": "false", + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "containerized": { + "type": "boolean" + }, + "cpu": { + "properties": { + "usage": { + "scaling_factor": 1000, + "type": "scaled_float" + } + } + }, + "disk": { + "properties": { + "read": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "write": { + "properties": { + "bytes": { + "type": "long" + } + } + } + } + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "network": { + "properties": { + "egress": { + "properties": { + "bytes": { + "type": "long" + }, + "packets": { + "type": "long" + } + } + }, + "ingress": { + "properties": { + "bytes": { + "type": "long" + }, + "packets": { + "type": "long" + } + } + } + } + }, + "os": { + "properties": { + "build": { + "ignore_above": 1024, + "type": "keyword" + }, + "codename": { + "ignore_above": 1024, + "type": "keyword" + }, + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "http": { + "dynamic": "false", + "properties": { + "request": { + "properties": { + "body": { + "properties": { + "bytes": { + "type": "long" + }, + "content": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "bytes": { + "type": "long" + }, + "headers": { + "enabled": false, + "type": "object" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "method": { + "ignore_above": 1024, + "type": "keyword" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "referrer": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "response": { + "properties": { + "body": { + "properties": { + "bytes": { + "type": "long" + }, + "content": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "bytes": { + "type": "long" + }, + "finished": { + "type": "boolean" + }, + "headers": { + "enabled": false, + "type": "object" + }, + "mime_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "status_code": { + "type": "long" + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "kubernetes": { + "dynamic": "false", + "properties": { + "annotations": { + "properties": { + "*": { + "type": "object" + } + } + }, + "container": { + "properties": { + "image": { + "path": "container.image.name", + "type": "alias" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "deployment": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "labels": { + "properties": { + "*": { + "type": "object" + } + } + }, + "namespace": { + "ignore_above": 1024, + "type": "keyword" + }, + "node": { + "properties": { + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pod": { + "properties": { + "ip": { + "type": "ip" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "uid": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "replicaset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "selectors": { + "properties": { + "*": { + "type": "object" + } + } + }, + "statefulset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "labels": { + "dynamic": "true", + "properties": { + "company": { + "type": "keyword" + }, + "customer_email": { + "type": "keyword" + }, + "customer_name": { + "type": "keyword" + }, + "customer_tier": { + "type": "keyword" + }, + "foo": { + "type": "keyword" + }, + "lorem": { + "type": "keyword" + }, + "multi-line": { + "type": "keyword" + }, + "request_id": { + "type": "keyword" + }, + "served_from_cache": { + "type": "keyword" + }, + "this-is-a-very-long-tag-name-without-any-spaces": { + "type": "keyword" + }, + "worker": { + "type": "keyword" + } + } + }, + "log": { + "properties": { + "file": { + "properties": { + "path": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "level": { + "ignore_above": 1024, + "type": "keyword" + }, + "logger": { + "ignore_above": 1024, + "type": "keyword" + }, + "origin": { + "properties": { + "file": { + "properties": { + "line": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "original": { + "ignore_above": 1024, + "index": false, + "type": "keyword" + }, + "syslog": { + "properties": { + "facility": { + "properties": { + "code": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "priority": { + "type": "long" + }, + "severity": { + "properties": { + "code": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + } + } + }, + "message": { + "norms": false, + "type": "text" + }, + "metricset": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "period": { + "meta": { + "unit": "ms" + }, + "type": "long" + } + } + }, + "network": { + "dynamic": "false", + "properties": { + "application": { + "ignore_above": 1024, + "type": "keyword" + }, + "bytes": { + "type": "long" + }, + "carrier": { + "properties": { + "icc": { + "ignore_above": 1024, + "type": "keyword" + }, + "mcc": { + "ignore_above": 1024, + "type": "keyword" + }, + "mnc": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "community_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "connection_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "direction": { + "ignore_above": 1024, + "type": "keyword" + }, + "forwarded_ip": { + "type": "ip" + }, + "iana_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "inner": { + "properties": { + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "packets": { + "type": "long" + }, + "protocol": { + "ignore_above": 1024, + "type": "keyword" + }, + "transport": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "observer": { + "dynamic": "false", + "properties": { + "egress": { + "properties": { + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "zone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hostname": { + "ignore_above": 1024, + "type": "keyword" + }, + "ingress": { + "properties": { + "interface": { + "properties": { + "alias": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "zone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "listening": { + "ignore_above": 1024, + "type": "keyword" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "vendor": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + }, + "version_major": { + "type": "byte" + } + } + }, + "orchestrator": { + "properties": { + "api_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "cluster": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "url": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "namespace": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "resource": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "organization": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "package": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "build_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "checksum": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "install_scope": { + "ignore_above": 1024, + "type": "keyword" + }, + "installed": { + "type": "date" + }, + "license": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "size": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "parent": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "process": { + "dynamic": "false", + "properties": { + "args": { + "ignore_above": 1024, + "type": "keyword" + }, + "args_count": { + "type": "long" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "command_line": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "entity_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "executable": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "exit_code": { + "type": "long" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "parent": { + "properties": { + "args": { + "ignore_above": 1024, + "type": "keyword" + }, + "args_count": { + "type": "long" + }, + "code_signature": { + "properties": { + "exists": { + "type": "boolean" + }, + "signing_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "status": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "team_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "trusted": { + "type": "boolean" + }, + "valid": { + "type": "boolean" + } + } + }, + "command_line": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "entity_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "executable": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "exit_code": { + "type": "long" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha512": { + "ignore_above": 1024, + "type": "keyword" + }, + "ssdeep": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pgid": { + "type": "long" + }, + "pid": { + "type": "long" + }, + "ppid": { + "type": "long" + }, + "start": { + "type": "date" + }, + "thread": { + "properties": { + "id": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "title": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "working_directory": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pe": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "company": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "file_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "imphash": { + "ignore_above": 1024, + "type": "keyword" + }, + "original_file_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "product": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "pgid": { + "type": "long" + }, + "pid": { + "type": "long" + }, + "ppid": { + "type": "long" + }, + "start": { + "type": "date" + }, + "thread": { + "properties": { + "id": { + "type": "long" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "title": { + "ignore_above": 1024, + "type": "keyword" + }, + "uptime": { + "type": "long" + }, + "working_directory": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "processor": { + "properties": { + "event": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "profile": { + "dynamic": "false", + "properties": { + "alloc_objects": { + "properties": { + "count": { + "type": "long" + } + } + }, + "alloc_space": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "cpu": { + "properties": { + "ns": { + "meta": { + "unit": "nanos" + }, + "type": "long" + } + } + }, + "duration": { + "meta": { + "unit": "nanos" + }, + "type": "long" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "inuse_objects": { + "properties": { + "count": { + "type": "long" + } + } + }, + "inuse_space": { + "properties": { + "bytes": { + "type": "long" + } + } + }, + "samples": { + "properties": { + "count": { + "type": "long" + } + } + }, + "stack": { + "dynamic": "false", + "properties": { + "filename": { + "ignore_above": 1024, + "type": "keyword" + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "line": { + "type": "long" + } + } + }, + "top": { + "dynamic": "false", + "properties": { + "filename": { + "ignore_above": 1024, + "type": "keyword" + }, + "function": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "line": { + "type": "long" + } + } + }, + "wall": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "registry": { + "properties": { + "data": { + "properties": { + "bytes": { + "ignore_above": 1024, + "type": "keyword" + }, + "strings": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hive": { + "ignore_above": 1024, + "type": "keyword" + }, + "key": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "value": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "related": { + "properties": { + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "hosts": { + "ignore_above": 1024, + "type": "keyword" + }, + "ip": { + "type": "ip" + }, + "user": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "rule": { + "properties": { + "author": { + "ignore_above": 1024, + "type": "keyword" + }, + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "license": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "ruleset": { + "ignore_above": 1024, + "type": "keyword" + }, + "uuid": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "server": { + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "service": { + "dynamic": "false", + "properties": { + "environment": { + "ignore_above": 1024, + "type": "keyword" + }, + "ephemeral_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "framework": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "language": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "node": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "runtime": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "state": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "session": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "sequence": { + "type": "long" + } + } + }, + "source": { + "dynamic": "false", + "properties": { + "address": { + "ignore_above": 1024, + "type": "keyword" + }, + "as": { + "properties": { + "number": { + "type": "long" + }, + "organization": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "bytes": { + "type": "long" + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "geo": { + "properties": { + "city_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "continent_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "country_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "location": { + "type": "geo_point" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "postal_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_iso_code": { + "ignore_above": 1024, + "type": "keyword" + }, + "region_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "timezone": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "ip": { + "type": "ip" + }, + "mac": { + "ignore_above": 1024, + "type": "keyword" + }, + "nat": { + "properties": { + "ip": { + "type": "ip" + }, + "port": { + "type": "long" + } + } + }, + "packets": { + "type": "long" + }, + "port": { + "type": "long" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "user": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "sourcemap": { + "dynamic": "false", + "properties": { + "bundle_filepath": { + "ignore_above": 1024, + "type": "keyword" + }, + "service": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "span": { + "dynamic": "false", + "properties": { + "action": { + "ignore_above": 1024, + "type": "keyword" + }, + "db": { + "dynamic": "false", + "properties": { + "link": { + "ignore_above": 1024, + "type": "keyword" + }, + "rows_affected": { + "type": "long" + } + } + }, + "destination": { + "dynamic": "false", + "properties": { + "service": { + "dynamic": "false", + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "resource": { + "ignore_above": 1024, + "type": "keyword" + }, + "response_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "duration": { + "properties": { + "us": { + "type": "long" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "message": { + "dynamic": "false", + "properties": { + "age": { + "properties": { + "ms": { + "type": "long" + } + } + }, + "queue": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "self_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "start": { + "properties": { + "us": { + "type": "long" + } + } + }, + "subtype": { + "ignore_above": 1024, + "type": "keyword" + }, + "sync": { + "type": "boolean" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "system": { + "properties": { + "cpu": { + "properties": { + "total": { + "properties": { + "norm": { + "properties": { + "pct": { + "meta": { + "metric_type": "gauge", + "unit": "percent" + }, + "scaling_factor": 1000, + "type": "scaled_float" + } + } + } + } + } + } + }, + "memory": { + "properties": { + "actual": { + "properties": { + "free": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "total": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "process": { + "properties": { + "cgroup": { + "properties": { + "cpu": { + "properties": { + "cfs": { + "properties": { + "period": { + "properties": { + "us": { + "meta": { + "metric_type": "gauge", + "unit": "micros" + }, + "type": "long" + } + } + }, + "quota": { + "properties": { + "us": { + "meta": { + "metric_type": "gauge", + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "stats": { + "properties": { + "periods": { + "meta": { + "metric_type": "counter" + }, + "type": "long" + }, + "throttled": { + "properties": { + "ns": { + "meta": { + "metric_type": "counter", + "unit": "nanos" + }, + "type": "long" + }, + "periods": { + "meta": { + "metric_type": "counter" + }, + "type": "long" + } + } + } + } + } + } + }, + "cpuacct": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "total": { + "properties": { + "ns": { + "meta": { + "metric_type": "counter", + "unit": "nanos" + }, + "type": "long" + } + } + } + } + }, + "memory": { + "properties": { + "mem": { + "properties": { + "limit": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "usage": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + } + } + } + } + } + } + }, + "cpu": { + "properties": { + "total": { + "properties": { + "norm": { + "properties": { + "pct": { + "meta": { + "metric_type": "gauge", + "unit": "percent" + }, + "scaling_factor": 1000, + "type": "scaled_float" + } + } + } + } + } + } + }, + "memory": { + "properties": { + "rss": { + "properties": { + "bytes": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + }, + "size": { + "meta": { + "metric_type": "gauge", + "unit": "byte" + }, + "type": "long" + } + } + } + } + } + } + }, + "tags": { + "ignore_above": 1024, + "type": "keyword" + }, + "threat": { + "properties": { + "framework": { + "ignore_above": 1024, + "type": "keyword" + }, + "tactic": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "technique": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "subtechnique": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + } + } + }, + "timeseries": { + "properties": { + "instance": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "timestamp": { + "properties": { + "us": { + "type": "long" + } + } + }, + "tls": { + "properties": { + "cipher": { + "ignore_above": 1024, + "type": "keyword" + }, + "client": { + "properties": { + "certificate": { + "ignore_above": 1024, + "type": "keyword" + }, + "certificate_chain": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "issuer": { + "ignore_above": 1024, + "type": "keyword" + }, + "ja3": { + "ignore_above": 1024, + "type": "keyword" + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "server_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "ignore_above": 1024, + "type": "keyword" + }, + "supported_ciphers": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "established": { + "type": "boolean" + }, + "next_protocol": { + "ignore_above": 1024, + "type": "keyword" + }, + "resumed": { + "type": "boolean" + }, + "server": { + "properties": { + "certificate": { + "ignore_above": 1024, + "type": "keyword" + }, + "certificate_chain": { + "ignore_above": 1024, + "type": "keyword" + }, + "hash": { + "properties": { + "md5": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha1": { + "ignore_above": 1024, + "type": "keyword" + }, + "sha256": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "issuer": { + "ignore_above": 1024, + "type": "keyword" + }, + "ja3s": { + "ignore_above": 1024, + "type": "keyword" + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "subject": { + "ignore_above": 1024, + "type": "keyword" + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + }, + "version_protocol": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "trace": { + "dynamic": "false", + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "transaction": { + "dynamic": "false", + "properties": { + "breakdown": { + "properties": { + "count": { + "type": "long" + } + } + }, + "duration": { + "properties": { + "count": { + "type": "long" + }, + "histogram": { + "type": "histogram" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + }, + "us": { + "type": "long" + } + } + }, + "experience": { + "properties": { + "cls": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "fid": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "longtask": { + "properties": { + "count": { + "type": "long" + }, + "max": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "sum": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + }, + "tbt": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "marks": { + "dynamic": "true", + "properties": { + "*": { + "properties": { + "*": { + "dynamic": "true", + "type": "object" + } + } + }, + "agent": { + "properties": { + "domComplete": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "domInteractive": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "timeToFirstByte": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + }, + "navigationTiming": { + "properties": { + "connectEnd": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "connectStart": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "domComplete": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "domContentLoadedEventEnd": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "domContentLoadedEventStart": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "domInteractive": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "domLoading": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "domainLookupEnd": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "domainLookupStart": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "fetchStart": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "loadEventEnd": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "loadEventStart": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "requestStart": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "responseEnd": { + "scaling_factor": 1000000, + "type": "scaled_float" + }, + "responseStart": { + "scaling_factor": 1000000, + "type": "scaled_float" + } + } + } + } + }, + "message": { + "dynamic": "false", + "properties": { + "age": { + "properties": { + "ms": { + "type": "long" + } + } + }, + "queue": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "result": { + "ignore_above": 1024, + "type": "keyword" + }, + "root": { + "type": "boolean" + }, + "sampled": { + "type": "boolean" + }, + "self_time": { + "properties": { + "count": { + "type": "long" + }, + "sum": { + "properties": { + "us": { + "meta": { + "unit": "micros" + }, + "type": "long" + } + } + } + } + }, + "span_count": { + "properties": { + "dropped": { + "type": "long" + } + } + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "url": { + "dynamic": "false", + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "extension": { + "ignore_above": 1024, + "type": "keyword" + }, + "fragment": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "password": { + "ignore_above": 1024, + "type": "keyword" + }, + "path": { + "ignore_above": 1024, + "type": "keyword" + }, + "port": { + "type": "long" + }, + "query": { + "ignore_above": 1024, + "type": "keyword" + }, + "registered_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "scheme": { + "ignore_above": 1024, + "type": "keyword" + }, + "subdomain": { + "ignore_above": 1024, + "type": "keyword" + }, + "top_level_domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "username": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "user": { + "dynamic": "false", + "properties": { + "changes": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "effective": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + }, + "target": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "email": { + "ignore_above": 1024, + "type": "keyword" + }, + "full_name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "group": { + "properties": { + "domain": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "hash": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "roles": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "user_agent": { + "dynamic": "false", + "properties": { + "device": { + "properties": { + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "original": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "os": { + "properties": { + "family": { + "ignore_above": 1024, + "type": "keyword" + }, + "full": { + "ignore_above": 1024, + "type": "keyword" + }, + "kernel": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "platform": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vlan": { + "properties": { + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "vulnerability": { + "properties": { + "category": { + "ignore_above": 1024, + "type": "keyword" + }, + "classification": { + "ignore_above": 1024, + "type": "keyword" + }, + "description": { + "fields": { + "text": { + "norms": false, + "type": "text" + } + }, + "ignore_above": 1024, + "type": "keyword" + }, + "enumeration": { + "ignore_above": 1024, + "type": "keyword" + }, + "id": { + "ignore_above": 1024, + "type": "keyword" + }, + "reference": { + "ignore_above": 1024, + "type": "keyword" + }, + "report_id": { + "ignore_above": 1024, + "type": "keyword" + }, + "scanner": { + "properties": { + "vendor": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "score": { + "properties": { + "base": { + "type": "float" + }, + "environmental": { + "type": "float" + }, + "temporal": { + "type": "float" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "severity": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "x509": { + "properties": { + "alternative_names": { + "ignore_above": 1024, + "type": "keyword" + }, + "issuer": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "not_after": { + "type": "date" + }, + "not_before": { + "type": "date" + }, + "public_key_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_curve": { + "ignore_above": 1024, + "type": "keyword" + }, + "public_key_exponent": { + "index": false, + "type": "long" + }, + "public_key_size": { + "type": "long" + }, + "serial_number": { + "ignore_above": 1024, + "type": "keyword" + }, + "signature_algorithm": { + "ignore_above": 1024, + "type": "keyword" + }, + "subject": { + "properties": { + "common_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "country": { + "ignore_above": 1024, + "type": "keyword" + }, + "distinguished_name": { + "ignore_above": 1024, + "type": "keyword" + }, + "locality": { + "ignore_above": 1024, + "type": "keyword" + }, + "organization": { + "ignore_above": 1024, + "type": "keyword" + }, + "organizational_unit": { + "ignore_above": 1024, + "type": "keyword" + }, + "state_or_province": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "version_number": { + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, + "settings": { + "index": { + "auto_expand_replicas": "0-1", + "blocks": { + "read_only_allow_delete": "false" + }, + "codec": "best_compression", + "lifecycle": { + "name": "apm-rollover-30-days", + "rollover_alias": "apm-7.14.0-transaction" + }, + "mapping": { + "total_fields": { + "limit": "2000" + } + }, + "max_docvalue_fields_search": "200", + "number_of_replicas": "1", + "number_of_shards": "1", + "priority": "100", + "refresh_interval": "5s" + } + } + } +} \ No newline at end of file diff --git a/x-pack/test/apm_api_integration/common/registry.ts b/x-pack/test/apm_api_integration/common/registry.ts index a37cd26f1fc3c..78c5bcb383c93 100644 --- a/x-pack/test/apm_api_integration/common/registry.ts +++ b/x-pack/test/apm_api_integration/common/registry.ts @@ -15,6 +15,7 @@ import { FtrProviderContext } from './ftr_provider_context'; type ArchiveName = | 'apm_8.0.0' + | 'apm_8.0.0_empty' | '8.0.0' | 'metrics_8.0.0' | 'ml_8.0.0' diff --git a/x-pack/test/apm_api_integration/common/trace_data.ts b/x-pack/test/apm_api_integration/common/trace_data.ts new file mode 100644 index 0000000000000..9c96d3fa1e0b0 --- /dev/null +++ b/x-pack/test/apm_api_integration/common/trace_data.ts @@ -0,0 +1,65 @@ +/* + * 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 { + getSpanDestinationMetrics, + getTransactionMetrics, + toElasticsearchOutput, +} from '@elastic/apm-generator'; +import { chunk } from 'lodash'; +import pLimit from 'p-limit'; +import { inspect } from 'util'; +import { InheritedFtrProviderContext } from './ftr_provider_context'; + +export async function traceData(context: InheritedFtrProviderContext) { + const es = context.getService('es'); + return { + index: (events: any[]) => { + const esEvents = toElasticsearchOutput( + events.concat(getTransactionMetrics(events)).concat(getSpanDestinationMetrics(events)), + '7.14.0' + ); + + const batches = chunk(esEvents, 1000); + const limiter = pLimit(1); + + return Promise.all( + batches.map((batch) => + limiter(() => { + return es.bulk({ + body: batch.flatMap(({ _index, _source }) => [{ index: { _index } }, _source]), + require_alias: true, + refresh: true, + }); + }) + ) + ).then((results) => { + const errors = results + .flatMap((result) => result.body.items) + .filter((item) => !!item.index?.error) + .map((item) => item.index?.error); + + if (errors.length) { + // eslint-disable-next-line no-console + console.log(inspect(errors.slice(0, 10), { depth: null })); + throw new Error('Failed to upload some events'); + } + return results; + }); + }, + clean: () => { + return es.deleteByQuery({ + index: 'apm-*', + body: { + query: { + match_all: {}, + }, + }, + }); + }, + }; +} diff --git a/x-pack/test/apm_api_integration/tests/index.ts b/x-pack/test/apm_api_integration/tests/index.ts index d402a74287f98..efe159b36e3d3 100644 --- a/x-pack/test/apm_api_integration/tests/index.ts +++ b/x-pack/test/apm_api_integration/tests/index.ts @@ -37,6 +37,10 @@ export default function apmApiIntegrationTests(providerContext: FtrProviderConte loadTestFile(require.resolve('./correlations/latency')); }); + describe('metadata/event_metadata', function () { + loadTestFile(require.resolve('./metadata/event_metadata')); + }); + describe('metrics_charts/metrics_charts', function () { loadTestFile(require.resolve('./metrics_charts/metrics_charts')); }); diff --git a/x-pack/test/apm_api_integration/tests/metadata/event_metadata.ts b/x-pack/test/apm_api_integration/tests/metadata/event_metadata.ts new file mode 100644 index 0000000000000..d979f0bad1ec6 --- /dev/null +++ b/x-pack/test/apm_api_integration/tests/metadata/event_metadata.ts @@ -0,0 +1,129 @@ +/* + * 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 expect from '@kbn/expect'; +import { PROCESSOR_EVENT } from '../../../../plugins/apm/common/elasticsearch_fieldnames'; +import { ProcessorEvent } from '../../../../plugins/apm/common/processor_event'; +import { FtrProviderContext } from '../../common/ftr_provider_context'; +import { registry } from '../../common/registry'; + +export default function ApiTest({ getService }: FtrProviderContext) { + const apmApiClient = getService('apmApiClient'); + const esClient = getService('es'); + + async function getLastDocId(processorEvent: ProcessorEvent) { + const response = await esClient.search<{ + [key: string]: { id: string }; + }>({ + index: ['apm-*'], + body: { + query: { + bool: { + filter: [{ term: { [PROCESSOR_EVENT]: processorEvent } }], + }, + }, + size: 1, + sort: { + '@timestamp': 'desc', + }, + }, + }); + + return response.body.hits.hits[0]._source![processorEvent].id; + } + + registry.when('Event metadata', { config: 'basic', archives: ['apm_8.0.0'] }, () => { + it('fetches transaction metadata', async () => { + const id = await getLastDocId(ProcessorEvent.transaction); + + const { body } = await apmApiClient.readUser({ + endpoint: 'GET /api/apm/event_metadata/{processorEvent}/{id}', + params: { + path: { + processorEvent: ProcessorEvent.transaction, + id, + }, + }, + }); + + expect(body).keys('metadata').ok(); + + expect( + Object.keys(body.metadata).filter((key) => { + return Array.isArray(body.metadata[key]); + }) + ); + + expect(body.metadata).keys( + '@timestamp', + 'agent.name', + 'transaction.name', + 'transaction.type', + 'service.name' + ); + }); + + it('fetches error metadata', async () => { + const id = await getLastDocId(ProcessorEvent.error); + + const { body } = await apmApiClient.readUser({ + endpoint: 'GET /api/apm/event_metadata/{processorEvent}/{id}', + params: { + path: { + processorEvent: ProcessorEvent.error, + id, + }, + }, + }); + + expect(body).keys('metadata').ok(); + + expect( + Object.keys(body.metadata).filter((key) => { + return Array.isArray(body.metadata[key]); + }) + ); + + expect(body.metadata).keys( + '@timestamp', + 'agent.name', + 'error.grouping_key', + 'error.grouping_name', + 'service.name' + ); + }); + + it('fetches span metadata', async () => { + const id = await getLastDocId(ProcessorEvent.span); + + const { body } = await apmApiClient.readUser({ + endpoint: 'GET /api/apm/event_metadata/{processorEvent}/{id}', + params: { + path: { + processorEvent: ProcessorEvent.span, + id, + }, + }, + }); + + expect(body).keys('metadata').ok(); + + expect( + Object.keys(body.metadata).filter((key) => { + return Array.isArray(body.metadata[key]); + }) + ); + + expect(body.metadata).keys( + '@timestamp', + 'agent.name', + 'span.name', + 'span.type', + 'service.name' + ); + }); + }); +} diff --git a/x-pack/test/apm_api_integration/tests/services/throughput.ts b/x-pack/test/apm_api_integration/tests/services/throughput.ts index 03815c9947e9a..53c7efe28a6b5 100644 --- a/x-pack/test/apm_api_integration/tests/services/throughput.ts +++ b/x-pack/test/apm_api_integration/tests/services/throughput.ts @@ -5,11 +5,14 @@ * 2.0. */ +import { service, timerange } from '@elastic/apm-generator'; import expect from '@kbn/expect'; -import { first, last, mean } from 'lodash'; +import { first, last, mean, uniq } from 'lodash'; import moment from 'moment'; +import { ENVIRONMENT_ALL } from '../../../../plugins/apm/common/environment_filter_values'; import { isFiniteNumber } from '../../../../plugins/apm/common/utils/is_finite_number'; import { APIReturnType } from '../../../../plugins/apm/public/services/rest/createCallApmApi'; +import { PromiseReturnType } from '../../../../plugins/observability/typings/common'; import archives_metadata from '../../common/fixtures/es_archiver/archives_metadata'; import { FtrProviderContext } from '../../common/ftr_provider_context'; import { registry } from '../../common/registry'; @@ -18,10 +21,148 @@ type ThroughputReturn = APIReturnType<'GET /api/apm/services/{serviceName}/throu export default function ApiTest({ getService }: FtrProviderContext) { const apmApiClient = getService('apmApiClient'); + const traceData = getService('traceData'); const archiveName = 'apm_8.0.0'; const metadata = archives_metadata[archiveName]; + registry.when( + 'Throughput with statically generated data', + { config: 'basic', archives: ['apm_8.0.0_empty'] }, + () => { + const start = new Date('2021-01-01T00:00:00.000Z').getTime(); + const end = new Date('2021-01-01T00:15:00.000Z').getTime() - 1; + + const GO_PROD_RATE = 10; + const GO_DEV_RATE = 5; + const JAVA_PROD_RATE = 20; + + before(async () => { + const serviceGoProdInstance = service('synth-go', 'production', 'go').instance( + 'instance-a' + ); + const serviceGoDevInstance = service('synth-go', 'development', 'go').instance( + 'instance-b' + ); + const serviceJavaInstance = service('synth-java', 'production', 'java').instance( + 'instance-c' + ); + + await traceData.index([ + ...timerange(start, end) + .interval('1s') + .rate(GO_PROD_RATE) + .flatMap((timestamp) => + serviceGoProdInstance + .transaction('GET /api/product/list') + .duration(1000) + .timestamp(timestamp) + .serialize() + ), + ...timerange(start, end) + .interval('1s') + .rate(GO_DEV_RATE) + .flatMap((timestamp) => + serviceGoDevInstance + .transaction('GET /api/product/:id') + .duration(1000) + .timestamp(timestamp) + .serialize() + ), + ...timerange(start, end) + .interval('1s') + .rate(JAVA_PROD_RATE) + .flatMap((timestamp) => + serviceJavaInstance + .transaction('POST /api/product/buy') + .duration(1000) + .timestamp(timestamp) + .serialize() + ), + ]); + }); + + after(() => traceData.clean()); + + async function callApi(overrides?: { + start?: string; + end?: string; + transactionType?: string; + environment?: string; + kuery?: string; + }) { + const response = await apmApiClient.readUser({ + endpoint: 'GET /api/apm/services/{serviceName}/throughput', + params: { + path: { + serviceName: 'synth-go', + }, + query: { + start: new Date(start).toISOString(), + end: new Date(end).toISOString(), + transactionType: 'request', + environment: 'production', + kuery: 'processor.event:transaction', + ...overrides, + }, + }, + }); + + return response.body; + } + + describe('when calling it with the default parameters', () => { + let body: PromiseReturnType<typeof callApi>; + + before(async () => { + body = await callApi(); + }); + + it('returns the throughput in seconds', () => { + expect(body.throughputUnit).to.eql('second'); + }); + + it('returns the expected throughput', () => { + const throughputValues = uniq(body.currentPeriod.map((coord) => coord.y)); + expect(throughputValues).to.eql([GO_PROD_RATE]); + }); + }); + + describe('when setting environment to all', () => { + let body: PromiseReturnType<typeof callApi>; + + before(async () => { + body = await callApi({ + environment: ENVIRONMENT_ALL.value, + }); + }); + + it('returns data for all environments', () => { + const throughputValues = body.currentPeriod.map(({ y }) => y); + expect(uniq(throughputValues)).to.eql([GO_PROD_RATE + GO_DEV_RATE]); + expect(body.throughputUnit).to.eql('second'); + }); + }); + + describe('when defining a kuery', () => { + let body: PromiseReturnType<typeof callApi>; + + before(async () => { + body = await callApi({ + kuery: `processor.event:transaction and transaction.name:"GET /api/product/:id"`, + environment: ENVIRONMENT_ALL.value, + }); + }); + + it('returns data that matches the kuery', () => { + const throughputValues = body.currentPeriod.map(({ y }) => y); + expect(uniq(throughputValues)).to.eql([GO_DEV_RATE]); + expect(body.throughputUnit).to.eql('second'); + }); + }); + } + ); + registry.when('Throughput when data is not loaded', { config: 'basic', archives: [] }, () => { it('handles the empty state', async () => { const response = await apmApiClient.readUser({ diff --git a/x-pack/test/banners_functional/config.ts b/x-pack/test/banners_functional/config.ts index c9acff91aecd1..03f91dfbc34e2 100644 --- a/x-pack/test/banners_functional/config.ts +++ b/x-pack/test/banners_functional/config.ts @@ -32,7 +32,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { ...kibanaFunctionalConfig.get('kbnTestServer'), serverArgs: [ ...kibanaFunctionalConfig.get('kbnTestServer.serverArgs'), - '--xpack.banners.placement=header', + '--xpack.banners.placement=top', '--xpack.banners.textContent="global banner text"', ], }, diff --git a/x-pack/test/case_api_integration/common/config.ts b/x-pack/test/case_api_integration/common/config.ts index 514b54982ee42..e6fda129eaa16 100644 --- a/x-pack/test/case_api_integration/common/config.ts +++ b/x-pack/test/case_api_integration/common/config.ts @@ -140,7 +140,7 @@ export function createTestConfig(name: string, options: CreateTestConfigOptions) (pluginDir) => `--plugin-path=${path.resolve(__dirname, 'fixtures', 'plugins', pluginDir)}` ), - `--server.xsrf.whitelist=${JSON.stringify(getAllExternalServiceSimulatorPaths())}`, + `--server.xsrf.allowlist=${JSON.stringify(getAllExternalServiceSimulatorPaths())}`, ...(ssl ? [ `--elasticsearch.hosts=${servers.elasticsearch.protocol}://${servers.elasticsearch.hostname}:${servers.elasticsearch.port}`, diff --git a/x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/migrations.ts b/x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/migrations.ts index af8bf464c198d..a489b403354b7 100644 --- a/x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/migrations.ts +++ b/x-pack/test/case_api_integration/security_and_spaces/tests/common/cases/migrations.ts @@ -12,6 +12,8 @@ import { SECURITY_SOLUTION_OWNER, } from '../../../../../../plugins/cases/common/constants'; import { getCase, getCaseSavedObjectsFromES, resolveCase } from '../../../../common/lib/utils'; +import { superUser } from '../../../../common/lib/authentication/users'; +import { AttributesTypeUser } from '../../../../../../plugins/cases/common'; // eslint-disable-next-line import/no-default-export export default function createGetTests({ getService }: FtrProviderContext) { @@ -278,5 +280,58 @@ export default function createGetTests({ getService }: FtrProviderContext) { }); }); }); + + describe('8.0 id migration', () => { + describe('awesome space', () => { + before(async () => { + await esArchiver.load('x-pack/test/functional/es_archives/cases/migrations/7.16.0_space'); + }); + + after(async () => { + await esArchiver.unload( + 'x-pack/test/functional/es_archives/cases/migrations/7.16.0_space' + ); + }); + + describe('resolve', () => { + const auth = { user: superUser, space: 'awesome-space' }; + + it('should return aliasMatch outcome', async () => { + const { outcome } = await resolveCase({ + supertest, + caseId: 'a97a13b0-22f3-11ec-9f3b-fbc97859d7ed', + auth, + }); + + expect(outcome).to.be('aliasMatch'); + }); + + it('should preserve the same case info', async () => { + const { case: theCase } = await resolveCase({ + supertest, + caseId: 'a97a13b0-22f3-11ec-9f3b-fbc97859d7ed', + auth, + }); + + expect(theCase.title).to.be('Case name'); + expect(theCase.description).to.be('a description'); + expect(theCase.owner).to.be(SECURITY_SOLUTION_OWNER); + }); + + it('should preserve the comment', async () => { + const { case: theCase } = await resolveCase({ + supertest, + caseId: 'a97a13b0-22f3-11ec-9f3b-fbc97859d7ed', + auth, + includeComments: true, + }); + + const comment = theCase.comments![0] as AttributesTypeUser; + expect(comment.comment).to.be('a comment'); + expect(comment.owner).to.be(SECURITY_SOLUTION_OWNER); + }); + }); + }); + }); }); } diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/index.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/index.ts index 41a3d084e084e..b4bd74172920b 100644 --- a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/index.ts +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/index.ts @@ -49,6 +49,7 @@ export default ({ loadTestFile }: FtrProviderContext): void => { loadTestFile(require.resolve('./runtime')); loadTestFile(require.resolve('./throttle')); loadTestFile(require.resolve('./ignore_fields')); + loadTestFile(require.resolve('./migrations')); }); // That split here enable us on using a different ciGroup to run the tests diff --git a/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/migrations.ts b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/migrations.ts new file mode 100644 index 0000000000000..d25fb5bfa5899 --- /dev/null +++ b/x-pack/test/detection_engine_api_integration/security_and_spaces/tests/migrations.ts @@ -0,0 +1,70 @@ +/* + * 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 expect from '@kbn/expect'; +import { FtrProviderContext } from '../../common/ftr_provider_context'; + +// eslint-disable-next-line import/no-default-export +export default ({ getService }: FtrProviderContext): void => { + const esArchiver = getService('esArchiver'); + const es = getService('es'); + + describe('migrations', () => { + before(async () => { + await esArchiver.load('x-pack/test/functional/es_archives/security_solution/migrations'); + }); + + after(async () => { + await esArchiver.unload('x-pack/test/functional/es_archives/security_solution/migrations'); + }); + + describe('7.16.0', () => { + it('migrates legacy siem-detection-engine-rule-actions to use saved object references', async () => { + const response = await es.get<{ + 'siem-detection-engine-rule-actions': { + ruleAlertId: string; + actions: [{ id: string; actionRef: string }]; + }; + references: [{}]; + }>({ + index: '.kibana', + id: 'siem-detection-engine-rule-actions:fce024a0-0452-11ec-9b15-d13d79d162f3', + }); + expect(response.statusCode).to.eql(200); + + // references exist and are expected values + expect(response.body._source?.references).to.eql([ + { + name: 'alert_0', + id: 'fb1046a0-0452-11ec-9b15-d13d79d162f3', + type: 'alert', + }, + { + name: 'action_0', + id: 'f6e64c00-0452-11ec-9b15-d13d79d162f3', + type: 'action', + }, + ]); + + // actionRef exists and is the expected value + expect( + response.body._source?.['siem-detection-engine-rule-actions'].actions[0].actionRef + ).to.eql('action_0'); + + // ruleAlertId no longer exist + expect(response.body._source?.['siem-detection-engine-rule-actions'].ruleAlertId).to.eql( + undefined + ); + + // actions.id no longer exist + expect(response.body._source?.['siem-detection-engine-rule-actions'].actions[0].id).to.eql( + undefined + ); + }); + }); + }); +}; diff --git a/x-pack/test/fleet_api_integration/apis/epm/__snapshots__/install_by_upload.snap b/x-pack/test/fleet_api_integration/apis/epm/__snapshots__/install_by_upload.snap index 8f9428d8a12db..8e06e62385315 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/__snapshots__/install_by_upload.snap +++ b/x-pack/test/fleet_api_integration/apis/epm/__snapshots__/install_by_upload.snap @@ -276,6 +276,7 @@ Object { "type": "image/svg+xml", }, ], + "keepPoliciesUpToDate": false, "license": "basic", "name": "apache", "owner": Object { @@ -449,6 +450,7 @@ Object { }, ], "internal": false, + "keep_policies_up_to_date": false, "name": "apache", "package_assets": Array [ Object { diff --git a/x-pack/test/fleet_api_integration/apis/epm/install_overrides.ts b/x-pack/test/fleet_api_integration/apis/epm/install_overrides.ts index 856122ff2ce22..34917528560bd 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/install_overrides.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/install_overrides.ts @@ -121,14 +121,7 @@ export default function (providerContext: FtrProviderContext) { lifecycle: { name: 'overridden by user', }, - mapping: { - total_fields: { - limit: '10000', - }, - }, - number_of_routing_shards: 30, number_of_shards: '3', - refresh_interval: '5s', }, }, mappings: { diff --git a/x-pack/test/fleet_api_integration/apis/epm/install_remove_assets.ts b/x-pack/test/fleet_api_integration/apis/epm/install_remove_assets.ts index 348b4bef59b30..e57899531e939 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/install_remove_assets.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/install_remove_assets.ts @@ -618,6 +618,7 @@ const expectAssetsInstalled = ({ install_status: 'installed', install_started_at: res.attributes.install_started_at, install_source: 'registry', + keep_policies_up_to_date: false, }); }); }; diff --git a/x-pack/test/fleet_api_integration/apis/epm/update_assets.ts b/x-pack/test/fleet_api_integration/apis/epm/update_assets.ts index 390be9bf6ea19..a8ccb5e301d5b 100644 --- a/x-pack/test/fleet_api_integration/apis/epm/update_assets.ts +++ b/x-pack/test/fleet_api_integration/apis/epm/update_assets.ts @@ -220,17 +220,9 @@ export default function (providerContext: FtrProviderContext) { index: { lifecycle: { name: 'reference2' }, codec: 'best_compression', - mapping: { - total_fields: { - limit: '10000', - }, - }, - number_of_routing_shards: '30', - number_of_shards: '1', query: { default_field: ['logs_test_name', 'new_field_name'], }, - refresh_interval: '5s', }, }); const resUserSettings = await es.transport.request({ @@ -432,6 +424,7 @@ export default function (providerContext: FtrProviderContext) { install_status: 'installed', install_started_at: res.attributes.install_started_at, install_source: 'registry', + keep_policies_up_to_date: false, }); }); }); diff --git a/x-pack/test/fleet_api_integration/apis/fixtures/test_packages/package_policy_upgrade/0.2.5-non-breaking-change/data_stream/test_stream/agent/stream/stream.yml.hbs b/x-pack/test/fleet_api_integration/apis/fixtures/test_packages/package_policy_upgrade/0.2.5-non-breaking-change/data_stream/test_stream/agent/stream/stream.yml.hbs new file mode 100644 index 0000000000000..2870385f21f95 --- /dev/null +++ b/x-pack/test/fleet_api_integration/apis/fixtures/test_packages/package_policy_upgrade/0.2.5-non-breaking-change/data_stream/test_stream/agent/stream/stream.yml.hbs @@ -0,0 +1 @@ +config.version: "2" diff --git a/x-pack/test/fleet_api_integration/apis/fixtures/test_packages/package_policy_upgrade/0.2.5-non-breaking-change/data_stream/test_stream/fields/fields.yml b/x-pack/test/fleet_api_integration/apis/fixtures/test_packages/package_policy_upgrade/0.2.5-non-breaking-change/data_stream/test_stream/fields/fields.yml new file mode 100644 index 0000000000000..6e003ed0ad147 --- /dev/null +++ b/x-pack/test/fleet_api_integration/apis/fixtures/test_packages/package_policy_upgrade/0.2.5-non-breaking-change/data_stream/test_stream/fields/fields.yml @@ -0,0 +1,16 @@ +- name: data_stream.type + type: constant_keyword + description: > + Data stream type. +- name: data_stream.dataset + type: constant_keyword + description: > + Data stream dataset. +- name: data_stream.namespace + type: constant_keyword + description: > + Data stream namespace. +- name: '@timestamp' + type: date + description: > + Event timestamp. diff --git a/x-pack/test/fleet_api_integration/apis/fixtures/test_packages/package_policy_upgrade/0.2.5-non-breaking-change/data_stream/test_stream/manifest.yml b/x-pack/test/fleet_api_integration/apis/fixtures/test_packages/package_policy_upgrade/0.2.5-non-breaking-change/data_stream/test_stream/manifest.yml new file mode 100644 index 0000000000000..95b72f0122aec --- /dev/null +++ b/x-pack/test/fleet_api_integration/apis/fixtures/test_packages/package_policy_upgrade/0.2.5-non-breaking-change/data_stream/test_stream/manifest.yml @@ -0,0 +1,15 @@ +title: Test stream +type: logs +streams: + - input: test_input + vars: + - name: test_var + type: text + title: Test Var + show_user: true + default: Test Value + - name: test_var_2 + type: text + title: Test Var 2 + show_user: true + default: Test Value 2 diff --git a/x-pack/test/fleet_api_integration/apis/fixtures/test_packages/package_policy_upgrade/0.2.5-non-breaking-change/docs/README.md b/x-pack/test/fleet_api_integration/apis/fixtures/test_packages/package_policy_upgrade/0.2.5-non-breaking-change/docs/README.md new file mode 100644 index 0000000000000..0b9b18421c9dc --- /dev/null +++ b/x-pack/test/fleet_api_integration/apis/fixtures/test_packages/package_policy_upgrade/0.2.5-non-breaking-change/docs/README.md @@ -0,0 +1,3 @@ +# Test package + +This is a test package for testing automated upgrades for package policies diff --git a/x-pack/test/fleet_api_integration/apis/fixtures/test_packages/package_policy_upgrade/0.2.5-non-breaking-change/manifest.yml b/x-pack/test/fleet_api_integration/apis/fixtures/test_packages/package_policy_upgrade/0.2.5-non-breaking-change/manifest.yml new file mode 100644 index 0000000000000..2105ee451ffae --- /dev/null +++ b/x-pack/test/fleet_api_integration/apis/fixtures/test_packages/package_policy_upgrade/0.2.5-non-breaking-change/manifest.yml @@ -0,0 +1,23 @@ +format_version: 1.0.0 +name: package_policy_upgrade +title: Tests package policy upgrades +description: This is a test package for upgrading package policies +version: 0.2.5-non-breaking-change +categories: [] +release: beta +type: integration +license: basic +requirement: + elasticsearch: + versions: '>7.7.0' + kibana: + versions: '>7.7.0' +policy_templates: + - name: package_policy_upgrade + title: Package Policy Upgrade + description: Test Package for Upgrading Package Policies + inputs: + - type: test_input + title: Test Input + description: Test Input + enabled: true diff --git a/x-pack/test/fleet_api_integration/apis/package_policy/upgrade.ts b/x-pack/test/fleet_api_integration/apis/package_policy/upgrade.ts index 3a7d6f5d6b19e..0be2d7d0a7468 100644 --- a/x-pack/test/fleet_api_integration/apis/package_policy/upgrade.ts +++ b/x-pack/test/fleet_api_integration/apis/package_policy/upgrade.ts @@ -162,6 +162,122 @@ export default function (providerContext: FtrProviderContext) { }); }); + describe('when upgrading to a version with no breaking changes', function () { + withTestPackageVersion('0.2.5-non-breaking-change'); + + beforeEach(async function () { + const { body: agentPolicyResponse } = await supertest + .post(`/api/fleet/agent_policies`) + .set('kbn-xsrf', 'xxxx') + .send({ + name: 'Test policy', + namespace: 'default', + }) + .expect(200); + + agentPolicyId = agentPolicyResponse.item.id; + + const { body: packagePolicyResponse } = await supertest + .post(`/api/fleet/package_policies`) + .set('kbn-xsrf', 'xxxx') + .send({ + name: 'package_policy_upgrade_1', + description: '', + namespace: 'default', + policy_id: agentPolicyId, + enabled: true, + output_id: '', + inputs: [ + { + policy_template: 'package_policy_upgrade', + type: 'test_input', + enabled: true, + streams: [ + { + id: 'test-package_policy_upgrade-xxxx', + enabled: true, + data_stream: { + type: 'test_stream', + dataset: 'package_policy_upgrade.test_stream', + }, + vars: { + test_var: { + value: 'My custom test value', + }, + }, + }, + ], + }, + ], + package: { + name: 'package_policy_upgrade', + title: 'This is a test package for upgrading package policies', + version: '0.2.0-add-non-required-test-var', + }, + }) + .expect(200); + + packagePolicyId = packagePolicyResponse.item.id; + }); + + afterEach(async function () { + await supertest + .post(`/api/fleet/package_policies/delete`) + .set('kbn-xsrf', 'xxxx') + .send({ packagePolicyIds: [packagePolicyId] }) + .expect(200); + + await supertest + .post('/api/fleet/agent_policies/delete') + .set('kbn-xsrf', 'xxxx') + .send({ agentPolicyId }) + .expect(200); + }); + + describe('dry run', function () { + it('returns a valid diff', async function () { + const { body }: { body: UpgradePackagePolicyDryRunResponse } = await supertest + .post(`/api/fleet/package_policies/upgrade`) + .set('kbn-xsrf', 'xxxx') + .send({ + packagePolicyIds: [packagePolicyId], + dryRun: true, + }) + .expect(200); + + expect(body.length).to.be(1); + expect(body[0].diff?.length).to.be(2); + expect(body[0].hasErrors).to.be(false); + + const [currentPackagePolicy, proposedPackagePolicy] = body[0].diff ?? []; + + expect(currentPackagePolicy?.package?.version).to.be('0.2.0-add-non-required-test-var'); + expect(proposedPackagePolicy?.package?.version).to.be('0.2.5-non-breaking-change'); + + const testInput = proposedPackagePolicy?.inputs.find(({ type }) => type === 'test_input'); + const testStream = testInput?.streams[0]; + + expect(testStream?.vars?.test_var.value).to.be('My custom test value'); + }); + }); + + describe('upgrade', function () { + it('successfully upgrades package policy', async function () { + const { body }: { body: UpgradePackagePolicyResponse } = await supertest + .post(`/api/fleet/package_policies/upgrade`) + .set('kbn-xsrf', 'xxxx') + .send({ + packagePolicyIds: [packagePolicyId], + dryRun: false, + }) + .expect(200); + + expect(body.length).to.be(1); + expect(body[0].success).to.be(true); + }); + }); + }); + describe('when upgrading to a version where a non-required variable has been added', function () { withTestPackageVersion('0.2.0-add-non-required-test-var'); diff --git a/x-pack/test/functional/apps/discover/feature_controls/discover_spaces.ts b/x-pack/test/functional/apps/discover/feature_controls/discover_spaces.ts index c245b45917497..936dd49255205 100644 --- a/x-pack/test/functional/apps/discover/feature_controls/discover_spaces.ts +++ b/x-pack/test/functional/apps/discover/feature_controls/discover_spaces.ts @@ -28,12 +28,14 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { await PageObjects.timePicker.setDefaultAbsoluteRange(); } - describe('spaces', () => { + // Failing: See https://github.com/elastic/kibana/issues/113067 + describe.skip('spaces', () => { before(async () => { await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/logstash_functional'); }); - describe('space with no features disabled', () => { + // FLAKY: https://github.com/elastic/kibana/issues/60559 + describe.skip('space with no features disabled', () => { before(async () => { // we need to load the following in every situation as deleting // a space deletes all of the associated saved objects diff --git a/x-pack/test/functional/apps/discover/saved_searches.ts b/x-pack/test/functional/apps/discover/saved_searches.ts index 1d8de9fe9fb6d..16deecde2b0ba 100644 --- a/x-pack/test/functional/apps/discover/saved_searches.ts +++ b/x-pack/test/functional/apps/discover/saved_searches.ts @@ -16,16 +16,32 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const dataGrid = getService('dataGrid'); const panelActions = getService('dashboardPanelActions'); const panelActionsTimeRange = getService('dashboardPanelTimeRange'); + const queryBar = getService('queryBar'); + const filterBar = getService('filterBar'); const ecommerceSOPath = 'x-pack/test/functional/fixtures/kbn_archiver/reporting/ecommerce.json'; + const defaultSettings = { + defaultIndex: 'logstash-*', + 'doc_table:legacy': false, + }; - describe('Discover Saved Searches', () => { + const setTimeRange = async () => { + const fromTime = 'Apr 27, 2019 @ 23:56:51.374'; + const toTime = 'Aug 23, 2019 @ 16:18:51.821'; + await PageObjects.timePicker.setAbsoluteRange(fromTime, toTime); + }; + + // Failing: See https://github.com/elastic/kibana/issues/104578 + describe.skip('Discover Saved Searches', () => { before('initialize tests', async () => { await esArchiver.load('x-pack/test/functional/es_archives/reporting/ecommerce'); + await kibanaServer.importExport.load('test/functional/fixtures/kbn_archiver/discover'); await kibanaServer.importExport.load(ecommerceSOPath); - await kibanaServer.uiSettings.update({ 'doc_table:legacy': false }); + await kibanaServer.uiSettings.update(defaultSettings); }); + after('clean up archives', async () => { await esArchiver.unload('x-pack/test/functional/es_archives/reporting/ecommerce'); + await kibanaServer.importExport.unload('test/functional/fixtures/kbn_archiver/discover'); await kibanaServer.importExport.unload(ecommerceSOPath); await kibanaServer.uiSettings.unset('doc_table:legacy'); }); @@ -34,9 +50,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should be possible to customize time range for saved searches on dashboards', async () => { await PageObjects.common.navigateToApp('dashboard'); await PageObjects.dashboard.clickNewDashboard(); - const fromTime = 'Apr 27, 2019 @ 23:56:51.374'; - const toTime = 'Aug 23, 2019 @ 16:18:51.821'; - await PageObjects.timePicker.setAbsoluteRange(fromTime, toTime); + await setTimeRange(); await dashboardAddPanel.clickOpenAddPanel(); await dashboardAddPanel.addSavedSearch('Ecommerce Data'); expect(await dataGrid.getDocCount()).to.be(500); @@ -49,5 +63,35 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { expect(await dataGrid.hasNoResults()).to.be(true); }); }); + + it(`should unselect saved search when navigating to a 'new'`, async function () { + await PageObjects.common.navigateToApp('discover'); + await PageObjects.discover.selectIndexPattern('ecommerce'); + await setTimeRange(); + await filterBar.addFilter('category', 'is', `Men's Shoes`); + await queryBar.setQuery('customer_gender:MALE'); + + await PageObjects.discover.saveSearch('test-unselect-saved-search'); + + await queryBar.submitQuery(); + + expect(await filterBar.hasFilter('category', `Men's Shoes`)).to.be(true); + expect(await queryBar.getQueryString()).to.eql('customer_gender:MALE'); + + await PageObjects.discover.clickNewSearchButton(); + + expect(await filterBar.hasFilter('category', `Men's Shoes`)).to.be(false); + expect(await queryBar.getQueryString()).to.eql(''); + + await PageObjects.discover.selectIndexPattern('logstash-*'); + + expect(await filterBar.hasFilter('category', `Men's Shoes`)).to.be(false); + expect(await queryBar.getQueryString()).to.eql(''); + + await PageObjects.discover.selectIndexPattern('ecommerce'); + + expect(await filterBar.hasFilter('category', `Men's Shoes`)).to.be(false); + expect(await queryBar.getQueryString()).to.eql(''); + }); }); } diff --git a/x-pack/test/functional/apps/infra/feature_controls/infrastructure_security.ts b/x-pack/test/functional/apps/infra/feature_controls/infrastructure_security.ts index 0118cfdafc2b3..65b9019f556fd 100644 --- a/x-pack/test/functional/apps/infra/feature_controls/infrastructure_security.ts +++ b/x-pack/test/functional/apps/infra/feature_controls/infrastructure_security.ts @@ -66,13 +66,12 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { }); describe('infrastructure landing page without data', () => { - it(`shows 'Change source configuration' button`, async () => { + it('shows no data page', async () => { await PageObjects.common.navigateToUrlWithBrowserHistory('infraOps', '', undefined, { ensureCurrentUrl: true, shouldLoginIfPrompted: false, }); - await testSubjects.existOrFail('~infrastructureViewSetupInstructionsButton'); - await testSubjects.existOrFail('~configureSourceButton'); + await testSubjects.existOrFail('~noDataPage'); }); it(`doesn't show read-only badge`, async () => { @@ -164,13 +163,12 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { }); describe('infrastructure landing page without data', () => { - it(`doesn't show 'Change source configuration' button`, async () => { + it('shows No data page', async () => { await PageObjects.common.navigateToUrlWithBrowserHistory('infraOps', '', undefined, { ensureCurrentUrl: true, shouldLoginIfPrompted: false, }); - await testSubjects.existOrFail('~infrastructureViewSetupInstructionsButton'); - await testSubjects.missingOrFail('~configureSourceButton'); + await testSubjects.existOrFail('~noDataPage'); }); it(`shows read-only badge`, async () => { diff --git a/x-pack/test/functional/apps/infra/feature_controls/infrastructure_spaces.ts b/x-pack/test/functional/apps/infra/feature_controls/infrastructure_spaces.ts index 94886a89002b2..545eb08223693 100644 --- a/x-pack/test/functional/apps/infra/feature_controls/infrastructure_spaces.ts +++ b/x-pack/test/functional/apps/infra/feature_controls/infrastructure_spaces.ts @@ -51,7 +51,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { await PageObjects.common.navigateToApp('infraOps', { basePath: '/s/custom_space', }); - await testSubjects.existOrFail('~noMetricsIndicesPrompt'); + await testSubjects.existOrFail('~noDataPage'); }); }); @@ -118,7 +118,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { await PageObjects.common.navigateToApp('infraOps', { basePath: '/s/custom_space', }); - await testSubjects.existOrFail('~noMetricsIndicesPrompt'); + await testSubjects.existOrFail('~noDataPage'); }); }); @@ -143,7 +143,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { await PageObjects.common.navigateToApp('infraOps', { basePath: '/s/custom_space', }); - await testSubjects.existOrFail('~noMetricsIndicesPrompt'); + await testSubjects.existOrFail('~noDataPage'); }); }); }); diff --git a/x-pack/test/functional/apps/infra/feature_controls/logs_security.ts b/x-pack/test/functional/apps/infra/feature_controls/logs_security.ts index d5e22af657d6a..d120a6c582c7b 100644 --- a/x-pack/test/functional/apps/infra/feature_controls/logs_security.ts +++ b/x-pack/test/functional/apps/infra/feature_controls/logs_security.ts @@ -63,14 +63,13 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { }); describe('logs landing page without data', () => { - it(`shows 'Change source configuration' button`, async () => { + it(`shows the 'No data' page`, async () => { await PageObjects.common.navigateToUrlWithBrowserHistory('infraLogs', '', undefined, { ensureCurrentUrl: true, shouldLoginIfPrompted: false, }); await testSubjects.existOrFail('~infraLogsPage'); - await testSubjects.existOrFail('~logsViewSetupInstructionsButton'); - await testSubjects.existOrFail('~configureSourceButton'); + await testSubjects.existOrFail('~noDataPage'); }); it(`doesn't show read-only badge`, async () => { @@ -126,14 +125,13 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { }); describe('logs landing page without data', () => { - it(`doesn't show 'Change source configuration' button`, async () => { + it(`Shows the 'No data' page`, async () => { await PageObjects.common.navigateToUrlWithBrowserHistory('infraLogs', '', undefined, { ensureCurrentUrl: true, shouldLoginIfPrompted: false, }); await testSubjects.existOrFail('~infraLogsPage'); - await testSubjects.existOrFail('~logsViewSetupInstructionsButton'); - await testSubjects.missingOrFail('~configureSourceButton'); + await testSubjects.existOrFail('~noDataPage'); }); it(`shows read-only badge`, async () => { diff --git a/x-pack/test/functional/apps/infra/feature_controls/logs_spaces.ts b/x-pack/test/functional/apps/infra/feature_controls/logs_spaces.ts index a67d7d1858af3..9c5e5667cf39c 100644 --- a/x-pack/test/functional/apps/infra/feature_controls/logs_spaces.ts +++ b/x-pack/test/functional/apps/infra/feature_controls/logs_spaces.ts @@ -43,15 +43,14 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { }); describe('logs landing page without data', () => { - it(`shows 'Change source configuration' button`, async () => { + it(`shows 'No data' page`, async () => { await PageObjects.common.navigateToUrlWithBrowserHistory('infraLogs', '', undefined, { basePath: '/s/custom_space', ensureCurrentUrl: true, shouldLoginIfPrompted: false, }); await testSubjects.existOrFail('~infraLogsPage'); - await testSubjects.existOrFail('~logsViewSetupInstructionsButton'); - await testSubjects.existOrFail('~configureSourceButton'); + await testSubjects.existOrFail('~noDataPage'); }); }); }); diff --git a/x-pack/test/functional/apps/infra/log_entry_categories_tab.ts b/x-pack/test/functional/apps/infra/log_entry_categories_tab.ts index 33133e6306efe..11587845aae9c 100644 --- a/x-pack/test/functional/apps/infra/log_entry_categories_tab.ts +++ b/x-pack/test/functional/apps/infra/log_entry_categories_tab.ts @@ -10,6 +10,7 @@ import expect from '@kbn/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; export default ({ getService }: FtrProviderContext) => { + const esArchiver = getService('esArchiver'); const logsUi = getService('logsUi'); const retry = getService('retry'); @@ -17,12 +18,22 @@ export default ({ getService }: FtrProviderContext) => { this.tags('includeFirefox'); describe('with a trial license', () => { - it('is visible', async () => { + it('Shows no data page when indices do not exist', async () => { + await logsUi.logEntryCategoriesPage.navigateTo(); + + await retry.try(async () => { + expect(await logsUi.logEntryCategoriesPage.getNoDataScreen()).to.be.ok(); + }); + }); + + it('shows setup page when indices exist', async () => { + await esArchiver.load('x-pack/test/functional/es_archives/infra/simple_logs'); await logsUi.logEntryCategoriesPage.navigateTo(); await retry.try(async () => { expect(await logsUi.logEntryCategoriesPage.getSetupScreen()).to.be.ok(); }); + await esArchiver.unload('x-pack/test/functional/es_archives/infra/simple_logs'); }); }); }); diff --git a/x-pack/test/functional/apps/infra/log_entry_rate_tab.ts b/x-pack/test/functional/apps/infra/log_entry_rate_tab.ts index 1635824529749..632b1e6917ca0 100644 --- a/x-pack/test/functional/apps/infra/log_entry_rate_tab.ts +++ b/x-pack/test/functional/apps/infra/log_entry_rate_tab.ts @@ -12,17 +12,28 @@ import { FtrProviderContext } from '../../ftr_provider_context'; export default ({ getService }: FtrProviderContext) => { const logsUi = getService('logsUi'); const retry = getService('retry'); + const esArchiver = getService('esArchiver'); describe('Log Entry Rate Tab', function () { this.tags('includeFirefox'); describe('with a trial license', () => { - it('is visible', async () => { + it('Shows no data page when indices do not exist', async () => { + await logsUi.logEntryRatePage.navigateTo(); + + await retry.try(async () => { + expect(await logsUi.logEntryRatePage.getNoDataScreen()).to.be.ok(); + }); + }); + + it('shows setup page when indices exist', async () => { + await esArchiver.load('x-pack/test/functional/es_archives/infra/simple_logs'); await logsUi.logEntryRatePage.navigateTo(); await retry.try(async () => { expect(await logsUi.logEntryRatePage.getSetupScreen()).to.be.ok(); }); + await esArchiver.unload('x-pack/test/functional/es_archives/infra/simple_logs'); }); }); }); diff --git a/x-pack/test/functional/apps/infra/logs_source_configuration.ts b/x-pack/test/functional/apps/infra/logs_source_configuration.ts index b84109637885c..dcbe30864640b 100644 --- a/x-pack/test/functional/apps/infra/logs_source_configuration.ts +++ b/x-pack/test/functional/apps/infra/logs_source_configuration.ts @@ -60,7 +60,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { await logsUi.logStreamPage.navigateTo(); await retry.try(async () => { - await logsUi.logStreamPage.getNoLogsIndicesPrompt(); + await logsUi.logStreamPage.getNoDataPage(); }); }); diff --git a/x-pack/test/functional/apps/ingest_pipelines/feature_controls/ingest_pipelines_security.ts b/x-pack/test/functional/apps/ingest_pipelines/feature_controls/ingest_pipelines_security.ts index aed73d6c9858d..1f89ea8c635a6 100644 --- a/x-pack/test/functional/apps/ingest_pipelines/feature_controls/ingest_pipelines_security.ts +++ b/x-pack/test/functional/apps/ingest_pipelines/feature_controls/ingest_pipelines_security.ts @@ -60,7 +60,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { it('should render the "Ingest" section with ingest pipelines', async () => { await PageObjects.common.navigateToApp('management'); const sections = await managementMenu.getSections(); - // We gave the ingest node pipelines user access to advanced settings to allow them to use ingest node pipelines. + // We gave the ingest pipelines user access to advanced settings to allow them to use ingest pipelines. // See https://github.com/elastic/kibana/pull/102409/ expect(sections).to.have.length(2); expect(sections[0]).to.eql({ diff --git a/x-pack/test/functional/apps/ingest_pipelines/ingest_pipelines.ts b/x-pack/test/functional/apps/ingest_pipelines/ingest_pipelines.ts index 17b4fef06f5ce..026cea52e8102 100644 --- a/x-pack/test/functional/apps/ingest_pipelines/ingest_pipelines.ts +++ b/x-pack/test/functional/apps/ingest_pipelines/ingest_pipelines.ts @@ -29,10 +29,10 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { }); it('Loads the app', async () => { - log.debug('Checking for section heading to say Ingest Node Pipelines.'); + log.debug('Checking for section heading to say Ingest Pipelines.'); const headingText = await pageObjects.ingestPipelines.sectionHeadingText(); - expect(headingText).to.be('Ingest Node Pipelines'); + expect(headingText).to.be('Ingest Pipelines'); }); it('Creates a pipeline', async () => { diff --git a/x-pack/test/functional/apps/lens/heatmap.ts b/x-pack/test/functional/apps/lens/heatmap.ts index ddc4130d388ce..deca06b6b351a 100644 --- a/x-pack/test/functional/apps/lens/heatmap.ts +++ b/x-pack/test/functional/apps/lens/heatmap.ts @@ -13,8 +13,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const elasticChart = getService('elasticChart'); const testSubjects = getService('testSubjects'); - // FLAKY: https://github.com/elastic/kibana/issues/113043 - describe.skip('lens heatmap', () => { + describe('lens heatmap', () => { before(async () => { await PageObjects.visualize.navigateToNewVisualization(); await PageObjects.visualize.clickVisType('lens'); @@ -74,8 +73,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.lens.openPalettePanel('lnsHeatmap'); await testSubjects.setValue('lnsPalettePanel_dynamicColoring_stop_value_0', '10', { clearWithKeyboard: true, + typeCharByChar: true, }); - await PageObjects.header.waitUntilLoadingHasFinished(); + await PageObjects.lens.waitForVisualization(); const debugState = await PageObjects.lens.getCurrentChartDebugState(); diff --git a/x-pack/test/functional/apps/maps/saved_object_management.js b/x-pack/test/functional/apps/maps/saved_object_management.js index 3392e418bd987..01e3e64c7172d 100644 --- a/x-pack/test/functional/apps/maps/saved_object_management.js +++ b/x-pack/test/functional/apps/maps/saved_object_management.js @@ -120,7 +120,7 @@ export default function ({ getPageObjects, getService }) { const currentUrl = await browser.getCurrentUrl(); const appState = currentUrl.substring(currentUrl.indexOf('_a=')); expect(appState).to.equal( - '_a=(filters:!((%27$state%27:(store:appState),meta:(alias:!n,disabled:!f,index:c698b940-e149-11e8-a35a-370a8516603a,key:machine.os.raw,negate:!f,params:(query:ios),type:phrase),query:(match:(machine.os.raw:(query:ios,type:phrase))))),query:(language:kuery,query:%27%27))' + '_a=(filters:!((%27$state%27:(store:appState),meta:(alias:!n,disabled:!f,index:c698b940-e149-11e8-a35a-370a8516603a,key:machine.os.raw,negate:!f,params:(query:ios),type:phrase),query:(match_phrase:(machine.os.raw:(query:ios))))),query:(language:kuery,query:%27%27))' ); }); diff --git a/x-pack/test/functional/apps/visualize/reporting.ts b/x-pack/test/functional/apps/visualize/reporting.ts index f08d242f4024f..efffa0b6a692b 100644 --- a/x-pack/test/functional/apps/visualize/reporting.ts +++ b/x-pack/test/functional/apps/visualize/reporting.ts @@ -25,7 +25,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { 'visEditor', ]); - describe('Visualize Reporting Screenshots', () => { + // Failing: See https://github.com/elastic/kibana/issues/113496 + describe.skip('Visualize Reporting Screenshots', () => { before('initialize tests', async () => { log.debug('ReportingPage:initTests'); await esArchiver.loadIfNeeded('x-pack/test/functional/es_archives/reporting/ecommerce'); diff --git a/x-pack/test/functional/es_archives/cases/migrations/7.16.0_space/data.json.gz b/x-pack/test/functional/es_archives/cases/migrations/7.16.0_space/data.json.gz new file mode 100644 index 0000000000000..d3d3a07b72e36 Binary files /dev/null and b/x-pack/test/functional/es_archives/cases/migrations/7.16.0_space/data.json.gz differ diff --git a/x-pack/test/functional/es_archives/cases/migrations/7.16.0_space/mappings.json b/x-pack/test/functional/es_archives/cases/migrations/7.16.0_space/mappings.json new file mode 100644 index 0000000000000..51fe50218b1f5 --- /dev/null +++ b/x-pack/test/functional/es_archives/cases/migrations/7.16.0_space/mappings.json @@ -0,0 +1,3082 @@ +{ + "type": "index", + "value": { + "aliases": { + ".kibana": { + }, + ".kibana_7.16.0": { + } + }, + "index": ".kibana_1", + "mappings": { + "_meta": { + "migrationMappingPropertyHashes": { + "action": "38c91d092e0790ecd9ebe58e82145280", + "action_task_params": "0b7bac797714726291526b250c582806", + "alert": "4373936518133d7f118940e0441bbf40", + "api_key_pending_invalidation": "16f515278a295f6245149ad7c5ddedb7", + "apm-indices": "9bb9b2bf1fa636ed8619cbab5ce6a1dd", + "apm-server-schema": "b1d71908f324c17bf744ac72af5038fb", + "apm-telemetry": "3d1b76c39bfb2cc8296b024d73854724", + "app_search_telemetry": "3d1b76c39bfb2cc8296b024d73854724", + "application_usage_daily": "43b8830d5d0df85a6823d290885fc9fd", + "application_usage_totals": "3d1b76c39bfb2cc8296b024d73854724", + "application_usage_transactional": "3d1b76c39bfb2cc8296b024d73854724", + "canvas-element": "7390014e1091044523666d97247392fc", + "canvas-workpad": "b0a1706d356228dbdcb4a17e6b9eb231", + "canvas-workpad-template": "ae2673f678281e2c055d764b153e9715", + "cases": "14ea5de2161bee825d8b91674c1299c1", + "cases-comments": "fce468d3d08e577b67af2e958e1f9e97", + "cases-configure": "623baf529acc106213ba8f730d41ec7f", + "cases-connector-mappings": "17d2e9e0e170a21a471285a5d845353c", + "cases-user-actions": "25035423b7ceb4d4f1124c441d3f6529", + "config": "c63748b75f39d0c54de12d12c1ccbc20", + "core-usage-stats": "3d1b76c39bfb2cc8296b024d73854724", + "coreMigrationVersion": "2f4316de49999235636386fe51dc06c1", + "dashboard": "40554caf09725935e2c02e02563a2d07", + "endpoint:user-artifact": "4a11183eee21e6fbad864f7a30b39ad0", + "endpoint:user-artifact-manifest": "a0d7b04ad405eed54d76e279c3727862", + "enterprise_search_telemetry": "3d1b76c39bfb2cc8296b024d73854724", + "epm-packages": "0cbbb16506734d341a96aaed65ec6413", + "epm-packages-assets": "44621b2f6052ef966da47b7c3a00f33b", + "event_loop_delays_daily": "5df7e292ddd5028e07c1482e130e6654", + "exception-list": "baf108c9934dda844921f692a513adae", + "exception-list-agnostic": "baf108c9934dda844921f692a513adae", + "file-upload-usage-collection-telemetry": "a34fbb8e3263d105044869264860c697", + "fleet-agent-actions": "9511b565b1cc6441a42033db3d5de8e9", + "fleet-agents": "59fd74f819f028f8555776db198d2562", + "fleet-enrollment-api-keys": "a69ef7ae661dab31561d6c6f052ef2a7", + "fleet-preconfiguration-deletion-record": "4c36f199189a367e43541f236141204c", + "graph-workspace": "27a94b2edcb0610c6aea54a7c56d7752", + "index-pattern": "45915a1ad866812242df474eb0479052", + "infrastructure-ui-source": "3d1b76c39bfb2cc8296b024d73854724", + "ingest-agent-policies": "01a9d8dffb4d5d4a3392fe016c106861", + "ingest-outputs": "76cab7340339033b2da24947303933ac", + "ingest-package-policies": "4525de5ba9d036d8322ecfba3bca93f8", + "ingest_manager_settings": "f159646d76ab261bfbf8ef504d9631e4", + "inventory-view": "3d1b76c39bfb2cc8296b024d73854724", + "kql-telemetry": "d12a98a6f19a2d273696597547e064ee", + "legacy-url-alias": "e8dd3b6056ad7e1de32523f457310ecb", + "lens": "52346cfec69ff7b47d5f0c12361a2797", + "lens-ui-telemetry": "509bfa5978586998e05f9e303c07a327", + "map": "9134b47593116d7953f6adba096fc463", + "maps-telemetry": "5ef305b18111b77789afefbd36b66171", + "metrics-explorer-view": "3d1b76c39bfb2cc8296b024d73854724", + "migrationVersion": "4a1746014a75ade3a714e1db5763276f", + "ml-job": "3bb64c31915acf93fc724af137a0891b", + "ml-module": "46ef4f0d6682636f0fff9799d6a2d7ac", + "monitoring-telemetry": "2669d5ec15e82391cf58df4294ee9c68", + "namespace": "2f4316de49999235636386fe51dc06c1", + "namespaces": "2f4316de49999235636386fe51dc06c1", + "originId": "2f4316de49999235636386fe51dc06c1", + "osquery-manager-usage-metric": "4dc4f647d27247c002f56f22742175fe", + "osquery-saved-query": "6bb1cf319f0fd2984010592ca1ee588e", + "query": "11aaeb7f5f7fa5bb43f25e18ce26e7d9", + "references": "7997cf5a56cc02bdc9c93361bde732b0", + "sample-data-telemetry": "7d3cfeb915303c9641c59681967ffeb4", + "search": "db2c00e39b36f40930a3b9fc71c823e1", + "search-session": "c768de003a1212f3d9e51176d118f255", + "search-telemetry": "3d1b76c39bfb2cc8296b024d73854724", + "security-rule": "8ae39a88fc70af3375b7050e8d8d5cc7", + "security-solution-signals-migration": "72761fd374ca11122ac8025a92b84fca", + "siem-detection-engine-rule-actions": "6569b288c169539db10cb262bf79de18", + "siem-detection-engine-rule-status": "ae783f41c6937db6b7a2ef5c93a9e9b0", + "siem-ui-timeline": "0f4cc81427182c41cebd7d9c640ec253", + "siem-ui-timeline-note": "28393dfdeb4e4413393eb5f7ec8c5436", + "siem-ui-timeline-pinned-event": "293fce142548281599060e07ad2c9ddb", + "space": "c5ca8acafa0beaa4d08d014a97b6bc6b", + "spaces-usage-stats": "3d1b76c39bfb2cc8296b024d73854724", + "tag": "83d55da58f6530f7055415717ec06474", + "telemetry": "36a616f7026dfa617d6655df850fe16d", + "type": "2f4316de49999235636386fe51dc06c1", + "ui-counter": "0d409297dc5ebe1e3a1da691c6ee32e3", + "ui-metric": "0d409297dc5ebe1e3a1da691c6ee32e3", + "updated_at": "00da57df13e94e9d98437d13ace4bfe0", + "upgrade-assistant-ml-upgrade-operation": "ece1011519ca8fd057364605744d75ac", + "upgrade-assistant-reindex-operation": "215107c281839ea9b3ad5f6419819763", + "upgrade-assistant-telemetry": "5849358e7d10b6947849f2e55a1607fc", + "uptime-dynamic-settings": "3d1b76c39bfb2cc8296b024d73854724", + "url": "dde920c35ebae1bf43731d19f7b2194d", + "usage-counters": "8cc260bdceffec4ffc3ad165c97dc1b4", + "visualization": "f819cf6636b75c9e76ba733a0c6ef355", + "workplace_search_telemetry": "3d1b76c39bfb2cc8296b024d73854724" + } + }, + "dynamic": "strict", + "properties": { + "action": { + "properties": { + "actionTypeId": { + "type": "keyword" + }, + "config": { + "enabled": false, + "type": "object" + }, + "isMissingSecrets": { + "type": "boolean" + }, + "name": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "secrets": { + "type": "binary" + } + } + }, + "action_task_params": { + "properties": { + "actionId": { + "type": "keyword" + }, + "apiKey": { + "type": "binary" + }, + "params": { + "enabled": false, + "type": "object" + }, + "relatedSavedObjects": { + "enabled": false, + "type": "object" + } + } + }, + "alert": { + "properties": { + "actions": { + "properties": { + "actionRef": { + "type": "keyword" + }, + "actionTypeId": { + "type": "keyword" + }, + "group": { + "type": "keyword" + }, + "params": { + "enabled": false, + "type": "object" + } + }, + "type": "nested" + }, + "alertTypeId": { + "type": "keyword" + }, + "apiKey": { + "type": "binary" + }, + "apiKeyOwner": { + "type": "keyword" + }, + "consumer": { + "type": "keyword" + }, + "createdAt": { + "type": "date" + }, + "createdBy": { + "type": "keyword" + }, + "enabled": { + "type": "boolean" + }, + "executionStatus": { + "properties": { + "error": { + "properties": { + "message": { + "type": "keyword" + }, + "reason": { + "type": "keyword" + } + } + }, + "lastExecutionDate": { + "type": "date" + }, + "status": { + "type": "keyword" + } + } + }, + "legacyId": { + "type": "keyword" + }, + "meta": { + "properties": { + "versionApiKeyLastmodified": { + "type": "keyword" + } + } + }, + "muteAll": { + "type": "boolean" + }, + "mutedInstanceIds": { + "type": "keyword" + }, + "name": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "notifyWhen": { + "type": "keyword" + }, + "params": { + "ignore_above": 4096, + "type": "flattened" + }, + "schedule": { + "properties": { + "interval": { + "type": "keyword" + } + } + }, + "scheduledTaskId": { + "type": "keyword" + }, + "tags": { + "type": "keyword" + }, + "throttle": { + "type": "keyword" + }, + "updatedAt": { + "type": "date" + }, + "updatedBy": { + "type": "keyword" + } + } + }, + "api_key_pending_invalidation": { + "properties": { + "apiKeyId": { + "type": "keyword" + }, + "createdAt": { + "type": "date" + } + } + }, + "apm-indices": { + "properties": { + "apm_oss": { + "properties": { + "errorIndices": { + "type": "keyword" + }, + "metricsIndices": { + "type": "keyword" + }, + "onboardingIndices": { + "type": "keyword" + }, + "sourcemapIndices": { + "type": "keyword" + }, + "spanIndices": { + "type": "keyword" + }, + "transactionIndices": { + "type": "keyword" + } + } + } + } + }, + "apm-server-schema": { + "properties": { + "schemaJson": { + "index": false, + "type": "text" + } + } + }, + "apm-telemetry": { + "dynamic": "false", + "type": "object" + }, + "app_search_telemetry": { + "dynamic": "false", + "type": "object" + }, + "application_usage_daily": { + "dynamic": "false", + "properties": { + "timestamp": { + "type": "date" + } + } + }, + "application_usage_totals": { + "dynamic": "false", + "type": "object" + }, + "application_usage_transactional": { + "dynamic": "false", + "type": "object" + }, + "canvas-element": { + "dynamic": "false", + "properties": { + "@created": { + "type": "date" + }, + "@timestamp": { + "type": "date" + }, + "content": { + "type": "text" + }, + "help": { + "type": "text" + }, + "image": { + "type": "text" + }, + "name": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + } + } + }, + "canvas-workpad": { + "dynamic": "false", + "properties": { + "@created": { + "type": "date" + }, + "@timestamp": { + "type": "date" + }, + "name": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + } + } + }, + "canvas-workpad-template": { + "dynamic": "false", + "properties": { + "help": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "name": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "tags": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "template_key": { + "type": "keyword" + } + } + }, + "cases": { + "properties": { + "closed_at": { + "type": "date" + }, + "closed_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + }, + "connector": { + "properties": { + "fields": { + "properties": { + "key": { + "type": "text" + }, + "value": { + "type": "text" + } + } + }, + "name": { + "type": "text" + }, + "type": { + "type": "keyword" + } + } + }, + "created_at": { + "type": "date" + }, + "created_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + }, + "description": { + "type": "text" + }, + "external_service": { + "properties": { + "connector_name": { + "type": "keyword" + }, + "external_id": { + "type": "keyword" + }, + "external_title": { + "type": "text" + }, + "external_url": { + "type": "text" + }, + "pushed_at": { + "type": "date" + }, + "pushed_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + } + } + }, + "owner": { + "type": "keyword" + }, + "settings": { + "properties": { + "syncAlerts": { + "type": "boolean" + } + } + }, + "status": { + "type": "keyword" + }, + "tags": { + "type": "keyword" + }, + "title": { + "type": "text" + }, + "type": { + "type": "keyword" + }, + "updated_at": { + "type": "date" + }, + "updated_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + } + } + }, + "cases-comments": { + "properties": { + "actions": { + "properties": { + "targets": { + "properties": { + "endpointId": { + "type": "keyword" + }, + "hostname": { + "type": "keyword" + } + }, + "type": "nested" + }, + "type": { + "type": "keyword" + } + } + }, + "alertId": { + "type": "keyword" + }, + "associationType": { + "type": "keyword" + }, + "comment": { + "type": "text" + }, + "created_at": { + "type": "date" + }, + "created_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + }, + "index": { + "type": "keyword" + }, + "owner": { + "type": "keyword" + }, + "pushed_at": { + "type": "date" + }, + "pushed_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + }, + "rule": { + "properties": { + "id": { + "type": "keyword" + }, + "name": { + "type": "keyword" + } + } + }, + "type": { + "type": "keyword" + }, + "updated_at": { + "type": "date" + }, + "updated_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + } + } + }, + "cases-configure": { + "properties": { + "closure_type": { + "type": "keyword" + }, + "connector": { + "properties": { + "fields": { + "properties": { + "key": { + "type": "text" + }, + "value": { + "type": "text" + } + } + }, + "name": { + "type": "text" + }, + "type": { + "type": "keyword" + } + } + }, + "created_at": { + "type": "date" + }, + "created_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + }, + "owner": { + "type": "keyword" + }, + "updated_at": { + "type": "date" + }, + "updated_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + } + } + }, + "cases-connector-mappings": { + "properties": { + "mappings": { + "properties": { + "action_type": { + "type": "keyword" + }, + "source": { + "type": "keyword" + }, + "target": { + "type": "keyword" + } + } + }, + "owner": { + "type": "keyword" + } + } + }, + "cases-user-actions": { + "properties": { + "action": { + "type": "keyword" + }, + "action_at": { + "type": "date" + }, + "action_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + }, + "action_field": { + "type": "keyword" + }, + "new_value": { + "type": "text" + }, + "old_value": { + "type": "text" + }, + "owner": { + "type": "keyword" + } + } + }, + "config": { + "dynamic": "false", + "properties": { + "buildNum": { + "type": "keyword" + } + } + }, + "core-usage-stats": { + "dynamic": "false", + "type": "object" + }, + "coreMigrationVersion": { + "type": "keyword" + }, + "dashboard": { + "properties": { + "description": { + "type": "text" + }, + "hits": { + "doc_values": false, + "index": false, + "type": "integer" + }, + "kibanaSavedObjectMeta": { + "properties": { + "searchSourceJSON": { + "index": false, + "type": "text" + } + } + }, + "optionsJSON": { + "index": false, + "type": "text" + }, + "panelsJSON": { + "index": false, + "type": "text" + }, + "refreshInterval": { + "properties": { + "display": { + "doc_values": false, + "index": false, + "type": "keyword" + }, + "pause": { + "doc_values": false, + "index": false, + "type": "boolean" + }, + "section": { + "doc_values": false, + "index": false, + "type": "integer" + }, + "value": { + "doc_values": false, + "index": false, + "type": "integer" + } + } + }, + "timeFrom": { + "doc_values": false, + "index": false, + "type": "keyword" + }, + "timeRestore": { + "doc_values": false, + "index": false, + "type": "boolean" + }, + "timeTo": { + "doc_values": false, + "index": false, + "type": "keyword" + }, + "title": { + "type": "text" + }, + "version": { + "type": "integer" + } + } + }, + "endpoint:user-artifact": { + "properties": { + "body": { + "type": "binary" + }, + "compressionAlgorithm": { + "index": false, + "type": "keyword" + }, + "created": { + "index": false, + "type": "date" + }, + "decodedSha256": { + "index": false, + "type": "keyword" + }, + "decodedSize": { + "index": false, + "type": "long" + }, + "encodedSha256": { + "type": "keyword" + }, + "encodedSize": { + "index": false, + "type": "long" + }, + "encryptionAlgorithm": { + "index": false, + "type": "keyword" + }, + "identifier": { + "type": "keyword" + } + } + }, + "endpoint:user-artifact-manifest": { + "properties": { + "artifacts": { + "properties": { + "artifactId": { + "index": false, + "type": "keyword" + }, + "policyId": { + "index": false, + "type": "keyword" + } + }, + "type": "nested" + }, + "created": { + "index": false, + "type": "date" + }, + "schemaVersion": { + "type": "keyword" + }, + "semanticVersion": { + "index": false, + "type": "keyword" + } + } + }, + "enterprise_search_telemetry": { + "dynamic": "false", + "type": "object" + }, + "epm-packages": { + "properties": { + "es_index_patterns": { + "enabled": false, + "type": "object" + }, + "install_source": { + "type": "keyword" + }, + "install_started_at": { + "type": "date" + }, + "install_status": { + "type": "keyword" + }, + "install_version": { + "type": "keyword" + }, + "installed_es": { + "properties": { + "id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + }, + "type": "nested" + }, + "installed_kibana": { + "properties": { + "id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + }, + "type": "nested" + }, + "internal": { + "type": "boolean" + }, + "name": { + "type": "keyword" + }, + "package_assets": { + "properties": { + "id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + }, + "type": "nested" + }, + "removable": { + "type": "boolean" + }, + "version": { + "type": "keyword" + } + } + }, + "epm-packages-assets": { + "properties": { + "asset_path": { + "type": "keyword" + }, + "data_base64": { + "type": "binary" + }, + "data_utf8": { + "index": false, + "type": "text" + }, + "install_source": { + "type": "keyword" + }, + "media_type": { + "type": "keyword" + }, + "package_name": { + "type": "keyword" + }, + "package_version": { + "type": "keyword" + } + } + }, + "event_loop_delays_daily": { + "dynamic": "false", + "properties": { + "lastUpdatedAt": { + "type": "date" + } + } + }, + "exception-list": { + "properties": { + "_tags": { + "type": "keyword" + }, + "comments": { + "properties": { + "comment": { + "type": "keyword" + }, + "created_at": { + "type": "keyword" + }, + "created_by": { + "type": "keyword" + }, + "id": { + "type": "keyword" + }, + "updated_at": { + "type": "keyword" + }, + "updated_by": { + "type": "keyword" + } + } + }, + "created_at": { + "type": "keyword" + }, + "created_by": { + "type": "keyword" + }, + "description": { + "type": "keyword" + }, + "entries": { + "properties": { + "entries": { + "properties": { + "field": { + "type": "keyword" + }, + "operator": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "value": { + "fields": { + "text": { + "type": "text" + } + }, + "type": "keyword" + } + } + }, + "field": { + "type": "keyword" + }, + "list": { + "properties": { + "id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + } + }, + "operator": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "value": { + "fields": { + "text": { + "type": "text" + } + }, + "type": "keyword" + } + } + }, + "immutable": { + "type": "boolean" + }, + "item_id": { + "type": "keyword" + }, + "list_id": { + "type": "keyword" + }, + "list_type": { + "type": "keyword" + }, + "meta": { + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "type": "text" + } + }, + "type": "keyword" + }, + "os_types": { + "type": "keyword" + }, + "tags": { + "fields": { + "text": { + "type": "text" + } + }, + "type": "keyword" + }, + "tie_breaker_id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "updated_by": { + "type": "keyword" + }, + "version": { + "type": "keyword" + } + } + }, + "exception-list-agnostic": { + "properties": { + "_tags": { + "type": "keyword" + }, + "comments": { + "properties": { + "comment": { + "type": "keyword" + }, + "created_at": { + "type": "keyword" + }, + "created_by": { + "type": "keyword" + }, + "id": { + "type": "keyword" + }, + "updated_at": { + "type": "keyword" + }, + "updated_by": { + "type": "keyword" + } + } + }, + "created_at": { + "type": "keyword" + }, + "created_by": { + "type": "keyword" + }, + "description": { + "type": "keyword" + }, + "entries": { + "properties": { + "entries": { + "properties": { + "field": { + "type": "keyword" + }, + "operator": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "value": { + "fields": { + "text": { + "type": "text" + } + }, + "type": "keyword" + } + } + }, + "field": { + "type": "keyword" + }, + "list": { + "properties": { + "id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + } + }, + "operator": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "value": { + "fields": { + "text": { + "type": "text" + } + }, + "type": "keyword" + } + } + }, + "immutable": { + "type": "boolean" + }, + "item_id": { + "type": "keyword" + }, + "list_id": { + "type": "keyword" + }, + "list_type": { + "type": "keyword" + }, + "meta": { + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "type": "text" + } + }, + "type": "keyword" + }, + "os_types": { + "type": "keyword" + }, + "tags": { + "fields": { + "text": { + "type": "text" + } + }, + "type": "keyword" + }, + "tie_breaker_id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "updated_by": { + "type": "keyword" + }, + "version": { + "type": "keyword" + } + } + }, + "file-upload-usage-collection-telemetry": { + "properties": { + "file_upload": { + "properties": { + "index_creation_count": { + "type": "long" + } + } + } + } + }, + "fleet-agent-actions": { + "properties": { + "ack_data": { + "type": "text" + }, + "agent_id": { + "type": "keyword" + }, + "created_at": { + "type": "date" + }, + "data": { + "type": "binary" + }, + "policy_id": { + "type": "keyword" + }, + "policy_revision": { + "type": "integer" + }, + "sent_at": { + "type": "date" + }, + "type": { + "type": "keyword" + } + } + }, + "fleet-agents": { + "properties": { + "access_api_key_id": { + "type": "keyword" + }, + "active": { + "type": "boolean" + }, + "current_error_events": { + "index": false, + "type": "text" + }, + "default_api_key": { + "type": "binary" + }, + "default_api_key_id": { + "type": "keyword" + }, + "enrolled_at": { + "type": "date" + }, + "last_checkin": { + "type": "date" + }, + "last_checkin_status": { + "type": "keyword" + }, + "last_updated": { + "type": "date" + }, + "local_metadata": { + "type": "flattened" + }, + "packages": { + "type": "keyword" + }, + "policy_id": { + "type": "keyword" + }, + "policy_revision": { + "type": "integer" + }, + "type": { + "type": "keyword" + }, + "unenrolled_at": { + "type": "date" + }, + "unenrollment_started_at": { + "type": "date" + }, + "updated_at": { + "type": "date" + }, + "upgrade_started_at": { + "type": "date" + }, + "upgraded_at": { + "type": "date" + }, + "user_provided_metadata": { + "type": "flattened" + }, + "version": { + "type": "keyword" + } + } + }, + "fleet-enrollment-api-keys": { + "properties": { + "active": { + "type": "boolean" + }, + "api_key": { + "type": "binary" + }, + "api_key_id": { + "type": "keyword" + }, + "created_at": { + "type": "date" + }, + "expire_at": { + "type": "date" + }, + "name": { + "type": "keyword" + }, + "policy_id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "updated_at": { + "type": "date" + } + } + }, + "fleet-preconfiguration-deletion-record": { + "properties": { + "id": { + "type": "keyword" + } + } + }, + "graph-workspace": { + "properties": { + "description": { + "type": "text" + }, + "kibanaSavedObjectMeta": { + "properties": { + "searchSourceJSON": { + "type": "text" + } + } + }, + "legacyIndexPatternRef": { + "index": false, + "type": "text" + }, + "numLinks": { + "type": "integer" + }, + "numVertices": { + "type": "integer" + }, + "title": { + "type": "text" + }, + "version": { + "type": "integer" + }, + "wsState": { + "type": "text" + } + } + }, + "index-pattern": { + "dynamic": "false", + "properties": { + "title": { + "type": "text" + }, + "type": { + "type": "keyword" + } + } + }, + "infrastructure-ui-source": { + "dynamic": "false", + "type": "object" + }, + "ingest-agent-policies": { + "properties": { + "data_output_id": { + "type": "keyword" + }, + "description": { + "type": "text" + }, + "is_default": { + "type": "boolean" + }, + "is_default_fleet_server": { + "type": "boolean" + }, + "is_managed": { + "type": "boolean" + }, + "is_preconfigured": { + "type": "keyword" + }, + "monitoring_enabled": { + "index": false, + "type": "keyword" + }, + "monitoring_output_id": { + "type": "keyword" + }, + "name": { + "type": "keyword" + }, + "namespace": { + "type": "keyword" + }, + "package_policies": { + "type": "keyword" + }, + "revision": { + "type": "integer" + }, + "status": { + "type": "keyword" + }, + "unenroll_timeout": { + "type": "integer" + }, + "updated_at": { + "type": "date" + }, + "updated_by": { + "type": "keyword" + } + } + }, + "ingest-outputs": { + "properties": { + "ca_sha256": { + "index": false, + "type": "keyword" + }, + "config": { + "type": "flattened" + }, + "config_yaml": { + "type": "text" + }, + "hosts": { + "type": "keyword" + }, + "is_default": { + "type": "boolean" + }, + "is_preconfigured": { + "index": false, + "type": "boolean" + }, + "name": { + "type": "keyword" + }, + "output_id": { + "index": false, + "type": "keyword" + }, + "type": { + "type": "keyword" + } + } + }, + "ingest-package-policies": { + "properties": { + "created_at": { + "type": "date" + }, + "created_by": { + "type": "keyword" + }, + "description": { + "type": "text" + }, + "enabled": { + "type": "boolean" + }, + "inputs": { + "enabled": false, + "properties": { + "compiled_input": { + "type": "flattened" + }, + "config": { + "type": "flattened" + }, + "enabled": { + "type": "boolean" + }, + "policy_template": { + "type": "keyword" + }, + "streams": { + "properties": { + "compiled_stream": { + "type": "flattened" + }, + "config": { + "type": "flattened" + }, + "data_stream": { + "properties": { + "dataset": { + "type": "keyword" + }, + "elasticsearch": { + "properties": { + "privileges": { + "type": "flattened" + } + } + }, + "type": { + "type": "keyword" + } + } + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "keyword" + }, + "vars": { + "type": "flattened" + } + }, + "type": "nested" + }, + "type": { + "type": "keyword" + }, + "vars": { + "type": "flattened" + } + }, + "type": "nested" + }, + "name": { + "type": "keyword" + }, + "namespace": { + "type": "keyword" + }, + "output_id": { + "type": "keyword" + }, + "package": { + "properties": { + "name": { + "type": "keyword" + }, + "title": { + "type": "keyword" + }, + "version": { + "type": "keyword" + } + } + }, + "policy_id": { + "type": "keyword" + }, + "revision": { + "type": "integer" + }, + "updated_at": { + "type": "date" + }, + "updated_by": { + "type": "keyword" + }, + "vars": { + "type": "flattened" + } + } + }, + "ingest_manager_settings": { + "properties": { + "fleet_server_hosts": { + "type": "keyword" + }, + "has_seen_add_data_notice": { + "index": false, + "type": "boolean" + }, + "has_seen_fleet_migration_notice": { + "index": false, + "type": "boolean" + } + } + }, + "inventory-view": { + "dynamic": "false", + "type": "object" + }, + "kql-telemetry": { + "properties": { + "optInCount": { + "type": "long" + }, + "optOutCount": { + "type": "long" + } + } + }, + "legacy-url-alias": { + "dynamic": "false", + "properties": { + "disabled": { + "type": "boolean" + }, + "resolveCounter": { + "type": "long" + }, + "sourceId": { + "type": "keyword" + }, + "targetType": { + "type": "keyword" + } + } + }, + "lens": { + "properties": { + "description": { + "type": "text" + }, + "expression": { + "doc_values": false, + "index": false, + "type": "keyword" + }, + "state": { + "type": "flattened" + }, + "title": { + "type": "text" + }, + "visualizationType": { + "type": "keyword" + } + } + }, + "lens-ui-telemetry": { + "properties": { + "count": { + "type": "integer" + }, + "date": { + "type": "date" + }, + "name": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + } + }, + "map": { + "properties": { + "bounds": { + "dynamic": "false", + "type": "object" + }, + "description": { + "type": "text" + }, + "layerListJSON": { + "type": "text" + }, + "mapStateJSON": { + "type": "text" + }, + "title": { + "type": "text" + }, + "uiStateJSON": { + "type": "text" + }, + "version": { + "type": "integer" + } + } + }, + "maps-telemetry": { + "enabled": false, + "type": "object" + }, + "metrics-explorer-view": { + "dynamic": "false", + "type": "object" + }, + "migrationVersion": { + "dynamic": "true", + "properties": { + "cases": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "cases-comments": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "cases-user-actions": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "config": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "core-usage-stats": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "dashboard": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "epm-packages": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "exception-list-agnostic": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "index-pattern": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "ingest-agent-policies": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "ingest-outputs": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "ingest-package-policies": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "ingest_manager_settings": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "lens": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "search": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "space": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "spaces-usage-stats": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "visualization": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + } + } + }, + "ml-job": { + "properties": { + "datafeed_id": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "job_id": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "type": { + "type": "keyword" + } + } + }, + "ml-module": { + "dynamic": "false", + "properties": { + "datafeeds": { + "type": "object" + }, + "defaultIndexPattern": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "description": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "id": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "jobs": { + "type": "object" + }, + "logo": { + "type": "object" + }, + "query": { + "type": "object" + }, + "title": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "type": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + } + } + }, + "monitoring-telemetry": { + "properties": { + "reportedClusterUuids": { + "type": "keyword" + } + } + }, + "namespace": { + "type": "keyword" + }, + "namespaces": { + "type": "keyword" + }, + "originId": { + "type": "keyword" + }, + "osquery-manager-usage-metric": { + "properties": { + "count": { + "type": "long" + }, + "errors": { + "type": "long" + } + } + }, + "osquery-saved-query": { + "properties": { + "created_at": { + "type": "date" + }, + "created_by": { + "type": "text" + }, + "description": { + "type": "text" + }, + "id": { + "type": "keyword" + }, + "interval": { + "type": "keyword" + }, + "platform": { + "type": "keyword" + }, + "query": { + "type": "text" + }, + "updated_at": { + "type": "date" + }, + "updated_by": { + "type": "text" + }, + "version": { + "type": "keyword" + } + } + }, + "query": { + "properties": { + "description": { + "type": "text" + }, + "filters": { + "enabled": false, + "type": "object" + }, + "query": { + "properties": { + "language": { + "type": "keyword" + }, + "query": { + "index": false, + "type": "keyword" + } + } + }, + "timefilter": { + "enabled": false, + "type": "object" + }, + "title": { + "type": "text" + } + } + }, + "references": { + "properties": { + "id": { + "type": "keyword" + }, + "name": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + }, + "type": "nested" + }, + "sample-data-telemetry": { + "properties": { + "installCount": { + "type": "long" + }, + "unInstallCount": { + "type": "long" + } + } + }, + "search": { + "properties": { + "columns": { + "doc_values": false, + "index": false, + "type": "keyword" + }, + "description": { + "type": "text" + }, + "grid": { + "enabled": false, + "type": "object" + }, + "hideChart": { + "doc_values": false, + "index": false, + "type": "boolean" + }, + "hits": { + "doc_values": false, + "index": false, + "type": "integer" + }, + "kibanaSavedObjectMeta": { + "properties": { + "searchSourceJSON": { + "index": false, + "type": "text" + } + } + }, + "sort": { + "doc_values": false, + "index": false, + "type": "keyword" + }, + "title": { + "type": "text" + }, + "version": { + "type": "integer" + } + } + }, + "search-session": { + "properties": { + "appId": { + "type": "keyword" + }, + "completed": { + "type": "date" + }, + "created": { + "type": "date" + }, + "expires": { + "type": "date" + }, + "idMapping": { + "enabled": false, + "type": "object" + }, + "initialState": { + "enabled": false, + "type": "object" + }, + "name": { + "type": "keyword" + }, + "persisted": { + "type": "boolean" + }, + "realmName": { + "type": "keyword" + }, + "realmType": { + "type": "keyword" + }, + "restoreState": { + "enabled": false, + "type": "object" + }, + "sessionId": { + "type": "keyword" + }, + "status": { + "type": "keyword" + }, + "touched": { + "type": "date" + }, + "urlGeneratorId": { + "type": "keyword" + }, + "username": { + "type": "keyword" + }, + "version": { + "type": "keyword" + } + } + }, + "search-telemetry": { + "dynamic": "false", + "type": "object" + }, + "security-rule": { + "dynamic": "false", + "properties": { + "name": { + "type": "keyword" + }, + "rule_id": { + "type": "keyword" + }, + "version": { + "type": "long" + } + } + }, + "security-solution-signals-migration": { + "properties": { + "created": { + "index": false, + "type": "date" + }, + "createdBy": { + "index": false, + "type": "text" + }, + "destinationIndex": { + "index": false, + "type": "keyword" + }, + "error": { + "index": false, + "type": "text" + }, + "sourceIndex": { + "type": "keyword" + }, + "status": { + "index": false, + "type": "keyword" + }, + "taskId": { + "index": false, + "type": "keyword" + }, + "updated": { + "index": false, + "type": "date" + }, + "updatedBy": { + "index": false, + "type": "text" + }, + "version": { + "type": "long" + } + } + }, + "siem-detection-engine-rule-actions": { + "properties": { + "actions": { + "properties": { + "action_type_id": { + "type": "keyword" + }, + "group": { + "type": "keyword" + }, + "id": { + "type": "keyword" + }, + "params": { + "enabled": false, + "type": "object" + } + } + }, + "alertThrottle": { + "type": "keyword" + }, + "ruleAlertId": { + "type": "keyword" + }, + "ruleThrottle": { + "type": "keyword" + } + } + }, + "siem-detection-engine-rule-status": { + "properties": { + "alertId": { + "type": "keyword" + }, + "bulkCreateTimeDurations": { + "type": "float" + }, + "gap": { + "type": "text" + }, + "lastFailureAt": { + "type": "date" + }, + "lastFailureMessage": { + "type": "text" + }, + "lastLookBackDate": { + "type": "date" + }, + "lastSuccessAt": { + "type": "date" + }, + "lastSuccessMessage": { + "type": "text" + }, + "searchAfterTimeDurations": { + "type": "float" + }, + "status": { + "type": "keyword" + }, + "statusDate": { + "type": "date" + } + } + }, + "siem-ui-timeline": { + "properties": { + "columns": { + "properties": { + "aggregatable": { + "type": "boolean" + }, + "category": { + "type": "keyword" + }, + "columnHeaderType": { + "type": "keyword" + }, + "description": { + "type": "text" + }, + "example": { + "type": "text" + }, + "id": { + "type": "keyword" + }, + "indexes": { + "type": "keyword" + }, + "name": { + "type": "text" + }, + "placeholder": { + "type": "text" + }, + "searchable": { + "type": "boolean" + }, + "type": { + "type": "keyword" + } + } + }, + "created": { + "type": "date" + }, + "createdBy": { + "type": "text" + }, + "dataProviders": { + "properties": { + "and": { + "properties": { + "enabled": { + "type": "boolean" + }, + "excluded": { + "type": "boolean" + }, + "id": { + "type": "keyword" + }, + "kqlQuery": { + "type": "text" + }, + "name": { + "type": "text" + }, + "queryMatch": { + "properties": { + "displayField": { + "type": "text" + }, + "displayValue": { + "type": "text" + }, + "field": { + "type": "text" + }, + "operator": { + "type": "text" + }, + "value": { + "type": "text" + } + } + }, + "type": { + "type": "text" + } + } + }, + "enabled": { + "type": "boolean" + }, + "excluded": { + "type": "boolean" + }, + "id": { + "type": "keyword" + }, + "kqlQuery": { + "type": "text" + }, + "name": { + "type": "text" + }, + "queryMatch": { + "properties": { + "displayField": { + "type": "text" + }, + "displayValue": { + "type": "text" + }, + "field": { + "type": "text" + }, + "operator": { + "type": "text" + }, + "value": { + "type": "text" + } + } + }, + "type": { + "type": "text" + } + } + }, + "dateRange": { + "properties": { + "end": { + "type": "date" + }, + "start": { + "type": "date" + } + } + }, + "description": { + "type": "text" + }, + "eqlOptions": { + "properties": { + "eventCategoryField": { + "type": "text" + }, + "query": { + "type": "text" + }, + "size": { + "type": "text" + }, + "tiebreakerField": { + "type": "text" + }, + "timestampField": { + "type": "text" + } + } + }, + "eventType": { + "type": "keyword" + }, + "excludedRowRendererIds": { + "type": "text" + }, + "favorite": { + "properties": { + "favoriteDate": { + "type": "date" + }, + "fullName": { + "type": "text" + }, + "keySearch": { + "type": "text" + }, + "userName": { + "type": "text" + } + } + }, + "filters": { + "properties": { + "exists": { + "type": "text" + }, + "match_all": { + "type": "text" + }, + "meta": { + "properties": { + "alias": { + "type": "text" + }, + "controlledBy": { + "type": "text" + }, + "disabled": { + "type": "boolean" + }, + "field": { + "type": "text" + }, + "formattedValue": { + "type": "text" + }, + "index": { + "type": "keyword" + }, + "key": { + "type": "keyword" + }, + "negate": { + "type": "boolean" + }, + "params": { + "type": "text" + }, + "type": { + "type": "keyword" + }, + "value": { + "type": "text" + } + } + }, + "missing": { + "type": "text" + }, + "query": { + "type": "text" + }, + "range": { + "type": "text" + }, + "script": { + "type": "text" + } + } + }, + "indexNames": { + "type": "text" + }, + "kqlMode": { + "type": "keyword" + }, + "kqlQuery": { + "properties": { + "filterQuery": { + "properties": { + "kuery": { + "properties": { + "expression": { + "type": "text" + }, + "kind": { + "type": "keyword" + } + } + }, + "serializedQuery": { + "type": "text" + } + } + } + } + }, + "sort": { + "dynamic": "false", + "properties": { + "columnId": { + "type": "keyword" + }, + "columnType": { + "type": "keyword" + }, + "sortDirection": { + "type": "keyword" + } + } + }, + "status": { + "type": "keyword" + }, + "templateTimelineId": { + "type": "text" + }, + "templateTimelineVersion": { + "type": "integer" + }, + "timelineType": { + "type": "keyword" + }, + "title": { + "type": "text" + }, + "updated": { + "type": "date" + }, + "updatedBy": { + "type": "text" + } + } + }, + "siem-ui-timeline-note": { + "properties": { + "created": { + "type": "date" + }, + "createdBy": { + "type": "text" + }, + "eventId": { + "type": "keyword" + }, + "note": { + "type": "text" + }, + "updated": { + "type": "date" + }, + "updatedBy": { + "type": "text" + } + } + }, + "siem-ui-timeline-pinned-event": { + "properties": { + "created": { + "type": "date" + }, + "createdBy": { + "type": "text" + }, + "eventId": { + "type": "keyword" + }, + "updated": { + "type": "date" + }, + "updatedBy": { + "type": "text" + } + } + }, + "space": { + "properties": { + "_reserved": { + "type": "boolean" + }, + "color": { + "type": "keyword" + }, + "description": { + "type": "text" + }, + "disabledFeatures": { + "type": "keyword" + }, + "imageUrl": { + "index": false, + "type": "text" + }, + "initials": { + "type": "keyword" + }, + "name": { + "fields": { + "keyword": { + "ignore_above": 2048, + "type": "keyword" + } + }, + "type": "text" + } + } + }, + "spaces-usage-stats": { + "dynamic": "false", + "type": "object" + }, + "tag": { + "properties": { + "color": { + "type": "text" + }, + "description": { + "type": "text" + }, + "name": { + "type": "text" + } + } + }, + "telemetry": { + "properties": { + "allowChangingOptInStatus": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "lastReported": { + "type": "date" + }, + "lastVersionChecked": { + "type": "keyword" + }, + "reportFailureCount": { + "type": "integer" + }, + "reportFailureVersion": { + "type": "keyword" + }, + "sendUsageFrom": { + "type": "keyword" + }, + "userHasSeenNotice": { + "type": "boolean" + } + } + }, + "type": { + "type": "keyword" + }, + "ui-counter": { + "properties": { + "count": { + "type": "integer" + } + } + }, + "ui-metric": { + "properties": { + "count": { + "type": "integer" + } + } + }, + "updated_at": { + "type": "date" + }, + "upgrade-assistant-ml-upgrade-operation": { + "properties": { + "jobId": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "nodeId": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "snapshotId": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "status": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + } + } + }, + "upgrade-assistant-reindex-operation": { + "properties": { + "errorMessage": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "indexName": { + "type": "keyword" + }, + "lastCompletedStep": { + "type": "long" + }, + "locked": { + "type": "date" + }, + "newIndexName": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "reindexOptions": { + "properties": { + "openAndClose": { + "type": "boolean" + }, + "queueSettings": { + "properties": { + "queuedAt": { + "type": "long" + }, + "startedAt": { + "type": "long" + } + } + } + } + }, + "reindexTaskId": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "reindexTaskPercComplete": { + "type": "float" + }, + "runningReindexCount": { + "type": "integer" + }, + "status": { + "type": "integer" + } + } + }, + "upgrade-assistant-telemetry": { + "properties": { + "features": { + "properties": { + "deprecation_logging": { + "properties": { + "enabled": { + "null_value": true, + "type": "boolean" + } + } + } + } + }, + "ui_open": { + "properties": { + "elasticsearch": { + "null_value": 0, + "type": "long" + }, + "kibana": { + "null_value": 0, + "type": "long" + }, + "overview": { + "null_value": 0, + "type": "long" + } + } + }, + "ui_reindex": { + "properties": { + "close": { + "null_value": 0, + "type": "long" + }, + "open": { + "null_value": 0, + "type": "long" + }, + "start": { + "null_value": 0, + "type": "long" + }, + "stop": { + "null_value": 0, + "type": "long" + } + } + } + } + }, + "uptime-dynamic-settings": { + "dynamic": "false", + "type": "object" + }, + "url": { + "properties": { + "accessCount": { + "type": "long" + }, + "accessDate": { + "type": "date" + }, + "createDate": { + "type": "date" + }, + "locatorJSON": { + "index": false, + "type": "text" + }, + "slug": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "url": { + "fields": { + "keyword": { + "ignore_above": 2048, + "type": "keyword" + } + }, + "type": "text" + } + } + }, + "usage-counters": { + "dynamic": "false", + "properties": { + "domainId": { + "type": "keyword" + } + } + }, + "visualization": { + "properties": { + "description": { + "type": "text" + }, + "kibanaSavedObjectMeta": { + "properties": { + "searchSourceJSON": { + "index": false, + "type": "text" + } + } + }, + "savedSearchRefName": { + "doc_values": false, + "index": false, + "type": "keyword" + }, + "title": { + "type": "text" + }, + "uiStateJSON": { + "index": false, + "type": "text" + }, + "version": { + "type": "integer" + }, + "visState": { + "index": false, + "type": "text" + } + } + }, + "workplace_search_telemetry": { + "dynamic": "false", + "type": "object" + } + } + }, + "settings": { + "index": { + "auto_expand_replicas": "0-1", + "number_of_replicas": "0", + "number_of_shards": "1", + "priority": "10", + "refresh_interval": "1s" + } + } + } +} diff --git a/x-pack/test/functional/es_archives/endpoint/metadata/destination_index/data.json b/x-pack/test/functional/es_archives/endpoint/metadata/destination_index/data.json deleted file mode 100644 index b8994a05ea5cc..0000000000000 --- a/x-pack/test/functional/es_archives/endpoint/metadata/destination_index/data.json +++ /dev/null @@ -1,226 +0,0 @@ -{ - "type": "doc", - "value": { - "id": "M92ScEJT9M9QusfIi3hpEb0AAAAAAAAA", - "index": "metrics-endpoint.metadata_current_default", - "source": { - "@timestamp": 1626897841950, - "Endpoint": { - "policy": { - "applied": { - "id": "00000000-0000-0000-0000-000000000000", - "name": "Default", - "status": "failure" - } - }, - "status": "enrolled", - "configuration": { - "isolation": false - }, - "state": { - "isolation": false - } - }, - "agent": { - "id": "3838df35-a095-4af4-8fce-0b6d78793f2e", - "name": "Elastic Endpoint", - "version": "6.8.0" - }, - "elastic": { - "agent": { - "id": "023fa40c-411d-4188-a941-4147bfadd095" - } - }, - "event": { - "action": "endpoint_metadata", - "category": [ - "host" - ], - "created": 1626897841950, - "dataset": "endpoint.metadata", - "id": "32f5fda2-48e4-4fae-b89e-a18038294d16", - "ingested": "2020-09-09T18:25:15.853783Z", - "kind": "metric", - "module": "endpoint", - "type": [ - "info" - ] - }, - "host": { - "hostname": "rezzani-7.example.com", - "id": "fc0ff548-feba-41b6-8367-65e8790d0eaf", - "ip": [ - "10.101.149.26", - "2606:a000:ffc0:39:11ef:37b9:3371:578c" - ], - "mac": [ - "e2-6d-f9-0-46-2e" - ], - "name": "rezzani-7.example.com", - "os": { - "Ext": { - "variant": "Windows Pro" - }, - "family": "Windows", - "full": "Windows 10", - "name": "windows 10.0", - "platform": "Windows", - "version": "10.0" - } - } - } - } -} - -{ - "type": "doc", - "value": { - "id": "OU3RgCJaNnR90byeDEHutp8AAAAAAAAA", - "index": "metrics-endpoint.metadata_current_default", - "source": { - "@timestamp": 1626897841950, - "Endpoint": { - "policy": { - "applied": { - "id": "C2A9093E-E289-4C0A-AA44-8C32A414FA7A", - "name": "Default", - "status": "failure" - } - }, - "status": "enrolled", - "configuration": { - "isolation": false - }, - "state": { - "isolation": false - } - }, - "agent": { - "id": "963b081e-60d1-482c-befd-a5815fa8290f", - "name": "Elastic Endpoint", - "version": "6.6.1" - }, - "elastic": { - "agent": { - "id": "11488bae-880b-4e7b-8d28-aac2aa9de816" - } - }, - "event": { - "action": "endpoint_metadata", - "category": [ - "host" - ], - "created": 1626897841950, - "dataset": "endpoint.metadata", - "id": "32f5fda2-48e4-4fae-b89e-a18038294d14", - "ingested": "2020-09-09T18:25:14.919526Z", - "kind": "metric", - "module": "endpoint", - "type": [ - "info" - ] - }, - "host": { - "architecture": "x86", - "hostname": "cadmann-4.example.com", - "id": "1fb3e58f-6ab0-4406-9d2a-91911207a712", - "ip": [ - "10.192.213.130", - "10.70.28.129" - ], - "mac": [ - "a9-71-6a-cc-93-85", - "f7-31-84-d3-21-68", - "2-95-12-39-ca-71" - ], - "name": "cadmann-4.example.com", - "os": { - "Ext": { - "variant": "Windows Pro" - }, - "family": "Windows", - "full": "Windows 10", - "name": "windows 10.0", - "platform": "Windows", - "version": "10.0" - } - } - } - } -} - -{ - "type": "doc", - "value": { - "id": "YjqDCEuI6JmLeLOSyZx_NhMAAAAAAAAA", - "index": "metrics-endpoint.metadata_current_default", - "source": { - "@timestamp": 1626897841950, - "Endpoint": { - "policy": { - "applied": { - "id": "C2A9093E-E289-4C0A-AA44-8C32A414FA7A", - "name": "Default", - "status": "success" - } - }, - "status": "enrolled", - "configuration": { - "isolation": false - }, - "state": { - "isolation": false - } - }, - "agent": { - "id": "b3412d6f-b022-4448-8fee-21cc936ea86b", - "name": "Elastic Endpoint", - "version": "6.0.0" - }, - "elastic": { - "agent": { - "id": "92ac1ce0-e1f7-409e-8af6-f17e97b1fc71" - } - }, - "event": { - "action": "endpoint_metadata", - "category": [ - "host" - ], - "created": 1626897841950, - "dataset": "endpoint.metadata", - "id": "32f5fda2-48e4-4fae-b89e-a18038294d15", - "ingested": "2020-09-09T18:25:15.853404Z", - "kind": "metric", - "module": "endpoint", - "type": [ - "info" - ] - }, - "host": { - "architecture": "x86_64", - "hostname": "thurlow-9.example.com", - "id": "2f735e3d-be14-483b-9822-bad06e9045ca", - "ip": [ - "10.46.229.234" - ], - "mac": [ - "30-8c-45-55-69-b8", - "e5-36-7e-8f-a3-84", - "39-a1-37-20-18-74" - ], - "name": "thurlow-9.example.com", - "os": { - "Ext": { - "variant": "Windows Server" - }, - "family": "Windows", - "full": "Windows Server 2016", - "name": "windows 10.0", - "platform": "Windows", - "version": "10.0" - } - } - } - } -} diff --git a/x-pack/test/functional/es_archives/security_solution/migrations/data.json b/x-pack/test/functional/es_archives/security_solution/migrations/data.json new file mode 100644 index 0000000000000..7b8d81135065d --- /dev/null +++ b/x-pack/test/functional/es_archives/security_solution/migrations/data.json @@ -0,0 +1,31 @@ +{ + "type": "doc", + "value": { + "id": "siem-detection-engine-rule-actions:fce024a0-0452-11ec-9b15-d13d79d162f3", + "index": ".kibana_1", + "source": { + "siem-detection-engine-rule-actions": { + "ruleAlertId": "fb1046a0-0452-11ec-9b15-d13d79d162f3", + "actions": [ + { + "action_type_id": ".slack", + "id": "f6e64c00-0452-11ec-9b15-d13d79d162f3", + "params": { + "message": "Hourly\nRule {{context.rule.name}} generated {{state.signals_count}} alerts" + }, + "group": "default" + } + ], + "ruleThrottle": "7d", + "alertThrottle": "7d" + }, + "type": "siem-detection-engine-rule-actions", + "references": [], + "migrationVersion": { + "siem-detection-engine-rule-actions": "7.11.2" + }, + "coreMigrationVersion": "7.14.0", + "updated_at": "2021-09-15T22:18:48.369Z" + } + } +} diff --git a/x-pack/test/functional/es_archives/security_solution/migrations/mappings.json b/x-pack/test/functional/es_archives/security_solution/migrations/mappings.json new file mode 100644 index 0000000000000..5a602322b3017 --- /dev/null +++ b/x-pack/test/functional/es_archives/security_solution/migrations/mappings.json @@ -0,0 +1,3077 @@ +{ + "type": "index", + "value": { + "aliases": { + ".kibana": {} + }, + "index": ".kibana_1", + "mappings": { + "dynamic": "strict", + "_meta": { + "migrationMappingPropertyHashes": { + "visualization": "f819cf6636b75c9e76ba733a0c6ef355", + "endpoint:user-artifact": "4a11183eee21e6fbad864f7a30b39ad0", + "references": "7997cf5a56cc02bdc9c93361bde732b0", + "graph-workspace": "27a94b2edcb0610c6aea54a7c56d7752", + "file-upload-usage-collection-telemetry": "a34fbb8e3263d105044869264860c697", + "ml-job": "3bb64c31915acf93fc724af137a0891b", + "epm-packages": "0cbbb16506734d341a96aaed65ec6413", + "cases-connector-mappings": "17d2e9e0e170a21a471285a5d845353c", + "type": "2f4316de49999235636386fe51dc06c1", + "ui-counter": "0d409297dc5ebe1e3a1da691c6ee32e3", + "osquery-manager-usage-metric": "4dc4f647d27247c002f56f22742175fe", + "space": "c5ca8acafa0beaa4d08d014a97b6bc6b", + "infrastructure-ui-source": "3d1b76c39bfb2cc8296b024d73854724", + "api_key_pending_invalidation": "16f515278a295f6245149ad7c5ddedb7", + "ingest_manager_settings": "f159646d76ab261bfbf8ef504d9631e4", + "event_loop_delays_daily": "5df7e292ddd5028e07c1482e130e6654", + "application_usage_totals": "3d1b76c39bfb2cc8296b024d73854724", + "spaces-usage-stats": "3d1b76c39bfb2cc8296b024d73854724", + "action": "38c91d092e0790ecd9ebe58e82145280", + "tag": "83d55da58f6530f7055415717ec06474", + "dashboard": "40554caf09725935e2c02e02563a2d07", + "metrics-explorer-view": "3d1b76c39bfb2cc8296b024d73854724", + "siem-detection-engine-rule-actions": "6569b288c169539db10cb262bf79de18", + "security-solution-signals-migration": "72761fd374ca11122ac8025a92b84fca", + "apm-server-schema": "b1d71908f324c17bf744ac72af5038fb", + "query": "11aaeb7f5f7fa5bb43f25e18ce26e7d9", + "application_usage_transactional": "3d1b76c39bfb2cc8296b024d73854724", + "action_task_params": "0b7bac797714726291526b250c582806", + "security-rule": "8ae39a88fc70af3375b7050e8d8d5cc7", + "apm-indices": "9bb9b2bf1fa636ed8619cbab5ce6a1dd", + "inventory-view": "3d1b76c39bfb2cc8296b024d73854724", + "canvas-workpad-template": "ae2673f678281e2c055d764b153e9715", + "cases-comments": "fce468d3d08e577b67af2e958e1f9e97", + "upgrade-assistant-reindex-operation": "215107c281839ea9b3ad5f6419819763", + "fleet-enrollment-api-keys": "a69ef7ae661dab31561d6c6f052ef2a7", + "canvas-element": "7390014e1091044523666d97247392fc", + "core-usage-stats": "3d1b76c39bfb2cc8296b024d73854724", + "ingest-outputs": "76cab7340339033b2da24947303933ac", + "fleet-preconfiguration-deletion-record": "4c36f199189a367e43541f236141204c", + "telemetry": "36a616f7026dfa617d6655df850fe16d", + "osquery-saved-query": "6bb1cf319f0fd2984010592ca1ee588e", + "ml-module": "46ef4f0d6682636f0fff9799d6a2d7ac", + "lens-ui-telemetry": "509bfa5978586998e05f9e303c07a327", + "upgrade-assistant-telemetry": "5849358e7d10b6947849f2e55a1607fc", + "namespaces": "2f4316de49999235636386fe51dc06c1", + "usage-counters": "8cc260bdceffec4ffc3ad165c97dc1b4", + "application_usage_daily": "43b8830d5d0df85a6823d290885fc9fd", + "siem-ui-timeline-note": "28393dfdeb4e4413393eb5f7ec8c5436", + "exception-list-agnostic": "baf108c9934dda844921f692a513adae", + "lens": "52346cfec69ff7b47d5f0c12361a2797", + "sample-data-telemetry": "7d3cfeb915303c9641c59681967ffeb4", + "upgrade-assistant-ml-upgrade-operation": "ece1011519ca8fd057364605744d75ac", + "exception-list": "baf108c9934dda844921f692a513adae", + "fleet-agent-actions": "9511b565b1cc6441a42033db3d5de8e9", + "monitoring-telemetry": "2669d5ec15e82391cf58df4294ee9c68", + "search": "db2c00e39b36f40930a3b9fc71c823e1", + "app_search_telemetry": "3d1b76c39bfb2cc8296b024d73854724", + "originId": "2f4316de49999235636386fe51dc06c1", + "updated_at": "00da57df13e94e9d98437d13ace4bfe0", + "cases-configure": "623baf529acc106213ba8f730d41ec7f", + "search-telemetry": "3d1b76c39bfb2cc8296b024d73854724", + "canvas-workpad": "b0a1706d356228dbdcb4a17e6b9eb231", + "alert": "4373936518133d7f118940e0441bbf40", + "siem-detection-engine-rule-status": "ae783f41c6937db6b7a2ef5c93a9e9b0", + "ingest-package-policies": "4525de5ba9d036d8322ecfba3bca93f8", + "map": "9134b47593116d7953f6adba096fc463", + "legacy-url-alias": "e8dd3b6056ad7e1de32523f457310ecb", + "uptime-dynamic-settings": "3d1b76c39bfb2cc8296b024d73854724", + "search-session": "c768de003a1212f3d9e51176d118f255", + "epm-packages-assets": "44621b2f6052ef966da47b7c3a00f33b", + "cases": "14ea5de2161bee825d8b91674c1299c1", + "apm-telemetry": "3d1b76c39bfb2cc8296b024d73854724", + "siem-ui-timeline": "0f4cc81427182c41cebd7d9c640ec253", + "kql-telemetry": "d12a98a6f19a2d273696597547e064ee", + "ui-metric": "0d409297dc5ebe1e3a1da691c6ee32e3", + "url": "dde920c35ebae1bf43731d19f7b2194d", + "enterprise_search_telemetry": "3d1b76c39bfb2cc8296b024d73854724", + "endpoint:user-artifact-manifest": "a0d7b04ad405eed54d76e279c3727862", + "migrationVersion": "4a1746014a75ade3a714e1db5763276f", + "index-pattern": "45915a1ad866812242df474eb0479052", + "fleet-agents": "59fd74f819f028f8555776db198d2562", + "maps-telemetry": "5ef305b18111b77789afefbd36b66171", + "namespace": "2f4316de49999235636386fe51dc06c1", + "cases-user-actions": "25035423b7ceb4d4f1124c441d3f6529", + "coreMigrationVersion": "2f4316de49999235636386fe51dc06c1", + "siem-ui-timeline-pinned-event": "293fce142548281599060e07ad2c9ddb", + "config": "c63748b75f39d0c54de12d12c1ccbc20", + "ingest-agent-policies": "01a9d8dffb4d5d4a3392fe016c106861", + "workplace_search_telemetry": "3d1b76c39bfb2cc8296b024d73854724" + } + }, + "properties": { + "action": { + "properties": { + "actionTypeId": { + "type": "keyword" + }, + "config": { + "type": "object", + "enabled": false + }, + "isMissingSecrets": { + "type": "boolean" + }, + "name": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword" + } + } + }, + "secrets": { + "type": "binary" + } + } + }, + "action_task_params": { + "properties": { + "actionId": { + "type": "keyword" + }, + "apiKey": { + "type": "binary" + }, + "params": { + "type": "object", + "enabled": false + }, + "relatedSavedObjects": { + "type": "object", + "enabled": false + } + } + }, + "alert": { + "properties": { + "actions": { + "type": "nested", + "properties": { + "actionRef": { + "type": "keyword" + }, + "actionTypeId": { + "type": "keyword" + }, + "group": { + "type": "keyword" + }, + "params": { + "type": "object", + "enabled": false + } + } + }, + "alertTypeId": { + "type": "keyword" + }, + "apiKey": { + "type": "binary" + }, + "apiKeyOwner": { + "type": "keyword" + }, + "consumer": { + "type": "keyword" + }, + "createdAt": { + "type": "date" + }, + "createdBy": { + "type": "keyword" + }, + "enabled": { + "type": "boolean" + }, + "executionStatus": { + "properties": { + "error": { + "properties": { + "message": { + "type": "keyword" + }, + "reason": { + "type": "keyword" + } + } + }, + "lastExecutionDate": { + "type": "date" + }, + "status": { + "type": "keyword" + } + } + }, + "legacyId": { + "type": "keyword" + }, + "meta": { + "properties": { + "versionApiKeyLastmodified": { + "type": "keyword" + } + } + }, + "muteAll": { + "type": "boolean" + }, + "mutedInstanceIds": { + "type": "keyword" + }, + "name": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword" + } + } + }, + "notifyWhen": { + "type": "keyword" + }, + "params": { + "type": "flattened", + "ignore_above": 4096 + }, + "schedule": { + "properties": { + "interval": { + "type": "keyword" + } + } + }, + "scheduledTaskId": { + "type": "keyword" + }, + "tags": { + "type": "keyword" + }, + "throttle": { + "type": "keyword" + }, + "updatedAt": { + "type": "date" + }, + "updatedBy": { + "type": "keyword" + } + } + }, + "api_key_pending_invalidation": { + "properties": { + "apiKeyId": { + "type": "keyword" + }, + "createdAt": { + "type": "date" + } + } + }, + "apm-indices": { + "properties": { + "apm_oss": { + "properties": { + "errorIndices": { + "type": "keyword" + }, + "metricsIndices": { + "type": "keyword" + }, + "onboardingIndices": { + "type": "keyword" + }, + "sourcemapIndices": { + "type": "keyword" + }, + "spanIndices": { + "type": "keyword" + }, + "transactionIndices": { + "type": "keyword" + } + } + } + } + }, + "apm-server-schema": { + "properties": { + "schemaJson": { + "type": "text", + "index": false + } + } + }, + "apm-telemetry": { + "type": "object", + "dynamic": "false" + }, + "app_search_telemetry": { + "type": "object", + "dynamic": "false" + }, + "application_usage_daily": { + "dynamic": "false", + "properties": { + "timestamp": { + "type": "date" + } + } + }, + "application_usage_totals": { + "type": "object", + "dynamic": "false" + }, + "application_usage_transactional": { + "type": "object", + "dynamic": "false" + }, + "canvas-element": { + "dynamic": "false", + "properties": { + "@created": { + "type": "date" + }, + "@timestamp": { + "type": "date" + }, + "content": { + "type": "text" + }, + "help": { + "type": "text" + }, + "image": { + "type": "text" + }, + "name": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword" + } + } + } + } + }, + "canvas-workpad": { + "dynamic": "false", + "properties": { + "@created": { + "type": "date" + }, + "@timestamp": { + "type": "date" + }, + "name": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword" + } + } + } + } + }, + "canvas-workpad-template": { + "dynamic": "false", + "properties": { + "help": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword" + } + } + }, + "name": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword" + } + } + }, + "tags": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword" + } + } + }, + "template_key": { + "type": "keyword" + } + } + }, + "cases": { + "properties": { + "closed_at": { + "type": "date" + }, + "closed_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + }, + "connector": { + "properties": { + "fields": { + "properties": { + "key": { + "type": "text" + }, + "value": { + "type": "text" + } + } + }, + "name": { + "type": "text" + }, + "type": { + "type": "keyword" + } + } + }, + "created_at": { + "type": "date" + }, + "created_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + }, + "description": { + "type": "text" + }, + "external_service": { + "properties": { + "connector_name": { + "type": "keyword" + }, + "external_id": { + "type": "keyword" + }, + "external_title": { + "type": "text" + }, + "external_url": { + "type": "text" + }, + "pushed_at": { + "type": "date" + }, + "pushed_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + } + } + }, + "owner": { + "type": "keyword" + }, + "settings": { + "properties": { + "syncAlerts": { + "type": "boolean" + } + } + }, + "status": { + "type": "keyword" + }, + "tags": { + "type": "keyword" + }, + "title": { + "type": "text" + }, + "type": { + "type": "keyword" + }, + "updated_at": { + "type": "date" + }, + "updated_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + } + } + }, + "cases-comments": { + "properties": { + "actions": { + "properties": { + "targets": { + "type": "nested", + "properties": { + "endpointId": { + "type": "keyword" + }, + "hostname": { + "type": "keyword" + } + } + }, + "type": { + "type": "keyword" + } + } + }, + "alertId": { + "type": "keyword" + }, + "associationType": { + "type": "keyword" + }, + "comment": { + "type": "text" + }, + "created_at": { + "type": "date" + }, + "created_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + }, + "index": { + "type": "keyword" + }, + "owner": { + "type": "keyword" + }, + "pushed_at": { + "type": "date" + }, + "pushed_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + }, + "rule": { + "properties": { + "id": { + "type": "keyword" + }, + "name": { + "type": "keyword" + } + } + }, + "type": { + "type": "keyword" + }, + "updated_at": { + "type": "date" + }, + "updated_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + } + } + }, + "cases-configure": { + "properties": { + "closure_type": { + "type": "keyword" + }, + "connector": { + "properties": { + "fields": { + "properties": { + "key": { + "type": "text" + }, + "value": { + "type": "text" + } + } + }, + "name": { + "type": "text" + }, + "type": { + "type": "keyword" + } + } + }, + "created_at": { + "type": "date" + }, + "created_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + }, + "owner": { + "type": "keyword" + }, + "updated_at": { + "type": "date" + }, + "updated_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + } + } + }, + "cases-connector-mappings": { + "properties": { + "mappings": { + "properties": { + "action_type": { + "type": "keyword" + }, + "source": { + "type": "keyword" + }, + "target": { + "type": "keyword" + } + } + }, + "owner": { + "type": "keyword" + } + } + }, + "cases-user-actions": { + "properties": { + "action": { + "type": "keyword" + }, + "action_at": { + "type": "date" + }, + "action_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + }, + "action_field": { + "type": "keyword" + }, + "new_value": { + "type": "text" + }, + "old_value": { + "type": "text" + }, + "owner": { + "type": "keyword" + } + } + }, + "config": { + "dynamic": "false", + "properties": { + "buildNum": { + "type": "keyword" + } + } + }, + "core-usage-stats": { + "type": "object", + "dynamic": "false" + }, + "coreMigrationVersion": { + "type": "keyword" + }, + "dashboard": { + "properties": { + "description": { + "type": "text" + }, + "hits": { + "type": "integer", + "index": false, + "doc_values": false + }, + "kibanaSavedObjectMeta": { + "properties": { + "searchSourceJSON": { + "type": "text", + "index": false + } + } + }, + "optionsJSON": { + "type": "text", + "index": false + }, + "panelsJSON": { + "type": "text", + "index": false + }, + "refreshInterval": { + "properties": { + "display": { + "type": "keyword", + "index": false, + "doc_values": false + }, + "pause": { + "type": "boolean", + "doc_values": false, + "index": false + }, + "section": { + "type": "integer", + "index": false, + "doc_values": false + }, + "value": { + "type": "integer", + "index": false, + "doc_values": false + } + } + }, + "timeFrom": { + "type": "keyword", + "index": false, + "doc_values": false + }, + "timeRestore": { + "type": "boolean", + "doc_values": false, + "index": false + }, + "timeTo": { + "type": "keyword", + "index": false, + "doc_values": false + }, + "title": { + "type": "text" + }, + "version": { + "type": "integer" + } + } + }, + "endpoint:user-artifact": { + "properties": { + "body": { + "type": "binary" + }, + "compressionAlgorithm": { + "type": "keyword", + "index": false + }, + "created": { + "type": "date", + "index": false + }, + "decodedSha256": { + "type": "keyword", + "index": false + }, + "decodedSize": { + "type": "long", + "index": false + }, + "encodedSha256": { + "type": "keyword" + }, + "encodedSize": { + "type": "long", + "index": false + }, + "encryptionAlgorithm": { + "type": "keyword", + "index": false + }, + "identifier": { + "type": "keyword" + } + } + }, + "endpoint:user-artifact-manifest": { + "properties": { + "artifacts": { + "type": "nested", + "properties": { + "artifactId": { + "type": "keyword", + "index": false + }, + "policyId": { + "type": "keyword", + "index": false + } + } + }, + "created": { + "type": "date", + "index": false + }, + "schemaVersion": { + "type": "keyword" + }, + "semanticVersion": { + "type": "keyword", + "index": false + } + } + }, + "enterprise_search_telemetry": { + "type": "object", + "dynamic": "false" + }, + "epm-packages": { + "properties": { + "es_index_patterns": { + "type": "object", + "enabled": false + }, + "install_source": { + "type": "keyword" + }, + "install_started_at": { + "type": "date" + }, + "install_status": { + "type": "keyword" + }, + "install_version": { + "type": "keyword" + }, + "installed_es": { + "type": "nested", + "properties": { + "id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + } + }, + "installed_kibana": { + "type": "nested", + "properties": { + "id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + } + }, + "internal": { + "type": "boolean" + }, + "name": { + "type": "keyword" + }, + "package_assets": { + "type": "nested", + "properties": { + "id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + } + }, + "removable": { + "type": "boolean" + }, + "version": { + "type": "keyword" + } + } + }, + "epm-packages-assets": { + "properties": { + "asset_path": { + "type": "keyword" + }, + "data_base64": { + "type": "binary" + }, + "data_utf8": { + "type": "text", + "index": false + }, + "install_source": { + "type": "keyword" + }, + "media_type": { + "type": "keyword" + }, + "package_name": { + "type": "keyword" + }, + "package_version": { + "type": "keyword" + } + } + }, + "event_loop_delays_daily": { + "dynamic": "false", + "properties": { + "lastUpdatedAt": { + "type": "date" + } + } + }, + "exception-list": { + "properties": { + "_tags": { + "type": "keyword" + }, + "comments": { + "properties": { + "comment": { + "type": "keyword" + }, + "created_at": { + "type": "keyword" + }, + "created_by": { + "type": "keyword" + }, + "id": { + "type": "keyword" + }, + "updated_at": { + "type": "keyword" + }, + "updated_by": { + "type": "keyword" + } + } + }, + "created_at": { + "type": "keyword" + }, + "created_by": { + "type": "keyword" + }, + "description": { + "type": "keyword" + }, + "entries": { + "properties": { + "entries": { + "properties": { + "field": { + "type": "keyword" + }, + "operator": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "value": { + "type": "keyword", + "fields": { + "text": { + "type": "text" + } + } + } + } + }, + "field": { + "type": "keyword" + }, + "list": { + "properties": { + "id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + } + }, + "operator": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "value": { + "type": "keyword", + "fields": { + "text": { + "type": "text" + } + } + } + } + }, + "immutable": { + "type": "boolean" + }, + "item_id": { + "type": "keyword" + }, + "list_id": { + "type": "keyword" + }, + "list_type": { + "type": "keyword" + }, + "meta": { + "type": "keyword" + }, + "name": { + "type": "keyword", + "fields": { + "text": { + "type": "text" + } + } + }, + "os_types": { + "type": "keyword" + }, + "tags": { + "type": "keyword", + "fields": { + "text": { + "type": "text" + } + } + }, + "tie_breaker_id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "updated_by": { + "type": "keyword" + }, + "version": { + "type": "keyword" + } + } + }, + "exception-list-agnostic": { + "properties": { + "_tags": { + "type": "keyword" + }, + "comments": { + "properties": { + "comment": { + "type": "keyword" + }, + "created_at": { + "type": "keyword" + }, + "created_by": { + "type": "keyword" + }, + "id": { + "type": "keyword" + }, + "updated_at": { + "type": "keyword" + }, + "updated_by": { + "type": "keyword" + } + } + }, + "created_at": { + "type": "keyword" + }, + "created_by": { + "type": "keyword" + }, + "description": { + "type": "keyword" + }, + "entries": { + "properties": { + "entries": { + "properties": { + "field": { + "type": "keyword" + }, + "operator": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "value": { + "type": "keyword", + "fields": { + "text": { + "type": "text" + } + } + } + } + }, + "field": { + "type": "keyword" + }, + "list": { + "properties": { + "id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + } + }, + "operator": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "value": { + "type": "keyword", + "fields": { + "text": { + "type": "text" + } + } + } + } + }, + "immutable": { + "type": "boolean" + }, + "item_id": { + "type": "keyword" + }, + "list_id": { + "type": "keyword" + }, + "list_type": { + "type": "keyword" + }, + "meta": { + "type": "keyword" + }, + "name": { + "type": "keyword", + "fields": { + "text": { + "type": "text" + } + } + }, + "os_types": { + "type": "keyword" + }, + "tags": { + "type": "keyword", + "fields": { + "text": { + "type": "text" + } + } + }, + "tie_breaker_id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "updated_by": { + "type": "keyword" + }, + "version": { + "type": "keyword" + } + } + }, + "file-upload-usage-collection-telemetry": { + "properties": { + "file_upload": { + "properties": { + "index_creation_count": { + "type": "long" + } + } + } + } + }, + "fleet-agent-actions": { + "properties": { + "ack_data": { + "type": "text" + }, + "agent_id": { + "type": "keyword" + }, + "created_at": { + "type": "date" + }, + "data": { + "type": "binary" + }, + "policy_id": { + "type": "keyword" + }, + "policy_revision": { + "type": "integer" + }, + "sent_at": { + "type": "date" + }, + "type": { + "type": "keyword" + } + } + }, + "fleet-agents": { + "properties": { + "access_api_key_id": { + "type": "keyword" + }, + "active": { + "type": "boolean" + }, + "current_error_events": { + "type": "text", + "index": false + }, + "default_api_key": { + "type": "binary" + }, + "default_api_key_id": { + "type": "keyword" + }, + "enrolled_at": { + "type": "date" + }, + "last_checkin": { + "type": "date" + }, + "last_checkin_status": { + "type": "keyword" + }, + "last_updated": { + "type": "date" + }, + "local_metadata": { + "type": "flattened" + }, + "packages": { + "type": "keyword" + }, + "policy_id": { + "type": "keyword" + }, + "policy_revision": { + "type": "integer" + }, + "type": { + "type": "keyword" + }, + "unenrolled_at": { + "type": "date" + }, + "unenrollment_started_at": { + "type": "date" + }, + "updated_at": { + "type": "date" + }, + "upgrade_started_at": { + "type": "date" + }, + "upgraded_at": { + "type": "date" + }, + "user_provided_metadata": { + "type": "flattened" + }, + "version": { + "type": "keyword" + } + } + }, + "fleet-enrollment-api-keys": { + "properties": { + "active": { + "type": "boolean" + }, + "api_key": { + "type": "binary" + }, + "api_key_id": { + "type": "keyword" + }, + "created_at": { + "type": "date" + }, + "expire_at": { + "type": "date" + }, + "name": { + "type": "keyword" + }, + "policy_id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "updated_at": { + "type": "date" + } + } + }, + "fleet-preconfiguration-deletion-record": { + "properties": { + "id": { + "type": "keyword" + } + } + }, + "graph-workspace": { + "properties": { + "description": { + "type": "text" + }, + "kibanaSavedObjectMeta": { + "properties": { + "searchSourceJSON": { + "type": "text" + } + } + }, + "legacyIndexPatternRef": { + "type": "text", + "index": false + }, + "numLinks": { + "type": "integer" + }, + "numVertices": { + "type": "integer" + }, + "title": { + "type": "text" + }, + "version": { + "type": "integer" + }, + "wsState": { + "type": "text" + } + } + }, + "index-pattern": { + "dynamic": "false", + "properties": { + "title": { + "type": "text" + }, + "type": { + "type": "keyword" + } + } + }, + "infrastructure-ui-source": { + "type": "object", + "dynamic": "false" + }, + "ingest-agent-policies": { + "properties": { + "data_output_id": { + "type": "keyword" + }, + "description": { + "type": "text" + }, + "is_default": { + "type": "boolean" + }, + "is_default_fleet_server": { + "type": "boolean" + }, + "is_managed": { + "type": "boolean" + }, + "is_preconfigured": { + "type": "keyword" + }, + "monitoring_enabled": { + "type": "keyword", + "index": false + }, + "monitoring_output_id": { + "type": "keyword" + }, + "name": { + "type": "keyword" + }, + "namespace": { + "type": "keyword" + }, + "package_policies": { + "type": "keyword" + }, + "revision": { + "type": "integer" + }, + "status": { + "type": "keyword" + }, + "unenroll_timeout": { + "type": "integer" + }, + "updated_at": { + "type": "date" + }, + "updated_by": { + "type": "keyword" + } + } + }, + "ingest-outputs": { + "properties": { + "ca_sha256": { + "type": "keyword", + "index": false + }, + "config": { + "type": "flattened" + }, + "config_yaml": { + "type": "text" + }, + "hosts": { + "type": "keyword" + }, + "is_default": { + "type": "boolean" + }, + "is_preconfigured": { + "type": "boolean", + "index": false + }, + "name": { + "type": "keyword" + }, + "output_id": { + "type": "keyword", + "index": false + }, + "type": { + "type": "keyword" + } + } + }, + "ingest-package-policies": { + "properties": { + "created_at": { + "type": "date" + }, + "created_by": { + "type": "keyword" + }, + "description": { + "type": "text" + }, + "enabled": { + "type": "boolean" + }, + "inputs": { + "type": "nested", + "enabled": false, + "properties": { + "compiled_input": { + "type": "flattened" + }, + "config": { + "type": "flattened" + }, + "enabled": { + "type": "boolean" + }, + "policy_template": { + "type": "keyword" + }, + "streams": { + "type": "nested", + "properties": { + "compiled_stream": { + "type": "flattened" + }, + "config": { + "type": "flattened" + }, + "data_stream": { + "properties": { + "dataset": { + "type": "keyword" + }, + "elasticsearch": { + "properties": { + "privileges": { + "type": "flattened" + } + } + }, + "type": { + "type": "keyword" + } + } + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "keyword" + }, + "vars": { + "type": "flattened" + } + } + }, + "type": { + "type": "keyword" + }, + "vars": { + "type": "flattened" + } + } + }, + "name": { + "type": "keyword" + }, + "namespace": { + "type": "keyword" + }, + "output_id": { + "type": "keyword" + }, + "package": { + "properties": { + "name": { + "type": "keyword" + }, + "title": { + "type": "keyword" + }, + "version": { + "type": "keyword" + } + } + }, + "policy_id": { + "type": "keyword" + }, + "revision": { + "type": "integer" + }, + "updated_at": { + "type": "date" + }, + "updated_by": { + "type": "keyword" + }, + "vars": { + "type": "flattened" + } + } + }, + "ingest_manager_settings": { + "properties": { + "fleet_server_hosts": { + "type": "keyword" + }, + "has_seen_add_data_notice": { + "type": "boolean", + "index": false + }, + "has_seen_fleet_migration_notice": { + "type": "boolean", + "index": false + } + } + }, + "inventory-view": { + "type": "object", + "dynamic": "false" + }, + "kql-telemetry": { + "properties": { + "optInCount": { + "type": "long" + }, + "optOutCount": { + "type": "long" + } + } + }, + "legacy-url-alias": { + "dynamic": "false", + "properties": { + "disabled": { + "type": "boolean" + }, + "resolveCounter": { + "type": "long" + }, + "sourceId": { + "type": "keyword" + }, + "targetType": { + "type": "keyword" + } + } + }, + "lens": { + "properties": { + "description": { + "type": "text" + }, + "expression": { + "type": "keyword", + "index": false, + "doc_values": false + }, + "state": { + "type": "flattened" + }, + "title": { + "type": "text" + }, + "visualizationType": { + "type": "keyword" + } + } + }, + "lens-ui-telemetry": { + "properties": { + "count": { + "type": "integer" + }, + "date": { + "type": "date" + }, + "name": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + } + }, + "map": { + "properties": { + "bounds": { + "type": "object", + "dynamic": "false" + }, + "description": { + "type": "text" + }, + "layerListJSON": { + "type": "text" + }, + "mapStateJSON": { + "type": "text" + }, + "title": { + "type": "text" + }, + "uiStateJSON": { + "type": "text" + }, + "version": { + "type": "integer" + } + } + }, + "maps-telemetry": { + "type": "object", + "enabled": false + }, + "metrics-explorer-view": { + "type": "object", + "dynamic": "false" + }, + "migrationVersion": { + "dynamic": "true", + "properties": { + "alert": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "config": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "core-usage-stats": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "dashboard": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "epm-packages": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "exception-list-agnostic": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "index-pattern": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "ingest-agent-policies": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "ingest-outputs": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "ingest-package-policies": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "ingest_manager_settings": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "lens": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "search": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "search-telemetry": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "siem-ui-timeline": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "space": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "spaces-usage-stats": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "visualization": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + } + } + }, + "ml-job": { + "properties": { + "datafeed_id": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword" + } + } + }, + "job_id": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword" + } + } + }, + "type": { + "type": "keyword" + } + } + }, + "ml-module": { + "dynamic": "false", + "properties": { + "datafeeds": { + "type": "object" + }, + "defaultIndexPattern": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword" + } + } + }, + "description": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword" + } + } + }, + "id": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword" + } + } + }, + "jobs": { + "type": "object" + }, + "logo": { + "type": "object" + }, + "query": { + "type": "object" + }, + "title": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword" + } + } + }, + "type": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword" + } + } + } + } + }, + "monitoring-telemetry": { + "properties": { + "reportedClusterUuids": { + "type": "keyword" + } + } + }, + "namespace": { + "type": "keyword" + }, + "namespaces": { + "type": "keyword" + }, + "originId": { + "type": "keyword" + }, + "osquery-manager-usage-metric": { + "properties": { + "count": { + "type": "long" + }, + "errors": { + "type": "long" + } + } + }, + "osquery-saved-query": { + "properties": { + "created_at": { + "type": "date" + }, + "created_by": { + "type": "text" + }, + "description": { + "type": "text" + }, + "id": { + "type": "keyword" + }, + "interval": { + "type": "keyword" + }, + "platform": { + "type": "keyword" + }, + "query": { + "type": "text" + }, + "updated_at": { + "type": "date" + }, + "updated_by": { + "type": "text" + }, + "version": { + "type": "keyword" + } + } + }, + "query": { + "properties": { + "description": { + "type": "text" + }, + "filters": { + "type": "object", + "enabled": false + }, + "query": { + "properties": { + "language": { + "type": "keyword" + }, + "query": { + "type": "keyword", + "index": false + } + } + }, + "timefilter": { + "type": "object", + "enabled": false + }, + "title": { + "type": "text" + } + } + }, + "references": { + "type": "nested", + "properties": { + "id": { + "type": "keyword" + }, + "name": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + } + }, + "sample-data-telemetry": { + "properties": { + "installCount": { + "type": "long" + }, + "unInstallCount": { + "type": "long" + } + } + }, + "search": { + "properties": { + "columns": { + "type": "keyword", + "index": false, + "doc_values": false + }, + "description": { + "type": "text" + }, + "grid": { + "type": "object", + "enabled": false + }, + "hideChart": { + "type": "boolean", + "doc_values": false, + "index": false + }, + "hits": { + "type": "integer", + "index": false, + "doc_values": false + }, + "kibanaSavedObjectMeta": { + "properties": { + "searchSourceJSON": { + "type": "text", + "index": false + } + } + }, + "sort": { + "type": "keyword", + "index": false, + "doc_values": false + }, + "title": { + "type": "text" + }, + "version": { + "type": "integer" + } + } + }, + "search-session": { + "properties": { + "appId": { + "type": "keyword" + }, + "completed": { + "type": "date" + }, + "created": { + "type": "date" + }, + "expires": { + "type": "date" + }, + "idMapping": { + "type": "object", + "enabled": false + }, + "initialState": { + "type": "object", + "enabled": false + }, + "name": { + "type": "keyword" + }, + "persisted": { + "type": "boolean" + }, + "realmName": { + "type": "keyword" + }, + "realmType": { + "type": "keyword" + }, + "restoreState": { + "type": "object", + "enabled": false + }, + "sessionId": { + "type": "keyword" + }, + "status": { + "type": "keyword" + }, + "touched": { + "type": "date" + }, + "urlGeneratorId": { + "type": "keyword" + }, + "username": { + "type": "keyword" + }, + "version": { + "type": "keyword" + } + } + }, + "search-telemetry": { + "type": "object", + "dynamic": "false" + }, + "security-rule": { + "dynamic": "false", + "properties": { + "name": { + "type": "keyword" + }, + "rule_id": { + "type": "keyword" + }, + "version": { + "type": "long" + } + } + }, + "security-solution-signals-migration": { + "properties": { + "created": { + "type": "date", + "index": false + }, + "createdBy": { + "type": "text", + "index": false + }, + "destinationIndex": { + "type": "keyword", + "index": false + }, + "error": { + "type": "text", + "index": false + }, + "sourceIndex": { + "type": "keyword" + }, + "status": { + "type": "keyword", + "index": false + }, + "taskId": { + "type": "keyword", + "index": false + }, + "updated": { + "type": "date", + "index": false + }, + "updatedBy": { + "type": "text", + "index": false + }, + "version": { + "type": "long" + } + } + }, + "siem-detection-engine-rule-actions": { + "properties": { + "actions": { + "properties": { + "action_type_id": { + "type": "keyword" + }, + "group": { + "type": "keyword" + }, + "id": { + "type": "keyword" + }, + "params": { + "type": "object", + "enabled": false + } + } + }, + "alertThrottle": { + "type": "keyword" + }, + "ruleAlertId": { + "type": "keyword" + }, + "ruleThrottle": { + "type": "keyword" + } + } + }, + "siem-detection-engine-rule-status": { + "properties": { + "alertId": { + "type": "keyword" + }, + "bulkCreateTimeDurations": { + "type": "float" + }, + "gap": { + "type": "text" + }, + "lastFailureAt": { + "type": "date" + }, + "lastFailureMessage": { + "type": "text" + }, + "lastLookBackDate": { + "type": "date" + }, + "lastSuccessAt": { + "type": "date" + }, + "lastSuccessMessage": { + "type": "text" + }, + "searchAfterTimeDurations": { + "type": "float" + }, + "status": { + "type": "keyword" + }, + "statusDate": { + "type": "date" + } + } + }, + "siem-ui-timeline": { + "properties": { + "columns": { + "properties": { + "aggregatable": { + "type": "boolean" + }, + "category": { + "type": "keyword" + }, + "columnHeaderType": { + "type": "keyword" + }, + "description": { + "type": "text" + }, + "example": { + "type": "text" + }, + "id": { + "type": "keyword" + }, + "indexes": { + "type": "keyword" + }, + "name": { + "type": "text" + }, + "placeholder": { + "type": "text" + }, + "searchable": { + "type": "boolean" + }, + "type": { + "type": "keyword" + } + } + }, + "created": { + "type": "date" + }, + "createdBy": { + "type": "text" + }, + "dataProviders": { + "properties": { + "and": { + "properties": { + "enabled": { + "type": "boolean" + }, + "excluded": { + "type": "boolean" + }, + "id": { + "type": "keyword" + }, + "kqlQuery": { + "type": "text" + }, + "name": { + "type": "text" + }, + "queryMatch": { + "properties": { + "displayField": { + "type": "text" + }, + "displayValue": { + "type": "text" + }, + "field": { + "type": "text" + }, + "operator": { + "type": "text" + }, + "value": { + "type": "text" + } + } + }, + "type": { + "type": "text" + } + } + }, + "enabled": { + "type": "boolean" + }, + "excluded": { + "type": "boolean" + }, + "id": { + "type": "keyword" + }, + "kqlQuery": { + "type": "text" + }, + "name": { + "type": "text" + }, + "queryMatch": { + "properties": { + "displayField": { + "type": "text" + }, + "displayValue": { + "type": "text" + }, + "field": { + "type": "text" + }, + "operator": { + "type": "text" + }, + "value": { + "type": "text" + } + } + }, + "type": { + "type": "text" + } + } + }, + "dateRange": { + "properties": { + "end": { + "type": "date" + }, + "start": { + "type": "date" + } + } + }, + "description": { + "type": "text" + }, + "eqlOptions": { + "properties": { + "eventCategoryField": { + "type": "text" + }, + "query": { + "type": "text" + }, + "size": { + "type": "text" + }, + "tiebreakerField": { + "type": "text" + }, + "timestampField": { + "type": "text" + } + } + }, + "eventType": { + "type": "keyword" + }, + "excludedRowRendererIds": { + "type": "text" + }, + "favorite": { + "properties": { + "favoriteDate": { + "type": "date" + }, + "fullName": { + "type": "text" + }, + "keySearch": { + "type": "text" + }, + "userName": { + "type": "text" + } + } + }, + "filters": { + "properties": { + "exists": { + "type": "text" + }, + "match_all": { + "type": "text" + }, + "meta": { + "properties": { + "alias": { + "type": "text" + }, + "controlledBy": { + "type": "text" + }, + "disabled": { + "type": "boolean" + }, + "field": { + "type": "text" + }, + "formattedValue": { + "type": "text" + }, + "index": { + "type": "keyword" + }, + "key": { + "type": "keyword" + }, + "negate": { + "type": "boolean" + }, + "params": { + "type": "text" + }, + "type": { + "type": "keyword" + }, + "value": { + "type": "text" + } + } + }, + "missing": { + "type": "text" + }, + "query": { + "type": "text" + }, + "range": { + "type": "text" + }, + "script": { + "type": "text" + } + } + }, + "indexNames": { + "type": "text" + }, + "kqlMode": { + "type": "keyword" + }, + "kqlQuery": { + "properties": { + "filterQuery": { + "properties": { + "kuery": { + "properties": { + "expression": { + "type": "text" + }, + "kind": { + "type": "keyword" + } + } + }, + "serializedQuery": { + "type": "text" + } + } + } + } + }, + "sort": { + "dynamic": "false", + "properties": { + "columnId": { + "type": "keyword" + }, + "columnType": { + "type": "keyword" + }, + "sortDirection": { + "type": "keyword" + } + } + }, + "status": { + "type": "keyword" + }, + "templateTimelineId": { + "type": "text" + }, + "templateTimelineVersion": { + "type": "integer" + }, + "timelineType": { + "type": "keyword" + }, + "title": { + "type": "text" + }, + "updated": { + "type": "date" + }, + "updatedBy": { + "type": "text" + } + } + }, + "siem-ui-timeline-note": { + "properties": { + "created": { + "type": "date" + }, + "createdBy": { + "type": "text" + }, + "eventId": { + "type": "keyword" + }, + "note": { + "type": "text" + }, + "updated": { + "type": "date" + }, + "updatedBy": { + "type": "text" + } + } + }, + "siem-ui-timeline-pinned-event": { + "properties": { + "created": { + "type": "date" + }, + "createdBy": { + "type": "text" + }, + "eventId": { + "type": "keyword" + }, + "updated": { + "type": "date" + }, + "updatedBy": { + "type": "text" + } + } + }, + "space": { + "properties": { + "_reserved": { + "type": "boolean" + }, + "color": { + "type": "keyword" + }, + "description": { + "type": "text" + }, + "disabledFeatures": { + "type": "keyword" + }, + "imageUrl": { + "type": "text", + "index": false + }, + "initials": { + "type": "keyword" + }, + "name": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 2048 + } + } + } + } + }, + "spaces-usage-stats": { + "type": "object", + "dynamic": "false" + }, + "tag": { + "properties": { + "color": { + "type": "text" + }, + "description": { + "type": "text" + }, + "name": { + "type": "text" + } + } + }, + "telemetry": { + "properties": { + "allowChangingOptInStatus": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "lastReported": { + "type": "date" + }, + "lastVersionChecked": { + "type": "keyword" + }, + "reportFailureCount": { + "type": "integer" + }, + "reportFailureVersion": { + "type": "keyword" + }, + "sendUsageFrom": { + "type": "keyword" + }, + "userHasSeenNotice": { + "type": "boolean" + } + } + }, + "type": { + "type": "keyword" + }, + "ui-counter": { + "properties": { + "count": { + "type": "integer" + } + } + }, + "ui-metric": { + "properties": { + "count": { + "type": "integer" + } + } + }, + "updated_at": { + "type": "date" + }, + "upgrade-assistant-ml-upgrade-operation": { + "properties": { + "jobId": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "nodeId": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "snapshotId": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "status": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + } + } + }, + "upgrade-assistant-reindex-operation": { + "properties": { + "errorMessage": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "indexName": { + "type": "keyword" + }, + "lastCompletedStep": { + "type": "long" + }, + "locked": { + "type": "date" + }, + "newIndexName": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "reindexOptions": { + "properties": { + "openAndClose": { + "type": "boolean" + }, + "queueSettings": { + "properties": { + "queuedAt": { + "type": "long" + }, + "startedAt": { + "type": "long" + } + } + } + } + }, + "reindexTaskId": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + }, + "reindexTaskPercComplete": { + "type": "float" + }, + "runningReindexCount": { + "type": "integer" + }, + "status": { + "type": "integer" + } + } + }, + "upgrade-assistant-telemetry": { + "properties": { + "features": { + "properties": { + "deprecation_logging": { + "properties": { + "enabled": { + "type": "boolean", + "null_value": true + } + } + } + } + }, + "ui_open": { + "properties": { + "elasticsearch": { + "type": "long", + "null_value": 0 + }, + "kibana": { + "type": "long", + "null_value": 0 + }, + "overview": { + "type": "long", + "null_value": 0 + } + } + }, + "ui_reindex": { + "properties": { + "close": { + "type": "long", + "null_value": 0 + }, + "open": { + "type": "long", + "null_value": 0 + }, + "start": { + "type": "long", + "null_value": 0 + }, + "stop": { + "type": "long", + "null_value": 0 + } + } + } + } + }, + "uptime-dynamic-settings": { + "type": "object", + "dynamic": "false" + }, + "url": { + "properties": { + "accessCount": { + "type": "long" + }, + "accessDate": { + "type": "date" + }, + "createDate": { + "type": "date" + }, + "locatorJSON": { + "type": "text", + "index": false + }, + "slug": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword" + } + } + }, + "url": { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 2048 + } + } + } + } + }, + "usage-counters": { + "dynamic": "false", + "properties": { + "domainId": { + "type": "keyword" + } + } + }, + "visualization": { + "properties": { + "description": { + "type": "text" + }, + "kibanaSavedObjectMeta": { + "properties": { + "searchSourceJSON": { + "type": "text", + "index": false + } + } + }, + "savedSearchRefName": { + "type": "keyword", + "index": false, + "doc_values": false + }, + "title": { + "type": "text" + }, + "uiStateJSON": { + "type": "text", + "index": false + }, + "version": { + "type": "integer" + }, + "visState": { + "type": "text", + "index": false + } + } + }, + "workplace_search_telemetry": { + "type": "object", + "dynamic": "false" + } + } + }, + "settings": { + "index": { + "auto_expand_replicas": "0-1", + "number_of_replicas": "1", + "number_of_shards": "1" + } + } + } +} diff --git a/x-pack/test/functional/es_archives/security_solution/timelines/7.15.0_space/data.json.gz b/x-pack/test/functional/es_archives/security_solution/timelines/7.15.0_space/data.json.gz new file mode 100644 index 0000000000000..9036d465e3fce Binary files /dev/null and b/x-pack/test/functional/es_archives/security_solution/timelines/7.15.0_space/data.json.gz differ diff --git a/x-pack/test/functional/es_archives/security_solution/timelines/7.15.0_space/mappings.json b/x-pack/test/functional/es_archives/security_solution/timelines/7.15.0_space/mappings.json new file mode 100644 index 0000000000000..0fa5a458f6995 --- /dev/null +++ b/x-pack/test/functional/es_archives/security_solution/timelines/7.15.0_space/mappings.json @@ -0,0 +1,3092 @@ +{ + "type": "index", + "value": { + "aliases": { + ".kibana": { + }, + ".kibana_7.15.0": { + } + }, + "index": ".kibana_1", + "mappings": { + "_meta": { + "migrationMappingPropertyHashes": { + "action": "38c91d092e0790ecd9ebe58e82145280", + "action_task_params": "0b7bac797714726291526b250c582806", + "alert": "d75d3b0e95fe394753d73d8f7952cd7d", + "api_key_pending_invalidation": "16f515278a295f6245149ad7c5ddedb7", + "apm-indices": "9bb9b2bf1fa636ed8619cbab5ce6a1dd", + "apm-server-schema": "b1d71908f324c17bf744ac72af5038fb", + "apm-telemetry": "3d1b76c39bfb2cc8296b024d73854724", + "app_search_telemetry": "3d1b76c39bfb2cc8296b024d73854724", + "application_usage_daily": "43b8830d5d0df85a6823d290885fc9fd", + "application_usage_totals": "3d1b76c39bfb2cc8296b024d73854724", + "application_usage_transactional": "3d1b76c39bfb2cc8296b024d73854724", + "canvas-element": "7390014e1091044523666d97247392fc", + "canvas-workpad": "b0a1706d356228dbdcb4a17e6b9eb231", + "canvas-workpad-template": "ae2673f678281e2c055d764b153e9715", + "cases": "6b9a08cbd2a81020ac2fc27c4e210b24", + "cases-comments": "fce468d3d08e577b67af2e958e1f9e97", + "cases-configure": "623baf529acc106213ba8f730d41ec7f", + "cases-connector-mappings": "17d2e9e0e170a21a471285a5d845353c", + "cases-user-actions": "25035423b7ceb4d4f1124c441d3f6529", + "config": "c63748b75f39d0c54de12d12c1ccbc20", + "core-usage-stats": "3d1b76c39bfb2cc8296b024d73854724", + "coreMigrationVersion": "2f4316de49999235636386fe51dc06c1", + "dashboard": "40554caf09725935e2c02e02563a2d07", + "endpoint:user-artifact": "4a11183eee21e6fbad864f7a30b39ad0", + "endpoint:user-artifact-manifest": "a0d7b04ad405eed54d76e279c3727862", + "enterprise_search_telemetry": "3d1b76c39bfb2cc8296b024d73854724", + "epm-packages": "0cbbb16506734d341a96aaed65ec6413", + "epm-packages-assets": "44621b2f6052ef966da47b7c3a00f33b", + "event_loop_delays_daily": "5df7e292ddd5028e07c1482e130e6654", + "exception-list": "baf108c9934dda844921f692a513adae", + "exception-list-agnostic": "baf108c9934dda844921f692a513adae", + "file-upload-usage-collection-telemetry": "a34fbb8e3263d105044869264860c697", + "fleet-agent-actions": "9511b565b1cc6441a42033db3d5de8e9", + "fleet-agents": "59fd74f819f028f8555776db198d2562", + "fleet-enrollment-api-keys": "a69ef7ae661dab31561d6c6f052ef2a7", + "fleet-preconfiguration-deletion-record": "4c36f199189a367e43541f236141204c", + "graph-workspace": "27a94b2edcb0610c6aea54a7c56d7752", + "index-pattern": "45915a1ad866812242df474eb0479052", + "infrastructure-ui-source": "3d1b76c39bfb2cc8296b024d73854724", + "ingest-agent-policies": "5e91121a6b10c13d8b5339c2ff721e9b", + "ingest-outputs": "1acb789ca37cbee70259ca79e124d9ad", + "ingest-package-policies": "2bdb4dbeca0d8e7b9cf620548137c695", + "ingest_manager_settings": "f159646d76ab261bfbf8ef504d9631e4", + "inventory-view": "3d1b76c39bfb2cc8296b024d73854724", + "kql-telemetry": "d12a98a6f19a2d273696597547e064ee", + "legacy-url-alias": "e8dd3b6056ad7e1de32523f457310ecb", + "lens": "52346cfec69ff7b47d5f0c12361a2797", + "lens-ui-telemetry": "509bfa5978586998e05f9e303c07a327", + "map": "9134b47593116d7953f6adba096fc463", + "maps-telemetry": "5ef305b18111b77789afefbd36b66171", + "metrics-explorer-view": "3d1b76c39bfb2cc8296b024d73854724", + "migrationVersion": "4a1746014a75ade3a714e1db5763276f", + "ml-job": "3bb64c31915acf93fc724af137a0891b", + "ml-module": "46ef4f0d6682636f0fff9799d6a2d7ac", + "monitoring-telemetry": "2669d5ec15e82391cf58df4294ee9c68", + "namespace": "2f4316de49999235636386fe51dc06c1", + "namespaces": "2f4316de49999235636386fe51dc06c1", + "originId": "2f4316de49999235636386fe51dc06c1", + "osquery-manager-usage-metric": "4dc4f647d27247c002f56f22742175fe", + "osquery-saved-query": "6bb1cf319f0fd2984010592ca1ee588e", + "query": "11aaeb7f5f7fa5bb43f25e18ce26e7d9", + "references": "7997cf5a56cc02bdc9c93361bde732b0", + "sample-data-telemetry": "7d3cfeb915303c9641c59681967ffeb4", + "search": "db2c00e39b36f40930a3b9fc71c823e1", + "search-session": "c768de003a1212f3d9e51176d118f255", + "search-telemetry": "3d1b76c39bfb2cc8296b024d73854724", + "security-rule": "8ae39a88fc70af3375b7050e8d8d5cc7", + "security-solution-signals-migration": "72761fd374ca11122ac8025a92b84fca", + "siem-detection-engine-rule-actions": "6569b288c169539db10cb262bf79de18", + "siem-detection-engine-rule-status": "ae783f41c6937db6b7a2ef5c93a9e9b0", + "siem-ui-timeline": "3e97beae13cdfc6d62bc1846119f7276", + "siem-ui-timeline-note": "8874706eedc49059d4cf0f5094559084", + "siem-ui-timeline-pinned-event": "20638091112f0e14f0e443d512301c29", + "space": "c5ca8acafa0beaa4d08d014a97b6bc6b", + "spaces-usage-stats": "3d1b76c39bfb2cc8296b024d73854724", + "tag": "83d55da58f6530f7055415717ec06474", + "telemetry": "36a616f7026dfa617d6655df850fe16d", + "timelion-sheet": "9a2a2748877c7a7b582fef201ab1d4cf", + "type": "2f4316de49999235636386fe51dc06c1", + "ui-counter": "0d409297dc5ebe1e3a1da691c6ee32e3", + "ui-metric": "0d409297dc5ebe1e3a1da691c6ee32e3", + "updated_at": "00da57df13e94e9d98437d13ace4bfe0", + "upgrade-assistant-ml-upgrade-operation": "ece1011519ca8fd057364605744d75ac", + "upgrade-assistant-reindex-operation": "215107c281839ea9b3ad5f6419819763", + "upgrade-assistant-telemetry": "8169c8bdd753da18d887e038aeb5cbc4", + "uptime-dynamic-settings": "3d1b76c39bfb2cc8296b024d73854724", + "url": "c7f66a0df8b1b52f17c28c4adb111105", + "usage-counters": "8cc260bdceffec4ffc3ad165c97dc1b4", + "visualization": "f819cf6636b75c9e76ba733a0c6ef355", + "workplace_search_telemetry": "3d1b76c39bfb2cc8296b024d73854724" + } + }, + "dynamic": "strict", + "properties": { + "action": { + "properties": { + "actionTypeId": { + "type": "keyword" + }, + "config": { + "enabled": false, + "type": "object" + }, + "isMissingSecrets": { + "type": "boolean" + }, + "name": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "secrets": { + "type": "binary" + } + } + }, + "action_task_params": { + "properties": { + "actionId": { + "type": "keyword" + }, + "apiKey": { + "type": "binary" + }, + "params": { + "enabled": false, + "type": "object" + }, + "relatedSavedObjects": { + "enabled": false, + "type": "object" + } + } + }, + "alert": { + "properties": { + "actions": { + "properties": { + "actionRef": { + "type": "keyword" + }, + "actionTypeId": { + "type": "keyword" + }, + "group": { + "type": "keyword" + }, + "params": { + "enabled": false, + "type": "object" + } + }, + "type": "nested" + }, + "alertTypeId": { + "type": "keyword" + }, + "apiKey": { + "type": "binary" + }, + "apiKeyOwner": { + "type": "keyword" + }, + "consumer": { + "type": "keyword" + }, + "createdAt": { + "type": "date" + }, + "createdBy": { + "type": "keyword" + }, + "enabled": { + "type": "boolean" + }, + "executionStatus": { + "properties": { + "error": { + "properties": { + "message": { + "type": "keyword" + }, + "reason": { + "type": "keyword" + } + } + }, + "lastExecutionDate": { + "type": "date" + }, + "status": { + "type": "keyword" + } + } + }, + "meta": { + "properties": { + "versionApiKeyLastmodified": { + "type": "keyword" + } + } + }, + "muteAll": { + "type": "boolean" + }, + "mutedInstanceIds": { + "type": "keyword" + }, + "name": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "notifyWhen": { + "type": "keyword" + }, + "params": { + "ignore_above": 4096, + "type": "flattened" + }, + "schedule": { + "properties": { + "interval": { + "type": "keyword" + } + } + }, + "scheduledTaskId": { + "type": "keyword" + }, + "tags": { + "type": "keyword" + }, + "throttle": { + "type": "keyword" + }, + "updatedAt": { + "type": "date" + }, + "updatedBy": { + "type": "keyword" + } + } + }, + "api_key_pending_invalidation": { + "properties": { + "apiKeyId": { + "type": "keyword" + }, + "createdAt": { + "type": "date" + } + } + }, + "apm-indices": { + "properties": { + "apm_oss": { + "properties": { + "errorIndices": { + "type": "keyword" + }, + "metricsIndices": { + "type": "keyword" + }, + "onboardingIndices": { + "type": "keyword" + }, + "sourcemapIndices": { + "type": "keyword" + }, + "spanIndices": { + "type": "keyword" + }, + "transactionIndices": { + "type": "keyword" + } + } + } + } + }, + "apm-server-schema": { + "properties": { + "schemaJson": { + "index": false, + "type": "text" + } + } + }, + "apm-telemetry": { + "dynamic": "false", + "type": "object" + }, + "app_search_telemetry": { + "dynamic": "false", + "type": "object" + }, + "application_usage_daily": { + "dynamic": "false", + "properties": { + "timestamp": { + "type": "date" + } + } + }, + "application_usage_totals": { + "dynamic": "false", + "type": "object" + }, + "application_usage_transactional": { + "dynamic": "false", + "type": "object" + }, + "canvas-element": { + "dynamic": "false", + "properties": { + "@created": { + "type": "date" + }, + "@timestamp": { + "type": "date" + }, + "content": { + "type": "text" + }, + "help": { + "type": "text" + }, + "image": { + "type": "text" + }, + "name": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + } + } + }, + "canvas-workpad": { + "dynamic": "false", + "properties": { + "@created": { + "type": "date" + }, + "@timestamp": { + "type": "date" + }, + "name": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + } + } + }, + "canvas-workpad-template": { + "dynamic": "false", + "properties": { + "help": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "name": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "tags": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "template_key": { + "type": "keyword" + } + } + }, + "cases": { + "properties": { + "closed_at": { + "type": "date" + }, + "closed_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + }, + "connector": { + "properties": { + "fields": { + "properties": { + "key": { + "type": "text" + }, + "value": { + "type": "text" + } + } + }, + "name": { + "type": "text" + }, + "type": { + "type": "keyword" + } + } + }, + "created_at": { + "type": "date" + }, + "created_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + }, + "description": { + "type": "text" + }, + "external_service": { + "properties": { + "connector_name": { + "type": "keyword" + }, + "external_id": { + "type": "keyword" + }, + "external_title": { + "type": "text" + }, + "external_url": { + "type": "text" + }, + "pushed_at": { + "type": "date" + }, + "pushed_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + } + } + }, + "owner": { + "type": "keyword" + }, + "settings": { + "properties": { + "syncAlerts": { + "type": "boolean" + } + } + }, + "status": { + "type": "keyword" + }, + "tags": { + "type": "keyword" + }, + "title": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "updated_at": { + "type": "date" + }, + "updated_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + } + } + }, + "cases-comments": { + "properties": { + "actions": { + "properties": { + "targets": { + "properties": { + "endpointId": { + "type": "keyword" + }, + "hostname": { + "type": "keyword" + } + }, + "type": "nested" + }, + "type": { + "type": "keyword" + } + } + }, + "alertId": { + "type": "keyword" + }, + "associationType": { + "type": "keyword" + }, + "comment": { + "type": "text" + }, + "created_at": { + "type": "date" + }, + "created_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + }, + "index": { + "type": "keyword" + }, + "owner": { + "type": "keyword" + }, + "pushed_at": { + "type": "date" + }, + "pushed_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + }, + "rule": { + "properties": { + "id": { + "type": "keyword" + }, + "name": { + "type": "keyword" + } + } + }, + "type": { + "type": "keyword" + }, + "updated_at": { + "type": "date" + }, + "updated_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + } + } + }, + "cases-configure": { + "properties": { + "closure_type": { + "type": "keyword" + }, + "connector": { + "properties": { + "fields": { + "properties": { + "key": { + "type": "text" + }, + "value": { + "type": "text" + } + } + }, + "name": { + "type": "text" + }, + "type": { + "type": "keyword" + } + } + }, + "created_at": { + "type": "date" + }, + "created_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + }, + "owner": { + "type": "keyword" + }, + "updated_at": { + "type": "date" + }, + "updated_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + } + } + }, + "cases-connector-mappings": { + "properties": { + "mappings": { + "properties": { + "action_type": { + "type": "keyword" + }, + "source": { + "type": "keyword" + }, + "target": { + "type": "keyword" + } + } + }, + "owner": { + "type": "keyword" + } + } + }, + "cases-user-actions": { + "properties": { + "action": { + "type": "keyword" + }, + "action_at": { + "type": "date" + }, + "action_by": { + "properties": { + "email": { + "type": "keyword" + }, + "full_name": { + "type": "keyword" + }, + "username": { + "type": "keyword" + } + } + }, + "action_field": { + "type": "keyword" + }, + "new_value": { + "type": "text" + }, + "old_value": { + "type": "text" + }, + "owner": { + "type": "keyword" + } + } + }, + "config": { + "dynamic": "false", + "properties": { + "buildNum": { + "type": "keyword" + } + } + }, + "core-usage-stats": { + "dynamic": "false", + "type": "object" + }, + "coreMigrationVersion": { + "type": "keyword" + }, + "dashboard": { + "properties": { + "description": { + "type": "text" + }, + "hits": { + "doc_values": false, + "index": false, + "type": "integer" + }, + "kibanaSavedObjectMeta": { + "properties": { + "searchSourceJSON": { + "index": false, + "type": "text" + } + } + }, + "optionsJSON": { + "index": false, + "type": "text" + }, + "panelsJSON": { + "index": false, + "type": "text" + }, + "refreshInterval": { + "properties": { + "display": { + "doc_values": false, + "index": false, + "type": "keyword" + }, + "pause": { + "doc_values": false, + "index": false, + "type": "boolean" + }, + "section": { + "doc_values": false, + "index": false, + "type": "integer" + }, + "value": { + "doc_values": false, + "index": false, + "type": "integer" + } + } + }, + "timeFrom": { + "doc_values": false, + "index": false, + "type": "keyword" + }, + "timeRestore": { + "doc_values": false, + "index": false, + "type": "boolean" + }, + "timeTo": { + "doc_values": false, + "index": false, + "type": "keyword" + }, + "title": { + "type": "text" + }, + "version": { + "type": "integer" + } + } + }, + "endpoint:user-artifact": { + "properties": { + "body": { + "type": "binary" + }, + "compressionAlgorithm": { + "index": false, + "type": "keyword" + }, + "created": { + "index": false, + "type": "date" + }, + "decodedSha256": { + "index": false, + "type": "keyword" + }, + "decodedSize": { + "index": false, + "type": "long" + }, + "encodedSha256": { + "type": "keyword" + }, + "encodedSize": { + "index": false, + "type": "long" + }, + "encryptionAlgorithm": { + "index": false, + "type": "keyword" + }, + "identifier": { + "type": "keyword" + } + } + }, + "endpoint:user-artifact-manifest": { + "properties": { + "artifacts": { + "properties": { + "artifactId": { + "index": false, + "type": "keyword" + }, + "policyId": { + "index": false, + "type": "keyword" + } + }, + "type": "nested" + }, + "created": { + "index": false, + "type": "date" + }, + "schemaVersion": { + "type": "keyword" + }, + "semanticVersion": { + "index": false, + "type": "keyword" + } + } + }, + "enterprise_search_telemetry": { + "dynamic": "false", + "type": "object" + }, + "epm-packages": { + "properties": { + "es_index_patterns": { + "enabled": false, + "type": "object" + }, + "install_source": { + "type": "keyword" + }, + "install_started_at": { + "type": "date" + }, + "install_status": { + "type": "keyword" + }, + "install_version": { + "type": "keyword" + }, + "installed_es": { + "properties": { + "id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + }, + "type": "nested" + }, + "installed_kibana": { + "properties": { + "id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + }, + "type": "nested" + }, + "internal": { + "type": "boolean" + }, + "name": { + "type": "keyword" + }, + "package_assets": { + "properties": { + "id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + }, + "type": "nested" + }, + "removable": { + "type": "boolean" + }, + "version": { + "type": "keyword" + } + } + }, + "epm-packages-assets": { + "properties": { + "asset_path": { + "type": "keyword" + }, + "data_base64": { + "type": "binary" + }, + "data_utf8": { + "index": false, + "type": "text" + }, + "install_source": { + "type": "keyword" + }, + "media_type": { + "type": "keyword" + }, + "package_name": { + "type": "keyword" + }, + "package_version": { + "type": "keyword" + } + } + }, + "event_loop_delays_daily": { + "dynamic": "false", + "properties": { + "lastUpdatedAt": { + "type": "date" + } + } + }, + "exception-list": { + "properties": { + "_tags": { + "type": "keyword" + }, + "comments": { + "properties": { + "comment": { + "type": "keyword" + }, + "created_at": { + "type": "keyword" + }, + "created_by": { + "type": "keyword" + }, + "id": { + "type": "keyword" + }, + "updated_at": { + "type": "keyword" + }, + "updated_by": { + "type": "keyword" + } + } + }, + "created_at": { + "type": "keyword" + }, + "created_by": { + "type": "keyword" + }, + "description": { + "type": "keyword" + }, + "entries": { + "properties": { + "entries": { + "properties": { + "field": { + "type": "keyword" + }, + "operator": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "value": { + "fields": { + "text": { + "type": "text" + } + }, + "type": "keyword" + } + } + }, + "field": { + "type": "keyword" + }, + "list": { + "properties": { + "id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + } + }, + "operator": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "value": { + "fields": { + "text": { + "type": "text" + } + }, + "type": "keyword" + } + } + }, + "immutable": { + "type": "boolean" + }, + "item_id": { + "type": "keyword" + }, + "list_id": { + "type": "keyword" + }, + "list_type": { + "type": "keyword" + }, + "meta": { + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "type": "text" + } + }, + "type": "keyword" + }, + "os_types": { + "type": "keyword" + }, + "tags": { + "fields": { + "text": { + "type": "text" + } + }, + "type": "keyword" + }, + "tie_breaker_id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "updated_by": { + "type": "keyword" + }, + "version": { + "type": "keyword" + } + } + }, + "exception-list-agnostic": { + "properties": { + "_tags": { + "type": "keyword" + }, + "comments": { + "properties": { + "comment": { + "type": "keyword" + }, + "created_at": { + "type": "keyword" + }, + "created_by": { + "type": "keyword" + }, + "id": { + "type": "keyword" + }, + "updated_at": { + "type": "keyword" + }, + "updated_by": { + "type": "keyword" + } + } + }, + "created_at": { + "type": "keyword" + }, + "created_by": { + "type": "keyword" + }, + "description": { + "type": "keyword" + }, + "entries": { + "properties": { + "entries": { + "properties": { + "field": { + "type": "keyword" + }, + "operator": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "value": { + "fields": { + "text": { + "type": "text" + } + }, + "type": "keyword" + } + } + }, + "field": { + "type": "keyword" + }, + "list": { + "properties": { + "id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + } + }, + "operator": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "value": { + "fields": { + "text": { + "type": "text" + } + }, + "type": "keyword" + } + } + }, + "immutable": { + "type": "boolean" + }, + "item_id": { + "type": "keyword" + }, + "list_id": { + "type": "keyword" + }, + "list_type": { + "type": "keyword" + }, + "meta": { + "type": "keyword" + }, + "name": { + "fields": { + "text": { + "type": "text" + } + }, + "type": "keyword" + }, + "os_types": { + "type": "keyword" + }, + "tags": { + "fields": { + "text": { + "type": "text" + } + }, + "type": "keyword" + }, + "tie_breaker_id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "updated_by": { + "type": "keyword" + }, + "version": { + "type": "keyword" + } + } + }, + "file-upload-usage-collection-telemetry": { + "properties": { + "file_upload": { + "properties": { + "index_creation_count": { + "type": "long" + } + } + } + } + }, + "fleet-agent-actions": { + "properties": { + "ack_data": { + "type": "text" + }, + "agent_id": { + "type": "keyword" + }, + "created_at": { + "type": "date" + }, + "data": { + "type": "binary" + }, + "policy_id": { + "type": "keyword" + }, + "policy_revision": { + "type": "integer" + }, + "sent_at": { + "type": "date" + }, + "type": { + "type": "keyword" + } + } + }, + "fleet-agents": { + "properties": { + "access_api_key_id": { + "type": "keyword" + }, + "active": { + "type": "boolean" + }, + "current_error_events": { + "index": false, + "type": "text" + }, + "default_api_key": { + "type": "binary" + }, + "default_api_key_id": { + "type": "keyword" + }, + "enrolled_at": { + "type": "date" + }, + "last_checkin": { + "type": "date" + }, + "last_checkin_status": { + "type": "keyword" + }, + "last_updated": { + "type": "date" + }, + "local_metadata": { + "type": "flattened" + }, + "packages": { + "type": "keyword" + }, + "policy_id": { + "type": "keyword" + }, + "policy_revision": { + "type": "integer" + }, + "type": { + "type": "keyword" + }, + "unenrolled_at": { + "type": "date" + }, + "unenrollment_started_at": { + "type": "date" + }, + "updated_at": { + "type": "date" + }, + "upgrade_started_at": { + "type": "date" + }, + "upgraded_at": { + "type": "date" + }, + "user_provided_metadata": { + "type": "flattened" + }, + "version": { + "type": "keyword" + } + } + }, + "fleet-enrollment-api-keys": { + "properties": { + "active": { + "type": "boolean" + }, + "api_key": { + "type": "binary" + }, + "api_key_id": { + "type": "keyword" + }, + "created_at": { + "type": "date" + }, + "expire_at": { + "type": "date" + }, + "name": { + "type": "keyword" + }, + "policy_id": { + "type": "keyword" + }, + "type": { + "type": "keyword" + }, + "updated_at": { + "type": "date" + } + } + }, + "fleet-preconfiguration-deletion-record": { + "properties": { + "id": { + "type": "keyword" + } + } + }, + "graph-workspace": { + "properties": { + "description": { + "type": "text" + }, + "kibanaSavedObjectMeta": { + "properties": { + "searchSourceJSON": { + "type": "text" + } + } + }, + "legacyIndexPatternRef": { + "index": false, + "type": "text" + }, + "numLinks": { + "type": "integer" + }, + "numVertices": { + "type": "integer" + }, + "title": { + "type": "text" + }, + "version": { + "type": "integer" + }, + "wsState": { + "type": "text" + } + } + }, + "index-pattern": { + "dynamic": "false", + "properties": { + "title": { + "type": "text" + }, + "type": { + "type": "keyword" + } + } + }, + "infrastructure-ui-source": { + "dynamic": "false", + "type": "object" + }, + "ingest-agent-policies": { + "properties": { + "description": { + "type": "text" + }, + "is_default": { + "type": "boolean" + }, + "is_default_fleet_server": { + "type": "boolean" + }, + "is_managed": { + "type": "boolean" + }, + "is_preconfigured": { + "type": "keyword" + }, + "monitoring_enabled": { + "index": false, + "type": "keyword" + }, + "name": { + "type": "keyword" + }, + "namespace": { + "type": "keyword" + }, + "package_policies": { + "type": "keyword" + }, + "revision": { + "type": "integer" + }, + "status": { + "type": "keyword" + }, + "unenroll_timeout": { + "type": "integer" + }, + "updated_at": { + "type": "date" + }, + "updated_by": { + "type": "keyword" + } + } + }, + "ingest-outputs": { + "properties": { + "ca_sha256": { + "index": false, + "type": "keyword" + }, + "config": { + "type": "flattened" + }, + "config_yaml": { + "type": "text" + }, + "hosts": { + "type": "keyword" + }, + "is_default": { + "type": "boolean" + }, + "name": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + } + }, + "ingest-package-policies": { + "properties": { + "created_at": { + "type": "date" + }, + "created_by": { + "type": "keyword" + }, + "description": { + "type": "text" + }, + "enabled": { + "type": "boolean" + }, + "inputs": { + "enabled": false, + "properties": { + "compiled_input": { + "type": "flattened" + }, + "config": { + "type": "flattened" + }, + "enabled": { + "type": "boolean" + }, + "policy_template": { + "type": "keyword" + }, + "streams": { + "properties": { + "compiled_stream": { + "type": "flattened" + }, + "config": { + "type": "flattened" + }, + "data_stream": { + "properties": { + "dataset": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + } + }, + "enabled": { + "type": "boolean" + }, + "id": { + "type": "keyword" + }, + "vars": { + "type": "flattened" + } + }, + "type": "nested" + }, + "type": { + "type": "keyword" + }, + "vars": { + "type": "flattened" + } + }, + "type": "nested" + }, + "name": { + "type": "keyword" + }, + "namespace": { + "type": "keyword" + }, + "output_id": { + "type": "keyword" + }, + "package": { + "properties": { + "name": { + "type": "keyword" + }, + "title": { + "type": "keyword" + }, + "version": { + "type": "keyword" + } + } + }, + "policy_id": { + "type": "keyword" + }, + "revision": { + "type": "integer" + }, + "updated_at": { + "type": "date" + }, + "updated_by": { + "type": "keyword" + }, + "vars": { + "type": "flattened" + } + } + }, + "ingest_manager_settings": { + "properties": { + "fleet_server_hosts": { + "type": "keyword" + }, + "has_seen_add_data_notice": { + "index": false, + "type": "boolean" + }, + "has_seen_fleet_migration_notice": { + "index": false, + "type": "boolean" + } + } + }, + "inventory-view": { + "dynamic": "false", + "type": "object" + }, + "kql-telemetry": { + "properties": { + "optInCount": { + "type": "long" + }, + "optOutCount": { + "type": "long" + } + } + }, + "legacy-url-alias": { + "dynamic": "false", + "properties": { + "disabled": { + "type": "boolean" + }, + "resolveCounter": { + "type": "long" + }, + "sourceId": { + "type": "keyword" + }, + "targetType": { + "type": "keyword" + } + } + }, + "lens": { + "properties": { + "description": { + "type": "text" + }, + "expression": { + "doc_values": false, + "index": false, + "type": "keyword" + }, + "state": { + "type": "flattened" + }, + "title": { + "type": "text" + }, + "visualizationType": { + "type": "keyword" + } + } + }, + "lens-ui-telemetry": { + "properties": { + "count": { + "type": "integer" + }, + "date": { + "type": "date" + }, + "name": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + } + }, + "map": { + "properties": { + "bounds": { + "dynamic": "false", + "type": "object" + }, + "description": { + "type": "text" + }, + "layerListJSON": { + "type": "text" + }, + "mapStateJSON": { + "type": "text" + }, + "title": { + "type": "text" + }, + "uiStateJSON": { + "type": "text" + }, + "version": { + "type": "integer" + } + } + }, + "maps-telemetry": { + "enabled": false, + "type": "object" + }, + "metrics-explorer-view": { + "dynamic": "false", + "type": "object" + }, + "migrationVersion": { + "dynamic": "true", + "properties": { + "config": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "core-usage-stats": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "dashboard": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "epm-packages": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "exception-list-agnostic": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "index-pattern": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "ingest-agent-policies": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "ingest-outputs": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "ingest-package-policies": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "ingest_manager_settings": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "lens": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "search": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "search-session": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "search-telemetry": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "space": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "spaces-usage-stats": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "visualization": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + } + } + }, + "ml-job": { + "properties": { + "datafeed_id": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "job_id": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "type": { + "type": "keyword" + } + } + }, + "ml-module": { + "dynamic": "false", + "properties": { + "datafeeds": { + "type": "object" + }, + "defaultIndexPattern": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "description": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "id": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "jobs": { + "type": "object" + }, + "logo": { + "type": "object" + }, + "query": { + "type": "object" + }, + "title": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + }, + "type": { + "fields": { + "keyword": { + "type": "keyword" + } + }, + "type": "text" + } + } + }, + "monitoring-telemetry": { + "properties": { + "reportedClusterUuids": { + "type": "keyword" + } + } + }, + "namespace": { + "type": "keyword" + }, + "namespaces": { + "type": "keyword" + }, + "originId": { + "type": "keyword" + }, + "osquery-manager-usage-metric": { + "properties": { + "count": { + "type": "long" + }, + "errors": { + "type": "long" + } + } + }, + "osquery-saved-query": { + "properties": { + "created_at": { + "type": "date" + }, + "created_by": { + "type": "text" + }, + "description": { + "type": "text" + }, + "id": { + "type": "keyword" + }, + "interval": { + "type": "keyword" + }, + "platform": { + "type": "keyword" + }, + "query": { + "type": "text" + }, + "updated_at": { + "type": "date" + }, + "updated_by": { + "type": "text" + }, + "version": { + "type": "keyword" + } + } + }, + "query": { + "properties": { + "description": { + "type": "text" + }, + "filters": { + "enabled": false, + "type": "object" + }, + "query": { + "properties": { + "language": { + "type": "keyword" + }, + "query": { + "index": false, + "type": "keyword" + } + } + }, + "timefilter": { + "enabled": false, + "type": "object" + }, + "title": { + "type": "text" + } + } + }, + "references": { + "properties": { + "id": { + "type": "keyword" + }, + "name": { + "type": "keyword" + }, + "type": { + "type": "keyword" + } + }, + "type": "nested" + }, + "sample-data-telemetry": { + "properties": { + "installCount": { + "type": "long" + }, + "unInstallCount": { + "type": "long" + } + } + }, + "search": { + "properties": { + "columns": { + "doc_values": false, + "index": false, + "type": "keyword" + }, + "description": { + "type": "text" + }, + "grid": { + "enabled": false, + "type": "object" + }, + "hideChart": { + "doc_values": false, + "index": false, + "type": "boolean" + }, + "hits": { + "doc_values": false, + "index": false, + "type": "integer" + }, + "kibanaSavedObjectMeta": { + "properties": { + "searchSourceJSON": { + "index": false, + "type": "text" + } + } + }, + "sort": { + "doc_values": false, + "index": false, + "type": "keyword" + }, + "title": { + "type": "text" + }, + "version": { + "type": "integer" + } + } + }, + "search-session": { + "properties": { + "appId": { + "type": "keyword" + }, + "completed": { + "type": "date" + }, + "created": { + "type": "date" + }, + "expires": { + "type": "date" + }, + "idMapping": { + "enabled": false, + "type": "object" + }, + "initialState": { + "enabled": false, + "type": "object" + }, + "name": { + "type": "keyword" + }, + "persisted": { + "type": "boolean" + }, + "realmName": { + "type": "keyword" + }, + "realmType": { + "type": "keyword" + }, + "restoreState": { + "enabled": false, + "type": "object" + }, + "sessionId": { + "type": "keyword" + }, + "status": { + "type": "keyword" + }, + "touched": { + "type": "date" + }, + "urlGeneratorId": { + "type": "keyword" + }, + "username": { + "type": "keyword" + }, + "version": { + "type": "keyword" + } + } + }, + "search-telemetry": { + "dynamic": "false", + "type": "object" + }, + "security-rule": { + "dynamic": "false", + "properties": { + "name": { + "type": "keyword" + }, + "rule_id": { + "type": "keyword" + }, + "version": { + "type": "long" + } + } + }, + "security-solution-signals-migration": { + "properties": { + "created": { + "index": false, + "type": "date" + }, + "createdBy": { + "index": false, + "type": "text" + }, + "destinationIndex": { + "index": false, + "type": "keyword" + }, + "error": { + "index": false, + "type": "text" + }, + "sourceIndex": { + "type": "keyword" + }, + "status": { + "index": false, + "type": "keyword" + }, + "taskId": { + "index": false, + "type": "keyword" + }, + "updated": { + "index": false, + "type": "date" + }, + "updatedBy": { + "index": false, + "type": "text" + }, + "version": { + "type": "long" + } + } + }, + "siem-detection-engine-rule-actions": { + "properties": { + "actions": { + "properties": { + "action_type_id": { + "type": "keyword" + }, + "group": { + "type": "keyword" + }, + "id": { + "type": "keyword" + }, + "params": { + "enabled": false, + "type": "object" + } + } + }, + "alertThrottle": { + "type": "keyword" + }, + "ruleAlertId": { + "type": "keyword" + }, + "ruleThrottle": { + "type": "keyword" + } + } + }, + "siem-detection-engine-rule-status": { + "properties": { + "alertId": { + "type": "keyword" + }, + "bulkCreateTimeDurations": { + "type": "float" + }, + "gap": { + "type": "text" + }, + "lastFailureAt": { + "type": "date" + }, + "lastFailureMessage": { + "type": "text" + }, + "lastLookBackDate": { + "type": "date" + }, + "lastSuccessAt": { + "type": "date" + }, + "lastSuccessMessage": { + "type": "text" + }, + "searchAfterTimeDurations": { + "type": "float" + }, + "status": { + "type": "keyword" + }, + "statusDate": { + "type": "date" + } + } + }, + "siem-ui-timeline": { + "properties": { + "columns": { + "properties": { + "aggregatable": { + "type": "boolean" + }, + "category": { + "type": "keyword" + }, + "columnHeaderType": { + "type": "keyword" + }, + "description": { + "type": "text" + }, + "example": { + "type": "text" + }, + "id": { + "type": "keyword" + }, + "indexes": { + "type": "keyword" + }, + "name": { + "type": "text" + }, + "placeholder": { + "type": "text" + }, + "searchable": { + "type": "boolean" + }, + "type": { + "type": "keyword" + } + } + }, + "created": { + "type": "date" + }, + "createdBy": { + "type": "text" + }, + "dataProviders": { + "properties": { + "and": { + "properties": { + "enabled": { + "type": "boolean" + }, + "excluded": { + "type": "boolean" + }, + "id": { + "type": "keyword" + }, + "kqlQuery": { + "type": "text" + }, + "name": { + "type": "text" + }, + "queryMatch": { + "properties": { + "displayField": { + "type": "text" + }, + "displayValue": { + "type": "text" + }, + "field": { + "type": "text" + }, + "operator": { + "type": "text" + }, + "value": { + "type": "text" + } + } + }, + "type": { + "type": "text" + } + } + }, + "enabled": { + "type": "boolean" + }, + "excluded": { + "type": "boolean" + }, + "id": { + "type": "keyword" + }, + "kqlQuery": { + "type": "text" + }, + "name": { + "type": "text" + }, + "queryMatch": { + "properties": { + "displayField": { + "type": "text" + }, + "displayValue": { + "type": "text" + }, + "field": { + "type": "text" + }, + "operator": { + "type": "text" + }, + "value": { + "type": "text" + } + } + }, + "type": { + "type": "text" + } + } + }, + "dateRange": { + "properties": { + "end": { + "type": "date" + }, + "start": { + "type": "date" + } + } + }, + "description": { + "type": "text" + }, + "eqlOptions": { + "properties": { + "eventCategoryField": { + "type": "text" + }, + "query": { + "type": "text" + }, + "size": { + "type": "text" + }, + "tiebreakerField": { + "type": "text" + }, + "timestampField": { + "type": "text" + } + } + }, + "eventType": { + "type": "keyword" + }, + "excludedRowRendererIds": { + "type": "text" + }, + "favorite": { + "properties": { + "favoriteDate": { + "type": "date" + }, + "fullName": { + "type": "text" + }, + "keySearch": { + "type": "text" + }, + "userName": { + "type": "text" + } + } + }, + "filters": { + "properties": { + "exists": { + "type": "text" + }, + "match_all": { + "type": "text" + }, + "meta": { + "properties": { + "alias": { + "type": "text" + }, + "controlledBy": { + "type": "text" + }, + "disabled": { + "type": "boolean" + }, + "field": { + "type": "text" + }, + "formattedValue": { + "type": "text" + }, + "index": { + "type": "keyword" + }, + "key": { + "type": "keyword" + }, + "negate": { + "type": "boolean" + }, + "params": { + "type": "text" + }, + "type": { + "type": "keyword" + }, + "value": { + "type": "text" + } + } + }, + "missing": { + "type": "text" + }, + "query": { + "type": "text" + }, + "range": { + "type": "text" + }, + "script": { + "type": "text" + } + } + }, + "indexNames": { + "type": "text" + }, + "kqlMode": { + "type": "keyword" + }, + "kqlQuery": { + "properties": { + "filterQuery": { + "properties": { + "kuery": { + "properties": { + "expression": { + "type": "text" + }, + "kind": { + "type": "keyword" + } + } + }, + "serializedQuery": { + "type": "text" + } + } + } + } + }, + "savedQueryId": { + "type": "keyword" + }, + "sort": { + "dynamic": "false", + "properties": { + "columnId": { + "type": "keyword" + }, + "columnType": { + "type": "keyword" + }, + "sortDirection": { + "type": "keyword" + } + } + }, + "status": { + "type": "keyword" + }, + "templateTimelineId": { + "type": "text" + }, + "templateTimelineVersion": { + "type": "integer" + }, + "timelineType": { + "type": "keyword" + }, + "title": { + "type": "text" + }, + "updated": { + "type": "date" + }, + "updatedBy": { + "type": "text" + } + } + }, + "siem-ui-timeline-note": { + "properties": { + "created": { + "type": "date" + }, + "createdBy": { + "type": "text" + }, + "eventId": { + "type": "keyword" + }, + "note": { + "type": "text" + }, + "timelineId": { + "type": "keyword" + }, + "updated": { + "type": "date" + }, + "updatedBy": { + "type": "text" + } + } + }, + "siem-ui-timeline-pinned-event": { + "properties": { + "created": { + "type": "date" + }, + "createdBy": { + "type": "text" + }, + "eventId": { + "type": "keyword" + }, + "timelineId": { + "type": "keyword" + }, + "updated": { + "type": "date" + }, + "updatedBy": { + "type": "text" + } + } + }, + "space": { + "properties": { + "_reserved": { + "type": "boolean" + }, + "color": { + "type": "keyword" + }, + "description": { + "type": "text" + }, + "disabledFeatures": { + "type": "keyword" + }, + "imageUrl": { + "index": false, + "type": "text" + }, + "initials": { + "type": "keyword" + }, + "name": { + "fields": { + "keyword": { + "ignore_above": 2048, + "type": "keyword" + } + }, + "type": "text" + } + } + }, + "spaces-usage-stats": { + "dynamic": "false", + "type": "object" + }, + "tag": { + "properties": { + "color": { + "type": "text" + }, + "description": { + "type": "text" + }, + "name": { + "type": "text" + } + } + }, + "telemetry": { + "properties": { + "allowChangingOptInStatus": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "lastReported": { + "type": "date" + }, + "lastVersionChecked": { + "type": "keyword" + }, + "reportFailureCount": { + "type": "integer" + }, + "reportFailureVersion": { + "type": "keyword" + }, + "sendUsageFrom": { + "type": "keyword" + }, + "userHasSeenNotice": { + "type": "boolean" + } + } + }, + "timelion-sheet": { + "properties": { + "description": { + "type": "text" + }, + "hits": { + "type": "integer" + }, + "kibanaSavedObjectMeta": { + "properties": { + "searchSourceJSON": { + "type": "text" + } + } + }, + "timelion_chart_height": { + "type": "integer" + }, + "timelion_columns": { + "type": "integer" + }, + "timelion_interval": { + "type": "keyword" + }, + "timelion_other_interval": { + "type": "keyword" + }, + "timelion_rows": { + "type": "integer" + }, + "timelion_sheet": { + "type": "text" + }, + "title": { + "type": "text" + }, + "version": { + "type": "integer" + } + } + }, + "type": { + "type": "keyword" + }, + "ui-counter": { + "properties": { + "count": { + "type": "integer" + } + } + }, + "ui-metric": { + "properties": { + "count": { + "type": "integer" + } + } + }, + "updated_at": { + "type": "date" + }, + "upgrade-assistant-ml-upgrade-operation": { + "properties": { + "jobId": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "nodeId": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "snapshotId": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "status": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + } + } + }, + "upgrade-assistant-reindex-operation": { + "properties": { + "errorMessage": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "indexName": { + "type": "keyword" + }, + "lastCompletedStep": { + "type": "long" + }, + "locked": { + "type": "date" + }, + "newIndexName": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "reindexOptions": { + "properties": { + "openAndClose": { + "type": "boolean" + }, + "queueSettings": { + "properties": { + "queuedAt": { + "type": "long" + }, + "startedAt": { + "type": "long" + } + } + } + } + }, + "reindexTaskId": { + "fields": { + "keyword": { + "ignore_above": 256, + "type": "keyword" + } + }, + "type": "text" + }, + "reindexTaskPercComplete": { + "type": "float" + }, + "runningReindexCount": { + "type": "integer" + }, + "status": { + "type": "integer" + } + } + }, + "upgrade-assistant-telemetry": { + "properties": { + "features": { + "properties": { + "deprecation_logging": { + "properties": { + "enabled": { + "null_value": true, + "type": "boolean" + } + } + } + } + }, + "ui_open": { + "properties": { + "cluster": { + "null_value": 0, + "type": "long" + }, + "indices": { + "null_value": 0, + "type": "long" + }, + "kibana": { + "null_value": 0, + "type": "long" + }, + "overview": { + "null_value": 0, + "type": "long" + } + } + }, + "ui_reindex": { + "properties": { + "close": { + "null_value": 0, + "type": "long" + }, + "open": { + "null_value": 0, + "type": "long" + }, + "start": { + "null_value": 0, + "type": "long" + }, + "stop": { + "null_value": 0, + "type": "long" + } + } + } + } + }, + "uptime-dynamic-settings": { + "dynamic": "false", + "type": "object" + }, + "url": { + "properties": { + "accessCount": { + "type": "long" + }, + "accessDate": { + "type": "date" + }, + "createDate": { + "type": "date" + }, + "url": { + "fields": { + "keyword": { + "ignore_above": 2048, + "type": "keyword" + } + }, + "type": "text" + } + } + }, + "usage-counters": { + "dynamic": "false", + "properties": { + "domainId": { + "type": "keyword" + } + } + }, + "visualization": { + "properties": { + "description": { + "type": "text" + }, + "kibanaSavedObjectMeta": { + "properties": { + "searchSourceJSON": { + "index": false, + "type": "text" + } + } + }, + "savedSearchRefName": { + "doc_values": false, + "index": false, + "type": "keyword" + }, + "title": { + "type": "text" + }, + "uiStateJSON": { + "index": false, + "type": "text" + }, + "version": { + "type": "integer" + }, + "visState": { + "index": false, + "type": "text" + } + } + }, + "workplace_search_telemetry": { + "dynamic": "false", + "type": "object" + } + } + }, + "settings": { + "index": { + "auto_expand_replicas": "0-1", + "number_of_replicas": "1", + "number_of_shards": "1", + "priority": "10", + "refresh_interval": "1s" + } + } + } +} \ No newline at end of file diff --git a/x-pack/test/functional/page_objects/infra_home_page.ts b/x-pack/test/functional/page_objects/infra_home_page.ts index 0790c694e772c..726668e3b1b0a 100644 --- a/x-pack/test/functional/page_objects/infra_home_page.ts +++ b/x-pack/test/functional/page_objects/infra_home_page.ts @@ -141,7 +141,7 @@ export function InfraHomePageProvider({ getService, getPageObjects }: FtrProvide }, async getNoMetricsIndicesPrompt() { - return await testSubjects.find('noMetricsIndicesPrompt'); + return await testSubjects.find('noDataPage'); }, async getNoMetricsDataPrompt() { diff --git a/x-pack/test/functional/services/logs_ui/log_entry_categories.ts b/x-pack/test/functional/services/logs_ui/log_entry_categories.ts index b244360ce4ce4..0aec1cbea2210 100644 --- a/x-pack/test/functional/services/logs_ui/log_entry_categories.ts +++ b/x-pack/test/functional/services/logs_ui/log_entry_categories.ts @@ -17,6 +17,10 @@ export function LogEntryCategoriesPageProvider({ getPageObjects, getService }: F await pageObjects.infraLogs.navigateToTab('log-categories'); }, + async getNoDataScreen(): Promise<WebElementWrapper> { + return await testSubjects.find('noDataPage'); + }, + async getSetupScreen(): Promise<WebElementWrapper> { return await testSubjects.find('logEntryCategoriesSetupPage'); }, diff --git a/x-pack/test/functional/services/logs_ui/log_entry_rate.ts b/x-pack/test/functional/services/logs_ui/log_entry_rate.ts index e517fd76a06dc..6be84edeb1940 100644 --- a/x-pack/test/functional/services/logs_ui/log_entry_rate.ts +++ b/x-pack/test/functional/services/logs_ui/log_entry_rate.ts @@ -20,5 +20,9 @@ export function LogEntryRatePageProvider({ getPageObjects, getService }: FtrProv async getSetupScreen(): Promise<WebElementWrapper> { return await testSubjects.find('logEntryRateSetupPage'); }, + + async getNoDataScreen() { + return await testSubjects.find('noDataPage'); + }, }; } diff --git a/x-pack/test/functional/services/logs_ui/log_stream.ts b/x-pack/test/functional/services/logs_ui/log_stream.ts index 89afae57507d9..214290bd21ef4 100644 --- a/x-pack/test/functional/services/logs_ui/log_stream.ts +++ b/x-pack/test/functional/services/logs_ui/log_stream.ts @@ -46,5 +46,9 @@ export function LogStreamPageProvider({ getPageObjects, getService }: FtrProvide async getNoLogsIndicesPrompt() { return await testSubjects.find('noLogsIndicesPrompt'); }, + + async getNoDataPage() { + return await testSubjects.find('noDataPage'); + }, }; } diff --git a/x-pack/test/functional/services/transform/api.ts b/x-pack/test/functional/services/transform/api.ts index 484d794aac879..73dff415832f6 100644 --- a/x-pack/test/functional/services/transform/api.ts +++ b/x-pack/test/functional/services/transform/api.ts @@ -234,6 +234,11 @@ export function TransformAPIProvider({ getService }: FtrProviderContext) { await esSupertest.post(`/_transform/${transformId}/_start`).expect(200); }, + async stopTransform(transformId: string) { + log.debug(`Stopping transform '${transformId}' ...`); + await esSupertest.post(`/_transform/${transformId}/_stop`).expect(200); + }, + async createAndRunTransform(transformId: string, transformConfig: PutTransformsRequestSchema) { await this.createTransform(transformId, transformConfig); await this.startTransform(transformId); diff --git a/x-pack/test/plugin_api_integration/config.ts b/x-pack/test/plugin_api_integration/config.ts index cd13186a69cc6..0a9535df5a9f3 100644 --- a/x-pack/test/plugin_api_integration/config.ts +++ b/x-pack/test/plugin_api_integration/config.ts @@ -38,7 +38,6 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { ...integrationConfig.get('kbnTestServer'), serverArgs: [ ...integrationConfig.get('kbnTestServer.serverArgs'), - '--xpack.eventLog.enabled=true', '--xpack.eventLog.logEntries=true', '--xpack.eventLog.indexEntries=true', '--xpack.task_manager.monitored_aggregated_stats_refresh_rate=5000', diff --git a/x-pack/test/plugin_api_integration/plugins/event_log/server/init_routes.ts b/x-pack/test/plugin_api_integration/plugins/event_log/server/init_routes.ts index 5c27ffe62a48d..805feee159f27 100644 --- a/x-pack/test/plugin_api_integration/plugins/event_log/server/init_routes.ts +++ b/x-pack/test/plugin_api_integration/plugins/event_log/server/init_routes.ts @@ -179,7 +179,7 @@ export const isEventLogServiceEnabledRoute = ( res: KibanaResponseFactory ): Promise<IKibanaResponse<any>> { logger.info(`test if event logger is enabled`); - return res.ok({ body: { isEnabled: eventLogService.isEnabled() } }); + return res.ok({ body: { isEnabled: true } }); } ); }; diff --git a/x-pack/test/plugin_api_integration/test_suites/event_log/service_api_integration.ts b/x-pack/test/plugin_api_integration/test_suites/event_log/service_api_integration.ts index 4c624cdbdda63..2c8564df02e0b 100644 --- a/x-pack/test/plugin_api_integration/test_suites/event_log/service_api_integration.ts +++ b/x-pack/test/plugin_api_integration/test_suites/event_log/service_api_integration.ts @@ -19,14 +19,6 @@ export default function ({ getService }: FtrProviderContext) { const retry = getService('retry'); describe('Event Log service API', () => { - it('should check if it is enabled', async () => { - const configValue = config - .get('kbnTestServer.serverArgs') - .find((val: string) => val === '--xpack.eventLog.enabled=true'); - const result = await isEventLogServiceEnabled(); - expect(configValue).to.be.eql(`--xpack.eventLog.enabled=${result.body.isEnabled}`); - }); - it('should check if logging entries is enabled', async () => { const configValue = config .get('kbnTestServer.serverArgs') @@ -216,14 +208,6 @@ export default function ({ getService }: FtrProviderContext) { .expect(200); } - async function isEventLogServiceEnabled() { - log.debug(`isEventLogServiceEnabled`); - return await supertest - .get(`/api/log_event_fixture/isEventLogServiceEnabled`) - .set('kbn-xsrf', 'foo') - .expect(200); - } - async function isEventLogServiceLoggingEntries() { log.debug(`isEventLogServiceLoggingEntries`); return await supertest diff --git a/x-pack/test/rule_registry/common/config.ts b/x-pack/test/rule_registry/common/config.ts index 487af84141d20..9cce58c30f6e9 100644 --- a/x-pack/test/rule_registry/common/config.ts +++ b/x-pack/test/rule_registry/common/config.ts @@ -83,7 +83,7 @@ export function createTestConfig(name: string, options: CreateTestConfigOptions) // TO DO: Remove feature flags once we're good to go '--xpack.securitySolution.enableExperimental=["ruleRegistryEnabled"]', '--xpack.ruleRegistry.write.enabled=true', - `--server.xsrf.whitelist=${JSON.stringify(getAllExternalServiceSimulatorPaths())}`, + `--server.xsrf.allowlist=${JSON.stringify(getAllExternalServiceSimulatorPaths())}`, ...(ssl ? [ `--elasticsearch.hosts=${servers.elasticsearch.protocol}://${servers.elasticsearch.hostname}:${servers.elasticsearch.port}`, diff --git a/x-pack/test/security_solution_cypress/runner.ts b/x-pack/test/security_solution_cypress/runner.ts index f93e20ec382cd..4283b85af0c17 100644 --- a/x-pack/test/security_solution_cypress/runner.ts +++ b/x-pack/test/security_solution_cypress/runner.ts @@ -26,22 +26,10 @@ export async function SecuritySolutionCypressCliTestRunner({ getService }: FtrPr cwd: resolve(__dirname, '../../plugins/security_solution'), env: { FORCE_COLOR: '1', - // eslint-disable-next-line @typescript-eslint/naming-convention - CYPRESS_baseUrl: Url.format(config.get('servers.kibana')), - // eslint-disable-next-line @typescript-eslint/naming-convention - CYPRESS_protocol: config.get('servers.kibana.protocol'), - // eslint-disable-next-line @typescript-eslint/naming-convention - CYPRESS_hostname: config.get('servers.kibana.hostname'), - // eslint-disable-next-line @typescript-eslint/naming-convention - CYPRESS_configport: config.get('servers.kibana.port'), + CYPRESS_BASE_URL: Url.format(config.get('servers.kibana')), CYPRESS_ELASTICSEARCH_URL: Url.format(config.get('servers.elasticsearch')), CYPRESS_ELASTICSEARCH_USERNAME: config.get('servers.elasticsearch.username'), CYPRESS_ELASTICSEARCH_PASSWORD: config.get('servers.elasticsearch.password'), - CYPRESS_KIBANA_URL: Url.format({ - protocol: config.get('servers.kibana.protocol'), - hostname: config.get('servers.kibana.hostname'), - port: config.get('servers.kibana.port'), - }), ...process.env, }, wait: true, @@ -65,22 +53,10 @@ export async function SecuritySolutionCypressCliFirefoxTestRunner({ cwd: resolve(__dirname, '../../plugins/security_solution'), env: { FORCE_COLOR: '1', - // eslint-disable-next-line @typescript-eslint/naming-convention - CYPRESS_baseUrl: Url.format(config.get('servers.kibana')), - // eslint-disable-next-line @typescript-eslint/naming-convention - CYPRESS_protocol: config.get('servers.kibana.protocol'), - // eslint-disable-next-line @typescript-eslint/naming-convention - CYPRESS_hostname: config.get('servers.kibana.hostname'), - // eslint-disable-next-line @typescript-eslint/naming-convention - CYPRESS_configport: config.get('servers.kibana.port'), + CYPRESS_BASE_URL: Url.format(config.get('servers.kibana')), CYPRESS_ELASTICSEARCH_URL: Url.format(config.get('servers.elasticsearch')), CYPRESS_ELASTICSEARCH_USERNAME: config.get('servers.elasticsearch.username'), CYPRESS_ELASTICSEARCH_PASSWORD: config.get('servers.elasticsearch.password'), - CYPRESS_KIBANA_URL: Url.format({ - protocol: config.get('servers.kibana.protocol'), - hostname: config.get('servers.kibana.hostname'), - port: config.get('servers.kibana.port'), - }), ...process.env, }, wait: true, @@ -126,22 +102,10 @@ export async function SecuritySolutionCypressVisualTestRunner({ getService }: Ft cwd: resolve(__dirname, '../../plugins/security_solution'), env: { FORCE_COLOR: '1', - // eslint-disable-next-line @typescript-eslint/naming-convention - CYPRESS_baseUrl: Url.format(config.get('servers.kibana')), - // eslint-disable-next-line @typescript-eslint/naming-convention - CYPRESS_protocol: config.get('servers.kibana.protocol'), - // eslint-disable-next-line @typescript-eslint/naming-convention - CYPRESS_hostname: config.get('servers.kibana.hostname'), - // eslint-disable-next-line @typescript-eslint/naming-convention - CYPRESS_configport: config.get('servers.kibana.port'), + CYPRESS_BASE_URL: Url.format(config.get('servers.kibana')), CYPRESS_ELASTICSEARCH_URL: Url.format(config.get('servers.elasticsearch')), CYPRESS_ELASTICSEARCH_USERNAME: config.get('servers.elasticsearch.username'), CYPRESS_ELASTICSEARCH_PASSWORD: config.get('servers.elasticsearch.password'), - CYPRESS_KIBANA_URL: Url.format({ - protocol: config.get('servers.kibana.protocol'), - hostname: config.get('servers.kibana.hostname'), - port: config.get('servers.kibana.port'), - }), ...process.env, }, wait: true, @@ -153,6 +117,7 @@ export async function SecuritySolutionCypressUpgradeCliTestRunner({ getService, }: FtrProviderContext) { const log = getService('log'); + const config = getService('config'); await withProcRunner(log, async (procs) => { await procs.run('cypress', { @@ -161,18 +126,10 @@ export async function SecuritySolutionCypressUpgradeCliTestRunner({ cwd: resolve(__dirname, '../../plugins/security_solution'), env: { FORCE_COLOR: '1', - // eslint-disable-next-line @typescript-eslint/naming-convention - CYPRESS_baseUrl: process.env.TEST_KIBANA_URL, - // eslint-disable-next-line @typescript-eslint/naming-convention - CYPRESS_protocol: process.env.TEST_KIBANA_PROTOCOL, - // eslint-disable-next-line @typescript-eslint/naming-convention - CYPRESS_hostname: process.env.TEST_KIBANA_HOSTNAME, - // eslint-disable-next-line @typescript-eslint/naming-convention - CYPRESS_configport: process.env.TEST_KIBANA_PORT, - CYPRESS_ELASTICSEARCH_URL: process.env.TEST_ES_URL, - CYPRESS_ELASTICSEARCH_USERNAME: process.env.TEST_ES_USER, - CYPRESS_ELASTICSEARCH_PASSWORD: process.env.TEST_ES_PASS, - CYPRESS_KIBANA_URL: process.env.TEST_KIBANA_URL, + CYPRESS_BASE_URL: Url.format(config.get('servers.kibana')), + CYPRESS_ELASTICSEARCH_URL: Url.format(config.get('servers.elasticsearch')), + CYPRESS_ELASTICSEARCH_USERNAME: config.get('servers.elasticsearch.username'), + CYPRESS_ELASTICSEARCH_PASSWORD: config.get('servers.elasticsearch.password'), ...process.env, }, wait: true, diff --git a/x-pack/test/security_solution_endpoint/apps/endpoint/endpoint_list.ts b/x-pack/test/security_solution_endpoint/apps/endpoint/endpoint_list.ts index 00bc59eec7b6b..3a49278bd21a8 100644 --- a/x-pack/test/security_solution_endpoint/apps/endpoint/endpoint_list.ts +++ b/x-pack/test/security_solution_endpoint/apps/endpoint/endpoint_list.ts @@ -11,12 +11,16 @@ import { FtrProviderContext } from '../../ftr_provider_context'; import { deleteMetadataStream, deleteAllDocsFromMetadataCurrentIndex, + deleteAllDocsFromMetadataUnitedIndex, } from '../../../security_solution_endpoint_api_int/apis/data_stream_helper'; +import { IndexedHostsAndAlertsResponse } from '../../../../plugins/security_solution/common/endpoint/index_data'; export default ({ getPageObjects, getService }: FtrProviderContext) => { const pageObjects = getPageObjects(['common', 'endpoint', 'header', 'endpointPageUtils']); - const esArchiver = getService('esArchiver'); const testSubjects = getService('testSubjects'); + const browser = getService('browser'); + const endpointTestResources = getService('endpointTestResources'); + const policyTestResources = getService('policyTestResources'); const expectedData = [ [ @@ -30,81 +34,72 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { 'Last active', 'Actions', ], + ['Host-9fafsc3tqe', 'x', 'x', 'Warning', 'Windows', '10.231.117.28', '7.17.12', 'x', ''], [ - 'rezzani-7.example.com', - 'Unhealthy', - 'Default', - 'Failure', - 'windows 10.0', - '10.101.149.26, 2606:a000:ffc0:39:11ef:37b9:3371:578c', - '6.8.0', - 'Jul 21, 2021 @ 20:04:01.950', + 'Host-ku5jy6j0pw', + 'x', + 'x', + 'Warning', + 'Windows', + '10.246.87.11, 10.145.117.106,10.109.242.136', + '7.0.13', + 'x', '', ], [ - 'cadmann-4.example.com', - 'Unhealthy', - 'Default', + 'Host-o07wj6uaa5', + 'x', + 'x', 'Failure', - 'windows 10.0', - '10.192.213.130, 10.70.28.129', - '6.6.1', - 'Jul 21, 2021 @ 20:04:01.950', - '', - ], - [ - 'thurlow-9.example.com', - 'Unhealthy', - 'Default', - 'Success', - 'windows 10.0', - '10.46.229.234', - '6.0.0', - 'Jul 21, 2021 @ 20:04:01.950', + 'Windows', + '10.82.134.220, 10.47.25.170', + '7.11.13', + 'x', '', ], ]; + const formattedTableData = async () => { + const tableData = await pageObjects.endpointPageUtils.tableData('endpointListTable'); + + // Do not compare timestamps, Agent status, or Policy names since the data can be inconsistent. + for (let i = 1; i < tableData.length; i++) { + tableData[i][1] = 'x'; + tableData[i][2] = 'x'; + tableData[i][7] = 'x'; + } + + return tableData; + }; + describe('endpoint list', function () { const sleep = (ms = 100) => new Promise((resolve) => setTimeout(resolve, ms)); - + let indexedData: IndexedHostsAndAlertsResponse; describe('when initially navigating to page', () => { before(async () => { await deleteMetadataStream(getService); await deleteAllDocsFromMetadataCurrentIndex(getService); + await deleteAllDocsFromMetadataUnitedIndex(getService); await pageObjects.endpoint.navigateToEndpointList(); }); - after(async () => { - await deleteMetadataStream(getService); - await deleteAllDocsFromMetadataCurrentIndex(getService); - }); it('finds no data in list and prompts onboarding to add policy', async () => { await testSubjects.exists('emptyPolicyTable'); }); - - it('finds data after load and polling', async () => { - await esArchiver.load( - 'x-pack/test/functional/es_archives/endpoint/metadata/destination_index', - { useCreate: true } - ); - await pageObjects.endpoint.waitForTableToHaveData('endpointListTable', 1100); - const tableData = await pageObjects.endpointPageUtils.tableData('endpointListTable'); - expect(tableData).to.eql(expectedData); - }); }); describe('when there is data,', () => { before(async () => { - await esArchiver.load( - 'x-pack/test/functional/es_archives/endpoint/metadata/destination_index', - { useCreate: true } - ); + const endpointPackage = await policyTestResources.getEndpointPackage(); + await endpointTestResources.setMetadataTransformFrequency('1s', endpointPackage.version); + indexedData = await endpointTestResources.loadEndpointData({ numHosts: 3 }); await pageObjects.endpoint.navigateToEndpointList(); + await pageObjects.endpoint.waitForTableToHaveNumberOfEntries('endpointListTable', 3, 90000); }); after(async () => { - await deleteMetadataStream(getService); await deleteAllDocsFromMetadataCurrentIndex(getService); + await deleteAllDocsFromMetadataUnitedIndex(getService); + await endpointTestResources.unloadEndpointData(indexedData); }); it('finds page title', async () => { @@ -113,8 +108,8 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { }); it('displays table data', async () => { - const tableData = await pageObjects.endpointPageUtils.tableData('endpointListTable'); - expect(tableData).to.eql(expectedData); + const tableData = await formattedTableData(); + expect(tableData.sort()).to.eql(expectedData.sort()); }); it('does not show the details flyout initially', async () => { @@ -161,144 +156,75 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { ); expect(endpointDetailTitleNew).to.equal(endpointDetailTitleInitial); }); - }); - // This set of tests fails the flyout does not open in the before() and will be fixed in soon - describe.skip("has a url with an endpoint host's id", () => { - before(async () => { - await pageObjects.endpoint.navigateToEndpointList( - 'selected_endpoint=3838df35-a095-4af4-8fce-0b6d78793f2e' - ); - }); + it('for the kql query: na, table shows an empty list', async () => { + await pageObjects.endpoint.navigateToEndpointList(); + await browser.refresh(); + const adminSearchBar = await testSubjects.find('adminSearchBar'); + await adminSearchBar.clearValueWithKeyboard(); + await adminSearchBar.type('na'); + const querySubmitButton = await testSubjects.find('querySubmitButton'); + await querySubmitButton.click(); + const expectedDataFromQuery = [ + [ + 'Endpoint', + 'Agent status', + 'Policy', + 'Policy status', + 'OS', + 'IP address', + 'Version', + 'Last active', + 'Actions', + ], + ['No items found'], + ]; - it('shows a flyout', async () => { - await testSubjects.existOrFail('endpointDetailsFlyoutBody'); - await testSubjects.existOrFail('endpointDetailsUpperList'); - await testSubjects.existOrFail('endpointDetailsLowerList'); + await pageObjects.endpoint.waitForTableToNotHaveData('endpointListTable'); + const tableData = await pageObjects.endpointPageUtils.tableData('endpointListTable'); + expect(tableData).to.eql(expectedDataFromQuery); }); - it('displays details row headers', async () => { - const expectedHeaders = [ - 'OS', - 'Last Seen', - 'Alerts', - 'Integration Policy', - 'Policy Status', - 'IP Address', - 'Hostname', - 'Version', + it('for the kql filtering for united.endpoint.host.hostname : "Host-ku5jy6j0pw", table shows 1 item', async () => { + const adminSearchBar = await testSubjects.find('adminSearchBar'); + await adminSearchBar.clearValueWithKeyboard(); + await adminSearchBar.type( + 'united.endpoint.host.hostname : "Host-ku5jy6j0pw" or host.hostname : "Host-ku5jy6j0pw" ' + ); + const querySubmitButton = await testSubjects.find('querySubmitButton'); + await querySubmitButton.click(); + const expectedDataFromQuery = [ + [ + 'Endpoint', + 'Agent status', + 'Policy', + 'Policy status', + 'OS', + 'IP address', + 'Version', + 'Last active', + 'Actions', + ], + [ + 'Host-ku5jy6j0pw', + 'x', + 'x', + 'Warning', + 'Windows', + '10.246.87.11, 10.145.117.106,10.109.242.136', + '7.0.13', + 'x', + '', + ], ]; - const keys = await pageObjects.endpoint.endpointFlyoutDescriptionKeys( - 'endpointDetailsFlyout' + await pageObjects.endpoint.waitForTableToHaveNumberOfEntries( + 'endpointListTable', + 1, + 90000 ); - expect(keys).to.eql(expectedHeaders); + const tableData = await formattedTableData(); + expect(tableData.sort()).to.eql(expectedDataFromQuery.sort()); }); - - it('displays details row descriptions', async () => { - const values = await pageObjects.endpoint.endpointFlyoutDescriptionValues( - 'endpointDetailsFlyout' - ); - - expect(values).to.eql([ - 'Windows 10', - '', - '0', - 'Default', - 'Unknown', - '10.101.149.262606:a000:ffc0:39:11ef:37b9:3371:578c', - 'rezzani-7.example.com', - '6.8.0', - ]); - }); - }); - }); - - describe('displays the correct table data for the kql queries', () => { - before(async () => { - await esArchiver.load( - 'x-pack/test/functional/es_archives/endpoint/metadata/destination_index', - { useCreate: true } - ); - await pageObjects.endpoint.navigateToEndpointList(); - }); - after(async () => { - await deleteMetadataStream(getService); - await deleteAllDocsFromMetadataCurrentIndex(getService); - }); - it('for the kql query: na, table shows an empty list', async () => { - const adminSearchBar = await testSubjects.find('adminSearchBar'); - await adminSearchBar.clearValueWithKeyboard(); - await adminSearchBar.type('na'); - const querySubmitButton = await testSubjects.find('querySubmitButton'); - await querySubmitButton.click(); - const expectedDataFromQuery = [ - [ - 'Endpoint', - 'Agent status', - 'Policy', - 'Policy status', - 'OS', - 'IP address', - 'Version', - 'Last active', - 'Actions', - ], - ['No items found'], - ]; - - await pageObjects.endpoint.waitForTableToNotHaveData('endpointListTable'); - const tableData = await pageObjects.endpointPageUtils.tableData('endpointListTable'); - expect(tableData).to.eql(expectedDataFromQuery); - }); - it('for the kql filtering for policy.applied.id : "C2A9093E-E289-4C0A-AA44-8C32A414FA7A", table shows 2 items', async () => { - const adminSearchBar = await testSubjects.find('adminSearchBar'); - await adminSearchBar.clearValueWithKeyboard(); - await adminSearchBar.type( - // schema depends on applied package - 'Endpoint.policy.applied.id : "C2A9093E-E289-4C0A-AA44-8C32A414FA7A" ' + - 'or ' + - 'HostDetails.Endpoint.policy.applied.id : "C2A9093E-E289-4C0A-AA44-8C32A414FA7A" ' - ); - const querySubmitButton = await testSubjects.find('querySubmitButton'); - await querySubmitButton.click(); - const expectedDataFromQuery = [ - [ - 'Endpoint', - 'Agent status', - 'Policy', - 'Policy status', - 'OS', - 'IP address', - 'Version', - 'Last active', - 'Actions', - ], - [ - 'cadmann-4.example.com', - 'Unhealthy', - 'Default', - 'Failure', - 'windows 10.0', - '10.192.213.130, 10.70.28.129', - '6.6.1', - 'Jul 21, 2021 @ 20:04:01.950', - '', - ], - [ - 'thurlow-9.example.com', - 'Unhealthy', - 'Default', - 'Success', - 'windows 10.0', - '10.46.229.234', - '6.0.0', - 'Jul 21, 2021 @ 20:04:01.950', - '', - ], - ]; - await pageObjects.endpoint.waitForTableToHaveData('endpointListTable'); - const tableData = await pageObjects.endpointPageUtils.tableData('endpointListTable'); - expect(tableData).to.eql(expectedDataFromQuery); }); }); }); diff --git a/x-pack/test/security_solution_endpoint/apps/endpoint/fleet_integrations.ts b/x-pack/test/security_solution_endpoint/apps/endpoint/fleet_integrations.ts index b2421bd955f2d..45e6b410baee5 100644 --- a/x-pack/test/security_solution_endpoint/apps/endpoint/fleet_integrations.ts +++ b/x-pack/test/security_solution_endpoint/apps/endpoint/fleet_integrations.ts @@ -6,13 +6,29 @@ */ import { FtrProviderContext } from '../../ftr_provider_context'; +import { + deleteMetadataStream, + deleteAllDocsFromMetadataCurrentIndex, +} from '../../../security_solution_endpoint_api_int/apis/data_stream_helper'; export default function ({ getPageObjects, getService }: FtrProviderContext) { const { fleetIntegrations, trustedApps } = getPageObjects(['trustedApps', 'fleetIntegrations']); const policyTestResources = getService('policyTestResources'); const testSubjects = getService('testSubjects'); + const esArchiver = getService('esArchiver'); + const browser = getService('browser'); describe('When in the Fleet application', function () { + before(async () => { + await esArchiver.load('x-pack/test/functional/es_archives/endpoint/metadata/api_feature', { + useCreate: true, + }); + await browser.refresh(); + }); + after(async () => { + await deleteMetadataStream(getService); + await deleteAllDocsFromMetadataCurrentIndex(getService); + }); describe('and on the Endpoint Integration details page', () => { beforeEach(async () => { await fleetIntegrations.navigateToIntegrationDetails( diff --git a/x-pack/test/security_solution_endpoint/apps/endpoint/policy_details.ts b/x-pack/test/security_solution_endpoint/apps/endpoint/policy_details.ts index 95299d8a81f5c..6d78c69798e94 100644 --- a/x-pack/test/security_solution_endpoint/apps/endpoint/policy_details.ts +++ b/x-pack/test/security_solution_endpoint/apps/endpoint/policy_details.ts @@ -8,8 +8,10 @@ import expect from '@kbn/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; import { PolicyTestResourceInfo } from '../../services/endpoint_policy'; +import { IndexedHostsAndAlertsResponse } from '../../../../plugins/security_solution/common/endpoint/index_data'; export default function ({ getPageObjects, getService }: FtrProviderContext) { + const browser = getService('browser'); const pageObjects = getPageObjects([ 'common', 'endpoint', @@ -20,9 +22,20 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { ]); const testSubjects = getService('testSubjects'); const policyTestResources = getService('policyTestResources'); + const endpointTestResources = getService('endpointTestResources'); // FLAKY https://github.com/elastic/kibana/issues/100296 describe.skip('When on the Endpoint Policy Details Page', function () { + let indexedData: IndexedHostsAndAlertsResponse; + before(async () => { + const endpointPackage = await policyTestResources.getEndpointPackage(); + await endpointTestResources.setMetadataTransformFrequency('1s', endpointPackage.version); + indexedData = await endpointTestResources.loadEndpointData(); + await browser.refresh(); + }); + after(async () => { + await endpointTestResources.unloadEndpointData(indexedData); + }); describe('with an invalid policy id', () => { it('should display an error', async () => { await pageObjects.policy.navigateToPolicyDetails('invalid-id'); diff --git a/x-pack/test/security_solution_endpoint/apps/endpoint/trusted_apps_list.ts b/x-pack/test/security_solution_endpoint/apps/endpoint/trusted_apps_list.ts index 684df902bb499..52fb9b8fc8599 100644 --- a/x-pack/test/security_solution_endpoint/apps/endpoint/trusted_apps_list.ts +++ b/x-pack/test/security_solution_endpoint/apps/endpoint/trusted_apps_list.ts @@ -7,15 +7,27 @@ import expect from '@kbn/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; +import { IndexedHostsAndAlertsResponse } from '../../../../plugins/security_solution/common/endpoint/index_data'; export default ({ getPageObjects, getService }: FtrProviderContext) => { const pageObjects = getPageObjects(['common', 'trustedApps']); const testSubjects = getService('testSubjects'); + const browser = getService('browser'); + const endpointTestResources = getService('endpointTestResources'); + const policyTestResources = getService('policyTestResources'); describe('When on the Trusted Apps list', function () { + let indexedData: IndexedHostsAndAlertsResponse; before(async () => { + const endpointPackage = await policyTestResources.getEndpointPackage(); + await endpointTestResources.setMetadataTransformFrequency('1s', endpointPackage.version); + indexedData = await endpointTestResources.loadEndpointData(); + await browser.refresh(); await pageObjects.trustedApps.navigateToTrustedAppsList(); }); + after(async () => { + await endpointTestResources.unloadEndpointData(indexedData); + }); it('should show page title', async () => { expect(await testSubjects.getVisibleText('header-page-title')).to.equal( diff --git a/x-pack/test/security_solution_endpoint/page_objects/endpoint_page.ts b/x-pack/test/security_solution_endpoint/page_objects/endpoint_page.ts index 9125e932cdd69..f0c0de05b5460 100644 --- a/x-pack/test/security_solution_endpoint/page_objects/endpoint_page.ts +++ b/x-pack/test/security_solution_endpoint/page_objects/endpoint_page.ts @@ -35,6 +35,20 @@ export function EndpointPageProvider({ getService, getPageObjects }: FtrProvider }); }, + async waitForTableToHaveNumberOfEntries( + dataTestSubj: string, + numberOfEntries = 1, + timeout = 2000 + ) { + await retry.waitForWithTimeout('table to have data', timeout, async () => { + const tableData = await pageObjects.endpointPageUtils.tableData(dataTestSubj); + if (tableData[1][0] === 'No items found' || tableData.length < numberOfEntries + 1) { + return false; + } + return true; + }); + }, + async waitForTableToNotHaveData(dataTestSubj: string) { await retry.waitForWithTimeout('table to not have data', 2000, async () => { const tableData = await pageObjects.endpointPageUtils.tableData(dataTestSubj); diff --git a/x-pack/test/security_solution_endpoint_api_int/apis/data_stream_helper.ts b/x-pack/test/security_solution_endpoint_api_int/apis/data_stream_helper.ts index 74a3b3c0b08f0..f848d4bf418e9 100644 --- a/x-pack/test/security_solution_endpoint_api_int/apis/data_stream_helper.ts +++ b/x-pack/test/security_solution_endpoint_api_int/apis/data_stream_helper.ts @@ -13,6 +13,7 @@ import { policyIndexPattern, metadataCurrentIndexPattern, telemetryIndexPattern, + METADATA_UNITED_INDEX, } from '../../../plugins/security_solution/common/endpoint/constants'; export function deleteDataStream(getService: (serviceName: 'es') => Client, index: string) { @@ -69,6 +70,12 @@ export async function deleteAllDocsFromMetadataCurrentIndex( await deleteAllDocsFromIndex(getService, metadataCurrentIndexPattern); } +export async function deleteAllDocsFromMetadataUnitedIndex( + getService: (serviceName: 'es') => Client +) { + await deleteAllDocsFromIndex(getService, METADATA_UNITED_INDEX); +} + export async function deleteEventsStream(getService: (serviceName: 'es') => Client) { await deleteDataStream(getService, eventsIndexPattern); } diff --git a/x-pack/test/timeline/common/config.ts b/x-pack/test/timeline/common/config.ts index ba1c8528527e4..fa8ddb2ad10a7 100644 --- a/x-pack/test/timeline/common/config.ts +++ b/x-pack/test/timeline/common/config.ts @@ -83,7 +83,7 @@ export function createTestConfig(name: string, options: CreateTestConfigOptions) // TO DO: Remove feature flags once we're good to go '--xpack.securitySolution.enableExperimental=["ruleRegistryEnabled"]', '--xpack.ruleRegistry.write.enabled=true', - `--server.xsrf.whitelist=${JSON.stringify(getAllExternalServiceSimulatorPaths())}`, + `--server.xsrf.allowlist=${JSON.stringify(getAllExternalServiceSimulatorPaths())}`, ...(ssl ? [ `--elasticsearch.hosts=${servers.elasticsearch.protocol}://${servers.elasticsearch.hostname}:${servers.elasticsearch.port}`, diff --git a/yarn.lock b/yarn.lock index 416d9c6b8ba5e..7e8596ced9e5a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2228,6 +2228,37 @@ enabled "2.0.x" kuler "^2.0.0" +"@dnd-kit/accessibility@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@dnd-kit/accessibility/-/accessibility-3.0.0.tgz#b56e3750414fd907b7d6972b3116aa8f96d07fde" + integrity sha512-QwaQ1IJHQHMMuAGOOYHQSx7h7vMZPfO97aDts8t5N/MY7n2QTDSnW+kF7uRQ1tVBkr6vJ+BqHWG5dlgGvwVjow== + dependencies: + tslib "^2.0.0" + +"@dnd-kit/core@^3.1.1": + version "3.1.1" + resolved "https://registry.yarnpkg.com/@dnd-kit/core/-/core-3.1.1.tgz#c5ad6665931f5a51e74226220e58ac7514f3faf0" + integrity sha512-18YY5+1lTqJbGSg6JBSa/fjAOTUYAysFrQ5Ti8oppEPHFacQbC+owM51y2z2KN0LkDHBfGZKw2sFT7++ttwfpA== + dependencies: + "@dnd-kit/accessibility" "^3.0.0" + "@dnd-kit/utilities" "^2.0.0" + tslib "^2.0.0" + +"@dnd-kit/sortable@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@dnd-kit/sortable/-/sortable-4.0.0.tgz#81dd2b014a16527cf89602dc40060d9ee4dad352" + integrity sha512-teYVFy6mQG/u6F6CaGxAkzPfiNJvguFzWfJ/zonYQRxfANHX6QJ6GziMG9KON/Ae9Q2ODJP8vib+guWJrDXeGg== + dependencies: + "@dnd-kit/utilities" "^2.0.0" + tslib "^2.0.0" + +"@dnd-kit/utilities@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@dnd-kit/utilities/-/utilities-2.0.0.tgz#a8462dff65c6f606ecbe95273c7e263b14a1ab97" + integrity sha512-bjs49yMNzMM+BYRsBUhTqhTk6HEvhuY3leFt6Em6NaYGgygaMbtGbbXof/UXBv7rqyyi0OkmBBnrCCcxqS2t/g== + dependencies: + tslib "^2.0.0" + "@dsherret/to-absolute-glob@^2.0.2": version "2.0.2" resolved "https://registry.yarnpkg.com/@dsherret/to-absolute-glob/-/to-absolute-glob-2.0.2.tgz#1f6475dc8bd974cea07a2daf3864b317b1dd332c" @@ -2236,6 +2267,10 @@ is-absolute "^1.0.0" is-negated-glob "^1.0.0" +"@elastic/apm-generator@link:bazel-bin/packages/elastic-apm-generator": + version "0.0.0" + uid "" + "@elastic/apm-rum-core@^5.12.1": version "5.12.1" resolved "https://registry.yarnpkg.com/@elastic/apm-rum-core/-/apm-rum-core-5.12.1.tgz#ad78787876c68b9ce718d1c42b8e7b12b12eaa69" @@ -2404,15 +2439,6 @@ async-retry "^1.2.3" strip-ansi "^5.2.0" -"@elastic/good@^9.0.1-kibana3": - version "9.0.1-kibana3" - resolved "https://registry.yarnpkg.com/@elastic/good/-/good-9.0.1-kibana3.tgz#a70c2b30cbb4f44d1cf4a464562e0680322eac9b" - integrity sha512-UtPKr0TmlkL1abJfO7eEVUTqXWzLKjMkz+65FvxU/Ub9kMAr4No8wHLRfDHFzBkWoDIbDWygwld011WzUnea1Q== - dependencies: - "@hapi/hoek" "9.x.x" - "@hapi/oppsy" "3.x.x" - "@hapi/validate" "1.x.x" - "@elastic/makelogs@^6.0.0": version "6.0.0" resolved "https://registry.yarnpkg.com/@elastic/makelogs/-/makelogs-6.0.0.tgz#d6d74d5d0f020123c54160370d49ca5e0aab1fe1" @@ -2897,14 +2923,6 @@ resolved "https://registry.yarnpkg.com/@hapi/file/-/file-2.0.0.tgz#2ecda37d1ae9d3078a67c13b7da86e8c3237dfb9" integrity sha512-WSrlgpvEqgPWkI18kkGELEZfXr0bYLtr16iIN4Krh9sRnzBZN6nnWxHFxtsnP684wueEySBbXPDg/WfA9xJdBQ== -"@hapi/good-squeeze@6.0.0": - version "6.0.0" - resolved "https://registry.yarnpkg.com/@hapi/good-squeeze/-/good-squeeze-6.0.0.tgz#bb72d6869cd7398b615a6b7270f630dc4f76aebf" - integrity sha512-UgHAF9Lm8fJPzgf2HymtowOwNc1+IL+p08YTVR+XA4d8nmyE1t9x3RLA4riqldnOKHkVqGakJ1jGqUG7jk77Cg== - dependencies: - "@hapi/hoek" "9.x.x" - fast-safe-stringify "2.x.x" - "@hapi/h2o2@^9.1.0": version "9.1.0" resolved "https://registry.yarnpkg.com/@hapi/h2o2/-/h2o2-9.1.0.tgz#b223f4978b6f2b0d7d9db10a84a567606c4c3551" @@ -2992,13 +3010,6 @@ "@hapi/hoek" "^9.0.4" "@hapi/vise" "^4.0.0" -"@hapi/oppsy@3.x.x": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@hapi/oppsy/-/oppsy-3.0.0.tgz#1ae397e200e86d0aa41055f103238ed8652947ca" - integrity sha512-0kfUEAqIi21GzFVK2snMO07znMEBiXb+/pOx1dmgOO9TuvFstcfmHU5i56aDfiFP2DM5WzQCU2UWc2gK1lMDhQ== - dependencies: - "@hapi/hoek" "9.x.x" - "@hapi/pez@^5.0.1": version "5.0.3" resolved "https://registry.yarnpkg.com/@hapi/pez/-/pez-5.0.3.tgz#b75446e6fef8cbb16816573ab7da1b0522e7a2a1" @@ -3750,10 +3761,6 @@ version "0.0.0" uid "" -"@kbn/legacy-logging@link:bazel-bin/packages/kbn-legacy-logging": - version "0.0.0" - uid "" - "@kbn/logging@link:bazel-bin/packages/kbn-logging": version "0.0.0" uid "" @@ -14493,7 +14500,7 @@ fast-redact@^3.0.0: resolved "https://registry.yarnpkg.com/fast-redact/-/fast-redact-3.0.0.tgz#ac2f9e36c9f4976f5db9fb18c6ffbaf308cf316d" integrity sha512-a/S/Hp6aoIjx7EmugtzLqXmcNsyFszqbt6qQ99BdG61QjBZF6shNis0BYR6TsZOQ1twYc0FN2Xdhwwbv6+KD0w== -fast-safe-stringify@2.x.x, fast-safe-stringify@^2.0.4, fast-safe-stringify@^2.0.7: +fast-safe-stringify@^2.0.4, fast-safe-stringify@^2.0.7: version "2.0.8" resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.0.8.tgz#dc2af48c46cf712b683e849b2bbd446b32de936f" integrity sha512-lXatBjf3WPjmWD6DpIZxkeSsCOwqI0maYMpgDlx8g4U2qi4lbjA9oH/HD2a87G+KfsUmo5WbJFmqBZlPxtptag==