Commit graph

40676 commits

Author SHA1 Message Date
Stratoula Kalafateli bdfa9695dc
[Lens] Load indexpatterns list from indexPattern Service (#91984)
* [Lens] Load lists from indexPattern Service

* test that indexpattern service has not been called

* Use mock data

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 11:24:11 +02:00
Dmitry 556a882a24
[coverage] ingest data in parallel (#92074) 2021-02-21 15:03:47 +03:00
Marta Bondyra 65be9e0306
[Lens] Drag and drop performance improvements (#91641) 2021-02-21 10:02:04 +01:00
Nathan L Smith d5e025e089
A few more environment uiFilters fixes (#92044)
Some places in the service map and annotations were still attempting to use environment from uiFilters. Fix these.
2021-02-20 19:24:23 -06:00
Michail Yasonik d23c01b4be
Enabling Uptime and Dashboard a11y test (#91017) 2021-02-19 19:21:20 -05:00
Davis Plumlee 087449cbf6
[Security Solution][Detections] Adds more granular validation for nested fields (#92041) 2021-02-19 19:16:14 -05:00
Devin W. Hurley 52c4deceaa
[Security Solution] [Detections] add overflow-wrap for description (#91945)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 17:56:16 -05:00
Devin W. Hurley 5789a26ce3
[Security Solution] [Detections] do not truncate filename in value list table in modal (#91952) 2021-02-19 17:55:29 -05:00
Brian Seeders f1db49ff70
Skip flaky apm test #91673 (#92065) 2021-02-19 16:21:53 -05:00
Jonathan Budzenski 126ce49446
[docker] Default server.name to hostname (#90799)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 15:01:51 -06:00
Lisa Cawley a6a567f476
Use documentation link service for snapshot restore (#91596)
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
2021-02-19 11:56:09 -08:00
Steph Milovic fc77586b5a
[Security Solution] Clearing up all jest errors and warnings (#91740) 2021-02-19 12:41:55 -07:00
Alejandro Fernández Haro fb2f6abed2
Add @kbn/analytics to UI Shared Deps (#91810)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 13:59:03 -05:00
Pete Hampton 4e2601d9c9
[7.12][Telemetry] Add missing fields for security telemetry (#91920)
Co-authored-by: Thiago Souza <thiago@elastic.co>
2021-02-19 18:10:15 +00:00
MadameSheema 4a1134c732
[Security Solution] Adds cypress-pipe (#91550)
* introducing cypress-pipe

* moves cypress pipe and promise packages to dev dependencies

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 18:59:26 +01:00
Marco Vettorello 92301fe98d
[ML] Fix event rate chart annotation position (#91899) 2021-02-19 18:58:41 +01:00
Cauê Marcondes 405255cd97
[APM] Break down error table api removing the sparklines (#89138)
* breaking error table api

* shows loading state while fetching metrics

* adding api tests

* removing pagination from server

* adding API test

* refactoring

* fixing license

* renaming apis

* fixing some stuff

* addressing PR comments

* adding request id

* addressing PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2021-02-19 12:55:29 -05:00
Brandon Morelli 857300b147
docs: update dependencies table bug (#91964) 2021-02-19 09:51:10 -08:00
Devon Thomson 85bc8b0b42
[Time to Visualize] Stay in Edit Mode After Dashboard Quicksave (#91729)
* Make quicksave function stay in edit mode
2021-02-19 12:34:01 -05:00
Tim Sullivan d31119c204
Unskip Search Sessions Management UI test (#90110)
* Unskip Search Sessions Management UI test

* more logging

* logging

* ci test

* skip reload test

* add tm task to archives used by dependent tests

* --wip-- [skip ci]

* revert jest affecting changes

* fix search sessions archive

* add pagination test

* test organize

* log cleanup

* fix async in tests

* remove obsolete test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 10:28:50 -07:00
Jen Huang 10b1fddf35
[Fleet] Handle long text in agent details page (#91776)
* Fix #85521

* Set a minimum height for agent logs component #89831

* Truncate long integration names nicely #85404
2021-02-19 08:49:48 -08:00
Maja Grubic c8fab9f8cb
[Discover] Always show unmapped fields (#91735)
* [Discover] Always show unmapped fields

* Updating the functional test

* Remove unmapped switch toggle

* Some more code cleanup

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 16:41:00 +00:00
Cauê Marcondes 99a60caf81
[APM] Bug: Service overview - Sparkline loading state icons has changed (#91884)
* adjusting icon size

* Updating color
2021-02-19 11:15:40 -05:00
Thomas Neirynck d6984ca160
[Maps] upgrade mapbox-gl to v1.13.1 (#91564) 2021-02-19 10:56:52 -05:00
Jonathan Buttner a108469ec7
Allowing deletion of collections (#91926) 2021-02-19 10:50:35 -05:00
Aaron Caldwell eea6f82e4e
[Maps] Use new index patterns service for Maps telemetry (#86703)
Co-authored-by: Matt Kime <matt@mattki.me>
2021-02-19 08:00:01 -07:00
Alejandro Fernández Gómez 4d34a13bab
[Logs UI] Replace dependencies in the infra bundle (#91503) 2021-02-19 09:06:33 -05:00
Maja Grubic 8b909cedc8
[Search Source] Do not request unmapped fields if source filters are provided (#91921) 2021-02-19 14:05:47 +00:00
Cauê Marcondes 1fa742d0ce
[APM] Kql Search Bar suggests values outside the selected time range (#91918) 2021-02-19 08:57:14 -05:00
Yulia Čech f8fd08fbcd
Refactored component edit policy tests into separate folders and using client integration testing setup (#91657)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 14:34:52 +01:00
John Schulz 5bfcc096a6
[Fleet] Don't error on missing package_assets value (#91744)
## Summary
closes https://github.com/elastic/kibana/issues/89111

 * Update TS type to make `package_assets` key in EPM packages saved object optional
 * Update two places in code to deal with optional vs required property

### Checklist

- [ ] [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

#### Manual testing
1. checkout `7.10` branch
   1. **start ES:** `nvm use; yarn kbn bootstrap; yarn es snapshot --version 7.10.3 --license=trial  -E xpack.security.authc.api_key.enabled=true -E path.data=../data`
   1. **start Kibana**: `yarn start --no-base-path`
   1. **run** `curl -X POST -H 'kbn-xsrf: 1234' --user elastic:changeme localhost:5601/api/fleet/setup`
   2. **observe** `{"is_initialized: true}`
1. checkout `7.11` branch
   1. **start ES:** `nvm use; yarn kbn bootstrap; yarn es snapshot --version 7.11.1 --license=trial  -E xpack.security.authc.api_key.enabled=true -E path.data=../data`
   1. **start Kibana**: `yarn start --no-base-path`
   1. **run** `curl -X POST -H 'kbn-xsrf: 1234' --user elastic:changeme localhost:5601/api/fleet/setup`
   1. **observe** `{"is_initialized: true}`
1. checkout `master` branch
   1. **start ES:** `nvm use; yarn kbn bootstrap; yarn es snapshot --version 8.0.0 --license=trial  -E xpack.security.authc.api_key.enabled=true -E path.data=../data`
   1. **start Kibana**: `yarn start --no-base-path`
   1. **run** `curl -X POST -H 'kbn-xsrf: 1234' --user elastic:changeme localhost:5601/api/fleet/setup`
   1. **observe error** {"statusCode":500,"error":"Internal Server Error","message":"Cannot read property 'map' of undefined"}
1. checkout this PR `8911-fleet-startup-error`
   1. **start ES:** `nvm use; yarn kbn bootstrap; yarn es snapshot --version 8.0.0 --license=trial  -E xpack.security.authc.api_key.enabled=true -E path.data=../data`
   1. **start Kibana**: `yarn start --no-base-path`
   1. **run** `curl -X POST -H 'kbn-xsrf: 1234' --user elastic:changeme localhost:5601/api/fleet/setup`
   1. **observe success** `{"is_initialized: true}`

**_Notes_**
 * _you might need to do a `yarn kbn clean` when starting kibana if it fails. There have been some big changes in the tooling recently_
2021-02-19 07:40:16 -05:00
Joe Reuter bf7fdfc87c
[Lens] Pass used histogram interval to chart (#91370) 2021-02-19 11:30:40 +01:00
Stratoula Kalafateli 494d1decf5
[Indexpattern management] Use indexPatterns Service instead of savedObjects client (#91839)
* [Index pattern management] Use indexPatterns Service instead of savedObjects client

* Minor fixes

* Keep the same test setup
2021-02-19 11:54:28 +02:00
Frank Hassanabad 8d9ac0058f
[Security Solutions] Fixes Cypress tests for indicator match by making the selectors more specific (#91947)
## Summary

Fixes the indicator match rules cypress e2e tests by making the selectors more specific. Previously other rules and forms code which live on the DOM beside the indicator match rules could interfere when moving around on the DOM. Now with more specific selectors this should be less likely to happen.

If it does happen again I will make the selectors even more specific. 

### Checklist

- [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
2021-02-18 23:25:01 -05:00
Brian Seeders a164411286
[CI] backportrc can skip CI (#91886) 2021-02-18 21:00:19 -05:00
Jonathan Budzenski 539f33e53b Revert "[SOM] fix flaky suites (#91809)"
This reverts commit 386afdca8f.
2021-02-18 18:43:43 -06:00
Nicolas Chaulet fe35e0de3b
[Fleet] Install Elastic Agent integration by default during setup (#91676) 2021-02-18 18:45:15 -05:00
Jen Huang 0f804677de
[Fleet] Silently swallow 404 errors when deleting ingest pipelines (#91778)
* Only show transform logs when there are transforms

* Silently swallow 404 errors when deleting ingest pipelines

* Change to IngestManagerError
2021-02-18 13:43:03 -08:00
Lukas Olson 2408d00325
[data.search] Use incrementCounter for search telemetry (#91230)
* [data.search] Use incrementCounter for search telemetry

* Update reported type

* Retry conflicts

* Fix telemetry check

* Use saved object migration to drop previous document

* Review feedback

* Fix import

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-18 14:42:17 -07:00
Zacqary Adam Xeper 0760bfb870
[Fleet] Bootstrap functional test suite (#91898) 2021-02-18 16:34:50 -05:00
Yuliia Naumenko da25d2753b
[Alerts][Docs] Added API documentation for alerts plugin (#91067)
* Added API documentation for alerts plugin

* Added link to user api

* fixed links

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/create.asciidoc

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

* Update docs/api/alerts/delete.asciidoc

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

* Update docs/api/alerts/delete.asciidoc

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

* Update docs/api/alerts/disable.asciidoc

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

* Update docs/api/alerts/enable.asciidoc

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

* Update docs/api/alerts/disable.asciidoc

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

* Update docs/api/alerts/update.asciidoc

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

* Update docs/api/alerts/enable.asciidoc

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

* Update docs/api/alerts/find.asciidoc

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

* Update docs/api/alerts/find.asciidoc

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

* Update docs/api/alerts/find.asciidoc

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

* Update docs/api/alerts/find.asciidoc

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

* Update docs/api/alerts/find.asciidoc

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

* Update docs/api/alerts/find.asciidoc

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

* Update docs/api/alerts/get.asciidoc

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

* Update docs/api/alerts/get.asciidoc

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

* Update docs/api/alerts/health.asciidoc

Co-authored-by: Gidi Meir Morris <github@gidi.io>

* Update docs/api/alerts/health.asciidoc

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

* Update docs/api/alerts/health.asciidoc

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

* Update docs/api/alerts/health.asciidoc

Co-authored-by: Gidi Meir Morris <github@gidi.io>

* Update docs/api/alerts/health.asciidoc

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

* Update docs/api/alerts/health.asciidoc

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

* Update docs/api/alerts/health.asciidoc

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

* Update docs/api/alerts/list.asciidoc

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

* Update docs/api/alerts/health.asciidoc

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

* Update docs/api/alerts/health.asciidoc

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

* Update docs/api/alerts/list.asciidoc

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

* Update docs/api/alerts/list.asciidoc

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

* Update docs/api/alerts/list.asciidoc

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

* Apply suggestions from code review

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

* fixed due to comments

* fixed due to comments

* fixed due to comments

* fixed links

* Apply suggestions from code review

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

* fixed due to comments

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Gidi Meir Morris <github@gidi.io>
2021-02-18 12:36:25 -08:00
Nathan L Smith 863a2d06a4
Use correct environment in anomaly detection setup link (#91877)
This was still using `uiFilters.environment` instead of environment, so the warning would never show.
2021-02-18 13:58:55 -06:00
Brian Seeders a82b13d147
[FTSR] Convert to tasks and add jest/api integration suites (#91770) 2021-02-18 11:52:50 -08:00
Brian Seeders 03206b688a
[CI] Build and publish storybooks (#87701) 2021-02-18 14:13:23 -05:00
Brandon Morelli 043848787d
docs: add PHP agent info to docs (#91773) 2021-02-18 11:06:13 -08:00
Kaarina Tungseth 4ce0b6c14f
[DOCS] Adds and updates Visualization advanced settings (#91904) 2021-02-18 13:03:50 -06:00
Devon Thomson 0a685dbb63
[Time to Visualize] Dashboard Save As New by Default (#91761)
* changed dashboard save as to have save as new switch on by default
2021-02-18 13:49:26 -05:00
Brian Seeders 96bc9e868d
[CI] Ping assignees on Github PR comments (#91871) 2021-02-18 13:42:40 -05:00
Sébastien Loix eddf1c94b1
Index pattern field editor (#88995)
Index pattern field editor
2021-02-18 12:00:43 -06:00
Aaron Caldwell df8f2b1412
[Maps] Fix issue preventing WebGL warning message from appearing (#91069) 2021-02-18 10:48:42 -07:00