Commit graph

44271 commits

Author SHA1 Message Date
Anton Dosov 7d51ee00c5
[Search Session] Fix dangling search sessions (#102927) 2021-07-05 11:30:40 +02:00
Stratoula Kalafateli b97d0d468b
[TSVB] Add retry to remove flakiness (#104046)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-05 11:39:07 +03:00
Ahmad Bamieh 7395fee0f9
[Localization] postfix ids with .markdown (#104062)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-03 13:57:12 -04:00
Scotty Bollinger 068112049a
[Enterprise Search] Fix bug in Add Schema modal (#104024)
* [Enterprise Search] Fix bug in Add Schema modal

This PR fixes a bug where an error passed from the server was not rendering and was causing the UI to hang. The problem is that the `body` property was missed in the error object.

* Use default message when error response for actions.setServerField has no message

* i18n-ize default error message

* Remove TODO

Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-02 11:25:41 -03:00
Alison Goryachev a434bc0fbf
[Index Management] Filter system indices from cat API request (#104155)
* refactor indices test and unskip
2021-07-01 18:37:00 -07:00
Clint Andrew Hall 5bac6b2bf7
[canvas] Fix Expressions button alignment (#104228) 2021-07-01 20:12:59 -04:00
Tiago Costa 2b236b7fa6
chore(NA): enable exports_directories_only on rules nodejs to improve performance (#104180)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-02 00:14:40 +01:00
Kyle Pollich 059ed0821a
[Integrations UI] Add support for custom asset definitions in Integration assets tab (#103554)
* Add UI extension logic for assets + set up custom log views

* Add endpoint security UI extension

* Add synthetics ui extension

* Address PR feedback

- Remove default filter for log stream url
- Fix missing basePath prepend on asset urls
- Expand accordion by default on assetless integrations

* Fix type errors

* Add initial APM extension setup

* Fix missing ExtensionWrapper for enrollment extension

* Fix custom logs asset extension

* Fix type errors

* Add new hook for enrollment flyout ui extensions

* Address PR review + refactor UI extension usage for flyout

* Update limits.yml via script

* Fix type errors

* Add tests for custom assets UI extensions

* Update tests for flyout

* Remove unused import

* Fix type errors in ui extension tests

* Skip view data tests and link to issue

* Use RedirectAppLinks + fix synthetics link

* Use constants for app ID's where possible

* Revert limits.yml

* Fix lazy imports for custom asset components

* Update endpoint custom assets link + description

* Add translation for custom assets UI

* Address PR review in APM

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 18:41:17 -04:00
Sergi Massaneda 1c82ad2c95
[Security Solutions] Change navigation labels (#104161) 2021-07-01 17:55:21 -04:00
Kaarina Tungseth 0e6d596991
[DOCS] Adds Making dashboards interactive (#102815)
* [DOCS] M Adds interactive dashboard content

* [DOCS] Adds Making dashboards interactive

* Fixes drilldowns broken links

* Update docs/user/dashboard/make-dashboards-interactive.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Adds metadata

* Update docs/user/dashboard/make-dashboards-interactive.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/user/dashboard/make-dashboards-interactive.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/user/dashboard/make-dashboards-interactive.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Review comments

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-07-01 16:23:24 -05:00
Nathan Reese a9dbf80012
[Maps] fix default buffer is too large (#103950)
* [Maps] fix default buffer is too large

* fix functional test

* update functional test expects for smaller extent area

* update expect

* expect updates for smaller buffer

* expect updates for smaller buffer

* expect update

* update expects

* update expects

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 15:20:00 -06:00
Nathan Reese fb20e02192
[maps][docs] 7.14 doc updates (#103531)
* [maps][docs] 7.14 doc updates

* more details

* timeslider screenshot

* Update docs/maps/search.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/search.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* review feedback

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 15:10:09 -06:00
Clint Andrew Hall cb163c9139
[canvas] Create Platform Service; remove legacy service (#104113) 2021-07-01 16:49:52 -04:00
Michael Dokolin 975e361d50
[Expressions] Update expressions public API to expose partial results support (#102403)
* Add partial result flag to the execution result
* Update expressions plugin run method to return observable
* Update data getter in the execution contract to return observable
* Update the expression loader to take into account the partial results flag
2021-07-01 22:48:47 +02:00
Frank Hassanabad 6e74040784
Fixes pipe I did incorrectly (#104162)
## Summary

Fixes a Cypress pipe where I was not using the correct selector and methodology. I now use the check boxes for disable-all for the test.

### Checklist

Delete any items that are not applicable to this PR.

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
2021-07-01 13:33:04 -07:00
Nathan L Smith 1545c6618e
Use EUI variables in favor of APM style variables (#104016)
Remove many of the variables in style/variables and replace them with EUI theme equivalents.

* Remove all the `units.x` (double, triple, etc.) variables. They were used in few places.
* Remove `px(x)` and just use `${x}px`. Many of its uses were not necessary.
* Remove `pct(x)`; it was only used in one place.
* Allow `truncate` to take a string or number and use `px` when given a number.
* Move the remaining helpers (`unit` and `truncate`) to `utils/style`.
* Some very contrived unit-based constants (`${px(units.unit + units.half + units.quarter)}`) replaced with hard-coded pixel values (`28px`).
* Move shared/charts/Legend to shared/charts/Timeline/legend since that's the only place it's used.
* Import organization and file renaming according to conventions.
* Rename `WaterfallWithSummmary` to `WaterfallWithSummary`.
* Remove unused `HttpContext` component from span flyout directory.
* Clean up some Storybook path names

There should be no visible style changes anywhere in the app; it's all refactoring.

Fixes #90930.
2021-07-01 15:25:33 -05:00
Ece Özalp 5e71cad5c7
[CTI] fixes undefined selectedTab when AlertSummaryView displays an e… (#103970)
* [CTI] fixes undefined selectedTab when AlertSummaryView displays an event after an alert

* updates data type

* updates data type

* updates data type

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 15:24:23 -05:00
Dominique Clarke 17443d0701
[Uptime] Fix synthetics integration flaky tests (#103691)
* focus uptime synthetics integration tests

* unfocus tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 15:59:31 -04:00
Dominique Clarke b7dc2c1d8c
[Uptime] Fix uptime amsterdam UI issues (#103683)
* Uptime - update monitor type format in StatusBar and update UI for define connectors switch

* update define_connectors

* Resolve type error.

* Add tests for `renderMonitorType`.

* remove unnecessary async specifier

* update i18n

* remove unused imports

* update i18n

Co-authored-by: Justin Kambic <justin.kambic@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 15:58:52 -04:00
Christiane (Tina) Heiligers 9e60da5b46
[Localization] Adds guidelines about markdown and long paragraphs (#104171) 2021-07-01 15:28:48 -04:00
Thomas Watson 23d900eb56
Bump Node.js from version 14.17.0 to 14.17.2 (#104148) 2021-07-01 21:27:49 +02:00
Rashmi Kulkarni ec75f71d4c
Timelion tests- migrate to kbnArchiver from esArchiver (#103969)
* Timelion tests- migrate to kbnArchiver

* added the logic to handle custom space

* paths and version changed
2021-07-01 11:18:14 -07:00
Joe Portner c78c350a1d
[Docs] Add documentation on multiple tenants (#103125) 2021-07-01 13:07:08 -04:00
Pete Harverson 03c713123c
[ML] Data visualizer: Removes experimental badge from file data visualizer (#104075)
* [ML] Data visualizer: Removes experimental badge from file data visualizer

* [ML] Remove experimental badge scss import
2021-07-01 17:57:33 +01:00
Dominique Clarke bc99bb0399
[Uptime] update panels with hasBorder prop (#103752)
* update panels with hasBorder prop

* remove panels where unnecessary
2021-07-01 12:46:45 -04:00
Jonathan Buttner 9dc303a4c6
Addressing feedback for the migrations (#104104) 2021-07-01 12:12:00 -04:00
Clint Andrew Hall 8bb13a9717
[canvas] Create Notify Service; remove legacy service (#103821) 2021-07-01 12:09:21 -04:00
Christos Nasikas 644d2ce918
[Detections] Truncate case title in toaster when attaching an alert to case (#103228) 2021-07-01 19:02:11 +03:00
Alison Goryachev b8747bde68
[Ingest pipelines] Support output_format in date processor (#103729) 2021-07-01 11:47:06 -04:00
Kyle Pollich 0fe301d083
Search integrations for all substrings + don't search on description (#104099) 2021-07-01 11:30:13 -04:00
Dima Arnautov 027446634e
[ML] Fix missing script aggs on the transform preview table (#103913)
* [ML] get field type from sampled doc for script fields

* [ML] refactor, unit tests
2021-07-01 11:27:36 -04:00
ymao1 7cc112d245
[Task Manager] Fixing typo in field name (#103948)
* Fixing typo

* Fixing typo

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 10:39:21 -04:00
Melissa Alvarez dd3a806690
switch to using internal user (#103931) 2021-07-01 10:24:24 -04:00
ymao1 ff3b5231c6
Aligning logger contexts (#103741)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 10:23:44 -04:00
Joey F. Poon a842a731e8
[Security Solution] fix failed packages call infinite retry (#103998) 2021-07-01 08:58:57 -05:00
Cauê Marcondes b612fca2e7
Add minimum bucket size when using metric powered ui (#103773)
* Add minimum bucket size when using metric powered ui

* addressing PR comments

* addressing comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 09:52:26 -04:00
Esteban Beltran 5d95e2e0cd
[Security Solution] Add advance policy keys for memory signature and shellcode protection (#101721)
Co-authored-by: Gabriel Landau <42078554+gabriellandau@users.noreply.github.com>
2021-07-01 14:56:21 +02:00
Alison Goryachev 5df129aaad
[Upgrade Assistant] Auto upgrade ML job model snapshots (#100066) 2021-07-01 08:39:44 -04:00
Bhavya RM 16da1a6dbe
Adding alerts and connectors so to import between versions test (#103968)
* adding alerts and connectors to import/export test

* removing beforeEach

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 14:13:17 +02:00
Michael Olorunnisola 2f25c26abc
[Security Solution] External alerts and Modal bug fix (#103933) 2021-07-01 07:33:42 -04:00
Yaroslav Kuznietsov b352976b3b
[Canvas] Expression reveal image. (#101987)
* expression_reveal_image skeleton.

* expression_functions added.

* expression_renderers added.

* Backup of daily work.

* Fixed errors.

* Added legacy support. Added button for legacy.

* Added storybook.

* Removed revealImage from canvas.

* setState while rendering error fixed.

* tsconfig.json added.

* jest.config.js added.

* Demo doc added.

* Types fixed.

* added limits.

* Removed not used imports.

* i18n namespaces fixed.

* Fixed test suite error.

* Some errors fixed.

* Fixed eslint error.

* Removed more unused translations.

* Moved UI and elements, related to expressionRevealImage from canvas.

* Fixed unused translations errors.

* Moved type of element to types.

* Fixed types and added service for representing elements, ui and supported renderers to canvas.

* Added expression registration to canvas.

* Fixed

* Fixed mutiple call of the function.

* Removed support of a legacy lib for revealImage chart.

* Removed legacy presentation_utils plugin import.

* Doc error fixed.

* Removed useless translations and tried to fix error.

* One more fix.

* Small imports fix.

* Fixed translations.

* Made fixes based on nits.

* Removed useless params.

* fix.

* Fixed errors, related to jest and __mocks__.

* Removed useless type definition.

* Replaced RendererHandlers with IInterpreterRendererHandlers.

* fixed supported_shareable.

* Moved elements back to canvas.

* Moved views to canvas, removed expression service and imported renderer to canvas.

* Fixed translations.

* Types fix.

* Moved libs to presentation utils.

* Fixed one mistake.

* removed dataurl lib.

* Fixed jest files.

* elasticLogo removed.

* Removed elastic_outline.

* removed httpurl.

* Removed missing_asset.

* removed url.

* replaced mostly all tests.

* Fixed types.

* Fixed types and removed function_wrapper.ts

* Fixed types of test helpers.

* Changed limits of presentationUtil plugin.

* Fixed imports.

* One more fix.

* Fixed huge size of bundle.

* Reduced allow limit for presentationUtil

* Updated limits for presentationUtil.

* Fixed public API.

* fixed type errors.

* Moved css to component.

* Fixed spaces at element.

* Changed order of requiredPlugins.

* Updated limits.

* Removed unused plugin.

* Added rule for allowing import from __stories__ directory.

* removed useless comment.

* Changed readme.md

* Fixed docs error.

* A possible of smoke test.

* onResize changed to useResizeObserver.

* Remove useless events and `useEffect` block.

* Changed from passing handlers to separate functions.

* `function` moved to `server`.

* Fixed eslint error.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 13:30:00 +03:00
mgiota ba85f45014
[Logs & Metrics] refactor breadcrumbs (#103249)
* [Logs & Metrics] refactor breadcrumbs

* [Logs & Metrics] remove Header component, move translations and create readonly badge hook

* add breadcrumb to metric detail page

* fix check_file_casing ci issues

* create separate breadcrumb hook for logs and metrics

* fix metrics translation title

* fix wrong imports and unused variables

* fix translation imports

* fix unused import

* refactor use_breadcrumbs

* remove Header component

* fix linter exhaustive-deps error by wrapping into useMemo

* refactor use_readonly_badge

* remove commented out code

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 12:13:33 +02:00
Dmitry Tomashevich 1b75ac5eb7
[Discover] fix sidebar content for old ff (#103424)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 12:49:21 +03:00
Stratoula Kalafateli c52e0e12aa
[TSVB] Documents the new index pattern mode (#102880)
* [TSVB] Document the new index pattern mode

* Add a callout to TSVB to advertise the new index pattern mode

* Conditionally render the callout, give capability to dismiss it

* Fix i18n

* Update the notification texts

* Update notification text

* Change callout storage key

* add UseIndexPatternModeCallout component

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/dashboard/tsvb.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Final docs changes

* Remove TSVB from title

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2021-07-01 12:34:28 +03:00
Sergi Massaneda 6c328cc8e0
[Security Solutions] Administration breadcrumbs shortened to be consistent with the rest (#103927)
* Administration breadcrumbs shortened to bbe consistent with the rest

* remove comment
2021-07-01 11:12:20 +02:00
Marta Bondyra 6e3df60aba
[Lens] Move editorFrame state to redux (#100858)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: dej611 <dej611@gmail.com>
2021-07-01 11:00:56 +02:00
Joe Reuter 65ff74ff5a
[Lens] Add functional test for example integration (#103460) 2021-07-01 10:48:34 +02:00
Jonathan Buttner 258d33c120
[Cases] Adding migration tests for owner field added in 7.14 (#102577)
* Adding migration tests for 7.13 to 7.14

* Adding test for connector mapping

* Comments
2021-07-01 11:21:46 +03:00
Tim Roes a3c079bda6
Make (empty) value subdued (#103833)
* Make empty value subdued

* Fix highlighting in values

* Fix test failures

* Add unit tests
2021-07-01 09:26:43 +02:00
mgiota de9b62ac4f
[Metrics UI]: add system.cpu.total.norm.pct to default metrics (#102428)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-01 09:03:56 +02:00