Commit graph

41725 commits

Author SHA1 Message Date
Kaarina Tungseth 1aa6a140dd
Ui changes (#95989) 2021-04-01 09:09:11 -05:00
Spencer 3187567a0e
[cli-dev-mode] complete state subjects when shutting down (#96003)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-04-01 09:01:59 -05:00
Madison Caldwell 9c5641dbd7
[Security Solution][Detections][Threshold Rules] Add threshold_result to alert notification context (#95354)
* Don't remove threshold_result from _source prematurely

* Fix type error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-01 09:58:54 -04:00
Paul Tavares 6238ef7bad
[Security Solution][Artifacts] Refactor endpoint Artifact manifest processing (#95846)
* Remove references to class `ArtifactClient` and replace with EndpointArtifactClientInterface
* refactor artifact client tests to use new class
* Added additional test to Fleet Artifacts create service
* remove SavedObject type wrapper from getArtifact response
2021-04-01 09:31:17 -04:00
Alison Goryachev b29ccdcac1
Update breaking changes issue template (#95787) 2021-04-01 08:58:48 -04:00
Nathan Reese 7fe316562d
[Maps] fix fit to data doesn't work in TMS (#95980) 2021-04-01 06:45:18 -06:00
Mikhail Shustov b6e582c53e
TS Incremental build exclude test files (#95610)
* add base config for all the TS projects

* all the project use new tsconfig.project.json

* compile test files in the high-level tsconfig.json

* fix TS error in maps plugin

* fix TS error in infra plugin

* exclude mote test and test until folders

* uptime. do not import test code within prod code

* expressions. do not import test code within prod code

* data: export mocks from high level folder

* task_manager: comply with es client typings

* infra: remove unused enzyme_helpers

* check_ts_project requires "include" key

* ts_check should handle parent configs

* all ts configs should extend base one

* exclude test folders from plugins

* update patterns to fix ts_check errors

* Apply suggestions from code review

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

* uptime: MountWithReduxProvider to test helpers

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-01 14:40:47 +02:00
Walter Rafelsberger a1c36e7a06
[ML] Refactor imports using 'elasticsearch' to '@elastic/elasticsearch'. Extend 'isPopulatedOjbect()'. (#95651)
- Gets rid of imports from 'elasticsearch' and replaces them with '@elastic/elasticsearch'.
- Extends isPopulatedObject() to allow an optional array of attributes to check if they exist. Allows us to get rid of the manual and inconsistent usages of hasOwnProperty().
2021-04-01 11:46:17 +02:00
Spencer 07a3f9eb8d
[kbn/optimizer] import source-map-support in script to avoid breaking jest snapshots (#96011)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-03-31 18:36:52 -07:00
spalger 5a9cff2644 skip suite failing es promotion (#96000) 2021-03-31 18:23:46 -07:00
Aaron Caldwell 5db8027657
[Maps] Show empty list when all saved maps in list deleted (#95126)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 21:15:42 -04:00
Søren Louv-Jansen e0a1fe18be
[APM] Fix spaces issue for static index patterns (#95799) 2021-04-01 00:43:20 +02:00
spalger 0cdf445718 skip suite failing es promotion (#96002) 2021-03-31 15:24:17 -07:00
spalger c66937d4c6 skip suite blocking es promotion (#96001) 2021-03-31 15:19:58 -07:00
spalger aa81dc52f6 skip flaky suite (#96000) 2021-03-31 15:13:06 -07:00
Matthew Kime 65deb5a46b
Index pattern scripted field / runtime field usage collection (#95366)
* add index pattern telemetry
2021-03-31 17:02:42 -05:00
Lisa Cawley e285c7c214
[DOCS] Adds deprecation admonitions (#95847) 2021-03-31 14:36:48 -07:00
Spencer 16a176af98
never run webpack with --progress on CI (#95967)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-03-31 14:04:42 -07:00
Spencer 1f5ee4c869
[ci-stats] move ui-shared-deps metrics to page load assets group (#95957)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-03-31 14:03:22 -07:00
Phillip Burch 96ccd31477
Add anomaly detection telemetry (#95802)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 15:55:46 -05:00
Adam Locke 3eb0996920
[DOCS] Add deprecation message for scripted fields (#95964)
* [DOCS] Add deprecation message for scripted fields

* Change deprecation to full block admonition.
2021-03-31 16:33:21 -04:00
Tim Sullivan 0fce2427e5
[Reporting] CSV Export: fix and unskip failing test (#95824)
* [Reporting] CSV Export: fix and unskip failing test

* fix snapshot extra records

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 13:12:19 -07:00
spalger 2a3edb0adb skip flaky suite (#95591) 2021-03-31 13:06:04 -07:00
Nicolas Chaulet b13181a539
[Fleet] Fleet server invalidate api keys for agent < 7.13 (#95789) 2021-03-31 15:53:28 -04:00
Kevin Qualters 03b104cc61
[Security Solution][RAC][Timeline] Timeline plugin skeleton and test plugin harness (#95683)
* [RAC][Security Solution] Initial timeline and test plugin harness

* Change plugin name from timeline to timelines
2021-03-31 15:33:19 -04:00
Devon Thomson fe17879ae3
[Time to Visualize] Allow By Value Flow Without Visualize Save Permissions (#95951)
* Made sure users can use by value workflow without visualize save permissions
2021-03-31 15:30:50 -04:00
CJ Cenizal b531d28364
Add "Include aliases" toggle to the Restore Snapshot Wizard (#95882)
* Add support for includeAliases to restore API endpoint, with unit tests.
* Remove unused deserializeRestoreSettings function.
* Add 'Include aliases' option to the UI, with default value of true.
* Add client integration test.
2021-03-31 12:29:07 -07:00
Zacqary Adam Xeper f7caf44876
[Fleet] Match telemetry key names to UI agent states (#95567) 2021-03-31 15:10:46 -04:00
Thomas Neirynck d2e2209cf2
[Maps] Make bundle smaller (#95881) 2021-03-31 14:43:24 -04:00
Aleksandr Maus 524ce98805
Add user to .fleet-actions mapping (#95935)
* Add user to .fleet-actions mapping

* Leave only user.id, remove the rest of added fields

* Flatten to user_id
2021-03-31 14:04:41 -04:00
Mikhail Shustov 4c0d09acdc
Move more Kibana packages to UI shared deps (#95894)
* move @kbn/std to kbn-ui-shared-deps

* add @elastic/safer-lodash-set to kbn-ui-shared-deps

* update limits

* Revert "update limits"

This reverts commit f396d4764d.

* decrase limits for Core team owned code
2021-03-31 13:52:05 -04:00
Ece Özalp 178c2de5fd
[Security Solution] Populates threat.indicator.event with _source.event (#951) (#95697)
* [Security Solution] Add event data to threat.indicator (elastic/security_team/#951)

* fixes mappings, updates tests

* refactor mappings
2021-03-31 11:37:24 -04:00
Nicolas Chaulet 9e55b8b6c8
[Fleet] Create Fleet server indices with auto_expand_replicas (#95924) 2021-03-31 11:25:18 -04:00
Jonathan Budzenski 589f49f442
Remove default support for TLS v1.0 and v1.1 (#90511)
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 10:04:34 -05:00
Nathan Reese 5f487292fb
[Maps] convert ToolbarOverlay to TS (#95368)
* [Maps] convert ToolbarOverlay to TS

* remove getDerivedStateFromProps

* remove unused function

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 08:50:40 -06:00
spalger 73109fb3ab Revert "[Time to Visualize] Allow By Value Flow Without Visualize Save Permissions (#93846)"
This reverts commit cfe5f9c016.
2021-03-31 07:25:57 -07:00
Joe Reuter 53584c694d
[Lens] Introduce single percentile and make it filterable in Lens (#95439) 2021-03-31 16:19:31 +02:00
renovate[bot] 5b3d88749e
Update dependency @elastic/charts to v26.1.0 (#95582)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 16:15:50 +02:00
Joe Reuter 50d21dad8c
[Lens] Fix runtime field test flakiness (#95650) 2021-03-31 15:59:41 +02:00
Devon Thomson cfe5f9c016
[Time to Visualize] Allow By Value Flow Without Visualize Save Permissions (#93846)
* Made sure users can use by value workflow without visualize save permissions
2021-03-31 09:44:56 -04:00
Marco Liberati 004a9a14c8
[Lens] Unskip a11y test in Lens (#95904) 2021-03-31 15:31:29 +02:00
Anton Dosov 9dffcc2afa
[Search Sessions] Fix config docs (#95920) 2021-03-31 15:29:06 +02:00
Ryan Keairns b301d416b7
Update Cloud plugin to handle new config in kibana.yml (#95569)
* Handle cloud urls from kibana.yml

* Add types to utils params

* Update utils

* address nits

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 07:49:50 -05:00
ymao1 7ef8be6031
Fixes Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alerts_list·ts - Actions and Triggers app alerts list should unmute single alert (#95808)
* Unskipping test

* Adding retries

* Adding retries

* Adding retries
2021-03-31 07:43:48 -04:00
Peter Pisljar a62d69d7ec
enabling esdsl function in expressions on server side (#95304) 2021-03-31 13:32:42 +02:00
Jean-Louis Leysens 44a46358c2
[Snapshot Restore] Migrate to new ES client (#95499)
* wip, migrated routes and plugins

* refactored all ES error handling to use handleEsError and new isEsError detection

* - fixed Jest tests for new es client
- updated routes in light of new responses

* remove unused import

* remove unecessary isEsError check in rest api route handlers

* mute all incorrect types from client lib using @ts-expect-error

* reordered and clean up imports, removed legacy client code

* update legacy test runner

* updated use of legacyES

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 11:55:41 +02:00
Joe Reuter a9d0b6f478
Simplify date histogram meta and apply interval scaling to all levels (#95206) 2021-03-31 11:31:48 +02:00
Alexey Antonov ede6b4fd64
[TSVB] metrics:max_buckets setting should limit buckets on server side too. (#95639)
* tmp

* [TSVB] Remove metrics:max_buckets setting because it is redundant to histogram:maxBars

Closes: #94212

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 12:14:56 +03:00
Pierre Gayvallet ddac0e9501
add per space configuration to custom header banner (#94449)
* restore the banners ui settings

* fix banner init logic

* fix unit tests

* update telemetry schema

* add basic server-side plugin tests

* add FTR tests for banners plugin

* use keyword for sensitive setting

* update snapshots

* setting name consistency with configuration properties

* fix setting names in telemetry files

* open banner links in new tab

* add config.disableSpaceBanners property

* fix types

* add descriptions to banner settings

* change label and value header->top

* finishing header->top replacement

* doc nits

* add banners section to advanced options doc

* feedback on advanced options doc

* adapt deprecation to new format
2021-03-31 10:57:06 +02:00
Yulia Čech ae1014bdd8
[ILM] Integer validator for timing and rollover fields (#95438)
* Added decimals validation for phase timing field and rollover age and docs number fields

* Refactored min age field validator

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 10:45:15 +02:00