Commit graph

13542 commits

Author SHA1 Message Date
Gil Raphaelli c7b963e6fc
Add agent logos (#88128) 2021-01-14 08:06:24 -05:00
Shahzad c2fc58310a
[Uptime] simple monitor status alert fix for page duty and other connectors (#87460)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-14 12:00:56 +01:00
Shahzad 6ec868b54e
[Uptime] keep filters state between tabs (#87997)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-14 11:51:01 +01:00
Cauê Marcondes 75891b78ea
[APM] Blank page when selecting a future time range (#87298)
* fixing blank page

* fixing blank page

* addressing PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-14 09:55:16 +01:00
spalger 850242cd42 skip suites failing es promotion (#88302) 2021-01-13 22:03:44 -07:00
Andrew Wilkins 0eb5c7bf0e
[Fleet] add "traces" type to data stream list (#87985)
Update the index pattern uysed for populating
the list of data streams to include traces-*-*.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-14 09:29:31 +08:00
Mikhail Shustov bc06280451
[DX] SavedObjectsManagement to TS project (#88240)
* som to ts project

* global_search_providers to ts projecvt
2021-01-13 22:23:06 +01:00
Mikhail Shustov 5814ca6e05
[DX] move some ES UI plugins to TS project (#88050)
* es_ui_shared to ts project

* console to ts project

* console_extensions to ts project

* searchprofiler to ts project

* update includes
2021-01-13 21:58:34 +01:00
Nicolas Chaulet 28d61bf5fa
[Fleet] Fix agent status updating count, and mitigate performance issue (#88019) 2021-01-13 16:29:32 -04:00
Madison Caldwell 66129efc15
Fix timeline query for threshold rules (#88217) 2021-01-13 15:29:14 -05:00
Oliver Gupte 5ed91585a8
[APM] Fixes inconsistent labels for throughput & latency (#88101)
* Closes #87483. Updates several labels to be consistent accross views.

* Updates integration tests/snapshots with new term

* Changes "traffic" => "throughput" in the labels

* addresses feedback from PR

* includes tpm unit in Observability overview page and updates test
2021-01-13 12:09:03 -08:00
Søren Louv-Jansen d1b348e621
[APM] Fix incorrect table column header (95th instead of avg) (#88188) 2021-01-13 21:01:44 +01:00
Søren Louv-Jansen de5a97e1f1
[APM] Hide recording setting from from RUM agents (#88152) 2021-01-13 20:53:44 +01:00
Alison Goryachev d9bd7b4fd6
[ILM] Surface linked hidden indices for policies (#87960) 2021-01-13 14:50:01 -05:00
Anton Dosov febe1f5900
[Search Session] Fix integration in vega, timelion and TSVB (#87862) 2021-01-13 20:45:14 +01:00
Thom Heymann 3d749ad444
Bumped axios to 0.21.1 (#87776)
* Bumped axios to 0.21.1

* Update dist

* Consolidated dependencies

* Added missing mime-type types

* Rebuild dist

* Consolidated octokit/auth-token

* Fix axios wrapper ensuring non-200 throws error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-13 19:41:31 +00:00
Constance c1e21deac6
[App Search] Set up Analytics router (#88095)
* [Setup] Analytics routes & page title consts

* Add AnalyticsRouter
- with TODO views

* Update EngineRouter to use AnalyticsRouter

+ minor rearranging of import order

+ update EngineNav to show active flag for subroutes

* [Polish] Add 404 fallback to Analytics subroutes

+ add custom breadcrumb trail prop to NotFound component

* [PR feedback] DRY out typing
2021-01-13 11:08:20 -08:00
Nathan L Smith e07c541036
Reset time range if either value changes (#88186)
Previously we had `getStart` and `getEnd` methods used in `useUrlParams` that would give a new value if the respective `rangeFrom`/`rangeTo` had change.

This had the effect of sometimes making the end time sooner than the start time, causing errors on the page.

`getStart` and `getEnd` have been replaced with a `getDateRange` method that checks if *either* value has changed and recaluates the start/end, but leaves them the same if both values have not changed.

Fixes #85238.
2021-01-13 13:07:00 -06:00
Constance 0e118c2099
[App Search] EnginesLogic + minor UX fix (#87561)
* [Misc cleanup] DRY out type def

EnginesTableData was made before we started importing more types over from ent-search; we should reuse the more complete EngineDetails instead of re-declaring our own

* Add EnginesLogic file + tests
- based on current state inside EnginesOverview

- Not a 1:1 translation from ent-search's EnginesLogic b/c the table component/view is different
- also missing engine creation which will be a separate PR

* Update EnginesOverview to use EnginesLogic

- should be significantly simpler
- tests no longer need mountAsync

* [Extra] Make up for lost icon.tsx coverage

- because we no longer use mount() in the engines overview tests, I'm adding an extra set of quick shallow render tests to cover the icon .tsx lines

* [Misc] Rename fetchX to loadY (copying Kea)
2021-01-13 10:24:04 -08:00
Quynh Nguyen 6e3a06b4aa
[ML] Fix Anomaly Explorer & Single Metric Viewer not plotting correctly for detectors with non zero count function (#87903) 2021-01-13 12:19:01 -06:00
Søren Louv-Jansen badd2b35f2
[APM] Hide “Create configuration” for users without write access (#88149)
* [APM] Hide “Create configuration” for read-only user

* also hide description

* disable create button

* fix ts error for EuiButton
2021-01-13 19:00:01 +01:00
Nathan Reese e2dc9464fa
[Maps] create Elasticsearch search source layer descriptor (#87855)
* [Maps] create Elasticsearch search source layer descriptor

* tslint

* tslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-13 10:56:18 -07:00
Justin Kambic eb2018b642
[Uptime] Unskip jest tests for ExecutedStep component (#88105)
* Revise skipped tests to use RTL.

* Rename a test.

* Add a test covering default status badge text.

* Refactor a test to remove redundant code.
2021-01-13 12:24:52 -05:00
Constance 64275cd11a
[App Search] Minor log retention refactors (#88140)
* Move reused log retention components to own folder

- e.g., logic file, helpers used by other views & not just settings

* Update settings-specific views to reference top-level folder

- I'm leaving the panel and the confirmation modal within settings as that isn't used anywhere outside the settings page, but we can revisit this if needed or if people think it makes more sense to keep everything log related together

* [bug] Fix nested <p> error in log retention confirmation modal
2021-01-13 08:23:56 -08:00
Joe Reuter 94ca8ab1c3
Migrate most kibana app plugins to TS projects (#87636) 2021-01-13 17:15:41 +01:00
spalger f4a348f762 skip flaky test (#75106) 2021-01-13 09:14:39 -07:00
spalger 05f5192d1d skipping flaky suite (#87988) 2021-01-13 08:51:30 -07:00
spalger 3953f9647e skip flaky suite (#88177) 2021-01-13 08:38:41 -07:00
Sonja Krause-Harder 6a55d46b2e
[EPM] Include both kibana and elasticsearch assets in package information (#88036)
* Return both kibana and elasticsearch assets.

* Fix type complaints.
2021-01-13 16:32:55 +01:00
Joe Reuter 40b65630be
set aria-pressed for function buttons (#87825) 2021-01-13 16:05:52 +01:00
Matthew Kime 109bed0768
revert runtime fields editor plugin (#88132) 2021-01-13 08:34:30 -06:00
Christiane (Tina) Heiligers 2eca6aa11e
Converts Telemetry Management Section to TS project refs (#88073) 2021-01-13 07:09:32 -07:00
Robert Oskamp e274a60927
[ML] Functional tests - stabilize AD job delete test (#88148)
This PR stabilizes the AD job delete tests by waiting for the job to not exist anymore before checking the job list.
2021-01-13 15:04:38 +01:00
Nicolas Chaulet 4c5d8be8da
[Fleet] Remove misleading information from enrollment token revoke modal (#88094) 2021-01-13 10:00:26 -04:00
ymao1 7334b96516
CSS fix for connector list (#87831) 2021-01-13 08:12:58 -05:00
ymao1 2c8b518f69
Fixes Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alerts_list·ts - Actions and Triggers app alerts list should display total alerts by status and error banner only when exists alerts with status error (#88119)
* Unskipping test

* Adding refresh before checking status
2021-01-13 08:01:08 -05:00
Joe Reuter ed9479738d
make sure filter object is persistable (#87828) 2021-01-13 13:32:14 +01:00
Joe Reuter cea39d90b7
close popover on repeated button click (#87834) 2021-01-13 13:31:24 +01:00
Nicolas Chaulet 156fb3d33c
[Fleet] Only display logs UI for agent >= 7.11 (#87926) 2021-01-13 07:30:21 -04:00
Dominique Clarke ff17581f45
[Uptime] update synthentics screenshot preview images (#87602)
* update PingTimestamp caption and add spinner for loading images

* use FETCH_STATUS to determine render state for PingTimestamp

* add tests for ping timestamp

* adjust ping timestamp caption

* update screenshot to use EuiImage

* remove deprecated translations

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-13 04:48:37 -05:00
Madison Caldwell af02f3d83f
[Security Solution][Threshold Rules] Fixes for 7.11 (#88120)
* Use OR for threshold timeline query (not AND)

* Speed up aggregatable fields filter with mutation
2021-01-13 04:44:08 -05:00
Marius Dragomir a98052bc72
dismiss telemetry banner for ems_test (#88096)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-13 10:29:16 +01:00
Dima Arnautov 1f131b250f
[Transform] Functional tests for latest method (#86966)
* [ML] create latest transform from index pattern

* [Transform] refactor, tests for saved search

* [Transform] cloning tests for latest transform

* [Transform] fix cloning test, add editing tests

* [Transform] fix typo

* [Transform] disable cloning tests

* [Transform] add assertion for selected tranform function

* [Transform] disable editing tests

* [Transform] disable editing and cloning tests for latest function
2021-01-13 10:05:05 +01:00
Shahzad ba05b7b007
fix waterfall scroll color for dark theme (#87833) 2021-01-13 09:18:45 +01:00
Tyler Smalley d306c85d03 skip flaky suite (#88130) 2021-01-12 21:18:29 -08:00
Oliver Gupte ed531bb4c2
Closes #85328. Adds 'repositionOnScroll' prop to expression popovers (#88085) 2021-01-12 21:15:27 -08:00
Devin W. Hurley e339018285
[Security Solution] [Detections] Fix bug to allow lower privileged users to close alerts (#87761)
* remove canUserCRUD from signal actions and remove refresh param from open_close_signals route. 'refresh' requires maintenance / manage / all privileges for signals index

* adds 'maintenance' to privileges route

* fix unit teset typing

* update tests, updated lists e2e tests since it relies on the readPrivileges function of SIEM so any changes to the expected response from there must also be changed in the lists privileges route

* update scripts roles to include maintenance for roles that do not have privileges higher than 'maintenance'

* fix open-close signals integration test
2021-01-12 21:16:06 -05:00
Patryk Kopyciński 500edba975
[Security Solution] Fix Investigate in Timeline Threshold rule signal… (#87907)
* [Security Solution] Fix Investigate in Timeline Threshold rule signals logic

* fix tests

* PR comments

* Fix positioning of FieldsBrowser

* update cypress tests
2021-01-12 20:56:08 -05:00
Yuliia Naumenko fb67443e6d
[EventLog] Added event log API to get events for multiple saved objects. (#87596)
* Added alerting API to get all active instances

* modofied event log findEventsBySavedObject to support bulk ids, renamed to findEventsBySavedObjectIds

* fixed faling typechecks

* fixed crash on zpd/api/event_log/alert/84c00970-5130-11eb-9fa7/_find for non existing id

* fixed faling typechecks

* fixed faling typechecks

* fixed due to comments

* fixed due to comments

* fixed failing test

* fixed due to comments
2021-01-12 16:25:23 -08:00
Gidi Meir Morris 5e4402c374
[Alerting] Shift polling interval by random amount when Task Manager experiences consistent claim version conflicts (#88020)
This PR Introduces a `pollingDelay` which is applied to the polling interval whenever the average percentage of tasks experiencing a version conflict is higher than a preconfigured threshold (default to 80%).
2021-01-12 23:34:07 +00:00