Commit graph

46652 commits

Author SHA1 Message Date
Marco Liberati 218deff1cb
[Lens] Threshold: set default color for new thresholds (#113008)
* 💄 Make dark grey default threshold color

*  Fix test

* 👌 Integrate feedback

* 👌 Fix bug

* 👌 Filter threshold layers for color assignments

* 👌 Small refactor

* 🐛 Fix merging conflicts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-01 10:16:38 +02:00
Giorgos Bamparopoulos fd0648daab
Update title and description on APM tutorial in cloud hosted environments (#113438) 2021-10-01 09:10:51 +01:00
Pierre Gayvallet e443f5180b
[8.0] Remove --plugin-dir cli option (#113367)
* Remove `--plugin-dir` cli option

* remove deprecation

* remove usage from test servers

* remove import

* remove last text usages

* removes --plugins alias
2021-10-01 07:58:14 +02:00
Domenico Andreoli 92fe7f8ab3
Lint git index content on commit (#113300)
This fixes two fundamental issues:
* the list of files to be linted is built looking at the diffs of the ref
  specified with `--ref` (or otherwise the current index) with those on
  the filesystem
* the content to be linted is read from the filesystem instead of the
  specified `ref` or the one in the index
2021-10-01 07:03:36 +02:00
Tyler Smalley b6f7a610e4
[docs] Fixes typo in Deb install docs (#113590)
Co-authored-by: 魔王卷子 <baoguoxiao0538@hotmail.com>
2021-09-30 21:45:29 -07:00
Xavier Mouligneau 3b958e76aa
[Security Solution] Top-level Cases feature under the Security (#112980)
* add the new top cases feature in security

* fix api intyegration and cypress

* fix api integration

* fix cypress roles test

* missing api integration

* review Joe

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 20:18:25 -04:00
Tyler Smalley 01e6ff3b53
Prevent spec file updates from restarting dev server (#113336)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-30 17:45:25 -05:00
Brian Seeders 8b32407368
[buildkite] Improve failed test experience (#113483) 2021-09-30 18:31:34 -04:00
Michael Marcialis 2aa39891ff
[Lens] Design updates in prep for thresholds (#113428)
* remove borders from layer panels

* increase "add layer" button size

* fix cross-browser scrollbars & shadow clipping

* fix layer panel and dimension drop zone spacing

* add hyphens

* fix border radius & adjust workspace styles

* config flyout padding and spacing adjustments

* formula padding and spacing adjustments

* palette flyout padding and spacing adjustments

* remove unnecessary v7 styles

* correct button font size in v7

* restore workspace border in v7

* Fix draggable bg color in v8 dark mode

* fix misaligned layer chart picker text

* fix unit test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 18:23:58 -04:00
Tyler Smalley 14e65bf05d
[vscode] Set typescript.enablePromptUseWorkspaceTsdk (#113476)
To prompt users to use the workspace configured version of Typescript.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-30 18:13:45 -04:00
Rashmi Kulkarni de8bb8f7d8
trying to fix the skipped test - infra-home-page test (#113484)
* trying to fix the unskipped test

* remove .only and comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 12:49:01 -07:00
Zacqary Adam Xeper 0008d2833e
[Metrics UI] Add warning about redundant groupBy on metric threshold (#111891)
* [Metrics UI] Add warning about redundant groupBy on metric threshold

* Fix i18n

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 15:40:00 -04:00
Byron Hulcher 24147afdf2
[App Search] Add Automated Curations options to Curations Settings tab (#112766) 2021-09-30 13:25:27 -04:00
Mat Schaffer 575e22f070
React beats instance view (#113500)
* Add beat instance page

* Fix beat instance tabs to match angular

* Remove unused cluster prop on beats template

* Fix breadcrumbs

* Remove unused cluster prop

* Use correct codepath

* Switch beats instance back to use template

Doesn't buy us a lot here, but mirrors the pattern used in logstash where it's a lot better than just calling PageTemplate directly.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 13:25:01 -04:00
Jonathan Budzenski 6ad596f402 skipy flaky test. #112749 2021-09-30 12:24:19 -05:00
Spencer 6cccf69451
[eslint] forbid trailing slashes in package imports (#113455)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-30 12:02:56 -05:00
Quynh Nguyen 747212ce45
[ML] Add KQL filter bar, filtering functionality, and compact design to Index data visualizer (#112870)
* [ML] Initial embed

* [ML] Initial embed props

* [ML] Add top nav link to data viz

* Add visible fields

* Add add data service to register links

* Renames, refactor, use constants

* Renames, refactor, use constants

* Update tests and mocks

* Embeddable

* Update hook to update upon time udpate

* Add filter support to query

* Refactor filter utilities

* Add filter support for embeddable

* Fix saved search data undefined

* Prototype aggregated view/document view switcher

* Prototype flyout

* Prototype save document view option in storage

* Fix filter and query conflict with saved search

* Minor styling edits

* [ML] Update functional tests to reflect new arrow icons

* [ML] Add filter buttons and KQL bars

* [ML] Update filter bar onChange behavior

* [ML] Update top values filter onChange behavior

* [ML] Update search filters when opening saved search

* [ML] Clean up

* [ML] Remove fit content for height

* [ML] Fix boolean legend

* [ML] Fix header section when browser width is small to large and when index pattern title is too large

* [ML] Hide expander icon when dimension is xs or s & css fixes

* [ML] Delete embeddables because they are not use

* [ML] Make doc count 0 for empty fields, update t/f test

* [ML] Add unit testing for search utils

* [ML] No need to - padding

* [ML] Fix expand all/collapse all behavior to override individual setting

* [ML] Fix functional tests should be 0/0%

* [ML] Fix docs content spacing, rename classnames, add filters to Discover, lens, and maps

* [ML] Fix icon styling to match Discover but have text/keyword/histogram

* [ML] Fix filters not persisting after page refresh & on query change

* [ML] Rename classnames to BEM style

* [ML] Fix doc count for fields that exists but have no stats

* [ML] Clean up unused styles

* [ML] Fix eui var & icon & file geo

* [ML] Fix navigating to Lens from new saved search broken

* [ML] Change types back to Index pattern for 7.16

* [ML] Update not in docs content and snapshots

* [ML] Fix Lens and indexRefName

* [ML] Fix field icon and texts not aligned, remove span because EuiToolTip now supports EuiToken

* [ML] Fix data view
2021-09-30 11:37:56 -05:00
Marta Bondyra b73d939d6c
[Lens] refactor - move debounce one layer up for thresholds (remove updater) (#113222)
* [Lens] remove updater from vis

* removing blur handle

* fix

* blur fix

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 18:03:40 +02:00
Sandra G 6eebf2433d
fix missing nested property when storing in local storage (#113538) 2021-09-30 11:36:58 -04:00
David Sánchez 4f95060286
[Security solution][Endpoint] API error when edit/create TA by policy and license under platinum (#113363)
* New function to check if the effect scope has been changed without right license

* Checks if license is under platinum when creating/updating trusted apps by policy

* Change error type. Use translations in frontend for api error. Also use helper mapping function to avoid use string replace method

* Remove name from constructor and changed mock function name

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 10:51:09 -04:00
Thomas Watson 7f5cd24987
Bump prismjs from 1.24.0 to 1.25.0 (#113388) 2021-09-30 16:11:07 +02:00
Ashokaditya 530408c2f5
[Security Solution][Endpoint] Action and responses data generators for .logs-endpoint.action* data streams (#113403) 2021-09-30 15:51:07 +02:00
Miriam db22641ebb
[APM] Remove dot from legend on the error marker (#113437)
* Remove dot from legend on the error marker

* Change indicator type to NodeElement

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 14:28:54 +01:00
Stacey Gammon 66f69d6a13
Clean up task manager public setup contract to improve readability and API docs (#113415)
* Improve API docs for task manager

* Update docs
2021-09-30 09:10:41 -04:00
Chris Roberson fb2ee109b8
[Actions] Better enqueue test (#112434)
* Try and add logging here

* Fix linting

* Only this test

* Better logging

* More debugging

* More debug

* Try something different

* Better way to do the test

* Get this PR ready

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 08:55:36 -04:00
Tiago Costa 2548f9b323
skip flaky suite (#113496) 2021-09-30 13:17:57 +01:00
Shahzad fe9b5332e1
[Uptime] Run Sample uptime tests using @elastic/synthetics (#112128)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 13:58:38 +02:00
Esteban Beltran a6670380aa
[Security Solution] Add host isolation exceptions UI (#111253) 2021-09-30 13:43:22 +02:00
Marco Liberati 3bd687e6ca
🐛 Fix label on horizontal chart for axis (#113452) 2021-09-30 12:37:01 +02:00
Shahzad bbf3d4b9ca
[Exploratory View] Add to case button (#112463)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 11:30:30 +02:00
Sébastien Loix 50134cbec6
[Mappings editor] Remove boost parameter from field types (#113142) 2021-09-30 10:18:09 +01:00
Alexey Antonov 48315da1e1
Revert [Vega] Fix: Scrollbars are appearing in default Vega configurations (#113110)
* Revert [Vega] Fix: Scrollbars are appearing in default Vega configurations

Revert: #97210

* update screens

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 12:11:32 +03:00
Jean-Louis Leysens 9a530b2496
[Reporting] Add deprecation titles (#113387)
* added i18n and titles to config deprecations

* Updated jest test

* Add newline at end of file

* remove unneeded space
2021-09-30 10:44:20 +02:00
Gloria Hornero a33ae63025
[Security Solution][Detections] Fixes 'Detection Rule "reference url" links don't work if they are created with missing "http://' (#112452)
* updates url validation to don't accept urls without http or https prefix

* fixes typo

* fixes linter issue

* refactors to follow recommendations

* Update x-pack/plugins/security_solution/public/common/utils/validators/index.test.ts

Co-authored-by: Frank Hassanabad <frankhassanabad@gmail.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Frank Hassanabad <frankhassanabad@gmail.com>
2021-09-30 04:40:04 -04:00
Stratoula Kalafateli a9d80ac46a
Cleanup of the kibanaLegacy unused functions and remove unecessary dependencies from Analytics plugins (#113358)
* [Discover][Table] Remove unused dependencies of the kibanaLegacy plugin

* More removals of kibanaLegacy plugin dependencies

* Revert discover changes

* Remove the unused functions from the kibana_legacy plugin

* Removes unused translations
2021-09-30 09:54:53 +03:00
Stratoula Kalafateli 24bbf2cdfc
[TSVB] Gather stats for the usage of the aggregate function in table viz (#113247)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 09:15:32 +03:00
Mat Schaffer 685a550806
[Stack Monitoring] Beats instance view pagination (#113284)
* Beats instance view pagination

* Fix beats listing sorting

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 14:04:57 +09:00
spalger 9c00debcd5 skip failing suite (#113486) 2021-09-30 00:26:06 +00:00
Søren Louv-Jansen 9dff4d0827
[APM] Add link to officials docs for APM UI settings (#113396) 2021-09-30 00:54:41 +02:00
Thomas Neirynck 1090a356f3
[Fleet] Register Sample Data (#113200) 2021-09-29 18:21:04 -04:00
Zacqary Adam Xeper 8a63be0acc
[Stack Monitoring] Migrate indices view to React (#113338)
* [Stack Monitoring] Migrate indices view to React

* Fix lint
2021-09-29 16:40:49 -05:00
ymao1 3eb93a84f5
[Alerting] Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/alert_create_flyout·ts - Actions and Triggers app create alert should show save confirmation before creating alert with no actions (#112888)
* Adding delay

* Splitting tests

* Fixing tests

* Reverting change

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-29 16:56:55 -04:00
Zacqary Adam Xeper 729194586e
[Metrics UI] Add separate setting for Alert If Group Disappears for metric threshold rules (#113032)
* [Metrics UI] Add separate setting for Alert If Group Disappears for metric threshold rules

* Fix type

* Update wording

* Clarify conditionals, remove stray console.log

* Add additional comments

* Fix comments

* Improve test specificity

* Improve default param handling and clarify ungrouped conditional

* Rename isNotUngrouped to hasGroups

* Fix tests

* Fix error state on 0 hits

* Fix type

* Improve test clarity

* Simplify conditions and rewrite comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-29 16:43:39 -04:00
David Sánchez 564e61c1bc
[Security Solution][Endpoint] Ability to assign existing trusted applications to the policy flyout (#112239)
- Adds policy assignment flyout to the Policy Details Trusted Apps sub-tab
2021-09-29 16:43:05 -04:00
mgiota 72097aed00
[RAC][Observability]: test cases for alerts pagination functional tests (#112617)
* [RAC][Observability]: test cases for alerts pagination functional tests

* page size selector tests

* create OPEN_ALERTS_ROWS_COUNT in workdlow status tests

* add tests to check if page selector is rendered or not

* reorganize tests to visible and non visible pagination controls

* default rows per page test

* page size selector tests

* more page selector tests

* write tests for pagination controls

* move pagination tests to a new file

* remove unused variables

* reorganize observability alerts service

* undo configuration change

* fix workflow status tests after refactoring

* clean up

* pr review comments

* change variable name

* rewording pagination tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-29 15:31:04 -04:00
Jason Stoltzfus 39899f8d2b
[App Search] Wired up the suggestions table to logic (#113322) 2021-09-29 15:28:34 -04:00
Patryk Kopyciński a7874ff8a5
[Fix] Replace Osquery query parser lib (#113425) 2021-09-29 20:07:13 +02:00
spalger f79a96fe7f skip flaky suite (#113043) 2021-09-29 17:15:06 +00:00
Clint Andrew Hall 521bd35668
[fleet] Add two Agent Detail page stories to Storybook (#113066) 2021-09-29 13:10:49 -04:00
Joe Portner a4d4e5b316
Fix bulkResolve for aliasMatch outcomes (#113188) 2021-09-29 13:01:26 -04:00