Commit graph

46643 commits

Author SHA1 Message Date
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
Marco Liberati b567351b15
[Lens] Thresholds: moving a threshold to another group should carry also its styling (#112853)
* 🐛 When dragging a threshold to another group carry also its styling

*  Add functional test

*  Make duplicate carry style too

*  Add functional test for duplicate use case

* 🐛 Fix table duplication issue

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-29 18:52:50 +02:00
Pete Harverson 408cf173fa
[ML] Convert APM transaction anomaly detection job to analyze metric data (#111957)
* [ML] Convert APM transaction anomaly detection job to analyze metric data

* [ML] Fix test and edit manifest query and defaultIndexPattern

* Remove queries for ml module, upgrade version

* Update ML anomaly searches

* Add metricset.name term query to datafeed

* Add metricset.name/processor.event queries to module setup

* [ML] Edit setup module API integration test to not start datafeed

* [ML] Edit aggregation names

* Edit home.spec E2E test URLs

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2021-09-29 17:52:00 +01:00
Nathan L Smith f4a95f9b97
Alert creation and freeform selection (#111883)
Allow selecting any service name, transaction type (where appropriate), and environment when creating and editing rules, both in APM and Stack Management.

- Create /internal/apm/suggestions endpoint that uses `terms_enum`
- Use combo box for environment, service name, and transaction type with suggestions endpoint on all alerts
- Remove "Go to APM" callouts on new alert creation
- Wrap calls to `createCallApmApi` in alert triggers with `useEffect`
- Use `getEnvironmentLabel` for value in environment field expression
- Make all `AlertParams` fields optional (except in latency threshold alert)
- Add e2e tests for creating an alert
- Remove `NewAlertEmptyPrompt` component and `isNewApmRuleFromStackManagement` helper
- Replace `maxServiceEnvironments` and `maxServiceSelections` config options with `maxSuggestions` advanced setting.


![CleanShot 2021-09-28 at 10 35 58](https://user-images.githubusercontent.com/9912/135119948-e247615a-d235-4feb-b197-b803f165ad1e.gif)

Fixes #106786
2021-09-29 11:18:44 -05:00
spalger c7e06ab7d3 skip suite failing es promotion (#113439) 2021-09-29 15:46:56 +00:00
Trevor Pierce 7e0e8a4912
Bumping EUI to 38.0.1 (#112462)
* Bumping EUI to 38.0.0

* Updating storyshots.test.tsx snapshot

* Removing unneeded ID mock and updating snapshot.

* Fixing panel titles by splitting visible labels.

* Updating one functional test for Discover > Data Grid

* Fixing one test on a Lens > Smokescreen accessible label

* Updating four tests to use visible labels only.

* Adding helper function to retrieve visual text only and fixing three tests.

* Dashboard > Panel Cloning all tests pass.

* Fixing accessible label test

* Fixing data_shared_attributes, two tests

* Updating tests for Discover > Data Grid

* Reverting tests ahead of EUI 38.0.1 backport
* Reverted the SR-only class behavior to use `left: -10000px;`
* Reverting tests to previous assertions

* Bumping configuration files to EUI 38.0.1
* package.json
* package-lock.json
* license-checker

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-29 10:25:15 -05:00
Marta Bondyra 23e55b3270
[Lens] Fix infinite loop when loading rejected data view (#113375)
* [Lens] Fix infinite loop when loading rejected index pattern

* Update x-pack/plugins/lens/public/app_plugin/app.test.tsx
2021-09-29 17:05:45 +02:00
renovate[bot] c8223bf4f6
Update dependency @elastic/elasticsearch to ^8.0.0-canary.21 (#113353)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 16:47:04 +02:00
Christiane (Tina) Heiligers 5cf733a9c9
Documents es/so/server deprecated settings removal in breaking changes (#113337) 2021-09-29 07:30:00 -07:00
Rudolf Meijering aea6daa177
Wait for a yellow source before starting reindex (#113382) 2021-09-29 10:22:47 -04:00