kibana/packages
Tim Sullivan d85acb2925
[8.17] [Canvas/PDF report] Allow canvas to generate PDF report (#224309) (#224340)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Canvas/PDF report] Allow canvas to generate PDF report
(#224309)](https://github.com/elastic/kibana/pull/224309)

<!--- Backport version: 10.0.1 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Tim
Sullivan","email":"tsullivan@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-06-17T22:47:22Z","message":"[Canvas/PDF
report] Allow canvas to generate PDF report (#224309)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/224275\n\n**Context:** In
https://github.com/elastic/kibana/pull/222273, we added\nrestrictions to
the \"Reporting redirect app\" to make sure it could not\nbe abused by
using unexpected locator types (such as the short URL\nlocator or the
\"legacy\" locator type) when triggering redirects in the\nReporting
headless browser. The restrictions are on the basis of a list\nof
allowed locator types, which should be a list of every analytical
app\nthat supports Reporting.\n\n**Problem:** Unfortunately that added a
regression to Canvas PDF\nreporting, because the allow-list for locator
types neglected to include\nthe Canvas locator type.\n\nThis PR solves
the problem by adding the Canvas locator type to the set\nof allowed
locator types.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"f5dee1347f019d4e98a45070eeb80356453a9827","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v8.15.6","v9.1.0","v8.19.0","v7.17.29","v9.0.3","v8.18.3","v8.17.8"],"title":"[Canvas/PDF
report] Allow canvas to generate PDF
report","number":224309,"url":"https://github.com/elastic/kibana/pull/224309","mergeCommit":{"message":"[Canvas/PDF
report] Allow canvas to generate PDF report (#224309)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/224275\n\n**Context:** In
https://github.com/elastic/kibana/pull/222273, we added\nrestrictions to
the \"Reporting redirect app\" to make sure it could not\nbe abused by
using unexpected locator types (such as the short URL\nlocator or the
\"legacy\" locator type) when triggering redirects in the\nReporting
headless browser. The restrictions are on the basis of a list\nof
allowed locator types, which should be a list of every analytical
app\nthat supports Reporting.\n\n**Problem:** Unfortunately that added a
regression to Canvas PDF\nreporting, because the allow-list for locator
types neglected to include\nthe Canvas locator type.\n\nThis PR solves
the problem by adding the Canvas locator type to the set\nof allowed
locator types.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"f5dee1347f019d4e98a45070eeb80356453a9827"}},"sourceBranch":"main","suggestedTargetBranches":["8.15","7.17","9.0","8.18","8.17"],"targetPullRequestStates":[{"branch":"8.15","label":"v8.15.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/224309","number":224309,"mergeCommit":{"message":"[Canvas/PDF
report] Allow canvas to generate PDF report (#224309)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/224275\n\n**Context:** In
https://github.com/elastic/kibana/pull/222273, we added\nrestrictions to
the \"Reporting redirect app\" to make sure it could not\nbe abused by
using unexpected locator types (such as the short URL\nlocator or the
\"legacy\" locator type) when triggering redirects in the\nReporting
headless browser. The restrictions are on the basis of a list\nof
allowed locator types, which should be a list of every analytical
app\nthat supports Reporting.\n\n**Problem:** Unfortunately that added a
regression to Canvas PDF\nreporting, because the allow-list for locator
types neglected to include\nthe Canvas locator type.\n\nThis PR solves
the problem by adding the Canvas locator type to the set\nof allowed
locator types.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"f5dee1347f019d4e98a45070eeb80356453a9827"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/224335","number":224335,"state":"OPEN"},{"branch":"7.17","label":"v7.17.29","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2025-06-18 17:47:36 +02:00
..
analytics/utils/analytics_collection_utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
cloud [8.x] Consume elasticsearch.publicBaseUrl where possible (#192741) (#193442) 2024-09-24 06:33:17 -05:00
content-management [8.17] [A11y][SharedUX] Fix delete dialog in File stack management incorrect announcement (#219519) (#219663) 2025-04-30 12:52:00 +02:00
core [8.17] fix(): inconsistent page_url between refresh and navigations (#224006) (#224039) 2025-06-16 13:49:40 +02:00
deeplinks [8.17] [Canvas/PDF report] Allow canvas to generate PDF report (#224309) (#224340) 2025-06-18 17:47:36 +02:00
default-nav [ML] Anomaly Detection supplied configurations: adds page in ML UI for Supplied configurations (ML Modules) (#191564) 2024-09-12 10:30:09 -06:00
home 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 [8.x] Consolidate Rule schemas (#195613) (#198048) 2024-10-28 12:51:59 -05:00
kbn-alerts-as-data-utils [8.x] [Synthetics] Added error track trace to status/tls rule context variable !! (#198599) (#198672) 2024-11-01 09:39:27 -05:00
kbn-alerts-grouping Upgrade @testing-library/user-event to latest ^14.5.2 (#189949) 2024-09-10 14:31:27 +02:00
kbn-alerts-ui-shared [8.17] [Alerting] Modify RuleTypeModalComponent to filter rule types that have requiresAppContext (#220005) (#221976) 2025-05-30 09:39:43 +03: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 [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00: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 [8.17] [APM][Transactions] Test trace summary (#207115) (#220222) 2025-05-06 17:47:34 +02:00
kbn-apm-synthtrace-client [8.17] [APM][Transactions] Test trace summary (#207115) (#220222) 2025-05-06 17:47:34 +02:00
kbn-apm-types [8.17] [APM] Treat "links" field as array (#215906) (#217664) 2025-04-11 11:27:46 +02:00
kbn-apm-utils [8.x] [Observability] Split up observability-utils package (#199801) (#200886) 2024-11-20 06:12:34 -06:00
kbn-avc-banner [8.17] [AVC Banner] Updates the AVC Banner for 2025 (#205467) (#205816) 2025-01-22 20:19:30 +00:00
kbn-axe-config Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-babel-preset [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00: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 [8.x] [Security Solution] Fix code scanning alert (#198142) (#198367) 2024-10-30 11:20:49 -05:00
kbn-chart-icons Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-check-mappings-update-cli [8.17] [Fleet] Fix agent policy mappings for space awareness (#201689) (#202240) 2024-11-28 17:56:35 -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 [8.17] Disable allowAbsoluteUrls for axios (#215138) (#215827) 2025-03-25 18:20:25 +02:00
kbn-ci-stats-reporter [8.17] Disable allowAbsoluteUrls for axios (#215138) (#215827) 2025-03-25 18:20:25 +02:00
kbn-ci-stats-shipper-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-cli-dev-mode [8.17] [Kibana Dev Server] Fix DELETE requests without a body in Safari (#220899) (#220966) 2025-05-20 17:09:55 +01:00
kbn-code-owners [8.x] [codeowners] Filter kibanamachine (#199404) (#199864) 2024-11-12 14:38:18 -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 Limit bytesizevalue length for 8.x/7.x (#200733) 2024-11-20 15:57:29 +01: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 [8.x] [APM UI] Fix OpenTelemetry agent names (#193134) (#193509) 2024-09-20 04:08:36 -05:00
kbn-custom-integrations Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-cypress-config [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-data-service [Discover] Improve data grid render performance (flattenHit and formatHit) (#192333) 2024-09-12 17:45:11 -03:00
kbn-data-stream-adapter [8.x] [IndexAdapter] Extract index-adapter package from data-stream-adapter (#199575) (#199848) 2024-11-12 13:52:41 -06:00
kbn-data-view-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-datemath [8.17] Update moment (main) (#206181) (#206995) 2025-01-16 20:16:03 +00: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 [8.17] Fix plugin list for 8.x (asciidoc-based) docs (#215671) (#215707) 2025-03-25 11:44:12 +01:00
kbn-discover-contextual-components [8.x] [Logs Overview] Add a flyout to show category document examples (#194867) (#197966) 2024-10-28 07:19:04 -05:00
kbn-discover-utils [8.x] [OneDiscover] Contextual App Menu Extension Point (#195448) (#198320) 2024-10-30 09:25:31 -05:00
kbn-doc-links [8.17] Replace old Security API doc links with API ref links in doc link service (#224222) 2025-06-17 17:09:40 +01:00
kbn-docs-utils [docs] Plugin optimization, case studies (#192285) 2024-09-10 14:28:18 -04:00
kbn-dom-drag-drop [8.17] [Lens] fix drag and drop ghost after Chrome update to 134 (#213928) (#214124) 2025-03-22 03:21:23 +02:00
kbn-ebt-tools Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-elastic-agent-utils [8.17] [ObsUX] [APM] [OTel] Runtime metrics show dashboards with different ingest path (#211822) (#213536) 2025-03-12 13:29:29 +01:00
kbn-es [8.17] [ci] fix docker pull retries (#220057) (#220076) 2025-05-05 17:34:51 +02: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 [8.x] [Chore] Isolate CCS check (#195988) (#196869) 2024-10-18 09:53:20 -05:00
kbn-es-types [8.x] [ES|QL] Fixes the error in the console (#198307) (#198653) 2024-11-01 07:55:11 -05:00
kbn-eslint-config [8.x] Add ESLINT constraints to detect inter-group dependencies (#194810) (#197670) 2024-10-24 13:20:30 -07:00
kbn-eslint-plugin-disable [8.x] Add ESLINT constraints to detect inter-group dependencies (#194810) (#197670) 2024-10-24 13:20:30 -07: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 [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-eslint-plugin-telemetry Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-esql-ast [8.x] [ES|QL] Improve STATS command summary extraction (#199796) (#199970) 2024-11-18 11:37:54 +01:00
kbn-esql-editor [8.17] [a11y][ml] Add visually hidden label for screenreader for open documentation button (#224047) (#224237) 2025-06-17 15:50:43 +02:00
kbn-esql-utils [8.x] [Discover] Breakdown support for fieldstats (#199028) (#199780) 2024-11-13 11:02:40 -06:00
kbn-esql-validation-autocomplete [8.17] [ES|QL] Update the functions definitions and tests to include date_nanos (#201078) (#201277) 2024-11-21 15:57:13 -06:00
kbn-event-annotation-common Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-event-annotation-components [8.x] [EuiInMemoryTable] Persist table rows per page and sort (#198297) (#200569) 2024-11-18 09:22:33 -06:00
kbn-expandable-flyout [8.17] [Security Solution][Expandable flyout] fix flyout flickering when opening/closing left panel (#210225) (#210289) 2025-02-07 20:49:14 -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 [8.17] Disable allowAbsoluteUrls for axios (#215138) (#215827) 2025-03-25 18:20:25 +02:00
kbn-field-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-field-utils [8.x] [Discover] Breakdown support for fieldstats (#199028) (#199780) 2024-11-13 11:02:40 -06:00
kbn-find-used-node-modules Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-flot-charts [8.x] [kbn/flot-charts] Use jQuery methods to build legends (#199871) (#200078) 2024-11-13 15:23:48 -06:00
kbn-formatters Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ftr-common-functional-services [8.x] [ftr] use getopts to fetch server args (#198227) (#198356) 2024-10-30 10:30:11 -05:00
kbn-ftr-common-functional-ui-services [8.17] Hide the chrome popup about leaked passwords (#215414) (#215478) 2025-03-21 16:12:20 +02:00
kbn-ftr-screenshot-filename Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-generate [8.17] Restore CODEOWNERS (#201703) 2024-11-26 19:16:05 -06:00
kbn-generate-console-definitions [8.x] [Console] Update Elasticsearch specification metamodel (#193239) (#193405) 2024-09-19 07:51:06 -05: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 [8.x] [Dashboard] [Collapsable Panels] Add panel management API (#195513) (#199040) 2024-11-05 14:03:31 -06:00
kbn-grouping [8.x] [ResponseOps][Alerts] Don&#x27;t show empty state in grouping component while first loading (#195777) (#196106) 2024-10-14 07:36:01 -05:00
kbn-guided-onboarding [8.x] Search rename to elasticsearch (#200774) (#201011) 2024-11-20 13:05:35 -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 [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-index-adapter [8.x] [IndexAdapter] Extract index-adapter package from data-stream-adapter (#199575) (#199848) 2024-11-12 13:52:41 -06:00
kbn-interpreter Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-investigation-shared [8.x] [eem] rename fields to snake case (#195895) (#197527) 2024-10-23 16:48:23 -05: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 [8.x] Kibana Sustainable Architecture: Force &#x60;visibility: &#x27;private&#x27;&#x60; for solutions in manifest (#199452) (#199488) 2024-11-08 10:26:58 -06:00
kbn-language-documentation [8.17] [ES|QL] Update the functions definitions and tests to include date_nanos (#201078) (#201277) 2024-11-21 15:57:13 -06:00
kbn-lens-embeddable-utils [8.x] [Custom threshold/Metric threshold] [Preview chart] Sort groups by first metric and aggType combination (#199643) (#200534) 2024-11-18 06:40:51 -06:00
kbn-lens-formula-docs Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-lint-packages-cli [8.x] [codeowners] Filter kibanamachine (#199404) (#199864) 2024-11-12 14:38:18 -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 [8.x] Search rename to elasticsearch (#200774) (#201011) 2024-11-20 13:05:35 -06:00
kbn-manifest [8.x] Kibana Sustainable Architecture: Expose StatusResponse in core-status-common (#200524) (#200685) 2024-11-19 14:23:36 +01:00
kbn-mapbox-gl [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-mock-idp-plugin [8.x] chore(security, eslint): apply platform security-specific rules to all exclusively owned paths. (#195711) (#196010) 2024-10-12 11:19:03 -04:00
kbn-mock-idp-utils [8.x] chore(security, eslint): apply platform security-specific rules to all exclusively owned paths. (#195711) (#196010) 2024-10-12 11:19:03 -04:00
kbn-monaco [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-node-libs-browser-webpack-plugin [8.17] chore(NA): updating used polyfills using 3rd party library (#218020) (#219811) 2025-05-01 04:52:31 +01: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 [8.17] [Security Solution] Fixes exception item comment validation on newline chars \n (#202063) (#203708) 2024-12-12 19:51:00 -05:00
kbn-openapi-generator [8.17] [Security Solution] Fixes exception item comment validation on newline chars \n (#202063) (#203708) 2024-12-12 19:51:00 -05:00
kbn-optimizer [8.17] chore(NA): updating used polyfills using 3rd party library (#218020) (#219811) 2025-05-01 04:52:31 +01:00
kbn-optimizer-webpack-helpers [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00: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 [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00: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 [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00: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 [8.x] [Papercut] Fix KQL parsing error text styling (#199985) (#200543) 2024-11-18 07:35:14 -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 [8.x] Add ESLINT constraints to detect inter-group dependencies (#194810) (#197670) 2024-10-24 13:20:30 -07:00
kbn-repo-linter Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-repo-packages [8.x] [kbn-repo-packages] Add sort locale (#199138) (#199198) 2024-11-06 13:56:28 -06:00
kbn-repo-path Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-repo-source-classifier [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-repo-source-classifier-cli Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-reporting [8.17] [Canvas/PDF report] Allow canvas to generate PDF report (#224309) (#224340) 2025-06-18 17:47:36 +02: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 [8.x] [OpenAPI] Fix fleet filepath API parameter (#199538) (#200269) 2024-11-15 08:08:33 +01:00
kbn-router-utils Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-rrule [8.17] [ResponseOps][Rules] Validate timezone in rule routes (#201508) (#208299) 2025-01-28 09:01:19 +01:00
kbn-rule-data-utils [8.x] [Synthetics] Show rules created in Obs Rules page !! (#197215) (#197411) 2024-10-23 08:18:35 -05: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 [8.17] Upgrade Puppeteer to v24.10.1 (#223985) (#224149) 2025-06-17 06:04:08 -04:00
kbn-search-api-keys-components [8.x] [Onboarding] UX Feedback - Slight Tweaks to search detail (#194873) (#196314) 2024-10-15 10:33:38 -05:00
kbn-search-api-keys-server [8.x] [Search][Onboarding] api-key plugin (#191926) (#194756) 2024-10-03 14:02:05 +02:00
kbn-search-api-panels [8.17] [Search][a11y] fix radio buttons to focus (#200573) (#201083) 2024-11-21 12:42:33 -06:00
kbn-search-connectors [8.17] [Connectors] depend Sharepoint secret_value on auth_method (#209656) (#209802) 2025-02-05 17:57:35 +01:00
kbn-search-errors Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-search-index-documents [8.17] [Search] Fix content Indices documents error on paginate (#219471) (#219626) 2025-04-30 17:01:11 +02:00
kbn-search-response-warnings [8.x] [ES|QL] Fixes the error in the console (#198307) (#198653) 2024-11-01 07:55:11 -05:00
kbn-search-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-security-hardening [8.17] Additional prototype pollution protections (#206073) (#216286) 2025-04-04 20:52:26 +02:00
kbn-securitysolution-autocomplete [8.x] [Security Solution] &#x60;FinalEdit&#x60;: Add fields that are common for all rule types (#196642) (#199743) 2024-11-12 05:51:58 -06:00
kbn-securitysolution-ecs Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-endpoint-exceptions-common [8.17] [Detection Engine][API Docs] Update request/response examples for value lists APIs (#205957) (#209691) 2025-02-06 20:30:26 +01:00
kbn-securitysolution-es-utils [8.x] Upgrade http dependencies (#180986) (#194616) 2024-10-01 13:37:59 -05:00
kbn-securitysolution-exception-list-components [8.x] Upgrade EUI to v97.3.1 (#199186) (#200052) 2024-11-13 23:41:26 +01:00
kbn-securitysolution-exceptions-common [8.17] [Detection Engine][API Docs] Update request/response examples for value lists APIs (#205957) (#209691) 2025-02-06 20:30:26 +01: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 [8.17] [EDR Workflows] Fix invalid event filter for cloud workloads (#208974) (#209284) 2025-02-03 16:17:48 +01: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 [8.x] Upgrade EUI to v97.0.0 (#195525) (#196116) 2024-10-14 08:31:39 -05:00
kbn-securitysolution-list-api Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-list-constants [8.17] [EDR Workflows] Remove matches optimization from endpoint artifacts (#216437) (#219130) 2025-04-25 14:30:56 +09:00
kbn-securitysolution-list-hooks Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-list-utils [8.x] [Security Solution][Event Filters] Warning callout for incomplete code signature entries (#193749) (#195184) 2024-10-07 05:12:26 -05:00
kbn-securitysolution-lists-common [8.17] [Detection Engine][API Docs] Update request/response examples for value lists APIs (#205957) (#209691) 2025-02-06 20:30:26 +01:00
kbn-securitysolution-rules Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-securitysolution-t-grid [8.17] [Security Solution] [Timeline] Consolidate reduces, remove unneeded async/awaits, other small fixes (#197168) (#201457) 2024-11-22 14:12:38 -06:00
kbn-securitysolution-utils [8.17] [Security Solution][Admin][Trusted Apps] Fixes wrong warning bug for mac and linux in trusted apps form (#218195) (#220012) 2025-05-03 01:41:28 +02:00
kbn-server-http-tools [8.x] Upgrade http dependencies (#180986) (#194616) 2024-10-01 13:37:59 -05:00
kbn-server-route-repository [8.17] [kbn/server-route-repository] Use appropriate log level based on HTTP status (#214185) (#214581) 2025-03-14 16:18:28 +00:00
kbn-server-route-repository-client [Inventory] Inventory plugin (#191798) 2024-09-12 15:07:09 +02:00
kbn-server-route-repository-utils [8.17] [Inventory] Change discover link to use entity definition (#201433) (#202153) 2024-11-29 08:23:46 -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 [8.x] [deps] Replace compare-versions with semver (#195287) (#195494) 2024-10-08 23:11:28 +02:00
kbn-spec-to-console Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-sse-utils [Inventory] Inventory plugin (#191798) 2024-09-12 15:07:09 +02:00
kbn-sse-utils-client [Inventory] Inventory plugin (#191798) 2024-09-12 15:07:09 +02:00
kbn-sse-utils-server [Inventory] Inventory plugin (#191798) 2024-09-12 15:07:09 +02:00
kbn-std [8.x] Removes kbn-std/unset as it&#x27;s not used anywhere (#193298) (#193585) 2024-09-20 10:47:43 -05:00
kbn-stdio-dev-helpers Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-storybook [8.17] chore(NA): upgrade to webpack 5 (#191106) (#211148) 2025-02-19 03:48:08 +00:00
kbn-telemetry-tools [8.x] [APM][OTel] Make agent names generic with otel-native mode (#196522) 2024-10-16 14:22:28 +02:00
kbn-test [8.17] Update rbush to v4 (main) (manual) (#219613) (#219789) 2025-05-01 10:08:08 -04:00
kbn-test-eui-helpers Upgrade @testing-library/user-event to latest ^14.5.2 (#189949) 2024-09-10 14:31:27 +02:00
kbn-test-jest-helpers [8.x] Upgrade EUI to v97.3.1 (#199186) (#200052) 2024-11-13 23:41:26 +01:00
kbn-test-subj-selector 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-transpose-utils [8.x] [Lens][Datatable] Fix share export and inspect data (#193780) (#197696) 2024-10-24 13:35:53 -05:00
kbn-triggers-actions-ui-types Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-try-in-console [8.x] [Onboarding] Increasing telemetry coverage (#195741) (#195903) 2024-10-11 15:58:35 +02:00
kbn-ts-projects [Security Solution] remove old and skipped Threat Intelligence Cypress tests (#191166) 2024-09-12 08:59:56 -05:00
kbn-ts-type-check-cli [8.17] [CI] Only emit .d.ts when running typecheck (#209259) (#215307) 2025-03-21 13:29:49 +01:00
kbn-typed-react-router-config [8.x] [APM][ECO] Service name and trace id links on Logs Explorer and Discover (#192349) (#193276) 2024-09-20 13:21:58 +02:00
kbn-ui-actions-browser Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-ui-shared-deps-npm [8.17] chore(NA): updating used polyfills using 3rd party library (#218020) (#219811) 2025-05-01 04:52:31 +01:00
kbn-ui-shared-deps-src [8.17] Additional prototype pollution protections (#206073) (#216286) 2025-04-04 20:52:26 +02:00
kbn-ui-theme Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
kbn-unified-data-table [8.17] Update dependency diff to v8 (main) (#220898) (#221048) 2025-05-22 11:23:01 -04:00
kbn-unified-doc-viewer [OneDiscover][UnifiedDocViewer] Add filtering for selected fields (#191930) 2024-09-11 12:46:36 +02:00
kbn-unified-field-list [8.x] [Discover] Breakdown support for fieldstats (#199028) (#199780) 2024-11-13 11:02:40 -06: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 [8.x] chore(security, eslint): apply platform security-specific rules to all exclusively owned paths. (#195711) (#196010) 2024-10-12 11:19:03 -04: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 [8.17] [ci] Work around docosaurus errors (#206097) (#206149) 2025-01-10 00:23:55 +00:00
kbn-visualization-ui-components [react@18] More breaking type fixes (should be the last pr) (#192266) 2024-09-12 13:54:18 +02:00
kbn-visualization-utils [8.17] [Visualization-utils] Fix getTimezone default value (#220658) (#221168) 2025-05-21 22:10:58 +02: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 [8.17] chore(deps): upgrade vega from 5.31.0 to 5.33.0 (#216284) (#216359) 2025-03-31 15:23:31 +01: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 [8.17] [Security Solution] Fixes exception item comment validation on newline chars \n (#202063) (#203708) 2024-12-12 19:51:00 -05:00
presentation [8.17] [embeddable] fix race condition in useBatchedPublishingSubjects (#216399) (#216524) 2025-03-31 20:18:44 +01:00
react [react@18] Implicit children type fixes (#192011) 2024-09-09 13:56:02 +02:00
response-ops [8.x] [ResponseOps][Rules] Create the rule params package (#196971) (#197367) 2024-10-23 03:28:43 -05:00
serverless [8.x] [Security Solution] Add visualization in flyout advanced setting in serverless (#196211) (#197723) 2024-10-24 17:00:03 -05:00
shared-ux [8.17] [Inspector]: fix pagination not working (#223537) (#224214) 2025-06-17 14:44:35 +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.