Commit graph

44847 commits

Author SHA1 Message Date
Wylie Conlon
ce89235713
[Sample data] Use Lens in Logs sample data (#106486)
* [Sample data] Use Lens in Logs sample data

* Fix accidental inclusions and add new images

* Fix test

* link proper ID

* changing the copy for 400s and 500s

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
2021-07-29 07:58:54 +02:00
Mikhail Shustov
785876cc76
[Data] do not import types from the legacy elasticsearch package (#106957)
* do not import types from the legacy elasticsearch package

* update docs

* cleanup data_enhanced
2021-07-29 07:52:36 +02:00
Michael Dokolin
b140cb5cb1
[Aggregations] Create expression functions for object types used in agg params (#103494) 2021-07-29 07:00:35 +02:00
Jonathan Budzenski
05cebcde93 Revert "[RAC] [SECURIT SOLUTIUONS] Remove drag drop security solutions (#106721)"
This reverts commit 3f14abb372.
2021-07-28 20:25:06 -05:00
Tiago Costa
1137c2c5f4
chore(NA): moving @kbn/utils to babel transpiler (#107010)
* chore(NA): moving @kbn/utils to babel transpiler

* chore(NA): changed import paths for that module on kbn-apm-config-loader

* fix(NA): import on test file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-29 01:16:53 +01:00
Xavier Mouligneau
3f14abb372
[RAC] [SECURIT SOLUTIUONS] Remove drag drop security solutions (#106721)
* wip to remove drag & drop

* fix timeline action visibility and filter present on scroll

* remove unused class

* clean up hover actions

* add isDraggable on row render to allow the control of drag and drop

* fix add to timeline to work the old way

* fix types + unit test

* fix cypress test, I went to  fast  with the renaming

* review I

Co-authored-by: Michael Olorunnisola <michael.olorunnisola@elastic.co>
2021-07-28 20:12:10 -04:00
Walter Rafelsberger
5e2c22cef9
[ML] Latency correlations: Fix "Failed to build correlative_value after last required field arrived" error. (#107040)
The wrong percentiles variable was used to derive ranges, it needs to use tempPercentiles instead. With certain data this would lead to ranges, expectations and percentiles to have different lengths.
2021-07-29 01:25:04 +02:00
Tiago Costa
0aeb6de546
chore(NA): moving @kbn/apm-utils to babel transpiler (#106989)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 19:12:22 -04:00
Phillip Burch
2093447203
[Metrics UI] Correct inaccurate offsetting for non-rate aggregations inside of metrics threshold alerts (#106947)
* Don't skip last bucket for most aggs

* Allow alerting on partial buckets for certain aggs

* Fix test, PR feedback, and some comments

* Remove all offset logic for date_range aggs

* Remove code comment

* Add delivery delay

* Fix the date range for query

* Add TODO
2021-07-28 17:29:46 -05:00
Michail Yasonik
28fcd5977d
Remove all instances of EuiKeyboardAccessible (#106910)
* remove all instances of EuiKeyboardAccessible
2021-07-28 17:19:46 -04:00
Kevin Qualters
3612a7a300
[Security Solution][RAC] Migrate add to case action to timelines plugin (#106205)
* First pass add to case action in timelines plugin

* Fix fake duplicate import lint rule and some type errors

* Fix some tests

* Remove use_insert_timeline and pass as prop

* Remove unneeded ports, fix types/tests

* Finish fixing types and tests for add to case action

* Remove duplicated security_solution code

* Pass appId as props

* Fix lint and a type error

* Use react-router-dom instead of window.location.search

* Fix broken test

* Remove unused imports

* Remove unused export and related code
2021-07-28 17:10:37 -04:00
Spencer
dfb1b615e9
[api-docs] raise memory limit again (#107065)
* [api-docs] raise memory limit again

* update buildkite script too

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-07-28 16:45:04 -04:00
Jonathan Budzenski
134b2fd9e1
[kbn-pm] Default build and watch commands to use bazel (#105674)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 16:39:54 -04:00
Tiago Costa
57bdd8b310
chore(NA): moving @kbn/config-schema to babel transpiler (#106929)
* chore(NA): moving @kbn/config-schema to babel transpiler

* chore(NA): added runtime deps

* chore(NA): update api extractions

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 16:30:47 -04:00
Mikhail Shustov
78eb2bb8be
[Monitoring] remove imports from the legacy 'elasticsearch' package (#106955)
* do not import types from the legacy es package

* adjust tests
2021-07-28 21:43:45 +02:00
David Sánchez
5557599d3c
[Security solution][Endpoint] Set event filters form as error when there are no entries (#107003)
* Set form as error when there is no entries

* removes unused imports

* Add comparison
2021-07-28 21:35:02 +02:00
Paul Tavares
9fbb61276a
[Security Solution][Endpoint] Allow access to Endpoint Metadata for users that might only have readonly access (#107050)
* Remove `getScopedSavedObjectsClient()` from server `EndpointAppContextServices` (not used)
* new EndpointMetadataService service (handles GET of a single endpoint for now)
* ensure `getFleetAgent()` sets the current status for the agent
* Replace the Route handler for Get of single endpoint with new call to service
* Fleet: change agent service to also calculate and return the agent status via calls from the agent service
* Fleet agent generator changed to set a random status
* generic `createInternalReadonlySoClient()` with runtime validation for non-readonly methods

(cherry picked from commit b6e9d8d411)
2021-07-28 15:03:57 -04:00
Paul Tavares
cd75befd90
[Security Solution][Endpoint] Fix Endpoint List <SearchBar> to ensure that page_index is reset when new KQL is entered (#106918)
* Fix Endpoint List `<SearchBar>` to ensure that `page_index` is reset to 0 on enter
2021-07-28 15:00:57 -04:00
Alejandro Fernández Gómez
040cf56d8e
[RAC][Metrics UI] Index reason field on inventory metric alerts (#106842)
Co-authored-by: mgiota <giota85@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 13:32:09 -04:00
Tiago Costa
c4cb1f1bba
chore(NA): moving @kbn/ace to babel transpiler (#106922)
* chore(NA): first custom rules for jsts_transpiler

* chore(NA): update jsts_transpiler macro

* chore(NA): moving @elastic/datemath to babel transpiler

* chore(NA): change gitignore rules for bazel

* chore(NA): moving @kbn/ace to babel transpiler

* chore(NA): remove deps from js_library

* chore(NA): added runtime deps

* chore(NA): do not transpile packages/kbn-ace/src/ace/modes/x_json/worker/x_json.ace.worker.js

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 18:12:42 +01:00
ymao1
81a0267c7b
Gracefully handle decryption errors during ESO migrations (#105968)
* Updating unit tests

* Fixing types

* Updating readme and adding warning message

* Updating README

* PR fixes

* collapsing args to create migration fn

* Adding functional tests

* Adding comment to functional test

* Adding stripOrDecryptAttributesSync

* Using stripOrDecryptAttributesSync

* Fixing unit tests

* PR fixes

* PR fixes

* Moving validation of apikey existence in alerting task runner

* Cleanup

* Reverting changes to alerting task runner

* PR fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 13:04:20 -04:00
spalger
30a1020283 skip flaky suites (#107043) 2021-07-28 09:50:42 -07:00
Stacey Gammon
283223101d
Improve deprecated API list, and update api docs (#106942)
* Code to adjust deprecated api list

* updated docs

* fix and update tests
2021-07-28 12:44:17 -04:00
Adam Locke
0418637311
[DOCS] Change "See" to "Refer to" in new redirects (#107023)
Incorporate missed changes from @KOTungseth in #106996
2021-07-28 12:27:03 -04:00
Kaarina Tungseth
883113b5e4
[DOCS] Updates Advanced Settings and adds Labs (#106608)
* [DOCS] Updates Advanced Settings and adds Labs

* Fixes links

* Update docs/management/advanced-options.asciidoc

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

* Comments from review

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-07-28 10:14:22 -05:00
Anton Dosov
6559bf4071
[FieldFormatters] Remove aggs format decorator from fieldFormats.deserialize() (#106755) 2021-07-28 17:12:33 +02:00
Alison Goryachev
a1513eb98a
[Upgrade Assistant] Refactor ML deprecation response (#106847) 2021-07-28 10:54:50 -04:00
Lisa Cawley
b1c4e8e564
[DOCS] Move Kibana glossary to stack docs (#106938) 2021-07-28 07:51:49 -07:00
Mike Côté
39403dc3df
Include rule type id in alerting executor error message (#106775)
* Include rule type id in generic executor error message

* Add spaceId to message

* Fix formatting
2021-07-28 10:44:44 -04:00
Thomas Watson
c58148981c
Remove duplicate license comments (#106848) 2021-07-28 08:42:21 -06:00
Jonathan Budzenski
3d33710d5c Revert "[Security Solution][Endpoint] Allow access to Endpoint Metadata for users that might only have READONLY access (#106328)"
This reverts commit b6e9d8d411.
2021-07-28 09:26:29 -05:00
Jason Stoltzfus
904c370378
[App Search] Added a ReorderableTable component (#106306) 2021-07-28 09:16:43 -05:00
Adam Locke
5575b937c8
[DOCS] Remove Kibana TLS docs in favor of Stack docs (#106996)
* [DOCS] Remove Kibana TLS docs in favor of Stack docs

* Updating redirects to fix cross-doc link

* Fixing redirect headers

* Updating redirects to link to separate sections
2021-07-28 10:10:18 -04:00
Tiago Costa
b84362efbe
skip flaky suite (#103389) 2021-07-28 14:54:38 +01:00
Pablo Machado
2351447ceb
Fix add-cases comments error message is displaying after buttons (#106831) 2021-07-28 15:50:20 +02:00
Oliver Gupte
c68e0e8d11
[APM] Fix data streams docs link url (#105651) (#106954) 2021-07-28 15:21:01 +02:00
Christos Nasikas
2388ac5de7
[Actions] Swimlane: Fix connectorType schema (#106969)
* Fix connectorType schema

* Add integration test
2021-07-28 08:51:44 -04:00
Paul Tavares
b6e9d8d411
[Security Solution][Endpoint] Allow access to Endpoint Metadata for users that might only have READONLY access (#106328)
* Remove `getScopedSavedObjectsClient()` from server `EndpointAppContextServices` (not used)
* new EndpointMetadataService service (handles GET of a single endpoint for now)
* ensure `getFleetAgent()` sets the current status for the agent
* Replace the Route handler for Get of single endpoint with new call to service
* Fleet: change agent service to also calculate and return the agent status via calls from the agent service
* Fleet agent generator changed to set a random status
* generic `createInternalReadonlySoClient()` with runtime validation for non-readonly methods
2021-07-28 08:42:00 -04:00
Anton Dosov
deefe1ac83
[FieldFormats] fix register on start contract (#106828) 2021-07-28 14:05:17 +02:00
Anton Dosov
ecea2e7982
[FieldFormats] Lazy load field formats editors (#106439) 2021-07-28 07:59:32 -04:00
Liza Katz
eeb88b0833
[Data][Filters] Move more filter utils to package and cleanup API (#106566)
* Move more utils to package and cleanup API

* docs and imports

* better imports

* change comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 13:29:32 +02:00
Tiago Costa
7f810cd472
skip flaky suite (#100437) 2021-07-28 12:28:41 +01:00
Mat Schaffer
264813f8d7
Fix typo in ReasonFound test (#102690)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 19:38:11 +09:00
David Sánchez
dccdb621ce
[Security solution] [Endpoint] Adds API check for existing policies when saving/creating trusted apps (#106110)
* Adds API check for existing policies when saving/creating trusted apps

* Fixes wrong error message

* Fixes tests and replaces policy id by policy name in error message

* Updates error message text

* Address pr comments and remove old comments in code

* Addressed some pr comments and added type to the error response in order to know which kind of response it is

* removed unused imports

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 12:21:34 +02:00
Christos Nasikas
7987a4d2c4
[Cases] Fix connectors callout messages (#106525) 2021-07-28 06:13:45 -04:00
Stratoula Kalafateli
4b8b103706
[TSVB] Fixes bug with tophit aggregation and index not exist (#106814)
* [TSVB] Fixes bug with tophit aggregation and no fields index

* Update src/plugins/vis_type_timeseries/public/application/components/aggs/top_hit.js

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>

* Apply review comments

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-07-28 11:42:57 +03:00
Pete Harverson
f67737d9cc
[ML] Transforms: Add functional tests for UI permissions (#106693)
* [ML] Transforms: Add functional tests for UI permissions

* [ML] Fix for edit flyout action

* [ML] Stabilize tests that open the actions menu
2021-07-28 09:25:46 +01:00
Mark Hopkin
0c4c662ce7
fix: remove called to deprecated url.resolve (#106501)
* fix: remove called to deprecated url.resolve

* simplify joining of URL parts
2021-07-28 08:36:41 +01:00
Aleh Zasypkin
0bb761de32
Fix and re-enable basic login selector functional tests. (#106822) 2021-07-28 09:25:22 +02:00
Stratoula Kalafateli
581d2e87c4
[Timelion app] Stabilize the flakiness in cloud (#106826) 2021-07-28 09:06:44 +03:00