Commit graph

39536 commits

Author SHA1 Message Date
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
Alexey Antonov 703ac93ecd
[Visualize] Remove circular deps between KibanaApp team plugins (#87994)
* [Visualize] Remove circular deps between KibanaApp team plugins

Part of #84750

* Update use_vis_byvalue.ts

* Update use_saved_vis_instance.ts

* add types

* fix CI

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-13 11:25:23 +03: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
Thomas Neirynck 14d96da750
[Maps] Show plus sign for term join metrics (#88049) 2021-01-12 17:01:55 -05:00
gchaps 3b6453adcd
[DOCS] Updates images in Discover docs (#87940) 2021-01-12 13:59:30 -08:00
Nathan L Smith d53f832f16
TS project references for translations plugin (#88022)
Observability has this as a dependency, so adding TS project references in service of that.
2021-01-12 15:07:27 -06:00
Justin Kambic 1094274556
[Uptime] Remove prototype overwrite in unit test (#73709)
* Remove prototype overwrite in unit test.

* Wrap calls to prototype functions with jest.spyOn.

* add additional component test helpers

* add test examples

* uptime testing utils remove custom prefix from props and parameter options

* skip executed step tests

* adjust MlJobLink test

* add testing util interfaces

* Move updated test files to correct locations.

* Move other test file to correct location.

* Revert unintended changes from merge.

* Revert unintended changes from merge.

* update mock core

* combine wrappers into one custom render function

* Move mock helpers to helper file. Update snapshots.

* Refactor tests to use RTL over enzyme.

* Refactor \`PingHistogram\` component tests to prefer RTL to Enzyme.

* Drop obsolete snapshot file.

* Remove obsolete file leftover from merge error.

* Fix outdated import path.

* Prefer custom render to vanilla.

* Fix formatting issue uncovered by unit test, and update test assertion.

* Add test for single location.

Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-12 15:08:10 -05:00
Melissa Alvarez 1ab46afef1
disable actions if no permissions (#88034) 2021-01-12 15:02:32 -05:00
Oliver Gupte 440123e958
Closes #86989. Disable caching for fetched custom links (#87932) 2021-01-12 12:02:18 -08:00
Constance 04739d851c
[App Search] Add AnalyticsChart component to EnginesOverview (#87752)
* Set up Kibana charts plugin dependency

- required for using shared colors/themes/etc.
- see https://github.com/elastic/kibana/tree/master/src/plugins/charts

* Add reusable AnalyticsChart component

+ util for converting data from our server API to data that Elastic Charts can use

* Update EngineOverview to use AnalyticsChart

+ remove now-unnecessary endDate value (we don't really need it just IMO)

* [PR feedback] Return type

* [Self feedback] naming - remove pluralization
2021-01-12 11:43:01 -08:00
Quynh Nguyen a1c2422261
[ML] Fix inconsistent padding for long top_values in Data Visualizer & hover color of expanded row (#87937) 2021-01-12 12:57:21 -06:00
Thomas Neirynck d321950b93
[Maps] Support geometry-collection (#87867) 2021-01-12 13:49:59 -05:00
Chris Roberson 33603e749d
[Monitoring] Cloud property not properly passed when no monitoring data found (#87649)
* Fix parameter usage

* Fix up incorrect usage again

* Add another check

* Fix tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-12 13:15:08 -05:00
Thomas Watson 103e8f91c8
Fix doc styling for upgrading-nodejs.asciidoc (#87976)
This addresses review comments missed in #87450
2021-01-12 19:06:55 +01:00
Joe Portner 07a3756a62
Create Spaces OSS plugin (#87585) 2021-01-12 12:26:40 -05:00
Tiago Costa 5fb5605ffa
chore(NA): move missing monitoring plugin tests out of __tests__ folder (#88016) 2021-01-12 17:23:11 +00:00
Tiago Costa 47cac6c401
chore(NA): move missing canvas plugin tests out of __tests__ folder (#87898) 2021-01-12 17:21:16 +00:00
Jen Huang 44ccf285e5
Move creation of state container to render-time in order to initialize state from URL correctly (#87955) 2021-01-12 09:15:07 -08:00
Devon Thomson 2d7a3cedef
fixed the duplicated duplicate title warning on Visualize Embeddable Add to Library (#87938) 2021-01-12 12:02:35 -05:00
Patrick Mueller 8fe204fcab
[actions] fixes action proxies to set the right agent based on target url (#86415)
Previously, the http and https proxy agents used by actions were created based
on the protocol of the proxy URL itself - if the proxy was an http URL, both
the generated http and https agents supplied to axios were actually both
http proxy agents; if the proxy was an https URL, both the generated http and
https agents supplied to axios were both https proxy agents.

This PR changes so that both an http and https proxy agent are created and
assigned as the appropriate agents for axios.  Similar changes were made to
the slack action, which does not directly use axios.
2021-01-12 11:54:40 -05:00
EamonnTP 4afaa2d6ff
docs: Add content for the new Service Overview page (#87496)
* Add service overview content

* Edits following reviews

* Review edits
2021-01-12 16:53:30 +00:00
Chris Roberson a21ad0d126
[Monitoring] Remove deprecated watcher-based cluster alerts (#85047)
* First draft

* Update to use actual API

* Remove this file

* Update translation key

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-12 11:48:18 -05:00
Chris Roberson fc994dfe97
Update logstash files to ts where we read from source (#86787)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-12 11:47:49 -05:00
Chris Roberson 04d4d8523d
Use fetchClustersRange (#87882)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-12 11:47:30 -05:00
Anton Dosov 86d53b683e
[Search Sessions][Discover] Send to background integration improvements and fixes (#87311) 2021-01-12 17:45:37 +01:00
Lisa Cawley 78dea4f03f
Use documentation link service for security links (#87409) 2021-01-12 08:40:10 -08:00
Alejandro Fernández Gómez 1a9836b296
[Logs UI] Add <LogStream/> documentation to the infra Storybook (#87169)
Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
2021-01-12 17:33:50 +01:00
Joe Reuter 807e8bdeb2
Kibana app and presentation ts projects (#87639) 2021-01-12 17:33:07 +01:00
Alexey Antonov 0b7e83f736
[TSVB] Allow custom label for fields via index pattern field management (#84612)
* [TSVB] Allow custom label for fields via index pattern field management

Closes: #84336

* replace saveObject, elasticsearch client to new one

* fix CI

* update schema

* fix Top Hit

* some changes

* partially move getting fields into client side

* fix PR comments

* fix issue with getting fields

* move SanitizedFieldType to common types

* fix issue on changing index pattern

* fix issue

* fix regression

* some work

* remove extractFieldName, createCustomLabelSelectHandler

* request/response processors should be async

* some work

* remove tests for createCustomLabelSelectHandler

* fix table

* fix placeholder

* some work

* fix jest

* fix CI

* fix label for table view

* test: visualize app visual builder switch index patterns should be able to switch between index patterns

* fix functional tests

* fix sorting

* fix labels for entire timerange mode

* add createFieldsFetcher method

* table view - fix pivot label

* fix PR comments

* fix issue with selecting buckets scripts

* fix types

* Update create_select_handler.test.ts

* fix PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-12 19:28:45 +03:00
igoristic ef441cca24
Alerts Status on clusters listing page (#87969) 2021-01-12 11:06:48 -05:00
Trent Mick 48efd29a53
Bump elastic-apm-node to v3.10.0 for @elastic/elasticsearch instrumentation (#87952) 2021-01-12 07:57:55 -08:00
Davis Plumlee 25bac19321
[Security Solution][Detection Rules] Fixes Threshold rule schema validator (#87946) 2021-01-12 08:57:06 -07:00
Bohdan Tsymbala 752a2bd943
Extracted some parts of server side validation from schema into shared space. Changed the schema structure a bit to avoid casting inside validation code. (#87523) 2021-01-12 16:31:35 +01:00
Nathan L Smith 3113d84c0f
Fix link in README (#87943)
Was using an MD link but fixed it to use an asciidoc one.
2021-01-12 08:48:31 -06:00
Tiago Costa 638b5e2a08
skip flaky suite (#87968) 2021-01-12 14:42:04 +00:00
Anton Dosov d3303f28bb
[Search] Search Sessions with relative time range (#84405) 2021-01-12 14:51:04 +01:00
Paul Tavares 02695ef5ad
[Fleet] Show Count of Agent Policies on Integration Details (#86916)
* component to show count of agent policies for integration
* API route and service to return stats of package usage
2021-01-12 07:56:05 -05:00
Aleh Zasypkin 31e66979b9
Do not embedd credentials into ES URL and enable anonymous tests. (#87987) 2021-01-12 13:51:54 +01:00