Commit graph

43027 commits

Author SHA1 Message Date
Kibana Machine 8ec8946e8a
[load testing] remove extra loop and pass simulations to running script (#106997) (#107121)
* [load testing] remove loop and pass simulations seq

* pass string, not array to script

* pass var via export

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2021-07-29 06:28:54 -04:00
Alexey Antonov dc4dcf9af0
Vega maps visualization is blank in PDF and PNG reports. (#106974) (#107116)
Closes: #106141
2021-07-29 06:14:29 -04:00
Kibana Machine dc8b7af95a
[Security Solution] Behavior protection configuration card for policies integration (#106247) (#107115)
Co-authored-by: Esteban Beltran <academo@users.noreply.github.com>
2021-07-29 05:58:35 -04:00
Kibana Machine 11f80ae749
[Canvas] Flyout refactor. (#106728) (#107114)
* Removed `recompose`.

* Rewritten to functional component.

* `Connect` moved to `useSelector/useDispatch`.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Yaroslav Kuznietsov <kuznetsov.yaroslav.yk@gmail.com>
2021-07-29 04:23:11 -04:00
Kibana Machine f89910e4ac
[Data] do not import types from the legacy elasticsearch package (#106957) (#107112)
* do not import types from the legacy elasticsearch package

* update docs

* cleanup data_enhanced

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2021-07-29 04:13:18 -04:00
Kibana Machine 870840da18
[Aggregations] Create expression functions for object types used in agg params (#103494) (#107110)
Co-authored-by: Michael Dokolin <mikhail.dokolin@elastic.co>
2021-07-29 03:21:11 -04:00
Kibana Machine 9a631a779b
chore(NA): moving @kbn/utils to babel transpiler (#107010) (#107107)
* 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>

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-07-28 22:37:46 -04:00
Kibana Machine 8cf1510dff
[ML] Latency correlations: Fix "Failed to build correlative_value after last required field arrived" error. (#107040) (#107103)
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.

Co-authored-by: Walter Rafelsberger <walter@elastic.co>
2021-07-28 21:45:53 -04:00
Kibana Machine 3576b48345
chore(NA): moving @kbn/apm-utils to babel transpiler (#106989) (#107101)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-07-28 21:35:43 -04:00
Kibana Machine cbdacde69d
Remove all instances of EuiKeyboardAccessible (#106910) (#107095)
* remove all instances of EuiKeyboardAccessible

Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
2021-07-28 19:46:51 -04:00
Kibana Machine 8e7c5fe726
[kbn-pm] Default build and watch commands to use bazel (#105674) (#107090)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-07-28 23:04:38 +00:00
Kibana Machine 9f9f5cfc95
[api-docs] raise memory limit again (#107065) (#107092)
* [api-docs] raise memory limit again

* update buildkite script too

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

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-07-28 19:03:57 -04:00
Kibana Machine 6e1b5624be
chore(NA): moving @kbn/config-schema to babel transpiler (#106929) (#107088)
* 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>

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-07-28 18:53:21 -04:00
Kibana Machine 11dc3332ed
[Monitoring] remove imports from the legacy 'elasticsearch' package (#106955) (#107079)
* do not import types from the legacy es package

* adjust tests

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2021-07-28 18:05:23 -04:00
Kibana Machine 8695046560
[Security solution][Endpoint] Set event filters form as error when there are no entries (#107003) (#107076)
* Set form as error when there is no entries

* removes unused imports

* Add comparison

Co-authored-by: David Sánchez <davidsansol92@gmail.com>
2021-07-28 17:59:39 -04:00
Paul Tavares a55a618f32
[Security Solution][Endpoint] Allow access to Endpoint Metadata for users that might only have readonly access (#107050) (#107074)
* 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)

# Conflicts:
#	x-pack/plugins/security_solution/server/endpoint/endpoint_app_context_services.ts
2021-07-28 17:49:33 -04:00
Kibana Machine aeb1fa0d37
[Security Solution][Endpoint] Fix Endpoint List <SearchBar> to ensure that page_index is reset when new KQL is entered (#106918) (#107073)
* Fix Endpoint List `<SearchBar>` to ensure that `page_index` is reset to 0 on enter

Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
2021-07-28 17:32:41 -04:00
Kibana Machine f60b00ba9b
[Security Solutions] Removes deprecated types in kbn-securitysolution-* for newer kbn-es-query types (#106801) (#106869)
## Summary

Fixes https://github.com/elastic/kibana/issues/105731, by replacing these `any` types:

```json
type IFieldType = any;
type IIndexPattern = any;
type Filter = any;
```

With the types from `es-query` which are:
* IndexPatternFieldBase
* IndexPatternBase
* Filter

Note: I had to do a few creative casting to avoid having to use `FieldSpec` since that is not within the package `es-query` and is not planned to be within that package or another package for at least a while if ever.

### 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

Co-authored-by: Frank Hassanabad <frank.hassanabad@elastic.co>
2021-07-28 20:17:08 +00:00
Kibana Machine 61905cf92e
[RAC][Metrics UI] Index reason field on inventory metric alerts (#106842) (#107061)
Co-authored-by: mgiota <giota85@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Alejandro Fernández Gómez <alejandro.fernandez@elastic.co>
Co-authored-by: mgiota <giota85@gmail.com>
2021-07-28 15:55:18 -04:00
Kibana Machine 8ee1419468
chore(NA): moving @kbn/ace to babel transpiler (#106922) (#107056)
* 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>

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-07-28 19:37:39 +00:00
Kibana Machine 86ce6d9752
[7.x] [Cases] Fix connectors callout messages (#106525) (#106972)
* [Cases] Fix connectors callout messages (#106525)

* Fix i18n

Co-authored-by: Christos Nasikas <christos.nasikas@elastic.co>
2021-07-28 18:23:51 +00:00
Thomas Watson 96b2061780
Remove duplicate license comments (#106850) 2021-07-28 20:03:18 +02:00
Kibana Machine c52675e2eb
[FieldFormatters] Remove aggs format decorator from fieldFormats.deserialize() (#106755) (#107031)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-07-28 17:35:12 +00:00
Yuliia Naumenko 2c3734073d
resolved conflicts (#107009)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 13:19:08 -04:00
Alison Goryachev b2196b8b73
[Upgrade Assistant] Refactor ML deprecation response (#106847) (#107027) 2021-07-28 13:11:07 -04:00
Kibana Machine 30e4054e50
Include rule type id in alerting executor error message (#106775) (#107025)
* Include rule type id in generic executor error message

* Add spaceId to message

* Fix formatting

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
2021-07-28 13:04:18 -04:00
spalger 1b545df3f3 skip flaky suites (#107043)
(cherry picked from commit 30a1020283)
2021-07-28 09:51:37 -07:00
Kibana Machine 91cb6ddd17
[App Search] Added a ReorderableTable component (#106306) (#107021)
Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
2021-07-28 16:44:15 +00:00
Kibana Machine 65b2eeb721
[DOCS] Change "See" to "Refer to" in new redirects (#107023) (#107049)
Incorporate missed changes from @KOTungseth in #106996

Co-authored-by: Adam Locke <adam.locke@elastic.co>
2021-07-28 12:39:07 -04:00
Pablo Machado 54796c0114
Fix add-cases comments error message is displaying after buttons (#106831) (#107014) 2021-07-28 12:13:59 -04:00
Kibana Machine 6eada623db
[Actions] Swimlane: Fix connectorType schema (#106969) (#107001)
* Fix connectorType schema

* Add integration test

Co-authored-by: Christos Nasikas <christos.nasikas@elastic.co>
2021-07-28 16:05:38 +00:00
Kibana Machine 884a7efc06
[APM] Fix data streams docs link url (#105651) (#106954) (#107008)
Co-authored-by: Oliver Gupte <ogupte@users.noreply.github.com>
2021-07-28 11:45:18 -04:00
Liza Katz 919f187eff
Fix vis. search filter being overridden in dashboard (#106399) (#106998)
* fix vis search filter context being overridden in dashboard

* Revert "fix vis search filter context being overridden in dashboard"

This reverts commit ead7ef6ed3.

* updated filtering order in kibana context

* use buildFilter

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-28 11:38:07 -04:00
Kaarina Tungseth 2a362b7f3a
[DOCS] Updates Advanced Settings and adds Labs (#106608) (#107033)
* [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>

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-07-28 11:26:28 -04:00
Kaarina Tungseth d0c0fcd1ff
[7.x] [DOCS] Updates Lens and editor pages for 7.14 (#104756) (#106883)
* [DOCS] Updates Lens and editor pages for 7.14 (#104756)

* [DOCS] Lens features and changes for 7.14

* Aggregation reference

* Formatting

* Fixes terminology

* Updates from 8-Jul meeting

* Terminology

* Updates terminology, images, and tutorial steps

* Update docs/user/dashboard/lens-advanced.asciidoc

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

* Update docs/user/dashboard/create-panels-with-editors.asciidoc

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

* Update docs/user/dashboard/lens.asciidoc

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

* Comments from review

* Cleans up unused images

* Fixes image reference

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

* Fixes merge conflict and missing image

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
2021-07-28 10:44:17 -04:00
Kibana Machine 4434e96589
[FieldFormats] fix register on start contract (#106828) (#106994)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-07-28 10:25:00 -04:00
Kibana Machine ce702c4141
[DOCS] Remove Kibana TLS docs in favor of Stack docs (#106996) (#107019)
* [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

Co-authored-by: Adam Locke <adam.locke@elastic.co>
2021-07-28 10:21:49 -04:00
Kibana Machine 6e99000829
[FieldFormats] Lazy load field formats editors (#106439) (#106993)
Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2021-07-28 10:20:49 -04:00
Tiago Costa 02fdf6cd38
skip flaky suite (#103389) 2021-07-28 14:55:11 +01:00
Kibana Machine ec806c102f
[Uptime] monitor list layout fix (#106159) (#106987)
* update monitor list component to hide downtown history and accordion toggle in medium and large screens

* force page headings with flex content to wrap

* adjust types

* adjust variable naming for uptime monitor list

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Dominique Clarke <doclarke71@gmail.com>
2021-07-28 09:50:40 -04:00
Kibana Machine d4ef7a7eab
[Data][Filters] Move more filter utils to package and cleanup API (#106566) (#106988)
* 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>

Co-authored-by: Liza Katz <lizka.k@gmail.com>
2021-07-28 09:50:29 -04:00
Kibana Machine 76d1bd74ff
Upgrade url-parse from v1.5.1 to v1.5.3 (#106827) (#106979)
Co-authored-by: Thomas Watson <w@tson.dk>
2021-07-28 09:15:04 -04:00
Kibana Machine 3e2a915908
[Security solution] [Endpoint] Adds API check for existing policies when saving/creating trusted apps (#106110) (#106975)
* 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>

Co-authored-by: David Sánchez <davidsansol92@gmail.com>
2021-07-28 08:45:33 -04:00
Kibana Machine 9c28da7f73
[ML] Transforms: Add functional tests for UI permissions (#106693) (#106960)
* [ML] Transforms: Add functional tests for UI permissions

* [ML] Fix for edit flyout action

* [ML] Stabilize tests that open the actions menu

Co-authored-by: Pete Harverson <peteharverson@users.noreply.github.com>
2021-07-28 08:05:46 -04:00
Tiago Costa 9c72424ba2
skip flaky suite (#100437) 2021-07-28 12:29:19 +01:00
Stratoula Kalafateli 438ccc7988
[TSVB] Fixes bug with tophit aggregation and index not exist (#106814) (#106961)
* [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>

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-07-28 07:04:21 -04:00
Aleh Zasypkin 41352407dd
Fix and re-enable basic login selector functional tests. (#106822) (#106956)
# Conflicts:
#	x-pack/test/security_functional/tests/login_selector/basic_functionality.ts
2021-07-28 05:54:53 -04:00
Ignacio Rivas 220ee167ff
[Ingest pipelines] Add copy_from to set processor (#104070) (#106953)
* fix up validation conditions for fields

* add tests and fix prettier errors

* Small refactor and fix tests

* Fix copy surrounding error handling

* Clean up unnecessary boilerplate from tests

* Fix i18n error

* Keep optional select next to bound input

* Pass disabled prop as boolean

* fix test matchers

* No need to whitelist fields anymore

* Small CR changes

* Convert optional inputs to toggle state

* Fix testcase copy

* address CR suggestions

* address CR changes

* Fix i18n

* Fix labelAppend link alignment
# Conflicts:
#	x-pack/plugins/translations/translations/ja-JP.json
#	x-pack/plugins/translations/translations/zh-CN.json
2021-07-28 04:55:21 -04:00
Stratoula Kalafateli d79657675a
[Timelion app] Stabilize the flakiness in cloud (#106826) (#106952) 2021-07-28 04:28:05 -04:00
Kibana Machine 163eca90be
[data.search.autocomplete] Move autocomplete method to UI settings (#106331) (#106950)
* [data.search.autocomplete] Move autocomplete method to UI settings

* Use select rather than boolean

* Add ftue tour

* Make a select rather than text box

* Only show when focused and first time page is loaded

* Add docs link

* Reverse order of sections

* Update docs/concepts/index.asciidoc

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

* Update docs/concepts/index.asciidoc

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

* Docs updates

* setting

* telemetry

* Add links to docs

* Fix translations

* Fix failing test

* Fix test

* Fix tests

* Revert changes to querybar service

* Fix discover query

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Liza K <liza.katz@elastic.co>

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Liza K <liza.katz@elastic.co>
2021-07-28 02:17:22 -04:00