Commit graph

41558 commits

Author SHA1 Message Date
Xavier Mouligneau 8a42049acb
[SECURITY SOLUTIONS] Bug top-n alerts (#94920)
* Associate timeline filter/query/dataprovider to top-n for alerts events

* fix pinned view when opening details panel

* fix top-n to bring the right raw/all indices

* review + do not add filter/query/dataprovider on Correlation/Pinned tab for topN

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-23 13:36:46 -04:00
Peter Pisljar edb9453a83
adding kibana filter expression functions (#94069) 2021-03-23 18:29:26 +01:00
Joe Reuter adeda3991d
Compress color maps (#94297) 2021-03-23 18:08:43 +01:00
Cauê Marcondes 134959d224
[APM] The Observability Getting Started page infinitely redirects, breaking browser's back button (#95083)
* fixing browser back button

* fixing test
2021-03-23 12:42:36 -04:00
Joe Reuter b2433cdcd9
[Lens] Telemetry: Add missing operations (#95040) 2021-03-23 17:33:06 +01:00
Larry Gregory a158f9d771
Remove duplicative RBAC tests (#95162) 2021-03-23 12:00:21 -04:00
Kaarina Tungseth aa60c38318
Fixes links to docs (#94984)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-23 10:59:31 -05:00
Matthias Wilhelm 6a85841289
[Discover][EuiDataGrid] Add document navigation to flyout (#94439)
- allows the user to navigate to the previous and next document of the list in the document flyout

Co-authored-by: Ryan Keairns <contactryank@gmail.com>
2021-03-23 16:53:35 +01:00
Nicolas Chaulet 76b55207f7
[Fleet] Fix agent status count (#95099) 2021-03-23 11:24:25 -04:00
John Schulz c0c5fba4b0
[Fleet] Support force flag in bulk upgrade agents API (#94952)
## Summary

0cbbb41da2 is just a rearrangement of the tests.  5cad301e87 has the real changes: 
* Bug fix: `force: true` should bypass any restrictions re: managed policies
* Refactoring towards new response shape coming as part of https://github.com/elastic/kibana/issues/90437
* Added test to confirm new behavior


### Checklist
- [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-03-23 11:22:03 -04:00
James Rucker f3b71bce2a
Change the type of content source errorReason to match ent-search (#95098)
A recent refactor of content source jobs models unintentionally
changed this API. This change restores the functionality of the
re-authentication "Fix" link.
2021-03-23 08:04:22 -07:00
Kaarina Tungseth 523cc3984a
[DOCS] Fixes Timelion link (#95168) 2021-03-23 09:49:33 -05:00
Larry Gregory 61db3f3cac
Only check required fields for the default space (#95147) 2021-03-23 10:45:59 -04:00
Anton Dosov 12d5464852
[QueryBar][KQL] Fix spaces are converted to non-breaking spaces in Safari. Support escaping unicode characters in KQL. Make non-breaking space part of a KQL grammar (#94688) 2021-03-23 15:31:27 +01:00
Byron Hulcher 4dec429fc9
Use string values for EngineTypes instead of int (#94823)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-23 10:09:11 -04:00
Daniil 8961f8523e
[TSVB] Type public code. Step 2 - panel configs (#94403)
* Remove request facade and update search strategies

* Use typescript

* Type files

* Update structure

* Update tests

* Type annotations

* Fix type for infra

* Type editor_controller

* Type vis_editor

* Type vis_picker

* Fix types

* Type panel_config

* Fix vis data type

* Enhance types

* Remove generics

* Use constant

* Update docs

* Use empty object as default data

* Convert yes_no component to typescript

* Type color rules

* Type panel configs

* Type helpers

* Type color rules

* Type collection actions

* Get rid of create_text_handler

* Fix collection actions types

* Revert get_request_params changes, do some code refactoring, type create_number_handler and get rid of detect_ie

Co-authored-by: Daniil Suleiman <daniil_suleiman@epam.com>
Co-authored-by: Diana Derevyankina <dziyana_dzeraviankina@epam.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-23 15:31:50 +02:00
Nathan L Smith 5e31f91614
Alerts and cases page components for observability plugin (#93365)
Create components for the alerts and cases pages. This only contains basic empty components and stories for them.
2021-03-23 07:57:56 -05:00
Alejandro Fernández Haro 1e6a024c4d
[Monitoring] Bulk Uploader uses new ES client (#94908)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-23 08:31:02 -04:00
Nathan Reese 71466b2dd0
[Maps] fix tooltips with timestamp appear as epoch (#95106)
* [Maps] fix tooltips with timestamp appear as epoch

* request dates as strict_date_optional_time for tooltips
2021-03-23 06:27:41 -06:00
Dario Gieselaar bfe6c5186c
[APM] Fix TypeScript optimization script (#95137) 2021-03-23 11:20:21 +01:00
Jayson Lou b60f6ad610
Changed filter popover switches to checkboxes (#95002) 2021-03-23 09:40:21 +01:00
Shahzad 2b4bd10781
[Observability] Shared Field Suggestion value component (#94841)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-23 09:25:00 +01:00
Stratoula Kalafateli 7d303eb42d
[TSVB] Integrates the color service (#93749)
* [TSVB] Integrates the color service

* Fix i18n failure

* Sync colors :)

* Fix unit tests

* Apply the multiple colors also for gauge

* Fix

* More unit tests

* Cleanup

* Be backwards compatible

* Fetch palettesService on vis renderer

* Fix eslint

* Fix jest test

* Fix color mapping for empty labels

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-23 08:24:58 +02:00
Søren Louv-Jansen e90e5bae8c
[APM] Fix readme for running tsc (#95074) 2021-03-22 23:19:58 +01:00
Jason Stoltzfus 19aeb99dc3
[App Search] Remaining Result Settings logic and routes (#94947) 2021-03-22 15:58:32 -04:00
Spencer b4ff1f65dc
[cliDevMode/timings] report time until optimizer and server are ready (#94860)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-22 15:36:08 -04:00
Paul Tavares 7ebffc3728
[FLEET][SECURITY_SOLUTION] Fix .fleet-artifacs index property names and add endpoint package policy migrations (#94977)
* migration of Endpoint Integration policies to adjust artifact relative urs
* Fix ``.fleet-artifacts` property name to be snake_cased
2021-03-22 15:26:37 -04:00
Steph Milovic 416eea750c
[Security Solution] [Cases] Add deprecation in cases plugin for rename (#94808) 2021-03-22 12:31:22 -06:00
Dmitry 041566d85a
[dashboard/bwc_shared_urls] check viz are loaded (#94941)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-22 18:35:57 +01:00
Spencer f1708ddcd3
[uiSettings/theme] restrict theme options based on KBN_OPTIMIZER_THEMES (#94834)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-22 13:31:52 -04:00
David Sánchez 7270f6d318
[SECURITY_SOLUTION] Adds hash validation on UI for trusted app (#94958)
* Adds hash validation on UI. Display as many error messages as they are instead of displaying just the first one on entry fields. Updates related unit test

* Fixes failing test and added new test case

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-22 17:55:20 +01:00
gchaps ea8efd5ebe
[DOCS] Adds docs for search sessions (#94661)
* [DOCS] Adds docs for search sessions

* [DOCS] Improves intro and title for search sessions doc

* [DOCS] Fixes bulleted list

* [DOCS] Makes doc title more descriptive

* [DOCS] Incorporates review comments

* [DOCS] Includes a better explanation of restore action

* [DOCS] Changed titled and fixed setting names

* [DOCS] Verified content about maps and restored session

* [DOCS] Fixes setting names

* [DOCS] Changes order of last two steps

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-22 09:35:08 -07:00
Paul Tavares e7bb8b7b8a
[SECURITY SOLUTION] add enableExperimental plugin configuration setting (#94944)
* Added new setting (enableExperimental) to plugin configuration
* Remove plugin config setting `fleetServerEnabled` and use instead `enableExperimental`
2021-03-22 11:59:18 -04:00
Angela Chuang 04e4661cbf
[Security Solution] fix data providers cypress tests (#94933)
* fix data providers cypress tests

* add scrollToBottom to common tasks file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-22 14:45:45 +00:00
Jonathan Budzenski 35af8a941a skip telemetry app usage test. #94513 2021-03-22 08:42:30 -05:00
Josh Dover 03764796ee
Add ESS icon to server.publicBaseUrl docs (#93949) 2021-03-22 14:36:14 +01:00
Matthew Kime 0c6bec1dd3
fix count and custom label on runtime fields (#95019) 2021-03-22 07:55:14 -05:00
David Sánchez 0a5ca7bb04
[SECURITY_SOLUTION] Better BE validation message for multiple same fields (#94935)
* WIP: Use schema.conditional instead of schema.oneOf to ensure the right schema validation from an specific field type

* Adds some comments on new schema definition

* Use validate functions to set custom messages

* Fixes type issue after schema changes. An overwrite of the schema inferred type is needed to match with the NewTrustedApp custom type

* Updates schema test after schema changes

* Changes error key by type. Updates related unit test

* WIP: Parse BE message into an user friendly one. Waiting for final texts

* Updates text messages for create trusted app errors

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-22 12:55:14 +01:00
Madison Caldwell c0f9bfcd21
[Security Solution][Detections][Threshold Rules][7.12] Threshold summary view (#94345)
* Add threshold summary view items

* Add threshold field desgination

* Add threshold fields to signal doc

* Fix unit test

* Handle error
2021-03-21 10:02:45 -04:00
Nathan Reese a6c0ff6e40
[ml] migrate file_data_visualizer/analyze_file to file_upload plugin (#94259)
* [ml] migrate file_data_visualizer/analyze_file to file_upload plugin

* tslint

* give analyze route access to ml user

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-20 14:59:52 -06:00
Walter Rafelsberger dd7ea1d4b2
[ML] Data Frame Analytics: Fix ROC Curve Chart for binary classification. (#94791)
- Updates the ROC Curve Chart to show only one line for binary classification.
- Improves type specs for the evaluate panel's data.
2021-03-20 18:41:25 +01:00
Tiago Costa 7e5dbdf5b9
skip flaky suite (#84440) 2021-03-19 23:21:31 +00:00
Walter Rafelsberger 778bb69cba
[ML] Functional Tests: Extend canvas assertion options. (#91473)
Updates the canvas element assertion service and stabilizes tests.
2021-03-19 21:06:59 +01:00
Jonathan Budzenski fc3125af08 skip "doc table should show popover" #94889 2021-03-19 12:11:34 -05:00
Pierre Gayvallet 5f92987bb3
add banners settings doc (#94672)
* add banners settings doc

* address review comments

* add link to the correct file

* use singular for banner
2021-03-19 08:14:55 +01:00
Steph Milovic 5f4939be76
Revert "[Security Solution] [Cases] Move create page components and dependencies to Cases (#94444)" (#94975)
This reverts commit c497239d55.
2021-03-18 18:25:39 -06:00
Luke Elmers d1040f0105
[core.savedObjects] Fix maxImportExportSize config & update docs. (#94019) 2021-03-18 19:34:15 -04:00
Constance ab0f45c053
[Curation] Add Result Manually flyout/search (#94887)
* Set up curation search server route

- not really sure which API endpoint to use, hedging my bets

* Set up AddResultLogic

- fairly simple, mostly concerned with flyout behavior & search query
- could likely be reused (or replaced with??) query tester logic in the future

* Add main AddResultFlyout component

- with custom isPromoted / isHidden logic & actions

* Update AddResultButton to open flyout

* Update Curation page to render the flyout

* PR feedback: reset search query on flyout re-open
2021-03-18 14:53:46 -07:00
Davis Plumlee cdca44a639
[Security Solution][Detection Rules] Fixes rule details activate switch (#94010) 2021-03-18 17:45:03 -04:00
Jonathan Budzenski 0b984c92d9 skip "navigates to doc view from embeddables" #93670 2021-03-18 16:10:48 -05:00