Commit graph

13447 commits

Author SHA1 Message Date
Kevin Logan 379f9c9646
[Security Solution] ensure that license is preserved when loading policy details (#87780) 2021-01-11 13:55:15 -05:00
Gidi Meir Morris f384c484b7
[Task Manager] adds additional polling stats to Task Manager monitoring (#87766)
Adds additional polling stats to Task Manager monitoring:

- **duration**: Running average of polling duration measuring the time from the scheduled polling cycle start until all claimed tasks are marked as running
- **claim_conflicts**: Running average of number of version clashes caused by the markAvailableTasksAsClaimed stage of the polling cycle
- **claim_mismatches**: Running average of mismatch between the number of tasks updated by the markAvailableTasksAsClaimed stage of the polling cycle and the number of docs found by the sweepForClaimedTasks stage
- **load** - Running average of the percentage of workers in use at the end of each polling cycle.
2021-01-11 18:32:24 +00:00
Chris Roberson d4b3ea9c3d
Ensure we use the right duration for messaging on this alert (#87579)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-11 13:27:32 -05:00
Justin Ibarra f12228e635
[Detection Rules] Add 7.11 rules (#87422)
* [Detection Rules] Add 7.11 rules
* add empty array for missing technique
2021-01-11 08:54:38 -09:00
Sandra Gonzales 61987df922
[Fleet] use package storage when getting a package (#85337)
* getPackageFromSource to use package storage

* fix type

* use bulkGet

* add data streams and policy templates to package info from storage

* fix merge conflict

* comment out policy_templates for now

* add policy_templates to package info, remove required inputs from parseAndVerifyPolicyTemplates

* add storage assets to cache

* tidy up

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-11 12:35:11 -05:00
Cauê Marcondes e3455ce35b
[APM] latencyAggregationType is not persisted when navigation to Transaction overview to detail (#87046)
* persisting latency aggregation type

* addressing PR comments

* removing useLatencyAggregationType hook

* addressing PR comments

* addressing PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-11 18:31:16 +01:00
Tiago Costa 183cf56fcd
chore(NA): move maps plugin test fixtures out of __tests__ folder (#87764)
* chore(NA): move maps plugin test fixtures out of __tests__ folder

* chore(NA): last missing __tests__ folders renamed

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-11 17:14:46 +00:00
Marco Liberati 132e85144b
[Lens] Add specific IP and Range/Interval sorting to datatable (#87006)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-11 16:51:00 +01:00
Christos Nasikas a1931acdc5
[Security Solution][Case] Attach alerts to cases: Tests (#86305)
Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-11 17:44:35 +02:00
Shahzad 8d385a4ebd
[Uptime] Fix kuery bar dark theme (#87827) 2021-01-11 16:30:01 +01:00
Liza Katz 3eeec0f571
[Search] Search Sessions Monitoring Task (#85253)
* Monitor ids

* import fix

* solve circular dep

* eslint

* mock circular dep

* max retries test

* mock circular dep

* test

* jest <(-:C

* jestttttt

* [data.search] Move search method inside session service and add tests

* merge

* Move background session service to data_enhanced plugin

* Better logs
Save IDs only in monitoring loop

* Fix types

* Space aware session service

* ts

* initial

* initial

* Fix session service saving

* merge fix

* stable stringify

* INMEM_MAX_SESSIONS

* INMEM_MAX_SESSIONS

* use the status API

* Move task scheduling behind a feature flag

* Update x-pack/plugins/data_enhanced/server/search/session/session_service.ts

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>

* Add unit tests

* Update x-pack/plugins/data_enhanced/server/search/session/session_service.ts

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>

* Use setTimeout to schedule monitoring steps

* Update request_utils.ts

* settimeout

* tiny cleanup

* Core review + use client.asyncSearch.status

* update ts

* fix unit test

* code review fixes

* Save individual search errors on SO

* Don't re-fetch completed or errored searches

* Rename Background Sessions to Search Sessions (with a send to background action)

* doc

* doc

* jest fun

* rename rfc

* translations

* merge fix

* merge fix

* code review

* update so name in features

* Move deleteTaskIfItExists to task manager

* task_manager to ts project

* Move deleteTaskIfItExists to public contract

* mock

* use task store

* ts

* code review

* code review + jest

* Alerting code review

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Anton Dosov <dosantappdev@gmail.com>
Co-authored-by: restrry <restrry@gmail.com>
2021-01-11 16:36:38 +02:00
Christiane (Tina) Heiligers 0549f94332
[DX] Management to TS projects (#87660)
* Adds management to tsconfig refs

* removes preemptive script fix
2021-01-11 07:14:22 -07:00
Jean-Louis Leysens 8a21b64007
prettify json (#87612)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-11 13:26:46 +01:00
Robert Oskamp 55fe83d4d1
[ML] API integration tests - fix sorting in saved object status test (#87800)
This PR fixes the sorting of response body jobs in the saved object status test.
2021-01-11 12:26:55 +01:00
Casper Hübertz c545b32755
[APM] Define placement “Right” to offset tooltip (#87729) 2021-01-11 10:58:06 +01:00
Pierre Gayvallet a0d33dc3a9
Fix UI glitch on SOM delete confirmation modal (#87623)
* extract delete confirm modal

* extract the export modal

* add data-test-subj to confirm modal

* add comment on why we can't use EuiConfirmModal
2021-01-11 10:26:02 +01:00
Dominique Clarke 0ff6965cb3
[Uptime] Fix/details page tabs (#86296)
* Remove tabs from details page

* update

* fix monitord id

* var name

* add Uptime PageHeader tests to test for the presences of tabs or header

* add Uptime MonitorPageTitle test

* Uptime adjust auto generated monitor id regex

* Uptime add tests for MonitorPageTitle to test behavior for missing monitor names and auto generated monitor ids

* remove history from MonitorPageTitle test

* adjust uptime tabs tests

* adjust MonitorPageTitle tests to mock useSelector

* adjust uptime PageHeader tests

* adjust import order in page_header.test

* add props to Uptime PageHeader to determine render, rather than route context

* alphabetize props in Uptime PageHeader

* remove header from individual pages

* add indepdent page header route that matches all paths

* adjust monitor tests to use mockReduxHooks helper, and add mockReactRouterDomHooks

* update tests

* adjust header spacing

Co-authored-by: Shahzad <shahzad31comp@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-10 20:55:43 -05:00
Quynh Nguyen db022a3550
[ML] Fix earliest and latest texts for date fields (#87482)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-08 13:23:54 -06:00
Tiago Costa e20817e57c
chore(NA): move grokdebugger plugin test fixtures out of __tests__ folder (#87765) 2021-01-08 16:23:55 +00:00
Patryk Kopyciński 5c4e23045c
[Security Solution] Refactor Cypress scenarios to use internal contex… (#86609) 2021-01-08 11:10:37 +01:00
Angela Chuang 4986bea8b6
[Security Solution] Unskip cypress tests (#86653)
* unskip data provider cypress test

* remove extra whitespace for filter classes

* remove cy.wait

* update functional test

* fix cypress and add tabType to dataTestSubj

* fix cypress test

* revert createNewTimeline task

* fix dependency

* fix line error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-08 06:59:05 +00:00
Tyler Smalley 91d73cf981 skip flaky suite (#87105) 2021-01-07 15:32:01 -08:00
Davis Plumlee 285809e6b5
[Security Solution][Detections] Alert table status update bug (#87243) 2021-01-07 15:14:30 -07:00
Tiago Costa 354a79a280
chore(NA): move watcher plugin tests out of __tests__ folder (#87599)
* chore(NA): move watcher plugin tests out of __tests__ folder

* chore(NA): renaming client_integration into tests_client_integration

* chore(NA): rename test helper config file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 21:44:26 +00:00
Sébastien Loix 6d6a805734
[Index templates] Keep configuration of data stream when editing (#87666) 2021-01-07 21:42:12 +00:00
Yara Tercero d03b20a38c
[Security Solution][Detections] - Exceptions table endpoint list bug fix (disable delete of endpoint list) (#87694)
## Summary

Addresses issue 87112 .

With the addition of the exceptions table, users were able to now delete exception lists from the UI. However, the "endpoint_list" is particular in some ways and should not be so easily deleted from the UI. Moved to disable the delete button for "endpoint_list exception list.
2021-01-07 15:48:35 -05:00
Corey Robertson fdfe6559b0
[Canvas] Register addons async (#86977)
* Make canvas registries accept async functions

* Remove some comments

* Remove comment

* Update x-pack/plugins/canvas/public/registries.ts

Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>

* Update x-pack/plugins/canvas/public/registries.ts

Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>

* Add ts error types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>
2021-01-07 15:45:46 -05:00
Yuliia Naumenko 1c30525d46
[Alerting UI] Make connector reducer as generic type. (#86857)
* -

* fixed failing tests

* fixed typescript checks

* fixed typescript checks

* fixed failing build

* fixed typescript checks

* removed typo cast

* fixed failing test

* fixed faling build
2021-01-07 11:50:48 -08:00
Wylie Conlon 52e3371c39
[Lens] Transitions for reference-based operations (#83348)
* [Lens] Transition between functions involving references

* Organize transition cases and cover all the basic transitions

* Add functional test

* Change logic for displaying valid transitions

* Show valid transitions more accurately

* Fix transition to only consider valid outputs

* Update test names and style

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 14:37:27 -05:00
Matthew Kime 021bb4e3e9
Create runtime field plugin, runtime field editor plugin (#87387)
* create runtime field plugin, runtime field editor plugin
2021-01-07 13:10:30 -06:00
Alison Goryachev a22f2853ba
[ILM] Fix hot phase serialization (#87213) 2021-01-07 14:08:46 -05:00
Michael Olorunnisola 94b6087d74
[Security Solution][Resolver] Updated baselines to account for re-centering (#87547) 2021-01-07 13:50:42 -05:00
Candace Park cf641f7303
[Security Solution][Endpoint][Admin] malware custom notify user message tests (#87603) 2021-01-07 13:44:51 -05:00
Corey Robertson 19687765b1
[Canvas] Remove recompose and convert to Typescript expression component (#86969)
* Remove recompose from expression component

* Fix type check

* Fix expression not updating

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 13:27:31 -05:00
Mikhail Shustov 1b6f737546
task_manager to ts project (#87646) 2021-01-07 19:27:18 +01:00
Tiago Costa d6816384a7
chore(NA): move apm plugin tests out of __tests__ folder (#87601)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 18:26:16 +00:00
Nathan Reese 0ac6e6223e
[Maps] labels for polygons and lines (#86191)
* [Maps] labels for polygons and lines

* remove x-pack yarn.lock

* add labels to choropleth map wizard

* clean up comment

* add mvt tile support

* only add centroids if there may be lines or polygons

* tslint

* tslint

* do not add centroid to too many features polygon

* update get_tile expect statements

* move turf dependencies from devDependencies to dependencies

* update jest snapshot and functional test expects

* fix functional test expect

* another functional test expect update

* functional test updates

* expect

* pew pew source expect updates

* update joins expect

* update mapbox style expects

* update join visibility expects for geocentroids

* update join visibility expects for geocentroids

* another functional test expect update

* review feedback

* update yarn.lock

* tslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 11:10:20 -07:00
Nathan Reese 8cb622617c
[Maps] fix multi-select query from Controls visualization not always getting applied to map in dashboard (#87310)
* [Maps] fix multi-select query from Controls visualization not always getting applied to map in dashboard

* fix underlying problem in blended layer

* clean-up

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 10:47:52 -07:00
Tiago Costa 9d4ef37f4e
chore(NA): move monitoring out of __tests__ folder (#87556)
* chore(NA): move server and common from monitoring out of the __tests__ folder

* chore(NA): move monitoring public out of __tests__ folder

* chore(NA): add missing skip on test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 17:47:17 +00:00
Lisa Cawley 9a17446495
Fix broken link to Lens documentation (#87392) 2021-01-07 09:13:19 -08:00
Devon Thomson cdee8599d1
[Time to Visualize] Align Lens & Visualize Top nav Buttons & Behaviour (#86922)
* Aligned Lens & Visualize Top nav behaviour and look
2021-01-07 12:02:11 -05:00
Paul Tavares 14df31b6a0
[SECURITY_SOLUTION][ENDPOINT] Trusted Apps List page Empty State when no trusted apps exist (#87252)
* Show loading spinner while trying to determine if entries exist
* Handle display of the 3 conditions: loading, entries exist, no entries
2021-01-07 11:22:23 -05:00
Shahzad b203eaf370
[uptime] Fix tab focus issue for settings page (#87466)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 16:58:39 +01:00
Liza Katz 91aed6f961
[Search][Sessions] Rename Background Sessions to Search Sessions (#87500)
* Rename Background Sessions to Search Sessions (with a send to background action)

* doc

* doc

* jest fun

* rename rfc

* translations

* update so name in features

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 17:28:27 +02:00
Steph Milovic 130a8e766e
[Security Solution] [Case] Fix Jira connector test form (#87580) 2021-01-07 08:23:19 -07:00
Yuliia Naumenko 794c6b3b08
[Alerting] Replaced single invalidateApiKey request with the bulk. (#87401)
* Replaced single invalidateApiKey request with the bulk

* fixed failing test

* Extended invalidate method to support multiple invalidation. Updated fleets plugin usage of this API.

* fixed due to comments
2021-01-07 07:17:24 -08:00
Alison Goryachev f4042dd566
[ILM] Minor UX improvements (#87515) 2021-01-07 09:47:58 -05:00
Felix Stürmer f170ce29cc
[Logs UI] Fix the ability to switch to the ratio alert type (#87563)
This fixes a bug introduced with #86488, which prevents the user from changing the log threshold alert type to `ratio`.
2021-01-07 14:58:50 +01:00
Joe Reuter 3c7bd2fdd0
[Lens]Test color syncing (#86906) 2021-01-07 14:28:58 +01:00
Kerry Gallagher 81f71086c6
[Logs UI] Fix alerts recovery (#87369)
* Ensure that if alert instances are instantiated they are used in a way recognised by the framework
2021-01-07 13:22:50 +00:00