Commit graph

38750 commits

Author SHA1 Message Date
Dmitry ec1666be5a
Skip jest coverage on CI (#85375)
* [coverage] skip running jest tests

* run mocha only

* skip uploading jest artifacts
2020-12-09 16:31:00 +01:00
Melissa Alvarez 93670ec81f
[ML] Data frame analytics: Adds job deletion and creation to map view (#84299)
* wip: delete job node and update map

* adds ability to delete job and update map

* create job from index node

* can clone job from map

* reset map button

* remove trained model node when deleting job

* remove related model node. remove map tab when root node deleted

* ensure model with no job shows up correctly

* update types and naming

* use urlGenerator

* fix inner scrollbar

* Adjust cytoscapeOptions after EUI update

Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
2020-12-09 10:11:08 -05:00
Joe Reuter 33c552feee
[Lens] Use eui component instead of custom color stops (#85239) 2020-12-09 16:06:25 +01:00
ymao1 f3d60c519d
[Actions] Disable 'Resolved' action group for ServiceNow, Jira and IBM Resilient action types (#83829)
* Adding disabled action groups to action type definition

* Adding tests

* Adding tests

* renamed Resolved to Recovered

* fixed missing import

* fixed buggy default message behaviour

* added missing test

* fixed typing

* fixed resolved in tests

* allows alert types to specify their own custom recovery group name

* removed unnecesery field on always fires

* allows alert types to specify their own custom recovery group

* fixed mock alert types throughout unit tests

* fixed typing issues

* reduce repetition of mock data

* fixed alert type list test

* support legacy event log alert recovery syntax

* added doc

* removed unneeded change in jira

* correct callback name in siem

* renamed resolved to  recovered

* fixed mistaken rename

* Moving to alert plugin

* Updating tests

* elvated default params to alert concern instead of actions concern

* made default params optional

* Adding test

* Moving where default action params are retrieved

* Revert "Moving where default action params are retrieved"

This reverts commit 76e7608229.

* Moving where default action params are retrieved

* Cleanup

* Fixing test

* PR fixes

Co-authored-by: Gidi Meir Morris <github@gidi.io>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-09 09:45:38 -05:00
Robert Oskamp efe3c597b0
[ML] API integration tests - adjust and re-enable anomalies table data test (#85405)
This PR adjusts and re-enables the get_anomalies_table_data API integration tests.
2020-12-09 15:33:53 +01:00
Leaf-Lin 2cdc4ed05e
[Snapshot Restore] Adding max recommended value in retention (#82398) 2020-12-09 09:27:57 -05:00
Alejandro Fernández Gómez fb6a71189b
[Logs UI][Metrics UI] Tweak navigation bar size for infra apps (#84498)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-09 15:27:11 +01:00
Nicolas Chaulet a264038b36
[Fleet] Allow to edit package policy with input level template (#85277) 2020-12-09 09:10:07 -05:00
Dmitry 0d682a95bd
[jest] fix errors and warnings (#85291)
* replace deprecated 'wait' with 'waitFor'

* add required 'initialPageSize' field

* fix '.getContext() is not implemented' error

* wrapping code with act

* replace deprecated 'wait' with 'waitFor'

* fix 'state update on an unmounted component' warning
2020-12-09 15:04:21 +01:00
Bohdan Tsymbala 92db24e00c
Trusted Apps Signer UI (#84628)
* Added default value for type parameter in ConditionEntry type.

* Added signer field UI. Flattened a bit component structure and reused some translations.

* Reverted the condition for signer option.

* Fixed the import.

* Removed unused translations.

* Fixed the test.

* Consolidated a bit the deletion and creation flows in redux.
2020-12-09 14:53:53 +01:00
Joe Reuter e9ad56d1a7
simplify popover open state logic (#85379) 2020-12-09 14:13:38 +01:00
Alejandro Fernández Gómez f31e7c8591
[Logs UI][Metrics UI] Move actions to the kibana header (#84648)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-09 13:43:17 +01:00
Maja Grubic 74bb155abc
[Search Source] Do not pick scripted fields if * provided (#85133)
* [Search Source] Do not pick scripted fields if * provided

* Update src/plugins/data/common/search/search_source/search_source.ts

Co-authored-by: Tim Roes <mail@timroes.de>

* Add unit test

* Add documentation

Co-authored-by: Tim Roes <mail@timroes.de>
2020-12-09 13:08:18 +01:00
Liza Katz 0a04835ba7
[Search] Session SO polling (#84225)
* 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

* Fix session service saving

* merge fix

* stable stringify

* INMEM_MAX_SESSIONS

* INMEM_MAX_SESSIONS

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

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

* 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

* settimeout

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>
2020-12-09 14:05:01 +02:00
Dima Arnautov 58fc711626
[Transform] Replace legacy elasticsearch client (#84932)
* [Transform] replace legacy elasticsearch client

* [Transform] delete custom legacy client definition, update transforms_audit_messages.ts

* [Transform] fix start and stop transform endpoints

* [Transform] fix privileges and stats endpoints

* [Transform] fix forbidden

* [Transform] revert continue statement, add a comment

* [Transform] update privileges.ts using security namespace

* [Transform] fix error wrappers

* [Transform] add functional test for preview error validation

* [Transform] extract error message from the root cause

* [Transform] remove error translation
2020-12-09 12:55:54 +01:00
Shahzad 2a8c609bf9
[Uptime]Refactor header and action menu (#83779)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-09 12:45:40 +01:00
Daniil 9d8dd6dc57
Fix agg select external link (#85380) 2020-12-09 14:40:59 +03:00
Jean-Louis Leysens 7fc7fe325c
[ILM] Show forcemerge in hot when rollover is searchable snapshot is enabled (#85292)
* pivot to different rollover validation mechanism

* implement stakeholder feedback to show forcemerge in hot

* replace ternary with if..else statements

* make rollover validation test more comprehensive
2020-12-09 12:29:42 +01:00
Joe Reuter ec0bfe9f14
clear using keyboard (#85042) 2020-12-09 12:16:42 +01:00
Pierre Gayvallet 73fbf2a703
[GS] add tag and dashboard suggestion results (#85144)
* initial draft

* polish

* fix mocks

* add tests

* tests on suggestions

* add comment

* add FTR tests

* factorize getSearchableTypes

* move to bottom
2020-12-09 11:05:59 +01:00
Robert Oskamp d63f769636 [ML] API integration tests - skip GetAnomaliesTableData 2020-12-09 11:00:50 +01:00
Pete Hampton fc2673b8b0
Add ECS field for event.code. (#85109) 2020-12-09 08:33:10 +00:00
Stratoula Kalafateli f2d961df6a
[Functional][TSVB] Wait for markdown textarea to be cleaned (#85128)
* [TSVB] Wait for markdown textarea to be cleaned

* No need for retry
2020-12-09 08:42:35 +02:00
Tiago Costa 7bed867229
skip flaky suite (#62060) 2020-12-09 03:25:45 +00:00
Tiago Costa 3e9a132513
skip flaky suite (#85098) 2020-12-09 03:22:21 +00:00
dependabot[bot] 176d7e44d5
Bump highlight.js to v9.18.5 (#84296) 2020-12-08 22:02:31 -05:00
Josh Dover e116fce08e
Add server.publicBaseUrl config (#85075) 2020-12-08 17:02:39 -07:00
ymao1 18a99fcc43
[Alerting & Actions ] More debug logging (#85149)
* Adding debug messages

* Adding timestamp to action execution log

* Jest tests

* Merging in master

* PR fixes

* Cleanup

* PR fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-08 18:41:20 -05:00
Christos Nasikas 11470ac23a
[Security Solution][Case] Manual attach alert to a case (#82996) 2020-12-09 01:17:16 +02:00
Marshall Main 4b4419a930
Loosen UUID regex to accept uuidv1 or uuidv4 (#85338) 2020-12-08 18:14:48 -05:00
Davis Plumlee 8c8e96ff88
[Security Solution][Detection Rules] Fixes rules table tag display bug (#85229) 2020-12-08 17:45:00 -05:00
Nicolas Chaulet 943bce1512
[Fleet] Enforce superuser role for all fleet APIs (#85136) 2020-12-08 17:21:45 -05:00
Dario Gieselaar d44fa13227
[APM] Update ES archive used for API tests (#85286)
* [APM] Make sure jest script can be run from anywhere

* Update archive to 7.11
2020-12-08 22:46:41 +01:00
Poff Poffenberger 8467b89202
[Time to Visualize] Add visualizations to dashboard from save modal (#83140)
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-12-08 15:39:24 -06:00
John Barrier Wilson 30611f431a
[Workplace Search] Polish Workplace Search Sources & Groups UI (#85071)
* Add spacer to sources page title

* Add space to source list description

* Remove sidebar content from headers

* Polish inner source overview content

* Polish source content loading state and view

* Hide sources header / remove spacers

* Formatting fix

* Fix lint issues

* Add align right to schema table

* Remove rendom EmptyPrompt

WTF

* Make SourceIcon take a variable size

* Add back SourceInfoCard with update design

Co-authored-by: scottybollinger <scotty.bollinger@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-08 15:30:41 -06:00
Kaarina Tungseth 516d886c3e
Revert "[Docs] [Lens] End to end guide" (#85339) 2020-12-08 14:57:22 -06:00
KOTungseth 05b6f1a66f Merge branch 'mbondyra-lens/e2eguide' 2020-12-08 14:48:48 -06:00
KOTungseth 9d96cf1c7e Merge branch 'lens/e2eguide' of https://github.com/mbondyra/kibana into mbondyra-lens/e2eguide 2020-12-08 14:48:08 -06:00
Stacey Gammon de15f164d9
Convert a README to mdx to get it slurped up by the new docs system (#84834)
* Convert readme to mdx so it can get slurped into the new docs system

* Adjust plugin list doc generation so it accounts for mdx readmes

* fix eslint of discover_plugin file

* Fix link to readme in plugin list

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-08 15:12:07 -05:00
Paul Tavares e74cb409c8
[Fleet] Return to Integration (package) details after create integration policy (#85177)
* useIntraAppState() now also supports state set via Fleet's HashRouter
* Remove use of `<Router>` from inside EPM pages
* Enable round-trip navigation for Integrations add package
2020-12-08 15:08:54 -05:00
Jane Miller 3826283c74
[SECURITY_SOLUTION] 524: Advanced Policy callout and documentation tooltips (#84926)
* 524 added EuiIconTip

* 524 conditional tooltip, caution callout

* 524 help->alert

* 524 paul's PR feedback
2020-12-08 15:07:20 -05:00
Adam Locke 72ed936aa5
Add help text for runtime fields source. (#85204)
* Add help text for runtime fields source.

* fix help text

* Text changes and defining EuiCode element for _source.

Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
2020-12-08 14:51:47 -05:00
MadameSheema 3f32b56192
[SIEM] unblocks master failures (#85319) 2020-12-08 11:46:56 -08:00
Tre ae83f598bf
[QA][Stack Integration Tests] Drop tests list file (#85308) 2020-12-08 12:21:31 -07:00
Aleh Zasypkin 467ba0a112
[Docs] Document Anonymous authentication provider. (#84910) 2020-12-08 20:06:43 +01:00
KOTungseth ede4591a5a Fixes to writer errors 2020-12-08 13:04:58 -06:00
Mikhail Shustov fed6b3d86f
check ResponseError instance (#85198) 2020-12-08 18:54:11 +01:00
Alison Goryachev 7b362458e7
Enhancements to painless autocomplete in monaco (#85055) 2020-12-08 12:16:06 -05:00
Lisa Cawley 7ab5b03948
[ML] Add machine learning pages to doc_links_service.ts (#85181) 2020-12-08 09:15:04 -08:00
Nathan Reese 0eee8a2a86
[maps] style by percentiles (#84291)
* [maps] define style bands by percentiles

* add step function select

* percentiles form

* percentiles agg request

* create mapbox expression for stops

* legend

* small legend tweek

* clean up legend rendering

* fix dynamic color property tests

* add unit test case for percentiles legend

* re-fetch style meta when percentiles change

* name space field meta request types

* rename field_meta to data_mapping

* add tooltip to category field meta switch

* i18n fixes

* tslint

* remove duplicate file license

* fix jest tests

* only show supported step functions in fitting select

* copy updates

* add getPalette function for heatmap palette

* update jest snapshot

* another jest snapshot update

* rename EASING_BETWEEN_MIN_AND_MAX -> INTERPOLATE

* rename STEP_FUNCTION -> DATA_MAPPING_FUNCTION and text updates

* review feedback

* remove 'Apply changes' button on percentiles form

* update legend to use 'up to' and 'greater than' instead of symbols

* tslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-08 09:59:15 -07:00