Commit graph

31375 commits

Author SHA1 Message Date
Felix Stürmer
1a548a1e42
[Logs UI] Speed up stream rendering using memoization (#59163)
This aims to be a quick performance improvement by memoizing the LogEntryRow component.
2020-03-06 00:19:32 +01:00
Spencer
5408f45b52
expand max-old-space-size for xpack jest tests (#59455)
* expand max-old-space-size for xpack jest tests

* turns out we are already at 4GB

* limit to 6GB for now
2020-03-05 15:59:33 -07:00
Yuliia Naumenko
e869695d73
Added possibility to embed connectors create and edit flyouts (#58514)
* Added possibility to embed connectors flyout

* Fixed type checks and removed example from siem start page

* Fixed jest tests

* Fixed failing tests

* fixed type check

* Added config for siem tests

* Fixed failing tests

* Fixed due to comments

* Added missing documentation
2020-03-05 14:57:32 -08:00
Alex Holmansky
c3f8647c3e
Revert "Temporarily disabling PR project mappings (#59485)" (#59491)
This reverts commit 75dabc5dce.
2020-03-05 17:23:48 -05:00
Alex Holmansky
75dabc5dce
Temporarily disabling PR project mappings (#59485)
* Use diagnostics-enable action in the workflow. Issue: #56526

* Update workflow to use v1.0.2 of the action

* Adding a new test workflow that uses a personal access token

* Remove an extra coma

* Updated project-assigner action version and access key

* Deleted the test workflow

* Temporarily commenting out project mappings while we debug the permissions issues

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-05 17:21:23 -05:00
marshallmain
d5497d99b2
[Endpoint] Fix alert list functional test error (#59357)
* fix the functional test error

* fix linting

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-05 16:35:54 -05:00
Josh Dover
944be80091
Rename status_page to statusPage (#59186) 2020-03-05 14:16:37 -07:00
Spencer
4bc9e8b4a8
Fix visual baseline job (#59348)
* Establish Percy baselines

* move Jenkinsfile changed back to `.ci` directory

* rename xpack workers

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-05 13:01:42 -07:00
Yuliia Naumenko
26aed8dc30
Extended AlertContextValue with metadata optional property (#59391)
* Extended AlertContextValue with metadata optional property

* Made metadata generic
2020-03-05 11:55:30 -08:00
gchaps
2f97b4c06a
[DOCS] Updates Snapshot and Restore doc (#59451)
* [DOCS] Updates Snapshot and Restore doc

* [DOCS] Incorporates review comment
2020-03-05 11:32:32 -08:00
Chandler Prall
096dda6f34
Upgrade EUI to v20.0.2 (#59199)
* Updated EUI to 20.0.1; updated typescript usage

* snapshots

* Upgrade to eui 20.0.2, fix one more type

* PR feedback

* Update EUI icon usage to the correct types

* Updated with master
2020-03-05 12:27:52 -07:00
Lee Drengenberg
e0022be6d3
wait for any text in dialog (#59352)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-05 13:08:29 -06:00
Steph Milovic
91a5b17cfd
[SIEM] [Case] All cases page design updates (#59248) 2020-03-05 11:29:44 -07:00
Thomas Neirynck
46738cfa0a
[Maps] Add field and style-meta types (#58766) 2020-03-05 12:26:28 -05:00
Luke Elmers
87a3d02d44
Remove schemas from agg configs (#58462) 2020-03-05 10:18:12 -07:00
gchaps
8ded7f91c8
[DOCS] Updates intro doc (#58161)
* [DOCS] Updates intro doc

* [DOCS] Incorporates review comments

* [DOCS] Added image of a solution and other tweaks

* [DOCS] Updates image and content in get data section

* [DOCS] Incorporates review comments into docs intro

* Updated Lens and Visualize

* [DOCS] Adds note about Lens

* [DOCS] Added link to es docs

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2020-03-05 08:55:54 -08:00
Yuliia Naumenko
4883d4bb2a
Fixed ci type check errors for alerting and actions properties for SIEM RouteHandlerContext (#59400)
* Fixed ci type check errors for alerting and actions optional properties on RouteHandlerContext

* Reverted git revert b83f81458c
2020-03-05 07:52:24 -08:00
Melissa Alvarez
d55524c338
[ML] NP Server: make security and spaces plugins optional (#59156)
* make security and spaces plugins optional

* update spacesPlugin name. update current user check
2020-03-05 10:06:36 -05:00
James Gowdy
4371b1ca7d
[ML] Fix advanced wizard datafeed form labels (#59413) 2020-03-05 14:59:58 +00:00
Walter Rafelsberger
ce9e887644
[ML] Transforms: Fixed custom KibanaContext deprecation. (#59410)
- Deprecates the custom KibanaContext.
- Where applicable dependencies provided via KibanaContext are now passed on via AppDependencies.
- The main feature of KibanaContext was to populate index pattern and saved search information for the transform wizard. This is now provided via the useSearchItems() custom hook.
2020-03-05 14:52:44 +01:00
Dmitry Lemeshko
c42bd33e1e
Convert discover_page to ts, remove redundunt methods (#59312)
* convert discover_page to ts

* remove deuplicated methods, improve tests
2020-03-05 15:56:25 +03:00
Maryia Lapata
61a8b78184
[Fix for Vis Editor] Revert setting time field to empty string when it's undefined (#58873)
* Revert setting time field to empty string when it's undefined

* Add unit test

* Mock timeFields

* Update step_time_field.test.tsx

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-05 14:15:22 +03:00
Liza Katz
d7d35f72b1
Delete legacy search endpoint (#59341)
* Delete legacy search endpoint

* Fix example

* fix jest

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-05 11:49:28 +02:00
Shahzad
edfbe03ffa
[Uptime] Improve duration chart (#58404)
* use differential colors for duration chart

* remove duration chart gql

* update type

* type fix

* fix tyoe

* update translation

* update test

* update conflicts

* type checking

* update snaps

* PR feedback

* PR feedback

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-05 10:43:55 +01:00
Sébastien Loix
a05c3211b9
[Snapshot & Restore] NP migration (#59109) 2020-03-05 15:07:23 +05:30
Pete Harverson
b104980b88
[ML] Add support for date_nanos time field in anomaly job wizard (#59017)
* [ML] Add support for date_nanos time field in anomaly job wizard

* [ML] Edits following review

* [ML] Add functional test for creating job off date_nanos data
2020-03-05 09:28:31 +00:00
spalger
b83f81458c Revert "Makes alerting and actions optional properties for interface RequestH… (#59264)"
This reverts commit 755439d5e7.
2020-03-04 22:13:11 -07:00
CJ Cenizal
bb86bf2ebb
Change remote_clusters ID to remoteClusters (#59246) 2020-03-04 19:53:15 -08:00
Yuliia Naumenko
755439d5e7
Makes alerting and actions optional properties for interface RequestH… (#59264)
* Makes alerting and actions optional properties for interface RequestHandlerContext

* Added an error response result if context for actions and alerting is not registered
2020-03-04 17:30:15 -08:00
Luke Elmers
ba5784ac57
Clean up date histogram agg type. (#58805) 2020-03-04 17:03:23 -07:00
Melissa Alvarez
44921e6110
[ML] Management: fix license unsubscribe (#59365)
* check for undefined before unsubscribe.remove skip from test

* use take for observable
2020-03-04 19:00:34 -05:00
Josh Dover
ab1439cb1a
Remove documentation for server.cors settings (#59096)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 14:35:54 -07:00
Yuliia Naumenko
daf622687e
Edit alert flyout (#58964)
* Implemented edit alert functionality

* Added unit tests

* Added functional test for edit alert

* Fixed failed tests

* Fixed edit api

* Fixed due to comments

* Fixed functional test

* Fixed tests

* Fixed add alert

* Small type fix

* Fixed jest test

* Fixed type check

* Fixed bugs with interval and throttle + index threshold expression
2020-03-04 12:56:34 -08:00
patrykkopycinski
ac4f8f4ef5
[SIEM] Fix rule delete/duplicate actions (#59306) 2020-03-04 21:31:43 +01:00
Lee Drengenberg
754e6f1e77
move mouse to close obstructing tooltip (#59214)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 14:03:57 -06:00
Liza Katz
3649798539
Reset page after deleting (#59310)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 22:03:35 +02:00
Liza Katz
20d1c553ab
Make sure phrases input filter triggers autosuggestons (#59299)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 22:03:02 +02:00
Josh Dover
3ec71c3361
Add loading count source for http requests (#59245) 2020-03-04 12:56:18 -07:00
spalger
ef38287551 Revert "[ML] Transforms: Deprecate custom KibanaContext. (#59133)"
This reverts commit 29975fa614.
2020-03-04 12:50:04 -07:00
Pierre Gayvallet
b1cb92f822
Expose metrics service to public API (#59294)
* expose metrics service to public API

* update generated doc
2020-03-04 20:15:35 +01:00
Lee Drengenberg
07edafdfa7
fixes 'management scripted fields preview should display additional fields' when run with a HEAD (#59213)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 12:23:58 -06:00
Stacey Gammon
543481ba53
Add direct access link registry and dashboard impl and use in ML (#57496)
* Add direct access link registry and dashboard impl and use in ML

* Add example plugin with migration example

* address code review comments

* Fixes, more code review updates

* Readme clean up

* add tests

* remove else

* Rename everything from DirectAccessLinkGenerator to the much short UrlGenerator. also fix the ml # thing and return a relative link from dashboard genrator

* add important text in bold

* Move url generators into share plugin

* add correct i18n prefix

* Fix timeRange url name

* make share plugin optional for dashboard

* fix code owners

* Use base UrlGeneratorState type, add comments

* Fix hash bug and add test that would have caught it
2020-03-04 12:43:09 -05:00
Lee Drengenberg
455b2f5047
Have to click save after resetting advanced setting to default (#59216)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 11:28:59 -06:00
James Gowdy
a6d2b57777
[ML] Fixing records and buckets results endpoints (#59313) 2020-03-04 17:04:47 +00:00
Candace Park
c58b49c0bf
task/management-details (#58308)
Adds basic details flyout for host management page
2020-03-04 12:02:19 -05:00
Aaron Caldwell
76e3f82754
[Maps] Add missing license to requests in maps embeddables (#59207)
* Pull core service init out into separate function

* Call bind function from embeddable factory constructor

* Move inspector init back to start method. Remove old license check file

* Add TS types
2020-03-04 10:00:01 -07:00
Liza Katz
c769b6313b
[Bug fix] Can't modify a custom filter without label (#59296)
* Show filter value if nothing else is available for label value

* Add label max width

* Revert "Add label max width"

This reverts commit 9537968110.
2020-03-04 16:00:42 +00:00
Walter Rafelsberger
29975fa614
[ML] Transforms: Deprecate custom KibanaContext. (#59133)
- Deprecates the custom KibanaContext.
- Where applicable dependencies provided via KibanaContext are now passed on via AppDependencies.
- The main feature of KibanaContext was to populate index pattern and saved search information for the transform wizard. This is now provided via the useSearchItems() custom hook.
2020-03-04 16:56:01 +01:00
Matthias Wilhelm
b2616df34c
[TSVB] Fixes color rules operate variable automatically set to undefinded (#58719)
* Fixes operate variable (string) automatically set to undefinded

* Add test
2020-03-04 16:40:39 +01:00
Stacey Gammon
d2cbc59ad4
Further improve type checking for actions and triggers (#58765)
* wip

* review follow up

* make ACTION a prefix, not SUFFIX

* fix path

* add warnings about casting to ActionType

* Make context  an object in examples, not a string

* require object context, which seems to fix the partial requirement in type and thus the type issue

* mistake

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 10:27:14 -05:00