Commit graph

37757 commits

Author SHA1 Message Date
Thomas Neirynck
2d0106d66d
[Maps] Use default format when proxying EMS-files (#79760) 2020-10-27 09:23:07 -04:00
Maja Grubic
3228f7192d
[Discover] Deangularize context.html (#81442)
* [Discover] Deangularize context.html

* Removing snapshot testing

* Applying PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-27 12:57:15 +00:00
Tim Roes
b3af2e9508
Use the displayName property in default editor (#73311)
* Use displayName in field list in visualize editor

* Set key in combo box

* Fix jest tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-27 13:55:04 +01:00
MadameSheema
7ab5967eb7
adds bug label to Bug report for Security Solution template (#81643) 2020-10-27 13:42:42 +01:00
Walter Rafelsberger
5c40c20585
[ML] Transforms: Remove index field limitation for custom query. (#81467)
The query bar originally developed for the transforms wizard didn't work with indices with more than 1024 fields. In that case we disabled the query bar and showed an info-callout. Since we moved on to make use of the KQL query bar, this limitation does no longer exist so this PR removes the limitation.
2020-10-27 13:06:42 +01:00
ymao1
fd7f6b5716
[Actions] Adding hasAuth to Webhook Configuration to avoid confusing UX (#81390)
* Adding hasAuth to server and client

* Adding migration and fixing tests

* Fixing test

* Adding spacing

* Adding functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-27 07:45:02 -04:00
ymao1
e6ab812891
[Task Manager] Mark task as failed if maxAttempts has been met. (#80681)
* wip

* Adding updateFieldsAndMarkAsFailed function

* Updating UBQ

* Only updating retryAt if marking as claiming

* Updating query

* Updating query to only fail one time tasks that have exceeded max attempts

* Fixing tests

* Fixing tests

* Handling claiming tasks by id

* Removing unused function

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-27 07:40:44 -04:00
Joe Reuter
db0816f4a1
[Lens] Fix URL query loss on redirect (#81475) 2020-10-27 11:43:56 +01:00
Joe Reuter
2dcfe2a99f
Log reason for 404 in field existence check (#81315) 2020-10-27 11:43:42 +01:00
Jean-Louis Leysens
1712f0d441
[ILM] Migrate Warm phase to Form Lib (#81323)
* migrate all fields on warm phase except, data alloc, replicas and shrink

* introduce edit policy context to share original policy and migrate shrink and replicas fields

* Refactored biggest field; data allocation

Copied the entire field for now duplicating all of the components

* remove unused import

* complete migration of new serialization

* Remove last vestiges of legacy warm phase

- also removed policy serialization tests for warm phase

* fix existing test coverage and remove use of "none" for node attribute

* added policy serialization tests

* remove unused translations

* Fix use of useFormData after update

- also minor refactor to use useCallback in policy flyout now
  that getFormData changes when the form data changes.

* fix import path

* simplify serialization snapshot tests

* type phases: string -> phases: Phases

* Addressed some PR review items

- refactor toggle click to take a boolean arg
- refactor selection options in data tier component to use a func
  to get select options.

* updated data tier callout logic after new changes

* getPolicy -> updatePolicy

Also rather deconstruct the validate fn from the form object

* fix detection of migrate false and refactor serialization to pure function

* fix type issue

* fix for correctly detecting policy data tier type

- with jest tests see origin here:
https://github.com/elastic/kibana/pull/81642

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-27 09:43:39 +01:00
Frank Hassanabad
90c78f882e
[Security Solutions][Detection Engine] Fixes critical bug with error reporting that was doing a throw (#81549)
## Summary

Fixes an error where it was expecting some data structures on an ES error but there wasn't in some cases.

Before:
<img width="2246" alt="Screen Shot 2020-10-22 at 1 04 35 PM" src="https://user-images.githubusercontent.com/1151048/96940994-7d98a780-148e-11eb-93bd-77e4adf42896.png">

After:
<img width="2229" alt="Screen Shot 2020-10-22 at 5 45 31 PM" src="https://user-images.githubusercontent.com/1151048/96941005-84bfb580-148e-11eb-989f-1dae6892e641.png">

- [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
2020-10-26 22:21:47 -06:00
Justin Ibarra
20cfa16b7f
[Detection Rules] Add 7.10 rules (#81676) 2020-10-26 17:57:40 -08:00
Spencer
72ff6b8741
[kbn/optimizer] ignore missing metrics when updating limits with --focus (#81696)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-26 18:38:36 -07:00
Xavier Mouligneau
b304051d67
[SECURITY SOLUTIONS] Bugs overview page + investigate eql in timeline (#81550)
* fix overview query to be connected to sourcerer

* investigate eql in timeline

* keep timeline indices

* trusting what is coming from timeline saved object for index pattern at initialization

* fix type + initialize old timeline to sourcerer

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-26 20:46:32 -04:00
Nathan Reese
0592938a97
[Maps] fix unable to edit cluster vector styles styled by count when switching to super fine grid resolution (#81525)
* [Maps] fix unable to edit cluster vector styles styled by count when switching to super fine grid resolution

* fix typo

* tslint fixes

* review feedback

* more renames

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-26 18:05:52 -06:00
Yuliia Naumenko
ee7f16e312
Fixed migration issue for case specific actions, by extending email action migrator checks (#81673)
* Fixed migration issue for case specific actions, by extending email action migrator checks

* Fixed e2e test

* fixed due to comments
2020-10-26 17:03:41 -07:00
Tyler Smalley
aaa4795b83
[CI] Preparation for APM tracking on CI (#80399)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-10-26 15:42:38 -07:00
Catherine Liu
26cad3c351
[Home] Fixes Kibana app description order on home page and updates Canvas copy (#80057)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-26 15:39:31 -07:00
Joel Griffith
932e92b8ad
Make sure to is 'now' and not the same as from (#81524)
* Make sure `to` is 'now' and not the same as `from`

* Revert "Make sure `to` is 'now' and not the same as `from`"

This reverts commit 48e8d08213.

* Ensure `to` is properly rounded up to prevent `from` and `to` being identical

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-26 15:24:29 -07:00
Brandon Kobel
34af7161e5
Nitpicking the 8.0 Breaking Change issue template (#81678)
* Nitpicking the 8.0 Breaking Change issue template

* Rewording the percentage of users impacted question
2020-10-26 14:59:46 -07:00
Kevin Logan
b177eb726a
[SECURITY_SOLUTION] Fix text on onboarding screen (#81672) 2020-10-26 17:36:00 -04:00
Lukas Olson
bbd3098423
[data.search] Skip async search tests in build candidates and production builds (#81547)
* Skip async search tests in build candidates and production builds

* Add log when skipping
2020-10-26 14:02:02 -07:00
Mike Côté
141426d9ef
Fix previousStartedAt by not changing when execution fails (#81388)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-26 15:52:25 -04:00
Chris Roberson
d784840ac1
[Monitoring] Fix a couple of issues with the cpu usage alert (#80737)
* Fix a couple of issues with the cpu usage alert

* Fix tests

* PR feedback
2020-10-26 15:47:56 -04:00
Christiane (Tina) Heiligers
582e8e9145
Telemetry collection xpack to ts project references (#81269)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-26 11:54:04 -07:00
Rudolf Meijering
3f912547b8
Elasticsearch: don't use url authentication for new client (#81564)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-26 19:40:06 +01:00
Constance
7508321284
[App Search] Credentials: implement working flyout form (#81541)
* Add key name field

* Add key type field

* Add key read/write fields

* Add key engine access / selection

* Add key update warning callout

* Update flyout body with form components

* [PR feedback] i18n - change appSearch.tokens to appSearch.credentials

* [PR feedback] Remove unnecessary conditional
2020-10-26 11:30:06 -07:00
Larry Gregory
9f7ccc6b0e
Properly encode links to edit user page (#81562) 2020-10-26 14:14:51 -04:00
ymao1
7e34bf2dbc
[Alerting UI] Don't wait for health check before showing Create Alert flyout (#80996)
* wip

* Adding health context provider and option to block waiting for health check

* Adding tests

* Removing forced lag

* Fixing action form not rendering pre selected action

* PR fixes

* Updating i18n ids

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>

* Applying i18n fix

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
2020-10-26 13:30:27 -04:00
Chris Roberson
ac640f1a72
Unskip test (#81568)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-26 13:13:03 -04:00
Chris Cowan
43b31e1b2b
[Metrics UI] Fix Metrics Explorer API to return empty results when field is missing from aggregation (#80919)
* [Metrics UI] Fix Metrics Explorer API to return empty results when field is missing from aggregation

* Update x-pack/plugins/infra/server/routes/metrics_explorer/lib/convert_request_to_metrics_api_options.ts

Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>

* Fixing type

Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-26 08:59:46 -07:00
Xavier Mouligneau
96fd83b1a4
[SECURITY SOLUTION] exclude cloud alias index from our query (#81551)
* exclude cloud alias index

* only exclude cloud alias when logs-* is there
2020-10-26 11:20:16 -04:00
Larry Gregory
ca8341b593
Fix display of multiple roles in table views (#81603) 2020-10-26 11:01:31 -04:00
Nathan Reese
7f0e1c88bb
[Maps] fix auto-refresh not auto fitting to bounds (#81251)
* [Maps] trigger auto fit to bounds on refresh trigger

* default auto fit to data bounds to false

* update jest snapshots

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-26 08:45:08 -06:00
Shahzad
a9d53f22a3
[Trigger Actions UI] Properly unmount app (#81436)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-26 14:35:57 +01:00
Tiago Costa
378a4cbab2
skip flaky suite (#81576) 2020-10-26 13:18:00 +00:00
Tiago Costa
54e3893d57
skip flaky suite (#78373) 2020-10-26 13:15:08 +00:00
Tiago Costa
9d097083b1
Merge remote-tracking branch 'upstream/master' 2020-10-26 13:12:46 +00:00
Patryk Kopyciński
a8d8addacd
[Security Solution] Fix styling of EditDataProvider content (#81456)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-26 13:56:54 +01:00
Liza Katz
046c840b7c
[Search] Error Alignment 2 (#80965)
* Improve the display of ES errors and Http errors

* fixes

* Improve text

* fix ts

* update limit

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-26 14:36:20 +02:00
Søren Louv-Jansen
a31027fd98
[APM] Unskip test (#81574) 2020-10-26 13:22:41 +01:00
Dima Arnautov
68b982362b
[ML] Fix partition value selection on the Single Metric Viewer (#81585)
* [ML] remove tooltip wrapper for partition value control

* [ML] add spacer
2020-10-26 13:00:16 +01:00
Peter Pisljar
48adb07411
cleaning up expression service types (#80643) 2020-10-26 12:28:19 +01:00
Daniil Suleiman
b04066bfdb
Fix suggestions dropdown for query input (#80990)
* Fix suggestions

* Increase timeout

* Use abort controller

* Update abort controller

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-26 14:09:33 +03:00
Alejandro Fernández Haro
38c6d1f0b8
[Usage collection] Make schema mandatory (#79999)
Co-authored-by: Ahmad Bamieh <ahmadbamieh@gmail.com>
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-26 12:57:15 +02:00
Jean-Louis Leysens
0a0773a2f6
[ILM] Update show/hide data tier logic on cloud (#81455)
* Update show/hide data tier logic

only show data tier options on cloud if the cluster is not using
the deprecated node.data config and there is a data_* role
present. this will likely be a role like data_content which will
ensure that the cluster is configured with the new data tier
roles.

* refactor node role types for clarity

* added comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-26 11:37:35 +01:00
Jean-Louis Leysens
ab4dfcf89d
added brace import to advanced settings (#81458)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-26 11:19:07 +01:00
Ahmad Bamieh
82ba41c30d
[Plugin generator] Update readme (#81131) 2020-10-25 14:35:28 +02:00
Jen Huang
26cfda6f14
Add exact match filtering to in memory tables (#81539) 2020-10-23 13:23:31 -07:00
Marshall Main
3d200dd3e9
[Security Solution][Detections] Check mapping version on signals index (#81277)
* Check mapping version instead of template version and throw useful error messages on failures

* Fix comment

* Move MIN_EQL_RULE_INDEX_VERSION next to mapping version
2020-10-23 10:39:37 -04:00