Commit graph

37757 commits

Author SHA1 Message Date
Matthew Kime
50a93222f1
Index Patterns API - Remove legacy es client usage for field caps (#80116)
* remove legacy es client usage
2020-10-22 22:46:33 -05:00
Devin W. Hurley
2af0ef3d94
[Security Solution] [Detections] Bug fix for rule status utility functions and updated tests and types (#81256)
* adds try catch in getFailingRules method and adds a test for merge statuses

* rename IRuleStatusAttributes to IRuleStatusSOAttributes to better reflect what specifically the interface represents, which are the properties on the rule status saved object, while maintaining a separate interface for the HTTP response representation of those attributes as snake_case

* adds tests for getFailingRules utility function

* minor cleanup

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-22 18:26:38 -04:00
Jen Huang
d3753ef33a
Allow default packages to be deleted from the default agent policy (#81535) 2020-10-22 15:04:35 -07:00
Constance
7934c9105a
[App Search] Credentials: Add final Logic and server routes (#81519)
* Add fullEngineAccessChecked logic

* Add onEngineSelect logic

* [Refactor] DRY out/simplify http mocks

Note: import reorder is required in for mocks to work correctly

* Add onApiTokenChange logic

* Update flyout footer to use onApiTokenChange

* Add new POST/PUT server routes

+ some opinionated comments

* [PR feedback] tests copy, extra data tests

* [PR feedback] Reuse fullEngineAccessChecked, fix fullEngineAccessChecked being undefined vs a bool
2020-10-22 14:52:35 -07:00
Nathan Reese
95516432ec
[Maps] fix refreshing the page causes loss of unsaved change (#81226)
* [Maps] fix refreshing the page causes loss of unsaved change

* fix functional tests

* remove unneeded check for app leave modal

* check for appLeaveConfirmModal for clicking confirmModalConfirmButton

* see failures without closing appLeaveModal

* start clearing unsaved changes warning in maps

* clean up more unsaved state in functional tests

* more cleaning up of unsaved state in functional tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-22 15:00:55 -06:00
Devon Thomson
06ea880712
[Time To Visualize] Edit Panel Title On Click (#81076)
* Made embeddable panel title click launch the customize panel action

Co-authored-by: Ryan Keairns <contactryank@gmail.com>
2020-10-22 16:16:18 -04:00
Julien Guay
096aedfae1
add xpack.actions.proxyUrl setting (#81507)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-22 20:06:25 +01:00
Jen Huang
17e1578869
[Fleet] Show beta message without scrolling (#81416)
* Show beta message without scrolling

* Update EUI var
2020-10-22 11:08:58 -07:00
Constance
c9d4dc30a3
[App Search] Credentials: add FlashMessages, stub out credentials flyout (#81391)
* Added an empty Flyout

* Refactor CredentialsFlyout to its own component folder
+ split out child sub components for easier testing/reading

* Add initial FlashMessages setup

- mostly just DELETE_MESSAGE currently, since that's what's already wired up
- CREATE_MESSAGE and UPDATE_MESSAGE will be used in an upcoming commit

+ adds FlashMessages in flyout, which will show returned form errors from the API

* Fix flash messages appearing on flyout open
e.g. deletion success messages

+ incidental linting/cleanup

Co-authored-by: Jason Stoltzfus <jastoltz24@gmail.com>
2020-10-22 11:05:21 -07:00
Ryan Keairns
7d9302448d
Update .scss owner for embeddable plugin directory (#81516) 2020-10-22 12:53:20 -05:00
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
Tiago Costa
9e2589807f
Merge remote-tracking branch 'upstream/master' 2020-10-22 16:01:25 +01: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