Commit graph

2795 commits

Author SHA1 Message Date
Walter Rafelsberger
04907932c4
[ML] Explain log rate spikes: Add DualBrush component. (#135318)
Adds the code for the dual brush component for users to be able select log rate spikes in histogram charts.
For this PR a new package @kbn/aiops-components was created that also includes ProgressControls from @kbn/aiops-utils now. The reason for this is: The brush component includes code from d3 that cannot be imported on the server side which aiops-utils was also used for.
2022-07-06 14:08:05 +02:00
Jonathan Budzenski
5d85008aa9
Bump prettier to 2.7.1 (#135143)
* Bump prettier to 2.7.1

* bump eslint-config-prettier

* update .eslintrc
2022-07-05 14:39:20 -05:00
Jonathan Budzenski
8f8ea8dd49
Bump license-checker to 25.0.1 (#135252)
* Bump license-checker to 25.0.1

* [CI] Auto-commit changed files from 'yarn kbn run build -i @kbn/pm'

* fix jszip

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-07-05 14:20:25 -05:00
Alejandro Fernández Haro
c3371d4308
[EBT] Explicit empty-array check to avoid HTTP requests (#135638) 2022-07-05 14:32:03 +02:00
Clint Andrew Hall
742ef3e402
[packages] Kill Storybook bloat; remove stories from BAZEL build (#135595) 2022-07-05 02:10:26 +01:00
Alejandro Fernández Haro
dd43c2d129
[EBT] Validate event&context payloads in dev-mode (#135061)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-07-04 15:42:08 +02:00
Pierre Gayvallet
aceea297c0
Introduce the @kbn/es-errors package (#135613)
* create the package, move the files

* adapt imports

* fix more imports

* fix import from security plugin
2022-07-04 10:33:37 +02:00
Mat Schaffer
35fab1c4a5
Remove/replace uses of "sanity" in comments and test code (#134541) 2022-06-30 19:21:23 -07:00
Spencer
ed51e0fe0a
[testGroupRunOrder] allow defining a queue name for each ftr config (#135349) 2022-06-30 14:12:06 -07:00
Clint Andrew Hall
e564f1f5bc
[home] Create Sample Data Card package (#135472)
* [home] Create Sample Data Card package

* Fix issues found in CI

* Update packages/home/sample_data_cards/src/sample_data_card.component.tsx

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

* Update packages/home/sample_data_cards/src/footer/remove_footer.tsx

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

* Addressing review feedback

* Fix i18n, reduce dependencies

* Update docs and snaps; add tests

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
2022-06-30 15:53:08 -05:00
Larry Gregory
1da2c23773
Optimize security entry bundle (#135586)
* shuffle imports

* more import shuffling

* update limits.yml

* Undo unnecessary changes
2022-06-30 15:37:31 -04:00
Michael Dokolin
83757e80fe
[Monaco] Fix painless lexer to handle divisions and regular expressions correctly (#135423) 2022-06-30 18:08:46 +02:00
Mark Hopkin
4179903a2f
[Fleet] Add GPG verify function to fleet (#135223)
* add LGPL-3.0+ to list of allowed licenses

* Add openpgp (LGPLv3 license)to kibana

* Add jsdom TextEncoder and TextDecoder polyfills

* Use opengpg to read gpg key

* add basic verification function

* add lgpl to license overrides for now

* Revert "add lgpl to license overrides for now"

This reverts commit 3730eb07540d8b537712267a5430085f54c088c0.

* collect verification result

* use Key ID of the verification key

* add @openpgp/web-stream-tools as a dev dependency

* verified -> isVerified

* only allow LGPL-v3 for openpgp

* fix: use @ as separator when checking license overrides

* fix isValidIndexName test
2022-06-30 11:00:27 +01:00
Spencer
d59dd7189f
[generate/package] exclude stories by default when building packages (#135453) 2022-06-29 12:23:20 -05:00
Dima Arnautov
6ff66841a7
[ML] Set threading params for _start trained model deployment API (#135134)
* set threading params

* model header

* useMemo for threadsPerAllocationsOptions

* remove magic number

* id variable

* rename modal wrapper function

* remove placeholder

* update legend text

* min value for numOfAllocations

* add validation

* add extra text for cloud

* change the layout

* fix i18n message id

* docs url

* set header sizes

* change messages

* info callout

* fix the scrollbar issue

* change the message

* move the docs link

* rename the docs key

* fix typo

* change doc link alignment
2022-06-29 08:48:00 -07:00
Pierre Gayvallet
111b6f4b99
Move server-side executionContext service to packages (#135396)
* create the empty server execution-context packages

* move src/core/server/execution-context into packages

* update READMEs

* adapt first server/mocks imports

* move ECC type to public package

* adapt mock imports

* adapt more imports

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-06-29 15:29:31 +02:00
Alejandro Fernández Haro
a2b0927e65
[EBT] Better FTR helper APIs (#135298) 2022-06-29 14:11:13 +02:00
Pierre Gayvallet
e08e4b4c0c
Migrate server-side environment service to packages (#135075)
* create the empty packages

* move src/core/server/environment into the new packages

* adapt some imports

* fix more imports

* export dep type

* restore delete packages or idk

* update READMEs

* address review comments
2022-06-29 00:09:16 -07:00
Lisa Cawley
592e06e5e8
Removes STACK_GETTING_STARTED variable from doc links (#135381) 2022-06-28 16:19:31 -07:00
Luke Elmers
cf6ae210ef
Adds node.roles configuration & exposes via PluginInitializerContext (#135272) 2022-06-28 15:22:43 -07:00
Constance
de20876b30
Upgrade EUI to v60.0.0 (#134919)
* Upgrade EUI to v60.0.0

* reorganize style tag injection using EuiProvider.cache options

* Convert Jest snapshots for EUI Emotion classNames to a static `emotion-` prefix instead of a dynamic hash

- The goal of this is to reduce thrashing on downstream Kibana snapshots whenever EUI CSS changes

+ Add serializer to Canvas' storyshots tests as well

+ Switch several .html() snapshots to .render() - render uses the new serializer logic, but .html() does not and will still output CSS hashes, plus is more difficult to read

* Update downstream tests for EuiStat Emotion/className changes

* Fix WithEuiTheme(EuiAccordionClass) references

* Rename mounted snapshots of EuiButtonContent to EuiButtonContentDeprecated

* add emotion/cache to kbn-ui-shared-deps

* Fix non-rendering server-side Emotion CSS

* Fix failing Security Cypress test

- the Cypress query/command being used wasn't working correctly

Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-28 11:23:59 -07:00
Lukas Olson
8e1773ea0a
[KQL] Clean up wildcard type (#134359)
* Clean up literal type

* [KQL] Clean up wildcard type

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* Fix bugs

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-06-28 09:19:42 -07:00
Lukas Olson
c477a90eca
[KQL] Define KqlContext type (#135273) 2022-06-28 09:19:28 -07:00
Gerard Soldevila
f609f092a5
Migrate types to packages: Client-side executionContext service (#134992)
* Migrate types to packages: Client-side executionContext service

* [CI] Auto-commit changed files from 'node scripts/generate packages_build_manifest'

* Fix incorrect import statement

* Import from packages if possible

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-06-28 17:00:38 +02:00
Shahzad
d6f2dc1042
[Exploratory view] Add e2e tests (#135148)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-06-28 13:31:12 +02:00
Shivindera Singh
c8520f941a
show empty prompts in page and don't auto-open flyout in DataViews (#134469)
* show empty prompts in page and don't auto-open flyout in DataViews

* changed flow based on comments

* fix for namespace issues

* fix for failed checks

* fixes for failed checks and tests

* fix failing tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-28 02:12:19 -07:00
debadair
4c8ff1062d
[DOCS] Update Stack GS xref to new onboarding content. (#135250) 2022-06-27 13:32:33 -07:00
Baturalp Gurdin
4be65d54c3
ignore paths that are not FTR configs (#134820) 2022-06-27 17:10:48 +02:00
Nicolas Chaulet
e6c35a67ec
[Fleet] UI to edit custom pipeline|mappings (#134760) 2022-06-26 17:40:53 -04:00
Walter Rafelsberger
8c94def73e
[ML] Move aiops-utils package to x-pack/packages/ml. (#134985)
When we created the `aiops-utils` package originally, we were not aware that packages could also live within `x-pack`. Since `aiops` is a platinum feature and maintained by the ML team, this moves the package from `/packages` to `/x-pack/packages/ml`. The license header of the package files now match the `aiops` plugin again.
2022-06-24 19:37:02 +02:00
Jonathan Budzenski
a7320122b2
Cleanup dependencies (#135051)
* Move dev dependencies

* move more dependencies

* cleanup

* mark packages as dev only

* more cleanup
2022-06-24 09:50:33 -05:00
Dzmitry Lemechko
d86f977884
[performance] re-enable scalability dataset extraction step on CI (#134719)
* add scalability setup for login and promotion_tracking_dashboard journeys, re-enable step on ci

* update query to get single ftr transaction

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-24 16:18:41 +02:00
Christiane (Tina) Heiligers
f68999d631
Create packages for browser-side fatalErrors service (#134962) 2022-06-23 12:29:44 -07:00
Sander Philipse
9d435e23c6
[Enterprise Search] Remove doc links for unreleased connectors (#135018) 2022-06-23 17:15:12 +02:00
Walter Rafelsberger
adbd6a5fb8
[ML] @kbn/ml-agg-utils, @kbn/ml-is-populated-object, @kbn/ml-string-hash packages. (#132963)
Moves some ML utility code to packages.

- @kbn/ml-agg-utils contains multiple utilities used in combination related to building aggregations.
- @kbn/ml-is-populated-object contains the isPopulatedObject() utility function used across several plugins.
- @kbn/ml-string-hash contains the stringHash() utility function used across several plugins.
2022-06-23 10:38:23 +02:00
Tiago Costa
9a1e1d00a4
chore(NA): auto bootstrap after removing node modules manually (#134961)
* chore(NA): mechanism for autobootstrap when manually removing node_modules

* fix(NA): check folders with isDirectory

* fix(NA): check folders with isDirectory

* fix(NA): check folders with isDirectory

* docs(NA): update typo on code comment
2022-06-22 16:22:00 -07:00
Baturalp Gurdin
e5d73a1169
ingest performance metrics to ci-stats (#134792) 2022-06-22 15:44:11 -07:00
Søren Louv-Jansen
60e7f1dcd1
Rename viewer_user to viewer (#134294) 2022-06-22 20:39:18 +02:00
Christiane (Tina) Heiligers
c432a22d67
Move server-side config service to packages (#134794) 2022-06-22 08:25:12 -07:00
Ahmad Bamieh
97fb9bbfae
core i18n browser (#134828)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-06-22 15:35:26 +03:00
Pierre Gayvallet
0f9714876c
Move server-side analytics service to packages (#134736)
* creating the empty packages

* move public types to public package

* move implement and mocks to packages

* update readmes

* move preboot contract into public package

* fix imports

* lint

* update generated doc
2022-06-22 14:27:02 +02:00
Greg Thompson
2336f33632
Upgrade EUI to v59.0.1 (#133927)
* eui to v59.0.0

* i18n tokens

* update theme var tokens

* mock mouseevent for euiselectable

* mock mouseevent for euiselectable

* update theme var tokens

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* mock mouseevent for euiselectable

* update theme var tokens

* update theme var tokens mocks

* WIP: forwardRef type

* update snapshots

* euiTextColor

* snapshot updates

* jest test updates

* euiTextColor updates

* jest test updates

* update getVisualizeError selector

* euiPaddingSizes

* snapshot update

* WIP: accordion cy.react

* DetailPanelMetadataTab test updates

* eui to v59.0.1

* snapshot updates

* WIP: osquery cypress

* WIP: osquery cypress

* use data-test-subj

* log standard console errors

* snapshot

* paddingSizes update

* euiaccordion class type comment

* snapshots

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-06-21 17:08:15 -05:00
Clint Andrew Hall
e1eb3db916
[Shared UX] Move No Data Cards to packages (#134503)
* [Shared UX] Move No Data Cards to packages

* Consolidate cards

* Fix some Regex mistakes

* Adjust Storybook a bit

* Adjust tests and context arrangement

* Fix bugs; kill bad snapshots; improve tests
2022-06-21 09:10:00 -07:00
Anton Dosov
12d04a9e55
buildEsQuery allow ignore_unmapped for nested fields queries (#134580) 2022-06-21 16:47:41 +02:00
Clint Andrew Hall
9ec4d311ed
[Shared UX] Move Solution Toolbar components to package (#134392)
* [Shared UX] Move Solution Toolbar components to package

* Addressing feedback

* [CI] Auto-commit changed files from 'node scripts/generate packages_build_manifest'

* Adding support to jest_config_check

* Fixing i18n

* Apply suggestions from code review

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
2022-06-21 02:00:57 -05:00
Dzmitry Lemechko
e57f207aad
[scalability testing] filtering out setup/teardown related APM transactions (#134697)
* [packages/kbn-performance-testing-dataset-extractor] filter server transactions by journey time range

* check only 1 ftr transaction for run is found

* fixes
2022-06-20 16:48:22 +02:00
Pierre Gayvallet
a969d42ecf
Move server-side logging service to packages (#134438)
* Adapt LoggerConfigType to no longer inferred from config schema

* creating the new empty packages

* moving the public types to @kbn/core-logging-server

* updating @kbn/core-logging-server bazel config

* fix imports due to types moving to @kbn/core-logging-server

* moving the concrete implementation to @kbn/core-logging-server-internal

* updating @kbn/core-logging-server-internal bazel config

* adapt @kbn/core-logging-server-internal test files

* Move the mocks to @kbn/core-logging-server-mocks

* Fix imports due to server and mock moving to packages

* update generated doc

* update READMEs

* update tsdoc
2022-06-20 10:54:21 +02:00
David Sánchez
60be4e3db8
[Security solution] [Endpoint] Improve policy response info debugging (#134351)
* [Security Solution] bubble up policy response errors

* Adds policy troubleshooting links in doc links package

* Bubble up certain errors on policy response like full_disk_access error

* Fixes unit test and removes unused component

* Removes unused style

* Use link instead of button for documentation links

Co-authored-by: Joey F. Poon <joey.poon@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-06-16 16:35:16 +02:00
Pierre Gayvallet
9a15b67eb7
Create packages for browser-side analytics service (#134307)
* Create client-side analytics service packages

* move all the things

* start to adapt imports

* fix more imports

* update generated doc

* updating READMEs
2022-06-16 12:17:29 +02:00
Spencer
1656fe9304
refactor jest config validation logic (#134496) 2022-06-15 15:42:55 -05:00