Commit graph

39908 commits

Author SHA1 Message Date
Nathan Reese 1ff4256d64
[Maps] migrate maps, maps_file_upload, and maps_legacy_licensing to TS projects (#89439)
* [Maps] migrate maps, maps_file_upload, and maps_legacy_licensing to TS projects

* include types to avoid rison import errors

* add mappings to tsconfig include
2021-01-27 13:38:16 -07:00
spalger 4499f62dcb skip flaky suite (#89478) 2021-01-27 13:08:09 -07:00
spalger 44b8333141 skip flaky suite (#89476) 2021-01-27 13:07:12 -07:00
spalger 27d9a9ddaa skip flaky suite (#89477) 2021-01-27 13:04:11 -07:00
spalger c8ef36ab12 skip flaky suite (#89475) 2021-01-27 13:03:00 -07:00
Ryland Herrick 740155e214
Address intermittent test failure (#89367)
After observing the conditions when this test fails, it appears that
some (but not all) signals are available. As these signals are generated by a
rule via a bulk create, the odds of us retrieving signals in the middle
of that bulk creation is very slim (but not impossible).

The crux of the error here was: we wait for signals to be generated, but
not the ones that we need. Specifically, we are waiting for a single
signal to be available, but since we are asserting on sequences of
signals, we need several to be available to us.

While not perfect (because the signals we receive are not technically
guaranteed to be sequence signals), increasing the number of signals
that we wait for before proceeding should be sufficient to prevent this
failure state. In debugging, it was observed that every test returning
9-10 signals succeeded, while it was possible for the test to return
only one signal and fail.
2021-01-27 13:08:53 -06:00
Spencer 3c604438b8
[kbn/pm] throw an error if package doesn't have a script (#89438)
* [kbn/pm] throw an error if package doesn't have a script

* actually add the kbn/es build script 🤦‍♂️

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-01-27 11:22:26 -07:00
Devon Thomson 96e4bdc8ae
Dashboard - Hide Short URL Option (#89338)
* fix typo from sub-feature privileges
2021-01-27 13:06:22 -05:00
Kerry Gallagher 42a9490e7b
[Logs UI] Display category in anomalies table (#88677)
* Add category pattern to anomalies table
2021-01-27 17:58:06 +00:00
Quynh Nguyen da9ad2ade4
[ML] Add embedded map to geo_point fields for Data Visualizer (#88880) 2021-01-27 11:39:50 -06:00
Kent Marten 723dd32693
[maps] Update point to point docs with use cases (#89246)
Co-authored-by: Kent Marten <kmartastic@users.noreply.github.com>
2021-01-27 09:34:03 -08:00
Yuliia Naumenko 466334529c
[Alerts][Actions][Telemetry] Fix mappings for Kibana actions and alert types telemetry. (#88532)
* [Alerts][Actions][Telemetry] Fix mappings for Kibana actions and alert types telemetry.

* fixed count_active_by_type for actions

* fixed tests

* Fixed due to comments.

* Fixed due to comments.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-27 09:00:50 -08:00
Yulia Čech d931ed61e4
[ILM] Policy phases redesign (#88671)
* Phases redesign

* Title and name field layout

* Active highlight wip

* Copy comments

* Updated data allocation dropdown

* Min age error message

* Fixed tests

* Fixed edit policy integration tests

* Fixed more tests

* Cleaned up test files

* Use hotProperty instead of a string

* Clean up in phase component

* Fixed i18n files

* Updated optional fields

* Updated aria attributes after running axe tests

* Added review suggestions

* Reversed data allocation field changes

* Fixed type error

* Reversed on/off label and prepend input label

* Deleted property consts from phases components

* Removed not needed i18n consts and added i18n where missing

* Fixed merge conflicts with master

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-27 17:59:44 +01:00
Matthias Wilhelm 0a7a9e4933
[Discover] Merge discover.tsx and discover_legacy.tsx (#88465) 2021-01-27 17:58:42 +01:00
Maja Grubic 7de33830d6
[Discover] Grouping multifields in a doc table (#88560)
* [Discover] Grouping multifields in a doc table

* Fixing scss selector

* Remove unnecessary comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-27 16:57:05 +00:00
Ester Martí Vilaseca 289ca57bb5
[Metrics UI] Fix Host Overview boxes in Host Detail page (#89299)
* change from type:gauge to type:top_n in inventory models

* Add test for hostSystemOverview metric

* fix lint errors

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-27 17:27:34 +01:00
Ahmad Bamieh 82902e8918
[Telemetry] Settings Collector: redact sensitive reported values (#88675) 2021-01-27 17:57:53 +02:00
Tyler Smalley 46ac4ed7a2
[CI] Combines Jest test jobs (#85850)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-01-27 07:36:10 -08:00
Alison Goryachev 007e7e4506
[Upgrade Assistant] Migrate server to new es-js client (#89207) 2021-01-27 10:22:36 -05:00
Nathan Reese da8d6b939a
Migrate maps_legacy, maps_oss, region_map, and tile_map plugions to TS projects (#89351) 2021-01-27 08:18:54 -07:00
Stratoula Kalafateli 0abf45fcf1
[Vega Docs] Add experimental flag on the vega maps title (#89402)
* [Vega Docs] Add experimental flag on the vega maps title

* Add the experimental warning on the initial paragraph of vega maps to be more visible
2021-01-27 17:03:44 +02:00
Stratoula Kalafateli d1b88afd3b
Increase the time needed to locate the save viz toast (#89301) 2021-01-27 17:01:02 +02:00
Scotty Bollinger cadcbf8845
[Enterprise Search] Add links to doc links service (#89260)
* [Enterprise Search] Add links to doc links service

* Remove extra slash

* Add types

* Update API docs and API review
2021-01-27 08:52:44 -06:00
Thom Heymann 6425c5d6ae
Fixed regex bug in Safari (#89399)
* Fixed regex bug in Safari

* Added extra unit test
2021-01-27 14:07:20 +00:00
Marco Liberati ba1e795b3f
[Lens] Fix indexpattern checks for missing references (#88840)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-27 14:23:47 +01:00
Joe Reuter b09e010b16
[Lens] Clean up usage collector (#89109) 2021-01-27 13:43:55 +01:00
Silvia Mitter ab1af57f05
update apm index pattern (#89395) 2021-01-27 13:34:11 +01:00
Dario Gieselaar 9e68975054
[APM] Upgrade ES client (#86594)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-27 12:35:38 +01:00
Rudolf Meijering c8afae8a51
Enable v2 so migrations, disable in FTR tests (#89297)
* Enable v2 so migrations, disable in FTR tests

* Disable v2 migrations for ui_settings integration tests

* Disable v2 migrations for reporting without serucity api integration test
2021-01-27 12:13:15 +01:00
Anton Dosov b8947e3e15
[Search Sessions] Make search session indicator UI opt-in, refactor per-app capabilities (#88699) 2021-01-27 11:52:13 +01:00
Stratoula Kalafateli 64e9cf0440
Cleanup OSS code from visualizations wizard (#89092)
* Cleanup OSS code from visualizations wizard

* Remove unecessary translations

* Remove unused translation

* Fix functional test

* Disable the functional test for OSS

* Remove from oss correctly :D

* Fix ci
2021-01-27 12:45:49 +02:00
Dario Gieselaar 053628cae8
[APM] Optimize API test order (#88654)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-27 09:54:56 +01:00
Justin Kambic 3fe2e95e35
Rename conversion function, extract to module scope and add tests. (#89018)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-26 22:53:14 -05:00
Christiane (Tina) Heiligers c6cfdee5b0
[core.logging] Add ops logs to the KP logging system (#88070)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-26 20:23:01 -07:00
Tiago Costa 8250b078b4
chore(NA): improve ts build refs performance on kbn bootstrap (#89333)
* chore(NA): improve ts build refs performance on kbn bootstrap

* chore(NA): use skipLibCheck=false by default on typechecking

* docs(NA): commit core docs changes

* fix(NA): eui typings
2021-01-27 00:59:24 +00:00
Tyler Smalley 2c648acffd skip flaky suite (#89379) 2021-01-26 16:30:52 -08:00
Tyler Smalley 0fe7b9e080 skip flaky suite (#89031) 2021-01-26 15:27:48 -08:00
Justin Ibarra b5b9cee158
Update security solution generic timeline templates (#89239)
* Update security solution generic timeline templates
2021-01-26 13:43:05 -09:00
Rashmi Kulkarni 20f32d506f
JSON Body payload for the webhook connector in Alerts & Actions (#89253)
* fixes https://github.com/elastic/kibana/issues/74449


Co-authored-by: Patrick Mueller <pmuellr@gmail.com>
2021-01-26 14:20:42 -08:00
Tyler Smalley 2a9a9305ee Fixes linting caused by skipping flaky suite
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-01-26 14:14:08 -08:00
Tyler Smalley 1e7b6f0ec2 skip flaky suite (#88826) 2021-01-26 13:42:27 -08:00
Jean-Louis Leysens 46285b2257
[ILM] Timeline component (#88024)
* cleaning up unused types and legacy logic

* added new relative age logic with unit tests

* initial implementation of timeline

* added custom infinity icon to timeline component

* added comment

* move timeline color bar comment

* fix nanoseconds and microsecnds bug

* added policy timeline heading, removed "at least" copy for now

* a few minor changes

 - fix up copy
 - fix up responsive/mobile first view of timeline
 - adjust minimum size of a color bar

* minor refactor to css classnames and make trash can for delete more prominent

* added delete icon tooltip with rough first copy

* added smoke test for timeline and how it interacts with different policy states

* update test and copy

* convert string svg to react svg component and use euiIcon class and refactor scss

* update delete icon tooltip copy and add aria-label to svg

* mock EuiIcon component in jest tests because it causes issues with custom react-svg component

* added comment to mock

* remove setting of classname

* fix typo and update delete icon tooltip content

* refinements to the delete icon at the end of the timline and support dark mode

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-26 22:34:43 +01:00
Nathan Reese 0b61847696
[Maps] rename file_upload to maps_file_upload (#89225)
* migrate file_upload plugin to maps_file_upload

* update plugins list

* results of running node scripts/build_plugin_list_docs

* fix build problems

* remove fileUpload from limits.yml

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-26 14:32:09 -07:00
Rashmi Kulkarni 87992d01da
Watcher -functional xpack test using test_user with specific permissions. (#89068)
* fixes https://github.com/elastic/kibana/issues/74449

* watcher test with specific permissions

* adding the false parameter

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-26 12:49:44 -08:00
Christos Nasikas 0c2c451830
[Security Solution][Case] Add button to go to case view after adding an alert to a case (#89214) 2021-01-26 21:56:31 +02:00
Scotty Bollinger 7bb8d3a7b2
[Workplace Search] Fix Private Dashboard routes (#88985)
* Add index route for personal dashboard

* Fix links to personal source flow

In ent-search, the base route was /sources so the getSourcesPath helper was not needed. In Kibana, we use the ‘/p’ route to differentiate personal from org so the helper is needed and we pass false as the isOrganization flag

* Remove legacy sidebar text

When I first migrated this, I left the sidebar copy in so that it was not aboandoned before the design pass. After talking with John we decided to just use the copy to the right of the sidebar so this drops that legacy copy.

* Remove constants

* Remove legacy sidebar link

* Revert "Remove legacy sidebar text"

This reverts commit 8c8a3fb63c.

* Revert "Remove constants"

This reverts commit a88723ec90.

* Revert "Remove legacy sidebar link"

This reverts commit 5d08a12a7d.

* Update TODO

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-26 13:09:53 -06:00
Marco Liberati ecf512a048
[Lens] Make Lens visualization load faster on Dashboard (#88953)
* 🚀 Load indexPatternRefs only on edit mode

* :white_mark_check: Fix test with new editor init flag

* 🐛 Avoid to save to localStorage undefined indexPattern

* :white_mark_check: Adapted tests to new conditional ref loading

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-26 19:06:40 +01:00
Michail Yasonik eaf6831022
Adding better aria-labels for global search and field search in Lens (#89215) 2021-01-26 11:48:22 -06:00
Nathan Reese 3938fa67ad
[Maps] allow saving maps to dashboards (#88759)
* [Maps] allow saving maps to dashboards

* update saveMap functional test method

* update tags functional test

* review feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-26 10:35:57 -07:00
Thomas Neirynck 0076384a0f
[Maps] Implement fields and bounds retrieval on GeoJsonFileSource (#88294) 2021-01-26 12:32:12 -05:00