Commit graph

46664 commits

Author SHA1 Message Date
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
Diana Derevyankina
1459839e37
Failing test: Chrome UI Functional Tests.test/functional/apps/visualize/_tsvb_table·ts - visualize app visualize ciGroup12 visual builder table should display correct values on changing metrics aggregation (#112216)
* Add wait for finish header loading

* Add header waitUntilLoadingHasFinished to visChart waitForVisualizationRenderingStabilized

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-29 09:55:54 +03:00
Tyler Smalley
f9d5b1943c [renovate] Add babel to config
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-28 21:55:40 -07:00
Tyler Smalley
7a0c2f6244
[CI] Require Tech Lead approval for license overrides (#113349)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-28 19:57:51 -07:00
Tyler Smalley
d20a696e95
[ci-stats] Collects additional timings about bootstrap (#112919)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-28 20:56:49 -04:00
Jonathan Budzenski
e54950177d
[build/docker] Fix beats architecture (#113340)
Beats ARM artifacts use arm64 as the identifier.  This fixes the
architecture passed to docker.
2021-09-28 15:46:11 -07:00
Devon Thomson
bd699aceb2
Compare intervals for unsaved changes on dashboard (#112592) 2021-09-28 16:48:11 -04:00
Nathan L Smith
8cf20cd82e
Fix APM E2E (#113297)
Add `?*` to the end of request aliases in instances table tests.

#104301 upgraded Cypress to a newer version that required this, but the APM E2E tests were not run because there were no changes to any files in APM.
2021-09-28 15:17:06 -05:00
Christiane (Tina) Heiligers
8d8b40075e
Removes support for unused optimize.* settings from core deprecations (#113296)
Co-authored-by: Luke Elmers <lukeelmers@gmail.com>
2021-09-28 13:08:52 -07:00
Stacey Gammon
4fe8605c7b
Remove RFCs from our repository. (#113289)
* Remove RFCs from our repository.

* Revert "Remove RFCs from our repository."

This reverts commit e97e3fb487.

* rename folder, and update readme.
2021-09-28 15:27:58 -04:00
Kyle Pollich
acd29eddcf
Add test for overridePackageInputs method (#113270) 2021-09-28 15:13:26 -04:00
Lee Drengenberg
200d0353d1
fix skipped test test/accessibility/apps/dashboard·ts - Dashboard create dashboard button #111233 (#112872)
* test if 2s sleep fixes flakey test

* switch from sleep to retry.waitFor

* remove .only, add comments to config file about sample data add/remove

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-28 13:50:22 -05:00
Yuliia Naumenko
3dcfd447d2
[Alerting] Fixed Jest test suites with unhandled promise rejections (#113213)
* [Alerting] Fixed Jest test suites with unhandled promise rejections

* fixed typecheck
2021-09-28 11:05:38 -07:00