Commit graph

42469 commits

Author SHA1 Message Date
Yuliia Naumenko 33f47ba590
[Connectors][API] Updated connectors with isMissingSecrets flag (#98223)
* [Connectors][API] Updated connectors with enabledAfterImport flag

* fixed functional tests

* added new field to connectors API docs

* added update unit test

* fixed test

* renamed enableAfterImport to isMissingSecrets

* removed onExport

* revert the logic of true/false for isMissingSecrets

* fixed test

* fixed tests

* added unit test

* fixed docs

* fixed import text and button labels

* fixed import text

* fixed text
2021-04-27 14:14:01 -07:00
Stacey Gammon 1a1c36a99b
Update best_practices.mdx (#98032) 2021-04-27 16:50:39 -04:00
Nathan Reese 942243158d
[Maps] convert FeaturesTooltip to TS (#97920)
* [Maps] convert FeaturesTooltip to TS

* tslint

* pass addFilters to method to keep not null check closer to check for undefined

* FeaturesTooltip

* convert test to ts

* fix snapshot

* clean up cast

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-27 14:42:39 -06:00
Zacqary Adam Xeper 41b930c97c
[Fleet] Add troubleshooting link to setup instructions (#98531)
* [Fleet] Add troubleshooting link to setup instructions

* Add troubleshooting link to Fleet Server instructions
2021-04-27 16:39:13 -04:00
Nick Peihl cbd6f844cb
Fetch geojson using ems-client (#97908)
* Fetch geojson using ems-client

* Review feedback
2021-04-27 13:25:29 -07:00
Alejandro Fernández Haro 6ed93c3571
[Telemetry] Remove all usages of any (#98338) 2021-04-27 21:45:19 +02:00
Mikhail Shustov a386fd86f0
Fix SO migration integration tests (#98478)
* do not restart Kibana server on integration tests writing logs

* unskip tests

* do not write to ended stream to avoid a race condition

* revert changes to the File appender

* fix race condition on the logging_system level

enforce buffer usage for all the logs created during  disposal phase
2021-04-27 20:00:44 +01:00
Spencer 31660419ea
[kbn/es] disable geoip downloader at the root (#98372)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-04-27 11:31:07 -07:00
Felix Stürmer 0b16688a24
[Logs UI] Don't break log stream on syntactically invalid KQL (#98191) 2021-04-27 20:06:16 +02:00
Mikhail Shustov afc4aef9d5
Cleanup UI settings client API (#98248)
* remove unused overrideLocalDefault method

* remove unused getSasved$ method

* fix dashboard unit test

* update docs

* fix Security Solution unit test
2021-04-27 20:01:07 +02:00
Tiago Costa 7c043dc3de
chore(NA): moving @kbn/apm-config-loader into bazel (#98323)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-27 18:44:41 +01:00
Melissa Alvarez b0486caefd
ensure map supports old source index metadata (#98483) 2021-04-27 13:21:01 -04:00
Domenico Andreoli 35bd88e754
[DOCS] Fix development tests table (#98309)
* Fix visualization of consecutive inline code blocks
* Remove trailing '_' from the correct script name
2021-04-27 10:12:23 -07:00
Aleh Zasypkin 808959e316
Handle 401 Unauthorized errors in a more user-friendly way (#94927) 2021-04-27 19:09:54 +02:00
Nicolas Chaulet 52a90e3dc9
[Fleet] Use default port for fleet server cloud url (#98492) 2021-04-27 13:04:08 -04:00
Chris Cowan aa281ffad7
[Metrics UI] Unskip Home Page Functional Test (#98085)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-27 09:36:27 -07:00
Andrea Del Rio 8de766904d
[K8] Small fixes (#98099) 2021-04-27 09:12:17 -07:00
Walter Rafelsberger 18d9d435af
[ML] Transforms: Adds a link to discover from the transform list to the actions menu. (#97805)
Adds a link to discover from the transform list to the actions menu. Conditions for the link to be enabled:
- Kibana index pattern must be available
- Transform must have been started once and done some progress so there's the destination index available
2021-04-27 10:49:20 -04:00
Kaarina Tungseth 6c46e4107c
[DOCS] Drilldown docs changes for 7.13 (#98390) 2021-04-27 09:32:02 -05:00
Stratoula Kalafateli 2372700483
[Docs] TSVB supports url drilldowns on 7.13+ (#98460) 2021-04-27 17:31:16 +03:00
Joe Reuter d0b836b172
do not debounce chart (#98451) 2021-04-27 15:50:52 +02:00
Alexey Antonov 88288c8c51
[visTypeTimeseries] Reduce page load bundle to under 100kB #95873 (#97972)
* [visTypeTimeseries] Reduce page load bundle to under 100kB #95873

Closes: 95873

* ts-ignore -> ts-expect-error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-27 06:09:38 -07:00
Marco Liberati 088212b8db
[Lens] Prevent editor crash on histograms datatype mix (#98453) 2021-04-27 14:31:04 +02:00
Joe Reuter 61d57370fa
[Lens] Fix column order issues (#98261) 2021-04-27 14:14:16 +02:00
ymao1 b544be6ff2
[Alerting] Return 400 Bad Request errors when creating/enabling/updating rules using API key authentication (#98088)
* Catching API key creation errors and throwing bad request errors instead

* Catching API key creation errors and throwing bad request errors instead

* Adding warning to docs

* Updating error messages

* Updating tests

* Updating warning wording in docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-27 07:46:35 -04:00
Joe Reuter 6b8c44d113
[Lens] Build endzone markers (#97849) 2021-04-27 13:41:24 +02:00
James Gowdy c9832832df
[File Data Visualizer] Fixing missing css imports for file stats table (#98312)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-27 11:16:34 +01:00
Marco Liberati 6dd637630d
[Lens] Prevent React error on first field drop (#98269) 2021-04-27 10:27:04 +02:00
Pierre Gayvallet 328febabd3
migrate logstash plugin to new ES client (#98064)
* migrate logstash plugin to new ES client

* handle 404s

* use default ES client
2021-04-27 10:25:50 +02:00
Maja Grubic 26962cd705
[Discover] Cleanup in runtime fields editor functional test (#97820)
* [Discover] Cleanup in runtime fields editor functional test

* Add uuid to field label

* Adding field after the update

* Unskip test

* Remove uuid from custom label

* Remove unused import
2021-04-27 07:40:39 +01:00
Byron Hulcher 9cade4299f
[App Search] Empty shell view for engine source engines view (#96896)
* Add route to get source engines for meta engines

* New empty SourceEngines component

* Add SourceEngines to EngineRouter

* New SourceEnginesLogic file

* Hook up SourceEngines component to SourceEnginesLogic

* Update EngineNav link to manage source engines to point internally

* PR Feedback:
- Copy fixes
- Markup improvements
- Spleling erors
- Test improvements

* Move EnginesAPIResponse to shared types file

* Use existing mock for EngineLogic

* setSourceEngines -> onSourceEnginesFetch

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-26 21:49:30 -04:00
Clint Andrew Hall e2933b5141
[Canvas][Labs] Integrate Labs Service into Canvas (#96920) 2021-04-26 19:56:33 -05:00
Frank Hassanabad 23b84d6a52
[Security Solutions] Follow up of critical bug fixes for error toasters and error messages (#98220)
## Summary

Follow up from feedback and testing of:
https://github.com/elastic/kibana/pull/97945

This fixes a bug found with the older toaster notifications that can cause a screen stack trace:
<img width="1520" alt="Screen Shot 2021-04-22 at 5 32 57 PM" src="https://user-images.githubusercontent.com/1151048/115929514-2d9e9b80-a445-11eb-8017-eb21d800c472.png">

Adds more information and robust error handling when the messages are Kibana/NodeJS error messages.

Before:
<img width="808" alt="Screen Shot 2021-04-22 at 5 37 37 PM" src="https://user-images.githubusercontent.com/1151048/115929643-5de63a00-a445-11eb-93bc-5a826f371ef3.png">
After:
<img width="789" alt="Screen Shot 2021-04-22 at 6 23 52 PM" src="https://user-images.githubusercontent.com/1151048/115929651-62aaee00-a445-11eb-9c03-d56b488d238b.png">

### 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-04-26 16:19:53 -06:00
Nicolas Chaulet e44e4c7f34
[Fleet] Add the fleet server policy id to the install command (#98364) 2021-04-26 17:32:29 -04:00
Scotty Bollinger 17c8a53876
[Workplace Search] Update copy in source settings (#98358)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-26 17:26:44 -04:00
Zacqary Adam Xeper 47e66b10c9
[Fleet] Replace preconfiguration_id with SavedObject id (#98188)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-26 16:26:04 -05:00
Aaron Caldwell 6472e1a4b8
[Maps][File upload] Make index name form a component for reuse outside of file upload (#97744) 2021-04-26 17:24:19 -04:00
Sandra Gonzales aa7650699f
[Metrics UI] Anomaly Detection Flyout test (#98177)
* test anomaly detection flyout anomalies

* add date test

* date test no anomalies for k8s

* test the threshold for anomalies

* add metrics data so can test 'show in inventory' link

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-26 16:42:31 -04:00
Nicolas Chaulet 0f92c98fad
[Fleet] Link to edit deployment (#98349) 2021-04-26 16:38:21 -04:00
Constance 9b2d0c3354
[App Search] Fix error connecting state (#98234)
* Fix ErrorConnecting state to be caught/returned earlier

- This fixes AppSearch crashing when in an error connecting state and missing props required for AppSearchConfigured

- This also fixes the error connecting page not showing up for engine routes

- The SetupGuide route was moved to a top-level route, so that all views always have access to it no matter what

* [Extra] Simplify engine route/path

- Move engine/route path under the main <Layout>

- Change <AppSearchNav> behavior to pass subNavs based on route matches, rather than requiring a prop passed to it

+ add useRouteMatch mock

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-26 16:09:31 -04:00
Caroline Horn f07ebc822f
Reducing wrapping divs from RenderingService (#97017)
* Reducing wrapping divs from RenderingService

* Applying more styles to .kbnAppWrapper

Some being temporary and will need a better solution when introducing the page layout component

* Almost fixing tests for rendering service

Can’t figure out how to have a optional Observable
`Received: "kbnAppWrapper class-name”`

* Adding some comments

* [Dashboard] Using the APP_WRAPPER_CLASS

* fix test & ts types

* Fixin a few more tests that were using `.app-wrapper`

* Creating docs for new var and cleaning up some selectors

* Fixing reporting

* Fixing banner position and truncation

* Fixed CSS error in loading screen and jump in animation

* Fixing selectors in Canvas

* Remove unused var

* Added `APP_WRAPPER_CLASS` export from `server` and updated reporting to use it

* Fix monitoring icon clicks

* move APP_WRAPPER_CLASS definition to src/core/common

* Fixing Monitoring snapshots and wrapper class

* Moved `APP_WRAPPER_CLASS` utils but exported from `public` and `server`

* Remove old folder

* Fix dashboard test by only showing HR in edit mode

Co-authored-by: pgayvallet
Co-authored-by:  tsullivan
2021-04-26 16:06:06 -04:00
Uladzislau Lasitsa 509d75bcfe
[Visualization] Aggregation-based vis with date histogram - not progressing if current data is missing (#98012)
* Fix computation of domainMax

* Fix test

* Fix tests

* Fix tests

* Fix test

* Fix test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-26 23:04:53 +03:00
Larry Gregory 5e55f43d8f
Expose authc on public start contract (#98307)
* Expose authc on public start contract

* fix mock
2021-04-26 15:59:50 -04:00
igoristic 27f2d4a260
[Monitoring] Added ability to possibly distinguish between Agent type metrics in APM (#95129)
* Added version and cloud check

* Fixed tests

* Code review feedback

* Fixed tests

* added versions

* added version

* ...

* Removed default version

* ..

* Fixed test

* fixed tests
2021-04-26 15:43:15 -04:00
Dave Snider 0ecaec27e0
Fix widths/paddings of first two columns in dsc grid (#98251)
* Fix widths of first columns

* clean up gutters

* Fix functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-04-26 12:37:02 -07:00
Devon Thomson 6d9159e0b3
Fixed copyTo by only copying explicit input (#98083) 2021-04-26 15:36:28 -04:00
ymao1 b6e8e7be14
[Alerting] Stack alerts feature privilege test (#98195)
* Adding test to verify all registered stack alerts are in the feature privilege

* Checking all and read privileges

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-26 15:29:06 -04:00
Tiago Costa e3d52fc598
chore(NA): moving @kbn/expect into bazel (#98322) 2021-04-26 20:09:08 +01:00
Quynh Nguyen fd66e075ac
[ML] Fix Anomaly Explorer continuously re-render on swim lane cell selection (#98196)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-26 14:08:26 -05:00
Tiago Costa 56bce08611
skip suite blocking CI (#98351) 2021-04-26 19:13:22 +01:00