[Fleet] Remove beats management plugin (#99789) (#101010)

# Conflicts:
#	.github/CODEOWNERS
#	api_docs/data.json
#	api_docs/data_index_patterns.json
#	api_docs/deprecations.mdx
#	api_docs/security.json
#	api_docs/spaces.json
This commit is contained in:
Alejandro Fernández Gómez 2021-05-31 19:33:12 +02:00 committed by GitHub
parent 4f0e675d8b
commit 8a62b29374
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
224 changed files with 16867 additions and 19561 deletions

376
.github/CODEOWNERS vendored Normal file
View file

@ -0,0 +1,376 @@
# GitHub CODEOWNERS definition
# Identify which groups will be pinged by changes to different parts of the codebase.
# For more info, see https://help.github.com/articles/about-codeowners/
# The #CC# prefix delineates Code Coverage,
# used for the 'team' designator within Kibana Stats
# App
/x-pack/plugins/discover_enhanced/ @elastic/kibana-app
/x-pack/plugins/lens/ @elastic/kibana-app
/x-pack/plugins/graph/ @elastic/kibana-app
/src/plugins/advanced_settings/ @elastic/kibana-app
/src/plugins/charts/ @elastic/kibana-app
/src/plugins/discover/ @elastic/kibana-app
/src/plugins/management/ @elastic/kibana-app
/src/plugins/kibana_legacy/ @elastic/kibana-app
/src/plugins/timelion/ @elastic/kibana-app
/src/plugins/vis_default_editor/ @elastic/kibana-app
/src/plugins/vis_type_metric/ @elastic/kibana-app
/src/plugins/vis_type_table/ @elastic/kibana-app
/src/plugins/vis_type_tagcloud/ @elastic/kibana-app
/src/plugins/vis_type_timelion/ @elastic/kibana-app
/src/plugins/vis_type_timeseries/ @elastic/kibana-app
/src/plugins/vis_type_vega/ @elastic/kibana-app
/src/plugins/vis_type_vislib/ @elastic/kibana-app
/src/plugins/vis_type_xy/ @elastic/kibana-app
/src/plugins/visualize/ @elastic/kibana-app
/src/plugins/visualizations/ @elastic/kibana-app
/packages/kbn-tinymath/ @elastic/kibana-app
# Application Services
/examples/bfetch_explorer/ @elastic/kibana-app-services
/examples/dashboard_embeddable_examples/ @elastic/kibana-app-services
/examples/demo_search/ @elastic/kibana-app-services
/examples/developer_examples/ @elastic/kibana-app-services
/examples/embeddable_examples/ @elastic/kibana-app-services
/examples/embeddable_explorer/ @elastic/kibana-app-services
/examples/state_containers_examples/ @elastic/kibana-app-services
/examples/ui_action_examples/ @elastic/kibana-app-services
/examples/ui_actions_explorer/ @elastic/kibana-app-services
/examples/url_generators_examples/ @elastic/kibana-app-services
/examples/url_generators_explorer/ @elastic/kibana-app-services
/packages/elastic-datemath/ @elastic/kibana-app-services
/packages/kbn-interpreter/ @elastic/kibana-app-services
/src/plugins/bfetch/ @elastic/kibana-app-services
/src/plugins/data/ @elastic/kibana-app-services
/src/plugins/embeddable/ @elastic/kibana-app-services
/src/plugins/expressions/ @elastic/kibana-app-services
/src/plugins/inspector/ @elastic/kibana-app-services
/src/plugins/kibana_react/ @elastic/kibana-app-services
/src/plugins/kibana_react/public/code_editor @elastic/kibana-presentation
/src/plugins/kibana_utils/ @elastic/kibana-app-services
/src/plugins/navigation/ @elastic/kibana-app-services
/src/plugins/share/ @elastic/kibana-app-services
/src/plugins/ui_actions/ @elastic/kibana-app-services
/src/plugins/index_pattern_field_editor @elastic/kibana-app-services
/x-pack/examples/ui_actions_enhanced_examples/ @elastic/kibana-app-services
/x-pack/plugins/data_enhanced/ @elastic/kibana-app-services
/x-pack/plugins/embeddable_enhanced/ @elastic/kibana-app-services
/x-pack/plugins/ui_actions_enhanced/ @elastic/kibana-app-services
/x-pack/plugins/runtime_fields @elastic/kibana-app-services
/x-pack/test/search_sessions_integration/ @elastic/kibana-app-services
#CC# /src/plugins/bfetch/ @elastic/kibana-app-services
#CC# /src/plugins/index_pattern_management/ @elastic/kibana-app-services
#CC# /src/plugins/inspector/ @elastic/kibana-app-services
#CC# /src/plugins/share/ @elastic/kibana-app-services
#CC# /x-pack/plugins/drilldowns/ @elastic/kibana-app-services
#CC# /packages/kbn-interpreter/ @elastic/kibana-app-services
# APM
/x-pack/plugins/apm/ @elastic/apm-ui
/x-pack/test/functional/apps/apm/ @elastic/apm-ui
/x-pack/test/apm_api_integration/ @elastic/apm-ui
/src/plugins/apm_oss/ @elastic/apm-ui
/src/apm.js @elastic/kibana-core @vigneshshanmugam
/packages/kbn-apm-config-loader/ @elastic/kibana-core @vigneshshanmugam
#CC# /src/plugins/apm_oss/ @elastic/apm-ui
#CC# /x-pack/plugins/observability/ @elastic/apm-ui
# Uptime
/x-pack/plugins/uptime @elastic/uptime
/x-pack/plugins/observability/public/components/shared/exploratory_view @elastic/uptime
/x-pack/test/functional_with_es_ssl/apps/uptime @elastic/uptime
/x-pack/test/functional/apps/uptime @elastic/uptime
/x-pack/test/api_integration/apis/uptime @elastic/uptime
# Client Side Monitoring / Uptime (lives in APM directories but owned by Uptime)
/x-pack/plugins/apm/e2e/cypress/support/step_definitions/csm @elastic/uptime
/x-pack/plugins/apm/e2e/cypress/integration/csm_dashboard.feature @elastic/uptime
/x-pack/plugins/apm/public/application/csmApp.tsx @elastic/uptime
/x-pack/plugins/apm/public/components/app/RumDashboard @elastic/uptime
/x-pack/plugins/apm/server/lib/rum_client @elastic/uptime
/x-pack/plugins/apm/server/routes/rum_client.ts @elastic/uptime
/x-pack/plugins/apm/server/projections/rum_page_load_transactions.ts @elastic/uptime
/x-pack/test/apm_api_integration/tests/csm/ @elastic/uptime
# Presentation
/src/plugins/dashboard/ @elastic/kibana-presentation
/src/plugins/input_control_vis/ @elastic/kibana-presentation
/src/plugins/vis_type_markdown/ @elastic/kibana-presentation
/src/plugins/presentation_util/ @elastic/kibana-presentation
/test/functional/apps/dashboard/ @elastic/kibana-presentation
/x-pack/plugins/canvas/ @elastic/kibana-presentation
/x-pack/plugins/dashboard_enhanced/ @elastic/kibana-presentation
/x-pack/test/functional/apps/canvas/ @elastic/kibana-presentation
#CC# /src/plugins/kibana_react/public/code_editor/ @elastic/kibana-presentation
#CC# /x-pack/plugins/dashboard_mode @elastic/kibana-presentation
# Observability UIs
/x-pack/plugins/infra/ @elastic/logs-metrics-ui
/x-pack/plugins/fleet/ @elastic/fleet
/x-pack/plugins/observability/ @elastic/observability-ui
/x-pack/plugins/monitoring/ @elastic/stack-monitoring-ui
# Machine Learning
/x-pack/plugins/ml/ @elastic/ml-ui
/x-pack/test/accessibility/apps/ml.ts @elastic/ml-ui
/x-pack/test/accessibility/apps/ml_embeddables_in_dashboard.ts @elastic/ml-ui
/x-pack/test/api_integration/apis/ml/ @elastic/ml-ui
/x-pack/test/api_integration_basic/apis/ml/ @elastic/ml-ui
/x-pack/test/functional/apps/ml/ @elastic/ml-ui
/x-pack/test/functional/es_archives/ml/ @elastic/ml-ui
/x-pack/test/functional/services/ml/ @elastic/ml-ui
/x-pack/test/functional_basic/apps/ml/ @elastic/ml-ui
/x-pack/test/functional_with_es_ssl/apps/ml/ @elastic/ml-ui
# ML team owns and maintains the transform plugin despite it living in the Elasticsearch management section.
/x-pack/plugins/transform/ @elastic/ml-ui
/x-pack/test/accessibility/apps/transform.ts @elastic/ml-ui
/x-pack/test/api_integration/apis/transform/ @elastic/ml-ui
/x-pack/test/api_integration_basic/apis/transform/ @elastic/ml-ui
/x-pack/test/functional/apps/transform/ @elastic/ml-ui
/x-pack/test/functional/services/transform/ @elastic/ml-ui
/x-pack/test/functional_basic/apps/transform/ @elastic/ml-ui
# Maps
#CC# /x-pack/plugins/maps/ @elastic/kibana-gis
/x-pack/test/api_integration/apis/maps/ @elastic/kibana-gis
/x-pack/test/functional/apps/maps/ @elastic/kibana-gis
/x-pack/test/functional/es_archives/maps/ @elastic/kibana-gis
/x-pack/test/visual_regression/tests/maps/index.js @elastic/kibana-gis
/x-pack/plugins/stack_alerts/server/alert_types/geo_containment @elastic/kibana-gis
/x-pack/plugins/stack_alerts/public/alert_types/geo_containment @elastic/kibana-gis
#CC# /src/plugins/maps_legacy/ @elastic/kibana-gis
#CC# /x-pack/plugins/file_upload @elastic/kibana-gis
/src/plugins/tile_map/ @elastic/kibana-gis
/src/plugins/region_map/ @elastic/kibana-gis
# Operations
/src/dev/ @elastic/kibana-operations
/src/setup_node_env/ @elastic/kibana-operations
/packages/*eslint*/ @elastic/kibana-operations
/packages/*babel*/ @elastic/kibana-operations
/packages/kbn-dev-utils*/ @elastic/kibana-operations
/packages/kbn-es/ @elastic/kibana-operations
/packages/kbn-optimizer/ @elastic/kibana-operations
/packages/kbn-pm/ @elastic/kibana-operations
/packages/kbn-test/ @elastic/kibana-operations
/packages/kbn-ui-shared-deps/ @elastic/kibana-operations
/packages/kbn-es-archiver/ @elastic/kibana-operations
/packages/kbn-utils/ @elastic/kibana-operations
/packages/kbn-cli-dev-mode/ @elastic/kibana-operations
/src/cli/keystore/ @elastic/kibana-operations
/.ci/es-snapshots/ @elastic/kibana-operations
/.github/workflows/ @elastic/kibana-operations
/vars/ @elastic/kibana-operations
/.bazelignore @elastic/kibana-operations
/.bazeliskversion @elastic/kibana-operations
/.bazelrc @elastic/kibana-operations
/.bazelrc.common @elastic/kibana-operations
/.bazelversion @elastic/kibana-operations
/WORKSPACE.bazel @elastic/kibana-operations
#CC# /packages/kbn-expect/ @elastic/kibana-operations
# Quality Assurance
/src/dev/code_coverage @elastic/kibana-qa
/vars/*Coverage.groovy @elastic/kibana-qa
/test/functional/services/common @elastic/kibana-qa
/test/functional/services/lib @elastic/kibana-qa
/test/functional/services/remote @elastic/kibana-qa
# Core
/src/core/ @elastic/kibana-core
/src/plugins/saved_objects_tagging_oss @elastic/kibana-core
/config/kibana.yml @elastic/kibana-core
/x-pack/plugins/banners/ @elastic/kibana-core
/x-pack/plugins/features/ @elastic/kibana-core
/x-pack/plugins/licensing/ @elastic/kibana-core
/x-pack/plugins/global_search/ @elastic/kibana-core
/x-pack/plugins/cloud/ @elastic/kibana-core
/x-pack/plugins/saved_objects_tagging/ @elastic/kibana-core
/x-pack/test/saved_objects_field_count/ @elastic/kibana-core
/x-pack/test/saved_object_tagging/ @elastic/kibana-core
/packages/kbn-config-schema/ @elastic/kibana-core
/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
/src/dev/run_check_published_api_changes.ts @elastic/kibana-core
/src/plugins/home/public @elastic/kibana-core
/src/plugins/home/server/*.ts @elastic/kibana-core
/src/plugins/home/server/services/ @elastic/kibana-core
/src/plugins/kibana_overview/ @elastic/kibana-core
/x-pack/plugins/global_search_bar/ @elastic/kibana-core
#CC# /src/core/server/csp/ @elastic/kibana-core
#CC# /src/plugins/legacy_export/ @elastic/kibana-core
#CC# /src/plugins/xpack_legacy/ @elastic/kibana-core
#CC# /src/plugins/saved_objects/ @elastic/kibana-core
#CC# /x-pack/plugins/cloud/ @elastic/kibana-core
#CC# /x-pack/plugins/features/ @elastic/kibana-core
#CC# /x-pack/plugins/global_search/ @elastic/kibana-core
#CC# /src/plugins/newsfeed @elastic/kibana-core
#CC# /src/plugins/home/public @elastic/kibana-core
#CC# /src/plugins/home/server/services/ @elastic/kibana-core
#CC# /src/plugins/home/ @elastic/kibana-core
#CC# /x-pack/plugins/global_search_providers/ @elastic/kibana-core
# Kibana Telemetry
/packages/kbn-analytics/ @elastic/kibana-core
/packages/kbn-telemetry-tools/ @elastic/kibana-core
/src/plugins/kibana_usage_collection/ @elastic/kibana-core
/src/plugins/newsfeed/ @elastic/kibana-core
/src/plugins/telemetry/ @elastic/kibana-core
/src/plugins/telemetry_collection_manager/ @elastic/kibana-core
/src/plugins/telemetry_management_section/ @elastic/kibana-core
/src/plugins/usage_collection/ @elastic/kibana-core
/x-pack/plugins/telemetry_collection_xpack/ @elastic/kibana-core
/.telemetryrc.json @elastic/kibana-core
/x-pack/.telemetryrc.json @elastic/kibana-core
/src/plugins/telemetry/schema/ @elastic/kibana-core @elastic/kibana-telemetry
/x-pack/plugins/telemetry_collection_xpack/schema/ @elastic/kibana-core @elastic/kibana-telemetry
# Kibana Localization
/src/dev/i18n/ @elastic/kibana-localization @elastic/kibana-core
/src/core/public/i18n/ @elastic/kibana-localization @elastic/kibana-core
/packages/kbn-i18n/ @elastic/kibana-localization @elastic/kibana-core
#CC# /x-pack/plugins/translations/ @elastic/kibana-localization @elastic/kibana-core
# Security
/src/core/server/csp/ @elastic/kibana-security @elastic/kibana-core
/src/plugins/security_oss/ @elastic/kibana-security
/src/plugins/spaces_oss/ @elastic/kibana-security
/test/security_functional/ @elastic/kibana-security
/x-pack/plugins/spaces/ @elastic/kibana-security
/x-pack/plugins/encrypted_saved_objects/ @elastic/kibana-security
/x-pack/plugins/security/ @elastic/kibana-security
/x-pack/test/api_integration/apis/security/ @elastic/kibana-security
/x-pack/test/ui_capabilities/ @elastic/kibana-security
/x-pack/test/encrypted_saved_objects_api_integration/ @elastic/kibana-security
/x-pack/test/functional/apps/security/ @elastic/kibana-security
/x-pack/test/security_api_integration/ @elastic/kibana-security
/x-pack/test/security_functional/ @elastic/kibana-security
/x-pack/test/spaces_api_integration/ @elastic/kibana-security
/x-pack/test/saved_object_api_integration/ @elastic/kibana-security
#CC# /x-pack/plugins/security/ @elastic/kibana-security
# Kibana Alerting Services
/x-pack/plugins/alerting/ @elastic/kibana-alerting-services
/x-pack/plugins/actions/ @elastic/kibana-alerting-services
/x-pack/plugins/event_log/ @elastic/kibana-alerting-services
/x-pack/plugins/task_manager/ @elastic/kibana-alerting-services
/x-pack/test/alerting_api_integration/ @elastic/kibana-alerting-services
/x-pack/test/plugin_api_integration/test_suites/task_manager/ @elastic/kibana-alerting-services
/x-pack/plugins/triggers_actions_ui/ @elastic/kibana-alerting-services
/x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/ @elastic/kibana-alerting-services
/x-pack/test/functional_with_es_ssl/fixtures/plugins/alerts/ @elastic/kibana-alerting-services
/docs/user/alerting/ @elastic/kibana-alerting-services
/docs/management/connectors/ @elastic/kibana-alerting-services
#CC# /x-pack/plugins/stack_alerts @elastic/kibana-alerting-services
# Enterprise Search
# Shared
/x-pack/plugins/enterprise_search/* @elastic/enterprise-search-frontend
/x-pack/plugins/enterprise_search/common/ @elastic/enterprise-search-frontend
/x-pack/plugins/enterprise_search/public/* @elastic/enterprise-search-frontend
/x-pack/plugins/enterprise_search/public/applications/* @elastic/enterprise-search-frontend
/x-pack/plugins/enterprise_search/public/applications/enterprise_search/ @elastic/enterprise-search-frontend
/x-pack/plugins/enterprise_search/public/applications/shared/ @elastic/enterprise-search-frontend
/x-pack/plugins/enterprise_search/public/applications/__mocks__/ @elastic/enterprise-search-frontend
/x-pack/plugins/enterprise_search/server/* @elastic/enterprise-search-frontend
/x-pack/plugins/enterprise_search/server/lib/ @elastic/enterprise-search-frontend
/x-pack/plugins/enterprise_search/server/__mocks__/ @elastic/enterprise-search-frontend
/x-pack/plugins/enterprise_search/server/collectors/enterprise_search/ @elastic/enterprise-search-frontend
/x-pack/plugins/enterprise_search/server/collectors/lib/ @elastic/enterprise-search-frontend
/x-pack/plugins/enterprise_search/server/routes/enterprise_search/ @elastic/enterprise-search-frontend
/x-pack/plugins/enterprise_search/server/saved_objects/enterprise_search/ @elastic/enterprise-search-frontend
/x-pack/test/functional_enterprise_search/ @elastic/enterprise-search-frontend
# App Search
/x-pack/plugins/enterprise_search/public/applications/app_search/ @elastic/app-search-frontend
/x-pack/plugins/enterprise_search/server/routes/app_search/ @elastic/app-search-frontend
/x-pack/plugins/enterprise_search/server/collectors/app_search/ @elastic/app-search-frontend
/x-pack/plugins/enterprise_search/server/saved_objects/app_search/ @elastic/app-search-frontend
# Workplace Search
/x-pack/plugins/enterprise_search/public/applications/workplace_search/ @elastic/workplace-search-frontend
/x-pack/plugins/enterprise_search/server/routes/workplace_search/ @elastic/workplace-search-frontend
/x-pack/plugins/enterprise_search/server/collectors/workplace_search/ @elastic/workplace-search-frontend
/x-pack/plugins/enterprise_search/server/saved_objects/workplace_search/ @elastic/workplace-search-frontend
# Elasticsearch UI
/src/plugins/dev_tools/ @elastic/es-ui
/src/plugins/console/ @elastic/es-ui
/src/plugins/es_ui_shared/ @elastic/es-ui
/x-pack/plugins/cross_cluster_replication/ @elastic/es-ui
/x-pack/plugins/index_lifecycle_management/ @elastic/es-ui
/x-pack/plugins/console_extensions/ @elastic/es-ui
/x-pack/plugins/grokdebugger/ @elastic/es-ui
/x-pack/plugins/index_management/ @elastic/es-ui
/x-pack/plugins/license_api_guard/ @elastic/es-ui
/x-pack/plugins/license_management/ @elastic/es-ui
/x-pack/plugins/painless_lab/ @elastic/es-ui
/x-pack/plugins/remote_clusters/ @elastic/es-ui
/x-pack/plugins/rollup/ @elastic/es-ui
/x-pack/plugins/searchprofiler/ @elastic/es-ui
/x-pack/plugins/snapshot_restore/ @elastic/es-ui
/x-pack/plugins/upgrade_assistant/ @elastic/es-ui
/x-pack/plugins/watcher/ @elastic/es-ui
/x-pack/plugins/ingest_pipelines/ @elastic/es-ui
/packages/kbn-ace/ @elastic/es-ui
/packages/kbn-monaco/ @elastic/es-ui
#CC# /x-pack/plugins/console_extensions/ @elastic/es-ui
#CC# /x-pack/plugins/cross_cluster_replication/ @elastic/es-ui
# Security Solution
/x-pack/test/endpoint_api_integration_no_ingest/ @elastic/security-solution
/x-pack/test/security_solution_endpoint/ @elastic/security-solution
/x-pack/test/functional/es_archives/endpoint/ @elastic/security-solution
/x-pack/test/plugin_functional/plugins/resolver_test/ @elastic/security-solution
/x-pack/test/plugin_functional/test_suites/resolver/ @elastic/security-solution
/x-pack/plugins/security_solution/ @elastic/security-solution
/x-pack/test/detection_engine_api_integration @elastic/security-solution
/x-pack/test/lists_api_integration @elastic/security-solution
/x-pack/test/api_integration/apis/security_solution @elastic/security-solution
#CC# /x-pack/plugins/security_solution/ @elastic/security-solution
# Security Solution sub teams
/x-pack/plugins/case @elastic/security-threat-hunting
/x-pack/plugins/timelines @elastic/security-threat-hunting
/x-pack/test/case_api_integration @elastic/security-threat-hunting
/x-pack/plugins/lists @elastic/security-detections-response
# Security Intelligence And Analytics
/x-pack/plugins/security_solution/server/lib/detection_engine/rules/prepackaged_rules @elastic/security-intelligence-analytics
# Security Asset Management
/x-pack/plugins/osquery @elastic/security-asset-management
# Design (at the bottom for specificity of SASS files)
**/*.scss @elastic/kibana-design
#CC# /packages/kbn-ui-framework/ @elastic/kibana-design
# Observability design
/x-pack/plugins/apm/**/*.scss @elastic/observability-design
/x-pack/plugins/infra/**/*.scss @elastic/observability-design
/x-pack/plugins/fleet/**/*.scss @elastic/observability-design
/x-pack/plugins/observability/**/*.scss @elastic/observability-design
/x-pack/plugins/monitoring/**/*.scss @elastic/observability-design
# Ent. Search design
/x-pack/plugins/enterprise_search/**/*.scss @elastic/ent-search-design
# Security design
/x-pack/plugins/endpoint/**/*.scss @elastic/security-design
/x-pack/plugins/security_solution/**/*.scss @elastic/security-design
# Logstash
#CC# /x-pack/plugins/logstash/ @elastic/logstash
# Reporting
#CC# /x-pack/plugins/reporting/ @elastic/kibana-reporting-services

View file

@ -516,13 +516,15 @@
"label": "rule",
"description": [],
"signature": [
"Pick<Pick<",
{
"pluginId": "alerting",
"scope": "common",
"docId": "kibAlertingPluginApi",
"section": "def-common.SanitizedRuleConfig",
"text": "SanitizedRuleConfig"
}
"section": "def-common.Alert",
"text": "Alert"
},
"<never>, \"enabled\" | \"id\" | \"name\" | \"params\" | \"actions\" | \"tags\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"throttle\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">, \"enabled\" | \"name\" | \"actions\" | \"tags\" | \"consumer\" | \"schedule\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"throttle\" | \"notifyWhen\"> & { producer: string; ruleTypeId: string; ruleTypeName: string; }"
],
"source": {
"path": "x-pack/plugins/alerting/server/types.ts",
@ -840,7 +842,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/alerting/server/types.ts",
"lineNumber": 75
"lineNumber": 76
},
"deprecated": false
}
@ -1030,7 +1032,7 @@
],
"source": {
"path": "x-pack/plugins/alerting/server/types.ts",
"lineNumber": 107
"lineNumber": 109
},
"deprecated": false
}
@ -3913,7 +3915,15 @@
"label": "SanitizedRuleConfig",
"description": [],
"signature": [
"Pick<Pick<Alert<never>, \"enabled\" | \"id\" | \"name\" | \"params\" | \"actions\" | \"tags\" | \"muteAll\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"throttle\" | \"notifyWhen\" | \"mutedInstanceIds\" | \"executionStatus\">, \"enabled\" | \"name\" | \"actions\" | \"tags\" | \"consumer\" | \"schedule\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"throttle\" | \"notifyWhen\"> & { producer: string; ruleTypeId: string; ruleTypeName: string; }"
"Pick<Pick<",
{
"pluginId": "alerting",
"scope": "common",
"docId": "kibAlertingPluginApi",
"section": "def-common.Alert",
"text": "Alert"
},
"<never>, \"enabled\" | \"id\" | \"name\" | \"params\" | \"actions\" | \"tags\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"throttle\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">, \"enabled\" | \"name\" | \"actions\" | \"tags\" | \"consumer\" | \"schedule\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"throttle\" | \"notifyWhen\"> & { producer: string; ruleTypeId: string; ruleTypeName: string; }"
],
"source": {
"path": "x-pack/plugins/alerting/common/alert.ts",

View file

@ -144,7 +144,7 @@
],
"source": {
"path": "x-pack/plugins/apm/server/plugin.ts",
"lineNumber": 55
"lineNumber": 54
},
"deprecated": false,
"children": [
@ -160,7 +160,7 @@
],
"source": {
"path": "x-pack/plugins/apm/server/plugin.ts",
"lineNumber": 65
"lineNumber": 64
},
"deprecated": false,
"children": [
@ -183,7 +183,7 @@
],
"source": {
"path": "x-pack/plugins/apm/server/plugin.ts",
"lineNumber": 65
"lineNumber": 64
},
"deprecated": false,
"isRequired": true
@ -237,7 +237,7 @@
],
"source": {
"path": "x-pack/plugins/apm/server/plugin.ts",
"lineNumber": 69
"lineNumber": 68
},
"deprecated": false,
"children": [
@ -262,7 +262,7 @@
],
"source": {
"path": "x-pack/plugins/apm/server/plugin.ts",
"lineNumber": 70
"lineNumber": 69
},
"deprecated": false,
"isRequired": true
@ -281,7 +281,7 @@
],
"source": {
"path": "x-pack/plugins/apm/server/plugin.ts",
"lineNumber": 71
"lineNumber": 70
},
"deprecated": false,
"isRequired": true
@ -309,7 +309,7 @@
],
"source": {
"path": "x-pack/plugins/apm/server/plugin.ts",
"lineNumber": 270
"lineNumber": 260
},
"deprecated": false,
"children": [
@ -331,7 +331,7 @@
],
"source": {
"path": "x-pack/plugins/apm/server/plugin.ts",
"lineNumber": 270
"lineNumber": 260
},
"deprecated": false,
"isRequired": true
@ -351,7 +351,7 @@
],
"source": {
"path": "x-pack/plugins/apm/server/plugin.ts",
"lineNumber": 289
"lineNumber": 279
},
"deprecated": false,
"children": [],
@ -653,7 +653,13 @@
"<unknown>>; delete: (deleteParams: { id: string; }) => Promise<",
"DeleteResponse",
">; } | undefined>; }; start: () => Promise<undefined>; }; ruleRegistry: { setup: ",
"RuleDataPluginService",
{
"pluginId": "ruleRegistry",
"scope": "server",
"docId": "kibRuleRegistryPluginApi",
"section": "def-server.RuleRegistryPluginSetupContract",
"text": "RuleRegistryPluginSetupContract"
},
"; start: () => Promise<void>; }; security?: { setup: ",
{
"pluginId": "security",

View file

@ -5,606 +5,15 @@
"functions": [],
"interfaces": [],
"enums": [],
"misc": [
{
"parentPluginId": "apmOss",
"id": "def-public.APM_STATIC_INDEX_PATTERN_ID",
"type": "string",
"tags": [],
"label": "APM_STATIC_INDEX_PATTERN_ID",
"description": [],
"signature": [
"\"apm_static_index_pattern_id\""
],
"source": {
"path": "src/plugins/apm_oss/common/index_pattern_constants.ts",
"lineNumber": 9
},
"deprecated": false,
"initialIsOpen": false
}
],
"objects": [],
"setup": {
"parentPluginId": "apmOss",
"id": "def-public.ApmOssPluginSetup",
"type": "Interface",
"tags": [],
"label": "ApmOssPluginSetup",
"description": [],
"source": {
"path": "src/plugins/apm_oss/public/types.ts",
"lineNumber": 10
},
"deprecated": false,
"children": [],
"lifecycle": "setup",
"initialIsOpen": true
},
"start": {
"parentPluginId": "apmOss",
"id": "def-public.ApmOssPluginStart",
"type": "Interface",
"tags": [],
"label": "ApmOssPluginStart",
"description": [],
"source": {
"path": "src/plugins/apm_oss/public/types.ts",
"lineNumber": 13
},
"deprecated": false,
"children": [],
"lifecycle": "start",
"initialIsOpen": true
}
"misc": [],
"objects": []
},
"server": {
"classes": [],
"functions": [
{
"parentPluginId": "apmOss",
"id": "def-server.createDjangoAgentInstructions",
"type": "Function",
"tags": [],
"label": "createDjangoAgentInstructions",
"description": [],
"signature": [
"(apmServerUrl?: string, secretToken?: string) => ({ title: string; textPre: string; commands: string[]; textPost?: undefined; } | { title: string; textPre: string; commands: string[]; textPost: string; })[]"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 88
},
"deprecated": false,
"children": [
{
"parentPluginId": "apmOss",
"id": "def-server.createDjangoAgentInstructions.$1",
"type": "string",
"tags": [],
"label": "apmServerUrl",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 88
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "apmOss",
"id": "def-server.createDjangoAgentInstructions.$2",
"type": "string",
"tags": [],
"label": "secretToken",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 88
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "apmOss",
"id": "def-server.createDotNetAgentInstructions",
"type": "Function",
"tags": [],
"label": "createDotNetAgentInstructions",
"description": [],
"signature": [
"(apmServerUrl?: string, secretToken?: string) => ({ title: string; textPre: string; commands?: undefined; textPost?: undefined; } | { title: string; textPre: string; commands: string[]; textPost: string; } | { title: string; commands: string[]; textPost: string; textPre?: undefined; })[]"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 631
},
"deprecated": false,
"children": [
{
"parentPluginId": "apmOss",
"id": "def-server.createDotNetAgentInstructions.$1",
"type": "string",
"tags": [],
"label": "apmServerUrl",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 631
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "apmOss",
"id": "def-server.createDotNetAgentInstructions.$2",
"type": "string",
"tags": [],
"label": "secretToken",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 631
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "apmOss",
"id": "def-server.createFlaskAgentInstructions",
"type": "Function",
"tags": [],
"label": "createFlaskAgentInstructions",
"description": [],
"signature": [
"(apmServerUrl?: string, secretToken?: string) => ({ title: string; textPre: string; commands: string[]; textPost?: undefined; } | { title: string; textPre: string; commands: string[]; textPost: string; })[]"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 173
},
"deprecated": false,
"children": [
{
"parentPluginId": "apmOss",
"id": "def-server.createFlaskAgentInstructions.$1",
"type": "string",
"tags": [],
"label": "apmServerUrl",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 173
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "apmOss",
"id": "def-server.createFlaskAgentInstructions.$2",
"type": "string",
"tags": [],
"label": "secretToken",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 173
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "apmOss",
"id": "def-server.createGoAgentInstructions",
"type": "Function",
"tags": [],
"label": "createGoAgentInstructions",
"description": [],
"signature": [
"(apmServerUrl?: string, secretToken?: string) => ({ title: string; textPre: string; commands: string[]; textPost?: undefined; } | { title: string; textPre: string; commands: string[]; textPost: string; })[]"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 492
},
"deprecated": false,
"children": [
{
"parentPluginId": "apmOss",
"id": "def-server.createGoAgentInstructions.$1",
"type": "string",
"tags": [],
"label": "apmServerUrl",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 492
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "apmOss",
"id": "def-server.createGoAgentInstructions.$2",
"type": "string",
"tags": [],
"label": "secretToken",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 492
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "apmOss",
"id": "def-server.createJavaAgentInstructions",
"type": "Function",
"tags": [],
"label": "createJavaAgentInstructions",
"description": [],
"signature": [
"(apmServerUrl?: string, secretToken?: string) => ({ title: string; textPre: string; commands?: undefined; textPost?: undefined; } | { title: string; textPre: string; commands: string[]; textPost: string; })[]"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 585
},
"deprecated": false,
"children": [
{
"parentPluginId": "apmOss",
"id": "def-server.createJavaAgentInstructions.$1",
"type": "string",
"tags": [],
"label": "apmServerUrl",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 585
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "apmOss",
"id": "def-server.createJavaAgentInstructions.$2",
"type": "string",
"tags": [],
"label": "secretToken",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 585
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "apmOss",
"id": "def-server.createJsAgentInstructions",
"type": "Function",
"tags": [],
"label": "createJsAgentInstructions",
"description": [],
"signature": [
"(apmServerUrl?: string) => ({ title: string; textPre: string; commands?: undefined; textPost?: undefined; } | { title: string; textPre: string; commands: string[]; textPost: string; } | { title: string; textPre: string; commands: string[]; textPost?: undefined; })[]"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 393
},
"deprecated": false,
"children": [
{
"parentPluginId": "apmOss",
"id": "def-server.createJsAgentInstructions.$1",
"type": "string",
"tags": [],
"label": "apmServerUrl",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 393
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "apmOss",
"id": "def-server.createNodeAgentInstructions",
"type": "Function",
"tags": [],
"label": "createNodeAgentInstructions",
"description": [],
"signature": [
"(apmServerUrl?: string, secretToken?: string) => ({ title: string; textPre: string; commands: string[]; textPost?: undefined; } | { title: string; textPre: string; commands: string[]; textPost: string; })[]"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 11
},
"deprecated": false,
"children": [
{
"parentPluginId": "apmOss",
"id": "def-server.createNodeAgentInstructions.$1",
"type": "string",
"tags": [],
"label": "apmServerUrl",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 11
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "apmOss",
"id": "def-server.createNodeAgentInstructions.$2",
"type": "string",
"tags": [],
"label": "secretToken",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 11
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "apmOss",
"id": "def-server.createPhpAgentInstructions",
"type": "Function",
"tags": [],
"label": "createPhpAgentInstructions",
"description": [],
"signature": [
"(apmServerUrl?: string, secretToken?: string) => ({ title: string; textPre: string; commands?: undefined; textPost?: undefined; } | { title: string; textPre: string; commands: string[]; textPost: string; })[]"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 705
},
"deprecated": false,
"children": [
{
"parentPluginId": "apmOss",
"id": "def-server.createPhpAgentInstructions.$1",
"type": "string",
"tags": [],
"label": "apmServerUrl",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 705
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "apmOss",
"id": "def-server.createPhpAgentInstructions.$2",
"type": "string",
"tags": [],
"label": "secretToken",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 705
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "apmOss",
"id": "def-server.createRackAgentInstructions",
"type": "Function",
"tags": [],
"label": "createRackAgentInstructions",
"description": [],
"signature": [
"(apmServerUrl?: string, secretToken?: string) => ({ title: string; textPre: string; commands: string[]; textPost?: undefined; } | { title: string; textPre: string; commands: string[]; textPost: string; })[]"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 298
},
"deprecated": false,
"children": [
{
"parentPluginId": "apmOss",
"id": "def-server.createRackAgentInstructions.$1",
"type": "string",
"tags": [],
"label": "apmServerUrl",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 298
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "apmOss",
"id": "def-server.createRackAgentInstructions.$2",
"type": "string",
"tags": [],
"label": "secretToken",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 298
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "apmOss",
"id": "def-server.createRailsAgentInstructions",
"type": "Function",
"tags": [],
"label": "createRailsAgentInstructions",
"description": [],
"signature": [
"(apmServerUrl?: string, secretToken?: string) => ({ title: string; textPre: string; commands: string[]; textPost?: undefined; } | { title: string; textPre: string; commands: string[]; textPost: string; })[]"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 255
},
"deprecated": false,
"children": [
{
"parentPluginId": "apmOss",
"id": "def-server.createRailsAgentInstructions.$1",
"type": "string",
"tags": [],
"label": "apmServerUrl",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 255
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "apmOss",
"id": "def-server.createRailsAgentInstructions.$2",
"type": "string",
"tags": [],
"label": "secretToken",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/plugins/apm_oss/server/tutorial/instructions/apm_agent_instructions.ts",
"lineNumber": 255
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
}
],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [
{
"parentPluginId": "apmOss",
"id": "def-server.APM_STATIC_INDEX_PATTERN_ID",
"type": "string",
"tags": [],
"label": "APM_STATIC_INDEX_PATTERN_ID",
"description": [],
"signature": [
"\"apm_static_index_pattern_id\""
],
"source": {
"path": "src/plugins/apm_oss/common/index_pattern_constants.ts",
"lineNumber": 9
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "apmOss",
"id": "def-server.APMOSSConfig",
@ -617,7 +26,7 @@
],
"source": {
"path": "src/plugins/apm_oss/server/index.ts",
"lineNumber": 32
"lineNumber": 31
},
"deprecated": false,
"initialIsOpen": false
@ -633,7 +42,7 @@
"description": [],
"source": {
"path": "src/plugins/apm_oss/server/plugin.ts",
"lineNumber": 47
"lineNumber": 27
},
"deprecated": false,
"children": [
@ -649,7 +58,7 @@
],
"source": {
"path": "src/plugins/apm_oss/server/plugin.ts",
"lineNumber": 48
"lineNumber": 28
},
"deprecated": false
},
@ -666,34 +75,9 @@
],
"source": {
"path": "src/plugins/apm_oss/server/plugin.ts",
"lineNumber": 49
"lineNumber": 29
},
"deprecated": false
},
{
"parentPluginId": "apmOss",
"id": "def-server.APMOSSPluginSetup.getRegisteredTutorialProvider",
"type": "Function",
"tags": [],
"label": "getRegisteredTutorialProvider",
"description": [],
"signature": [
"() => ",
{
"pluginId": "home",
"scope": "server",
"docId": "kibHomePluginApi",
"section": "def-server.TutorialProvider",
"text": "TutorialProvider"
}
],
"source": {
"path": "src/plugins/apm_oss/server/plugin.ts",
"lineNumber": 50
},
"deprecated": false,
"children": [],
"returnComment": []
}
],
"lifecycle": "setup",

View file

@ -11,25 +11,11 @@ warning: This document is auto-generated and is meant to be viewed inside our ex
import apmOssObj from './apm_oss.json';
## Client
### Setup
<DocDefinitionList data={[apmOssObj.client.setup]}/>
### Start
<DocDefinitionList data={[apmOssObj.client.start]}/>
### Consts, variables and types
<DocDefinitionList data={apmOssObj.client.misc}/>
## Server
### Setup
<DocDefinitionList data={[apmOssObj.server.setup]}/>
### Functions
<DocDefinitionList data={apmOssObj.server.functions}/>
### Consts, variables and types
<DocDefinitionList data={apmOssObj.server.misc}/>

View file

@ -1,72 +0,0 @@
{
"id": "beatsManagement",
"client": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
},
"server": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
},
"common": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [
{
"parentPluginId": "beatsManagement",
"id": "def-common.BeatsManagementConfigType",
"type": "Type",
"tags": [],
"label": "BeatsManagementConfigType",
"description": [],
"signature": [
"{ readonly enabled: boolean; readonly defaultUserRoles: string[]; readonly encryptionKey: string; readonly enrollmentTokensTtlInSeconds: number; }"
],
"source": {
"path": "x-pack/plugins/beats_management/common/index.ts",
"lineNumber": 23
},
"deprecated": false,
"initialIsOpen": false
}
],
"objects": [
{
"parentPluginId": "beatsManagement",
"id": "def-common.beatsManagementConfigSchema",
"type": "Object",
"tags": [],
"label": "beatsManagementConfigSchema",
"description": [],
"signature": [
"ObjectType",
"<{ enabled: ",
"Type",
"<boolean>; defaultUserRoles: ",
"Type",
"<string[]>; encryptionKey: ",
"Type",
"<string>; enrollmentTokensTtlInSeconds: ",
"Type",
"<number>; }>"
],
"source": {
"path": "x-pack/plugins/beats_management/common/index.ts",
"lineNumber": 12
},
"deprecated": false,
"initialIsOpen": false
}
]
}
}

View file

@ -1,21 +0,0 @@
---
id: kibBeatsManagementPluginApi
slug: /kibana-dev-docs/beatsManagementPluginApi
title: beatsManagement
image: https://source.unsplash.com/400x175/?github
summary: API docs for the beatsManagement plugin
date: 2020-11-16
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'beatsManagement']
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 beatsManagementObj from './beats_management.json';
## Common
### Objects
<DocDefinitionList data={beatsManagementObj.common.objects}/>
### Consts, variables and types
<DocDefinitionList data={beatsManagementObj.common.misc}/>

View file

@ -1128,6 +1128,86 @@
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-public.CustomPaletteArguments.stop",
"type": "Array",
"tags": [],
"label": "stop",
"description": [],
"signature": [
"number[] | undefined"
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 17
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-public.CustomPaletteArguments.range",
"type": "CompoundType",
"tags": [],
"label": "range",
"description": [],
"signature": [
"\"number\" | \"percent\" | undefined"
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 18
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-public.CustomPaletteArguments.rangeMin",
"type": "number",
"tags": [],
"label": "rangeMin",
"description": [],
"signature": [
"number | undefined"
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 19
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-public.CustomPaletteArguments.rangeMax",
"type": "number",
"tags": [],
"label": "rangeMax",
"description": [],
"signature": [
"number | undefined"
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 20
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-public.CustomPaletteArguments.continuity",
"type": "CompoundType",
"tags": [],
"label": "continuity",
"description": [],
"signature": [
"\"above\" | \"below\" | \"all\" | \"none\" | undefined"
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 21
},
"deprecated": false
}
],
"initialIsOpen": false
@ -1141,7 +1221,7 @@
"description": [],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 19
"lineNumber": 24
},
"deprecated": false,
"children": [
@ -1157,7 +1237,7 @@
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 20
"lineNumber": 25
},
"deprecated": false
},
@ -1170,7 +1250,81 @@
"description": [],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 21
"lineNumber": 26
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-public.CustomPaletteState.stops",
"type": "Array",
"tags": [],
"label": "stops",
"description": [],
"signature": [
"number[]"
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 27
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-public.CustomPaletteState.range",
"type": "CompoundType",
"tags": [],
"label": "range",
"description": [],
"signature": [
"\"number\" | \"percent\""
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 28
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-public.CustomPaletteState.rangeMin",
"type": "number",
"tags": [],
"label": "rangeMin",
"description": [],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 29
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-public.CustomPaletteState.rangeMax",
"type": "number",
"tags": [],
"label": "rangeMax",
"description": [],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 30
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-public.CustomPaletteState.continuity",
"type": "CompoundType",
"tags": [],
"label": "continuity",
"description": [],
"signature": [
"\"above\" | \"below\" | \"all\" | \"none\" | undefined"
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 31
},
"deprecated": false
}
@ -1404,28 +1558,10 @@
},
{
"parentPluginId": "charts",
"id": "def-public.PaletteDefinition.renderEditor",
"id": "def-public.PaletteDefinition.getCategoricalColor",
"type": "Function",
"tags": [],
"label": "renderEditor",
"description": [
"\nRenders the UI for editing the internal state of the palette.\nNot each palette has to feature an internal state, so this is an optional property."
],
"signature": [
"((domElement: Element, props: { state?: T | undefined; setState: (updater: (oldState: T) => T) => void; }) => void) | undefined"
],
"source": {
"path": "src/plugins/charts/public/services/palettes/types.ts",
"lineNumber": 88
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-public.PaletteDefinition.getColor",
"type": "Function",
"tags": [],
"label": "getColor",
"label": "getCategoricalColor",
"description": [
"\nColor a series according to the internal rules of the palette."
],
@ -1450,7 +1586,7 @@
],
"source": {
"path": "src/plugins/charts/public/services/palettes/types.ts",
"lineNumber": 97
"lineNumber": 87
},
"deprecated": false,
"returnComment": [],
@ -1476,7 +1612,7 @@
],
"source": {
"path": "src/plugins/charts/public/services/palettes/types.ts",
"lineNumber": 98
"lineNumber": 88
},
"deprecated": false
},
@ -1499,7 +1635,7 @@
],
"source": {
"path": "src/plugins/charts/public/services/palettes/types.ts",
"lineNumber": 99
"lineNumber": 89
},
"deprecated": false
},
@ -1517,7 +1653,7 @@
],
"source": {
"path": "src/plugins/charts/public/services/palettes/types.ts",
"lineNumber": 100
"lineNumber": 90
},
"deprecated": false
}
@ -1525,10 +1661,10 @@
},
{
"parentPluginId": "charts",
"id": "def-public.PaletteDefinition.getColors",
"id": "def-public.PaletteDefinition.getCategoricalColors",
"type": "Function",
"tags": [],
"label": "getColors",
"label": "getCategoricalColors",
"description": [
"\nGet a spectrum of colors of the current palette.\nThis can be used if the chart wants to control color assignment locally."
],
@ -1537,7 +1673,7 @@
],
"source": {
"path": "src/plugins/charts/public/services/palettes/types.ts",
"lineNumber": 106
"lineNumber": 96
},
"deprecated": false,
"returnComment": [],
@ -1551,7 +1687,7 @@
"description": [],
"source": {
"path": "src/plugins/charts/public/services/palettes/types.ts",
"lineNumber": 106
"lineNumber": 96
},
"deprecated": false
},
@ -1567,11 +1703,47 @@
],
"source": {
"path": "src/plugins/charts/public/services/palettes/types.ts",
"lineNumber": 106
"lineNumber": 96
},
"deprecated": false
}
]
},
{
"parentPluginId": "charts",
"id": "def-public.PaletteDefinition.canDynamicColoring",
"type": "CompoundType",
"tags": [],
"label": "canDynamicColoring",
"description": [
"\nDefine whether a palette supports dynamic coloring (i.e. gradient colors mapped to number values)"
],
"signature": [
"boolean | undefined"
],
"source": {
"path": "src/plugins/charts/public/services/palettes/types.ts",
"lineNumber": 100
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-public.PaletteDefinition.getColorForValue",
"type": "Function",
"tags": [],
"label": "getColorForValue",
"description": [
"\nGet the assigned color for the given value based on its data domain and state settings.\nThis can be used for dynamic coloring based on uniform color distribution or custom stops."
],
"signature": [
"((value: number | undefined, state: T, { min, max }: { min: number; max: number; }) => string | undefined) | undefined"
],
"source": {
"path": "src/plugins/charts/public/services/palettes/types.ts",
"lineNumber": 105
},
"deprecated": false
}
],
"initialIsOpen": false
@ -1595,7 +1767,7 @@
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 28
"lineNumber": 38
},
"deprecated": false,
"children": [
@ -1611,7 +1783,7 @@
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 29
"lineNumber": 39
},
"deprecated": false
},
@ -1624,7 +1796,7 @@
"description": [],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 30
"lineNumber": 40
},
"deprecated": false
},
@ -1640,7 +1812,7 @@
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 31
"lineNumber": 41
},
"deprecated": false
}
@ -1656,7 +1828,7 @@
"description": [],
"source": {
"path": "src/plugins/charts/public/services/palettes/types.ts",
"lineNumber": 109
"lineNumber": 112
},
"deprecated": false,
"children": [
@ -1680,7 +1852,7 @@
],
"source": {
"path": "src/plugins/charts/public/services/palettes/types.ts",
"lineNumber": 110
"lineNumber": 113
},
"deprecated": false,
"returnComment": [],
@ -1694,7 +1866,7 @@
"description": [],
"source": {
"path": "src/plugins/charts/public/services/palettes/types.ts",
"lineNumber": 110
"lineNumber": 113
},
"deprecated": false
}
@ -1720,7 +1892,7 @@
],
"source": {
"path": "src/plugins/charts/public/services/palettes/types.ts",
"lineNumber": 111
"lineNumber": 114
},
"deprecated": false,
"returnComment": [],
@ -1949,7 +2121,7 @@
"description": [],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 24
"lineNumber": 34
},
"deprecated": false,
"children": [
@ -1962,7 +2134,7 @@
"description": [],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 25
"lineNumber": 35
},
"deprecated": false
}
@ -2689,7 +2861,7 @@
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 53
"lineNumber": 63
},
"deprecated": false,
"children": [],
@ -2750,7 +2922,7 @@
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 119
"lineNumber": 175
},
"deprecated": false,
"children": [],
@ -2816,6 +2988,86 @@
"lineNumber": 16
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-common.CustomPaletteArguments.stop",
"type": "Array",
"tags": [],
"label": "stop",
"description": [],
"signature": [
"number[] | undefined"
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 17
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-common.CustomPaletteArguments.range",
"type": "CompoundType",
"tags": [],
"label": "range",
"description": [],
"signature": [
"\"number\" | \"percent\" | undefined"
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 18
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-common.CustomPaletteArguments.rangeMin",
"type": "number",
"tags": [],
"label": "rangeMin",
"description": [],
"signature": [
"number | undefined"
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 19
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-common.CustomPaletteArguments.rangeMax",
"type": "number",
"tags": [],
"label": "rangeMax",
"description": [],
"signature": [
"number | undefined"
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 20
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-common.CustomPaletteArguments.continuity",
"type": "CompoundType",
"tags": [],
"label": "continuity",
"description": [],
"signature": [
"\"above\" | \"below\" | \"all\" | \"none\" | undefined"
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 21
},
"deprecated": false
}
],
"initialIsOpen": false
@ -2829,7 +3081,7 @@
"description": [],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 19
"lineNumber": 24
},
"deprecated": false,
"children": [
@ -2845,7 +3097,7 @@
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 20
"lineNumber": 25
},
"deprecated": false
},
@ -2858,7 +3110,81 @@
"description": [],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 21
"lineNumber": 26
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-common.CustomPaletteState.stops",
"type": "Array",
"tags": [],
"label": "stops",
"description": [],
"signature": [
"number[]"
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 27
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-common.CustomPaletteState.range",
"type": "CompoundType",
"tags": [],
"label": "range",
"description": [],
"signature": [
"\"number\" | \"percent\""
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 28
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-common.CustomPaletteState.rangeMin",
"type": "number",
"tags": [],
"label": "rangeMin",
"description": [],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 29
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-common.CustomPaletteState.rangeMax",
"type": "number",
"tags": [],
"label": "rangeMax",
"description": [],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 30
},
"deprecated": false
},
{
"parentPluginId": "charts",
"id": "def-common.CustomPaletteState.continuity",
"type": "CompoundType",
"tags": [],
"label": "continuity",
"description": [],
"signature": [
"\"above\" | \"below\" | \"all\" | \"none\" | undefined"
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 31
},
"deprecated": false
}
@ -2884,7 +3210,7 @@
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 28
"lineNumber": 38
},
"deprecated": false,
"children": [
@ -2900,7 +3226,7 @@
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 29
"lineNumber": 39
},
"deprecated": false
},
@ -2913,7 +3239,7 @@
"description": [],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 30
"lineNumber": 40
},
"deprecated": false
},
@ -2929,7 +3255,7 @@
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 31
"lineNumber": 41
},
"deprecated": false
}
@ -2945,7 +3271,7 @@
"description": [],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 24
"lineNumber": 34
},
"deprecated": false,
"children": [
@ -2958,7 +3284,7 @@
"description": [],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 25
"lineNumber": 35
},
"deprecated": false
}
@ -2997,7 +3323,7 @@
],
"source": {
"path": "src/plugins/charts/common/palette.ts",
"lineNumber": 33
"lineNumber": 43
},
"deprecated": false,
"initialIsOpen": false

View file

@ -1112,7 +1112,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 206
"lineNumber": 203
},
"deprecated": false,
"children": [
@ -1136,7 +1136,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 208
"lineNumber": 205
},
"deprecated": false
},
@ -1160,7 +1160,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 210
"lineNumber": 207
},
"deprecated": false
},
@ -1184,7 +1184,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 212
"lineNumber": 209
},
"deprecated": false
},
@ -1208,7 +1208,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 214
"lineNumber": 211
},
"deprecated": false
},
@ -1232,7 +1232,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 216
"lineNumber": 213
},
"deprecated": false
},
@ -1252,7 +1252,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 223
"lineNumber": 220
},
"deprecated": true,
"references": []
@ -1279,7 +1279,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 227
"lineNumber": 224
},
"deprecated": false,
"returnComment": [],
@ -1299,7 +1299,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 251
"lineNumber": 248
},
"deprecated": false,
"children": [
@ -1323,7 +1323,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 253
"lineNumber": 250
},
"deprecated": false
},
@ -1347,7 +1347,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 255
"lineNumber": 252
},
"deprecated": false
},
@ -1371,7 +1371,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 257
"lineNumber": 254
},
"deprecated": false
},
@ -1395,7 +1395,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 259
"lineNumber": 256
},
"deprecated": false
},
@ -1419,7 +1419,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 261
"lineNumber": 258
},
"deprecated": false
},
@ -1443,7 +1443,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 263
"lineNumber": 260
},
"deprecated": false
},
@ -1467,7 +1467,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 265
"lineNumber": 262
},
"deprecated": false
},
@ -1491,7 +1491,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 267
"lineNumber": 264
},
"deprecated": false
},
@ -1515,7 +1515,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 269
"lineNumber": 266
},
"deprecated": false
},
@ -1539,7 +1539,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 271
"lineNumber": 268
},
"deprecated": false
},
@ -1563,7 +1563,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 273
"lineNumber": 270
},
"deprecated": false
},
@ -1583,7 +1583,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 280
"lineNumber": 277
},
"deprecated": true,
"references": [
@ -1770,7 +1770,7 @@
"description": [],
"source": {
"path": "src/core/public/doc_links/doc_links_service.ts",
"lineNumber": 410
"lineNumber": 411
},
"deprecated": false,
"children": [
@ -1783,7 +1783,7 @@
"description": [],
"source": {
"path": "src/core/public/doc_links/doc_links_service.ts",
"lineNumber": 411
"lineNumber": 412
},
"deprecated": false
},
@ -1796,7 +1796,7 @@
"description": [],
"source": {
"path": "src/core/public/doc_links/doc_links_service.ts",
"lineNumber": 412
"lineNumber": 413
},
"deprecated": false
},
@ -1808,11 +1808,11 @@
"label": "links",
"description": [],
"signature": [
"{ 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 auditbeat: { readonly base: 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 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 indexPatterns: { readonly introduction: string; readonly fieldFormattersNumber: string; readonly fieldFormattersString: string; }; readonly addData: string; readonly kibana: string; readonly upgradeAssistant: string; readonly elasticsearch: Record<string, string>; readonly siem: { readonly guide: string; readonly gettingStarted: string; }; readonly query: { readonly eql: string; readonly kueryQuerySyntax: string; readonly luceneQuerySyntax: string; readonly percolate: string; readonly queryDsl: 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: Record<string, 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 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 auditbeat: { readonly base: 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 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 indexPatterns: { readonly introduction: string; readonly fieldFormattersNumber: string; readonly fieldFormattersString: string; readonly runtimeFields: string; }; readonly addData: string; readonly kibana: string; readonly upgradeAssistant: string; readonly elasticsearch: Record<string, string>; readonly siem: { readonly guide: string; readonly gettingStarted: string; }; readonly query: { readonly eql: string; readonly kueryQuerySyntax: string; readonly luceneQuerySyntax: string; readonly percolate: string; readonly queryDsl: 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: Record<string, 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>; }"
],
"source": {
"path": "src/core/public/doc_links/doc_links_service.ts",
"lineNumber": 413
"lineNumber": 414
},
"deprecated": false
}
@ -7427,7 +7427,7 @@
],
"source": {
"path": "src/core/public/index.ts",
"lineNumber": 237
"lineNumber": 234
},
"deprecated": false,
"initialIsOpen": false
@ -8544,6 +8544,20 @@
"lineNumber": 182
}
},
{
"plugin": "monitoring",
"link": {
"path": "x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_usage_collector.ts",
"lineNumber": 107
}
},
{
"plugin": "monitoring",
"link": {
"path": "x-pack/plugins/monitoring/server/telemetry_collection/register_monitoring_telemetry_collection.ts",
"lineNumber": 148
}
},
{
"plugin": "securitySolution",
"link": {
@ -8565,27 +8579,6 @@
"lineNumber": 235
}
},
{
"plugin": "beatsManagement",
"link": {
"path": "x-pack/plugins/beats_management/server/lib/adapters/database/kibana_database_adapter.ts",
"lineNumber": 113
}
},
{
"plugin": "monitoring",
"link": {
"path": "x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_usage_collector.ts",
"lineNumber": 107
}
},
{
"plugin": "monitoring",
"link": {
"path": "x-pack/plugins/monitoring/server/telemetry_collection/register_monitoring_telemetry_collection.ts",
"lineNumber": 148
}
},
{
"plugin": "licensing",
"link": {
@ -9096,7 +9089,7 @@
"plugin": "indexManagement",
"link": {
"path": "x-pack/plugins/index_management/server/types.ts",
"lineNumber": 40
"lineNumber": 39
}
},
{
@ -9110,7 +9103,7 @@
"plugin": "indexManagement",
"link": {
"path": "x-pack/plugins/index_management/target/types/server/types.d.ts",
"lineNumber": 25
"lineNumber": 24
}
}
],
@ -9387,55 +9380,6 @@
"lineNumber": 67
}
},
{
"plugin": "lists",
"link": {
"path": "x-pack/plugins/lists/server/routes/read_privileges_route.ts",
"lineNumber": 31
}
},
{
"plugin": "lists",
"link": {
"path": "x-pack/plugins/lists/server/routes/read_privileges_route.ts",
"lineNumber": 35
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/framework/kibana_framework_adapter.ts",
"lineNumber": 34
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/query_signals_route.ts",
"lineNumber": 52
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/open_close_signals_route.ts",
"lineNumber": 60
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/detection_engine/routes/privileges/read_privileges_route.ts",
"lineNumber": 41
}
},
{
"plugin": "beatsManagement",
"link": {
"path": "x-pack/plugins/beats_management/server/lib/adapters/database/kibana_database_adapter.ts",
"lineNumber": 111
}
},
{
"plugin": "canvas",
"link": {
@ -9489,7 +9433,7 @@
"plugin": "indexManagement",
"link": {
"path": "x-pack/plugins/index_management/server/routes/api/indices/register_list_route.ts",
"lineNumber": 18
"lineNumber": 16
}
},
{
@ -9510,7 +9454,7 @@
"plugin": "indexManagement",
"link": {
"path": "x-pack/plugins/index_management/server/routes/api/indices/register_reload_route.ts",
"lineNumber": 33
"lineNumber": 28
}
},
{
@ -9538,14 +9482,14 @@
"plugin": "indexManagement",
"link": {
"path": "x-pack/plugins/index_management/server/routes/api/templates/register_get_routes.ts",
"lineNumber": 24
"lineNumber": 22
}
},
{
"plugin": "indexManagement",
"link": {
"path": "x-pack/plugins/index_management/server/routes/api/templates/register_get_routes.ts",
"lineNumber": 67
"lineNumber": 64
}
},
{
@ -9622,14 +9566,14 @@
"plugin": "indexManagement",
"link": {
"path": "x-pack/plugins/index_management/server/routes/api/component_templates/create.ts",
"lineNumber": 28
"lineNumber": 24
}
},
{
"plugin": "indexManagement",
"link": {
"path": "x-pack/plugins/index_management/server/routes/api/component_templates/update.ts",
"lineNumber": 32
"lineNumber": 28
}
},
{
@ -9821,6 +9765,20 @@
"lineNumber": 420
}
},
{
"plugin": "lists",
"link": {
"path": "x-pack/plugins/lists/server/routes/read_privileges_route.ts",
"lineNumber": 31
}
},
{
"plugin": "lists",
"link": {
"path": "x-pack/plugins/lists/server/routes/read_privileges_route.ts",
"lineNumber": 35
}
},
{
"plugin": "monitoring",
"link": {
@ -9839,7 +9797,35 @@
"plugin": "monitoring",
"link": {
"path": "x-pack/plugins/monitoring/server/plugin.ts",
"lineNumber": 360
"lineNumber": 365
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/framework/kibana_framework_adapter.ts",
"lineNumber": 34
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/query_signals_route.ts",
"lineNumber": 60
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/open_close_signals_route.ts",
"lineNumber": 60
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/detection_engine/routes/privileges/read_privileges_route.ts",
"lineNumber": 41
}
},
{
@ -10817,7 +10803,7 @@
],
"source": {
"path": "node_modules/@kbn/config/target/deprecation/types.d.ts",
"lineNumber": 87
"lineNumber": 96
},
"deprecated": false,
"children": [
@ -10838,7 +10824,7 @@
],
"source": {
"path": "node_modules/@kbn/config/target/deprecation/types.d.ts",
"lineNumber": 100
"lineNumber": 109
},
"deprecated": false,
"children": [
@ -10854,7 +10840,7 @@
],
"source": {
"path": "node_modules/@kbn/config/target/deprecation/types.d.ts",
"lineNumber": 100
"lineNumber": 109
},
"deprecated": false,
"isRequired": true
@ -10871,7 +10857,7 @@
],
"source": {
"path": "node_modules/@kbn/config/target/deprecation/types.d.ts",
"lineNumber": 100
"lineNumber": 109
},
"deprecated": false,
"isRequired": true
@ -10890,7 +10876,7 @@
],
"source": {
"path": "node_modules/@kbn/config/target/deprecation/types.d.ts",
"lineNumber": 100
"lineNumber": 109
},
"deprecated": false,
"isRequired": false
@ -10915,7 +10901,7 @@
],
"source": {
"path": "node_modules/@kbn/config/target/deprecation/types.d.ts",
"lineNumber": 116
"lineNumber": 125
},
"deprecated": false,
"children": [
@ -10931,7 +10917,7 @@
],
"source": {
"path": "node_modules/@kbn/config/target/deprecation/types.d.ts",
"lineNumber": 116
"lineNumber": 125
},
"deprecated": false,
"isRequired": true
@ -10948,7 +10934,7 @@
],
"source": {
"path": "node_modules/@kbn/config/target/deprecation/types.d.ts",
"lineNumber": 116
"lineNumber": 125
},
"deprecated": false,
"isRequired": true
@ -10967,7 +10953,7 @@
],
"source": {
"path": "node_modules/@kbn/config/target/deprecation/types.d.ts",
"lineNumber": 116
"lineNumber": 125
},
"deprecated": false,
"isRequired": false
@ -10992,7 +10978,7 @@
],
"source": {
"path": "node_modules/@kbn/config/target/deprecation/types.d.ts",
"lineNumber": 129
"lineNumber": 138
},
"deprecated": false,
"children": [
@ -11008,7 +10994,7 @@
],
"source": {
"path": "node_modules/@kbn/config/target/deprecation/types.d.ts",
"lineNumber": 129
"lineNumber": 138
},
"deprecated": false,
"isRequired": true
@ -11027,7 +11013,7 @@
],
"source": {
"path": "node_modules/@kbn/config/target/deprecation/types.d.ts",
"lineNumber": 129
"lineNumber": 138
},
"deprecated": false,
"isRequired": false
@ -11052,7 +11038,7 @@
],
"source": {
"path": "node_modules/@kbn/config/target/deprecation/types.d.ts",
"lineNumber": 145
"lineNumber": 154
},
"deprecated": false,
"children": [
@ -11068,7 +11054,7 @@
],
"source": {
"path": "node_modules/@kbn/config/target/deprecation/types.d.ts",
"lineNumber": 145
"lineNumber": 154
},
"deprecated": false,
"isRequired": true
@ -11087,7 +11073,7 @@
],
"source": {
"path": "node_modules/@kbn/config/target/deprecation/types.d.ts",
"lineNumber": 145
"lineNumber": 154
},
"deprecated": false,
"isRequired": false
@ -12712,39 +12698,11 @@
"lineNumber": 117
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/telemetry/sender.ts",
"lineNumber": 125
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/telemetry/sender.ts",
"lineNumber": 218
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/telemetry/sender.ts",
"lineNumber": 235
}
},
{
"plugin": "beatsManagement",
"link": {
"path": "x-pack/plugins/beats_management/server/lib/adapters/database/kibana_database_adapter.ts",
"lineNumber": 31
}
},
{
"plugin": "indexManagement",
"link": {
"path": "x-pack/plugins/index_management/server/plugin.ts",
"lineNumber": 34
"lineNumber": 32
}
},
{
@ -12768,6 +12726,27 @@
"lineNumber": 41
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/telemetry/sender.ts",
"lineNumber": 125
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/telemetry/sender.ts",
"lineNumber": 218
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/telemetry/sender.ts",
"lineNumber": 235
}
},
{
"plugin": "licensing",
"link": {
@ -15940,48 +15919,6 @@
"deprecated": true,
"removeBy": "7.16",
"references": [
{
"plugin": "lists",
"link": {
"path": "x-pack/plugins/lists/server/schemas/common/get_call_cluster.mock.ts",
"lineNumber": 9
}
},
{
"plugin": "lists",
"link": {
"path": "x-pack/plugins/lists/server/schemas/common/get_call_cluster.mock.ts",
"lineNumber": 27
}
},
{
"plugin": "lists",
"link": {
"path": "x-pack/plugins/lists/server/schemas/common/get_call_cluster.mock.ts",
"lineNumber": 31
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/telemetry/sender.ts",
"lineNumber": 10
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/telemetry/sender.ts",
"lineNumber": 447
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/telemetry/sender.ts",
"lineNumber": 466
}
},
{
"plugin": "canvas",
"link": {
@ -16269,6 +16206,48 @@
"lineNumber": 35
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/telemetry/sender.ts",
"lineNumber": 10
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/telemetry/sender.ts",
"lineNumber": 447
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/telemetry/sender.ts",
"lineNumber": 466
}
},
{
"plugin": "lists",
"link": {
"path": "x-pack/plugins/lists/server/schemas/common/get_call_cluster.mock.ts",
"lineNumber": 9
}
},
{
"plugin": "lists",
"link": {
"path": "x-pack/plugins/lists/server/schemas/common/get_call_cluster.mock.ts",
"lineNumber": 27
}
},
{
"plugin": "lists",
"link": {
"path": "x-pack/plugins/lists/server/schemas/common/get_call_cluster.mock.ts",
"lineNumber": 31
}
},
{
"plugin": "monitoring",
"link": {
@ -16458,6 +16437,27 @@
"lineNumber": 20
}
},
{
"plugin": "lists",
"link": {
"path": "x-pack/plugins/lists/target/types/server/schemas/common/get_call_cluster.mock.d.ts",
"lineNumber": 2
}
},
{
"plugin": "lists",
"link": {
"path": "x-pack/plugins/lists/target/types/server/schemas/common/get_call_cluster.mock.d.ts",
"lineNumber": 4
}
},
{
"plugin": "lists",
"link": {
"path": "x-pack/plugins/lists/target/types/server/schemas/common/get_call_cluster.mock.d.ts",
"lineNumber": 5
}
},
{
"plugin": "monitoring",
"link": {
@ -22315,7 +22315,7 @@
],
"source": {
"path": "node_modules/@kbn/config/target/deprecation/types.d.ts",
"lineNumber": 70
"lineNumber": 79
},
"deprecated": false,
"initialIsOpen": false
@ -23173,20 +23173,6 @@
"lineNumber": 180
}
},
{
"plugin": "beatsManagement",
"link": {
"path": "x-pack/plugins/beats_management/server/lib/adapters/database/kibana_database_adapter.ts",
"lineNumber": 8
}
},
{
"plugin": "beatsManagement",
"link": {
"path": "x-pack/plugins/beats_management/server/lib/adapters/database/kibana_database_adapter.ts",
"lineNumber": 28
}
},
{
"plugin": "licensing",
"link": {
@ -23402,14 +23388,14 @@
"plugin": "indexManagement",
"link": {
"path": "x-pack/plugins/index_management/server/plugin.ts",
"lineNumber": 14
"lineNumber": 12
}
},
{
"plugin": "indexManagement",
"link": {
"path": "x-pack/plugins/index_management/server/plugin.ts",
"lineNumber": 42
"lineNumber": 38
}
},
{
@ -23507,7 +23493,7 @@
"plugin": "monitoring",
"link": {
"path": "x-pack/plugins/monitoring/server/plugin.ts",
"lineNumber": 283
"lineNumber": 288
}
},
{
@ -23680,14 +23666,14 @@
"plugin": "indexManagement",
"link": {
"path": "x-pack/plugins/index_management/server/types.ts",
"lineNumber": 43
"lineNumber": 42
}
},
{
"plugin": "indexManagement",
"link": {
"path": "x-pack/plugins/index_management/server/types.ts",
"lineNumber": 50
"lineNumber": 49
}
},
{
@ -23778,14 +23764,14 @@
"plugin": "indexManagement",
"link": {
"path": "x-pack/plugins/index_management/target/types/server/types.d.ts",
"lineNumber": 27
"lineNumber": 26
}
},
{
"plugin": "indexManagement",
"link": {
"path": "x-pack/plugins/index_management/target/types/server/types.d.ts",
"lineNumber": 33
"lineNumber": 32
}
},
{

View file

@ -886,7 +886,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 339
"lineNumber": 326
},
"deprecated": false
}
@ -930,26 +930,44 @@
},
{
"parentPluginId": "core",
"id": "def-public.App.meta",
"type": "Object",
"id": "def-public.App.keywords",
"type": "Array",
"tags": [],
"label": "meta",
"label": "keywords",
"description": [
"\nMeta data for an application that represent additional information for the app.\nSee {@link AppMeta}\n"
"Optional keywords to match with in deep links search. Omit if this part of the hierarchy does not have a page URL."
],
"signature": [
"string[] | undefined"
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 215
},
"deprecated": false
},
{
"parentPluginId": "core",
"id": "def-public.App.deepLinks",
"type": "Array",
"tags": [],
"label": "deepLinks",
"description": [
"\nInput type for registering secondary in-app locations for an application.\n\nDeep links must include at least one of `path` or `deepLinks`. A deep link that does not have a `path`\nrepresents a topological level in the application's hierarchy, but does not have a destination URL that is\nuser-accessible.\n"
],
"signature": [
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreApplicationPluginApi",
"section": "def-public.AppMeta",
"text": "AppMeta"
"section": "def-public.AppDeepLink",
"text": "AppDeepLink"
},
" | undefined"
"[] | undefined"
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 244
"lineNumber": 254
},
"deprecated": false
}
@ -967,7 +985,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 565
"lineNumber": 552
},
"deprecated": false,
"children": [
@ -990,7 +1008,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 566
"lineNumber": 553
},
"deprecated": false
},
@ -1003,7 +1021,7 @@
"description": [],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 567
"lineNumber": 554
},
"deprecated": false
},
@ -1019,7 +1037,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 568
"lineNumber": 555
},
"deprecated": false
},
@ -1035,7 +1053,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 569
"lineNumber": 556
},
"deprecated": false
}
@ -1053,7 +1071,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 553
"lineNumber": 540
},
"deprecated": false,
"children": [
@ -1076,7 +1094,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 554
"lineNumber": 541
},
"deprecated": false
}
@ -1092,7 +1110,7 @@
"description": [],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 620
"lineNumber": 607
},
"deprecated": false,
"children": [
@ -1118,7 +1136,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 626
"lineNumber": 613
},
"deprecated": false,
"children": [
@ -1143,7 +1161,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 626
"lineNumber": 613
},
"deprecated": false,
"isRequired": true
@ -1175,7 +1193,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 655
"lineNumber": 642
},
"deprecated": false,
"children": [
@ -1200,7 +1218,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 655
"lineNumber": 642
},
"deprecated": false,
"isRequired": true
@ -1220,7 +1238,7 @@
"description": [],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 696
"lineNumber": 683
},
"deprecated": false,
"children": [
@ -1238,7 +1256,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 700
"lineNumber": 687
},
"deprecated": false
},
@ -1265,7 +1283,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 709
"lineNumber": 696
},
"deprecated": false
},
@ -1291,7 +1309,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 717
"lineNumber": 704
},
"deprecated": false,
"children": [
@ -1307,7 +1325,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 717
"lineNumber": 704
},
"deprecated": false,
"isRequired": true
@ -1333,7 +1351,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 717
"lineNumber": 704
},
"deprecated": false,
"isRequired": false
@ -1355,7 +1373,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 755
"lineNumber": 742
},
"deprecated": false,
"children": [
@ -1373,7 +1391,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 755
"lineNumber": 742
},
"deprecated": false,
"isRequired": true
@ -1395,7 +1413,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 769
"lineNumber": 756
},
"deprecated": false,
"children": [
@ -1411,7 +1429,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 769
"lineNumber": 756
},
"deprecated": false,
"isRequired": true
@ -1425,7 +1443,7 @@
"description": [],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 769
"lineNumber": 756
},
"deprecated": false,
"children": [
@ -1441,7 +1459,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 769
"lineNumber": 756
},
"deprecated": false
},
@ -1457,7 +1475,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 769
"lineNumber": 756
},
"deprecated": false
}
@ -1481,68 +1499,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 774
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "core",
"id": "def-public.AppMeta",
"type": "Interface",
"tags": [],
"label": "AppMeta",
"description": [
"\nInput type for meta data for an application.\n\nMeta fields include `keywords` and `searchDeepLinks`\nKeywords is an array of string with which to associate the app, must include at least one unique string as an array.\n`searchDeepLinks` is an array of links that represent secondary in-app locations for the app."
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 255
},
"deprecated": false,
"children": [
{
"parentPluginId": "core",
"id": "def-public.AppMeta.keywords",
"type": "Array",
"tags": [],
"label": "keywords",
"description": [
"Keywords to represent this application"
],
"signature": [
"string[] | undefined"
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 257
},
"deprecated": false
},
{
"parentPluginId": "core",
"id": "def-public.AppMeta.searchDeepLinks",
"type": "Array",
"tags": [],
"label": "searchDeepLinks",
"description": [
"Array of links that represent secondary in-app locations for the app."
],
"signature": [
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreApplicationPluginApi",
"section": "def-public.AppSearchDeepLink",
"text": "AppSearchDeepLink"
},
"[] | undefined"
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 259
"lineNumber": 761
},
"deprecated": false
}
@ -1568,7 +1525,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 349
"lineNumber": 336
},
"deprecated": false,
"children": [
@ -1586,7 +1543,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 353
"lineNumber": 340
},
"deprecated": false
},
@ -1611,7 +1568,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 399
"lineNumber": 386
},
"deprecated": false
},
@ -1628,7 +1585,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 449
"lineNumber": 436
},
"deprecated": true,
"references": [
@ -1721,7 +1678,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 484
"lineNumber": 471
},
"deprecated": true,
"references": [
@ -1746,20 +1703,6 @@
"lineNumber": 298
}
},
{
"plugin": "lens",
"link": {
"path": "x-pack/plugins/lens/public/app_plugin/types.ts",
"lineNumber": 71
}
},
{
"plugin": "lens",
"link": {
"path": "x-pack/plugins/lens/public/app_plugin/mounter.tsx",
"lineNumber": 171
}
},
{
"plugin": "maps",
"link": {
@ -1781,6 +1724,27 @@
"lineNumber": 19
}
},
{
"plugin": "lens",
"link": {
"path": "x-pack/plugins/lens/public/app_plugin/types.ts",
"lineNumber": 44
}
},
{
"plugin": "lens",
"link": {
"path": "x-pack/plugins/lens/public/app_plugin/types.ts",
"lineNumber": 72
}
},
{
"plugin": "lens",
"link": {
"path": "x-pack/plugins/lens/public/app_plugin/mounter.tsx",
"lineNumber": 219
}
},
{
"plugin": "ml",
"link": {
@ -1882,7 +1846,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 484
"lineNumber": 471
},
"deprecated": false
}
@ -1910,7 +1874,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 515
"lineNumber": 502
},
"deprecated": false,
"returnComment": [],
@ -1934,7 +1898,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 515
"lineNumber": 502
},
"deprecated": false
}
@ -1954,7 +1918,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 674
"lineNumber": 661
},
"deprecated": false,
"children": [
@ -1972,7 +1936,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 679
"lineNumber": 666
},
"deprecated": false
},
@ -1990,7 +1954,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 683
"lineNumber": 670
},
"deprecated": false
},
@ -2008,7 +1972,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 687
"lineNumber": 674
},
"deprecated": false
},
@ -2026,7 +1990,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 692
"lineNumber": 679
},
"deprecated": false
}
@ -2046,7 +2010,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 540
"lineNumber": 527
},
"deprecated": false,
"initialIsOpen": false
@ -2085,6 +2049,57 @@
}
],
"misc": [
{
"parentPluginId": "core",
"id": "def-public.AppDeepLink",
"type": "Type",
"tags": [],
"label": "AppDeepLink",
"description": [
"\nInput type for registering secondary in-app locations for an application.\n\nDeep links must include at least one of `path` or `deepLinks`. A deep link that does not have a `path`\nrepresents a topological level in the application's hierarchy, but does not have a destination URL that is\nuser-accessible."
],
"signature": [
"({ id: string; title: string; keywords?: string[] | undefined; navLinkStatus?: ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreApplicationPluginApi",
"section": "def-public.AppNavLinkStatus",
"text": "AppNavLinkStatus"
},
" | undefined; } & { path: string; deepLinks?: ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreApplicationPluginApi",
"section": "def-public.AppDeepLink",
"text": "AppDeepLink"
},
"[] | undefined; }) | ({ id: string; title: string; keywords?: string[] | undefined; navLinkStatus?: ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreApplicationPluginApi",
"section": "def-public.AppNavLinkStatus",
"text": "AppNavLinkStatus"
},
" | undefined; } & { path?: string | undefined; deepLinks: ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreApplicationPluginApi",
"section": "def-public.AppDeepLink",
"text": "AppDeepLink"
},
"[]; })"
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 279
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "core",
"id": "def-public.AppLeaveAction",
@ -2113,7 +2128,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 579
"lineNumber": 566
},
"deprecated": false,
"initialIsOpen": false
@ -2143,7 +2158,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 530
"lineNumber": 517
},
"deprecated": true,
"references": [
@ -2251,42 +2266,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 338
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "core",
"id": "def-public.AppSearchDeepLink",
"type": "Type",
"tags": [],
"label": "AppSearchDeepLink",
"description": [
"\nInput type for registering secondary in-app locations for an application.\n\nDeep links must include at least one of `path` or `searchDeepLinks`. A deep link that does not have a `path`\nrepresents a topological level in the application's hierarchy, but does not have a destination URL that is\nuser-accessible."
],
"signature": [
"({ id: string; title: string; } & { path: string; searchDeepLinks?: ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreApplicationPluginApi",
"section": "def-public.AppSearchDeepLink",
"text": "AppSearchDeepLink"
},
"[] | undefined; keywords?: string[] | undefined; }) | ({ id: string; title: string; } & { path?: string | undefined; searchDeepLinks: ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreApplicationPluginApi",
"section": "def-public.AppSearchDeepLink",
"text": "AppSearchDeepLink"
},
"[]; keywords?: string[] | undefined; })"
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 293
"lineNumber": 325
},
"deprecated": false,
"initialIsOpen": false
@ -2305,7 +2285,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 346
"lineNumber": 333
},
"deprecated": false,
"initialIsOpen": false
@ -2328,15 +2308,15 @@
"section": "def-public.AppStatus",
"text": "AppStatus"
},
" | undefined; meta?: ",
" | undefined; deepLinks?: ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreApplicationPluginApi",
"section": "def-public.AppMeta",
"text": "AppMeta"
"section": "def-public.AppDeepLink",
"text": "AppDeepLink"
},
" | undefined; navLinkStatus?: ",
"[] | undefined; navLinkStatus?: ",
{
"pluginId": "core",
"scope": "public",
@ -2379,7 +2359,7 @@
"section": "def-public.App",
"text": "App"
},
"<unknown>, \"status\" | \"meta\" | \"navLinkStatus\" | \"defaultPath\" | \"tooltip\">> | undefined"
"<unknown>, \"status\" | \"deepLinks\" | \"navLinkStatus\" | \"defaultPath\" | \"tooltip\">> | undefined"
],
"source": {
"path": "src/core/public/application/types.ts",
@ -2388,6 +2368,49 @@
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "core",
"id": "def-public.PublicAppDeepLinkInfo",
"type": "Type",
"tags": [],
"label": "PublicAppDeepLinkInfo",
"description": [
"\nPublic information about a registered app's {@link AppDeepLink | deepLinks}\n"
],
"signature": [
"Pick<",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreApplicationPluginApi",
"section": "def-public.AppDeepLink",
"text": "AppDeepLink"
},
", \"title\" | \"id\" | \"path\"> & { deepLinks: ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreApplicationPluginApi",
"section": "def-public.PublicAppDeepLinkInfo",
"text": "PublicAppDeepLinkInfo"
},
"[]; keywords: string[]; navLinkStatus: ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreApplicationPluginApi",
"section": "def-public.AppNavLinkStatus",
"text": "AppNavLinkStatus"
},
"; }"
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 262
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "core",
"id": "def-public.PublicAppInfo",
@ -2422,89 +2445,19 @@
"section": "def-public.AppNavLinkStatus",
"text": "AppNavLinkStatus"
},
"; appRoute: string; meta: ",
"; appRoute: string; keywords: string[]; deepLinks: ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreApplicationPluginApi",
"section": "def-public.PublicAppMetaInfo",
"text": "PublicAppMetaInfo"
},
"; }"
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 322
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "core",
"id": "def-public.PublicAppMetaInfo",
"type": "Type",
"tags": [],
"label": "PublicAppMetaInfo",
"description": [
"\nPublic information about a registered app's {@link AppMeta | keywords }\n"
],
"signature": [
"Pick<",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreApplicationPluginApi",
"section": "def-public.AppMeta",
"text": "AppMeta"
},
", never> & { keywords: string[]; searchDeepLinks: ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreApplicationPluginApi",
"section": "def-public.PublicAppSearchDeepLinkInfo",
"text": "PublicAppSearchDeepLinkInfo"
"section": "def-public.PublicAppDeepLinkInfo",
"text": "PublicAppDeepLinkInfo"
},
"[]; }"
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 267
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "core",
"id": "def-public.PublicAppSearchDeepLinkInfo",
"type": "Type",
"tags": [],
"label": "PublicAppSearchDeepLinkInfo",
"description": [
"\nPublic information about a registered app's {@link AppSearchDeepLink | searchDeepLinks}\n"
],
"signature": [
"Pick<",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreApplicationPluginApi",
"section": "def-public.AppSearchDeepLink",
"text": "AppSearchDeepLink"
},
", \"title\" | \"id\" | \"path\"> & { searchDeepLinks: ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreApplicationPluginApi",
"section": "def-public.PublicAppSearchDeepLinkInfo",
"text": "PublicAppSearchDeepLinkInfo"
},
"[]; keywords: string[]; }"
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 277
"lineNumber": 308
},
"deprecated": false,
"initialIsOpen": false

View file

@ -890,7 +890,7 @@
"description": [],
"source": {
"path": "src/core/public/chrome/nav_links/nav_link.ts",
"lineNumber": 15
"lineNumber": 14
},
"deprecated": false,
"children": [
@ -905,7 +905,7 @@
],
"source": {
"path": "src/core/public/chrome/nav_links/nav_link.ts",
"lineNumber": 19
"lineNumber": 18
},
"deprecated": false
},
@ -920,7 +920,7 @@
],
"source": {
"path": "src/core/public/chrome/nav_links/nav_link.ts",
"lineNumber": 24
"lineNumber": 23
},
"deprecated": false
},
@ -939,7 +939,7 @@
],
"source": {
"path": "src/core/public/chrome/nav_links/nav_link.ts",
"lineNumber": 29
"lineNumber": 28
},
"deprecated": false
},
@ -954,7 +954,7 @@
],
"source": {
"path": "src/core/public/chrome/nav_links/nav_link.ts",
"lineNumber": 34
"lineNumber": 33
},
"deprecated": false
},
@ -972,7 +972,7 @@
],
"source": {
"path": "src/core/public/chrome/nav_links/nav_link.ts",
"lineNumber": 40
"lineNumber": 39
},
"deprecated": false
},
@ -990,7 +990,7 @@
],
"source": {
"path": "src/core/public/chrome/nav_links/nav_link.ts",
"lineNumber": 45
"lineNumber": 44
},
"deprecated": false
},
@ -1008,7 +1008,7 @@
],
"source": {
"path": "src/core/public/chrome/nav_links/nav_link.ts",
"lineNumber": 50
"lineNumber": 49
},
"deprecated": false
},
@ -1026,7 +1026,7 @@
],
"source": {
"path": "src/core/public/chrome/nav_links/nav_link.ts",
"lineNumber": 56
"lineNumber": 55
},
"deprecated": false
},
@ -1044,7 +1044,7 @@
],
"source": {
"path": "src/core/public/chrome/nav_links/nav_link.ts",
"lineNumber": 62
"lineNumber": 61
},
"deprecated": false
},
@ -1059,7 +1059,7 @@
],
"source": {
"path": "src/core/public/chrome/nav_links/nav_link.ts",
"lineNumber": 67
"lineNumber": 66
},
"deprecated": false
},
@ -1077,7 +1077,7 @@
],
"source": {
"path": "src/core/public/chrome/nav_links/nav_link.ts",
"lineNumber": 76
"lineNumber": 75
},
"deprecated": false
},
@ -1095,7 +1095,7 @@
],
"source": {
"path": "src/core/public/chrome/nav_links/nav_link.ts",
"lineNumber": 81
"lineNumber": 80
},
"deprecated": false
}
@ -1297,103 +1297,6 @@
],
"returnComment": []
},
{
"parentPluginId": "core",
"id": "def-public.ChromeNavLinks.update",
"type": "Function",
"tags": [
"deprecated"
],
"label": "update",
"description": [
"\nUpdate the navlink for the given id with the updated attributes.\nReturns the updated navlink or `undefined` if it does not exist.\n"
],
"signature": [
"(id: string, values: Partial<Pick<",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreChromePluginApi",
"section": "def-public.ChromeNavLink",
"text": "ChromeNavLink"
},
", \"hidden\" | \"url\" | \"disabled\" | \"href\">>) => ",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreChromePluginApi",
"section": "def-public.ChromeNavLink",
"text": "ChromeNavLink"
},
" | undefined"
],
"source": {
"path": "src/core/public/chrome/nav_links/nav_links_service.ts",
"lineNumber": 71
},
"deprecated": true,
"references": [
{
"plugin": "apm",
"link": {
"path": "x-pack/plugins/apm/public/toggleAppLinkInNav.ts",
"lineNumber": 13
}
},
{
"plugin": "graph",
"link": {
"path": "x-pack/plugins/graph/public/services/toggle_nav_link.ts",
"lineNumber": 26
}
}
],
"children": [
{
"parentPluginId": "core",
"id": "def-public.ChromeNavLinks.update.$1",
"type": "string",
"tags": [],
"label": "id",
"description": [],
"signature": [
"string"
],
"source": {
"path": "src/core/public/chrome/nav_links/nav_links_service.ts",
"lineNumber": 71
},
"deprecated": false,
"isRequired": true
},
{
"parentPluginId": "core",
"id": "def-public.ChromeNavLinks.update.$2",
"type": "Object",
"tags": [],
"label": "values",
"description": [],
"signature": [
"Partial<Pick<",
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreChromePluginApi",
"section": "def-public.ChromeNavLink",
"text": "ChromeNavLink"
},
", \"hidden\" | \"url\" | \"disabled\" | \"href\">>"
],
"source": {
"path": "src/core/public/chrome/nav_links/nav_links_service.ts",
"lineNumber": 71
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": []
},
{
"parentPluginId": "core",
"id": "def-public.ChromeNavLinks.enableForcedAppSwitcherNavigation",
@ -1408,7 +1311,7 @@
],
"source": {
"path": "src/core/public/chrome/nav_links/nav_links_service.ts",
"lineNumber": 85
"lineNumber": 73
},
"deprecated": false,
"children": [],
@ -1430,7 +1333,7 @@
],
"source": {
"path": "src/core/public/chrome/nav_links/nav_links_service.ts",
"lineNumber": 90
"lineNumber": 78
},
"deprecated": false,
"children": [],
@ -2678,23 +2581,6 @@
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "core",
"id": "def-public.ChromeNavLinkUpdateableFields",
"type": "Type",
"tags": [],
"label": "ChromeNavLinkUpdateableFields",
"description": [],
"signature": [
"{ readonly hidden?: boolean | undefined; readonly url?: string | undefined; readonly disabled?: boolean | undefined; readonly href?: string | undefined; }"
],
"source": {
"path": "src/core/public/chrome/nav_links/nav_link.ts",
"lineNumber": 85
},
"deprecated": false,
"initialIsOpen": false
},
{
"parentPluginId": "core",
"id": "def-public.NavType",

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -2690,7 +2690,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 89
"lineNumber": 90
},
"deprecated": false,
"children": [
@ -2708,7 +2708,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 90
"lineNumber": 91
},
"deprecated": false,
"returnComment": [],
@ -2758,7 +2758,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 91
"lineNumber": 92
},
"deprecated": false,
"returnComment": [],
@ -2806,7 +2806,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 92
"lineNumber": 93
},
"deprecated": false,
"returnComment": [],
@ -2875,7 +2875,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 93
"lineNumber": 94
},
"deprecated": false,
"returnComment": [],
@ -2923,7 +2923,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 94
"lineNumber": 95
},
"deprecated": false,
"returnComment": [],
@ -2955,7 +2955,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 95
"lineNumber": 96
},
"deprecated": false,
"returnComment": [],
@ -2995,7 +2995,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 96
"lineNumber": 97
},
"deprecated": false,
"returnComment": [],
@ -3128,7 +3128,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 42
"lineNumber": 43
},
"deprecated": false,
"children": [
@ -3144,7 +3144,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 43
"lineNumber": 44
},
"deprecated": false
},
@ -3202,7 +3202,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 48
"lineNumber": 49
},
"deprecated": false,
"returnComment": [],
@ -3216,7 +3216,7 @@
"description": [],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 52
"lineNumber": 53
},
"deprecated": false
},
@ -3239,7 +3239,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 53
"lineNumber": 54
},
"deprecated": false
}
@ -3266,7 +3266,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 59
"lineNumber": 60
},
"deprecated": false
}
@ -3292,7 +3292,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 99
"lineNumber": 100
},
"deprecated": false,
"children": [
@ -3308,7 +3308,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 103
"lineNumber": 104
},
"deprecated": false
},
@ -3334,7 +3334,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 109
"lineNumber": 110
},
"deprecated": false,
"returnComment": [],
@ -3351,7 +3351,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 110
"lineNumber": 111
},
"deprecated": false
}
@ -3384,7 +3384,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 112
"lineNumber": 113
},
"deprecated": false,
"returnComment": [],
@ -3408,7 +3408,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 112
"lineNumber": 113
},
"deprecated": false
}
@ -3442,7 +3442,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 113
"lineNumber": 114
},
"deprecated": false
}
@ -3470,7 +3470,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 71
"lineNumber": 72
},
"deprecated": false,
"children": [
@ -3504,7 +3504,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 75
"lineNumber": 76
},
"deprecated": false,
"returnComment": [],
@ -3521,7 +3521,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 76
"lineNumber": 77
},
"deprecated": false
},
@ -3543,7 +3543,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 77
"lineNumber": 78
},
"deprecated": false
},
@ -3565,7 +3565,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 78
"lineNumber": 79
},
"deprecated": false
}
@ -3599,7 +3599,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 80
"lineNumber": 81
},
"deprecated": false
},
@ -3631,7 +3631,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 81
"lineNumber": 82
},
"deprecated": false
}
@ -4027,6 +4027,29 @@
"lineNumber": 39
},
"deprecated": false
},
{
"parentPluginId": "data",
"id": "def-server.SearchStrategyDependencies.request",
"type": "Object",
"tags": [],
"label": "request",
"description": [],
"signature": [
{
"pluginId": "core",
"scope": "server",
"docId": "kibCoreHttpPluginApi",
"section": "def-server.KibanaRequest",
"text": "KibanaRequest"
},
"<unknown, unknown, unknown, any>"
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 40
},
"deprecated": false
}
],
"initialIsOpen": false
@ -4122,7 +4145,7 @@
],
"source": {
"path": "src/plugins/data/server/search/types.ts",
"lineNumber": 118
"lineNumber": 119
},
"deprecated": false,
"initialIsOpen": false
@ -10207,7 +10230,7 @@
"plugin": "maps",
"link": {
"path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts",
"lineNumber": 266
"lineNumber": 273
}
},
{
@ -10483,7 +10506,7 @@
"section": "def-common.IndexPatternsService",
"text": "IndexPatternsService"
},
", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultIndexPattern\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"setDefault\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"migrate\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">, dependencies: ",
", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultIndexPattern\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"getDefaultId\" | \"setDefault\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"migrate\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">, dependencies: ",
{
"pluginId": "data",
"scope": "common",
@ -10539,7 +10562,7 @@
"section": "def-common.IndexPatternsService",
"text": "IndexPatternsService"
},
", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultIndexPattern\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"setDefault\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"migrate\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">"
", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultIndexPattern\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"getDefaultId\" | \"setDefault\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"migrate\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">"
],
"source": {
"path": "src/plugins/data/common/search/search_source/search_source_service.ts",
@ -11597,7 +11620,7 @@
"section": "def-common.IndexPatternsService",
"text": "IndexPatternsService"
},
", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultIndexPattern\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"setDefault\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"migrate\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">, searchSourceDependencies: ",
", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultIndexPattern\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"getDefaultId\" | \"setDefault\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"migrate\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">, searchSourceDependencies: ",
{
"pluginId": "data",
"scope": "common",
@ -11645,7 +11668,7 @@
"section": "def-common.IndexPatternsService",
"text": "IndexPatternsService"
},
", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultIndexPattern\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"setDefault\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"migrate\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">"
", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultIndexPattern\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"getDefaultId\" | \"setDefault\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"migrate\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">"
],
"source": {
"path": "src/plugins/data/common/search/search_source/create_search_source.ts",
@ -24978,7 +25001,7 @@
"label": "AggGroupName",
"description": [],
"signature": [
"\"buckets\" | \"metrics\" | \"none\""
"\"none\" | \"buckets\" | \"metrics\""
],
"source": {
"path": "src/plugins/data/common/search/aggs/agg_groups.ts",
@ -30588,7 +30611,7 @@
"label": "types",
"description": [],
"signature": [
"(\"string\" | \"number\")[]"
"(\"number\" | \"string\")[]"
],
"source": {
"path": "src/plugins/data/common/search/expressions/range.ts",
@ -30632,7 +30655,7 @@
"label": "types",
"description": [],
"signature": [
"(\"string\" | \"number\")[]"
"(\"number\" | \"string\")[]"
],
"source": {
"path": "src/plugins/data/common/search/expressions/range.ts",
@ -30676,7 +30699,7 @@
"label": "types",
"description": [],
"signature": [
"(\"string\" | \"number\")[]"
"(\"number\" | \"string\")[]"
],
"source": {
"path": "src/plugins/data/common/search/expressions/range.ts",
@ -30720,7 +30743,7 @@
"label": "types",
"description": [],
"signature": [
"(\"string\" | \"number\")[]"
"(\"number\" | \"string\")[]"
],
"source": {
"path": "src/plugins/data/common/search/expressions/range.ts",

File diff suppressed because it is too large Load diff

View file

@ -687,7 +687,7 @@
"label": "logEvent",
"description": [],
"signature": [
"(properties: DeepPartial<DeepWriteable<Readonly<{ '@timestamp'?: string | undefined; kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => void"
"(properties: DeepPartial<DeepWriteable<Readonly<{ kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => void"
],
"source": {
"path": "x-pack/plugins/event_log/server/types.ts",
@ -703,7 +703,7 @@
"label": "properties",
"description": [],
"signature": [
"DeepPartial<DeepWriteable<Readonly<{ '@timestamp'?: string | undefined; kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined"
"DeepPartial<DeepWriteable<Readonly<{ kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined"
],
"source": {
"path": "x-pack/plugins/event_log/server/types.ts",
@ -723,7 +723,7 @@
"label": "startTiming",
"description": [],
"signature": [
"(event: DeepPartial<DeepWriteable<Readonly<{ '@timestamp'?: string | undefined; kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => void"
"(event: DeepPartial<DeepWriteable<Readonly<{ kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => void"
],
"source": {
"path": "x-pack/plugins/event_log/server/types.ts",
@ -739,7 +739,7 @@
"label": "event",
"description": [],
"signature": [
"DeepPartial<DeepWriteable<Readonly<{ '@timestamp'?: string | undefined; kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined"
"DeepPartial<DeepWriteable<Readonly<{ kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined"
],
"source": {
"path": "x-pack/plugins/event_log/server/types.ts",
@ -759,7 +759,7 @@
"label": "stopTiming",
"description": [],
"signature": [
"(event: DeepPartial<DeepWriteable<Readonly<{ '@timestamp'?: string | undefined; kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => void"
"(event: DeepPartial<DeepWriteable<Readonly<{ kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => void"
],
"source": {
"path": "x-pack/plugins/event_log/server/types.ts",
@ -775,7 +775,7 @@
"label": "event",
"description": [],
"signature": [
"DeepPartial<DeepWriteable<Readonly<{ '@timestamp'?: string | undefined; kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined"
"DeepPartial<DeepWriteable<Readonly<{ kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined"
],
"source": {
"path": "x-pack/plugins/event_log/server/types.ts",
@ -850,7 +850,7 @@
"label": "data",
"description": [],
"signature": [
"(Readonly<{ '@timestamp'?: string | undefined; kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}> | undefined)[]"
"(Readonly<{ kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}> | undefined)[]"
],
"source": {
"path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts",
@ -872,7 +872,7 @@
"label": "IEvent",
"description": [],
"signature": [
"DeepPartial<DeepWriteable<Readonly<{ '@timestamp'?: string | undefined; kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined"
"DeepPartial<DeepWriteable<Readonly<{ kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined"
],
"source": {
"path": "x-pack/plugins/event_log/generated/schemas.ts",
@ -889,7 +889,7 @@
"label": "IValidatedEvent",
"description": [],
"signature": [
"Readonly<{ '@timestamp'?: string | undefined; kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}> | undefined"
"Readonly<{ kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}> | undefined"
],
"source": {
"path": "x-pack/plugins/event_log/generated/schemas.ts",
@ -1171,7 +1171,7 @@
"label": "getLogger",
"description": [],
"signature": [
"(properties: DeepPartial<DeepWriteable<Readonly<{ '@timestamp'?: string | undefined; kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => ",
"(properties: DeepPartial<DeepWriteable<Readonly<{ kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => ",
{
"pluginId": "eventLog",
"scope": "server",
@ -1194,7 +1194,7 @@
"label": "properties",
"description": [],
"signature": [
"DeepPartial<DeepWriteable<Readonly<{ '@timestamp'?: string | undefined; kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined"
"DeepPartial<DeepWriteable<Readonly<{ kibana?: Readonly<{ saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; url?: string | undefined; end?: string | undefined; category?: string[] | undefined; code?: string | undefined; action?: string | undefined; kind?: string | undefined; original?: string | undefined; severity?: number | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; outcome?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; timezone?: string | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined"
],
"source": {
"path": "x-pack/plugins/event_log/server/types.ts",

View file

@ -39127,7 +39127,7 @@
"label": "types",
"description": [],
"signature": [
"(\"boolean\" | \"string\" | \"number\" | \"null\")[]"
"(\"number\" | \"boolean\" | \"string\" | \"null\")[]"
],
"source": {
"path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts",

View file

@ -62,7 +62,7 @@
"label": "config",
"description": [],
"signature": [
"Readonly<{ id: string; name: string; category: Readonly<{ id: string; label: string; ariaLabel?: string | undefined; order?: number | undefined; euiIconType?: string | undefined; }>; order?: number | undefined; excludeFromBasePrivileges?: boolean | undefined; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; app: readonly string[]; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: readonly string[] | undefined; privileges: Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null; subFeatures?: readonly Readonly<{ name: string; privilegeGroups: readonly Readonly<{ groupType: ",
"Readonly<{ id: string; name: string; category: Readonly<{ id: string; label: string; ariaLabel?: string | undefined; order?: number | undefined; euiIconType?: string | undefined; }>; order?: number | undefined; excludeFromBasePrivileges?: boolean | undefined; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; app: readonly string[]; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: readonly string[] | undefined; privileges: Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null; subFeatures?: readonly Readonly<{ name: string; privilegeGroups: readonly Readonly<{ groupType: ",
{
"pluginId": "features",
"scope": "common",
@ -70,7 +70,7 @@
"section": "def-common.SubFeaturePrivilegeGroupType",
"text": "SubFeaturePrivilegeGroupType"
},
"; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"none\" | \"all\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; ui: readonly string[]; app?: readonly string[] | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }>[] | undefined; privilegesTooltip?: string | undefined; reserved?: Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined; }>"
"; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"all\" | \"none\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; ui: readonly string[]; app?: readonly string[] | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }>[] | undefined; privilegesTooltip?: string | undefined; reserved?: Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined; }>"
],
"source": {
"path": "x-pack/plugins/features/common/kibana_feature.ts",
@ -212,7 +212,7 @@
"label": "privileges",
"description": [],
"signature": [
"Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null"
"Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null"
],
"source": {
"path": "x-pack/plugins/features/common/kibana_feature.ts",
@ -257,7 +257,7 @@
"label": "reserved",
"description": [],
"signature": [
"Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined"
"Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined"
],
"source": {
"path": "x-pack/plugins/features/common/kibana_feature.ts",
@ -411,7 +411,7 @@
"\nIf your feature requires access to specific Alert Types, then specify your access needs here.\nInclude both Alert Types registered by the feature and external Alert Types such as built-in\nAlert Types and Alert Types provided by other features to which you wish to grant access."
],
"signature": [
"{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; } | undefined"
"{ rule?: { all?: readonly string[] | undefined; read?: readonly string[] | undefined; } | undefined; alert?: { all?: readonly string[] | undefined; read?: readonly string[] | undefined; } | undefined; } | undefined"
],
"source": {
"path": "x-pack/plugins/features/common/feature_kibana_privileges.ts",
@ -433,7 +433,7 @@
],
"source": {
"path": "x-pack/plugins/features/common/feature_kibana_privileges.ts",
"lineNumber": 110
"lineNumber": 133
},
"deprecated": false
},
@ -453,7 +453,7 @@
],
"source": {
"path": "x-pack/plugins/features/common/feature_kibana_privileges.ts",
"lineNumber": 153
"lineNumber": 176
},
"deprecated": false
}
@ -886,7 +886,7 @@
"\nDenotes which Primary Feature Privilege this sub-feature privilege should be included in.\n`read` is also included in `all` automatically."
],
"signature": [
"\"none\" | \"all\" | \"read\""
"\"all\" | \"none\" | \"read\""
],
"source": {
"path": "x-pack/plugins/features/common/sub_feature.ts",
@ -1190,7 +1190,7 @@
"label": "config",
"description": [],
"signature": [
"Readonly<{ id: string; name: string; category: Readonly<{ id: string; label: string; ariaLabel?: string | undefined; order?: number | undefined; euiIconType?: string | undefined; }>; order?: number | undefined; excludeFromBasePrivileges?: boolean | undefined; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; app: readonly string[]; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: readonly string[] | undefined; privileges: Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null; subFeatures?: readonly Readonly<{ name: string; privilegeGroups: readonly Readonly<{ groupType: ",
"Readonly<{ id: string; name: string; category: Readonly<{ id: string; label: string; ariaLabel?: string | undefined; order?: number | undefined; euiIconType?: string | undefined; }>; order?: number | undefined; excludeFromBasePrivileges?: boolean | undefined; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; app: readonly string[]; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: readonly string[] | undefined; privileges: Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null; subFeatures?: readonly Readonly<{ name: string; privilegeGroups: readonly Readonly<{ groupType: ",
{
"pluginId": "features",
"scope": "common",
@ -1198,7 +1198,7 @@
"section": "def-common.SubFeaturePrivilegeGroupType",
"text": "SubFeaturePrivilegeGroupType"
},
"; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"none\" | \"all\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; ui: readonly string[]; app?: readonly string[] | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }>[] | undefined; privilegesTooltip?: string | undefined; reserved?: Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined; }>"
"; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"all\" | \"none\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; ui: readonly string[]; app?: readonly string[] | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }>[] | undefined; privilegesTooltip?: string | undefined; reserved?: Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined; }>"
],
"source": {
"path": "x-pack/plugins/features/common/kibana_feature.ts",
@ -1340,7 +1340,7 @@
"label": "privileges",
"description": [],
"signature": [
"Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null"
"Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null"
],
"source": {
"path": "x-pack/plugins/features/common/kibana_feature.ts",
@ -1385,7 +1385,7 @@
"label": "reserved",
"description": [],
"signature": [
"Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined"
"Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined"
],
"source": {
"path": "x-pack/plugins/features/common/kibana_feature.ts",
@ -1599,13 +1599,6 @@
"path": "x-pack/plugins/security/server/authorization/disable_ui_capabilities.ts",
"lineNumber": 311
}
},
{
"plugin": "beatsManagement",
"link": {
"path": "x-pack/plugins/beats_management/server/plugin.ts",
"lineNumber": 61
}
}
]
},
@ -1747,7 +1740,7 @@
"\nIf your feature requires access to specific Alert Types, then specify your access needs here.\nInclude both Alert Types registered by the feature and external Alert Types such as built-in\nAlert Types and Alert Types provided by other features to which you wish to grant access."
],
"signature": [
"{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; } | undefined"
"{ rule?: { all?: readonly string[] | undefined; read?: readonly string[] | undefined; } | undefined; alert?: { all?: readonly string[] | undefined; read?: readonly string[] | undefined; } | undefined; } | undefined"
],
"source": {
"path": "x-pack/plugins/features/common/feature_kibana_privileges.ts",
@ -1769,7 +1762,7 @@
],
"source": {
"path": "x-pack/plugins/features/common/feature_kibana_privileges.ts",
"lineNumber": 110
"lineNumber": 133
},
"deprecated": false
},
@ -1789,7 +1782,7 @@
],
"source": {
"path": "x-pack/plugins/features/common/feature_kibana_privileges.ts",
"lineNumber": 153
"lineNumber": 176
},
"deprecated": false
}
@ -2304,13 +2297,72 @@
"\nUtility for iterating through all privileges belonging to a specific feature.\n{@see FeaturePrivilegeIterator }"
],
"signature": [
"FeaturePrivilegeIterator"
"(feature: ",
{
"pluginId": "features",
"scope": "common",
"docId": "kibFeaturesPluginApi",
"section": "def-common.KibanaFeature",
"text": "KibanaFeature"
},
", options: ",
"FeaturePrivilegeIteratorOptions",
") => IterableIterator<{ privilegeId: string; privilege: ",
{
"pluginId": "features",
"scope": "common",
"docId": "kibFeaturesPluginApi",
"section": "def-common.FeatureKibanaPrivileges",
"text": "FeatureKibanaPrivileges"
},
"; }>"
],
"source": {
"path": "x-pack/plugins/features/server/plugin.ts",
"lineNumber": 70
},
"deprecated": false
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "features",
"id": "def-server.feature",
"type": "Object",
"tags": [],
"label": "feature",
"description": [],
"signature": [
{
"pluginId": "features",
"scope": "common",
"docId": "kibFeaturesPluginApi",
"section": "def-common.KibanaFeature",
"text": "KibanaFeature"
}
],
"source": {
"path": "x-pack/plugins/features/server/feature_privilege_iterator/feature_privilege_iterator.ts",
"lineNumber": 44
},
"deprecated": false
},
{
"parentPluginId": "features",
"id": "def-server.options",
"type": "Object",
"tags": [],
"label": "options",
"description": [],
"signature": [
"FeaturePrivilegeIteratorOptions"
],
"source": {
"path": "x-pack/plugins/features/server/feature_privilege_iterator/feature_privilege_iterator.ts",
"lineNumber": 45
},
"deprecated": false
}
]
},
{
"parentPluginId": "features",
@ -2322,13 +2374,70 @@
"\nUtility for iterating through all sub-feature privileges belonging to a specific feature.\n{@see SubFeaturePrivilegeIterator }"
],
"signature": [
"SubFeaturePrivilegeIterator"
"(feature: ",
{
"pluginId": "features",
"scope": "common",
"docId": "kibFeaturesPluginApi",
"section": "def-common.KibanaFeature",
"text": "KibanaFeature"
},
", licenseType: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\") => IterableIterator<",
{
"pluginId": "features",
"scope": "common",
"docId": "kibFeaturesPluginApi",
"section": "def-common.SubFeaturePrivilegeConfig",
"text": "SubFeaturePrivilegeConfig"
},
">"
],
"source": {
"path": "x-pack/plugins/features/server/plugin.ts",
"lineNumber": 76
},
"deprecated": false
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "features",
"id": "def-server.feature",
"type": "Object",
"tags": [],
"label": "feature",
"description": [],
"signature": [
{
"pluginId": "features",
"scope": "common",
"docId": "kibFeaturesPluginApi",
"section": "def-common.KibanaFeature",
"text": "KibanaFeature"
}
],
"source": {
"path": "x-pack/plugins/features/server/feature_privilege_iterator/sub_feature_privilege_iterator.ts",
"lineNumber": 18
},
"deprecated": false
},
{
"parentPluginId": "features",
"id": "def-server.licenseType",
"type": "CompoundType",
"tags": [],
"label": "licenseType",
"description": [],
"signature": [
"\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\""
],
"source": {
"path": "x-pack/plugins/features/server/feature_privilege_iterator/sub_feature_privilege_iterator.ts",
"lineNumber": 19
},
"deprecated": false
}
]
}
],
"initialIsOpen": false
@ -2650,7 +2759,7 @@
"label": "config",
"description": [],
"signature": [
"Readonly<{ id: string; name: string; category: Readonly<{ id: string; label: string; ariaLabel?: string | undefined; order?: number | undefined; euiIconType?: string | undefined; }>; order?: number | undefined; excludeFromBasePrivileges?: boolean | undefined; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; app: readonly string[]; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: readonly string[] | undefined; privileges: Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null; subFeatures?: readonly Readonly<{ name: string; privilegeGroups: readonly Readonly<{ groupType: ",
"Readonly<{ id: string; name: string; category: Readonly<{ id: string; label: string; ariaLabel?: string | undefined; order?: number | undefined; euiIconType?: string | undefined; }>; order?: number | undefined; excludeFromBasePrivileges?: boolean | undefined; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; app: readonly string[]; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: readonly string[] | undefined; privileges: Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null; subFeatures?: readonly Readonly<{ name: string; privilegeGroups: readonly Readonly<{ groupType: ",
{
"pluginId": "features",
"scope": "common",
@ -2658,7 +2767,7 @@
"section": "def-common.SubFeaturePrivilegeGroupType",
"text": "SubFeaturePrivilegeGroupType"
},
"; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"none\" | \"all\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; ui: readonly string[]; app?: readonly string[] | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }>[] | undefined; privilegesTooltip?: string | undefined; reserved?: Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined; }>"
"; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"all\" | \"none\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; ui: readonly string[]; app?: readonly string[] | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }>[] | undefined; privilegesTooltip?: string | undefined; reserved?: Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined; }>"
],
"source": {
"path": "x-pack/plugins/features/common/kibana_feature.ts",
@ -2800,7 +2909,7 @@
"label": "privileges",
"description": [],
"signature": [
"Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null"
"Readonly<{ all: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; read: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }> | null"
],
"source": {
"path": "x-pack/plugins/features/common/kibana_feature.ts",
@ -2845,7 +2954,7 @@
"label": "reserved",
"description": [],
"signature": [
"Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined"
"Readonly<{ description: string; privileges: readonly Readonly<{ id: string; privilege: Readonly<{ excludeFromBasePrivileges?: boolean | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; api?: readonly string[] | undefined; app?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; ui: readonly string[]; }>; }>[]; }> | undefined"
],
"source": {
"path": "x-pack/plugins/features/common/kibana_feature.ts",
@ -2926,7 +3035,7 @@
"section": "def-common.SubFeaturePrivilegeGroupType",
"text": "SubFeaturePrivilegeGroupType"
},
"; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"none\" | \"all\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; ui: readonly string[]; app?: readonly string[] | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }>"
"; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"all\" | \"none\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; ui: readonly string[]; app?: readonly string[] | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }>"
],
"source": {
"path": "x-pack/plugins/features/common/sub_feature.ts",
@ -2967,7 +3076,7 @@
"section": "def-common.SubFeaturePrivilegeGroupType",
"text": "SubFeaturePrivilegeGroupType"
},
"; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"none\" | \"all\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; ui: readonly string[]; app?: readonly string[] | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]"
"; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"all\" | \"none\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; ui: readonly string[]; app?: readonly string[] | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]"
],
"source": {
"path": "x-pack/plugins/features/common/sub_feature.ts",
@ -2991,7 +3100,7 @@
"section": "def-common.SubFeaturePrivilegeGroupType",
"text": "SubFeaturePrivilegeGroupType"
},
"; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"none\" | \"all\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; ui: readonly string[]; app?: readonly string[] | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }"
"; privileges: readonly Readonly<{ id: string; name: string; includeIn: \"all\" | \"none\" | \"read\"; minimumLicense?: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\" | undefined; management?: Readonly<{ [x: string]: readonly string[]; }> | undefined; catalogue?: readonly string[] | undefined; alerting?: Readonly<{ rule?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; alert?: Readonly<{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; }> | undefined; }> | undefined; ui: readonly string[]; app?: readonly string[] | undefined; api?: readonly string[] | undefined; savedObject: Readonly<{ all: readonly string[]; read: readonly string[]; }>; }>[]; }>[]; }"
],
"source": {
"path": "x-pack/plugins/features/common/sub_feature.ts",
@ -3182,13 +3291,6 @@
"path": "x-pack/plugins/security/server/authorization/disable_ui_capabilities.ts",
"lineNumber": 311
}
},
{
"plugin": "beatsManagement",
"link": {
"path": "x-pack/plugins/beats_management/server/plugin.ts",
"lineNumber": 61
}
}
]
},
@ -3330,7 +3432,7 @@
"\nIf your feature requires access to specific Alert Types, then specify your access needs here.\nInclude both Alert Types registered by the feature and external Alert Types such as built-in\nAlert Types and Alert Types provided by other features to which you wish to grant access."
],
"signature": [
"{ all?: readonly string[] | undefined; read?: readonly string[] | undefined; } | undefined"
"{ rule?: { all?: readonly string[] | undefined; read?: readonly string[] | undefined; } | undefined; alert?: { all?: readonly string[] | undefined; read?: readonly string[] | undefined; } | undefined; } | undefined"
],
"source": {
"path": "x-pack/plugins/features/common/feature_kibana_privileges.ts",
@ -3352,7 +3454,7 @@
],
"source": {
"path": "x-pack/plugins/features/common/feature_kibana_privileges.ts",
"lineNumber": 110
"lineNumber": 133
},
"deprecated": false
},
@ -3372,7 +3474,7 @@
],
"source": {
"path": "x-pack/plugins/features/common/feature_kibana_privileges.ts",
"lineNumber": 153
"lineNumber": 176
},
"deprecated": false
}
@ -3805,7 +3907,7 @@
"\nDenotes which Primary Feature Privilege this sub-feature privilege should be included in.\n`read` is also included in `all` automatically."
],
"signature": [
"\"none\" | \"all\" | \"read\""
"\"all\" | \"none\" | \"read\""
],
"source": {
"path": "x-pack/plugins/features/common/sub_feature.ts",

File diff suppressed because it is too large Load diff

View file

@ -953,13 +953,6 @@
},
"deprecated": true,
"references": [
{
"plugin": "cloud",
"link": {
"path": "x-pack/plugins/cloud/public/plugin.ts",
"lineNumber": 66
}
},
{
"plugin": "ml",
"link": {
@ -973,6 +966,13 @@
"path": "x-pack/plugins/apm/public/plugin.ts",
"lineNumber": 82
}
},
{
"plugin": "cloud",
"link": {
"path": "x-pack/plugins/cloud/public/plugin.ts",
"lineNumber": 66
}
}
]
}
@ -1070,7 +1070,7 @@
},
") => void; getSampleDatasets: () => ",
"Writable",
"<Readonly<{ status?: string | undefined; darkPreviewImagePath?: string | undefined; statusMsg?: string | undefined; } & { description: string; id: string; name: string; defaultIndex: string; savedObjects: Readonly<{ version?: any; attributes?: any; } & { type: string; id: string; references: any[]; }>[]; previewImagePath: string; overviewDashboard: string; appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]; dataIndices: Readonly<{} & { id: string; fields: Record<string, any>; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>[]; addSavedObjectsToSampleDataset: (id: string, savedObjects: ",
"<Readonly<{ status?: string | undefined; darkPreviewImagePath?: string | undefined; statusMsg?: string | undefined; } & { description: string; id: string; name: string; savedObjects: Readonly<{ version?: any; attributes?: any; } & { type: string; id: string; references: any[]; }>[]; previewImagePath: string; overviewDashboard: string; appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]; defaultIndex: string; dataIndices: Readonly<{} & { id: string; fields: Record<string, any>; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>[]; addSavedObjectsToSampleDataset: (id: string, savedObjects: ",
"SavedObject",
"<unknown>[]) => void; addAppLinksToSampleDataset: (id: string, appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]) => void; replacePanelInSampleDatasetDashboard: ({ sampleDataId, dashboardId, oldEmbeddableId, embeddableId, embeddableType, embeddableConfig, }: ",
"SampleDatasetDashboardPanel",
@ -1093,7 +1093,7 @@
"signature": [
"() => ",
"Writable",
"<Readonly<{ status?: string | undefined; darkPreviewImagePath?: string | undefined; statusMsg?: string | undefined; } & { description: string; id: string; name: string; defaultIndex: string; savedObjects: Readonly<{ version?: any; attributes?: any; } & { type: string; id: string; references: any[]; }>[]; previewImagePath: string; overviewDashboard: string; appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]; dataIndices: Readonly<{} & { id: string; fields: Record<string, any>; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>"
"<Readonly<{ status?: string | undefined; darkPreviewImagePath?: string | undefined; statusMsg?: string | undefined; } & { description: string; id: string; name: string; savedObjects: Readonly<{ version?: any; attributes?: any; } & { type: string; id: string; references: any[]; }>[]; previewImagePath: string; overviewDashboard: string; appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]; defaultIndex: string; dataIndices: Readonly<{} & { id: string; fields: Record<string, any>; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>"
],
"source": {
"path": "src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types.ts",
@ -1426,7 +1426,7 @@
},
") => void; getSampleDatasets: () => ",
"Writable",
"<Readonly<{ status?: string | undefined; darkPreviewImagePath?: string | undefined; statusMsg?: string | undefined; } & { description: string; id: string; name: string; defaultIndex: string; savedObjects: Readonly<{ version?: any; attributes?: any; } & { type: string; id: string; references: any[]; }>[]; previewImagePath: string; overviewDashboard: string; appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]; dataIndices: Readonly<{} & { id: string; fields: Record<string, any>; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>[]; addSavedObjectsToSampleDataset: (id: string, savedObjects: ",
"<Readonly<{ status?: string | undefined; darkPreviewImagePath?: string | undefined; statusMsg?: string | undefined; } & { description: string; id: string; name: string; savedObjects: Readonly<{ version?: any; attributes?: any; } & { type: string; id: string; references: any[]; }>[]; previewImagePath: string; overviewDashboard: string; appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]; defaultIndex: string; dataIndices: Readonly<{} & { id: string; fields: Record<string, any>; timeFields: string[]; dataPath: string; currentTimeMarker: string; preserveDayOfWeekTimeOfDay: boolean; }>[]; }>>[]; addSavedObjectsToSampleDataset: (id: string, savedObjects: ",
"SavedObject",
"<unknown>[]) => void; addAppLinksToSampleDataset: (id: string, appLinks: Readonly<{} & { label: string; path: string; icon: string; }>[]) => void; replacePanelInSampleDatasetDashboard: ({ sampleDataId, dashboardId, oldEmbeddableId, embeddableId, embeddableType, embeddableConfig, }: ",
"SampleDatasetDashboardPanel",

View file

@ -722,7 +722,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/index_management/server/plugin.ts",
"lineNumber": 25
"lineNumber": 23
},
"deprecated": false,
"children": [
@ -740,7 +740,7 @@
],
"source": {
"path": "x-pack/plugins/index_management/server/plugin.ts",
"lineNumber": 26
"lineNumber": 24
},
"deprecated": false
}

File diff suppressed because one or more lines are too long

View file

@ -3799,7 +3799,7 @@
"description": [],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 717
"lineNumber": 704
},
"deprecated": false
},
@ -3822,7 +3822,7 @@
],
"source": {
"path": "src/core/public/application/types.ts",
"lineNumber": 717
"lineNumber": 704
},
"deprecated": false
}

View file

@ -119,7 +119,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/lens/public/datatable_visualization/visualization.tsx",
"lineNumber": 42
"lineNumber": 48
},
"deprecated": false,
"children": [
@ -136,7 +136,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/datatable_visualization/visualization.tsx",
"lineNumber": 43
"lineNumber": 49
},
"deprecated": false
},
@ -149,7 +149,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/lens/public/datatable_visualization/visualization.tsx",
"lineNumber": 44
"lineNumber": 50
},
"deprecated": false
},
@ -166,7 +166,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/datatable_visualization/visualization.tsx",
"lineNumber": 45
"lineNumber": 51
},
"deprecated": false
}
@ -720,7 +720,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/lens/public/types.ts",
"lineNumber": 363
"lineNumber": 348
},
"deprecated": false,
"children": [
@ -736,7 +736,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/types.ts",
"lineNumber": 365
"lineNumber": 350
},
"deprecated": false
},
@ -749,7 +749,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/lens/public/types.ts",
"lineNumber": 368
"lineNumber": 353
},
"deprecated": false
},
@ -767,7 +767,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/types.ts",
"lineNumber": 374
"lineNumber": 359
},
"deprecated": false
}
@ -1039,7 +1039,7 @@
"label": "numberDisplay",
"description": [],
"signature": [
"\"hidden\" | \"value\" | \"percent\""
"\"percent\" | \"hidden\" | \"value\""
],
"source": {
"path": "x-pack/plugins/lens/public/pie_visualization/types.ts",
@ -1353,7 +1353,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/lens/public/xy_visualization/types.ts",
"lineNumber": 473
"lineNumber": 474
},
"deprecated": false,
"children": [
@ -1369,7 +1369,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/xy_visualization/types.ts",
"lineNumber": 474
"lineNumber": 475
},
"deprecated": false
},
@ -1391,7 +1391,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/xy_visualization/types.ts",
"lineNumber": 475
"lineNumber": 476
},
"deprecated": false
},
@ -1407,7 +1407,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/xy_visualization/types.ts",
"lineNumber": 476
"lineNumber": 477
},
"deprecated": false
},
@ -1423,7 +1423,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/xy_visualization/types.ts",
"lineNumber": 477
"lineNumber": 478
},
"deprecated": false
},
@ -1440,7 +1440,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/xy_visualization/types.ts",
"lineNumber": 478
"lineNumber": 479
},
"deprecated": false
},
@ -1457,7 +1457,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/xy_visualization/types.ts",
"lineNumber": 479
"lineNumber": 480
},
"deprecated": false
},
@ -1480,7 +1480,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/xy_visualization/types.ts",
"lineNumber": 480
"lineNumber": 481
},
"deprecated": false
},
@ -1496,7 +1496,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/xy_visualization/types.ts",
"lineNumber": 481
"lineNumber": 482
},
"deprecated": false
},
@ -1512,7 +1512,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/xy_visualization/types.ts",
"lineNumber": 482
"lineNumber": 483
},
"deprecated": false
},
@ -1528,7 +1528,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/xy_visualization/types.ts",
"lineNumber": 483
"lineNumber": 484
},
"deprecated": false
},
@ -1551,7 +1551,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/xy_visualization/types.ts",
"lineNumber": 484
"lineNumber": 485
},
"deprecated": false
},
@ -1574,7 +1574,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/xy_visualization/types.ts",
"lineNumber": 485
"lineNumber": 486
},
"deprecated": false
},
@ -1597,7 +1597,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/xy_visualization/types.ts",
"lineNumber": 486
"lineNumber": 487
},
"deprecated": false
},
@ -1613,7 +1613,23 @@
],
"source": {
"path": "x-pack/plugins/lens/public/xy_visualization/types.ts",
"lineNumber": 487
"lineNumber": 488
},
"deprecated": false
},
{
"parentPluginId": "lens",
"id": "def-public.XYState.fillOpacity",
"type": "number",
"tags": [],
"label": "fillOpacity",
"description": [],
"signature": [
"number | undefined"
],
"source": {
"path": "x-pack/plugins/lens/public/xy_visualization/types.ts",
"lineNumber": 489
},
"deprecated": false
},
@ -1629,7 +1645,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/xy_visualization/types.ts",
"lineNumber": 488
"lineNumber": 490
},
"deprecated": false
}
@ -1743,7 +1759,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/types.ts",
"lineNumber": 352
"lineNumber": 337
},
"deprecated": false,
"initialIsOpen": false
@ -2074,7 +2090,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/calculations/moving_average.tsx",
"lineNumber": 47
"lineNumber": 43
},
"deprecated": false,
"initialIsOpen": false
@ -2093,7 +2109,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/index.ts",
"lineNumber": 497
"lineNumber": 498
},
"deprecated": false,
"initialIsOpen": false
@ -2280,7 +2296,7 @@
],
"source": {
"path": "x-pack/plugins/lens/public/xy_visualization/types.ts",
"lineNumber": 470
"lineNumber": 471
},
"deprecated": false,
"initialIsOpen": false

View file

@ -553,90 +553,6 @@
},
"deprecated": true,
"references": [
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/common/license/policy_config.test.ts",
"lineNumber": 22
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/common/license/policy_config.test.ts",
"lineNumber": 23
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/common/license/policy_config.test.ts",
"lineNumber": 24
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/index.test.ts",
"lineNumber": 159
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/index.test.ts",
"lineNumber": 161
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts",
"lineNumber": 42
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts",
"lineNumber": 43
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts",
"lineNumber": 44
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts",
"lineNumber": 54
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts",
"lineNumber": 55
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts",
"lineNumber": 47
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts",
"lineNumber": 48
}
},
{
"plugin": "apm",
"link": {
@ -741,6 +657,90 @@
"path": "x-pack/plugins/security/common/licensing/license_service.test.ts",
"lineNumber": 219
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/common/license/policy_config.test.ts",
"lineNumber": 22
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/common/license/policy_config.test.ts",
"lineNumber": 23
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/common/license/policy_config.test.ts",
"lineNumber": 24
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts",
"lineNumber": 47
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts",
"lineNumber": 48
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts",
"lineNumber": 42
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts",
"lineNumber": 43
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts",
"lineNumber": 44
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts",
"lineNumber": 54
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts",
"lineNumber": 55
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/index.test.ts",
"lineNumber": 159
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/index.test.ts",
"lineNumber": 161
}
}
]
}
@ -941,13 +941,6 @@
},
"deprecated": true,
"references": [
{
"plugin": "security",
"link": {
"path": "x-pack/plugins/security/public/plugin.tsx",
"lineNumber": 82
}
},
{
"plugin": "licenseManagement",
"link": {
@ -955,6 +948,13 @@
"lineNumber": 61
}
},
{
"plugin": "security",
"link": {
"path": "x-pack/plugins/security/public/plugin.tsx",
"lineNumber": 82
}
},
{
"plugin": "ml",
"link": {
@ -966,14 +966,7 @@
"plugin": "ml",
"link": {
"path": "x-pack/plugins/ml/public/plugin.ts",
"lineNumber": 136
}
},
{
"plugin": "fleet",
"link": {
"path": "x-pack/plugins/fleet/public/plugin.ts",
"lineNumber": 97
"lineNumber": 141
}
},
{
@ -1018,13 +1011,6 @@
"lineNumber": 19
}
},
{
"plugin": "beatsManagement",
"link": {
"path": "x-pack/plugins/beats_management/public/lib/adapters/framework/kibana_framework_adapter.ts",
"lineNumber": 65
}
},
{
"plugin": "crossClusterReplication",
"link": {
@ -1032,6 +1018,13 @@
"lineNumber": 75
}
},
{
"plugin": "fleet",
"link": {
"path": "x-pack/plugins/fleet/public/plugin.ts",
"lineNumber": 97
}
},
{
"plugin": "logstash",
"link": {
@ -2649,90 +2642,6 @@
},
"deprecated": true,
"references": [
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/common/license/policy_config.test.ts",
"lineNumber": 22
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/common/license/policy_config.test.ts",
"lineNumber": 23
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/common/license/policy_config.test.ts",
"lineNumber": 24
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/index.test.ts",
"lineNumber": 159
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/index.test.ts",
"lineNumber": 161
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts",
"lineNumber": 42
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts",
"lineNumber": 43
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts",
"lineNumber": 44
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts",
"lineNumber": 54
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts",
"lineNumber": 55
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts",
"lineNumber": 47
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts",
"lineNumber": 48
}
},
{
"plugin": "apm",
"link": {
@ -2837,6 +2746,90 @@
"path": "x-pack/plugins/security/common/licensing/license_service.test.ts",
"lineNumber": 219
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/common/license/policy_config.test.ts",
"lineNumber": 22
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/common/license/policy_config.test.ts",
"lineNumber": 23
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/common/license/policy_config.test.ts",
"lineNumber": 24
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts",
"lineNumber": 47
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts",
"lineNumber": 48
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts",
"lineNumber": 42
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts",
"lineNumber": 43
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts",
"lineNumber": 44
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts",
"lineNumber": 54
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts",
"lineNumber": 55
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/index.test.ts",
"lineNumber": 159
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/public/management/pages/policy/store/policy_details/index.test.ts",
"lineNumber": 161
}
}
]
}
@ -3095,7 +3088,7 @@
"plugin": "reporting",
"link": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 208
"lineNumber": 206
}
},
{
@ -3126,20 +3119,6 @@
"lineNumber": 139
}
},
{
"plugin": "fleet",
"link": {
"path": "x-pack/plugins/fleet/server/plugin.ts",
"lineNumber": 213
}
},
{
"plugin": "indexManagement",
"link": {
"path": "x-pack/plugins/index_management/server/services/license.ts",
"lineNumber": 36
}
},
{
"plugin": "remoteClusters",
"link": {
@ -3147,6 +3126,13 @@
"lineNumber": 73
}
},
{
"plugin": "fleet",
"link": {
"path": "x-pack/plugins/fleet/server/plugin.ts",
"lineNumber": 213
}
},
{
"plugin": "graph",
"link": {
@ -3161,13 +3147,6 @@
"lineNumber": 41
}
},
{
"plugin": "ingestPipelines",
"link": {
"path": "x-pack/plugins/ingest_pipelines/server/services/license.ts",
"lineNumber": 40
}
},
{
"plugin": "maps",
"link": {

File diff suppressed because one or more lines are too long

View file

@ -22,15 +22,9 @@ import listsObj from './lists.json';
### Objects
<DocDefinitionList data={listsObj.client.objects}/>
### Functions
<DocDefinitionList data={listsObj.client.functions}/>
### Classes
<DocDefinitionList data={listsObj.client.classes}/>
### Interfaces
<DocDefinitionList data={listsObj.client.interfaces}/>
## Server
### Classes
@ -39,11 +33,3 @@ import listsObj from './lists.json';
### Interfaces
<DocDefinitionList data={listsObj.server.interfaces}/>
## Common
### Functions
<DocDefinitionList data={listsObj.common.functions}/>
### Consts, variables and types
<DocDefinitionList data={listsObj.common.misc}/>

View file

@ -22,7 +22,7 @@
],
"source": {
"path": "src/plugins/management/public/utils/management_app.ts",
"lineNumber": 19
"lineNumber": 18
},
"deprecated": false,
"children": [
@ -50,7 +50,7 @@
],
"source": {
"path": "src/plugins/management/public/utils/management_app.ts",
"lineNumber": 20
"lineNumber": 19
},
"deprecated": false,
"returnComment": [],
@ -88,29 +88,23 @@
"description": [],
"source": {
"path": "src/plugins/management/public/utils/management_app.ts",
"lineNumber": 21
"lineNumber": 20
},
"deprecated": false
},
{
"parentPluginId": "management",
"id": "def-public.ManagementApp.meta",
"type": "Object",
"id": "def-public.ManagementApp.keywords",
"type": "Array",
"tags": [],
"label": "meta",
"label": "keywords",
"description": [],
"signature": [
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreApplicationPluginApi",
"section": "def-public.AppMeta",
"text": "AppMeta"
}
"string[]"
],
"source": {
"path": "src/plugins/management/public/utils/management_app.ts",
"lineNumber": 22
"lineNumber": 21
},
"deprecated": false
},
@ -126,7 +120,7 @@
],
"source": {
"path": "src/plugins/management/public/utils/management_app.ts",
"lineNumber": 24
"lineNumber": 23
},
"deprecated": false,
"children": [
@ -148,7 +142,7 @@
],
"source": {
"path": "src/plugins/management/public/utils/management_app.ts",
"lineNumber": 24
"lineNumber": 23
},
"deprecated": false,
"isRequired": true
@ -260,7 +254,7 @@
"section": "def-public.RegisterManagementAppArgs",
"text": "RegisterManagementAppArgs"
},
", \"title\" | \"id\" | \"meta\" | \"order\" | \"mount\" | \"euiIconType\" | \"icon\" | \"tip\">) => ",
", \"title\" | \"id\" | \"order\" | \"mount\" | \"keywords\" | \"euiIconType\" | \"icon\" | \"tip\">) => ",
{
"pluginId": "management",
"scope": "public",
@ -291,7 +285,7 @@
"section": "def-public.RegisterManagementAppArgs",
"text": "RegisterManagementAppArgs"
},
", \"title\" | \"id\" | \"meta\" | \"order\" | \"mount\" | \"euiIconType\" | \"icon\" | \"tip\">"
", \"title\" | \"id\" | \"order\" | \"mount\" | \"keywords\" | \"euiIconType\" | \"icon\" | \"tip\">"
],
"source": {
"path": "src/plugins/management/public/utils/management_section.ts",
@ -653,7 +647,7 @@
],
"source": {
"path": "src/plugins/management/public/utils/management_app.ts",
"lineNumber": 13
"lineNumber": 12
},
"deprecated": false,
"children": [
@ -681,7 +675,7 @@
],
"source": {
"path": "src/plugins/management/public/utils/management_app.ts",
"lineNumber": 14
"lineNumber": 13
},
"deprecated": false,
"returnComment": [],
@ -719,30 +713,23 @@
"description": [],
"source": {
"path": "src/plugins/management/public/utils/management_app.ts",
"lineNumber": 15
"lineNumber": 14
},
"deprecated": false
},
{
"parentPluginId": "management",
"id": "def-public.RegisterManagementAppArgs.meta",
"type": "Object",
"id": "def-public.RegisterManagementAppArgs.keywords",
"type": "Array",
"tags": [],
"label": "meta",
"label": "keywords",
"description": [],
"signature": [
{
"pluginId": "core",
"scope": "public",
"docId": "kibCoreApplicationPluginApi",
"section": "def-public.AppMeta",
"text": "AppMeta"
},
" | undefined"
"string[] | undefined"
],
"source": {
"path": "src/plugins/management/public/utils/management_app.ts",
"lineNumber": 16
"lineNumber": 15
},
"deprecated": false
}

File diff suppressed because it is too large Load diff

View file

@ -868,7 +868,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/ml/common/types/capabilities.ts",
"lineNumber": 153
"lineNumber": 161
},
"deprecated": false,
"children": [
@ -884,7 +884,7 @@
],
"source": {
"path": "x-pack/plugins/ml/common/types/capabilities.ts",
"lineNumber": 154
"lineNumber": 162
},
"deprecated": false
},
@ -897,7 +897,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/ml/common/types/capabilities.ts",
"lineNumber": 155
"lineNumber": 163
},
"deprecated": false
},
@ -910,7 +910,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/ml/common/types/capabilities.ts",
"lineNumber": 156
"lineNumber": 164
},
"deprecated": false
},
@ -923,7 +923,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/ml/common/types/capabilities.ts",
"lineNumber": 157
"lineNumber": 165
},
"deprecated": false
}
@ -1320,7 +1320,7 @@
},
" extends Pick<",
"UseDataGridReturnType",
", \"status\" | \"errorMessage\" | \"baseline\" | \"pagination\" | \"chartsVisible\" | \"chartsButtonVisible\" | \"ccsWarning\" | \"columnsWithCharts\" | \"invalidSortingColumnns\" | \"noDataMessage\" | \"onChangeItemsPerPage\" | \"onChangePage\" | \"onSort\" | \"setPagination\" | \"setVisibleColumns\" | \"rowCount\" | \"rowCountRelation\" | \"sortingColumns\" | \"tableItems\" | \"toggleChartVisibility\" | \"visibleColumns\" | \"predictionFieldName\" | \"resultsField\">"
", \"status\" | \"errorMessage\" | \"baseline\" | \"chartsVisible\" | \"chartsButtonVisible\" | \"ccsWarning\" | \"columnsWithCharts\" | \"invalidSortingColumnns\" | \"noDataMessage\" | \"onChangeItemsPerPage\" | \"onChangePage\" | \"onSort\" | \"pagination\" | \"setPagination\" | \"setVisibleColumns\" | \"rowCount\" | \"rowCountRelation\" | \"sortingColumns\" | \"tableItems\" | \"toggleChartVisibility\" | \"visibleColumns\" | \"predictionFieldName\" | \"resultsField\">"
],
"source": {
"path": "x-pack/plugins/ml/public/application/components/data_grid/types.ts",
@ -1563,7 +1563,7 @@
],
"source": {
"path": "x-pack/plugins/ml/public/plugin.ts",
"lineNumber": 213
"lineNumber": 212
},
"deprecated": false,
"lifecycle": "start",

File diff suppressed because one or more lines are too long

View file

@ -911,10 +911,10 @@
"children": [
{
"parentPluginId": "reporting",
"id": "def-server.ReportingCore.getStartContract",
"id": "def-server.ReportingCore.getContract",
"type": "Function",
"tags": [],
"label": "getStartContract",
"label": "getContract",
"description": [],
"signature": [
"() => ",
@ -1010,7 +1010,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 83
"lineNumber": 81
},
"deprecated": false,
"children": [
@ -1026,7 +1026,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 83
"lineNumber": 81
},
"deprecated": false,
"isRequired": true
@ -1048,7 +1048,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 91
"lineNumber": 89
},
"deprecated": false,
"children": [
@ -1064,7 +1064,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 91
"lineNumber": 89
},
"deprecated": false,
"isRequired": true
@ -1084,7 +1084,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 99
"lineNumber": 97
},
"deprecated": false,
"children": [],
@ -1102,7 +1102,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 110
"lineNumber": 108
},
"deprecated": false,
"children": [],
@ -1120,7 +1120,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 117
"lineNumber": 115
},
"deprecated": false,
"children": [],
@ -1146,7 +1146,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 124
"lineNumber": 122
},
"deprecated": false,
"children": [
@ -1168,7 +1168,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 124
"lineNumber": 122
},
"deprecated": false,
"isRequired": true
@ -1190,7 +1190,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 133
"lineNumber": 131
},
"deprecated": false,
"children": [],
@ -1215,7 +1215,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 167
"lineNumber": 165
},
"deprecated": false,
"children": [],
@ -1233,7 +1233,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 179
"lineNumber": 177
},
"deprecated": false,
"children": [],
@ -1253,7 +1253,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 186
"lineNumber": 184
},
"deprecated": false,
"children": [],
@ -1272,7 +1272,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 194
"lineNumber": 192
},
"deprecated": false,
"children": [],
@ -1292,7 +1292,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 198
"lineNumber": 196
},
"deprecated": false,
"children": [],
@ -1312,7 +1312,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 202
"lineNumber": 200
},
"deprecated": false,
"children": [],
@ -1332,7 +1332,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 206
"lineNumber": 204
},
"deprecated": false,
"children": [],
@ -1352,7 +1352,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 216
"lineNumber": 214
},
"deprecated": false,
"children": [],
@ -1370,7 +1370,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 222
"lineNumber": 220
},
"deprecated": false,
"children": [],
@ -1389,7 +1389,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 230
"lineNumber": 228
},
"deprecated": false,
"children": [],
@ -1423,7 +1423,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 242
"lineNumber": 240
},
"deprecated": false,
"children": [
@ -1447,7 +1447,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 242
"lineNumber": 240
},
"deprecated": false,
"isRequired": true
@ -1477,7 +1477,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 248
"lineNumber": 246
},
"deprecated": false,
"children": [
@ -1500,7 +1500,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 248
"lineNumber": 246
},
"deprecated": false,
"isRequired": true
@ -1517,7 +1517,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 248
"lineNumber": 246
},
"deprecated": false,
"isRequired": true
@ -1547,7 +1547,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 262
"lineNumber": 260
},
"deprecated": false,
"children": [
@ -1563,7 +1563,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 262
"lineNumber": 260
},
"deprecated": false,
"isRequired": true
@ -1580,7 +1580,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 262
"lineNumber": 260
},
"deprecated": false,
"isRequired": false
@ -1597,7 +1597,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 262
"lineNumber": 260
},
"deprecated": false,
"isRequired": true
@ -1635,7 +1635,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 282
"lineNumber": 280
},
"deprecated": false,
"children": [
@ -1658,7 +1658,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 282
"lineNumber": 280
},
"deprecated": false,
"isRequired": true
@ -1675,7 +1675,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 282
"lineNumber": 280
},
"deprecated": false,
"isRequired": true
@ -1703,7 +1703,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 292
"lineNumber": 290
},
"deprecated": false,
"children": [],
@ -1729,7 +1729,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 297
"lineNumber": 295
},
"deprecated": false,
"children": [],
@ -1797,7 +1797,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/plugin.ts",
"lineNumber": 25
"lineNumber": 26
},
"deprecated": false,
"children": [
@ -1813,7 +1813,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/plugin.ts",
"lineNumber": 30
"lineNumber": 31
},
"deprecated": false,
"children": [
@ -1838,7 +1838,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/plugin.ts",
"lineNumber": 30
"lineNumber": 31
},
"deprecated": false,
"isRequired": true
@ -1881,7 +1881,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/plugin.ts",
"lineNumber": 34
"lineNumber": 35
},
"deprecated": false,
"children": [
@ -1904,7 +1904,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/plugin.ts",
"lineNumber": 34
"lineNumber": 35
},
"deprecated": false,
"isRequired": true
@ -1927,7 +1927,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/plugin.ts",
"lineNumber": 34
"lineNumber": 35
},
"deprecated": false,
"isRequired": true
@ -1970,7 +1970,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/plugin.ts",
"lineNumber": 86
"lineNumber": 87
},
"deprecated": false,
"children": [
@ -1992,7 +1992,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/plugin.ts",
"lineNumber": 86
"lineNumber": 87
},
"deprecated": false,
"isRequired": true
@ -2015,7 +2015,7 @@
],
"source": {
"path": "x-pack/plugins/reporting/server/plugin.ts",
"lineNumber": 86
"lineNumber": 87
},
"deprecated": false,
"isRequired": true

View file

@ -342,6 +342,115 @@
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "ruleRegistry",
"id": "def-server.createPersistenceRuleTypeFactory",
"type": "Function",
"tags": [],
"label": "createPersistenceRuleTypeFactory",
"description": [],
"signature": [
"({ logger, ruleDataClient, }: { ruleDataClient: ",
{
"pluginId": "ruleRegistry",
"scope": "server",
"docId": "kibRuleRegistryPluginApi",
"section": "def-server.RuleDataClient",
"text": "RuleDataClient"
},
"; logger: ",
"Logger",
"; }) => <TParams extends Record<string, unknown>, TAlertInstanceContext extends { [x: string]: unknown; }, TServices extends { alertWithPersistence: PersistenceAlertService<TAlertInstanceContext>; findAlerts: PersistenceAlertQueryService; }>(type: ",
"AlertTypeWithExecutor",
"<TParams, TAlertInstanceContext, TServices>) => { executor: (options: ",
{
"pluginId": "alerting",
"scope": "server",
"docId": "kibAlertingPluginApi",
"section": "def-server.AlertExecutorOptions",
"text": "AlertExecutorOptions"
},
"<TParams, Record<string, unknown>, { [x: string]: unknown; }, TAlertInstanceContext, never> & { services: any; }) => Promise<any>; id: string; name: string; validate?: { params?: ",
"AlertTypeParamsValidator",
"<TParams> | undefined; } | undefined; actionGroups: ",
{
"pluginId": "alerting",
"scope": "common",
"docId": "kibAlertingPluginApi",
"section": "def-common.ActionGroup",
"text": "ActionGroup"
},
"<string>[]; defaultActionGroupId: string; recoveryActionGroup?: ",
{
"pluginId": "alerting",
"scope": "common",
"docId": "kibAlertingPluginApi",
"section": "def-common.ActionGroup",
"text": "ActionGroup"
},
"<string> | undefined; producer: string; actionVariables?: { context?: ",
{
"pluginId": "alerting",
"scope": "common",
"docId": "kibAlertingPluginApi",
"section": "def-common.ActionVariable",
"text": "ActionVariable"
},
"[] | undefined; state?: ",
{
"pluginId": "alerting",
"scope": "common",
"docId": "kibAlertingPluginApi",
"section": "def-common.ActionVariable",
"text": "ActionVariable"
},
"[] | undefined; params?: ",
{
"pluginId": "alerting",
"scope": "common",
"docId": "kibAlertingPluginApi",
"section": "def-common.ActionVariable",
"text": "ActionVariable"
},
"[] | undefined; } | undefined; minimumLicenseRequired: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\"; }"
],
"source": {
"path": "x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_factory.ts",
"lineNumber": 42
},
"deprecated": false,
"children": [
{
"parentPluginId": "ruleRegistry",
"id": "def-server.createPersistenceRuleTypeFactory.$1",
"type": "Object",
"tags": [],
"label": "{\n logger,\n ruleDataClient,\n}",
"description": [],
"signature": [
"{ ruleDataClient: ",
{
"pluginId": "ruleRegistry",
"scope": "server",
"docId": "kibRuleRegistryPluginApi",
"section": "def-server.RuleDataClient",
"text": "RuleDataClient"
},
"; logger: ",
"Logger",
"; }"
],
"source": {
"path": "x-pack/plugins/rule_registry/server/utils/create_persistence_rule_type_factory.ts",
"lineNumber": 42
},
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "ruleRegistry",
"id": "def-server.getRuleExecutorData",
@ -695,8 +804,8 @@
"{ readonly enabled: boolean; readonly index: string; readonly write: Readonly<{} & { enabled: boolean; }>; }"
],
"source": {
"path": "x-pack/plugins/rule_registry/server/index.ts",
"lineNumber": 28
"path": "x-pack/plugins/rule_registry/server/config.ts",
"lineNumber": 20
},
"deprecated": false,
"initialIsOpen": false
@ -706,18 +815,49 @@
"setup": {
"parentPluginId": "ruleRegistry",
"id": "def-server.RuleRegistryPluginSetupContract",
"type": "Type",
"type": "Interface",
"tags": [],
"label": "RuleRegistryPluginSetupContract",
"description": [],
"signature": [
"RuleDataPluginService"
],
"source": {
"path": "x-pack/plugins/rule_registry/server/plugin.ts",
"lineNumber": 12
"lineNumber": 22
},
"deprecated": false,
"children": [
{
"parentPluginId": "ruleRegistry",
"id": "def-server.RuleRegistryPluginSetupContract.ruleDataService",
"type": "Object",
"tags": [],
"label": "ruleDataService",
"description": [],
"signature": [
"RuleDataPluginService"
],
"source": {
"path": "x-pack/plugins/rule_registry/server/plugin.ts",
"lineNumber": 23
},
"deprecated": false
},
{
"parentPluginId": "ruleRegistry",
"id": "def-server.RuleRegistryPluginSetupContract.eventLogService",
"type": "Object",
"tags": [],
"label": "eventLogService",
"description": [],
"signature": [
"IEventLogService"
],
"source": {
"path": "x-pack/plugins/rule_registry/server/plugin.ts",
"lineNumber": 24
},
"deprecated": false
}
],
"lifecycle": "setup",
"initialIsOpen": true
},
@ -733,7 +873,7 @@
],
"source": {
"path": "x-pack/plugins/rule_registry/server/plugin.ts",
"lineNumber": 13
"lineNumber": 27
},
"deprecated": false,
"lifecycle": "start",
@ -753,7 +893,7 @@
"signature": [
"(input: unknown) => OutputOf<",
"Optional",
"<{ readonly \"kibana.rac.alert.producer\": { readonly type: \"keyword\"; }; readonly \"kibana.rac.alert.uuid\": { readonly type: \"keyword\"; }; readonly \"kibana.rac.alert.id\": { readonly type: \"keyword\"; }; readonly \"kibana.rac.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.rac.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.rac.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.rac.alert.severity.level\": { readonly type: \"keyword\"; }; readonly \"kibana.rac.alert.severity.value\": { readonly type: \"long\"; }; readonly \"kibana.rac.alert.status\": { readonly type: \"keyword\"; }; readonly \"kibana.rac.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.rac.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'rule.uuid': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'rule.id': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'rule.name': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'rule.category': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"kibana.rac.alert.uuid\" | \"event.kind\" | \"event.action\" | \"rule.uuid\" | \"rule.id\" | \"rule.name\" | \"rule.category\" | \"kibana.rac.alert.producer\" | \"kibana.rac.alert.id\" | \"kibana.rac.alert.start\" | \"kibana.rac.alert.end\" | \"kibana.rac.alert.duration.us\" | \"kibana.rac.alert.severity.level\" | \"kibana.rac.alert.severity.value\" | \"kibana.rac.alert.status\" | \"kibana.rac.alert.evaluation.threshold\" | \"kibana.rac.alert.evaluation.value\">>"
"<{ readonly \"kibana.rac.alert.producer\": { readonly type: \"keyword\"; }; readonly \"kibana.rac.alert.uuid\": { readonly type: \"keyword\"; }; readonly \"kibana.rac.alert.id\": { readonly type: \"keyword\"; }; readonly \"kibana.rac.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.rac.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.rac.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.rac.alert.severity.level\": { readonly type: \"keyword\"; }; readonly \"kibana.rac.alert.severity.value\": { readonly type: \"long\"; }; readonly \"kibana.rac.alert.status\": { readonly type: \"keyword\"; }; readonly \"kibana.rac.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.rac.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; 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; }; readonly 'rule.uuid': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'rule.id': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'rule.name': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'rule.category': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"kibana.rac.alert.uuid\" | \"event.kind\" | \"event.action\" | \"rule.uuid\" | \"rule.id\" | \"rule.name\" | \"rule.category\" | \"kibana.rac.alert.producer\" | \"kibana.rac.alert.id\" | \"kibana.rac.alert.start\" | \"kibana.rac.alert.end\" | \"kibana.rac.alert.duration.us\" | \"kibana.rac.alert.severity.level\" | \"kibana.rac.alert.severity.value\" | \"kibana.rac.alert.status\" | \"kibana.rac.alert.evaluation.threshold\" | \"kibana.rac.alert.evaluation.value\">>"
],
"source": {
"path": "x-pack/plugins/rule_registry/common/parse_technical_fields.ts",

View file

@ -4364,14 +4364,14 @@
"plugin": "dashboard",
"link": {
"path": "src/plugins/dashboard/public/application/listing/dashboard_listing.tsx",
"lineNumber": 87
"lineNumber": 92
}
},
{
"plugin": "dashboard",
"link": {
"path": "src/plugins/dashboard/public/application/listing/dashboard_listing.tsx",
"lineNumber": 172
"lineNumber": 177
}
},
{

File diff suppressed because one or more lines are too long

View file

@ -1313,34 +1313,6 @@
"lineNumber": 105
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/create_signals_migration_route.ts",
"lineNumber": 48
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/delete_signals_migration_route.ts",
"lineNumber": 45
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/finalize_signals_migration_route.ts",
"lineNumber": 45
}
},
{
"plugin": "beatsManagement",
"link": {
"path": "x-pack/plugins/beats_management/server/lib/adapters/framework/kibana_framework_adapter.ts",
"lineNumber": 44
}
},
{
"plugin": "cases",
"link": {
@ -1369,6 +1341,27 @@
"lineNumber": 41
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/create_signals_migration_route.ts",
"lineNumber": 48
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/delete_signals_migration_route.ts",
"lineNumber": 45
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/finalize_signals_migration_route.ts",
"lineNumber": 45
}
},
{
"plugin": "securitySolution",
"link": {

View file

@ -43,7 +43,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/public/plugin.tsx",
"lineNumber": 74
"lineNumber": 75
},
"deprecated": false,
"children": [
@ -59,7 +59,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/public/plugin.tsx",
"lineNumber": 78
"lineNumber": 79
},
"deprecated": false,
"children": [
@ -82,7 +82,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/public/plugin.tsx",
"lineNumber": 78
"lineNumber": 79
},
"deprecated": false,
"isRequired": true
@ -123,7 +123,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/public/plugin.tsx",
"lineNumber": 102
"lineNumber": 103
},
"deprecated": false,
"children": [
@ -150,7 +150,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/public/plugin.tsx",
"lineNumber": 102
"lineNumber": 103
},
"deprecated": false,
"isRequired": true
@ -167,7 +167,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/public/plugin.tsx",
"lineNumber": 102
"lineNumber": 103
},
"deprecated": false,
"isRequired": true
@ -197,7 +197,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/public/plugin.tsx",
"lineNumber": 343
"lineNumber": 344
},
"deprecated": false,
"children": [
@ -219,7 +219,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/public/plugin.tsx",
"lineNumber": 343
"lineNumber": 344
},
"deprecated": false,
"isRequired": true
@ -236,7 +236,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/public/plugin.tsx",
"lineNumber": 343
"lineNumber": 344
},
"deprecated": false,
"isRequired": true
@ -256,7 +256,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/public/plugin.tsx",
"lineNumber": 388
"lineNumber": 389
},
"deprecated": false,
"children": [],
@ -445,7 +445,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/server/plugin.ts",
"lineNumber": 131
"lineNumber": 149
},
"deprecated": false,
"children": [
@ -461,7 +461,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/server/plugin.ts",
"lineNumber": 146
"lineNumber": 165
},
"deprecated": false,
"children": [
@ -484,7 +484,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/server/plugin.ts",
"lineNumber": 146
"lineNumber": 165
},
"deprecated": false,
"isRequired": true
@ -524,7 +524,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/server/plugin.ts",
"lineNumber": 158
"lineNumber": 177
},
"deprecated": false,
"children": [
@ -557,7 +557,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/server/plugin.ts",
"lineNumber": 158
"lineNumber": 177
},
"deprecated": false,
"isRequired": true
@ -574,7 +574,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/server/plugin.ts",
"lineNumber": 158
"lineNumber": 177
},
"deprecated": false,
"isRequired": true
@ -604,7 +604,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/server/plugin.ts",
"lineNumber": 343
"lineNumber": 446
},
"deprecated": false,
"children": [
@ -626,7 +626,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/server/plugin.ts",
"lineNumber": 343
"lineNumber": 446
},
"deprecated": false,
"isRequired": true
@ -643,7 +643,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/server/plugin.ts",
"lineNumber": 343
"lineNumber": 446
},
"deprecated": false,
"isRequired": true
@ -663,7 +663,7 @@
],
"source": {
"path": "x-pack/plugins/security_solution/server/plugin.ts",
"lineNumber": 417
"lineNumber": 520
},
"deprecated": false,
"children": [],
@ -747,7 +747,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/security_solution/server/plugin.ts",
"lineNumber": 107
"lineNumber": 125
},
"deprecated": false,
"children": [],
@ -763,7 +763,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/security_solution/server/plugin.ts",
"lineNumber": 110
"lineNumber": 128
},
"deprecated": false,
"children": [],

View file

@ -1210,14 +1210,7 @@
"plugin": "reporting",
"link": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 251
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/plugin.ts",
"lineNumber": 192
"lineNumber": 249
}
},
{
@ -1248,6 +1241,13 @@
"lineNumber": 153
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/plugin.ts",
"lineNumber": 212
}
},
{
"plugin": "security",
"link": {
@ -2030,28 +2030,21 @@
"plugin": "reporting",
"link": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 249
"lineNumber": 247
}
},
{
"plugin": "reporting",
"link": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 271
"lineNumber": 269
}
},
{
"plugin": "reporting",
"link": {
"path": "x-pack/plugins/reporting/server/core.ts",
"lineNumber": 283
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/plugin.ts",
"lineNumber": 192
"lineNumber": 281
}
},
{
@ -2088,6 +2081,13 @@
"path": "x-pack/plugins/infra/server/plugin.ts",
"lineNumber": 153
}
},
{
"plugin": "securitySolution",
"link": {
"path": "x-pack/plugins/security_solution/server/plugin.ts",
"lineNumber": 212
}
}
]
},

View file

@ -45,7 +45,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 77
"lineNumber": 80
},
"deprecated": false,
"children": [
@ -61,7 +61,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 88
"lineNumber": 91
},
"deprecated": false,
"children": [],
@ -94,7 +94,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 93
"lineNumber": 96
},
"deprecated": false,
"children": [
@ -117,7 +117,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 93
"lineNumber": 96
},
"deprecated": false,
"isRequired": true
@ -134,7 +134,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 93
"lineNumber": 96
},
"deprecated": false,
"isRequired": true
@ -161,7 +161,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 169
"lineNumber": 172
},
"deprecated": false,
"children": [],
@ -179,7 +179,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 203
"lineNumber": 206
},
"deprecated": false,
"children": [],
@ -228,44 +228,6 @@
],
"initialIsOpen": false
},
{
"parentPluginId": "triggersActionsUi",
"id": "def-public.AlertAdd",
"type": "Function",
"tags": [],
"label": "AlertAdd",
"description": [],
"signature": [
"(props: ",
"AlertAddProps",
"<Record<string, any>>) => JSX.Element"
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/index.tsx",
"lineNumber": 11
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "triggersActionsUi",
"id": "def-public.props",
"type": "Uncategorized",
"tags": [],
"label": "props",
"description": [],
"signature": [
"T"
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx",
"lineNumber": 16
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "triggersActionsUi",
"id": "def-public.AlertConditions",
@ -346,44 +308,6 @@
],
"initialIsOpen": false
},
{
"parentPluginId": "triggersActionsUi",
"id": "def-public.AlertEdit",
"type": "Function",
"tags": [],
"label": "AlertEdit",
"description": [],
"signature": [
"(props: ",
"AlertEditProps",
"<Record<string, any>>) => JSX.Element"
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/application/sections/index.tsx",
"lineNumber": 17
},
"deprecated": false,
"returnComment": [],
"children": [
{
"parentPluginId": "triggersActionsUi",
"id": "def-public.props",
"type": "Uncategorized",
"tags": [],
"label": "props",
"description": [],
"signature": [
"T"
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/application/lib/suspended_component_with_props.tsx",
"lineNumber": 16
},
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "triggersActionsUi",
"id": "def-public.ConnectorAddFlyout",
@ -518,7 +442,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/jira/jira.tsx",
"lineNumber": 63
"lineNumber": 62
},
"deprecated": false,
"children": [],
@ -545,7 +469,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/resilient/resilient.tsx",
"lineNumber": 68
"lineNumber": 67
},
"deprecated": false,
"children": [],
@ -752,7 +676,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/servicenow.tsx",
"lineNumber": 64
"lineNumber": 63
},
"deprecated": false,
"children": [],
@ -779,7 +703,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/application/components/builtin_action_types/servicenow/servicenow.tsx",
"lineNumber": 99
"lineNumber": 98
},
"deprecated": false,
"children": [],
@ -1459,7 +1383,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 234
"lineNumber": 235
},
"deprecated": false,
"children": [
@ -1472,7 +1396,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 235
"lineNumber": 236
},
"deprecated": false
},
@ -1485,7 +1409,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 236
"lineNumber": 237
},
"deprecated": false
},
@ -1498,7 +1422,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 237
"lineNumber": 238
},
"deprecated": false
},
@ -1522,7 +1446,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 238
"lineNumber": 239
},
"deprecated": false
},
@ -1545,7 +1469,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 239
"lineNumber": 240
},
"deprecated": false,
"returnComment": [],
@ -1562,7 +1486,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 239
"lineNumber": 240
},
"deprecated": false
}
@ -1588,7 +1512,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 240
"lineNumber": 241
},
"deprecated": false,
"returnComment": [],
@ -1620,7 +1544,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 243
"lineNumber": 244
},
"deprecated": false
},
@ -1636,7 +1560,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 244
"lineNumber": 245
},
"deprecated": false
}
@ -1662,7 +1586,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 212
"lineNumber": 213
},
"deprecated": false,
"children": [
@ -1678,7 +1602,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 217
"lineNumber": 218
},
"deprecated": false
},
@ -1691,7 +1615,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 218
"lineNumber": 219
},
"deprecated": false
},
@ -1704,7 +1628,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 219
"lineNumber": 220
},
"deprecated": false
},
@ -1720,7 +1644,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 220
"lineNumber": 221
},
"deprecated": false
},
@ -1736,7 +1660,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 221
"lineNumber": 222
},
"deprecated": false,
"returnComment": [],
@ -1753,7 +1677,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 221
"lineNumber": 222
},
"deprecated": false
},
@ -1769,7 +1693,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 221
"lineNumber": 222
},
"deprecated": false
}
@ -1795,7 +1719,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 222
"lineNumber": 223
},
"deprecated": false,
"returnComment": [],
@ -1812,7 +1736,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 223
"lineNumber": 224
},
"deprecated": false
},
@ -1836,7 +1760,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 224
"lineNumber": 225
},
"deprecated": false
}
@ -1860,7 +1784,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 226
"lineNumber": 227
},
"deprecated": false
},
@ -1873,7 +1797,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 227
"lineNumber": 228
},
"deprecated": false
},
@ -1896,7 +1820,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 228
"lineNumber": 229
},
"deprecated": false
},
@ -1912,7 +1836,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 229
"lineNumber": 230
},
"deprecated": false
},
@ -1934,7 +1858,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 230
"lineNumber": 231
},
"deprecated": false
},
@ -1956,7 +1880,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 231
"lineNumber": 232
},
"deprecated": false
}
@ -2098,7 +2022,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 247
"lineNumber": 248
},
"deprecated": false,
"children": [
@ -2114,7 +2038,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 248
"lineNumber": 249
},
"deprecated": false
}
@ -2483,7 +2407,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 127
"lineNumber": 128
},
"deprecated": false,
"children": [
@ -2499,7 +2423,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 128
"lineNumber": 129
},
"deprecated": false
}
@ -2531,7 +2455,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 79
"lineNumber": 80
},
"deprecated": false,
"initialIsOpen": false
@ -2581,7 +2505,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 161
"lineNumber": 162
},
"deprecated": false,
"initialIsOpen": false
@ -2637,7 +2561,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 64
"lineNumber": 65
},
"deprecated": false,
"initialIsOpen": false
@ -2654,7 +2578,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 179
"lineNumber": 180
},
"deprecated": false,
"initialIsOpen": false
@ -2695,7 +2619,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 40
"lineNumber": 41
},
"deprecated": false,
"initialIsOpen": false
@ -2753,7 +2677,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/types.ts",
"lineNumber": 68
"lineNumber": 69
},
"deprecated": false,
"initialIsOpen": false
@ -3782,7 +3706,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 41
"lineNumber": 44
},
"deprecated": false,
"children": [
@ -3801,7 +3725,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 42
"lineNumber": 45
},
"deprecated": false
},
@ -3826,7 +3750,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 43
"lineNumber": 46
},
"deprecated": false
}
@ -3843,7 +3767,7 @@
"description": [],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 46
"lineNumber": 49
},
"deprecated": false,
"children": [
@ -3862,7 +3786,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 47
"lineNumber": 50
},
"deprecated": false
},
@ -3887,7 +3811,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 48
"lineNumber": 51
},
"deprecated": false
},
@ -3907,7 +3831,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 49
"lineNumber": 52
},
"deprecated": false,
"returnComment": [],
@ -3948,7 +3872,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 50
"lineNumber": 53
},
"deprecated": false
}
@ -3970,7 +3894,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 52
"lineNumber": 55
},
"deprecated": false,
"returnComment": [],
@ -4005,7 +3929,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 53
"lineNumber": 56
},
"deprecated": false
}
@ -4027,7 +3951,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 55
"lineNumber": 58
},
"deprecated": false,
"returnComment": [],
@ -4060,7 +3984,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 56
"lineNumber": 59
},
"deprecated": false
}
@ -4082,7 +4006,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 58
"lineNumber": 61
},
"deprecated": false,
"returnComment": [],
@ -4115,7 +4039,7 @@
],
"source": {
"path": "x-pack/plugins/triggers_actions_ui/public/plugin.ts",
"lineNumber": 59
"lineNumber": 62
},
"deprecated": false
}

View file

@ -85,7 +85,15 @@
"label": "getSupportedTriggers",
"description": [],
"signature": [
"(() => string[]) | undefined"
"((params?: ",
{
"pluginId": "visualizations",
"scope": "common",
"docId": "kibVisualizationsPluginApi",
"section": "def-common.VisParams",
"text": "VisParams"
},
" | undefined) => string[]) | undefined"
],
"source": {
"path": "src/plugins/visualizations/public/vis_types/base_vis_type.ts",
@ -1880,7 +1888,7 @@
"label": "group",
"description": [],
"signature": [
"\"buckets\" | \"metrics\" | \"none\""
"\"none\" | \"buckets\" | \"metrics\""
],
"source": {
"path": "src/plugins/visualizations/public/vis_types/types.ts",
@ -3327,7 +3335,15 @@
"\nIf given, it will return the supported triggers for this vis."
],
"signature": [
"(() => string[]) | undefined"
"((params?: ",
{
"pluginId": "visualizations",
"scope": "common",
"docId": "kibVisualizationsPluginApi",
"section": "def-common.VisParams",
"text": "VisParams"
},
" | undefined) => string[]) | undefined"
],
"source": {
"path": "src/plugins/visualizations/public/vis_types/types.ts",

View file

@ -328,11 +328,6 @@ which will load the visualization's editor.
|Allow to add a header banner that will be displayed on every page of the Kibana application
|{kib-repo}blob/{branch}/x-pack/plugins/beats_management/readme.md[beatsManagement]
|Notes:
Failure to have auth enabled in Kibana will make for a broken UI. UI-based errors not yet in place
|{kib-repo}blob/{branch}/x-pack/plugins/canvas/README.md[canvas]
|"Never look back. The past is done. The future is a blank canvas." ― Suzy Kassem, Rise Up and Salute the Sun

View file

@ -1,108 +0,0 @@
[[managing-beats]]
[role="xpack"]
== {beats} Central Management
include::{asciidoc-dir}/../../shared/discontinued.asciidoc[tag=cm-discontinued]
To use {beats} Central Management, open the main menu, click *Stack Management >
{beats} Central Management*, then define and
manage configurations in a central location in {kib} and quickly deploy
configuration changes to all {beats} running across your enterprise. For more
about central management, see the related {beats} documentation:
* {filebeat-ref}/configuration-central-management.html[{filebeat} documentation]
* {metricbeat-ref}/configuration-central-management.html[{metricbeat} documentation]
[NOTE]
====
This feature requires an Elastic license that includes {beats} central
management.
Don't have a license? You can start a 30-day trial. Open the main menu, then
click *Stack Management > License Management*. At the end of the trial
period, you can purchase a subscription to keep using central management. For
more information, see https://www.elastic.co/subscriptions and
<<managing-licenses>>.
====
{kib} makes it easy for you to use central management by walking you through the
enrollment and configuration process step by step the first time you use the
Central Management UI.
[float]
=== Required permissions
You must have the `beats_admin` role assigned to use **{beats} Central Management**
To assign the role, open the menu, then click *Stack Management > Users*.
[float]
=== Enroll {beats}
You need to enroll {beats} to register them in central management and establish
trust. Enrolled {beats} will have the credentials needed to retrieve
configurations from {kib}.
[float]
=== Create configuration tags
A _configuration tag_ is a group of configuration blocks that you can apply to
one or more {beats}. For example, you can create a tag called `development` to
group configurations for {beats} running in your development environment.
The first time you walk through the enrollment process, you'll create a
configuration tag that's applied to the {beats} instance you're enrolling.
After that, under *Configuration tags*, you can create additional tags and
apply them to any enrolled {beats}, and the {beats} will use the configurations
defined in the tag.
[float]
=== Add configuration blocks
Add one or more configuration blocks to the tag. A tag can have configuration
blocks for different types of {beats}. When the enrolled {beats} run, they will
use the configuration blocks that are valid for their type.
Central management supports configuration settings for:
* {filebeat} modules
* {metricbeat} modules
* {filebeat} inputs
* {filebeat} and {metricbeat} outputs
NOTE: Central management supports the following outputs only: {es}, {ls}, Kafka,
and Redis. Other output types are not supported for {beats} that are enrolled in
central management.
Use the Central Management UI to define and manage settings for supported
configuration blocks. You cannot define those settings in local {beats}
configuration files. For configuration blocks that are not supported by central
management, configure the settings in the local configuration file after
enrolling the Beat in central management.
[float]
=== Manage enrolled {beats}
Under *Enrolled {beats}*, you can view the list of enrolled {beats} to see
details, including the type, applied tags, configuration status, and the last
configuration update. Click the *Beat name* or *Type* column heading to sort the
list. To filter the list, enter a search string. If there are errors in a
configuration, youll see an Error status in the Central Management UI and need
to look at {beats} logs to troubleshoot the problem.
You can add or remove tags, and the configuration changes are automatically
deployed to all {beats} that have the tag. Avoid applying tags with conflicting
configurations. Because the configurations for all assigned tags are merged,
conflicting configurations result in errors.
You can unenroll {beats} to remove them from central management.
[float]
=== Manage tags
Under *Configuration tags*, you can select tags and delete them, or you can
drill down into a tag to add, modify, or remove configuration blocks from the
tag. When you change the configuration blocks or remove tags, the configuration
changes are automatically deployed to all {beats} that have the tag.

View file

@ -24,10 +24,6 @@ and enrichments on your data.
| {logstash-ref}/logstash-centralized-pipeline-management.html[Logstash Pipelines]
| Create, edit, and delete your Logstash pipeline configurations.
| <<managing-beats, Beats Central Management>>
| Manage your Beats configurations in a central location and
quickly deploy configuration changes to all Beats running across your enterprise.
|===
@ -182,8 +178,6 @@ next major version of {es}, and then reindex, if needed.
include::{kib-repo-dir}/management/advanced-options.asciidoc[]
include::{kib-repo-dir}/management/managing-beats.asciidoc[]
include::{kib-repo-dir}/management/action-types.asciidoc[]
include::{kib-repo-dir}/management/managing-licenses.asciidoc[]

View file

@ -3,7 +3,6 @@ pageLoadAssetSize:
alerting: 106936
apm: 64385
apmOss: 18996
beatsManagement: 188135
bfetch: 41874
canvas: 1065624
charts: 195358

View file

@ -73,7 +73,6 @@
{ "path": "./x-pack/plugins/actions/tsconfig.json" },
{ "path": "./x-pack/plugins/alerting/tsconfig.json" },
{ "path": "./x-pack/plugins/apm/tsconfig.json" },
{ "path": "./x-pack/plugins/beats_management/tsconfig.json" },
{ "path": "./x-pack/plugins/canvas/tsconfig.json" },
{ "path": "./x-pack/plugins/cases/tsconfig.json" },
{ "path": "./x-pack/plugins/cloud/tsconfig.json" },

View file

@ -58,7 +58,6 @@
{ "path": "./x-pack/plugins/actions/tsconfig.json" },
{ "path": "./x-pack/plugins/alerting/tsconfig.json" },
{ "path": "./x-pack/plugins/apm/tsconfig.json" },
{ "path": "./x-pack/plugins/beats_management/tsconfig.json" },
{ "path": "./x-pack/plugins/canvas/tsconfig.json" },
{ "path": "./x-pack/plugins/cases/tsconfig.json" },
{ "path": "./x-pack/plugins/cloud/tsconfig.json" },

View file

@ -7,7 +7,6 @@
"xpack.eventLog": "plugins/event_log",
"xpack.stackAlerts": "plugins/stack_alerts",
"xpack.apm": "plugins/apm",
"xpack.beatsManagement": "plugins/beats_management",
"xpack.canvas": "plugins/canvas",
"xpack.cases": "plugins/cases",
"xpack.cloud": "plugins/cloud",

View file

@ -1,384 +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.
*/
// Note: importing this is a temp thing. This file will be replaced with JSON from Beats/ES at some point
import { ConfigBlockSchema } from './domain_types';
export const configBlockSchemas: ConfigBlockSchema[] = [
{
id: 'filebeat.inputs',
name: 'Filebeat Input',
version: 6.7,
allowOtherConfigs: true,
configs: [
{
id: 'paths',
ui: {
label: 'Paths',
labelId: 'filebeatInputConfig.paths.ui.label',
type: 'multi-input',
helpText: 'filebeatInputConfig.paths.ui.helpText',
helpTextId: 'filebeatInputConfig.paths.ui.helpText',
placeholder: `first/path/to/file.json second/path/to/otherfile.json`,
},
validation: 'isPaths',
error: 'filebeatInputConfig.paths.error',
errorId: 'filebeatInputConfig.paths.error',
required: true,
},
],
},
{
id: 'filebeat.modules',
name: 'Filebeat Modules',
version: 6.7,
allowOtherConfigs: true,
configs: [
{
id: '_sub_type',
ui: {
label: 'filebeatModuleConfig.module.ui.label',
labelId: 'filebeatModuleConfig.module.ui.label',
type: 'select',
},
options: [
{
value: 'apache2',
text: 'apache2',
},
{
value: 'auditd',
text: 'auditd',
},
{
value: 'elasticsearch',
text: 'elasticsearch',
},
{
value: 'haproxy',
text: 'haproxy',
},
{
value: 'icinga',
text: 'icinga',
},
{
value: 'iis',
text: 'iis',
},
{
value: 'kafka',
text: 'kafka',
},
{
value: 'kibana',
text: 'kibana',
},
{
value: 'logstash',
text: 'logstash',
},
{
value: 'mongodb',
text: 'mongodb',
},
{
value: 'mysql',
text: 'mysql',
},
{
value: 'nginx',
text: 'nginx',
},
{
value: 'osquery',
text: 'osquery',
},
{
value: 'postgresql',
text: 'postgresql',
},
{
value: 'redis',
text: 'redis',
},
{
value: 'system',
text: 'system',
},
{
value: 'traefik',
text: 'traefik',
},
],
error: 'filebeatModuleConfig.module.error',
errorId: 'filebeatModuleConfig.module.error',
required: true,
},
],
},
{
id: 'metricbeat.modules',
name: 'Metricbeat Modules',
version: 6.7,
allowOtherConfigs: true,
configs: [
{
id: '_sub_type',
ui: {
label: 'metricbeatModuleConfig.module.ui.label',
labelId: 'metricbeatModuleConfig.module.ui.label',
type: 'select',
},
options: [
{
value: 'aerospike',
text: 'aerospike',
},
{
value: 'apache',
text: 'apache',
},
{
value: 'ceph',
text: 'ceph',
},
{
value: 'couchbase',
text: 'couchbase',
},
{
value: 'docker',
text: 'docker',
},
{
value: 'dropwizard',
text: 'dropwizard',
},
{
value: 'elasticsearch',
text: 'elasticsearch',
},
{
value: 'envoyproxy',
text: 'envoyproxy',
},
{
value: 'etcd',
text: 'etcd',
},
{
value: 'golang',
text: 'golang',
},
{
value: 'graphite',
text: 'graphite',
},
{
value: 'haproxy',
text: 'haproxy',
},
{
value: 'http',
text: 'http',
},
{
value: 'jolokia',
text: 'jolokia',
},
{
value: 'kafka',
text: 'kafka',
},
{
value: 'kibana',
text: 'kibana',
},
{
value: 'kubernetes',
text: 'kubernetes',
},
{
value: 'kvm',
text: 'kvm',
},
{
value: 'logstash',
text: 'logstash',
},
{
value: 'memcached',
text: 'memcached',
},
{
value: 'mongodb',
text: 'mongodb',
},
{
value: 'munin',
text: 'munin',
},
{
value: 'mysql',
text: 'mysql',
},
{
value: 'nginx',
text: 'nginx',
},
{
value: 'php_fpm',
text: 'php_fpm',
},
{
value: 'postgresql',
text: 'postgresql',
},
{
value: 'prometheus',
text: 'prometheus',
},
{
value: 'rabbitmq',
text: 'rabbitmq',
},
{
value: 'redis',
text: 'redis',
},
{
value: 'system',
text: 'system',
},
{
value: 'traefik',
text: 'traefik',
},
{
value: 'uwsgi',
text: 'uwsgi',
},
{
value: 'vsphere',
text: 'vsphere',
},
{
value: 'windows',
text: 'windows',
},
{
value: 'zookeeper',
text: 'zookeeper',
},
],
error: 'metricbeatModuleConfig.module.error',
errorId: 'metricbeatModuleConfig.module.error',
required: true,
},
{
id: 'hosts',
ui: {
label: 'metricbeatModuleConfig.hosts.ui.label',
labelId: 'metricbeatModuleConfig.hosts.ui.label',
type: 'multi-input',
helpText: 'metricbeatModuleConfig.hosts.ui.helpText',
helpTextId: 'metricbeatModuleConfig.hosts.ui.helpText',
placeholder: `somehost.local otherhost.local`,
},
validation: 'isHosts',
error: 'metricbeatModuleConfig.hosts.error',
errorId: 'metricbeatModuleConfig.hosts.error',
required: false,
},
{
id: 'period',
ui: {
label: 'metricbeatModuleConfig.period.ui.label',
labelId: 'metricbeatModuleConfig.period.ui.label',
type: 'input',
},
defaultValue: '10s',
validation: 'isPeriod',
error: 'metricbeatModuleConfig.period.error',
errorId: 'metricbeatModuleConfig.period.error',
required: true,
},
],
},
{
id: 'output',
name: 'Outputs',
allowOtherConfigs: true,
version: 6.7,
configs: [
{
id: '_sub_type',
ui: {
label: 'outputConfig.output.ui.label',
labelId: 'outputConfig.output.ui.label',
type: 'select',
},
options: [
{
value: 'elasticsearch',
text: 'Elasticsearch',
},
{
value: 'logstash',
text: 'Logstash',
},
{
value: 'kafka',
text: 'Kafka',
},
{
value: 'redis',
text: 'Redis',
},
],
error: 'outputConfig.output.error',
errorId: 'outputConfig.output.error',
required: true,
},
{
id: 'hosts',
ui: {
label: 'outputConfig.hosts.ui.label',
labelId: 'outputConfig.hosts.ui.label',
type: 'multi-input',
},
validation: 'isHosts',
error: 'outputConfig.hosts.error',
errorId: 'outputConfig.hosts.error',
parseValidResult: (v) => v.split('\n'),
},
{
id: 'username',
ui: {
label: 'outputConfig.username.ui.label',
labelId: 'outputConfig.username.ui.label',
type: 'input',
},
validation: 'isString',
error: 'outputConfig.username.error',
errorId: 'outputConfig.username.error',
},
{
id: 'password',
ui: {
label: 'outputConfig.password.ui.label',
labelId: 'outputConfig.password.ui.label',
type: 'password',
},
validation: 'isString',
error: 'outputConfig.password.error',
errorId: 'outputConfig.password.error',
},
],
},
];

View file

@ -1,243 +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';
import { ConfigBlockSchema } from './domain_types';
const supportedConfigLabelsMap = new Map<string, string>([
[
'filebeatInputConfig.paths.ui.label',
i18n.translate('xpack.beatsManagement.filebeatInputConfig.pathsLabel', {
defaultMessage: 'Paths',
}),
],
[
'filebeatInputConfig.paths.ui.helpText',
i18n.translate('xpack.beatsManagement.filebeatInputConfig.pathsDescription', {
defaultMessage: 'Put each of the paths on a separate line',
}),
],
[
'filebeatInputConfig.paths.error',
i18n.translate('xpack.beatsManagement.filebeatInputConfig.pathsErrorMessage', {
defaultMessage: 'One file path per line',
}),
],
[
'filebeatInputConfig.other.ui.label',
i18n.translate('xpack.beatsManagement.filebeatInputConfig.otherConfigLabel', {
defaultMessage: 'Other Config',
}),
],
[
'filebeatInputConfig.other.ui.helpText',
i18n.translate('xpack.beatsManagement.filebeatInputConfig.otherConfigDescription', {
defaultMessage: 'Use YAML format to specify other settings for the Filebeat Input',
}),
],
[
'filebeatInputConfig.other.error',
i18n.translate('xpack.beatsManagement.filebeatInputConfig.otherConfigErrorMessage', {
defaultMessage: 'Use valid YAML format',
}),
],
[
'filebeatModuleConfig.module.ui.label',
i18n.translate('xpack.beatsManagement.filebeatModuleConfig.moduleLabel', {
defaultMessage: 'Module',
}),
],
[
'filebeatModuleConfig.module.error',
i18n.translate('xpack.beatsManagement.filebeatModuleConfig.moduleErrorMessage', {
defaultMessage: 'Please select a module',
}),
],
[
'filebeatModuleConfig.other.ui.label',
i18n.translate('xpack.beatsManagement.filebeatModuleConfig.otherConfigLabel', {
defaultMessage: 'Other Config',
}),
],
[
'filebeatModuleConfig.other.ui.helpText',
i18n.translate('xpack.beatsManagement.filebeatModuleConfig.moduleDescription', {
defaultMessage: 'Use YAML format to specify other settings for the Filebeat Module',
}),
],
[
'filebeatModuleConfig.other.error',
i18n.translate('xpack.beatsManagement.filebeatModuleConfig.otherConfigErrorMessage', {
defaultMessage: 'Use valid YAML format',
}),
],
[
'metricbeatModuleConfig.module.ui.label',
i18n.translate('xpack.beatsManagement.metricbeatModuleConfig.moduleLabel', {
defaultMessage: 'Module',
}),
],
[
'metricbeatModuleConfig.module.error',
i18n.translate('xpack.beatsManagement.metricbeatModuleConfig.moduleErrorMessage', {
defaultMessage: 'Please select a module',
}),
],
[
'metricbeatModuleConfig.hosts.ui.label',
i18n.translate('xpack.beatsManagement.metricbeatModuleConfig.hostsLabel', {
defaultMessage: 'Hosts',
}),
],
[
'metricbeatModuleConfig.hosts.ui.helpText',
i18n.translate('xpack.beatsManagement.metricbeatModuleConfig.hostsDescription', {
defaultMessage: 'Put each of the paths on a seperate line',
}),
],
[
'metricbeatModuleConfig.hosts.error',
i18n.translate('xpack.beatsManagement.metricbeatModuleConfig.hostsErrorMessage', {
defaultMessage: 'One file host per line',
}),
],
[
'metricbeatModuleConfig.period.ui.label',
i18n.translate('xpack.beatsManagement.metricbeatModuleConfig.periodLabel', {
defaultMessage: 'Period',
}),
],
[
'metricbeatModuleConfig.period.error',
i18n.translate('xpack.beatsManagement.metricbeatModuleConfig.periodErrorMessage', {
defaultMessage: 'Invalid Period, must be formatted as `10s` for 10 seconds',
}),
],
[
'metricbeatModuleConfig.other.ui.label',
i18n.translate('xpack.beatsManagement.metricbeatModuleConfig.otherConfigLabel', {
defaultMessage: 'Other Config',
}),
],
[
'metricbeatModuleConfig.other.ui.helpText',
i18n.translate('xpack.beatsManagement.metricbeatModuleConfig.otherConfigDescription', {
defaultMessage: 'Use YAML format to specify other settings for the Metricbeat Module',
}),
],
[
'metricbeatModuleConfig.other.error',
i18n.translate('xpack.beatsManagement.metricbeatModuleConfig.otherConfigErrorMessage', {
defaultMessage: 'Use valid YAML format',
}),
],
[
'outputConfig.output.ui.label',
i18n.translate('xpack.beatsManagement.outputConfig.outputTypeLabel', {
defaultMessage: 'Output Type',
}),
],
[
'outputConfig.output.error',
i18n.translate('xpack.beatsManagement.outputConfig.outputTypeErrorMessage', {
defaultMessage: 'Please select an output type',
}),
],
[
'outputConfig.hosts.ui.label',
i18n.translate('xpack.beatsManagement.outputConfig.hostsLabel', {
defaultMessage: 'Hosts',
}),
],
[
'outputConfig.hosts.error',
i18n.translate('xpack.beatsManagement.outputConfig.hostsErrorMessage', {
defaultMessage: 'One file host per line',
}),
],
[
'outputConfig.username.ui.label',
i18n.translate('xpack.beatsManagement.outputConfig.usernameLabel', {
defaultMessage: 'Username',
}),
],
[
'outputConfig.username.error',
i18n.translate('xpack.beatsManagement.outputConfig.usernameErrorMessage', {
defaultMessage: 'Unprocessable username',
}),
],
[
'outputConfig.password.ui.label',
i18n.translate('xpack.beatsManagement.outputConfig.passwordLabel', {
defaultMessage: 'Password',
}),
],
[
'outputConfig.password.error',
i18n.translate('xpack.beatsManagement.outputConfig.passwordErrorMessage', {
defaultMessage: 'Unprocessable password',
}),
],
[
'supportedConfigs.filebeat.input.text',
i18n.translate('xpack.beatsManagement.tagConfig.filebeatInputLabel', {
defaultMessage: 'Filebeat Input',
}),
],
[
'supportedConfigs.filebeat.modules.text',
i18n.translate('xpack.beatsManagement.tagConfig.filebeatModuleLabel', {
defaultMessage: 'Filebeat Module',
}),
],
[
'supportedConfigs.metricbeatModule.text',
i18n.translate('xpack.beatsManagement.tagConfig.metricbeatModuleLabel', {
defaultMessage: 'Metricbeat Module',
}),
],
[
'supportedConfigs.output.text',
i18n.translate('xpack.beatsManagement.tagConfig.outputLabel', {
defaultMessage: 'Output',
}),
],
]);
export let translatedConfigs: ConfigBlockSchema[];
export const translateConfigSchema = (schemas: ConfigBlockSchema[]) => {
if (translatedConfigs) {
return translatedConfigs;
}
translatedConfigs = schemas.map((schema) => {
schema.name = supportedConfigLabelsMap.get(`supportedConfigs.${schema.id}.text`) || schema.name;
schema.configs = schema.configs.map((configBlock) => {
if (configBlock.ui.label) {
configBlock.ui.label =
supportedConfigLabelsMap.get(configBlock.ui.labelId || '') || configBlock.ui.label;
}
if (configBlock.ui.helpText) {
configBlock.ui.helpText =
supportedConfigLabelsMap.get(configBlock.ui.helpTextId || '') || configBlock.ui.helpText;
}
if (configBlock.error) {
configBlock.error =
supportedConfigLabelsMap.get(configBlock.errorId || '') || configBlock.error;
}
return configBlock;
});
return schema;
});
return translatedConfigs;
};

View file

@ -1,8 +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.
*/
export const UNIQUENESS_ENFORCING_TYPES = ['output'];

View file

@ -1,13 +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.
*/
export { UNIQUENESS_ENFORCING_TYPES } from './configuration_blocks';
export { INDEX_NAMES } from './index_names';
export { PLUGIN, MANAGEMENT_SECTION } from './plugin';
export { LICENSES, REQUIRED_LICENSES, REQUIRED_ROLES } from './security';
export { TABLE_CONFIG } from './table';
export const BASE_PATH = '/management/ingest/beats_management';

View file

@ -1,16 +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.
*/
export const INDEX_NAMES = {
BEATS: '.management-beats',
EVENTS: '.management-beats-events-*',
EVENTS_ALIAS: '.management-beats-events',
};
export const POLICY_NAMES = {
EVENTS: '.beats-management-events-retention',
};

View file

@ -1,12 +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.
*/
export const PLUGIN = {
ID: 'beats_management',
};
export const CONFIG_PREFIX = 'xpack.beats';
export const MANAGEMENT_SECTION = 'beats_management';

View file

@ -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; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
export const REQUIRED_ROLES = ['beats_admin'];
export const REQUIRED_LICENSES = ['standard', 'gold', 'trial', 'platinum', 'enterprise'];
export const LICENSES = ['oss', 'basic', 'standard', 'gold', 'trial', 'platinum', 'enterprise'];
export type LicenseType =
| 'oss'
| 'basic'
| 'trial'
| 'standard'
| 'gold'
| 'platinum'
| 'enterprise';

View file

@ -1,13 +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.
*/
export const TABLE_CONFIG = {
INITIAL_ROW_SIZE: 5,
PAGE_SIZE_OPTIONS: [3, 5, 10, 20],
TRUNCATE_TAG_LENGTH: 33,
TRUNCATE_TAG_LENGTH_SMALL: 20,
};

View file

@ -1,136 +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 * as t from 'io-ts';
import { configBlockSchemas } from './config_schemas';
import { DateFromString } from './io_ts_types';
// Here we create the runtime check for a generic, unknown beat config type.
// We can also pass in optional params to create spacific runtime checks that
// can be used to validate blocs on the API and UI
export const createConfigurationBlockInterface = (
configType: t.LiteralType<string> | t.KeyofC<Record<string, null>> = t.keyof(
Object.fromEntries(configBlockSchemas.map((s) => [s.id, null])) as Record<string, null>
),
beatConfigInterface: t.Mixed = t.Dictionary
) =>
t.interface(
{
id: t.union([t.undefined, t.string]),
type: configType,
description: t.union([t.undefined, t.string]),
tag: t.string,
config: beatConfigInterface,
last_updated: t.union([t.undefined, t.number]),
},
'ConfigBlock'
);
const BaseConfigurationBlock = createConfigurationBlockInterface();
export interface ConfigurationBlock
extends Pick<
t.TypeOf<typeof BaseConfigurationBlock>,
Exclude<keyof t.TypeOf<typeof BaseConfigurationBlock>, 'id'>
> {
id: string;
}
export interface CMBeat {
id: string;
status?: BeatEvent;
enrollment_token: string;
active: boolean;
access_token?: string;
verified_on?: string;
type: string;
version?: string;
host_ip: string;
host_name: string;
ephemeral_id?: string;
last_checkin?: Date;
event_rate?: string;
local_configuration_yml?: string;
tags: string[];
central_configuration_yml?: string;
metadata?: {};
name?: string;
last_updated: number;
}
export interface ConfigBlockSchema {
id: string;
name: string;
version: number;
allowOtherConfigs?: boolean;
configs: BeatConfigSchema[];
}
export interface BeatConfigSchema {
id: string;
ui: {
label: string;
labelId?: string;
type: 'input' | 'multi-input' | 'select' | 'code' | 'password';
helpText?: string;
helpTextId?: string;
placeholder?: string;
};
options?: Array<{ value: string; text: string }>;
validation?: 'isHosts' | 'isString' | 'isPeriod' | 'isPath' | 'isPaths' | 'isYaml';
error: string;
errorId: string;
defaultValue?: string;
required?: boolean;
parseValidResult?: (value: any) => any;
}
export const RuntimeBeatTag = t.interface(
{
id: t.union([t.undefined, t.string]),
name: t.string,
color: t.string,
hasConfigurationBlocksTypes: t.array(t.string),
},
'CMBeat'
);
export interface BeatTag
extends Pick<
t.TypeOf<typeof RuntimeBeatTag>,
Exclude<keyof t.TypeOf<typeof RuntimeBeatTag>, 'id'>
> {
id: string;
// Used by the UI and api when a tag exists but is an invalid option
disabled?: boolean;
}
export const RuntimeBeatEvent = t.interface(
{
type: t.union([t.literal('STATE'), t.literal('ERROR')]),
beat: t.union([t.undefined, t.string]),
timestamp: DateFromString,
event: t.type({
type: t.union([
t.literal('RUNNING'),
t.literal('STARTING'),
t.literal('IN_PROGRESS'),
t.literal('CONFIG'),
t.literal('FAILED'),
t.literal('STOPPED'),
]),
message: t.string,
uuid: t.union([t.undefined, t.string]),
}),
},
'BeatEvent'
);
export interface BeatEvent
extends Pick<
t.TypeOf<typeof RuntimeBeatEvent>,
Exclude<keyof t.TypeOf<typeof RuntimeBeatEvent>, 'timestamp'>
> {
beat: string;
timestamp: Date;
}

View file

@ -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; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import { schema, TypeOf } from '@kbn/config-schema';
const DEFAULT_ENROLLMENT_TOKENS_TTL_S = 10 * 60; // 10 minutes
export const beatsManagementConfigSchema = schema.object({
enabled: schema.boolean({ defaultValue: true }),
defaultUserRoles: schema.arrayOf(schema.string(), { defaultValue: ['superuser'] }),
encryptionKey: schema.string({ defaultValue: 'xpack_beats_default_encryptionKey' }),
enrollmentTokensTtlInSeconds: schema.number({
min: 1,
max: 10 * 60 * 14, // No more then 2 weeks for security reasons,
defaultValue: DEFAULT_ENROLLMENT_TOKENS_TTL_S,
}),
});
export type BeatsManagementConfigType = TypeOf<typeof beatsManagementConfigSchema>;

View file

@ -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; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import * as t from 'io-ts';
import { isRight } from 'fp-ts/lib/Either';
class DateFromStringType extends t.Type<Date, string, t.mixed> {
public readonly _tag: 'DateFromISOStringType' = 'DateFromISOStringType';
constructor() {
super(
'DateFromString',
(u): u is Date => u instanceof Date,
(u, c) => {
const validation = t.string.validate(u, c);
if (!isRight(validation)) {
return validation as any;
} else {
const s = validation.right;
const d = new Date(s);
return isNaN(d.getTime()) ? t.failure(s, c) : t.success(d);
}
},
(a) => a.toISOString()
);
}
}
// eslint-disable-next-line
export interface DateFromString extends DateFromStringType {}
export const DateFromString: DateFromString = new DateFromStringType();

View file

@ -1,106 +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.
*/
export interface BaseReturnType {
error?: {
message: string;
code?: number;
};
success: boolean;
}
export interface ReturnTypeCreate<T> extends BaseReturnType {
item: T;
action: 'created';
}
export interface ReturnTypeUpdate<T> extends BaseReturnType {
item: T;
action: 'updated';
}
export interface ReturnTypeBulkCreate<T> extends BaseReturnType {
results: Array<{
item: T;
success: boolean;
action: 'created';
error?: {
message: string;
code?: number;
};
}>;
}
export interface ReturnTypeBulkDelete extends BaseReturnType {
results: Array<{
success: boolean;
action: 'deleted';
error?: {
message: string;
code?: number;
};
}>;
}
// upsert
export interface ReturnTypeUpsert<T> extends BaseReturnType {
item: T;
action: 'created' | 'updated';
}
// upsert bulk
export interface ReturnTypeBulkUpsert extends BaseReturnType {
results: Array<{
success: boolean;
action: 'created' | 'updated';
error?: {
message: string;
code?: number;
};
}>;
}
// list
export interface ReturnTypeList<T> extends BaseReturnType {
list: T[];
page: number;
total: number;
}
// get
export interface ReturnTypeGet<T> extends BaseReturnType {
item: T;
}
export interface ReturnTypeBulkGet<T> extends BaseReturnType {
items: T[];
}
// e.g.
// {
// result: {
// username: { valid: true },
// password: { valid: false, error: 'something' },
// hosts: [
// { valid: false }, { valid: true },
// ]
// }
// }
// bulk action -- e.g. assign tags to beats
export interface ReturnTypeBulkAction extends BaseReturnType {
results?: Array<{
success: boolean;
result?: {
[key: string]: any;
};
error?: {
message: string;
code?: number;
};
}>;
}

View file

@ -1,12 +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.
*/
module.exports = {
preset: '@kbn/test',
rootDir: '../../..',
roots: ['<rootDir>/x-pack/plugins/beats_management'],
};

View file

@ -1,16 +0,0 @@
{
"id": "beatsManagement",
"configPath": ["xpack", "beats_management"],
"ui": true,
"server": true,
"version": "kibana",
"requiredPlugins": [
"data",
"licensing",
"management",
"features"
],
"optionalPlugins": [
"security"
]
}

View file

@ -1,89 +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 * as euiVars from '@elastic/eui/dist/eui_theme_light.json';
import { i18n } from '@kbn/i18n';
import { FormattedMessage } from '@kbn/i18n/react';
import React from 'react';
import ReactDOM from 'react-dom';
import { Router } from 'react-router-dom';
import { ThemeProvider } from 'styled-components';
import { Provider as UnstatedProvider, Subscribe } from 'unstated';
import { EuiCallOut, EuiLink, EuiSpacer } from '@elastic/eui';
import { Background } from './components/layouts/background';
import { BreadcrumbProvider } from './components/navigation/breadcrumb';
import { Breadcrumb } from './components/navigation/breadcrumb/breadcrumb';
import { BeatsContainer } from './containers/beats';
import { TagsContainer } from './containers/tags';
import { FrontendLibs } from './lib/types';
import { AppRouter } from './router';
import { services } from './kbn_services';
import { ManagementAppMountParams } from '../../../../src/plugins/management/public';
export const renderApp = ({ element, history }: ManagementAppMountParams, libs: FrontendLibs) => {
ReactDOM.render(
<ThemeProvider theme={{ eui: euiVars }}>
<services.I18nContext>
<Router history={history}>
<UnstatedProvider inject={[new BeatsContainer(libs), new TagsContainer(libs)]}>
<BreadcrumbProvider useGlobalBreadcrumbs={libs.framework.versionGreaterThen('6.7.0')}>
<Subscribe to={[BeatsContainer, TagsContainer]}>
{(beats: BeatsContainer, tags: TagsContainer) => (
<Background>
<Breadcrumb
title={i18n.translate('xpack.beatsManagement.management.breadcrumb', {
defaultMessage: 'Management',
})}
/>
<EuiCallOut
title={i18n.translate('xpack.beatsManagement.management.deprecationTitle', {
defaultMessage: 'Beats central management has been deprecated',
})}
color="warning"
iconType="help"
>
<p>
<FormattedMessage
id="xpack.beatsManagement.management.deprecationMessage"
defaultMessage="We have ceased development on Beats central management and are working on a
comprehensive solution to replace it. Thank you for participating in the
beta and providing feedback. If you have any questions or concerns, please
reach out to us on the {forumLink}."
values={{
forumLink: (
<EuiLink
href="https://discuss.elastic.co/c/beats"
external
target="_blank"
>
<FormattedMessage
id="xpack.beatsManagement.management.forumLink"
defaultMessage="Discuss forum"
/>
</EuiLink>
),
}}
/>
</p>
</EuiCallOut>
<EuiSpacer />
<AppRouter libs={libs} beatsContainer={beats} tagsContainer={tags} />
</Background>
)}
</Subscribe>
</BreadcrumbProvider>
</UnstatedProvider>
</Router>
</services.I18nContext>
</ThemeProvider>,
element
);
return () => {
ReactDOM.unmountComponentAtNode(element);
};
};

View file

@ -1,69 +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 { FrontendLibs } from './lib/types';
import { compose } from './lib/compose/kibana';
import { setServices } from './kbn_services';
import { ManagementSetup } from '../../../../src/plugins/management/public';
import { SecurityPluginSetup } from '../../security/public';
import { CoreSetup } from '../../../../src/core/public';
import { DataPublicPluginStart } from '../../../../src/plugins/data/public';
import { LicensingPluginSetup } from '../../licensing/public';
import { BeatsManagementConfigType } from '../common';
import { MANAGEMENT_SECTION } from '../common/constants';
async function startApp(libs: FrontendLibs, core: CoreSetup<StartDeps>) {
const startServices = await core.getStartServices();
if (startServices[0].http.anonymousPaths.isAnonymous(window.location.pathname)) {
return;
}
// Can't run until the `start` lifecycle, so we wait for start services to resolve above before calling this.
await libs.framework.waitUntilFrameworkReady();
const capabilities = startServices[0].application.capabilities;
const hasBeatsCapability = capabilities.management.ingest?.[MANAGEMENT_SECTION] ?? false;
if (libs.framework.licenseIsAtLeast('standard') && hasBeatsCapability) {
const mount = async (params: any) => {
const [coreStart, pluginsStart] = await core.getStartServices();
setServices(coreStart, pluginsStart, params);
const { renderApp } = await import('./application');
return renderApp(params, libs);
};
libs.framework.registerManagementUI(mount);
}
}
interface SetupDeps {
management: ManagementSetup;
licensing: LicensingPluginSetup;
security?: SecurityPluginSetup;
}
interface StartDeps {
data: DataPublicPluginStart;
}
export const bootstrap = (
core: CoreSetup<StartDeps>,
plugins: SetupDeps,
config: BeatsManagementConfigType,
version: string
) => {
startApp(
compose({
core,
config,
version,
...plugins,
}),
core
);
};

View file

@ -1,290 +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 {
EuiFieldSearch,
EuiFieldSearchProps,
EuiOutsideClickDetector,
EuiPanel,
} from '@elastic/eui';
import React from 'react';
import styled from 'styled-components';
import { QuerySuggestion } from '../../../../../../src/plugins/data/public';
import { composeStateUpdaters } from '../../utils/typed_react';
import { SuggestionItem } from './suggestion_item';
interface AutocompleteFieldProps {
isLoadingSuggestions: boolean;
isValid: boolean;
loadSuggestions: (value: string, cursorPosition: number, maxCount?: number) => void;
onSubmit?: (value: string) => void;
onChange?: (value: string) => void;
placeholder?: string;
suggestions: QuerySuggestion[];
value: string;
}
interface AutocompleteFieldState {
areSuggestionsVisible: boolean;
selectedIndex: number | null;
}
export class AutocompleteField extends React.Component<
AutocompleteFieldProps,
AutocompleteFieldState
> {
public readonly state: AutocompleteFieldState = {
areSuggestionsVisible: false,
selectedIndex: null,
};
private inputElement: HTMLInputElement | null = null;
public render() {
const { suggestions, isLoadingSuggestions, isValid, placeholder, value } = this.props;
const { areSuggestionsVisible, selectedIndex } = this.state;
return (
<EuiOutsideClickDetector onOutsideClick={this.hideSuggestions}>
<AutocompleteContainer>
<FixedEuiFieldSearch
fullWidth
inputRef={this.handleChangeInputRef}
isLoading={isLoadingSuggestions}
isInvalid={!isValid}
onChange={this.handleChange}
onFocus={this.showSuggestions}
onKeyDown={this.handleKeyDown}
onKeyUp={this.handleKeyUp}
onSearch={this.submit}
placeholder={placeholder}
value={value}
/>
{areSuggestionsVisible && !isLoadingSuggestions && suggestions.length > 0 ? (
<SuggestionsPanel>
{suggestions.map((suggestion, suggestionIndex) => (
<SuggestionItem
key={suggestion.text}
suggestion={suggestion}
isSelected={suggestionIndex === selectedIndex}
onMouseEnter={this.selectSuggestionAt(suggestionIndex)}
onClick={this.applySuggestionAt(suggestionIndex)}
/>
))}
</SuggestionsPanel>
) : null}
</AutocompleteContainer>
</EuiOutsideClickDetector>
);
}
public componentDidUpdate(prevProps: AutocompleteFieldProps, prevState: AutocompleteFieldState) {
const hasNewSuggestions = prevProps.suggestions !== this.props.suggestions;
const hasNewValue = prevProps.value !== this.props.value;
if (hasNewValue) {
this.updateSuggestions();
}
if (hasNewSuggestions) {
this.showSuggestions();
}
}
private handleChangeInputRef = (element: HTMLInputElement | null) => {
this.inputElement = element;
};
private handleChange = (evt: React.ChangeEvent<HTMLInputElement>) => {
this.changeValue(evt.currentTarget.value);
};
private handleKeyDown = (evt: React.KeyboardEvent<HTMLInputElement>) => {
const { suggestions } = this.props;
switch (evt.key) {
case 'ArrowUp':
evt.preventDefault();
if (suggestions.length > 0) {
this.setState(
composeStateUpdaters(withSuggestionsVisible, withPreviousSuggestionSelected)
);
}
break;
case 'ArrowDown':
evt.preventDefault();
if (suggestions.length > 0) {
this.setState(composeStateUpdaters(withSuggestionsVisible, withNextSuggestionSelected));
} else {
this.updateSuggestions();
}
break;
case 'Enter':
evt.preventDefault();
if (this.state.selectedIndex !== null) {
this.applySelectedSuggestion();
} else {
this.submit();
}
break;
case 'Escape':
evt.preventDefault();
this.setState(withSuggestionsHidden);
break;
}
};
private handleKeyUp = (evt: React.KeyboardEvent<HTMLInputElement>) => {
switch (evt.key) {
case 'ArrowLeft':
case 'ArrowRight':
case 'Home':
case 'End':
this.updateSuggestions();
break;
}
};
private selectSuggestionAt = (index: number) => () => {
this.setState(withSuggestionAtIndexSelected(index));
};
private applySelectedSuggestion = () => {
if (this.state.selectedIndex !== null) {
this.applySuggestionAt(this.state.selectedIndex)();
}
};
private applySuggestionAt = (index: number) => () => {
const { value, suggestions } = this.props;
const selectedSuggestion = suggestions[index];
if (!selectedSuggestion) {
return;
}
const newValue =
value.substr(0, selectedSuggestion.start) +
selectedSuggestion.text +
value.substr(selectedSuggestion.end);
this.setState(withSuggestionsHidden);
this.changeValue(newValue);
this.focusInputElement();
};
private changeValue = (value: string) => {
const { onChange } = this.props;
if (onChange) {
onChange(value);
}
};
private focusInputElement = () => {
if (this.inputElement) {
this.inputElement.focus();
}
};
private showSuggestions = () => {
this.setState(withSuggestionsVisible);
};
private hideSuggestions = () => {
this.setState(withSuggestionsHidden);
};
private submit = () => {
const { isValid, onSubmit, value } = this.props;
if (isValid && onSubmit) {
onSubmit(value);
}
this.setState(withSuggestionsHidden);
};
private updateSuggestions = (value?: string) => {
const inputCursorPosition = this.inputElement ? this.inputElement.selectionStart || 0 : 0;
this.props.loadSuggestions(value || this.props.value, inputCursorPosition, 10);
};
}
const withPreviousSuggestionSelected = (
state: AutocompleteFieldState,
props: AutocompleteFieldProps
): AutocompleteFieldState => ({
...state,
selectedIndex:
props.suggestions.length === 0
? null
: state.selectedIndex !== null
? (state.selectedIndex + props.suggestions.length - 1) % props.suggestions.length
: Math.max(props.suggestions.length - 1, 0),
});
const withNextSuggestionSelected = (
state: AutocompleteFieldState,
props: AutocompleteFieldProps
): AutocompleteFieldState => ({
...state,
selectedIndex:
props.suggestions.length === 0
? null
: state.selectedIndex !== null
? (state.selectedIndex + 1) % props.suggestions.length
: 0,
});
const withSuggestionAtIndexSelected = (suggestionIndex: number) => (
state: AutocompleteFieldState,
props: AutocompleteFieldProps
): AutocompleteFieldState => ({
...state,
selectedIndex:
props.suggestions.length === 0
? null
: suggestionIndex >= 0 && suggestionIndex < props.suggestions.length
? suggestionIndex
: 0,
});
const withSuggestionsVisible = (state: AutocompleteFieldState) => ({
...state,
areSuggestionsVisible: true,
});
const withSuggestionsHidden = (state: AutocompleteFieldState) => ({
...state,
areSuggestionsVisible: false,
selectedIndex: null,
});
const FixedEuiFieldSearch: React.FC<
React.InputHTMLAttributes<HTMLInputElement> &
EuiFieldSearchProps & {
inputRef?: (element: HTMLInputElement | null) => void;
onSearch: (value: string) => void;
}
> = EuiFieldSearch as any;
const AutocompleteContainer = styled.div`
position: relative;
`;
const SuggestionsPanel = styled(EuiPanel).attrs(() => ({
paddingSize: 'none',
hasShadow: true,
}))`
position: absolute;
width: 100%;
margin-top: 2px;
overflow: hidden;
z-index: 1000;
`;

View file

@ -1,119 +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 { EuiIcon } from '@elastic/eui';
import { tint } from 'polished';
import React from 'react';
import styled from 'styled-components';
import { QuerySuggestion } from '../../../../../../src/plugins/data/public';
interface SuggestionItemProps {
isSelected?: boolean;
onClick?: React.MouseEventHandler<HTMLDivElement>;
onMouseEnter?: React.MouseEventHandler<HTMLDivElement>;
suggestion: QuerySuggestion;
}
export const SuggestionItem: React.FC<SuggestionItemProps> = (props) => {
const { isSelected, onClick, onMouseEnter, suggestion } = props;
return (
<SuggestionItemContainer isSelected={isSelected} onClick={onClick} onMouseEnter={onMouseEnter}>
<SuggestionItemIconField suggestionType={suggestion.type}>
<EuiIcon type={getEuiIconType(suggestion.type)} />
</SuggestionItemIconField>
<SuggestionItemTextField>{suggestion.text}</SuggestionItemTextField>
<SuggestionItemDescriptionField>{suggestion.description}</SuggestionItemDescriptionField>
</SuggestionItemContainer>
);
};
SuggestionItem.defaultProps = {
isSelected: false,
};
const SuggestionItemContainer = styled.div<{
isSelected?: boolean;
}>`
display: flex;
flex-direction: row;
font-size: ${(props) => props.theme.eui.default.euiFontSizeS};
height: ${(props) => props.theme.eui.default.euiSizeXl};
white-space: nowrap;
background-color: ${(props) =>
props.isSelected ? props.theme.eui.default.euiColorLightestShade : 'transparent'};
`;
const SuggestionItemField = styled.div`
align-items: center;
cursor: pointer;
display: flex;
flex-direction: row;
height: ${(props) => props.theme.eui.default.euiSizeXl};
padding: ${(props) => props.theme.eui.default.euiSizeXs};
`;
const SuggestionItemIconField = styled(SuggestionItemField)<{ suggestionType: string }>`
background-color: ${(props) => {
return tint(0.1, getEuiIconColor(props.theme, props.suggestionType));
}};
color: ${(props) => {
return getEuiIconColor(props.theme, props.suggestionType);
}};
flex: 0 0 auto;
justify-content: center;
width: ${(props) => props.theme.eui.default.euiSizeXl};
`;
const SuggestionItemTextField = styled(SuggestionItemField)`
flex: 2 0 0;
font-family: ${(props) => props.theme.eui.default.euiCodeFontFamily};
`;
const SuggestionItemDescriptionField = styled(SuggestionItemField)`
flex: 3 0 0;
p {
display: inline;
span {
font-family: ${(props) => props.theme.eui.default.euiCodeFontFamily};
}
}
`;
const getEuiIconType = (suggestionType: string) => {
switch (suggestionType) {
case 'field':
return 'kqlField';
case 'value':
return 'kqlValue';
case 'recentSearch':
return 'search';
case 'conjunction':
return 'kqlSelector';
case 'operator':
return 'kqlOperand';
default:
return 'empty';
}
};
const getEuiIconColor = (theme: any, suggestionType: string): string => {
switch (suggestionType) {
case 'field':
return theme.eui.default.euiColorVis7;
case 'value':
return theme.eui.default.euiColorVis0;
case 'operator':
return theme.eui.default.euiColorVis1;
case 'conjunction':
return theme.eui.default.euiColorVis2;
case 'recentSearch':
default:
return theme.eui.default.euiColorMediumShade;
}
};

View file

@ -1,117 +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.
*/
// @ts-ignore
import { EuiBasicTable, EuiLink } from '@elastic/eui';
import { InjectedIntl, injectI18n } from '@kbn/i18n/react';
import React from 'react';
import { configBlockSchemas } from '../../common/config_schemas';
import { translateConfigSchema } from '../../common/config_schemas_translations_map';
import { ConfigurationBlock } from '../../common/domain_types';
interface ComponentProps {
configs: {
error?: string | undefined;
list: ConfigurationBlock[];
page: number;
total: number;
};
onConfigClick: (action: 'edit' | 'delete', config: ConfigurationBlock) => any;
onTableChange: (index: number, size: number) => void;
intl: InjectedIntl;
}
const pagination = {
pageSize: 5,
hidePerPageOptions: true,
};
const ConfigListUi: React.FC<ComponentProps> = (props) => (
<EuiBasicTable
items={props.configs.list || []}
itemId="id"
pagination={{
...pagination,
totalItemCount: props.configs.total,
pageIndex: props.configs.page,
}}
onChange={(
table: { page: { index: number; size: number } } = { page: { index: 0, size: 5 } }
) => {
if (props.onTableChange) {
props.onTableChange(table.page.index, table.page.size);
}
}}
columns={[
{
field: 'type',
name: props.intl.formatMessage({
id: 'xpack.beatsManagement.tagTable.typeColumnName',
defaultMessage: 'Type',
}),
truncateText: false,
render: (type: string, config: ConfigurationBlock) => {
const translatedConfig = translateConfigSchema(configBlockSchemas).find(
(sc) => sc.id === type
);
return (
<EuiLink onClick={() => props.onConfigClick('edit', config)}>
{translatedConfig ? translatedConfig.name : type}
</EuiLink>
);
},
},
{
field: 'module',
name: props.intl.formatMessage({
id: 'xpack.beatsManagement.tagTable.moduleColumnName',
defaultMessage: 'Module',
}),
truncateText: false,
render: (value: string, config: ConfigurationBlock) => {
return (
config.config._sub_type ||
props.intl.formatMessage({
id: 'xpack.beatsManagement.tagTable.moduleColumn.notAvailibaleLabel',
defaultMessage: 'N/A',
})
);
},
},
{
field: 'description',
name: props.intl.formatMessage({
id: 'xpack.beatsManagement.tagTable.descriptionColumnName',
defaultMessage: 'Description',
}),
},
{
name: props.intl.formatMessage({
id: 'xpack.beatsManagement.tagTable.actionsColumnName',
defaultMessage: 'Actions',
}),
actions: [
{
name: props.intl.formatMessage({
id: 'xpack.beatsManagement.tagTable.actions.removeButtonAriaLabel',
defaultMessage: 'Remove',
}),
description: props.intl.formatMessage({
id: 'xpack.beatsManagement.tagTable.actions.removeTooltip',
defaultMessage: 'Remove this config from tag',
}),
type: 'icon',
icon: 'trash',
onClick: (item: ConfigurationBlock) => props.onConfigClick('delete', item),
},
],
},
]}
/>
);
export const ConfigList = injectI18n(ConfigListUi);

View file

@ -1,292 +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 {
EuiBasicTable,
EuiButton,
EuiCodeBlock,
EuiCopy,
EuiFlexGroup,
EuiFlexItem,
EuiLoadingSpinner,
EuiModalBody,
// @ts-ignore
EuiSelect,
EuiSpacer,
EuiTitle,
} from '@elastic/eui';
import { FormattedMessage } from '@kbn/i18n/react';
import { upperFirst } from 'lodash';
import React from 'react';
import { CMBeat } from '../../common/domain_types';
interface ComponentProps {
/** Such as kibanas basePath, for use to generate command */
frameworkBasePath?: string;
enrollmentToken?: string;
getBeatWithToken(token: string): Promise<CMBeat | null>;
createEnrollmentToken(): Promise<void>;
onBeatEnrolled(enrolledBeat: CMBeat): void;
}
interface ComponentState {
enrolledBeat: CMBeat | null;
hasPolledForBeat: boolean;
command: string;
beatType: string;
}
export class EnrollBeat extends React.Component<ComponentProps, ComponentState> {
private pinging = false;
constructor(props: ComponentProps) {
super(props);
this.state = {
enrolledBeat: null,
hasPolledForBeat: false,
command: 'sudo {{beatType}}',
beatType: 'filebeat',
};
}
public pingForBeatWithToken = async (token: string): Promise<CMBeat | void> => {
try {
const beats = await this.props.getBeatWithToken(token);
if (!beats) {
throw new Error('no beats');
}
return beats;
} catch (err) {
if (this.pinging) {
const timeout = (ms: number) => new Promise((res) => setTimeout(res, ms));
await timeout(5000);
return await this.pingForBeatWithToken(token);
}
}
};
public async componentDidMount() {
if (!this.props.enrollmentToken) {
await this.props.createEnrollmentToken();
}
}
public waitForTokenToEnrollBeat = async () => {
if (this.pinging || !this.props.enrollmentToken) {
return;
}
this.pinging = true;
const enrolledBeat = (await this.pingForBeatWithToken(this.props.enrollmentToken)) as CMBeat;
this.setState({
enrolledBeat,
});
this.props.onBeatEnrolled(enrolledBeat);
this.pinging = false;
};
public render() {
if (!this.props.enrollmentToken && !this.state.enrolledBeat) {
return null;
}
if (this.props.enrollmentToken && !this.state.enrolledBeat) {
this.waitForTokenToEnrollBeat();
}
const cmdText = `${this.state.command
.replace('{{beatType}}', this.state.beatType)
.replace('{{beatTypeInCaps}}', upperFirst(this.state.beatType))} enroll ${
window.location.protocol
}//${window.location.host}${this.props.frameworkBasePath} ${this.props.enrollmentToken}`;
return (
<React.Fragment>
{!this.state.enrolledBeat && (
<React.Fragment>
<EuiFlexGroup>
<EuiFlexItem>
<EuiFlexGroup gutterSize="s" alignItems="center">
<EuiFlexItem grow={false}>
<EuiTitle size="xs">
<h3>
<FormattedMessage
id="xpack.beatsManagement.enrollBeat.beatTypeTitle"
defaultMessage="Beat type:"
/>
</h3>
</EuiTitle>
</EuiFlexItem>
</EuiFlexGroup>
<EuiSelect
value={this.state.beatType}
options={[
{
value: 'filebeat',
text: 'Filebeat',
},
{
value: 'metricbeat',
text: 'Metricbeat',
},
]}
onChange={(e: any) => this.setState({ beatType: e.target.value })}
fullWidth={true}
/>
</EuiFlexItem>
</EuiFlexGroup>
<br />
<br />
<EuiFlexGroup>
<EuiFlexItem>
<EuiFlexGroup gutterSize="s" alignItems="center">
<EuiFlexItem grow={false}>
<EuiTitle size="xs">
<h3>
<FormattedMessage
id="xpack.beatsManagement.enrollBeat.platformTitle"
defaultMessage="Platform:"
/>
</h3>
</EuiTitle>
</EuiFlexItem>
</EuiFlexGroup>
<EuiSelect
value={this.state.command}
options={[
{
value: `sudo {{beatType}}`,
text: 'DEB / RPM',
},
{
value: `PS C:\\Program Files\\{{beatTypeInCaps}}> {{beatType}}.exe`,
text: 'Windows',
},
{
value: `./{{beatType}}`,
text: 'MacOS',
},
]}
onChange={(e: any) => this.setState({ command: e.target.value })}
fullWidth={true}
/>
</EuiFlexItem>
</EuiFlexGroup>
<br />
<br />
{this.state.command && (
<EuiFlexGroup>
<EuiFlexItem>
<EuiFlexGroup justifyContent="spaceBetween" alignItems="flexEnd">
<EuiFlexItem grow={false}>
<EuiTitle size="xs">
<h3>
<FormattedMessage
id="xpack.beatsManagement.enrollBeat.yourBeatTypeHostTitle"
defaultMessage="On the host where your {beatType} is installed, run:"
values={{
beatType: upperFirst(this.state.beatType),
}}
/>
</h3>
</EuiTitle>
</EuiFlexItem>
<EuiFlexItem className="homTutorial__instruction" grow={false}>
<EuiCopy textToCopy={cmdText}>
{(copy: any) => (
<EuiButton size="s" onClick={copy}>
<FormattedMessage
id="xpack.beatsManagement.enrollBeat.copyButtonLabel"
defaultMessage="Copy command"
/>
</EuiButton>
)}
</EuiCopy>
</EuiFlexItem>
</EuiFlexGroup>
<div className="eui-textBreakAll">
<EuiSpacer size="m" />
<EuiCodeBlock language="sh">{`$ ${cmdText}`}</EuiCodeBlock>
</div>
<EuiSpacer size="m" />
<EuiFlexGroup>
<EuiFlexItem>
<EuiFlexGroup gutterSize="s" alignItems="center">
<EuiFlexItem grow={false}>
<EuiTitle size="xs">
<h3>
<FormattedMessage
id="xpack.beatsManagement.enrollBeat.waitingBeatTypeToEnrollTitle"
defaultMessage="Waiting for {beatType} to enroll…"
values={{
beatType: upperFirst(this.state.beatType),
}}
/>
</h3>
</EuiTitle>
</EuiFlexItem>
</EuiFlexGroup>
</EuiFlexItem>
</EuiFlexGroup>
<br />
<EuiLoadingSpinner size="l" />
</EuiFlexItem>
</EuiFlexGroup>
)}
</React.Fragment>
)}
{this.state.enrolledBeat && (
<EuiModalBody>
<FormattedMessage
id="xpack.beatsManagement.enrollBeat.beatEnrolledTitle"
defaultMessage="The Beat is now enrolled in central management:"
/>
<br />
<br />
<br />
<EuiBasicTable
items={[this.state.enrolledBeat]}
columns={[
{
field: 'type',
name: (
<FormattedMessage
id="xpack.beatsManagement.enrollBeat.beatTypeColumnName"
defaultMessage="Beat Type"
/>
),
sortable: false,
},
{
field: 'version',
name: (
<FormattedMessage
id="xpack.beatsManagement.enrollBeat.versionColumnName"
defaultMessage="Version"
/>
),
sortable: false,
},
{
field: 'host_name',
name: (
<FormattedMessage
id="xpack.beatsManagement.enrollBeat.hostnameColumnName"
defaultMessage="Hostname"
/>
),
sortable: false,
},
]}
/>
<br />
<br />
</EuiModalBody>
)}
</React.Fragment>
);
}
}

View file

@ -1,114 +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.
*/
// @ts-ignore
import { CommonProps, EuiCodeEditor, EuiCodeEditorProps, EuiFormRow } from '@elastic/eui';
// @ts-ignore
import { FormsyInputProps, withFormsy } from 'formsy-react';
import React, { Component, InputHTMLAttributes } from 'react';
interface ComponentProps extends FormsyInputProps, CommonProps, EuiCodeEditorProps {
instantValidation: boolean;
label: string;
isReadOnly: boolean;
mode: 'javascript' | 'yaml';
errorText: string;
fullWidth: boolean;
helpText: React.ReactElement<any>;
compressed: boolean;
onChange(value: string): void;
onBlur(): void;
}
interface ComponentState {
allowError: boolean;
}
class CodeEditor extends Component<
InputHTMLAttributes<HTMLTextAreaElement> & ComponentProps,
ComponentState
> {
public static defaultProps = {
passRequiredToField: true,
};
public state = { allowError: false };
public componentDidMount() {
const { defaultValue, setValue } = this.props;
setValue(defaultValue || '');
}
public UNSAFE_componentWillReceiveProps(nextProps: ComponentProps) {
if (nextProps.isFormSubmitted()) {
this.showError();
}
}
public handleChange = (value: string) => {
this.props.setValue(value);
if (this.props.onChange) {
this.props.onChange(value);
}
if (this.props.instantValidation) {
this.showError();
}
};
public handleBlur = () => {
this.showError();
if (this.props.onBlur) {
this.props.onBlur();
}
};
public showError = () => this.setState({ allowError: true });
public render() {
const {
name,
id,
label,
isReadOnly,
isValid,
getValue,
isPristine,
getErrorMessage,
mode,
fullWidth,
className,
helpText,
} = this.props;
const { allowError } = this.state;
const error = !isPristine() && !isValid() && allowError;
return (
<EuiFormRow
id={id}
label={label}
helpText={helpText}
isInvalid={error}
error={error ? getErrorMessage() : []}
>
<EuiCodeEditor
name={name}
mode={mode}
theme="github"
value={getValue() || ''}
isReadOnly={isReadOnly || false}
onChange={this.handleChange}
onBlur={this.handleBlur}
width={fullWidth ? '100%' : undefined}
className={className}
/>
</EuiFormRow>
);
}
}
export const FormsyEuiCodeEditor = withFormsy(CodeEditor);

View file

@ -1,12 +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.
*/
export { FormsyEuiCodeEditor } from './code_editor';
export { FormsyEuiFieldText } from './input';
export { FormsyEuiPasswordText } from './password_input';
export { FormsyEuiMultiFieldText } from './multi_input';
export { FormsyEuiSelect } from './select';

View file

@ -1,120 +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 { EuiFieldText, EuiFormRow } from '@elastic/eui';
import { CommonProps } from '@elastic/eui/src/components/common';
import { FormsyInputProps, withFormsy } from 'formsy-react';
import React, { Component, InputHTMLAttributes } from 'react';
interface ComponentProps
extends FormsyInputProps,
CommonProps,
Omit<React.ComponentProps<typeof EuiFieldText>, 'onChange' | 'onBlur'> {
instantValidation?: boolean;
label: string;
errorText: string;
fullWidth: boolean;
helpText: React.ReactElement<any>;
compressed: boolean;
onChange?(e: React.ChangeEvent<HTMLInputElement>, value: any): void;
onBlur?(e: React.ChangeEvent<HTMLInputElement>, value: any): void;
}
interface ComponentState {
allowError: boolean;
}
class FieldText extends Component<
InputHTMLAttributes<HTMLInputElement> & ComponentProps,
ComponentState
> {
public static defaultProps = {
passRequiredToField: true,
};
public state = { allowError: false };
public componentDidMount() {
const { defaultValue, setValue } = this.props;
if (defaultValue) {
setValue(defaultValue);
}
}
public UNSAFE_componentWillReceiveProps(nextProps: ComponentProps) {
if (nextProps.isFormSubmitted()) {
this.showError();
}
}
public handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {
const { value } = e.currentTarget;
this.props.setValue(value);
if (this.props.onChange) {
this.props.onChange(e, e.currentTarget.value);
}
if (this.props.instantValidation) {
this.showError();
}
};
public handleBlur = (e: React.ChangeEvent<HTMLInputElement>) => {
this.showError();
if (this.props.onBlur) {
this.props.onBlur(e, e.currentTarget.value);
}
};
public showError = () => this.setState({ allowError: true });
public render() {
const {
name,
id,
required,
label,
getValue,
isValid,
isPristine,
getErrorMessage,
fullWidth,
className,
disabled,
helpText,
placeholder,
} = this.props;
const { allowError } = this.state;
const error = !isPristine() && !isValid() && allowError;
return (
<EuiFormRow
id={id}
label={label}
helpText={helpText}
isInvalid={!disabled && error}
error={!disabled && error ? getErrorMessage() : []}
>
<EuiFieldText
id={id}
name={name}
placeholder={placeholder}
value={getValue() || ''}
isInvalid={!disabled && error}
onChange={this.handleChange}
onBlur={this.handleBlur}
fullWidth={fullWidth}
disabled={disabled}
required={required}
className={className}
/>
</EuiFormRow>
);
}
}
export const FormsyEuiFieldText = withFormsy(FieldText);

View file

@ -1,122 +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 { EuiFormRow, EuiTextArea, EuiTextAreaProps } from '@elastic/eui';
import { CommonProps } from '@elastic/eui/src/components/common';
// @ts-ignore
import { FormsyInputProps, withFormsy } from 'formsy-react';
import React, { Component, InputHTMLAttributes } from 'react';
interface ComponentProps
extends FormsyInputProps,
CommonProps,
Omit<EuiTextAreaProps, 'onChange' | 'onBlur'> {
instantValidation: boolean;
label: string;
errorText: string;
fullWidth: boolean;
helpText: React.ReactElement<any>;
compressed: boolean;
onChange(e: React.ChangeEvent<HTMLTextAreaElement>, value: any): void;
onBlur(e: React.ChangeEvent<HTMLTextAreaElement>, value: any): void;
}
interface ComponentState {
allowError: boolean;
}
class MultiFieldText extends Component<
InputHTMLAttributes<HTMLTextAreaElement> & ComponentProps,
ComponentState
> {
public static defaultProps = {
passRequiredToField: true,
};
public state = { allowError: false };
public componentDidMount() {
const { defaultValue, setValue } = this.props;
if (defaultValue) {
setValue(defaultValue);
}
}
public UNSAFE_componentWillReceiveProps(nextProps: ComponentProps) {
if (nextProps.isFormSubmitted()) {
this.showError();
}
}
public handleChange = (e: React.ChangeEvent<HTMLTextAreaElement>) => {
const value = e.currentTarget.value.split('\n');
this.props.setValue(value);
if (this.props.onChange) {
this.props.onChange(e, value);
}
if (this.props.instantValidation) {
this.showError();
}
};
public handleBlur = (e: React.ChangeEvent<HTMLTextAreaElement>) => {
this.showError();
if (this.props.onBlur) {
this.props.onBlur(e, e.currentTarget.value);
}
};
public showError = () => this.setState({ allowError: true });
public render() {
const {
name,
id,
required,
label,
getValue,
isValid,
isPristine,
getErrorMessage,
fullWidth,
className,
disabled,
helpText,
placeholder,
} = this.props;
const { allowError } = this.state;
const error = !isPristine() && !isValid() && allowError;
return (
<EuiFormRow
id={id}
label={label}
helpText={helpText}
isInvalid={!disabled && error}
error={!disabled && error ? getErrorMessage() : []}
>
<EuiTextArea
id={id}
name={name}
value={getValue() ? getValue().join('\n') : ''}
isInvalid={!disabled && error}
placeholder={placeholder}
onChange={this.handleChange}
onBlur={this.handleBlur}
fullWidth={fullWidth}
disabled={disabled}
required={required}
className={className}
/>
</EuiFormRow>
);
}
}
export const FormsyEuiMultiFieldText = withFormsy(MultiFieldText);

View file

@ -1,114 +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 { CommonProps, EuiFieldPassword, EuiFieldPasswordProps, EuiFormRow } from '@elastic/eui';
import { FormsyInputProps, withFormsy } from 'formsy-react';
import React, { Component, InputHTMLAttributes } from 'react';
interface ComponentProps
extends FormsyInputProps,
CommonProps,
Omit<EuiFieldPasswordProps, 'onChange' | 'onBlur'> {
instantValidation?: boolean;
label: string;
errorText: string;
fullWidth: boolean;
helpText: React.ReactElement<any>;
compressed: boolean;
onChange?(e: React.ChangeEvent<HTMLInputElement>, value: any): void;
onBlur?(e: React.ChangeEvent<HTMLInputElement>, value: any): void;
}
interface ComponentState {
allowError: boolean;
}
class FieldPassword extends Component<
InputHTMLAttributes<HTMLInputElement> & ComponentProps,
ComponentState
> {
constructor(props: any) {
super(props);
this.state = {
allowError: false,
};
}
public componentDidMount() {
const { defaultValue, setValue } = this.props;
if (defaultValue) {
setValue(defaultValue);
}
}
public handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {
const { value } = e.currentTarget;
this.props.setValue(value);
if (this.props.onChange) {
this.props.onChange(e, value);
}
if (this.props.instantValidation) {
this.showError();
}
};
public handleBlur = (e: React.ChangeEvent<HTMLInputElement>) => {
this.showError();
if (this.props.onBlur) {
this.props.onBlur(e, e.currentTarget.value);
}
};
public showError = () => this.setState({ allowError: true });
public render() {
const {
name,
id,
required,
label,
getValue,
isValid,
isPristine,
getErrorMessage,
fullWidth,
className,
disabled,
helpText,
onBlur,
} = this.props;
const { allowError } = this.state;
const error = !isPristine() && !isValid() && allowError;
return (
<EuiFormRow
id={id}
label={label}
helpText={helpText}
isInvalid={!disabled && error}
error={!disabled && error ? getErrorMessage() : []}
>
<EuiFieldPassword
id={id}
name={name}
value={getValue() || ''}
isInvalid={!disabled && error}
onChange={this.handleChange}
onBlur={onBlur}
fullWidth={fullWidth}
disabled={disabled}
required={required}
className={className}
/>
</EuiFormRow>
);
}
}
export const FormsyEuiPasswordText = withFormsy(FieldPassword);

View file

@ -1,125 +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 {
EuiFormRow,
// @ts-ignore
EuiSelect,
} from '@elastic/eui';
import { CommonProps } from '@elastic/eui/src/components/common';
// @ts-ignore
import { FormsyInputProps, withFormsy } from 'formsy-react';
import React, { Component, InputHTMLAttributes } from 'react';
const FixedSelect = EuiSelect as React.FC<any>;
interface ComponentProps extends FormsyInputProps, CommonProps {
instantValidation: boolean;
options: Array<{ value: string; text: string }>;
label: string;
errorText: string;
fullWidth: boolean;
helpText: React.ReactElement<any>;
compressed: boolean;
onChange(e: React.ChangeEvent<HTMLInputElement>, value: any): void;
onBlur(e: React.ChangeEvent<HTMLInputElement>, value: any): void;
}
interface ComponentState {
allowError: boolean;
}
class FieldSelect extends Component<
InputHTMLAttributes<HTMLInputElement> & ComponentProps,
ComponentState
> {
public static defaultProps = {
passRequiredToField: true,
};
public state = { allowError: false };
public componentDidMount() {
const { defaultValue, setValue } = this.props;
if (defaultValue) {
setValue(defaultValue);
}
}
public UNSAFE_componentWillReceiveProps(nextProps: ComponentProps) {
if (nextProps.isFormSubmitted()) {
this.showError();
}
}
public handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {
const { value } = e.currentTarget;
this.props.setValue(value);
if (this.props.onChange) {
this.props.onChange(e, e.currentTarget.value);
}
if (this.props.instantValidation) {
this.showError();
}
};
public handleBlur = (e: React.ChangeEvent<HTMLInputElement>) => {
this.showError();
if (this.props.onBlur) {
this.props.onBlur(e, e.currentTarget.value);
}
};
public showError = () => this.setState({ allowError: true });
public render() {
const {
id,
required,
label,
options,
getValue,
isValid,
isPristine,
getErrorMessage,
fullWidth,
className,
disabled,
helpText,
} = this.props;
const { allowError } = this.state;
const error = !isPristine() && !isValid() && allowError;
return (
<EuiFormRow
id={id}
label={label}
helpText={helpText}
isInvalid={!disabled && error}
error={!disabled && error ? getErrorMessage() : []}
>
<FixedSelect
id={id}
name={name}
value={getValue() || ''}
options={options}
isInvalid={!disabled && error}
onChange={this.handleChange}
onBlur={this.handleBlur}
fullWidth={fullWidth}
disabled={disabled}
required={required}
className={className}
/>
</EuiFormRow>
);
}
}
export const FormsyEuiSelect = withFormsy(FieldSelect);

View file

@ -1,12 +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 styled from 'styled-components';
export const Background = styled.div`
flex-grow: 1;
`;

View file

@ -1,31 +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 { EuiEmptyPrompt, EuiFlexGroup, EuiFlexItem, EuiPageContent } from '@elastic/eui';
import React from 'react';
import { withRouter, RouteComponentProps } from 'react-router-dom';
interface LayoutProps extends RouteComponentProps {
children: React.ReactNode;
title: string | React.ReactNode;
actionSection?: React.ReactNode;
}
export const NoDataLayout = withRouter(({ actionSection, title, children }: LayoutProps) => (
<EuiFlexGroup justifyContent="spaceAround">
<EuiFlexItem grow={false}>
<EuiPageContent>
<EuiEmptyPrompt
iconType="logoBeats"
title={<h2>{title}</h2>}
body={children}
actions={actionSection}
/>
</EuiPageContent>
</EuiFlexItem>
</EuiFlexGroup>
));

View file

@ -1,84 +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 {
EuiHeader,
EuiHeaderBreadcrumbs,
EuiHeaderSection,
EuiPage,
EuiPageBody,
EuiPageContent,
EuiPageContentBody,
EuiPageHeader,
EuiPageHeaderSection,
EuiTitle,
} from '@elastic/eui';
import React, { Component, ReactNode } from 'react';
import styled from 'styled-components';
import { BreadcrumbConsumer } from '../navigation/breadcrumb';
type RenderCallback = (component: () => JSX.Element) => void;
interface PrimaryLayoutProps {
title: string | React.ReactNode;
actionSection?: React.ReactNode;
hideBreadcrumbs?: boolean;
}
export class PrimaryLayout extends Component<PrimaryLayoutProps> {
private actionSection: (() => JSX.Element) | null = null;
constructor(props: PrimaryLayoutProps) {
super(props);
}
public render() {
const children: (callback: RenderCallback) => void | ReactNode = this.props.children as any;
return (
<React.Fragment>
{!this.props.hideBreadcrumbs && (
<BreadcrumbConsumer>
{({ breadcrumbs }) => (
<HeaderWrapper>
<EuiHeaderSection>
<EuiHeaderBreadcrumbs breadcrumbs={breadcrumbs} />
</EuiHeaderSection>
</HeaderWrapper>
)}
</BreadcrumbConsumer>
)}
<EuiPage>
<EuiPageBody>
<EuiPageHeader>
<EuiPageHeaderSection>
<EuiTitle>
<h1>{this.props.title}</h1>
</EuiTitle>
</EuiPageHeaderSection>
<EuiPageHeaderSection>
{(this.actionSection && this.actionSection()) || this.props.actionSection}
</EuiPageHeaderSection>
</EuiPageHeader>
<EuiPageContent>
<EuiPageContentBody>
{(children && typeof children === 'function'
? children(this.renderAction)
: children) || <span />}
</EuiPageContentBody>
</EuiPageContent>
</EuiPageBody>
</EuiPage>
</React.Fragment>
);
}
private renderAction = (component: () => JSX.Element) => {
this.actionSection = component;
this.forceUpdate();
};
}
const HeaderWrapper = styled(EuiHeader)`
height: 29px;
`;

View file

@ -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; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import React from 'react';
import { EuiPageContent, EuiPageContentBody, EuiStepsHorizontal, EuiTitle } from '@elastic/eui';
interface LayoutProps {
title: string;
goTo: (path: string) => any;
walkthroughSteps: Array<{
id: string;
name: string;
}>;
activePath: string;
}
export const WalkthroughLayout: React.FC<LayoutProps> = ({
walkthroughSteps,
title,
activePath,
goTo,
children,
}) => {
const indexOfCurrent = walkthroughSteps.findIndex((step) => activePath === step.id);
return (
<EuiPageContent>
<EuiTitle>
<h1 style={{ textAlign: 'center' }}>{title}</h1>
</EuiTitle>
<br />
<br />
<EuiStepsHorizontal
steps={walkthroughSteps.map((step, i) => ({
title: step.name,
isComplete: i <= indexOfCurrent,
onClick: () => goTo(step.id),
}))}
/>
<br />
<br />
<EuiPageContentBody>{children}</EuiPageContentBody>
</EuiPageContent>
);
};

View file

@ -1,17 +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 { EuiFlexGroup, EuiFlexItem, EuiLoadingSpinner } from '@elastic/eui';
import * as React from 'react';
export const Loading: React.FC<{}> = () => (
<EuiFlexGroup justifyContent="spaceAround">
<EuiFlexItem grow={false}>
<EuiLoadingSpinner size="xl" />
</EuiFlexItem>
</EuiFlexGroup>
);

View file

@ -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; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import React, { Component } from 'react';
import { RouteProps } from 'react-router-dom';
import { BASE_PATH } from '../../../../common/constants';
import { BreadcrumbConsumer } from './consumer';
import { Breadcrumb as BreadcrumbData, BreadcrumbContext } from './types';
interface BreadcrumbManagerProps extends RouteProps {
text: string;
href?: string;
parents?: BreadcrumbData[];
context: BreadcrumbContext;
}
class BreadcrumbManager extends Component<BreadcrumbManagerProps, {}, BreadcrumbContext> {
public componentWillUnmount() {
const { text, href, context } = this.props;
context.removeCrumb({
text,
href,
});
}
public componentDidMount() {
const { text, href, parents, context } = this.props;
context.addCrumb(
{
text,
href,
},
parents
);
}
public render() {
return <span />;
}
}
interface BreadcrumbProps extends RouteProps {
title: string;
path?: string;
parentBreadcrumbs?: BreadcrumbData[];
}
export const Breadcrumb: React.FC<BreadcrumbProps> = ({ title, path, parentBreadcrumbs }) => (
<BreadcrumbConsumer>
{(context) => (
<BreadcrumbManager
text={title}
href={path ? `#${BASE_PATH}${path}` : `#${BASE_PATH}`}
parents={parentBreadcrumbs}
context={context}
/>
)}
</BreadcrumbConsumer>
);

View file

@ -1,8 +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.
*/
export { Consumer as BreadcrumbConsumer } from './context';

View file

@ -1,19 +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 from 'react';
import { Breadcrumb, BreadcrumbContext } from './types';
/* istanbul ignore next */
const defaultContext: BreadcrumbContext = {
breadcrumbs: [],
addCrumb: (crumb: Breadcrumb) => null,
removeCrumb: (crumb: Breadcrumb) => null,
};
export const { Provider, Consumer } = React.createContext(defaultContext);

View file

@ -1,10 +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.
*/
export { BreadcrumbProvider } from './provider';
export { BreadcrumbConsumer } from './consumer';
export { Breadcrumb } from './breadcrumb';

View file

@ -1,73 +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, ReactElement } from 'react';
import { Provider } from './context';
import { Breadcrumb } from './types';
import { services } from '../../../kbn_services';
interface ComponentProps {
useGlobalBreadcrumbs: boolean;
children: ReactElement<any> | Array<ReactElement<any>>;
}
interface ComponentState {
breadcrumbs: Array<{
href?: string;
breadcrumb: Breadcrumb;
parents?: Breadcrumb[];
}>;
}
export class BreadcrumbProvider extends Component<ComponentProps, ComponentState> {
public state = {
breadcrumbs: [] as ComponentState['breadcrumbs'],
};
public addCrumb = (breadcrumb: Breadcrumb, parents?: Breadcrumb[]) => {
this.setState(({ breadcrumbs: prevCrumbs }) => ({
breadcrumbs: [
...prevCrumbs,
{
href: breadcrumb.href,
breadcrumb,
parents,
},
],
}));
};
public removeCrumb = (crumbToRemove: Breadcrumb) => {
this.setState(({ breadcrumbs: prevCrumbs }) => {
const breadcrumbs = prevCrumbs.filter((prevCrumb) => {
const { href } = prevCrumb;
return !(crumbToRemove.href === href);
});
return { breadcrumbs };
});
};
public render() {
const { breadcrumbs } = this.state;
const context = {
breadcrumbs: breadcrumbs.reduce((crumbs, crumbStorageItem) => {
if (crumbStorageItem.parents) {
crumbs = crumbs.concat(crumbStorageItem.parents);
}
crumbs.push(crumbStorageItem.breadcrumb);
return crumbs;
}, [] as Breadcrumb[]),
addCrumb: this.addCrumb,
removeCrumb: this.removeCrumb,
};
if (this.props.useGlobalBreadcrumbs) {
services.setBreadcrumbs(context.breadcrumbs);
}
return <Provider value={context}>{this.props.children}</Provider>;
}
}

View file

@ -1,16 +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.
*/
export interface BreadcrumbContext {
breadcrumbs: Breadcrumb[];
addCrumb: (crumb: Breadcrumb, parents?: Breadcrumb[]) => void;
removeCrumb: (crumb: Breadcrumb) => void;
}
export interface Breadcrumb {
text: string;
href?: string;
}

View file

@ -1,40 +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, { FC } from 'react';
import { Route, Switch } from 'react-router-dom';
export interface RouteConfig {
path: string;
component: React.ComponentType<any>;
routes?: RouteConfig[];
}
export const ChildRoutes: FC<{
routes?: RouteConfig[];
useSwitch?: boolean;
[other: string]: any;
}> = ({ routes, useSwitch = true, ...rest }) => {
if (!routes) {
return null;
}
const Parent = useSwitch ? Switch : React.Fragment;
return (
<Parent>
{routes.map((route) => (
<Route
key={route.path}
path={route.path}
render={(routeProps) => {
const Component = route.component;
return <Component {...routeProps} routes={route.routes} {...rest} />;
}}
/>
))}
</Parent>
);
};

View file

@ -1,46 +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 { get } from 'lodash';
import React from 'react';
import { EuiLink } from '@elastic/eui';
import { Link, withRouter, RouteComponentProps } from 'react-router-dom';
interface ConnectedLinkComponent extends RouteComponentProps {
location: any;
path: string;
disabled: boolean;
query: any;
[key: string]: any;
}
export const ConnectedLinkComponent = ({
location,
path,
query,
disabled,
children,
...props
}: ConnectedLinkComponent) => {
if (disabled) {
return <EuiLink aria-disabled="true" {...props} />;
}
// Shorthand for pathname
const pathname = path || get(props.to, 'pathname') || location.pathname;
return (
<Link
children={children}
to={{ ...location, ...props.to, pathname, query }}
className={`euiLink euiLink--primary ${props.className || ''}`}
/>
);
};
export const ConnectedLink = withRouter(ConnectedLinkComponent);

View file

@ -1,101 +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';
import { AssignmentActionType } from './table';
export enum ActionComponentType {
Action,
Popover,
SelectionCount,
TagBadgeList,
}
export interface ControlSchema {
id?: number;
name: string;
danger?: boolean;
type: ActionComponentType;
action?: AssignmentActionType;
actionDataKey?: string;
showWarning?: boolean;
warningHeading?: string;
warningMessage?: string;
lazyLoad?: boolean;
grow?: boolean;
}
export const beatsListActions: ControlSchema[] = [
{
grow: false,
name: i18n.translate('xpack.beatsManagement.beatsListAssignmentOptions.unenrollButtonLabel', {
defaultMessage: 'Unenroll selected',
}),
showWarning: true,
type: ActionComponentType.Action,
warningHeading: i18n.translate(
'xpack.beatsManagement.beatsListAssignmentOptions.unenrollBeatsWarninigTitle',
{ defaultMessage: 'Unenroll selected beats?' }
),
warningMessage: i18n.translate(
'xpack.beatsManagement.beatsListAssignmentOptions.unenrollBeatsWarninigMessage',
{ defaultMessage: 'The selected Beats will no longer use central management' }
),
action: AssignmentActionType.Delete,
danger: true,
},
{
name: i18n.translate('xpack.beatsManagement.beatsListAssignmentOptions.setTagsButtonLabel', {
defaultMessage: 'Set tags',
}),
grow: false,
type: ActionComponentType.TagBadgeList,
actionDataKey: 'tags',
lazyLoad: true,
},
];
export const tagListActions: ControlSchema[] = [
{
danger: true,
grow: false,
name: i18n.translate('xpack.beatsManagement.tagListAssignmentOptions.removeTagsButtonLabel', {
defaultMessage: 'Remove selected',
}),
type: ActionComponentType.Action,
showWarning: true,
warningHeading: i18n.translate(
'xpack.beatsManagement.tagListAssignmentOptions.removeTagsWarninigTitle',
{ defaultMessage: 'Remove tag(s)' }
),
warningMessage: i18n.translate(
'xpack.beatsManagement.tagListAssignmentOptions.removeTagWarninigMessage',
{ defaultMessage: 'Remove the tag?' }
),
action: AssignmentActionType.Delete,
},
];
export const tagConfigActions: ControlSchema[] = [
{
danger: true,
grow: false,
name: i18n.translate('xpack.beatsManagement.tagConfigAssignmentOptions.removeTagsButtonLabel', {
defaultMessage: 'Remove tag(s)',
}),
type: ActionComponentType.Action,
showWarning: true,
warningHeading: i18n.translate(
'xpack.beatsManagement.tagConfigAssignmentOptions.removeTagsWarninigTitle',
{ defaultMessage: 'Remove tag(s)' }
),
warningMessage: i18n.translate(
'xpack.beatsManagement.tagConfigAssignmentOptions.removeTagsWarninigMessage',
{ defaultMessage: 'Remove the tag from the selected beat(s)?' }
),
action: AssignmentActionType.Delete,
},
];

View file

@ -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; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import { EuiButton, EuiConfirmModal } from '@elastic/eui';
import { FormattedMessage } from '@kbn/i18n/react';
import React from 'react';
import { AssignmentActionType } from '../table';
interface ActionControlProps {
action: AssignmentActionType;
disabled: boolean;
danger?: boolean;
name: string;
showWarning?: boolean;
warningHeading?: string;
warningMessage?: string;
actionHandler(action: AssignmentActionType, payload?: any): void;
}
interface ActionControlState {
showModal: boolean;
}
export class ActionControl extends React.PureComponent<ActionControlProps, ActionControlState> {
constructor(props: ActionControlProps) {
super(props);
this.state = {
showModal: false,
};
}
public render() {
const {
action,
actionHandler,
danger,
name,
showWarning,
warningHeading,
warningMessage,
} = this.props;
return (
<div>
<EuiButton
size="s"
color={danger ? 'danger' : 'primary'}
disabled={this.props.disabled}
onClick={
showWarning ? () => this.setState({ showModal: true }) : () => actionHandler(action)
}
>
{name}
</EuiButton>
{this.state.showModal && (
<EuiConfirmModal
buttonColor={danger ? 'danger' : 'primary'}
cancelButtonText={
<FormattedMessage
id="xpack.beatsManagement.confirmModal.cancelButtonLabel"
defaultMessage="Cancel"
/>
}
confirmButtonText={
<FormattedMessage
id="xpack.beatsManagement.confirmModal.confirmButtonLabel"
defaultMessage="Confirm"
/>
}
onConfirm={() => {
actionHandler(action);
this.setState({ showModal: false });
}}
onCancel={() => this.setState({ showModal: false })}
title={
warningHeading ? (
warningHeading
) : (
<FormattedMessage
id="xpack.beatsManagement.confirmModal.confirmWarningTitle"
defaultMessage="Confirm"
/>
)
}
>
{warningMessage}
</EuiConfirmModal>
)}
</div>
);
}
}

View file

@ -1,8 +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.
*/
export { OptionControl } from './option_control';

View file

@ -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; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import React from 'react';
import { ActionComponentType, ControlSchema } from '../action_schema';
import { AssignmentActionType } from '../table';
import { ActionControl } from './action_control';
import { TagBadgeList } from './tag_badge_list';
interface ComponentProps extends ControlSchema {
actionData?: {
[key: string]: any;
};
disabled: boolean;
actionHandler(action: AssignmentActionType, payload?: any): void;
}
export const OptionControl: React.FC<ComponentProps> = (props: ComponentProps) => {
switch (props.type) {
case ActionComponentType.Action:
if (!props.action) {
throw Error('Action cannot be undefined');
}
return (
<ActionControl
actionHandler={props.actionHandler}
action={props.action}
danger={props.danger}
name={props.name}
showWarning={props.showWarning}
warningHeading={props.warningHeading}
warningMessage={props.warningMessage}
disabled={props.disabled}
/>
);
case ActionComponentType.TagBadgeList:
if (!props.actionDataKey) {
throw Error('actionDataKey cannot be undefined');
}
if (!props.actionData) {
throw Error('actionData cannot be undefined');
}
return (
<TagBadgeList
actionHandler={props.actionHandler}
action={props.action}
name={props.name}
items={props.actionData[props.actionDataKey]}
disabled={props.disabled}
/>
);
}
return <div>Invalid config</div>;
};

View file

@ -1,110 +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 {
EuiButton,
EuiContextMenuPanel,
EuiFlexGroup,
EuiFlexItem,
EuiLoadingSpinner,
EuiPopover,
} from '@elastic/eui';
import React from 'react';
import { TABLE_CONFIG } from '../../../../common/constants/table';
import { TagBadge } from '../../tag/tag_badge';
import { AssignmentActionType } from '../index';
interface TagBadgeListProps {
items: object[];
disabled: boolean;
name: string;
action?: AssignmentActionType;
actionHandler(action: AssignmentActionType, payload?: any): void;
}
interface ComponentState {
isPopoverOpen: boolean;
items: object[];
}
export class TagBadgeList extends React.Component<TagBadgeListProps, ComponentState> {
constructor(props: TagBadgeListProps) {
super(props);
this.state = {
isPopoverOpen: false,
items: [],
};
}
public render() {
const button = (
<EuiButton
size="s"
iconType="arrowDown"
iconSide="right"
onClick={this.onButtonClick}
disabled={this.props.disabled}
>
{this.props.name}
</EuiButton>
);
return (
<EuiPopover
id="contentPanel"
button={button}
isOpen={this.state.isPopoverOpen}
closePopover={this.closePopover}
panelPaddingSize="none"
anchorPosition="downLeft"
>
<EuiContextMenuPanel>
<EuiFlexGroup direction="column" gutterSize="xs" style={{ margin: 10 }}>
{!this.props.items && <EuiLoadingSpinner size="l" />}
{this.props.items && this.props.items.length === 0 && (
<EuiFlexItem>
<EuiFlexGroup gutterSize="xs">
<EuiFlexItem>No options avaliable</EuiFlexItem>
</EuiFlexGroup>
</EuiFlexItem>
)}
{this.props.items &&
this.props.items.map((tag: any) => (
<EuiFlexItem key={`${tag.id}`}>
<EuiFlexGroup gutterSize="xs">
<EuiFlexItem>
<TagBadge
maxIdRenderSize={TABLE_CONFIG.TRUNCATE_TAG_LENGTH_SMALL}
onClick={() =>
this.props.actionHandler(AssignmentActionType.Assign, tag.id)
}
onClickAriaLabel={tag.id}
tag={tag}
/>
</EuiFlexItem>
</EuiFlexGroup>
</EuiFlexItem>
))}
</EuiFlexGroup>
</EuiContextMenuPanel>
</EuiPopover>
);
}
private onButtonClick = async () => {
this.props.actionHandler(AssignmentActionType.Reload);
this.setState((prevState) => ({
isPopoverOpen: !prevState.isPopoverOpen,
}));
};
private closePopover = () => {
this.setState({
isPopoverOpen: false,
});
};
}

View file

@ -1,16 +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.
*/
export { beatsListActions, tagConfigActions } from './action_schema';
export { AssignmentActionType, KueryBarProps, Table } from './table';
export {
ActionDefinition,
BeatDetailTagsTable,
BeatsTableType,
FilterDefinition,
TagsTableType,
} from './table_type_configs';

View file

@ -1,160 +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 { EuiBasicTable, EuiFlexGroup, EuiFlexItem, EuiSpacer } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import React from 'react';
import styled from 'styled-components';
import { QuerySuggestion } from '../../../../../../src/plugins/data/public';
import { TABLE_CONFIG } from '../../../common/constants';
import { AutocompleteField } from '../autocomplete_field/index';
import { ControlSchema } from './action_schema';
import { OptionControl } from './controls/option_control';
import { TableType } from './table_type_configs';
export enum AssignmentActionType {
Add,
Assign,
Delete,
Edit,
Reload,
Search,
}
export interface KueryBarProps {
filterQueryDraft: string;
isLoadingSuggestions: boolean;
isValid: boolean;
loadSuggestions: (value: string, cursorPosition: number, maxCount?: number) => void;
onChange?: (value: string) => void;
onSubmit?: (value: string) => void;
suggestions: QuerySuggestion[];
value: string;
}
interface TableProps {
actions?: ControlSchema[];
actionData?: {
[key: string]: any;
};
hideTableControls?: boolean;
kueryBarProps?: KueryBarProps;
items: any[];
onTableChange?: (index: number, size: number) => void;
type: TableType;
actionHandler?(action: AssignmentActionType, payload?: any): void;
}
interface TableState {
selection: any[];
pageIndex: number;
}
const TableContainer = styled.div`
padding: 16px;
`;
export class Table extends React.Component<TableProps, TableState> {
constructor(props: any) {
super(props);
this.state = {
selection: [],
pageIndex: 0,
};
}
public resetSelection = () => {
this.setSelection([]);
};
public setSelection = (selection: any[]) => {
this.setState({
selection,
});
};
public actionHandler = (action: AssignmentActionType, payload?: any): void => {
if (this.props.actionHandler) {
this.props.actionHandler(action, payload);
}
};
public render() {
const { actionData, actions, hideTableControls, items, kueryBarProps, type } = this.props;
const pagination = {
pageIndex: this.state.pageIndex,
pageSize: TABLE_CONFIG.INITIAL_ROW_SIZE,
pageSizeOptions: TABLE_CONFIG.PAGE_SIZE_OPTIONS,
};
const selectionOptions = hideTableControls
? undefined
: {
onSelectionChange: this.setSelection,
selectable: () => true,
selectableMessage: () =>
i18n.translate('xpack.beatsManagement.table.selectThisBeatTooltip', {
defaultMessage: 'Select this beat',
}),
selection: this.state.selection,
};
return (
<TableContainer>
<EuiFlexGroup alignItems="center" justifyContent="spaceBetween">
{actions &&
actions.map((action) => (
<EuiFlexItem grow={false} key={action.name}>
<OptionControl
{...action}
actionData={actionData}
actionHandler={this.actionHandler}
disabled={this.state.selection.length === 0}
/>
</EuiFlexItem>
))}
{kueryBarProps && (
<EuiFlexItem>
<AutocompleteField
{...kueryBarProps}
placeholder={i18n.translate(
'xpack.beatsManagement.table.filterResultsPlaceholder',
{
defaultMessage: 'Filter results',
}
)}
/>
</EuiFlexItem>
)}
</EuiFlexGroup>
<EuiSpacer size="m" />
<EuiBasicTable
items={items}
itemId="id"
isSelectable={true}
selection={selectionOptions}
columns={type.columnDefinitions}
pagination={{ ...pagination, totalItemCount: items.length }}
onChange={this.onTableChange}
/>
</TableContainer>
);
}
private onTableChange = ({ page }: { page: { index: number; size: number } }) => {
if (this.props.onTableChange) {
this.props.onTableChange(page.index, page.size);
}
this.setState({
pageIndex: page.index,
});
};
}

View file

@ -1,345 +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 { EuiFlexGroup, EuiFlexItem, EuiHealth, EuiToolTip, IconColor } from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { sortBy, uniqBy } from 'lodash';
import moment from 'moment';
import React from 'react';
import { BeatTag, CMBeat } from '../../../common/domain_types';
import { ConnectedLink } from '../navigation/connected_link';
import { TagBadge } from '../tag';
export interface ColumnDefinition {
align?: 'left' | 'right' | 'center' | undefined;
field: string;
name: string;
sortable?: boolean;
width?: string;
render?(value: any, object?: any): any;
}
export interface ActionDefinition {
action: string;
danger?: boolean;
icon?: any;
name: string;
}
interface FilterOption {
value: string;
}
export interface FilterDefinition {
field: string;
name: string;
options?: FilterOption[];
type: string;
}
export interface ControlDefinitions {
actions: ActionDefinition[];
filters: FilterDefinition[];
primaryActions?: ActionDefinition[];
}
export interface TableType {
itemType: 'Beats' | 'Tags';
columnDefinitions: ColumnDefinition[];
controlDefinitions(items: any[]): ControlDefinitions;
}
const dynamicStatuses = {
STARTING: {
color: 'success',
status: i18n.translate('xpack.beatsManagement.beatsTable.startingStatusLabel', {
defaultMessage: 'Starting',
}),
details: i18n.translate('xpack.beatsManagement.beatsTable.configStatus.startingTooltip', {
defaultMessage: 'This Beat is starting.',
}),
},
IN_PROGRESS: {
color: 'warning',
status: i18n.translate('xpack.beatsManagement.beatsTable.updatingStatusLabel', {
defaultMessage: 'Updating',
}),
details: i18n.translate('xpack.beatsManagement.beatsTable.configStatus.progressTooltip', {
defaultMessage: 'This Beat is currently reloading config from CM.',
}),
},
RUNNING: {
color: 'success',
status: i18n.translate('xpack.beatsManagement.beatsTable.runningStatusLabel', {
defaultMessage: 'Running',
}),
details: i18n.translate('xpack.beatsManagement.beatsTable.configStatus.runningTooltip', {
defaultMessage: 'This Beat is running without issues.',
}),
},
CONFIG: {
color: 'danger',
status: i18n.translate('xpack.beatsManagement.beatsTable.configErrorStatusLabel', {
defaultMessage: 'Config error',
}),
},
FAILED: {
color: 'danger',
status: i18n.translate('xpack.beatsManagement.beatsTable.failedStatusLabel', {
defaultMessage: 'Error',
}),
details: i18n.translate('xpack.beatsManagement.beatsTable.configStatus.errorTooltip', {
defaultMessage: 'There is an error on this beat, please check the logs for this host.',
}),
},
STOPPED: {
color: 'danger',
status: i18n.translate('xpack.beatsManagement.beatsTable.stoppedStatusLabel', {
defaultMessage: 'stopped',
}),
details: i18n.translate('xpack.beatsManagement.beatsTable.configStatus.errorTooltip', {
defaultMessage: 'There is an error on this beat, please check the logs for this host.',
}),
},
};
export const BeatsTableType: TableType = {
itemType: 'Beats',
columnDefinitions: [
{
field: 'name',
name: i18n.translate('xpack.beatsManagement.beatsTable.beatNameTitle', {
defaultMessage: 'Beat name',
}),
render: (name: string, beat: CMBeat) => (
<ConnectedLink path={`/beat/${beat.id}/details`}>{name}</ConnectedLink>
),
sortable: true,
},
{
field: 'type',
name: i18n.translate('xpack.beatsManagement.beatsTable.typeTitle', {
defaultMessage: 'Type',
}),
sortable: true,
},
{
field: 'full_tags',
name: i18n.translate('xpack.beatsManagement.beatsTable.tagsTitle', {
defaultMessage: 'Tags',
}),
render: (value: string, beat: CMBeat & { tags: BeatTag[] }) => (
<EuiFlexGroup wrap responsive={true} gutterSize="xs">
{(sortBy(beat.tags, 'id') || []).map((tag) => (
<EuiFlexItem key={tag.id} grow={false}>
<ConnectedLink path={`/tag/edit/${tag.id}`}>
<TagBadge tag={tag} />
</ConnectedLink>
</EuiFlexItem>
))}
</EuiFlexGroup>
),
sortable: false,
},
{
field: 'config_status',
name: i18n.translate('xpack.beatsManagement.beatsTable.configStatusTitle', {
defaultMessage: 'Config Status',
}),
render: (value: string, beat: CMBeat) => {
let color: IconColor = 'success';
let statusText = i18n.translate('xpack.beatsManagement.beatsTable.configStatus.okLabel', {
defaultMessage: 'OK',
});
let tooltipText = i18n.translate(
'xpack.beatsManagement.beatsTable.configStatus.okTooltip',
{
defaultMessage: 'Beat successfully applied latest config',
}
);
if (beat.status && moment().diff(beat.last_checkin, 'minutes') < 10) {
color = dynamicStatuses[beat.status.event.type].color;
statusText = dynamicStatuses[beat.status.event.type].status;
tooltipText =
(dynamicStatuses[beat.status.event.type] as any).details || beat.status.event.message;
} else if (!beat.status && moment().diff(beat.last_checkin, 'minutes') >= 10) {
color = 'danger';
statusText = i18n.translate(
'xpack.beatsManagement.beatsTable.configStatus.offlineLabel',
{
defaultMessage: 'Offline',
}
);
tooltipText = i18n.translate(
'xpack.beatsManagement.beatsTable.configStatus.noConnectionTooltip',
{
defaultMessage: 'This Beat has not connected to kibana in over 10min',
}
);
} else if (beat.status && moment().diff(beat.last_checkin, 'minutes') >= 10) {
color = 'subdued';
tooltipText = i18n.translate(
'xpack.beatsManagement.beatsTable.configStatus.notStartedTooltip',
{
defaultMessage: 'This Beat has not yet been started.',
}
);
statusText = i18n.translate(
'xpack.beatsManagement.beatsTable.configStatus.notStartedLabel',
{
defaultMessage: 'Not started',
}
);
} else {
color = 'subdued';
statusText = i18n.translate(
'xpack.beatsManagement.beatsTable.configStatus.offlineLabel',
{
defaultMessage: 'Offline',
}
);
}
return (
<EuiFlexGroup wrap responsive={true} gutterSize="xs">
<EuiToolTip content={tooltipText}>
<EuiHealth color={color}>{statusText}</EuiHealth>
</EuiToolTip>
</EuiFlexGroup>
);
},
sortable: false,
},
// {
// field: 'full_tags',
// name: i18n.translate('xpack.beatsManagement.beatsTable.lastConfigUpdateTitle', {
// defaultMessage: 'Last config update',
// }),
// render: (tags?: BeatTag[]) =>
// tags && tags.length ? (
// <span>
// {moment(first(orderBy(tags, ['last_updated'], ['desc'])).last_updated).fromNow()}
// </span>
// ) : null,
// sortable: true,
// },
],
controlDefinitions: (data: any[]) => ({
actions: [
{
name: i18n.translate('xpack.beatsManagement.beatsTable.disenrollSelectedLabel', {
defaultMessage: 'Unenroll Selected',
}),
action: 'delete',
danger: true,
},
],
filters: [
{
type: 'field_value_selection',
field: 'type',
name: i18n.translate('xpack.beatsManagement.beatsTable.typeLabel', {
defaultMessage: 'Type',
}),
options: uniqBy(
data.map(({ type }: { type: any }) => ({ value: type })),
'value'
),
},
],
}),
};
export const TagsTableType: TableType = {
itemType: 'Tags',
columnDefinitions: [
{
field: 'id',
name: i18n.translate('xpack.beatsManagement.tagsTable.tagNameTitle', {
defaultMessage: 'Tag name',
}),
render: (id: string, tag: BeatTag) => (
<ConnectedLink path={`/tag/edit/${tag.id}`}>
<TagBadge tag={tag} />
</ConnectedLink>
),
sortable: true,
width: '45%',
},
{
align: 'right',
field: 'last_updated',
name: i18n.translate('xpack.beatsManagement.tagsTable.lastUpdateTitle', {
defaultMessage: 'Last update',
}),
render: (lastUpdate: Date) => <div>{moment(lastUpdate).fromNow()}</div>,
sortable: true,
},
],
controlDefinitions: (data: any) => ({
actions: [
{
name: i18n.translate('xpack.beatsManagement.tagsTable.removeSelectedLabel', {
defaultMessage: 'Remove Selected',
}),
action: 'delete',
danger: true,
},
],
filters: [],
}),
};
export const BeatDetailTagsTable: TableType = {
itemType: 'Tags',
columnDefinitions: [
{
field: 'id',
name: i18n.translate('xpack.beatsManagement.beatTagsTable.tagNameTitle', {
defaultMessage: 'Tag name',
}),
render: (id: string, tag: BeatTag) => (
<ConnectedLink path={`/tag/edit/${tag.id}`}>
<TagBadge tag={tag} />
</ConnectedLink>
),
sortable: true,
width: '55%',
},
{
align: 'right',
field: 'last_updated',
name: i18n.translate('xpack.beatsManagement.beatTagsTable.lastUpdateTitle', {
defaultMessage: 'Last update',
}),
render: (lastUpdate: string) => <span>{moment(lastUpdate).fromNow()}</span>,
sortable: true,
},
],
controlDefinitions: (data: any) => ({
actions: [],
filters: [],
primaryActions: [
{
name: i18n.translate('xpack.beatsManagement.beatTagsTable.addTagLabel', {
defaultMessage: 'Add Tag',
}),
action: 'add',
danger: false,
},
{
name: i18n.translate('xpack.beatsManagement.beatTagsTable.removeSelectedLabel', {
defaultMessage: 'Remove Selected',
}),
action: 'remove',
danger: true,
},
],
}),
};

View file

@ -1,216 +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.
*/
// @ts-ignore
import { i18n } from '@kbn/i18n';
import Formsy from 'formsy-react';
import { get } from 'lodash';
import React from 'react';
import { ConfigBlockSchema, ConfigurationBlock } from '../../../../common/domain_types';
import {
FormsyEuiCodeEditor,
FormsyEuiFieldText,
FormsyEuiMultiFieldText,
FormsyEuiPasswordText,
FormsyEuiSelect,
} from '../../inputs';
interface ComponentProps {
values: ConfigurationBlock;
schema: ConfigBlockSchema;
id: string;
onSubmit?: (modal: any) => any;
canSubmit(canIt: boolean): any;
}
interface ComponentState {
canSubmit: boolean;
}
class ConfigFormUi extends React.Component<ComponentProps, ComponentState> {
private form = React.createRef<HTMLButtonElement>();
constructor(props: ComponentProps) {
super(props);
this.state = {
canSubmit: false,
};
}
public enableButton = () => {
this.setState({
canSubmit: true,
});
this.props.canSubmit(true);
};
public disableButton = () => {
this.setState({
canSubmit: false,
});
this.props.canSubmit(false);
};
public submit = () => {
if (this.form.current && this.props.onSubmit) {
this.form.current.click();
}
};
public onValidSubmit = <ModelType extends any>(model: ModelType) => {
if (!this.props.onSubmit) {
return;
}
this.props.onSubmit(model);
};
public render() {
return (
<div>
<br />
<Formsy
onValidSubmit={this.onValidSubmit}
onValid={this.enableButton}
onInvalid={this.disableButton}
>
{this.props.schema.configs.map((schema) => {
switch (schema.ui.type) {
case 'input':
return (
<FormsyEuiFieldText
key={schema.id}
id={schema.id}
defaultValue={get(
this.props,
`values.config.${schema.id}`,
schema.defaultValue
)}
name={schema.id}
disabled={!this.props.onSubmit}
helpText={schema.ui.helpText}
placeholder={schema.ui.placeholder}
label={schema.ui.label}
validationError={schema.error}
required={schema.required || false}
/>
);
case 'password':
return (
<FormsyEuiPasswordText
key={schema.id}
id={schema.id}
disabled={!this.props.onSubmit}
defaultValue={get(
this.props,
`values.config.${schema.id}`,
schema.defaultValue
)}
name={schema.id}
placeholder={schema.ui.placeholder}
helpText={schema.ui.helpText}
label={schema.ui.label}
validationError={schema.error}
required={schema.required || false}
/>
);
case 'multi-input':
return (
<FormsyEuiMultiFieldText
key={schema.id}
id={schema.id}
disabled={!this.props.onSubmit}
defaultValue={get(
this.props,
`values.config.${schema.id}`,
schema.defaultValue
)}
name={schema.id}
placeholder={schema.ui.placeholder}
helpText={schema.ui.helpText}
label={schema.ui.label}
validationError={schema.error}
required={schema.required}
/>
);
case 'select':
return (
<FormsyEuiSelect
key={schema.id}
id={schema.id}
name={schema.id}
disabled={!this.props.onSubmit}
defaultValue={get(
this.props,
`values.config.${schema.id}`,
schema.defaultValue
)}
helpText={schema.ui.helpText}
label={schema.ui.label}
options={[
{
value: '',
text: i18n.translate('xpack.beatsManagement.table.selectOptionLabel', {
defaultMessage: 'Please Select An Option',
}),
},
].concat(schema.options || [])}
validationError={schema.error}
required={schema.required}
/>
);
case 'code':
return (
<FormsyEuiCodeEditor
key={`${schema.id}-${this.props.id}`}
mode="yaml"
disabled={!this.props.onSubmit}
id={schema.id}
defaultValue={get(
this.props,
`values.config.${schema.id}`,
schema.defaultValue
)}
name={schema.id}
helpText={schema.ui.helpText}
label={schema.ui.label}
options={schema.options ? schema.options : []}
validationError={schema.error}
required={schema.required}
/>
);
}
})}
{this.props.schema && (
<FormsyEuiCodeEditor
mode="yaml"
disabled={!this.props.onSubmit}
id={'other'}
defaultValue={get(this.props, `values.config.other`, '')}
name={'other'}
helpText={i18n.translate('xpack.beatsManagement.config.otherConfigDescription', {
defaultMessage: 'Use YAML format to specify other settings for the Filebeat Input',
})}
label={i18n.translate('xpack.beatsManagement.config.otherConfigLabel', {
defaultMessage: 'Other Config',
})}
validationError={i18n.translate('xpack.beatsManagement.config.other.error', {
defaultMessage: 'Use valid YAML format',
})}
required={false}
/>
)}
{this.props.onSubmit && (
<button
type="submit"
style={{ display: 'none' }}
disabled={!this.state.canSubmit}
ref={this.form}
/>
)}
</Formsy>
</div>
);
}
}
export const ConfigForm = ConfigFormUi;

View file

@ -1,189 +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 {
EuiButton,
EuiButtonEmpty,
EuiFieldText,
EuiFlexGroup,
EuiFlexItem,
EuiFlyout,
EuiFlyoutBody,
EuiFlyoutFooter,
EuiFlyoutHeader,
EuiFormRow,
EuiHorizontalRule,
EuiSelect,
EuiSpacer,
EuiTitle,
} from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import React from 'react';
import { configBlockSchemas } from '../../../../common/config_schemas';
import { translateConfigSchema } from '../../../../common/config_schemas_translations_map';
import { ConfigurationBlock } from '../../../../common/domain_types';
import { ConfigForm } from './config_form';
interface ComponentProps {
configBlock?: ConfigurationBlock;
onClose(): any;
onSave?(config: ConfigurationBlock): any;
}
interface ComponentState {
valid: boolean;
configBlock: ConfigurationBlock;
}
class ConfigViewUi extends React.Component<ComponentProps, ComponentState> {
private form = React.createRef<any>();
private editMode: boolean;
private schema = translateConfigSchema(configBlockSchemas);
constructor(props: any) {
super(props);
this.editMode = props.configBlock !== undefined;
this.state = {
valid: false,
configBlock: props.configBlock || {
type: this.schema[0].id,
},
};
}
public onValueChange = (field: string) => (e: any) => {
const value = e.currentTarget ? e.currentTarget.value : e;
this.setState((state: any) => ({
configBlock: {
...state.configBlock,
[field]: value,
},
}));
};
public render() {
const thisConfigSchema = this.schema.find((s) => this.state.configBlock.type === s.id);
if (!thisConfigSchema) {
return i18n.translate('xpack.beatsManagement.tagConfig.invalidSchema', {
defaultMessage:
'Error: This config is invalid, it is not supported by Beats and should be removed',
});
}
return (
<EuiFlyout onClose={this.props.onClose}>
<EuiFlyoutHeader hasBorder>
<EuiTitle size="m">
<h2>
{this.editMode
? this.props.onSave
? i18n.translate('xpack.beatsManagement.tagConfig.editConfigurationTitle', {
defaultMessage: 'Edit configuration block',
})
: i18n.translate('xpack.beatsManagement.tagConfig.viewConfigurationTitle"', {
defaultMessage: 'View configuration block',
})
: i18n.translate('xpack.beatsManagement.tagConfig.addConfigurationTitle"', {
defaultMessage: 'Add configuration block',
})}
</h2>
</EuiTitle>
</EuiFlyoutHeader>
<EuiFlyoutBody>
<EuiFormRow
label={i18n.translate('xpack.beatsManagement.tagConfig.typeLabel', {
defaultMessage: 'Type',
})}
>
<EuiSelect
options={this.schema.map((s) => ({ value: s.id, text: s.name }))}
value={this.state.configBlock.type}
disabled={this.editMode}
onChange={this.onValueChange('type')}
/>
</EuiFormRow>
<EuiFormRow
label={i18n.translate('xpack.beatsManagement.tagConfig.descriptionLabel', {
defaultMessage: 'Description',
})}
>
<EuiFieldText
value={this.state.configBlock.description}
disabled={!this.props.onSave}
onChange={this.onValueChange('description')}
placeholder={i18n.translate(
'xpack.beatsManagement.tagConfig.descriptionPlaceholder',
{
defaultMessage: 'Description (optional)',
}
)}
/>
</EuiFormRow>
<EuiSpacer />
<h3>
{i18n.translate('xpack.beatsManagement.tagConfig.configurationTypeText', {
defaultMessage: '{configType} configuration',
values: {
configType: thisConfigSchema ? thisConfigSchema.name : 'Unknown',
},
})}
</h3>
<EuiHorizontalRule />
<ConfigForm
onSubmit={
this.props.onSave
? (data) => {
if (this.props.onSave) {
this.props.onSave({
...this.state.configBlock,
config: data,
});
}
this.props.onClose();
}
: undefined
}
canSubmit={(canIt) => this.setState({ valid: canIt })}
ref={this.form}
values={this.state.configBlock}
id={thisConfigSchema ? thisConfigSchema.name : 'Undefined'}
schema={thisConfigSchema}
/>
</EuiFlyoutBody>
<EuiFlyoutFooter>
<EuiFlexGroup justifyContent="spaceBetween">
<EuiFlexItem grow={false}>
<EuiButtonEmpty iconType="cross" onClick={this.props.onClose}>
{i18n.translate('xpack.beatsManagement.tagConfig.closeButtonLabel', {
defaultMessage: 'Close',
})}
</EuiButtonEmpty>
</EuiFlexItem>
{this.props.onSave && (
<EuiFlexItem grow={false}>
<EuiButton
disabled={!this.state.valid}
fill
onClick={() => {
if (this.form.current) {
this.form.current.submit();
}
}}
>
{i18n.translate('xpack.beatsManagement.tagConfig.saveButtonLabel', {
defaultMessage: 'Save',
})}
</EuiButton>
</EuiFlexItem>
)}
</EuiFlexGroup>
</EuiFlyoutFooter>
</EuiFlyout>
);
}
}
export const ConfigView = ConfigViewUi;

View file

@ -1,9 +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.
*/
export { TagBadge } from './tag_badge';
export { TagEdit } from './tag_edit';

View file

@ -1,48 +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 { EuiBadge, EuiBadgeProps } from '@elastic/eui';
import React from 'react';
import { TABLE_CONFIG } from '../../../common/constants';
type TagBadgeProps = EuiBadgeProps & {
maxIdRenderSize?: number;
tag: { name: string; color: string; disabled?: boolean; id: string };
};
export const TagBadge = (props: TagBadgeProps) => {
const { iconType, onClick, onClickAriaLabel, tag } = props;
const maxIdRenderSize = props.maxIdRenderSize || TABLE_CONFIG.TRUNCATE_TAG_LENGTH;
const idToRender = `${tag.name.substring(0, maxIdRenderSize)}${
tag.name.length > maxIdRenderSize ? '...' : ''
}`;
if (tag.disabled) {
return (
<EuiBadge color="default" iconType="cross">
{idToRender}
</EuiBadge>
);
} else if (onClick && onClickAriaLabel) {
return (
<EuiBadge
color={tag.color || 'primary'}
iconType={iconType}
onClick={onClick as React.MouseEventHandler<HTMLButtonElement>}
onClickAriaLabel={onClickAriaLabel}
>
{idToRender}
</EuiBadge>
);
} else {
return (
<EuiBadge color={tag.color || 'primary'} iconType={iconType}>
{idToRender}
</EuiBadge>
);
}
};

View file

@ -1,238 +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 {
EuiButton,
// @ts-ignore
EuiColorPicker,
EuiFieldText,
EuiFlexGroup,
EuiFlexItem,
// @ts-ignore
EuiForm,
EuiFormRow,
EuiHorizontalRule,
EuiSpacer,
EuiText,
EuiTitle,
} from '@elastic/eui';
import { i18n } from '@kbn/i18n';
import { FormattedMessage } from '@kbn/i18n/react';
import 'brace/mode/yaml';
import 'brace/theme/github';
import React from 'react';
import { BeatTag, CMBeat, ConfigurationBlock } from '../../../common/domain_types';
import { ConfigList } from '../config_list';
import { AssignmentActionType, BeatsTableType, Table, tagConfigActions } from '../table';
import { ConfigView } from './config_view';
import { TagBadge } from './tag_badge';
interface TagEditProps {
tag: BeatTag;
configuration_blocks: {
error?: string | undefined;
list: ConfigurationBlock[];
page: number;
total: number;
};
onConfigListChange: (index: number, size: number) => void;
onDetachBeat?: (beatIds: string[]) => void;
onTagChange: (field: keyof BeatTag, value: string) => any;
onConfigAddOrEdit: (block: ConfigurationBlock) => any;
onConfigRemoved: (block: ConfigurationBlock) => any;
attachedBeats?: CMBeat[];
}
interface TagEditState {
showFlyout: boolean;
tableRef: any;
selectedConfig?: ConfigurationBlock;
}
export class TagEdit extends React.PureComponent<TagEditProps, TagEditState> {
constructor(props: TagEditProps) {
super(props);
this.state = {
showFlyout: false,
tableRef: React.createRef(),
};
}
public render() {
// eslint-disable-next-line @typescript-eslint/naming-convention
const { tag, attachedBeats, configuration_blocks } = this.props;
return (
<div>
<EuiFlexGroup>
<EuiFlexItem>
<EuiTitle size="xs">
<h3>
<FormattedMessage
id="xpack.beatsManagement.tag.tagDetailsTitle"
defaultMessage="Tag details"
/>
</h3>
</EuiTitle>
<EuiText color="subdued">
<p>
<FormattedMessage
id="xpack.beatsManagement.tag.tagDetailsDescription"
defaultMessage="A tag is a group of configuration blocks that you can apply to one or more Beats."
/>
</p>
</EuiText>
<div>
<TagBadge tag={tag} />
</div>
</EuiFlexItem>
<EuiFlexItem>
<EuiForm>
<EuiFormRow
label={
<FormattedMessage
id="xpack.beatsManagement.tag.tagNameLabel"
defaultMessage="Tag Name"
/>
}
isInvalid={!!this.getNameError(tag.name)}
error={this.getNameError(tag.name) || undefined}
>
<EuiFieldText
name="name"
isInvalid={!!this.getNameError(tag.name)}
onChange={this.updateTag('name')}
value={tag.name}
placeholder={i18n.translate('xpack.beatsManagement.tag.tagNamePlaceholder', {
defaultMessage: 'Tag name (required)',
})}
/>
</EuiFormRow>
<EuiFormRow
label={i18n.translate('xpack.beatsManagement.tag.tagColorLabel', {
defaultMessage: 'Tag Color',
})}
>
<EuiColorPicker color={tag.color} onChange={this.updateTag('color')} />
</EuiFormRow>
</EuiForm>
</EuiFlexItem>
</EuiFlexGroup>
<EuiSpacer />
<EuiHorizontalRule />
<EuiFlexGroup alignItems="stretch">
<EuiFlexItem>
<EuiTitle size="xs">
<h3>
<FormattedMessage
id="xpack.beatsManagement.tag.tagConfigurationsTitle"
defaultMessage="Configuration blocks"
/>
</h3>
</EuiTitle>
<EuiText color="subdued">
<p>
<FormattedMessage
id="xpack.beatsManagement.tag.tagConfigurationsDescription"
defaultMessage="A tag can have configuration blocks for different types of Beats. For example, a tag
can have two Metricbeat configuration blocks and one Filebeat input configuration block."
/>
</p>
</EuiText>
</EuiFlexItem>
<EuiFlexItem>
<div>
<ConfigList
onTableChange={this.props.onConfigListChange}
configs={configuration_blocks}
onConfigClick={(action: string, block: ConfigurationBlock) => {
if (action === 'delete') {
this.props.onConfigRemoved(block);
} else {
this.setState({
showFlyout: true,
selectedConfig: block,
});
}
}}
/>
<br />
<EuiButton
onClick={() => {
this.setState({ showFlyout: true });
}}
>
<FormattedMessage
id="xpack.beatsManagement.tag.addConfigurationButtonLabel"
defaultMessage="Add configuration block"
/>
</EuiButton>
</div>
</EuiFlexItem>
</EuiFlexGroup>
<EuiSpacer />
{attachedBeats && (
<div>
<EuiHorizontalRule />
<EuiTitle size="xs">
<h3>
<FormattedMessage
id="xpack.beatsManagement.tag.beatsAssignedToTagTitle"
defaultMessage="Beats with this tag"
/>
</h3>
</EuiTitle>
<Table
actions={tagConfigActions}
actionHandler={this.handleAssignmentActions}
items={attachedBeats}
ref={this.state.tableRef}
type={BeatsTableType}
/>
</div>
)}
{this.state.showFlyout && (
<ConfigView
configBlock={this.state.selectedConfig}
onClose={() => this.setState({ showFlyout: false, selectedConfig: undefined })}
onSave={(config: ConfigurationBlock) => {
this.setState({ showFlyout: false, selectedConfig: undefined });
this.props.onConfigAddOrEdit(config);
}}
/>
)}
</div>
);
}
private getNameError = (name: string) => {
if (name && name !== '' && name.search(/^[a-zA-Z0-9-]+$/) === -1) {
return i18n.translate('xpack.beatsManagement.tag.tagName.validationErrorMessage', {
defaultMessage: 'Tag name must consist of letters, numbers, and dashes only',
});
} else {
return false;
}
};
private handleAssignmentActions = (action: AssignmentActionType) => {
switch (action) {
case AssignmentActionType.Delete:
const { selection } = this.state.tableRef.current.state;
if (this.props.onDetachBeat) {
this.props.onDetachBeat(selection.map((beat: any) => beat.id));
}
}
};
private updateTag = (key: keyof BeatTag, value?: any) =>
value !== undefined
? this.props.onTagChange(key, value)
: (e: any) => this.props.onTagChange(key, e.target ? e.target.value : e);
}

View file

@ -1,104 +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 { Container } from 'unstated';
import { CMBeat } from '../../common/domain_types';
// eslint-disable-next-line @kbn/eslint/no-restricted-paths
import type { BeatsTagAssignment } from '../../server/lib/adapters/beats/adapter_types';
import { FrontendLibs } from './../lib/types';
interface ContainerState {
list: CMBeat[];
}
export class BeatsContainer extends Container<ContainerState> {
private query?: string;
constructor(private readonly libs: FrontendLibs) {
super();
this.state = {
list: [],
};
}
public getBeatWithToken = async (token: string) => {
const beat = await this.libs.beats.getBeatWithToken(token);
if (beat) {
this.setState({
list: [beat as CMBeat, ...this.state.list],
});
return beat as CMBeat;
}
return null;
};
public reload = async (kuery?: string) => {
if (kuery) {
this.query = kuery;
} else {
this.query = undefined;
}
const beats = await this.libs.beats.getAll(this.query);
this.setState({
list: beats,
});
};
public deactivate = async (beats: CMBeat[]) => {
for (const beat of beats) {
await this.libs.beats.update(beat.id, { active: false });
}
// because the compile code above has a very minor race condition, we wait,
// the max race condition time is really 10ms but doing 100 to be safe
setTimeout(async () => {
await this.reload(this.query);
}, 100);
};
public toggleTagAssignment = async (tagId: string, beats: CMBeat[]) => {
if (beats.some((beat) => beat.tags !== undefined && beat.tags.some((id) => id === tagId))) {
await this.removeTagsFromBeats(beats, tagId);
return 'removed';
}
await this.assignTagsToBeats(beats, tagId);
return 'added';
};
public removeTagsFromBeats = async (beats: CMBeat[] | string[], tagId: string) => {
if (!beats.length) {
return false;
}
const assignments = createBeatTagAssignments(beats, tagId);
await this.libs.beats.removeTagsFromBeats(assignments);
// ES responds incorrectly when we call too soon
setTimeout(async () => {
await this.reload(this.query);
}, 150);
};
public assignTagsToBeats = async (beats: CMBeat[] | string[], tagId: string) => {
if (!beats.length) {
return false;
}
const assignments = createBeatTagAssignments(beats, tagId);
await this.libs.beats.assignTagsToBeats(assignments);
// ES responds incorrectly when we call too soon
setTimeout(async () => {
await this.reload(this.query);
}, 150);
};
}
function createBeatTagAssignments(beats: CMBeat[] | string[], tagId: string): BeatsTagAssignment[] {
if (typeof beats[0] === 'string') {
return (beats as string[]).map((id) => ({ beatId: id, tag: tagId }));
} else {
return (beats as CMBeat[]).map(({ id }) => ({ beatId: id, tag: tagId }));
}
}

Some files were not shown because too many files have changed in this diff Show more