Commit graph

37536 commits

Author SHA1 Message Date
Alison Goryachev 6ec817b8d0
Move painless lang support to @kbn/monaco (#81010) 2020-10-22 08:28:03 -04:00
MadameSheema 8f9e09b4cc
upgrades cypress to version 5.4.0 (#81313) 2020-10-22 13:31:17 +02:00
Paul Tavares a91fbae424
[SECURITY_SOLUTION] Fix URL params being carried across to URL routes for which they do not apply (#80726)
* Fix URL params issue on Admin section
* Fix route location state being dropped during updates to other route properties
2020-10-22 07:27:36 -04:00
Vishal 6472caae1d
Update force merge warning about read-only index on management UI (#80937)
Community PR
2020-10-22 12:30:51 +02:00
Stratoula Kalafateli 4f67c3d00b
[Lens] Rename X/Y axis to horizontal/vertical (#80991)
* [Lens] Rename x/y axis to horizontal/vertical ones

* Change configuratio

* Add unit tests to cover the change

* Change texts to follow EUI guidelines

* Fix the translations ids

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-22 13:13:05 +03:00
Mikhail Shustov 38a8063901
[KP] Fix Headers timeout issue (#81140)
* temp fix request headers bug. issue 73849

* add a focused test

* move test to FTR

* adjust types

* some minors

* small adjustments
2020-10-22 11:09:58 +02:00
Robert Oskamp 0823f00e9b
[ML] Functional tests - stabilize typing with checks service method (#81338)
This PR stabilizes the ML specific setValueWithChecks service method by adding another check for the complete value.
2020-10-22 10:39:09 +02:00
Peter Pisljar 62f34f2568
tabify - support docs (#80351) 2020-10-22 06:47:44 +02:00
Davis Plumlee bd9448678f
[Security Solution][Detections] Look-back time logic fix (#81383) 2020-10-21 19:23:24 -06:00
Scotty Bollinger b2fc892906
[Workplace Search] Add top-level tests for Groups (#81215)
* Update id of second sources mock to be unique

Both were originally set to ‘123’

* Remove unused types from interface

These were never used and were only uncovered while testing. These both exist on `group` but not at the top level.

* Add group mock

* Fix typo in reducer name

* Add tests for group_logic

* Remove redundant messages check

This is not needed with global flash messages, as the component will not render with no messages.

* Add tests for group_router

* Add group mock

* Add tests for groups_logic

* Convert groups_router to use children

This allow for testing the component visiblity and aligns with other usage of React Router

* Add tests for groups_router

* Refactor pagination logic

This commit removes the useDidUpdateEffect custom hook and moves the logic to fetch the search results to a listener inside of Kea.

* dd tests for main groups container

* Lint fixes

* Fix broken test and remove comment

The issue was that the delay needed to be in the catch block to properly execute.

* Add comments and make test explicit

In other places in the tests, we explicitly test for an error string in the catch block. Changing this to match.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-21 21:22:45 -04:00
Nicolas Chaulet 8e34546bf7
[Fleet] Fix agent action observable for long polling (#81376) 2020-10-21 20:52:22 -04:00
Nathan Reese fb52fee10f
[Maps] fix feature tooltip remains open when zoom level change hides layer (#81373) 2020-10-21 18:06:48 -06:00
spalger f4eb447db4 skip flaky suite (#78689) 2020-10-21 16:40:34 -07:00
Tiago Costa 23142afa9b
chore(NA): add spec-to-console and plugin-helpers as devOnly dependencies (#81357) 2020-10-22 00:02:36 +01:00
Chris Roberson d916f18d23
Ensure some data is returned (#81375) 2020-10-21 17:57:41 -04:00
Przemysław Hejman 5cb7e81e12
Change dumb-init to tini (#81126) 2020-10-21 14:01:21 -07:00
Tim Sullivan ae95bf2b05
[Reporting/Tech Debt] Convert PdfMaker class to TypeScript (#81242)
* convert pdf.js to TS

* more typescript

* simplify caller

* more typescript

* more typescript

* fix the code to match the expected interface

* very cool comment

* interface correction

* remove unused class method

* add unit test for PdfMaker

* file rename for typo correction

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-21 13:54:52 -07:00
Nathan L Smith 99e90aa120
Use Storybook Controls instead of Knobs (#80705)
* Change an example in embeddable to use controls instead of knobs
* Add controls to SyncBadge APM story
* Convert both to [CSF](https://storybook.js.org/docs/react/api/csf)
* Remove the Knobs addon from the default Storybook configuration

Do not remove the Knobs addon package, since Canvas is still using it and this does not change anything in Canvas.
2020-10-21 15:43:57 -05:00
Spencer 3db19d60b4
[junit] make sure that report paths are unique (#81255)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-21 12:46:45 -07:00
Mikhail Shustov 93473e4f58
bump elastic/elasticsearch-js version to 7.10.0-rc1 (#81288) 2020-10-21 21:36:19 +02:00
Mikhail Shustov a18856ad49
run ssl tests on CI (#81320) 2020-10-21 21:06:22 +02:00
Chris Roberson f2df965c89
Fix alert defaults (#81207)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-21 14:51:16 -04:00
Melissa Alvarez 7349897ec1
[ML] DF Analytics wizard: ensure user can set mml manually or select to use given estimate (#81078)
* add switch for using estimated mml

* persist useEstimatedMml when switching between steps

* update translation name to be consistent
2020-10-21 14:49:14 -04:00
Mike Côté 9aa92904c3
Add UI notifier to indicate secret fields and to remember / reenter values (#80657)
* Initial work

* Add messaging to Jira connector

* Add messaging to PagerDuty connector

* Add messaging to Email connector

* Add messaging to ServiceNow connector

* Add messaging to Webhook connector

* Add unit tests

* Fix jest test

* Apply design feedback

* Apply copy feedback

* Fix failing test

* Fix connector descriptions for jira and resilient

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-21 14:07:41 -04:00
Chris Roberson 7017ca6f5b
[Monitoring] Use async/await (#81200)
* Use async/await

* Make sure we tell angular what's up
2020-10-21 14:01:02 -04:00
Jen Huang f4e5a3b8da
[Fleet] Show agent/package policy name on successful deletion (#81247)
* Return package policy name on successful deletion

* Return agent policy name on successful deletion
2020-10-21 10:58:53 -07:00
Jen Huang 71511765db
Show no agents found message when inactive and upgradable filters are applied (#81257) 2020-10-21 10:58:37 -07:00
Chris Roberson 5aa197bb64
[DOC] Update docs for new monitoring alerts (#80922)
* Update docs for new alerts

* PR feedback

* Fix bad copy/pate
2020-10-21 13:38:08 -04:00
Christiane (Tina) Heiligers f42f767bf0
Kibana usage collection to ts project refs (#81265) 2020-10-21 10:33:51 -07:00
Garrett Spong bd1ddcd365
[Security Solution][Detections] Updates generated tactics and techniques (#81270)
Fixes the `extract-mitre-attacks` script and generates `v6.3` tactics and techniques. Will move to `7.x` as part of the structural changes to support sub-technique in https://github.com/elastic/kibana/issues/75771.
2020-10-21 11:15:16 -06:00
gchaps 32e54bbbdd
[DOCS] Fixes errors in KQL examples (#81223) 2020-10-21 08:41:22 -07:00
Christiane (Tina) Heiligers 0395d686bf
Extracts newsfeed plugin to ts project refs (#81254) 2020-10-21 08:22:25 -07:00
Chris Cowan 2a82bddfe2
[Metrics UI] Add timerange and sorting to node detail metadata request (#81033) 2020-10-21 08:10:31 -07:00
Shahzad ab8bf782c3
[UX] Fix map color variance and apply proper filter for extended stats (#81106)
Fixes: #81208 correctly coloring the UX map
2020-10-21 09:50:28 -05:00
Andrew Cholakian 64e17233ba
[User Experience] Use EuiSelect for percentiles instead of SuperSelect (#81082)
Fixes #81031 by switching from EuiSuperSelect to an EuiSelect for percentile selection
2020-10-21 09:49:07 -05:00
Chris Roberson b87401a61e
[DOCS] Add link for monitoring ssl settings (#81057)
* Add link for ssl settings

* Update docs/settings/monitoring-settings.asciidoc

Co-authored-by: Lisa Cawley <lcawley@elastic.co>

* Update docs/settings/monitoring-settings.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2020-10-21 10:32:16 -04:00
Tyler Smalley 9226321051
[test] Await loading indicator in monitoring test (#81279)
This is being used in other click* helpers, but was missing here.

Resulting in failures in #80399

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-10-21 07:28:34 -07:00
Jean-Louis Leysens 43a055f9b9
[ILM] Minor copy and link additions to cloud CTA for cold phase (#80512)
* Add CTA for warm phase too

- add/updated component integration tests for checking callouts
- sharing deployment url from cloud plugin

* update comment

* fix i18n

* scope changes to cold phase only

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-21 16:24:30 +02:00
Sébastien Loix cd19bd3621
[Mappings editor] Add scaled_float and date_range comp integration tests (#81287) 2020-10-21 14:37:23 +02:00
Maja Grubic 3df30e08cd
[Discover] Deangularize context.app (#80851)
* [Discover] Deangularize context.app

* Add a unit test

* Addressing PR comments; fixin I18n provider; replacing kui with EUI code

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-21 13:36:37 +01:00
Justin Kambic c11163d004
[O11y Overview] Add code to display/hide UX section when appropriate (#80873)
* Add code to display/hide UX section when appropriate.

* Suppress errors with link to dedicated issue.

* Fix typo in call to action.

* Remove type error suppression.
2020-10-21 07:26:08 -04:00
Matthias Wilhelm 3a969f4e8f
[Discover] Extend DiscoverNoResults component to show different message on error (#79671)
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
2020-10-21 13:16:37 +02:00
Daniil Suleiman e8fffe9053
Fix tagcloud word overlapping (#81161)
* Fix overlaps on resize

* Set up font family

* Update snapshots
2020-10-21 13:32:13 +03:00
MadameSheema fce3031c4f
[Security Solution] Fixes flaky test rules (#81040)
* deletes the created rule in the after hook

* fixes failing test

* changes rule deletion order

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-21 12:30:04 +02:00
Bohdan Tsymbala 8010686a06
Changed the code to avoid tech debt with hacky solutions after receiving comments on EUI issue reported about this problem. (#81183)
* Changed the code to avoid tech debt with hacky solutions after receiving comments on EUI issue reported about this problem.

* Updated snapshots.
2020-10-21 12:09:15 +02:00
Christos Nasikas ad2fe78514
[Security Solution][All] Replace old markdown renderer with the new one (#80301) 2020-10-21 10:32:33 +03:00
Grzegorz Banasiak 42c7c0d4ab
Add namespaced version of the API call (#81278)
* Add namespaced version of the API call

Docs are missing the namespaced version of the API call for dashboard import/export.
2020-10-21 09:20:54 +02:00
Walter Rafelsberger 4ba2fdbc2f
[ML] Data Frame Analytics: Fix race condition and support for feature influence legacy format. (#81123)
- Fixes a race condition where searches for data grid results with different parameters would return in different order with the wrong results on display. Fix uses a pattern to cancel useEffect callback for getIndexData().
- Fixes identifying pre 7.10 feature influence format for outlier detection and will display a callout on the results page with information for a workaround.
- To fix identifying the legacy format, some cleanup of other code relating to the old format had to be done. The ml results object field is no longer treated as a "special" field for outlier detection and is treated and retrieved in the same way as other fields.
- Adds an error callout if no Kibana index pattern is available for source/dest index.
2020-10-21 07:57:16 +02:00
Nicolas Chaulet b362ed1c6b
[Fleet] Fix POLICY_CHANGE action creation for new policy (#81236) 2020-10-20 23:25:58 -04:00
Candace Park b4864ab265
[Security Solution][Endpoint][Admin] Malware user notification checkbox (#78084)
includes migration for endpoint package policy 7.11
2020-10-20 22:42:15 -04:00