Commit graph

46626 commits

Author SHA1 Message Date
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
Gloria Hornero 781fdf9b07
fixes failing timeline test (#113394) 2021-09-29 10:10:36 -04:00
David Sánchez c76c40ab39
[Security Solution] [Endpoint] Adds cleanup method in manifest manager (#111868)
* Adds cleanup method in manifest manager

* Clean code and use right methods to get artifacts ids from manifest

* Hide logs when there is no orphan artifacts. Also use newManifest instead the oldOne

* Fix and adds more unit tests

* Adds pagination and fixed some ts

* Fix wrong comment

* Use pMap to make remove actions with concurrency

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-29 15:51:06 +02:00
Sergi Massaneda fd9dd2cb68
[Cases] Set breadcrumbs on update case title (#113266)
* set title on breadcrumbs on update case title

* test case added
2021-09-29 09:30:30 -04:00
Silvia Mitter 2ce47f8c11
[apm] Return 200 instead of 404 when agent configuration does not exist. (#113273)
fixes #113272
2021-09-29 15:29:50 +02:00
Marco Liberati 04497daed3
🐛 Fix tabs visibility on formula fullscreen (#113268) 2021-09-29 14:47:36 +02:00
Sandra G 682a1c1126
node view (#113318)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-29 08:35:38 -04:00
Pierre Gayvallet 9217be3287
add title to kibana.index and telemetry deprecations (#113259)
* add title to kibana.index deprecation

* add title to telemetry deprecation

* use i18n for kibana.index deprecation

* fix bundle key
2021-09-29 14:10:59 +02:00
Sergi Massaneda 36e7b5f622
[Security Solutions] Search results deepLinks fix inconsistency (#113046)
* deepLinks grouped and refactor

* use translations

* use Set and renaming

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-29 08:01:54 -04:00
Matthias Wilhelm 8659f456bc
[Discover] Unksip and improve index pattern without time field functional test (#112698) 2021-09-29 13:52:24 +02:00
Tiago Costa bc504b65ec
skip flaky suite (#103231) 2021-09-29 12:14:38 +01:00
Stratoula Kalafateli c63f4be4ca
Fixes error with percentiles on index with many docs (#113216)
* Fixes error with metric viz and percentiles on index with many docs

* Unskip the metric viz suite

* Adds a unit test
2021-09-29 13:47:41 +03:00
Shahzad 25695b57bd
[UX Dashboard] Enabled inspector panel for ux dashboard (#113118)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-29 11:44:04 +02:00
Milton Hultgren 65747e2d87
[Observability] Align alerts flyout status with table status visually (#111959)
* [Observability] Add common alert status indicator component (#109381)
* [Observability] Use common alert status indicator in alerts table (#109381)
* [Observability] Use common alert status indicator in alerts flyout (#109381)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-29 11:35:30 +02:00
Diana Derevyankina a8084b7f19
[Visualize] Wizard rename Index pattern to Data view (#110251) 2021-09-29 12:02:55 +03:00
Marco Liberati a251dbf1f8
[Lens] Thresholds: cap threshold width in suggestions (#112816)
* 🐛 Cap threshold width to 1px in suggestions

* 🐛 Remove icons from previews

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-29 10:10:57 +02:00
Miriam 93debf4b52
Drop explicit type annotations, fix typing (#113230) 2021-09-29 08:53:33 +01:00
Shahzad f7120d9fe4
Fix waterfall chart top axis (#113281) 2021-09-29 09:28:01 +02:00