Commit graph

37370 commits

Author SHA1 Message Date
Tim Roes
8e51f0fb17
Fix codeowners (#80826) 2020-10-16 15:33:33 +02:00
Tiago Costa
177f434563
skip flaky suite (#79463) 2020-10-16 14:00:19 +01:00
Stratoula Kalafateli
149b63c9bd
[Timelion] Remove kui usage (#80287)
* [Timelion] Remove kui usage

* Fix custom checkbox

* Add tim prefix to the new classes

* Fix functional test

* PR fixes

* Fix type

* PR comments

* Remove the last fontawesome usages

* fix timelion links

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-16 14:58:07 +03:00
Sandra Gonzales
d859ad3683
[Ingest Manager] add skipIfNoDockerRegistry to package_install_complete test (#80779)
* fix missing skipIfNoDockerRegistry

* skip afterEach if server doesn't exist
2020-10-16 07:43:03 -04:00
ymao1
a377204f85
[Alerting UI] Disable "Save" button for Alerts with broken Connectors (#80579)
* Adding check for broken connectors in action form

* Adding check for broken connectors in action form

* Adding unit test

* PR fixes
2020-10-16 07:35:46 -04:00
Larry Gregory
51ac14ba57
Allow the default space to be accessed via /s/default (#77109)
* Allow the default space to be accessed via /s/default

* apply suggestions from code review
2020-10-16 07:21:57 -04:00
Mikhail Shustov
2e37bd0703
Add script to identify plugin dependencies for TS project references migration (#80463)
* move kbn-dev-utils plugin helpers under a dedicated folder

* use getPluginSearchPaths in kbn-config & kbn-optimizer

* add a script to find plugin dependencies not migrated to TS project refs

* update docs

* add a script reporting all circular deps between plugins

based on kibana.json declaration, so it doesn't provide all the cases

* fix optimizer scan logic. removed by mistake

* revert changes. fails on CI

* remove prod depenedency on kbn/dev-utils

* remove last export

* only run plugin discovery once to speed up circular dep detection

* address comments

* address comments

* update fixtures

Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-16 11:55:46 +02:00
Liza Katz
a1831a6d9d
[Search] Client side session service (#76889)
* Add a session service and use it in discover and dashboard

* check unefined

* Start session in visualize

* Fix tests

* docs

* OSS error alignemnt

* Adjust error messages in xpack

* Add getErrorMessage

* Use showError in vizualize
Add original error to expression exception

* Cleanup

* ts, doc and i18n fixes

* Fix jest tests

* Fix functional test

* functional test

* ts

* Update functional tests

* Add unit tests to interceptor and timeout error

* expose toasts test function

* doc

* typos

* lint

* Cleanup

* review 1

* Code review

* doc

* doc fix

* visualization type fix

* fix jest

* Fix xpack functional test

* fix xpack test

* code review

* Add tracking methods to session service

* remove chromium

* Fix ts and jest tests

* jest + docs

* ts fix

* siem test

* Use session service to show a timeout notification per session + more unit tests

* ts and docs

* Remove session service from search source (not needed)

* Code review

* ts

* Single active session in FE session service

* Cleanup

* Don't integrate with dashboard \ visualize
Add functional tests for session toast plugin

* Typescript

* ts

* Improve functional tests

* es

* simplify filter test

* wait until loadedw

* filter test

* delete crypto for now

* Select the correct index 🤦

* timerange

* Adjust functional test logic

* improved test format @dosant

* Handle exceptions

* Don't close sessions automatically, warn instead

* jest

* Adjust functional test

* Remove unused code

* delete export

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-16 12:30:46 +03:00
Vadim Dalecky
9b540f0bc7
feat: 🎸 add separator for different context menu groups (#80498) 2020-10-16 11:07:50 +02:00
Vadim Dalecky
fc5ad4d859
Lazy load reporting (#80492)
* perf: ️ load dynamically reporting management section

* refactor: 💡 remove JSX from main plugin entry file

* perf: ️ lazy-load CSV sharing panel React component

* perf: ️ lazy-load screen capture sharing panel React components

* feat: 🎸 show spinner while shring panels are loading
2020-10-16 10:54:46 +02:00
Walter Rafelsberger
b582559bbd
[ML] Transforms/DF Analytics: Fix data grid column sorting. (#80618)
* [ML] Fix column sorting.

* [ML] Tweak sorting.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-16 09:39:12 +01:00
Jean-Louis Leysens
06fa16d2a3
added brace import to vis editor (#80652) 2020-10-16 09:42:10 +02:00
Nathan L Smith
4ff6780523
Fix error rate sorting in services list (#80764)
The field was incorrectly labeled `errorsPerMinute` instead of `transactionErrorRate` (probably left over from before when we switched to using error rate.)

Use `-1` for the fallback sort so "N/A" appears after "0%"

Fixes #80473.
2020-10-15 19:43:39 -05:00
Jen Huang
da2f2db646
Emit info log when using custom registry URL (#80768) 2020-10-15 16:57:45 -07:00
Tim Sullivan
2fa083763b
[Reporting] Config Schema Validation for rules[N].protocol strings (#80766) 2020-10-15 16:14:23 -07:00
Nathan L Smith
5f3e2c05e8
Add Storybook a11y addon (#80069) 2020-10-15 17:25:34 -05:00
Nathan L Smith
29491ac3e6
Fix anomaly alert selection text (#80746)
Was using the incorrect value. Add a case to leave out "and above" when on "critical."

Add a test and rename files to snake case.

Fixes #80441.
2020-10-15 17:21:33 -05:00
Steph Milovic
10271c50ee
[Security Solution] [Maps] Kibana index pattern, comma bug fix (#80208) 2020-10-15 15:50:31 -06:00
Spencer
ff32bb1716
[kbn/optimizer] tweak split chunks options (#80444)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-15 14:24:29 -07:00
Charlie Pichette
2b380b6583
update template to use the new team label (#80748) 2020-10-15 14:49:53 -06:00
Patryk Kopyciński
aec1eb04df
[Security Solution] Fix the Field dropdown in Timeline data providers resets when scrolled (#80718) 2020-10-15 21:49:19 +02:00
Jason Rhodes
8f3ec3a73d
Adjusts observability alerting perms to require "all" (#79896)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-15 15:22:24 -04:00
Frank Hassanabad
e1aec17910
[Security Solutions][Detection Engine] Fixes pre-packaged rules which contain exception lists to not overwrite user defined lists (#80592)
## Summary

Fixes a bug where when you update your pre-packaged rules you could end up removing any existing exception lists the user might have already added. See: https://github.com/elastic/kibana/issues/80417

* Fixes the merge logic so that any exception lists from pre-packaged rules will be additive if they do not already exist on the rule. User based exception lists will not be lost.
* Added new backend integration tests for exception lists that did not exist before including ones that test the functionality of exception lists
* Refactored some of the code in the `get_rules_to_update.ts`
* Refactored some of the integration tests to use helper utils of `countDownES`, and `countDownTest` which simplify the retry logic within the integration tests
* Added unit tests to exercise the bug and then the fix.
* Added integration tests that fail this logic and then fixed the logic

### Checklist

Delete any items that are not applicable to this PR.

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
2020-10-15 13:21:03 -06:00
Luke Elmers
20edc75276
[data.ui] Fix flaky test & lazy loading rendering artifacts. (#80612) 2020-10-15 12:59:28 -06:00
Mike Côté
3ad698d6a0
Licensed feature usage for connectors (#77679)
* Initial work

* Fix type check and jest failures

* Add unit tests

* No need to notifyUsage from alert execution handler

* Fix ESLint

* Log action usage from alerts

* Add integration tests

* Fix jest test

* Skip feature usage of basic action types

* Fix types

* Fix ESLint issue

* Clarify comment

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-10-15 14:47:46 -04:00
Angela Chuang
8d053fdc8e
[Security Solution] Cypress template creation (#80180)
* init tests

* fix cypress test

* remove console

* fix functional test

* update functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-15 19:46:20 +01:00
Dario Gieselaar
9d50c17fa6
[APM] Hide service if only data is from ML (#80145)
Closes #79998.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-15 20:45:11 +02:00
Larry Gregory
5dc91229f2
Fix role mappings test for ESS (#80604)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2020-10-15 14:20:54 -04:00
Thomas Neirynck
b1af4ba9ae
[Maps] Add support for envelope (#80614) 2020-10-15 13:58:54 -04:00
Angela Chuang
6b8e8a5b46
[Security Solution] Update button text according to status (#80389)
* update button text according to status

* remove unused translations

* fix functional test

* fixup

* fix unit test

* update unit tests

* update unit test
2020-10-15 18:46:11 +01:00
Xavier Mouligneau
41db7d175c
[SECURITY SOLUTION] bug styling (#80572)
* remove beta

* fix i18n

* fix cypress tests

* forget to save

* x-pack test
2020-10-15 13:24:17 -04:00
Nicolas Chaulet
d10d70b2ac
[Ingest Manager] Better validation of registry urls (#80685) 2020-10-15 13:02:20 -04:00
Spencer
07c1284e9d
[kbn/bootstrap] validate that certain deps don't ship in production (#80549)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-15 09:56:10 -07:00
Jonathan Buttner
cd9381c118
[Security Solution][Resolver] Data stream fields being populated (#80216)
* Data stream fields being populated

* Adding some comments

* Switching data stream options to specific functions

* Removing unneeded import

* Refactoring based on Brent's feedback
2020-10-15 12:33:53 -04:00
Angela Chuang
e1456372da
[SecuritySolution] Replace act with waitFor (#80648)
* replace act with waitFor

* update unit test

* update unit test

* update unit test
2020-10-15 17:30:09 +01:00
Chris Roberson
62c93aa009
Fix sorting of alerts (#80546)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-15 12:16:51 -04:00
Christos Nasikas
3e20914394
[Security Solution][Case] Fix Jira's parent issue placeholder (#80619) 2020-10-15 19:07:25 +03:00
Brent Kimmel
3b62b95dc6
[Security Solution][Resolver]Adjust layout and stacking for submenu/node (#80607)
* [Security Solution][Resolver]Adjust layout and stacking for submenu/node

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-15 11:28:50 -04:00
István Zoltán Szabó
88591acc03
[DOCS] Adds initial content to Transforms readme.md (#80630)
Co-authored-by: Walter Rafelsberger <walter@rafelsberger.at>
Co-authored-by: Pete Harverson <peteharverson@users.noreply.github.com>
2020-10-15 17:25:55 +02:00
Spencer
8940091cf9
[ci-stats] record async chunk count (#80606)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-15 08:07:17 -07:00
Bohdan Tsymbala
ec692a7fa9
Fixed the problem with responsiveness of item details card. (#80645)
* Fixed the problem with responsiveness of item details card.

* Updated snapshots.

* Updated snapshots after pulling master.
2020-10-15 16:40:41 +02:00
Robert Austin
40d6d4dd7d
[Resolver] Fix flaky test (#80576)
Under stress, this test would fail to finish in 5 seconds. With this new
implementation it has better performance.
2020-10-15 10:09:26 -04:00
Charlie Pichette
36c15e13cf
Update Security Solution Bug Report Template (#80668) 2020-10-15 08:08:59 -06:00
Cauê Marcondes
a8b34561e4
[Observability] Kibana home page Observability link pointing to /landing (#80636) 2020-10-15 15:46:43 +02:00
Cauê Marcondes
c55863cf01
[APM] Update User Experience app callout code to reflect new name (#80641) 2020-10-15 15:46:19 +02:00
Søren Louv-Jansen
1304c2106e
[APM] Add missing ML privileges (#80553) 2020-10-15 15:35:13 +02:00
István Zoltán Szabó
114fb3acda
[DOCS] Adds intro line to the ML plugin readme file (#80631) 2020-10-15 14:58:56 +02:00
Robert Oskamp
36df5a8f0a
[ML] Functional tests - fix and re-enable validation API tests (#80617)
This PR fixes and re-enables the recently disabled job validation API tests that validate cardinalities.
2020-10-15 14:40:19 +02:00
Mikhail Shustov
bfe867c440
remove non-existing dependency from uptime plugin (#80623) 2020-10-15 13:38:16 +02:00
Dima Arnautov
c409cd765b
[ML] Fix job selection flyout overflow (#80621)
* [ML] fix overflow in job selection flyout

* [ML] render X axis labels on Overall swim lane to prevent misalignment with the View by swim lane
2020-10-15 13:33:14 +02:00