Commit graph

37992 commits

Author SHA1 Message Date
Aleh Zasypkin
a63c390ae0
Remove redundant call to _authenticate API after access token is created. (#82980) 2020-11-10 18:12:47 +01:00
Ryan Keairns
28305237a3
Remove kibana-core-ui-designers (#82962)
The people in `kibana-core-ui-designers` have been rolled into the `kibana-design` team.
All `.scss` changes will now ping `kibana-design` since the `kibana-core-ui-designers` entries were overrides (occurring later in this file).
2020-11-10 10:50:54 -06:00
Patryk Kopyciński
915f718c6e
[Security Solution] Fix DNS Network table query (#82778) 2020-11-10 17:36:35 +01:00
Scotty Bollinger
8ff92f2b40
[Workplace Search] Consolidate groups routes (#83015)
* [Workplace Search] Consolidate groups routes

This PR consolidates all of the groups route resgistration functions into a single export so that the `registerWorkplaceSearchRoutes` function only has to call the top-level routes

* Remove redundant test
2020-11-10 10:30:45 -06:00
Catherine Liu
4dba10c76a
Adds cloud links to user menu (#82803)
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
2020-11-10 09:51:27 -06:00
Yara Tercero
00ca555cd9
[Security Solution][Detections] - follow up cleanup on auto refresh rules (#83023)
### Summary

This is a follow up cleanup PR to #82062 . There were a few comments I hadn't gotten to and wanted to follow up on.
2020-11-10 10:50:31 -05:00
Jason Stoltzfus
291c34c84c
[App Search] Added the log retention panel to the Settings page (#82982)
* Added LogRententionPanel

* i18n

* fix axe failure

* Update x-pack/plugins/enterprise_search/public/applications/app_search/components/settings/log_retention/messaging/determine_tooltip_content.test.ts

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

* Apply suggestions from code review

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

* PR Feeback: interpolation

* Apply suggestions from code review

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

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
2020-11-10 10:25:59 -05:00
Nathan Reese
2332c8b6d8
[Maps] show icon when layer is filtered by time and allow layers to ignore global time range (#83006)
* [Maps] show icon when layer is filtered by time and allow layers to ignore global time range

* show icon if layer is narrowed by time fitler

* tslint

* apply global time to source check box

* apply global time to join check box

* tslint and jest expect updates

* one more tslint fix

* tslint, fix apm jest test, update time filter icon when disabling applyGlobalTime

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-10 08:25:32 -07:00
Kaarina Tungseth
1b86d79319
[DOCS] Consolidates drilldown pages (#82081)
* [DOCS] Consolidated drilldowns

* Review comments pt 1

* Update docs/user/dashboard/drilldowns.asciidoc

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>

* Fixes supported drilldowns link

* Update src/core/public/doc_links/doc_links_service.ts

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>

* Fixes rogue disable section and fixes intro formatting

* Fixes URL drilldown link

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-10 09:11:21 -06:00
Thomas Neirynck
e909cee7f1
[Maps] add on-prem EMS config (#82525)
Adds.a new `map.emsUrl` setting. User can configure this to the location of a local on-prem installation of EMS. For this setting to take effect, the cluster must be configured with an enterprise license.
2020-11-10 09:49:20 -05:00
Pierre Gayvallet
f49ee068f4
migrate i18n mixin to KP (#81799)
* migrate i18n mixin to KP

* directly load the config from i18n service

* add base tests

* update telemetry schema

* update legacy telemetry schema

* fix server tests

* use paths from config service instead of manually loading the plugin config

* add tests for get_translation_paths

* add tests for i18n service

* add plugin service test

* update generated doc

* improve tsdoc
2020-11-10 15:16:58 +01:00
Alexey Antonov
b2d6b66fe5
[bundle optimization] fix imports of react-use lib (#82847)
* [bundle optimization] fix imports of react-use lib

* add 2 more files

* add rule into eslintrc.js

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-10 17:15:26 +03:00
Maja Grubic
dc489e48a4
[Discover] Add metric on adding filter (#82961) 2020-11-10 14:14:25 +00:00
Marco Liberati
0b99841310
[Lens] Performance refactoring for indexpattern fast lookup and Operation support matrix computation (#82829)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-10 14:31:04 +01:00
Tiago Costa
6003cadce4
skip flaky suite (#82804) 2020-11-10 12:43:39 +00:00
Larry Gregory
451e387f40
Fix SO query for searching across spaces (#83025) 2020-11-10 07:37:44 -05:00
Bill McConaghy
446cffeccf
renaming built-in alerts to Stack Alerts (#82873)
* renaming built-in alerts to Stack Alerts

* responding to PR feedback and adding glossary definition for stack alerts

* Update docs/glossary.asciidoc

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

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-11-10 07:21:52 -05:00
Stratoula Kalafateli
a7a83fd421
[TSVB] Disable using top_hits in pipeline aggregations (#82278)
* [TSVB] Disable using top_hits in bucket script aggregations

* remove console message

* Correct schema for metrics size

* Chanhe hardcoded agg with the exported for the METRIC_TYPES var

* Exclude top_hit agg from all Sibling Pipeline Aggregations and all Parent Pipeline Aggregations

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-10 13:42:12 +02:00
Stratoula Kalafateli
471c281fa2
[Visualizations] Remove kui usage (#82810)
* [Visualize] Remove kui usage

* Use EuiPromptButton istead of EuiCallout

* Add a link to advanced settings for visualizations docs

* Changes requested on code review

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-10 13:34:05 +02:00
Stratoula Kalafateli
af5f299b6f
[Visualizations] Make the icon buttons labels more descriptive (#82585)
* [Visualizations] Make the icon buttons labels more descriptive on the Vis Editor

* Fix jest test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-10 13:24:07 +02:00
Denis Maximov
0503f873f8
[Lens] Do not reset formatting when switching between custom ranges and auto histogram (#82694) 2020-11-10 11:25:28 +01:00
Yulia Čech
1de3a02a46
Fix ilm navigation (#81664)
* Fix edit policy page navigation

* Fix edit policy page navigation

* Add links to PR for explanation

* Added more tests and linked to a github issue about navigation issues

* Fix decoding function for undefined values

* Fix type check issues

* Renamed dollar sign to percent sign, added a method for (double) encoded paths and better description in test names

* Deleted Index Management from required bundles in ILM

* Fixed merge conflicts

* Revert "Deleted Index Management from required bundles in ILM"

This reverts commit 5a735dfe

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-10 11:09:37 +01:00
Marco Liberati
bafe9dfea1
[Lens] Distinct icons for XY and pie chart value labels toolbar (#82927) 2020-11-10 10:05:32 +01:00
Luke Elmers
f193d9c962
[data.search.aggs] Throw an error when trying to create an agg type that doesn't exist. (#81509) 2020-11-09 17:33:13 -07:00
Matthew Kime
7a67cffe37
Index patterns api - load field list on server (#82629)
The server side index patterns api can now load the field list. Previously it would error if a field list refresh was required.

The regular and rollup index pattern field list loading methods were merged. Rollup index patterns require additional functionality over regular index patterns when it comes to loading the field list, but this won't be necessary once rollups v2 is released.
2020-11-09 17:11:21 -06:00
IgorG
bf758312cd
New events resolver (#82170)
* Added Test for event.library

* renamed data directry and gzip data file

* rename expectedData file

* Changes per Charlie request

* Changes for the enable_APM-ci branch

* Update resolver.ts

* Added comment per Charlie request

* Update resolver.ts

* Added Alert Test for Resolver and fix for the APM enabled Run fail

* Added Alert Test for Resolver and fix for the APM enabled Run fail

* removed commented out code

* Fixing CI fail

* Fixing CI fail

* Removed Alert Resolver test

* aAdding Alert test back

* Adding Alert test back

* Adding Alert test back

* Adding info log for debuging

* Adding info log for debuging

* Adding info log for debuging

* Adding info log for debuging

* Adding info log for debuging

* Adding info log for debuging

* adding one more verification for Data

* stripedd Data file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-09 14:35:16 -08:00
Constance
04c583e2b0
[App Search] Misc naming tech debt (#82770)
* Rename `engine_overview` folder to `engines`

- To better match ent-search folder structure
- Also rename/clarify pluralization of "Engines" where possible, to distinguish between individual Engine Overview pages

* DRY out Engines and Meta Engines titles

* DRY out Credentials title

* DRY out Settings title

* DRY out Role Mappings title

* Update localization keys to match changes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-09 14:10:22 -08:00
Lee Drengenberg
ae6f5afe8d
load empty_kibana in test to have clean starting point (#82772)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-09 15:58:16 -06:00
Luke Elmers
c6afc47f32
Remove data <--> expressions circular dependencies. (#82685) 2020-11-09 13:01:22 -07:00
CJ Cenizal
729631a76d
Update 8.0 breaking change template to gather information on how to programmatically detect it. (#82905) 2020-11-09 11:56:56 -08:00
Mike Côté
76fd29a452
Add alerting as codeowners to related documentation folder (#82777)
* Add alerting as codeowners to related docs folders

* Move up

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-09 14:43:44 -05:00
Larry Gregory
48dbf9d653
Add captions to user and space grid pages (#82713)
* Add captions to user and space grid pages

* Address PR feedback: reword captions

* remove unused i18n values

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-09 14:16:18 -05:00
Lee Drengenberg
83e51f5688
add alternate path for x-pack/Cloud test for Lens (#82634)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-09 11:46:36 -06:00
Christiane (Tina) Heiligers
fdb9d76fbd
Uses asCurrentUser in getClusterUuid (#82908)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-09 10:31:21 -07:00
Steph Milovic
e1b7073a64
[Alerting][Connectors] Add new executor subaction to get 3rd party case fields (#82519) 2020-11-09 10:08:00 -07:00
Lee Drengenberg
1885dda6e6
Fix test import objects (#82767)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-09 11:01:33 -06:00
Quynh Nguyen
9c984f4723
[ML] Add option for anomaly charts for metric detector should plot min, mean or max as appropriate (#81662) 2020-11-09 10:41:04 -06:00
DeFazio
2c05957582
Update alert type selection layout to rows instead of grid (#73665)
* Update layout to rows for alert types

* Fix gutter usage

* Update heading, remove icons

* Non-working update to the combo box

* Add incorrect updates with questions to fix

* Fix combo box

* Cleanup changes to specific to this module

* fixed type checks and made combobox always visible

* Added groups by producer

* Added get producer name from kibana features names

* Added search bar with list of alert types

* Added search support functionality

* fixed links to alert type

* added alert type title

* Fixed failing tests

* Design updates to list

* Remove unsed items in import list

* fixed merge issue

* Fixed due to comments

* fixed tests

* Design fixes

Co-authored-by: Yuliia Naumenko <yuliia.naumenko@elastic.com>
2020-11-09 08:38:39 -08:00
Aleh Zasypkin
45ddd69ca2
Prevent Kerberos and PKI providers from initiating a new session for unauthenticated XHR/API requests. (#82817)
* Prevent Kerberos and PKI providers from initiating a new session for unauthenticated XHR requests.

* Review#1: fix comment.
2020-11-09 17:34:20 +01:00
Larry Gregory
55cf3bd0a6
Update grunt and related packages (#79327)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-09 11:33:57 -05:00
Larry Gregory
bc9dd3ade0
Allow the repository to search across all namespaces (#82863) 2020-11-09 11:29:31 -05:00
Jonathan Budzenski
89547bc016
[deb/rpm] Set pid.file to /run/kibana/kibana.pid (#82209)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-09 10:07:59 -06:00
Nicolas Chaulet
441a0d4ec9
[Fleet] Move ingestManager plugin to fleet (#82886) 2020-11-09 11:07:04 -05:00
Jonathan Budzenski
b5e6d7c29d
[deb/rpm] Remove /var prefix from tmpfiles.d (#82196)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-09 10:05:26 -06:00
Patryk Kopyciński
d2d30e7f80
Bump cypress dependencies (#82815) 2020-11-09 16:54:48 +01:00
Jonathan Budzenski
0a71f2c45e
[deb/rpm] On upgrade, restart kibana service (#82049)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-09 09:50:57 -06:00
Jason Stoltzfus
d5736b10a9
[Enterprise Search] Log retention settings logic (#82364) 2020-11-09 10:46:19 -05:00
Tiago Costa
66f7f9c306
fix(NA): missing change from KIBANA_PATH_CONF to KBN_PATH_CONF on bin script (#81500)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-09 15:26:54 +00:00
Marco Liberati
97e2dc853b
[Lens] Extend Datasource props validation with VisualizationGroups (#82607)
*  First pass with visualization validation + error messages

* 🔥 Remove indexpattern error handling for now

* 🏷️ Fix type issues

*  Add getErrorMessage test for data table

*  Add tests for pie and metric error messages

* 🌐 Fix i18n checks issues

* 🐛 Fix last issue

*  Add more tests for the XY visualization validation code

* 👌 Included all feedback from first review

* ✏️ Off by one message

* 🌐 Fix i18n duplicate id

* 🌐 Fix last i18n issue

* 🐛 Fixed a hook reflow issue

* ♻️+ Reworked validation flow + tests

* 🏷️ Fix type issue

* 🐛 Improved XY corner cases validation logic

* 🐛 Fix empty datatable scenario

*  +  Improved error messages for invalid datasources + tests

* 🌐 Add missing i18n translation

* 🏷️ Fix type issues

* 🌐 Fix i18n issues

*  Filter out suggestions which fail to build

* 🚚 Migrate datatable validation logic to the building phase, handling it as building state

* 🏷️ Fix type issue

* ✏️ Add comment for future enhancements

* ✏️ Updated comment

* :world_with_meridians: Refactor axis labels

* 🌐 Reworked few validation messages

* 🐛 Fix break down validation + percentage charts

*  Align tests with new validation logic

* ♻️ Fix suggestion panel validation to match main panel

* 🌐 Fix i18n issues

* 🔧 Fix some refs for validation checks in suggestions

* 🐛 Fix missing key prop in multiple errors scenario

* 🐛 Fix swtich issue from XY to partition

* 🌐 Fix i18n messages and aligned tests

* 🐛 Fix suggestions switching bug

* :refactor: Add more validation + refactored validation logic in a single place

* ✏️ Add note about lint hooks disable rule

* 🚨 Fix linting issue

* 🏗️ Add infra API for datasource advanced validation

*  Align tests with new API

*  Fix type issues in tests

* 👌 Early exists added

*  Add layers groups to the API

*  Fix some broken test after the validation change

* 👌 Move to disctionary shape

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-09 15:22:21 +01:00
Marco Liberati
09aec4defd
Indexpattern edit field formatter API fix for scripted field (#82876)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-09 15:21:15 +01:00