Commit graph

38164 commits

Author SHA1 Message Date
Brian Seeders 7d9f460a9c
[CI] Build docker image during packer_cache (#82145) 2020-11-18 11:17:41 -05:00
Luke Elmers 62e06aee9b
[esaggs][inspector]: Refactor to prep for esaggs move to server. (#83199) 2020-11-18 09:11:05 -07:00
Pierre Gayvallet b3eefb97da
SO Tagging: fix flaky test and re-enable it (#82930)
* fix flaky test and re-enable it

* wait for table to load before to perform operations

* move everything out of ciGroup2 for flaky test runner

* add debug block for flaky runner

* use correct vis name

* remove test sync

* Revert "move everything out of ciGroup2 for flaky test runner"

This reverts commit db86c3b5
2020-11-18 16:43:12 +01:00
Chris Cowan cc0d6c1b1f
[Metrics UI] Converting legend key to optional (#83495)
* [Metrics UI] Converting legend key to optional

* Adding check and default to legend component
2020-11-18 08:28:16 -07:00
Candace Park 69e3ceb474
[Security Solution][Endpoint][Admin] Malware user notification is a platinum tiered feature (#82894) 2020-11-18 09:57:55 -05:00
Dmitry b9fc45bb5d
update chromedriver dependency to 87 (#83624) 2020-11-18 15:22:20 +01:00
Alexey Antonov 7114db3b1d
[TSVB] use new Search API for rollup search (#83275)
* [TSVB] use new Search API for rollup search

Closes: #82710

* remove unused code

* rollup_search_strategy.test.js -> rollup_search_strategy.test.ts

* default_search_capabilities.test.js -> default_search_capabilities.test.ts

* remove getRollupService

* fix CI

* fix some types

* update types

* update codeowners

* fix PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-18 16:59:40 +03:00
Diana Derevyankina 957882a479
[TSVB] Y-axis has number formatting not considering all series formatters in the group (#83438)
* [TSVB] Y-axis has number formatting not considering all series formatters in the group

* Replace check for percent with a check for same formatters in common

* Remove unnecessary series check
2020-11-18 15:58:53 +03:00
Alejandro Fernández Gómez 00c0535946
[Logs UI] Update <LogStream /> internal state when its props change (#83302)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-18 11:44:14 +01:00
Pierre Gayvallet a7e5f07412
Add tag bulk action context menu (#82816)
* add the delete tag bulk action

* add unit tests for bulk delete

* fix duplicate i18n key

* add RBAC test on bulk delete

* add functional tests

* self review

* design nits

* add maxWidth option for confirm modal and add missing doc

* change bulk delete confirm modal max width

* add more missing doc

* only show loading state when performing the bulk delete

* use spacer instead of custom margin on horizontal rule

* use link instead of button to remove custom styles

* remove spacers, just use styles

* add divider when action menu is displayed

* set max-width for single delete confirm

* a11y fixes

* address nits

* add aria-label to delete action

Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
2020-11-18 10:27:11 +01:00
Dmitry 27125bce30
[code coverage] adding plugin to flush coverage data (#83447)
* [test/common] adding code coverage plugin

* start plugin only when CODE_COVERAGE flag is set

* build coverage plugin

* replace casting with custom Window interface
2020-11-18 10:24:13 +01:00
Alejandro Fernández Haro 484437f66d
[UsageCollection] Expose KibanaRequest to explicitly opted-in collectors (#83413) 2020-11-18 08:32:33 +00:00
Uladzislau Lasitsa 6ff61c003d
Added eventBus to trigger and listen plotHandler event (#83435) 2020-11-18 11:13:42 +03:00
Sébastien Loix e3c2dccf00
[Runtime fields] Editor phase 1 (#81472)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-11-18 09:10:00 +01:00
Aaron Caldwell 982639fc2a
[Maps] Fix threshold alert issue resolving nested fields (#83577)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-17 17:47:58 -07:00
Tiago Costa 085698ed62
chore(NA): remove usage of unverified es snapshots (#83589)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-18 00:18:31 +00:00
Kaarina Tungseth a46bf54fa1
[DOCS] Adds Elastic Contributor Program link (#83561) 2020-11-17 16:52:39 -05:00
Greg Thompson 8a7af5bbda
Upgrade EUI to v30.2.0 (#82730)
* eui to v30.2.0

* src snapshot updates

* x-pack euipanel snapshot updates

* x-pack external link updates

* security_solution_cypress external link text

* clean up
2020-11-17 14:29:57 -07:00
Phillip Burch bcc2afa9e2
Don't show loading screen during auto-reload (#83376)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-17 14:40:02 -06:00
Robert Oskamp 62436e3f03
Functional tests - fix esArchive mappings with runtime fields (#83530)
* Functional tests - fix esArchive mappings with runtime fields

* Modify jenkinsfile to run with unverified ES snapshot

* Adjust security index fields test for the new mapping structure

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-17 20:15:41 +00:00
Jonathan Budzenski b328492c0f
[deb/rpm] Create keystore after installation (#76465)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-17 14:14:54 -06:00
Jonathan Budzenski 24c8b82b2c
[rpm] Create default environment file at "/etc/sysconfig/kibana" (#82144)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-17 14:09:09 -06:00
Tiago Costa 31014bfc9a
[docker] removes workaround for missing crypto-policies-scripts subpackage (#83455)
* Revert "[build] Use 8.2 tag of ubi-minimal (#82688)"

This reverts commit a89176e265.

* chore(NA): remove workaround for missing crypto-policies-scripts subpackage

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-17 19:46:45 +00:00
Dima Arnautov bc22b67ba7
[ML] Persisted URL state for the Data frame analytics jobs and models pages (#83439)
* [ML] support table settings from the URL state

* [ML] fix management page

* [ML] models page support

* [ML] update URL generator

* [ML] rename id column

* [ML] update types and tests

* [ML] fix id column name and field

* [ML] remove legacy functions

* [ML] set id key for the job query text

* [ML] fix id column rendering

* [ML] ad jobs with usePageUrlState

* [ML] update unit tests for solutions
2020-11-17 19:29:47 +01:00
Julien Guay 7c8b9a1f00
adds xpack.security.authc.selector.enabled setting (#83551)
setting xpack.security.authc.selector.enabled introduced in 7.7.0 by https://github.com/elastic/kibana/pull/53010 is currently missing for docker entrypoint script
2020-11-17 11:59:57 -06:00
Tyler Smalley 8d4642b538 skip flaky suite (#77279) 2020-11-17 09:37:31 -08:00
Quynh Nguyen 55119c2152
[ML] Improve support for script and aggregation fields in anomaly detection jobs (#81923)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-17 11:34:15 -06:00
Scotty Bollinger 46d587a19f
[Workplace Search] Migrate SourcesLogic from ent-search (#83544)
* Copy and paste sources logic

This is simply a copy & paste of the sources_logic file from ent-search. The only changes were adding the comment at the top and changing how lodash imports, per linting requirements

* Add types

The “I” prefix has been removed, per agreed-upon standard

* Add type declaration to staticSourceData

Yay TypeScript  🙄

* Update route path

For all other routes, we use the account/org syntax. For this one, I missed it and forgot to add ‘account’ for the route path. This fixes it

* Update SourcesLogic to work with Kibana

- Remove routes/http in favor of HttpLogic
- Remove local flash messages in favor of global messages
- Update paths to imports
- Remove "I"s from interface names
- Varions type fixes
2020-11-17 10:28:44 -06:00
Quynh Nguyen 9c0164a2d8
[ML] Add UI test for feature importance features (#82677)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-17 10:07:46 -06:00
Elizabet Oliveira 292dbcc739
[Maps] Improve icons for all layer types (#83503)
* Improve icons for all layer types

* EMS boundaries icon

* Adding tracks layer icon
2020-11-17 16:03:39 +00:00
Melissa Alvarez 389e7a1d6a
Replace experimental badge with Beta (#83468) 2020-11-17 10:57:52 -05:00
John Schulz cf7aacc1c0
[Fleet][EPM] Unified install and archive (#83384)
## Summary

 * Further reduce differences between installing uploaded vs registry package
 * Improve cache/store names, TS types, etc. Including key by name + version + source
 * Add a cache/store for PackageInfo (e.g. results metadata from registry's /package/version/ response)
 * Remove ensureCachedArchiveInfo
2020-11-17 10:42:00 -05:00
Jonathan Budzenski d0441e1fee
Move src/legacy/server/keystore to src/cli (#83483)
Currently keystore parsing is in the legacy http server folder.
Keystore references end in src/cli so instead of migrating to
core/server the I opted for the closest fit in the CLI folder.

Closes #52107
2020-11-17 09:19:46 -06:00
Yuliia Naumenko 8b658fbcd2
Used SO for saving the API key IDs that should be deleted (#82211)
* Used SO for saving the API key IDs that should be deleted and create a configuration option where can set an execution interval for a TM task which will get the data from this SO and remove marked for delete keys.

* removed invalidateApiKey from AlertsClient

* Fixed type checks

* Fixed jest tests

* Removed test code

* Changed SO name

* fixed type cheks

* Moved invalidate logic out of alerts client

* fixed type check

* Added functional tests

* Fixed due to comments

* added configurable delay for invalidation task

* added interval to the task response

* Fixed jest tests

* Fixed due to comments

* Fixed task

* fixed paging

* Fixed date filter

* Fixed jest tests

* fixed due to comments

* fixed due to comments

* Fixed e2e test

* Fixed e2e test

* Fixed due to comments. Changed api key invalidation task to use SavedObjectClient

* Use encryptedSavedObjectClient

* set back flaky test comment
2020-11-17 06:44:54 -08:00
Shahzad 2fb04a6d41
[Uptime] Mock implementation to account for math flakiness test (#83535) 2020-11-17 14:44:06 +01:00
Scotty Bollinger e4516ee0e9
[Workplace Search] Enable check for org context based on URL (#83487)
* Add regex check to determine whether url is org

As a part of the Kibana migration, we are switching the URL structure to put the prefix on the personal dashboard. In ent-search, org routes were prefixed with `/org`. In Kibana the prefix switches to non-org routes and they will be prefixed with`/p`

* Add isOrganization boolean to logic
2020-11-17 07:37:46 -06:00
Jason Stoltzfus 9b5605f4c4
[App Search] Added all Document related routes and logic (#83324) 2020-11-17 08:09:21 -05:00
ymao1 ee81b5fc04
[Alerting UI] Fix console error when setting connector params (#83333)
* Fixing console errors

* Setting defaults for undefined inputs in text area/field with message variables

* Cleanup

* Cleanup

* Fixing pagerduty timestamp validation

* Fixing test

* Pagerduty params

* Reverting unnecessary changes
2020-11-17 07:29:10 -05:00
Matthias Wilhelm 0a7f462939
[Discover] Allow custom name for fields via index pattern field management (#70039)
Co-authored-by: Matt Kime <matt@mattki.me>
2020-11-17 13:18:07 +01:00
Shahzad de8931546d
[Uptime] Fix monitor list down histogram (#83411) 2020-11-17 13:06:51 +01:00
Mikhail Shustov 48231c8400
remove headers timeout hack, rely on nodejs timeouts (#83419) 2020-11-17 12:28:41 +01:00
Dimitris Athanasiou 95ff10b47a
[ML] Update console autocomplete for ML data frame evaluate API (#83151)
We have added evaluation for all types of data frame analysis
since the last update. This commit updates autocomplete accordingly.
2020-11-17 12:48:25 +02:00
Joe Reuter 95e44f25a6
[Lens] Color in dimension trigger (#76871) 2020-11-17 10:19:13 +01:00
Joe Reuter 846b94d862
create metric before bucket agg (#83432) 2020-11-17 10:11:44 +01:00
Thomas Watson 9caaa0c7e0
Bump Node.js from 12.19.0 to 12.19.1 (#83452) 2020-11-17 09:41:35 +01:00
Aleh Zasypkin c043eafcda
Upgrade nodemailer dependency (4.7.06.4.16). (#83445) 2020-11-17 09:27:19 +01:00
Vadim Dalecky 80f63f6159
Clean up UI Actions Enhanced server plugin (#83442)
* chore: 🤖 remove unused code

* refactor: 💡 don't pass plugin definition to a function

* perf: ️ fetch factory from registry only once
2020-11-17 09:15:23 +01:00
Daniil 04d79f8891
Fix styles loading order (#83299)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-17 11:11:55 +03:00
Nathan Reese a2c91f18c6
[Maps] saved object tagging (#83197)
* add tag selector to save modal

* save tag references onSave

* populate tags when unwrapping attributes

* tslint

* update listing page to show tags

* fix data-test-subj id in functional tests

* i18n cleanup

* tslint

* remove unused import

* use listingTable service for functional tests

* tslint and fix mvt grid layer functional test

* review feedback

* add tags to all privileges and add test user to find, delete, get, get_all, and update tests

* move functions to module scope

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-16 19:52:15 -07:00
Nathan L Smith 6ea1940c42
Overview heights and loading states (#83360)
* Overview heights and loading states
* Set the chart height to fill the whole container
* Remove the initial loading spinner for the tables and always show the progress bar
* Make the last seen column on the errors table a bit wider so it doesn't wrap
* Make a `ServiceOverviewTable` component that pins the pagination to the bottom of the panel
* Show the loading spinner on charts when doing updates
2020-11-16 18:55:49 -06:00