Commit graph

37545 commits

Author SHA1 Message Date
renovate[bot] 67f46ae223
Update dependency @elastic/charts to v24 (#80982)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-22 18:21:13 +02:00
Constance aa2427b3c0
[Enterprise Search] Overview - add missing setup guide CTAs (#81420)
* Misc enterprise search overview cleanup

- remove extra comment block
- tests
  - use setMockValues
  - remove unused EuiPage
  - error connecting test - clarify assertion

* Add Setup Guide CTA component

* Update Product Selector to show Setup Guide CTAs

+ tests clean up - use setMockValues, import reorder

* Add EuiPanel RR link to setup guide
2020-10-22 08:50:54 -07:00
Joe Reuter ea229891f1
fix flaky unit test (#81466) 2020-10-22 17:12:49 +02:00
Patrick Mueller 069e842b87
[task manager] do not sort tasks to be claimed by score if no pinned tasks (#80692)
resolves: https://github.com/elastic/kibana/issues/80371

Previously, when claiming tasks, we were always sorting the tasks to claim by
the score and then by the time they should be run.  We sort by score to
capture `runNow()` tasks, also referred to internally as "pinned" tasks
in the update by query.

The change in this PR is to only sort by score if there are pinned tasks, and
to not sort by score at all if there aren't any.
2020-10-22 11:09:56 -04:00
Shahzad 31fbabdf89
update date picker component (#79418)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-22 15:55:50 +01:00
Kaarina Tungseth c77619352b
[DOCS] 7.10 Core UI changes (#80407)
* [DOCS] 7.10 screenCore UI changes

* Kibana access options

* Removed Kibana from Set up Kibana

* Removed rogue symbols

* Update docs/spaces/index.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/management/managing-beats.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Review comments

* Update docs/user/introduction.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Review comments

* Changed menu to main menu

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-10-22 09:06:51 -05:00
Stratoula Kalafateli cba52418f5
[Discover] Should not visualize unknown/conflict type fields (#81311)
* [Discover] Should not visualize unknown/conflict type fields

* Move the visualizable logic for unknown and conflict fields to data plugin
2020-10-22 16:54:37 +03:00
Dan Panzarella c4b8f4c6c8
create detection index from create package policy (#79198) 2020-10-22 09:48:39 -04:00
Pete Harverson 85f72d4ea2
[ML] Fix setting of anomaly chart time range depending on bucket spans (#81291)
* [ML] Fix setting of anomaly chart time range depending on bucket spans

* [ML] Removed line break in warning message
2020-10-22 14:03:20 +01:00
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