Commit graph

36982 commits

Author SHA1 Message Date
Brandon Kobel
6be10bda5d
Deprecate reporting.index setting (#84005) (#84909)
* Deprecating `xpack.reporting.index` setting

* Adding unit test

* Now with more standard deprecation messages

* Updating the xpack.reporting.index docs

* Fixing tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-03 09:56:39 -08:00
Joe Portner
c142ac1c7e
y18n 4.0.0 -> 4.0.1 (#84905) (#84919) 2020-12-03 12:51:55 -05:00
Matthias Wilhelm
781e0b235e
[Discover] New responsive layout using EUI components (#83633) (#84911)
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
2020-12-03 18:20:20 +01:00
Gidi Meir Morris
7a1c87845a
[Alerting][Event Log] ensures we wait for the right number of events in test (#84189) (#84912)
Keeps the exact same assertions, but ensures the retry loop waits for them to complete so we don't assert too soon.
2020-12-03 17:05:31 +00:00
Thomas Neirynck
ee16ac2771
[Maps] Always initialize routes on server-startup (#84806) (#84851) 2020-12-03 11:54:00 -05:00
gchaps
c9810a1fee
[DOCS] Adds entry for server-side sessions (#84702)
* [DOCS] Adds entry for server-side sessions

* [DOCS] Minor edits
2020-12-03 08:52:28 -08:00
Marco Liberati
896187eab8
[7.x] [Embeddable] Export CSV action for Lens embeddables in dashboard (#83654) (#84885)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-03 16:45:18 +01:00
Marta Bondyra
a2b98af354
Revert "[Lens] (Accessibility) Focus mistakenly stops on righthand form (#84519)" (#84866) (#84898)
This reverts commit a9845c6fc2.
2020-12-03 16:27:25 +01:00
Mikhail Shustov
645eae82b7
[7.x] Rename server.xsrf.whitelist to server.xsrf.allowlist (#84791) (#84861)
* Rename server.xsrf.whitelist to server.xsrf.allowlist (#84791)

* rename xsrd.whitelist to xsrf.allowlist

* update docs

* update telemetry schema

* update kbn-config tests
# Conflicts:
#	src/core/server/config/deprecation/core_deprecations.ts

* Update core_deprecations.ts

* miss import
2020-12-03 15:51:44 +01:00
Marta Bondyra
36a62c1f53
[Lens] accessibility screen reader issues (#84395) (#84894)
* [Lens] accessibility screen reader issues

* fix i18n

* fix: no aria-label on divs

* cr fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-03 15:37:31 +01:00
eyalkoren
b9e05529a6
[APM] Add APM agent config options (#84678) (#84889) 2020-12-03 16:26:47 +02:00
Sandra Gonzales
0794246be6
[Fleet] EPM support to handle uploaded file paths (#84708) (#84850)
* modify file route to handle uploaded packge file paths

* update messaging

* improve tests

* fix bug and add test to check the version of the uploaded package before failing

* fix similar bug for getting package info from registry when a different version is uploaded
2020-12-03 09:20:09 -05:00
Felix Stürmer
6f9c96bec7
[7.x] [Logs UI] Fetch single log entries via a search strategy (#81710) (#84890)
Backports the following commits to 7.x:
 - [Logs UI] Fetch single log entries via a search strategy (#81710)
2020-12-03 15:07:23 +01:00
Dan Panzarella
1a9bd783f5
[7.x] [Security Solution] Keep Endpoint policies up to date with license changes (#83992) (#84844) 2020-12-03 09:07:07 -05:00
Matthias Wilhelm
36c44f7bea
[Discover] Unskip date histogram test (#84727) (#84865) 2020-12-03 14:41:46 +01:00
Matthias Wilhelm
534a7e23af
[Discover] Unskip doc table tests (#84564) (#84877) 2020-12-03 14:41:14 +01:00
Matthias Wilhelm
cb9a208fc6
[Discover] Refactor getContextUrl to separate file (#84503) (#84878) 2020-12-03 14:39:38 +01:00
Yulia Čech
7c4ec081f4
Fixed a11y issue on rollup jobs table selection (#84567) (#84880)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-03 14:06:54 +01:00
Thomas Watson
0b8e7a026f
Improve logging pipeline in @kbn/legacy-logging (#84629) (#84868) 2020-12-03 13:54:20 +01:00
Thomas Watson
a4cad7735d
Catch @hapi/podium errors (#84575) (#84867) 2020-12-03 13:54:02 +01:00
Joe Reuter
d3b0cfdc17
[Lens] Migrate legacy es client and remove total hits as int (#84340) (#84869) 2020-12-03 12:27:19 +01:00
Alexey Antonov
ea64b8ad3c
[TSVB] [Cleanup] Remove extra dateFormat props (#84749) (#84875) 2020-12-03 14:19:05 +03:00
Thomas Watson
fdb71b6f44
Upgrade Node.js to version 14 (#83425) (#84846) 2020-12-03 09:35:10 +01:00
Marta Bondyra
88f38a7e12
[Lens] Provide single-value functions to show the "First" or "Last" value of some field (#83437) (#84815) 2020-12-03 08:28:47 +01:00
Scotty Bollinger
8096c618a1
[Enterprise Search] Fix schema errors button (#84842) (#84856)
* Fix schema errors button

When migrated, the button was wrapping the link and it should be the other way around. This caused a blue link color.

* Remove redundant true value

* TIL EuiButtonTo
2020-12-02 23:01:35 -06:00
Tyler Smalley
874df03153
[APM] Removes react-sticky dependency in favor of using CSS (#84589) (#84853)
Closes #84521

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-02 19:29:16 -08:00
Alison Goryachev
b8b889c644
[Snapshot Restore] Fix initial policy form state (#83928) (#84845) 2020-12-02 20:42:48 -05:00
Marshall Main
ee492a05cb
[Security Solution][Exceptions] Implement exceptions for ML rules (#84006) (#84841)
* Implement exceptions for ML rules

* Remove unused import

* Better implicit types

* Retrieve ML rule index pattern for exception field suggestions and autocomplete

* Add ML job logic to edit exception modal

* Remove unnecessary logic change

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-02 20:35:27 -05:00
Scotty Bollinger
c75ea04824
[Enterprise Search] Move schema types to shared (#84822) (#84838)
* Move schema types to shared

We use the Schema types in Workplace Search as well, so moving these to shared. Also, we have a component called IndexingStatus so reverting to the prefixed IIndexingStatus interface name

* Fix misspelled interface
2020-12-02 17:23:27 -06:00
John Schulz
b5addbdc74
[Fleet][EPM] Pass through valid manifest values from upload (#84703) (#84818)
* Add missing properties & improve type safety

* Break up types for better readability
2020-12-02 18:01:18 -05:00
Quynh Nguyen
07dd1eec17
[7.x] [ML] Fix prediction probability text for classification (#84593) (#84823)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-02 16:49:49 -06:00
Matthew Kime
261aa20338
[visualizations] get index pattern via service instead of saved object (#84458) (#84832)
* embeddable - get index pattern via service instead of saved object
2020-12-02 16:43:37 -06:00
Mikhail Shustov
88aaf96001
Improve ui settings performance (#84513) (#84820)
* remove unused parameter in "read" function

* add cache for uiSettings client

* add tests for ui_settings client caching

* address comments

* do not mutate ui_settings_client cache
2020-12-02 23:05:39 +01:00
Tyler Smalley
f9fd733a12
Jest multi-project configuration (#77894) (#84826)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
# Conflicts:
#	src/dev/code_coverage/ingest_coverage/integration_tests/team_assignment.test.js
#	src/plugins/console/jest.config.js
#	x-pack/plugins/canvas/scripts/jest.js
2020-12-02 14:02:21 -08:00
Paul Tavares
efeb071da5
[SECURITY_SOLUTION] Enable usage of the Endpoint Policy form from Fleet (#84684) (#84824)
* Endpoint: add `withSecurityContext` HOC + refactor endpoint policy edit lazy component to use it
* Endpoint: refactor Policy Details to separate form from view
* Endpoint: Enable the Redux store for the Policy form when displayed via Fleet
* Fleet: Allow partial package policy updates to be sent via `onChange()`
2020-12-02 16:46:25 -05:00
Scotty Bollinger
b9c3a960d6
[Enterprise Search] Convert IndexingStatus to use logic for fetching (#84710) (#84825)
* Add IndexingStatusLogic

* Replace IndexingStatusFetcher with logic

* Refactor out unnecessary conditional

onComplete is not optional so these if blocks can be consolidated

* Misc styling - destructuring and typing

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

* Misc styling - imports

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

* Remove div

* Refactor test

* Replace method with string for statusPath

In ent-search, we use Rails helpers to generate paths. These were in the form of routes.whateverPath(). We passed these method to the IndexingStatus component to generate the app-specific rotues in the shared component.

In Kibana, we will not have these generators and should instead pass the path strings directly

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
2020-12-02 15:35:05 -06:00
Bohdan Tsymbala
9d71a8a794
Added migration of policy for AV registration config. (#84779) (#84802)
* Added migration of policy for AV registration config.

* Updated migration a bit to be more safe.
2020-12-02 21:00:38 +01:00
Mikhail Shustov
c97057b261
bump es-js version (#84770) (#84807) 2020-12-02 20:49:28 +01:00
Vadim Dalecky
57977b1623
Telemetry for Dyanmic Actions (Drilldowns) (#84580) (#84787)
* feat: 🎸 set up telemetry for UiActions

* feat: 🎸 improve ui_actions_enhanced collector

* feat: 🎸 namespace ui actions telemetry stats

* refactor: 💡 improve dynamic actions collector setup

* feat: 🎸 add tests for dynamicActionsCollector

* feat: 🎸 collect dynamic action trigger statistics

* refactor: 💡 standartize metric naming

* feat: 🎸 aggregate action x trigger counts

* test: 💍 add tests for factory stats

* docs: ✏️ add ui actions enhanced telemetry docs

* fix: 🐛 revert type change

* refactor: 💡 make dynamic action stats global

* refactor: 💡 use global telemetry stats in action factories

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-02 20:12:58 +01:00
Spencer
dd39cd44a2
[7.x] [build/node] log url when downloading node shasum info (#84692) (#84796)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-02 12:02:21 -07:00
Wylie Conlon
742645238a
[Lens] Refactor function selection invalid state (#84599) (#84785)
* [Lens] Refactor function selection invalid state

* Fix types per review comment
2020-12-02 13:56:48 -05:00
Larry Gregory
718622e122
[7.x] Deprecate disabling the spaces plugin (#83984) (#84795)
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
2020-12-02 13:52:39 -05:00
ymao1
8f9b852774
[Task Manager] Skip removed task types when claiming tasks (#84273) (#84794)
* Checking if task type is in registered list

* Loading esArchiver data with removed task type for testing

* PR fixes
2020-12-02 13:48:30 -05:00
Jonathan Budzenski
dd9434ab3c [deb/rpm] Create keystore after installation (#76465)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-02 11:04:35 -06:00
Kerry Gallagher
f0c4960725
[Synthetics] Waterfall chart (#84199) (#84769)
* Add a Waterfall component

- Adds a generic Waterfall component
- Adds consumer consumption code for Synthetics
2020-12-02 16:31:07 +00:00
Aleh Zasypkin
6665f271b1
[7.x] Migrate security routes to a new Elasticsearch client. (#84767) 2020-12-02 16:42:58 +01:00
Kaarina Tungseth
8df988627b
Changes UI links for drilldowns (#83971) (#84693)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-02 09:42:24 -06:00
Bohdan Tsymbala
45974a99a1
Changed the translation text for the description text in the antivirus registration form (#84626) (#84762)
* Changed the text for the description text in the antivirus registration form. Moved the form component to components folder and extracted translations into constants to make code more readable.

* Extracted EventsForm to reduce duplication among events forms.
2020-12-02 16:36:27 +01:00
Søren Louv-Jansen
12bba537c5
[7.x] [APM] Refactor hooks and context (#84615) (#84756)
* Refactor hooks and context

* Fix tsc issues

* address feedback

* Fix lint

* type-only import
2020-12-02 15:22:39 +01:00
Chris Roberson
4de013136c
Make alert status fetching more resilient (#84676) (#84752) 2020-12-02 09:11:06 -05:00