kibana/packages
Khristinin Nikita af399c1177
Add intended timestamp (#191717)
## Add new field to alert


Add optional `kibana.alert.intended_timestamp`. For scheduled rules it
has the same values as ALERT_RULE_EXECUTION_TIMESTAMP
(`kibana.alert.rule.execution.timestamp`)

for manual rule runs (backfill) it - will get the startedAtOverridden 

For example if i have event at 14:30

And if we run manual rule run from 14:00-15:00, then alert will have
`kibana.alert.intended_timestamp` at 15:00

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-09-09 21:45:08 +02:00
..
analytics/utils/analytics_collection_utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
cloud [react@18] Implicit children type fixes (#192011) 2024-09-09 13:56:02 +02:00
content-management [react@18] Implicit children type fixes (#192011) 2024-09-09 13:56:02 +02:00
core [OAS][DOCS] Add example for import saved objects API (#192291) 2024-09-09 12:17:31 -07:00
deeplinks Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
default-nav Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
home Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ace Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-actions-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-alerting-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-alerts-as-data-utils Add intended timestamp (#191717) 2024-09-09 21:45:08 +02:00
kbn-alerts-grouping Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-alerts-ui-shared [react@18] Implicit children type fixes (#192011) 2024-09-09 13:56:02 +02:00
kbn-ambient-common-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ambient-ftr-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ambient-storybook-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ambient-ui-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-analytics Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-apm-config-loader Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-apm-data-view Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-apm-synthtrace Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-apm-synthtrace-client Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-apm-types [APM][ECO] Include ERROR in the error.log.level filter (#192269) 2024-09-09 07:33:43 -05:00
kbn-apm-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-avc-banner Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-axe-config Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-babel-preset Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-babel-register Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-babel-transform Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-bazel-runner Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-bfetch-error Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-calculate-auto Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-calculate-width-from-char-count Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-capture-oas-snapshot-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-cases-components [react@18] Implicit children type fixes (#192011) 2024-09-09 13:56:02 +02:00
kbn-cbor Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-cell-actions Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-chart-icons Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-check-mappings-update-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-check-prod-native-modules-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ci-stats-core Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ci-stats-performance-metrics Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ci-stats-reporter Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ci-stats-shipper-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-cli-dev-mode Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-code-owners Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-coloring Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-config Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-config-mocks Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-config-schema Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-content-management-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-crypto Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-crypto-browser Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-custom-icons Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-custom-integrations Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-cypress-config Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-data-service Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-data-stream-adapter Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-data-view-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-datemath Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-dev-cli-errors Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-dev-cli-runner Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-dev-proc-runner Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-dev-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-discover-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-doc-links Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-docs-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-dom-drag-drop Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ebt-tools Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-elastic-agent-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-es Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-es-archiver Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-es-errors Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-es-query Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-es-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-eslint-config Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-eslint-plugin-disable Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-eslint-plugin-eslint Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-eslint-plugin-i18n Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-eslint-plugin-imports Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-eslint-plugin-telemetry Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-esql-ast [ES|QL] Correctly format column nodes (#192343) 2024-09-09 04:48:10 -05:00
kbn-esql-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-esql-validation-autocomplete [ES|QL] Improve ES|QL autocomplete suggestions for case() expressions (#192135) 2024-09-09 11:55:23 -05:00
kbn-event-annotation-common Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-event-annotation-components Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-expandable-flyout Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-expect Migrate codebase to use Object.hasOwn instead of Object.hasOwnProperty (#186829) 2024-08-13 10:30:19 -05:00
kbn-failed-test-reporter-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-field-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-field-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-find-used-node-modules Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-flot-charts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-formatters Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ftr-common-functional-services Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ftr-common-functional-ui-services Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ftr-screenshot-filename Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-generate Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-generate-console-definitions Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-generate-csv Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-get-repo-files Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-grid-layout Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-grouping Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-guided-onboarding Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-handlebars Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-hapi-mocks Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-health-gateway-server Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-i18n Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-i18n-react Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-import-locator Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-import-resolver Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-interpreter Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-investigation-shared Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-io-ts-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ipynb Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-jest-serializers Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-journeys Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-json-ast Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-kibana-manifest-schema Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-language-documentation-popover Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-lens-embeddable-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-lens-formula-docs Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-lint-packages-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-lint-ts-projects-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-logging Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-logging-mocks Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-managed-content-badge Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-managed-vscode-config Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-managed-vscode-config-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-management Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-mapbox-gl Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-mock-idp-plugin Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-mock-idp-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-monaco Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-object-versioning Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-object-versioning-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-openapi-bundler Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-openapi-common Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-openapi-generator Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-optimizer Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-optimizer-webpack-helpers Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-osquery-io-ts-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-panel-loader Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-peggy Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-peggy-loader Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-performance-testing-dataset-extractor Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-picomatcher Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-plugin-check Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-plugin-generator Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-plugin-helpers Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-profiling-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-react-field Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-react-hooks Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-recently-accessed Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-repo-file-maps Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-repo-info Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-repo-linter Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-repo-packages Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-repo-path Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-repo-source-classifier Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-repo-source-classifier-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-reporting Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-resizable-layout Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-rison Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-router-to-openapispec Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-router-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-rrule Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-rule-data-utils Add intended timestamp (#191717) 2024-09-09 21:45:08 +02:00
kbn-safer-lodash-set Migrate codebase to use Object.hasOwn instead of Object.hasOwnProperty (#186829) 2024-08-13 10:30:19 -05:00
kbn-saved-objects-settings Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-screenshotting-server Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-search-api-panels Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-search-connectors Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-search-errors Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-search-index-documents Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-search-response-warnings Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-search-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-security-hardening Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-autocomplete Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-ecs Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-endpoint-exceptions-common Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-es-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-exception-list-components Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-exceptions-common Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-hook-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-io-ts-alerting-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-io-ts-list-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-io-ts-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-io-ts-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-list-api Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-list-constants Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-list-hooks Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-list-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-lists-common Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-rules Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-t-grid Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-server-http-tools Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-server-route-repository Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-server-route-repository-client Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-server-route-repository-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-set-map Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-shared-svg Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-shared-ux-utility Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-some-dev-log Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-sort-package-json Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-sort-predicates Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-spec-to-console Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-std Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-stdio-dev-helpers Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-storybook Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-telemetry-tools Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-test Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-test-eui-helpers Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-test-jest-helpers [react@18] Implicit children type fixes (#192011) 2024-09-09 13:56:02 +02:00
kbn-test-subj-selector Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-text-based-editor Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-timelion-grammar Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-timerange Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-tinymath Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-tooling-log Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-triggers-actions-ui-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-try-in-console Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ts-projects Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ts-type-check-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-typed-react-router-config Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ui-actions-browser Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ui-shared-deps-npm Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ui-shared-deps-src Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ui-theme Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-unified-data-table [Discover] [Unified Data Table] Conditionally use overscanRowCount when Document column isn't visible (#192332) 2024-09-09 11:45:36 -03:00
kbn-unified-doc-viewer [react@18] Implicit children type fixes (#192011) 2024-09-09 13:56:02 +02:00
kbn-unified-field-list [react@18] Implicit children type fixes (#192011) 2024-09-09 13:56:02 +02:00
kbn-unsaved-changes-badge Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-unsaved-changes-prompt Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-use-tracked-promise Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-user-profile-components [react@18] Implicit children type fixes (#192011) 2024-09-09 13:56:02 +02:00
kbn-utility-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-utility-types-jest Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-validate-next-docs-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-visualization-ui-components Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-visualization-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-web-worker-stub Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-whereis-pkg-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-xstate-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-yarn-lock-validator Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-zod Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-zod-helpers Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
presentation Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
react [react@18] Implicit children type fixes (#192011) 2024-09-09 13:56:02 +02:00
response-ops/feature_flag_service Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
serverless Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
shared-ux [react@18] Implicit children type fixes (#192011) 2024-09-09 13:56:02 +02:00
README.md create @kbn/ui-actions-browser package (#149202) 2023-01-19 18:28:07 +01:00

Kibana-related packages

This folder contains packages that are intended for use in Kibana and Kibana plugins.

tl;dr:

  • Don't publish to npm registry
  • Always use the @kbn namespace
  • Always set "private": true in package.json

Using these packages

We no longer publish these packages to the npm registry. Now, instead of specifying a version when including these packages, we rely on yarn workspaces, which sets up a symlink to the package.

For example if you want to use the @kbn/i18n package in Kibana itself, you can specify the dependency like this:

"@kbn/i18n": "1.0.0"

However, if you want to use this from a Kibana plugin, you need to use a link: dependency and account for the relative location of the Kibana repo, so it would instead be:

"@kbn/i18n": "link:../../kibana/packages/kbn-i18n"

then run yarn kbn bootstrap from the plugin directory.

Creating a new package

Run the following command from the root of the Kibana repo:

node scripts/generate package @kbn/<PACKAGE_NAME> --web --owner @elastic/<TEAM_NAME>

Unit tests for a package

Currently there is only one tool being used in order to test packages which is Jest. Below we will explain how it should be done.

Jest

A package should follow the pattern of having .test.js files as siblings of the source code files, and these run by Jest.

A package using the .test.js naming convention will have those tests automatically picked up by Jest and run by the unit test runner, currently mapped to the Kibana test script in the root package.json.

  • yarn test runs all unit tests.
  • yarn jest runs all Jest tests in Kibana.

In order for the plugin or package to use Jest, a jest.config.js file must be present in it's root. However, there are safeguards for this in CI should a test file be added without a corresponding config file.


Each package can also specify its own test script in the package's package.json, for cases where you'd prefer to run the tests from the local package directory.