Commit graph

43617 commits

Author SHA1 Message Date
Caroline Horn
e4833514e9
[K8] Added Inter font files for new theme (#102359)
Updated the `Fonts` file to accept a `themeVersion` and only use the old Beta files if `v7`.
2021-06-17 16:18:54 -04:00
Constance
02c1c61828
[Workplace Search] Convert Groups pages to new page template (#102449)
* Convert Groups page to new page template

* Convert Groups > Group overview to new page template

- Because dataLoading is no longer an early return, certain items need to be converted to conditional checks in order for the app to not crash

* Convert Groups > source prioritization to new page template

* Convert Group subnav to EuiSideNav format

* Update routers
2021-06-17 16:01:24 -04:00
François-Clément Brossard
8270959760
[DOC] Add experimental disclaimer to rollup jobs (#95624)
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 15:51:01 -04:00
Paul Tavares
a24d3a705f
[Security Solution][Endpoint] Suppress some of the jest console.error noise created by endpoint list middelware (#102535)
* Mock KibanaServices with services from app context renderer + fix error noise in endpoint host tests
* silence more error noise to the console
* Added options to the ApiHandlerMock function to be able to suppress errors to the console
* Endpoint list - Refactor Fleet mocks for reuse
* Add default http mocks to the app context render test utility
2021-06-17 15:11:38 -04:00
Alejandro Fernández Gómez
cd5cd65fb2
[Fleet] Improve performance of Fleet setup (#102219)
* Remove endpoint from the default packages

* Change the default spinner for the initial load

* Export fleet endpoint package as a constant

* Use constants for special packages

* Simplify type signature of `isRequiredPackage`

* Remove unused types

* Simplify required and default package definitions

* Treat REQUIRED_PACKAGES as independent from DEFAULT_PACKAGES

We want to keep the assumption that the lists contain the same packages
only in `epm/constants.ts`

* Install all default packages, not only the required ones

* Document the purpose of each package list

* Handle auto-update for non-default packages

* Make `endpoint` non-removable

* Make endpoint package be installed by default in tests

* Rename requiredPackages to unremovablePackages

* Fix type check

* Add Endpoint to be installed by default on Fleet tests too

Co-authored-by: Jen Huang <its.jenetic@gmail.com>
2021-06-17 11:58:41 -07:00
Chris Roberson
9bbb9e4128
[Alerting] Add event log entry when a rule starts executing (#102001)
* Add event log entry when a rule starts executing

* Add in alertId

* Add more logging and fix tests

* Use existing startTiming logic

* Add additional tests
2021-06-17 14:58:13 -04:00
John Schulz
db34f0c6af
[Fleet] Update docker image of registry used in integration tests (#101911)
## Summary

 * Use a more recent Docker image for package registry used in integration/API tests. 
    * [New image](https://container-library.elastic.co/r/package-registry/distribution:fc104ac437370d80518e24da6d0b84370edf0c0c) is from Jun-14 [old image](https://container-library.elastic.co/r/package-registry/distribution:b6a53ac9300333a4a45f3f7d350c9aed72061a66) is from Apr-14
 * Add support for using a custom Docker registry using `FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE` env var
    * e.g. `production` tag
    ```
    FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE='docker.elastic.co/package-registry/distribution:production' FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:runner
    ```
    or a personal one
    ```
    FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE='docker.elastic.co/employees/jfsiii/package-registry-distribution:kb90454' FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:runner

    ```

- [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-06-17 14:55:17 -04:00
Bryan Clement
62f3a55cd8
[Asset Management] Osquery telemetry updates (#100754)
* first pass of basic osquery usage stats collection

* updates, linting

* updated exported metrics

* clean up comments, add description fields to metric fields

* reworked types

* actually use the updated types

* added tests around the route usage recoder functions

* review comments

* update aggregate types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 14:53:27 -04:00
Christiane (Tina) Heiligers
557a658545
Converts saved object tagging to new management layout (#102284) 2021-06-17 14:46:30 -04:00
Lisa Cawley
e3454ead84
[DOCS] Updated Kibana alerting/rules language (#101977) 2021-06-17 11:14:12 -07:00
Nicolas Chaulet
b8153946c7
[Fleet] Sync hash history with Kibana scoped history (#102523) 2021-06-17 13:57:35 -04:00
Thomas Watson
dc5972cc4a
Upgrade ws v7.4.2 to v7.4.6 (#102198) 2021-06-17 10:33:30 -07:00
Shahzad
4d474bfe4d
[User Experience App] Use filters shared component (#101459)
Co-authored-by: Casper Hübertz <casper@formgeist.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 19:19:16 +02:00
Maja Grubic
0cf0eab6e0
[Discover] Hide multi fields in Doc Viewer (#101929)
* Add multifields flag in the Advanced settings

* Implement hiding of multifields

* Update failing unit test

* Fix telemetry

* Show muti fields in a single doc view

* Mock getServices so that tests pass

* Readd fields to sidebar

* Removing showMultifields flag from angular

* Remove unnecessary import

* Applying text changes according to Gails suggestion

* Fix i18n error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 18:13:53 +01:00
Ryland Herrick
ac07ebba87
[Security Solution] kbn package for generic hook utils (#101976)
* Adds boilerplate for new hook-utils package

* Move existing, identified utils into our hook-utils package

Updates references, and fixes a few missing config that were preventing
packages from building.

* Extracts a common type and adds a little more JSdoc for clarity

* Adds new useObservable hook

Similar to useAsync (a nearly identical interface), this is meant to
wrap a thunk returning an observable, allowing conditional invocation
and progressive updates as the observable continues to emit.

* Remove orphaned test

This function (and its tests) were moved to the hook-utils package; this
was simply missed.

* Remove optional chaining from kbn package

The build system does not currently support these typescript features.
While a valid fix would also have been to build separate browser and
node targets a la #99390, the use here was very minimal and so changing
to a supported syntax was the most pragmatic fix.

* Update old reference in test file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 12:09:17 -05:00
Christiane (Tina) Heiligers
a0effa1ebd
Converts Saved Object Management to the new management layout (#102281) 2021-06-17 13:04:16 -04:00
Steph Milovic
06be699862
[Security Solution] [Cases] Various Cases cleanups (#102103) 2021-06-17 10:52:04 -06:00
Constance
0e14cef4cb
[Workplace Search] Convert Settings pages to new page template (#102445)
* Convert Settings > Customize to new page template

* Convert Settings > oAuth application to new page template

+ DRY form wrappers, update test

* Convert Settings > Connectors to new page template

* Convert source config view to new page template

* Convert Settings subnav to EuiSideNav format

+ update main WS nav

* Update routers
2021-06-17 09:36:17 -07:00
Constance
1627240ff8
[Workplace Search] Convert Overview & Security pages to new page template (#102444)
* Convert WS Overview page to new page template

* Misc Overview refactors

- Fix extra spacing caused by hidden onboarding steps

- Default page title to "Organization overview" instead of to onboarding title which flashes during loading

- Prefer shallow over mount (will matter later, when WorkplaceSearchPageTemplate nav includes more kea logic)

* Convert Security page to new page template

+ misc ux enhancement disabling header actions while data is still loading
2021-06-17 09:28:14 -07:00
Constance
e8c16e310f
Fix logout link not working on local dev (#102451) 2021-06-17 09:08:51 -07:00
Sandra Gonzales
ae411dd1e9
fix node id comparison (#101941)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 11:52:51 -04:00
Tyler Smalley
c735342ea9
[docker] Audit of missing settings (#102504)
Discovered the banner settings were missing and took the time to audit
the settings to ensure everything in the docs is present.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-17 11:50:18 -04:00
Dan Panzarella
9be0d4d5ad
[Security Solution] Endpoint Pending Action full count (#102502) 2021-06-17 11:47:26 -04:00
Jonathan Budzenski
c79519a90f skip flaky suite. #102332 2021-06-17 10:34:00 -05:00
Josh Dover
97feae3d1b
Add xpack.cloud.full_story configuration (#102363) 2021-06-17 10:25:32 -04:00
Josh Dover
02971177cc
Display Kibana overall status in the logs and have FTR wait for green status before running tests (#102108) 2021-06-17 10:19:07 -04:00
Robert Oskamp
a9d7431b45
[ML] Functional tests - fix and re-enable module API tests (#102477)
This PR fixes and re-enables the temporarily skipped API test suite for ML modules.
2021-06-17 16:13:10 +02:00
Dzmitry Lemechko
3707496627
Load testing/restart stack for simulation (#102492)
* [load testing] restart Kibana & ES before each simulation

* [load testing] add sleep 30s before starting ES/Kibana
2021-06-17 16:07:21 +02:00
Søren Louv-Jansen
ca523479d1
[APM] Remove omitEsFieldValue and update parseEnvironmentUrlParam (#101876) 2021-06-17 15:54:05 +02:00
Marco Liberati
421493c57a
[Lens] More memoization work on the editor_frame (#102186)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 15:47:08 +02:00
Jean-Louis Leysens
7a08bd8b69
[Fleet] Add packages to global search results (#102227)
* added public-side implementation for package search

* added a test for the new search results provider and updated behaviour

* added comment about open issue regarding hash router in fleet

* fixed jest tests

* refactor to reduce size of if statement

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 15:45:28 +02:00
Dmitry Tomashevich
0cfd04c87d
[Discover] Migrate angular context app controllers to react (#100530)
* [Discover] migrate remaining context files from js to ts

* [Discover] get rid of any types

* [Discover] replace constants with enums, update imports

* [Discover] use unknown instead of any, correct types

* [Discover] skip any type for tests

* [Discover] add euiDataGrid view

* [Discover] add support dataGrid columns, provide ability to do not change sorting, highlight anchor doc, rename legacy variables

* [Discover] update context_legacy test and types

* [Discover] update unit tests, add context header

* [Discover] update unit and functional tests

* [Discover] remove docTable from context test which uses new data grid

* [Discover] update EsHitRecord type, use it for context app. add no pagination support

* [Discover] resolve type error in test

* [Discover] move fetching methods

* [Discover] complete fetching part

* [Discover] remove redundant controller

* [Discover] split up context state and components

* [Discover] revert redundant css class

* [Discover] rename component

* [Discover] revert to upstream changes

* [Discover] return upstream changes

* [Discover] refactoring, context test update

* [Discover] add tests for fetching methods, remove redundant files

* [Discover] remove redundant angular utils, add filter test

* [Discover] refactor error feedback

* [Discover] fix functional test

* [Discover] provide defaultSize

* [Discover] clean up code

* [Discover] fix eslint error

* [Discover] fiix context settings

* [Discover] return tieBreaker field check

* [Discover] optimize things

* [Discover] optimize rerenders

* Update src/plugins/discover/public/application/components/context_app/context_app.tsx

Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>

* [Discover] resolve comments

* [Discover] replace url instead of pushing to history. refactoring

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>
2021-06-17 16:27:26 +03:00
Aaron Caldwell
246e7be3e5
[Maps] Add layer edit controls (#99812)
Co-authored-by: miukimiu <elizabet.oliveira@elastic.co>
2021-06-17 09:21:45 -04:00
Søren Louv-Jansen
d57ffce8ec
[APM] Show JVM tab for Java Otel agent (#102346) 2021-06-17 08:56:04 -04:00
Tiago Costa
9569fe0561
skip flaky suite (#101454) 2021-06-17 13:00:22 +01:00
Stratoula Kalafateli
36f8cb394e
[Visualizations] Update the kibana.json with the owner and the description (#102459)
* [Visualizations] Update the kibana.json with the owner and the description

* Update plugin list
2021-06-17 14:36:45 +03:00
Joe Reuter
f65d450d56
fix auto interval filter building (#102086) 2021-06-17 13:32:36 +02:00
Søren Louv-Jansen
17e264e55e
[APM] Fix SVG rendered agent icon in Service Map, and improve storybook for icons (#102182) 2021-06-17 06:24:39 -04:00
Joe Reuter
84e86763f4
[Lens] Formula time shift (#101718) 2021-06-17 12:17:45 +02:00
Ashokaditya
1445aaa964
Do not show activity log error popups (#102450)
we show an empty state on the actions log tab anyway

refs 2dd22ed92b

fixes elastic/kibana/issues/102335
2021-06-17 12:13:03 +02:00
Marco Liberati
7f625530fb
[Lens] Add some more documentation for dynamic coloring (#101369)
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 10:27:25 +02:00
Sergi Massaneda
d92ddf4b70
hide not searchable results when no term (#102401) 2021-06-17 10:17:17 +02:00
Marco Liberati
4447ca2a16
[Lens] Fix Formula functional test with multiple suggestions (#102378) 2021-06-17 10:14:29 +02:00
Esteban Beltran
a83d0e7f9a
Fix trusted apps modified by field displayed as a date field (#102377)
Fixes https://github.com/elastic/kibana/issues/102308
2021-06-17 09:40:16 +02:00
Joe Reuter
c75f369536
[Lens] Docs for time shift (#102048) 2021-06-17 09:32:28 +02:00
mgiota
fd5883b465
update readme of logs-metrics-ui (#101968) 2021-06-17 08:28:34 +02:00
Nathan L Smith
6113520470
Refactor observability plugin breadcrumbs (#102290)
Previously the observability plugin set the page title and breadcrumbs in the main app rendering component based on the `breadcrumb` property of the current route.

In addition, there's a `useBreadcrumb` hook used by the UX app, exploratory view, and cases.

The conflict between these was creating situations where neither would work and the breadcrumbs would just show "Kibana".

Remove the breadcrumb properties from the routes and the main app breadcrumb handling and just use `useBreadcrumb` on all pages.

Fixes #102131.
2021-06-17 00:27:23 -05:00
Matthew Kime
bfca0c3197
[Index Patterns] Move rollup config to index pattern management v2 (#102285)
* move rollup config to index pattern management
2021-06-16 20:14:28 -05:00
Paul Tavares
2507d37e37
[Security Solution][Endpoint] Isolate Action should only be available to Platinum+ licenses (#102374)
* Isolate action should only be available for platinum license
* Moved `useLicense` hook mock into `__mocks__`
2021-06-16 18:45:40 -04:00
Tyler Smalley
8d14128216
[build] Updates Ironbank templates (#102407)
* Bump to Ironbank 8.4
* Updates to stay consistant with upstream repo

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-16 18:43:47 -04:00