Commit graph

41847 commits

Author SHA1 Message Date
Thomas Watson
b89776db6d
Bump color-string from 1.5.3 to 1.5.5 (#96433) 2021-04-07 13:25:19 -04:00
Nicolas Chaulet
22f7f17fdf
[Fleet] Move fleet server indices creation out of Kibana (#96338) 2021-04-07 13:07:35 -04:00
Scotty Bollinger
92b659dae0
[Workplace Search] Add AccountHeader to Personal dashboard (#96353)
* Revert change to wrap setContext in useEffect

A recommendation was made to wrap the setContext call in a previous PR, which lets the app know if the context is org or account, in a useEffect call, for potential performance reasons. Unfortunately, this causes the lifecycle to change so that changing routes from org to personal dashboard does not register the change in time. This commit changes it back to a working state.

* Add constants and routes for Account nav

* Add AccountHeader component

* Add header to layout and fix height

The main layout stylesheet, https://github.com/elastic/kibana/blob/master/x-pack/plugins/enterprise_search/public/applications/shared/layout/layout.scss gives a static height that includes the main Kibana navigation. The height with the account nav only is added to the existing privateSourcesLayout css class

* Refactor test
2021-04-07 13:01:26 -04:00
spalger
6b9ba10958 Revert "[Telemetry] enforce import export type (#96199)"
This reverts commit ac46802830.
2021-04-07 09:50:36 -07:00
Paul Tavares
9a0c73e515
[Security Solution][Endpoint] Endpoint Event Filtering List, Test Data Generator and Loader (#96263)
* Added new const to List plugin for new Endpont Event Filter list
* Data Generator for event filters ++ script to load event filters (WIP)
* refactor `generate_data` to use `BaseDataGenerator` class
2021-04-07 12:36:28 -04:00
Thomas Watson
e6ef368cfe
Correctly specify css-minimizer-webpack-plugin as a dev-dependency (#96417) 2021-04-07 12:35:36 -04:00
spalger
752308f6d8 skip flaky suite (#96372) 2021-04-07 09:16:50 -07:00
hardikpnsp
ac46802830
[Telemetry] enforce import export type (#96199)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-07 17:16:39 +01:00
Thomas Watson
b96f60f727
Bump postcss-svgo from 4.0.2 to 4.0.3 (#96409) 2021-04-07 12:11:42 -04:00
Jason Stoltzfus
818a740033
[App Search] Added a query performance rating to the Result Settings page (#96230) 2021-04-07 11:56:31 -04:00
Kaarina Tungseth
532145b418
[DOCS] Add s an example for Timelion yaxis function (#96429) 2021-04-07 10:26:34 -05:00
Kaarina Tungseth
63a177e3fd
Adds canvas clog function (#96418)
* Add canvas `clog` function in the doc

* Add basic example to the `clog` canvcas function

* clog canvas function: switch definition/purpose

Co-authored-by: Laurent HUET <laurent.huet@gmail.com>
2021-04-07 10:19:29 -05:00
Kaarina Tungseth
5de5f23fc3
Updated asset code for canvas-expression-lifecycle (#96414)
The demo code need the asset to be wrapped in "' and asset- to be appended onto the id.

Co-authored-by: Zachary E Baxter <zachary.baxter@elastic.co>
2021-04-07 10:16:39 -05:00
Brian Seeders
c89922a55c
[project-assigner] remove extra bracket in issue-mappings config (#96428) 2021-04-07 11:08:12 -04:00
spalger
df46dc1900 skip flaky suite (#91107) 2021-04-07 08:05:11 -07:00
Yuliia Naumenko
76ed8dbeab
[Alerting UI] Changed alerting UIs use new rule APIs. (#96018)
* [Alerting UI] Changed alerting UIs use new rule APIs.

* added unit tests

* fixed types

* fixed types

* fixed types

* fixed due to comments
2021-04-07 07:54:12 -07:00
ymao1
bb109b533c
[Actions] Hiding time field selector if no field with date mapping in index in Index Connector flyout (#96080)
* Hiding time field selector if no field with date mapping in index

* Fixing types check

* Updating tooltip

* PR fixes
2021-04-07 10:44:12 -04:00
Walter Rafelsberger
f945f3a425
[ML] Transforms: Wizard displays warning callout for source preview when used with CCS against clusters below 7.10. (#96297)
The transforms UI source preview uses fields to search and retrieve document attributes. The feature was introduced in 7.10. For cross cluster search, as of now, when a search using fields is used using cross cluster search against a cluster earlier than 7.10, the API won't return an error or other information but just silently drop the fields attribute and return empty hits without field attributes.

In Kibana, index patterns can be set up to use cross cluster search using the pattern <cluster-names>:<pattern>. If we identify such a pattern and the search hits don't include fields attributes, we display a warning callout from now on.
2021-04-07 16:39:11 +02:00
Melissa Alvarez
7f4ec48ce6
[ML] Data Frame Analytics: add accuracy and recall stats to results view (#96270)
* add accuracy and recall to classification results

* update accuracy tooltip content
2021-04-07 10:32:20 -04:00
Mikhail Shustov
ba84a7105e
Deprecate migrations.enableV2 (#96398)
* deprecate migrations.enableV2

* provide deprecation test tool from core

* use deprecation test tool in tests

* add a test for SO depreacations
2021-04-07 16:30:34 +02:00
Rudolf Meijering
6fa23eb619
Add docs for v2 migration timeouts related to fleet-agent-events (#95370) 2021-04-07 16:14:26 +02:00
Dario Gieselaar
64470829de
[APM] Optimized type checking for API tests (#96388)
Closes #95634.
2021-04-07 15:17:04 +02:00
Jean-Louis Leysens
4d43a4f31d
[Rollup] Migrate to new ES client (#95926)
* initial pass at es client migration

* fixed potential for not passing in an error message and triggering an unhandled exception

* reworked ad hoc fixing of error response

* delete legacy client file and remove use of legacyEs service

* remove unused import

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-07 14:49:44 +02:00
Liza Katz
7584b728c6
[Search Sessions] Monitoring hardening part 1 (#96196)
* Decrease default pageSize to 100
Set default strategy
Don't create sessions when disabled
Clear monitoring task when disabled
Use concatMap to serialize session checkup

* ts

* ts

* ts

* Update x-pack/plugins/data_enhanced/server/search/session/session_service.ts

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>

* Search sessions are disabled

* Clear task on server start

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
2021-04-07 15:36:55 +03:00
Alexey Antonov
2efea06392
[TSVB] [Regression] Fix Top Hit / Filter Ratio aggregations (#96288)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-07 14:52:08 +03:00
Sébastien Loix
1327bfe6f9
[Runtime field editor] Reset validation when type change (#96302) 2021-04-07 11:28:58 +01:00
Alexey Antonov
80e3d21f47
[TSVB] Technical debt - remove default_index_pattern and default_timefield from model (#95925)
* [TSVB] Technical debt - remove default_index_pattern and default_timefield from model

* Update vis_editor.tsx

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-07 13:19:53 +03:00
Shahzad
6f7a7e4755
[Uptime] Migrate uptime query bar to global kuery bar (#93889) 2021-04-07 11:46:16 +02:00
Shahzad
d815403953
[Uptime] Fixed pagination styling (#95940)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-07 11:21:49 +02:00
Yulia Čech
011b234d15
Added readonly action in cold phase (#96036)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-07 11:16:12 +02:00
renovate[bot]
98fdf7fb84
Update dependency @elastic/charts to v28.0.1 (#96356)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-07 10:59:54 +02:00
Tiago Costa
532f38f091
skip flaky suite (#96362) 2021-04-07 03:46:47 +01:00
Clint Andrew Hall
43baacd246
Creating a Labs service for Presentation Solutions (#95435) 2021-04-06 21:06:49 -05:00
Cauê Marcondes
f1d6629321
[APM] exceptions are encapsulated on Kibana logs(#96343)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-06 19:02:56 -04:00
Quynh Nguyen
8051fa91d8
[ML] Fix runtime mappings not copy-able in Transform wizard (#95996)
* [ML] Fix transform runtime mappings not copy-able

* [ML] Fix histogram not updating after change

* [ML] Fix isRuntimeMappings imports

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-06 15:47:58 -05:00
Tyler Smalley
32a691f440 skip flaky suite (#92522) 2021-04-06 12:49:30 -07:00
Tyler Smalley
2ac6fc7ee2 skip flaky suite (#95376) 2021-04-06 12:47:39 -07:00
Tyler Smalley
0c33b1f90a skip flaky suite (#89477) 2021-04-06 12:45:18 -07:00
James Rucker
4610764426
Fix reauthenticate links for OneDrive and SharePoint (#96271)
For both OneDrive and SharePoint we define a service_type that has an
underscore in the middle (one_drive and share_point). This fixes the
route definitions so sources of these connector types can be
reauthenticated.
2021-04-06 12:19:23 -07:00
renovate[bot]
c18e3c8c3b
Update dependency @elastic/charts to v28 (master) (#96163) 2021-04-06 14:17:50 -05:00
Michael Marcialis
6b9ff48306
[Lens] Fix Chart Switcher Icon Color Contrast (#96146)
* add new lns prefixed classes to target icon colors

* correct groupPosition prop on visual options

* account for icon accent color contrast

* switch to ternary operator

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-06 14:51:15 -04:00
Yara Tercero
92b9482875
[Security Solution][Exceptions] - Moves remaining exceptions builder logic into lists plugin (#95266)
## Summary

Moves part of the exceptions UI out of the security solution plugin and into the lists plugin. In order to keep PRs (relatively) small, I am moving single components at a time. This should also then help more easily pinpoint the source of any issues that come up along the way.

The next couple PRs will focus on the exception builder. This one in particular is focused on moving over the `ExceptionBuilderComponent` which deals with rendering numerous exception items and their entries.

Quick Summary:
- `x-pack/plugins/security_solution/public/common/components/exceptions/builder/` → ` x-pack/plugins/lists/public/exceptions/components/builder/`
  - Corresponding unit test file moved as well 
  - Updated security solution exception builder to pull `ExceptionBuilderComponent` from lists plugin
2021-04-06 20:26:15 +02:00
Pierre Gayvallet
7f97f8bc59
notify main dev process when server is ready (#96332)
* notify main dev process when server is ready

* check for process.send existence
2021-04-06 09:37:33 -07:00
Patryk Kopyciński
8227ece885
Bump cypress@6.8.0 (#95041)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-06 12:22:59 -04:00
Melissa Alvarez
40cbb1fe79
[ML] Data Frame Analytics: adds functional tests for runtime fields support (#96262)
* add basic runtime mapping functional tests to analyics

* confirm runtime mapping added correctly.
2021-04-06 12:06:36 -04:00
Xavier Mouligneau
177322fd9e
[jest/securitySolution] Switch to jest-environment-jsdom (#96255)
* remove testEnvironment from jest config

* cleanup all cases

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-06 12:06:14 -04:00
Chris Cowan
91b727f412
[Metrics UI] Observability Overview Host Summary (#90879)
* [Metrics UI] Observability Overview Host Summary

* Adding UI elements

* Adding logos

* Changing the size of the request

* Change to new ECS fields for network traffic

* Adding logos to HostLink component

* Round seconds

* fixing data handler test

* Fixing test for metrics_overview_fetchers

* Adding types for SVG to observability

* Adding i18n support to table labels

* removing unused translations

* move back to host.network.(in,out).bytes

* Adding changes to source from #95334

* Fixing source type

* Removing unintentional change.

* Maybe, fixing types

* removing svg typings

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-06 08:38:12 -07:00
Matthew Kime
70b3b2bbc1
Index pattern field editor - copy improvements (#96269)
* copy update

* remove stray colon from copy
2021-04-06 10:36:24 -05:00
Clint Andrew Hall
b066e9714d
Convert components to use React.lazy for bundling (#96185)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-06 10:31:18 -05:00
John Schulz
2adc060044
[Fleet] Hide many actions for hosted agent policies (#96160)
## Summary

Fixes items 2a, 4a, 5c2, and 6 from https://github.com/elastic/kibana/issues/91906

### 2a - On the agents table, remove all actions except for "View agent"

[code commit](a93dd8cc7b) 

<img width="1090" alt="Screen Shot 2021-04-02 at 2 00 34 PM" src="https://user-images.githubusercontent.com/57655/113446102-1b40bd00-93c5-11eb-804b-2afec37a176b.png">
<img width="1100" alt="Screen Shot 2021-04-02 at 2 00 41 PM" src="https://user-images.githubusercontent.com/57655/113446103-1b40bd00-93c5-11eb-8aba-daa1aa539955.png">

### 4a & 5c2 On the agent policy list page, remove the "add agent" & "copy policy" actions which appears in the [...] actions menu
[code commit](f0c267f717)
<img width="1067" alt="Screen Shot 2021-04-02 at 2 36 57 PM" src="https://user-images.githubusercontent.com/57655/113446281-7b376380-93c5-11eb-9f82-03e957e6656c.png">
<img width="1104" alt="Screen Shot 2021-04-02 at 2 37 02 PM" src="https://user-images.githubusercontent.com/57655/113446282-7bcffa00-93c5-11eb-942c-1a98ebbab385.png">


### 6 - Do not show the the "revoke token" trash icon

[code commit](cd05cd0f97)
<img width="1088" alt="Screen Shot 2021-04-02 at 2 15 54 PM" src="https://user-images.githubusercontent.com/57655/113446176-4a572e80-93c5-11eb-9740-9723c1cb9f50.png">

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-06 11:00:30 -04:00