Commit graph

42248 commits

Author SHA1 Message Date
Matthias Wilhelm 597325c0de
[Discover] Fix wrong sort order with empty sort URL parameter (#97434)
Co-authored-by: Tim Roes <mail@timroes.de>
2021-04-20 20:29:47 +02:00
Matthew Kime 1b3851d58c
copy updates and snapshots (#97665) 2021-04-20 13:29:17 -05:00
Matthew Kime 9b7b7b8e72
Index patterns / scripted fields - convert sample data scripted fields to runtime fields (#97651)
* kibana_sample_data_logs scripted field to runtime field

* use runtime field instead of scripted field for flights sample data
2021-04-20 13:28:38 -05:00
Ross Wolf 8b20cbc3d8
[Security] Add telemetry for new protection types and arrays of objects (#97624)
* Add telemetry for new protection types and arrays of objects
* Add malware_signature to process.Ext + dll.Ext
* Fix comments for base fields
* Move naming convention disable to a line
* Fix unit test for rule.version
2021-04-20 14:25:21 -04:00
Greg Thompson 43850fae72
Update EUI i18n tokens (#97578)
* eui token updates

* outdated translations

* snapshot

* increase core limit

* limits

* clean up
2021-04-20 13:13:43 -05:00
Corey Robertson e7a9b3348c
[Canvas] Function usage telemetry (#97638)
* Adds telemetry for recent function usage

* Adds description for telemetry fields

* Update Telemetry Schema

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 14:04:36 -04:00
Jen Huang 10e52bb582
[Fleet] Add instructions and generation of a service token for Fleet Server onboarding (#97585)
* Don't block standalone agent instructions when not using Fleet server yet

* Add service token instructions - UI only

* Add route for regenerating fleet server service token

* generate tokens instead of regenerate and add error catching and tests

* fix i18n typo

* i18n fix, add sudo, copy edits

* Fix commands

* Add missing test file

Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 13:53:18 -04:00
Patryk Kopyciński f0a05e8c81
[Asset management] Fix UI capabilities validation (#97663) 2021-04-20 13:42:02 -04:00
Felix Stürmer a555338bdc
[Logs UI] Support runtime fields in the log threshold alert (#97603)
This enhances the log threshold alert executor to include the corresponding runtime mappings in the queries if the source is configured to use a KIP.
2021-04-20 19:39:54 +02:00
Dominique Clarke a4d35601b5
[Uptime] Add Custom Fleet Integration UI (#91584)
Register Synthetics integration package override to provide custom integration ui
2021-04-20 13:33:46 -04:00
Ahmad Bamieh 285178e704
[Usage collection] mark autocomplete duration configs as safe (#97659) 2021-04-20 13:26:26 -04:00
Dominique Clarke 1981be081f
[Uptime] condense waterfall chart visuals (#96914)
* condense waterfall chart visuals

* adjust font size of waterfall chart items to medium

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 13:25:07 -04:00
Dominique Clarke 00c797320d
[Uptime] Monitor Details - add Beta disclaimer to Uptime monitor details title (#96886)
* add Beta disclaimer to Uptime synthetics monitor details title

* update beta disclaimer to use EUIBadge

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 13:24:20 -04:00
Lisa Cawley d7c6e2762e
[ML] Add tooltips for actual and typical in anomalies table (#97549) 2021-04-20 10:22:59 -07:00
Spencer 39894c58bc
[cliDevMode] set server ready status to false when restarting (#97575)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-04-20 10:19:58 -07:00
Ryland Herrick 538a6c0eb4
[Security Solution][Detections]Update detection alert mappings to ECS 1.9 (#97573)
* adds snapshot test for getSignalsTemplate

* [CTI] Extracts non-ecs, non-signal mappings to separate file

* adds updated ECS mappings

* Normalize/clean up various mappings files

* Adds a wrapping "mappings.properties" around our extra mappings
* Spreads our other mappings similarly to ECS mappings
* Moves dynamic: false out of ECS mappings and into our main template
* Ensures we include 'threat.properties.indicator', since that's where
  our 'type: nested' declaration resides

* Update ECS mappings snapshot post-1.9 updates

This updated snapshot reflects the mappings changes that one will receive when
migrating/rolling over to a 7.13 alerts index.

* Update signals template version as per guidelines.

The last released mappings update was #92928, which bumped from 24 ->
25. The few unreleased updates since then have increased this by 1, but
since these changes are going out with 7.13 we are bumping by 10 _since
the last release_, in order to give "room" for minor releases.

* Fix cypress test failure due to updated mappings

This magic number represents "the number of mapped fields that begin
with 'host.geo.c' and, because this PR adds a mapping for
host.geo.continent_code, the test needed to be updated.

Co-authored-by: Ece Ozalp <ozale272@newschool.edu>
2021-04-20 12:15:07 -05:00
Ross Wolf 1925cea9a2
[Security][Fleet] Install the security_detection_engine package automatically (#97191)
* Automatically install the security_detection_engine package via fleet
* Update dockerImage to include the security_detection_engine package
* Update api/fleet/setup install test
* Update test data for Endpoint package
* Fix JSON token
* Update firis json entry in destination_index
* Update destination_index structure
* Update destination_index structure
* Change KQL query to unblock testing
* Restore KQL and fix JSON instead
* update timestamps to pass tests
2021-04-20 13:07:11 -04:00
Melissa Alvarez 296feabb36
[ML] DataFrame Analytics wizard: improve validation step messaging (#97338)
* improve validation messages and add checks

* disable form switch if job created

* updated included fields message

* update top classes message

* update top classes success message
2021-04-20 12:41:54 -04:00
Quynh Nguyen 02c6869126
[ML] Persist Apply time range switch setting in Anomaly Detection job selector flyout (#97407) 2021-04-20 11:19:23 -05:00
Wylie Conlon 5bdcff902d
[KQL] Skip slow wildcard checks when query is only * (#96902)
* [KQL] Skip slow wildcard checks when query is only *

* Fix case without index pattern

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 12:18:37 -04:00
Luke Elmers 0e4cbb38b7
[core.http] Cleanup catch-all route for paths with trailing slashes. (#96889) 2021-04-20 12:15:34 -04:00
Maja Grubic 9da3268323
[Discover] Support for runtime fields editor in mobile view (#97416)
* [Discover] Add runtime fields editor to mobile view

* Add a unit test

* Fix typescript issues

* Fixing layout on mobile

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 17:02:26 +01:00
Luke Elmers 12b245c4e5
[core.logging] Ensure LogMeta is ECS-compliant. (#96350) 2021-04-20 09:31:32 -06:00
Melissa Alvarez 366691a9c8
trigger creation from overview page (#97531) 2021-04-20 11:12:41 -04:00
Chandler Prall 59482009f6
Upgrade EUI to v32.1.0 (#97276)
* Upgradee EUI to v32.1.0

* Jest snapshots

* Update Discover datagrid test condition

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 09:10:53 -06:00
Ahmad Bamieh 0f4538195f
[Usage collection] Collect non-default kibana configs (#97368)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 11:02:27 -04:00
Alejandro Fernández Haro db7f279a03
HTTP-Server: Graceful shutdown (#97223)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 10:03:30 -04:00
Christiane (Tina) Heiligers 948aa3a9f5
[uiSettings]Removes Infinity from notifications lifetimes (#97384) 2021-04-20 06:52:10 -07:00
Melissa Alvarez ce2fec29e7
[ML] Data Frame Analytics results: ensure model evaluation stats are shown (#97486)
* ensure we check for NaN and Infinity in eval response

* add unit test
2021-04-20 09:49:10 -04:00
Uladzislau Lasitsa 7b030f3118
[TSVB] Fix working with kibana rollup indexes which includes wildcard symbol (*) (#97594)
* Fix working with kibana rollup indexes which includes wildcard in tsvb

* Fix CI
2021-04-20 16:46:27 +03:00
Garrett Spong f122e76559
[Security Solution][Detections] Adds Security Network ML Module to list of available jobs (#97014)
## Summary

This PR adds the `Security Network` ML Module to the available jobs displayed within the `ML Job Settings` UI within the Security Solution. Module was added as part of this PR: https://github.com/elastic/kibana/pull/96480




<p align="center">
  <img width="500" src="https://user-images.githubusercontent.com/2946766/114595590-c9f9be80-9c4b-11eb-9bcb-0c2d99b58195.png" />
</p>
2021-04-20 07:27:22 -06:00
Maja Grubic ec4b20ed4f
[Search Source] Fix field filtering (#97189)
* [Search Source] Fix field filtering

* Add more use-cases for source filtering

* Add more use-cases

* Change filtering to use fieldWildcardFilter

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 14:11:38 +01:00
Shahzad e6b0f80114
[Uptime] make index status api call unblocking (#97225) 2021-04-20 15:09:06 +02:00
Dario Gieselaar 7271827ff1
[APM] Show alerts in context (#97450) 2021-04-20 15:07:09 +02:00
Matthew Kime 5aebfdf779
Add scripted field deprecation message (#97574)
* add scripted field deprecation msg
2021-04-20 07:46:10 -05:00
Matthias Wilhelm 2ecbca0d8d
[Discover] Enable EuiDataGrid (#89264)
* Now the new EuiDataGrid based document table is the default

* Columns can be sorted by drag and drop

* Column width can be changed by drag and drop

* There's a fullscreen mode

* There's document selection 

* There's document navigation in the flyover of a expanded document

* Sorting is much more user friendly, less confusing and sort order can be changed by drag and drop
2021-04-20 14:43:02 +02:00
Jason Stoltzfus b57abad9dc
[App Search] 2 fixes for Result Settings (#97179) 2021-04-20 08:12:53 -04:00
Alison Goryachev 7c103bfb56
[Snapshot and Restore] Fix snapshot name wrapping issue (#97527) 2021-04-20 08:01:28 -04:00
Alison Goryachev f572fb9d7d
[Snapshot + Restore] prevent # char in repository name (#97495) 2021-04-20 08:00:37 -04:00
Pierre Gayvallet 12c2e7e488
Fix flaky SO import tests (#97586)
* Fix flaky SO import tests

* [will be reverted] remove all tests from CI group 8

* Revert "[will be reverted] remove all tests from CI group 8"

This reverts commit ede007ec

* Revert "[will be reverted] remove all tests from CI group 8"

This reverts commit ede007ec
2021-04-20 13:58:33 +02:00
Jean-Louis Leysens f72a0a6c7a
added aria-label to EuiIconTip (#97424) 2021-04-20 13:58:15 +02:00
Dmitry Shevchenko e5fe77b339
Disable duplicated rules by default (#96760) 2021-04-20 13:55:41 +02:00
Angela Chuang f8a3ea64e7
unskip tls integration test (#97597) 2021-04-20 12:51:21 +01:00
Alexey Antonov 37ea80d6fa
Fix date histogram fails on rollup index (#97369)
Closes: #97125

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 14:49:09 +03:00
Stratoula Kalafateli 0cec3439cb
[Discover] Adds an Options menu for switching between the two table modes (#97120)
* [Discover] Adds an Options menu for enabling the Legacy table

* Add unit test

* Layout and copy tweaks

* Update UI and fix unit test

* Change description text

* Revert legacy text mode functionality

Co-authored-by: Ryan Keairns <contactryank@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 14:06:57 +03:00
Dmitry Tomashevich 4faff46b53
[Timelion] Fixes bug with escape colons in field names in the metric/split parameter (#96770)
* [Timelion] add colons support in field names for metric

* [Timelion] support percent for metric

* [Timelion] get rid of array indexes

* [Timelion] get rid of lodash methods

* [Timelion] support colons in split. fix expression suggestions

* [Timelion] escape colons for metric

* [Timelion] use metric types common constants

* [Timelion] support one symbol field name

* [Timelion] resolve duplicate imports

* [Timelion] remove console logs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 12:53:25 +03:00
Marta Bondyra b227b8fc86
[Lens] fix amsterdam theme issues (#97237)
* adding border to the toolbar buttons

* Weird ranges/filters shadows/borders fixed

* suggestion shadows fixed

* adjusting border radius on workspace

* add new layer button

* adjust styles for filter by just like for filter agg

* don't show outer style for selecting the field item

* fix color button

* add padding to the button

* v8 conditional

* fix v7

* Update toolbar_button.scss

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 11:48:14 +02:00
Robert Oskamp a3c2aebb9f
[ML] Functional tests - stabilize anomaly charts embeddables test (#97452)
This PR stabilizes the anomaly charts embeddables test by adding a retry.
2021-04-20 11:38:16 +02:00
Angela Chuang e4bbdda129
use smaller piece of mock data (#96953)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-20 10:30:30 +01:00
Felix Stürmer 9ae605af93
[Logs UI] Display and query runtime fields from KIPs in the log stream and entry flyout (#97467)
This enhances the queries such that they pass runtime fields defined on Kibana index patterns as `runtime_mappings` in the log entry search strategies.
2021-04-20 11:22:14 +02:00