Commit graph

47955 commits

Author SHA1 Message Date
Christiane (Tina) Heiligers 8af916bf0e Revert "Updates and refactors main config (#117597)"
This reverts commit ff7e77ad54.
2021-11-05 08:05:34 -07:00
Christos Nasikas 28142609cc
[Cases] Fix cases navigation after attaching an alert to a case. (#117633) 2021-11-05 15:03:55 +00:00
Orhan Toy 92762fa62f
[App Search] ILM is always enabled from 8.0 (#117291) 2021-11-05 14:40:43 +00:00
István Zoltán Szabó cd33f58ea6
[DOCS] Adds transfrom rules to the list of rule types (#117325) 2021-11-05 10:32:31 -04:00
Christiane (Tina) Heiligers ff7e77ad54
Updates and refactors main config (#117597) 2021-11-05 07:22:49 -07:00
Devon Thomson 5d5fb3f91c
[Dashboard] Listing Page Callout When New Dashboard In Progress (#117237)
* Added dashboard listing state for when no dashboards are available, but the user has one in progress
2021-11-05 10:21:26 -04:00
Jean-Louis Leysens 18f601dc49
[Reporting] Remove pdf-to-img (#117637)
* remove use of pdf to png conversion checker in comparison test

* remove use of pdf-to-img use in compare images service

* remove pdf-to-img dep from kibana
2021-11-05 09:05:35 -05:00
Thomas Watson e8eb222e25
Bump wide-align used by gauge from v1.1.3 to v1.1.5 (#117623) 2021-11-05 14:04:51 +01:00
Christos Nasikas 5ce12b2a84
[Connectors][ServiceNow] Remove SN flags (#117511) 2021-11-05 12:44:45 +02:00
Robert Oskamp d0567f8779
[ML] Functional tests - stabilize and re-enable feature importance tests (#117503)
This PR re-activates and stabilizes the data frame analytics feature importance tests by reducing the job run time. It also scrolls the feature importance section into view during validation so in case of a failure the screenshot shows the relevant part of the screen.
2021-11-05 10:28:07 +01:00
Ersin Erdal d84e006637
[RAC] Disable the actions button if the user has inadequate privileges (#117488)
Disable the actions button if the user has inadequate privileges
2021-11-05 10:18:21 +01:00
Marta Bondyra 2f6e2c86ef
[Visualize] [xyChart] filter labels by default (#117288)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-05 10:05:23 +01:00
David Sánchez a2296c5e2a
Fix warning when setting description to undefined (#117338)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-05 09:33:56 +01:00
Tyler Smalley 60340b5a05
[build] Set monitoring.ui.container.elasticsearch.enabled for all containers (#115087)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-05 00:39:04 +00:00
Jonathan Budzenski 2603f9d0b3 fix types 2021-11-04 16:53:59 -05:00
ymao1 eb99e5e6fe
[Alerting] UX fixes for execution duration chart (#117193)
* UX fixes for duration chart

* UX fixes for duration chart

* UX fixes for duration chart

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 17:52:49 -04:00
Brian Seeders 22a9382014
[CI] Delete node_modules in between bootstrap attempts (#117588) 2021-11-04 21:22:49 +00:00
Nathan L Smith 0d9f9fd90a
Flaky test fixes (#117028) 2021-11-04 16:00:54 -05:00
Steph Milovic fb6fe9bd72
[Security Solution] [Sourcerer] [Feature Branch] Update to use Kibana Data Views (#114806) 2021-11-04 14:51:32 -06:00
Pete Harverson 46e91f3d12
[ML] Hide anomaly entity filter button tooltips when clicked (#117493)
* [ML] Hide anomaly entity filter button tooltips when clicked

* [ML] Move logic into blurButtonOnClick helper function
2021-11-04 18:49:21 +00:00
Dominique Clarke 3ec0dd7983
adjust the synthetics journey type (#117316) 2021-11-04 14:27:17 -04:00
Claudio Procida debdfd2fd6
Refines hasAnyData check for alerts (#117499)
* Refines hasAnyData check for alerts

* Fixes type refinements

* Applies review feedback

* Naming is hard
2021-11-04 19:27:09 +01:00
Thomas Neirynck 8ae4275671
[Fleet] Default to APM tutorial (#117421) 2021-11-04 14:24:41 -04:00
Nathan Reese 11341ffe0e
[Maps] update docs for index pattern -> data view rename (#117400)
* [Maps] update docs for index pattern -> data view rename

* Update docs/maps/reverse-geocoding-tutorial.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 12:04:05 -06:00
Zacqary Adam Xeper 8420094de3
[Logs UI][Metrics UI] Remove deprecated config fields from APIs and SavedObjects (#116821)
* [Logs UI][Metrics UI] Remove deprecated config fields from APIs

* Fix typecheck

* Fix typecheck

* Fix typecheck

* Fix jest

* Fix functional test

* Remove extraneous timeField args

* Typecheck fix

* Consolidate log file changes to ResolvedLogSourceConfiguration

* Fix merge

* Revert additional logs files

* Revert inventory models

* Revert log_analysis api

* Fix timefield reference in process list

* Restore logs page files, fix typecheck on mock

* Fix functional test

* Restore inventory models index

* Fix typecheck on getFilteredMetrics

* Look CI if you don't tell me all the type errors at once I can't fix them all

* Maybe this is the last typecheck fix who knows

* Restore reading timestamp field from data view

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 17:57:18 +00:00
Mark Hopkin 9bc2f221ae
[Fleet] Fix agent logs not reading query from URL (#117286)
* Don't use hash for agent logs url state

* revert core app services change
2021-11-04 17:00:37 +00:00
ymao1 947a11427b
Fixing 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 successfully test valid es_query alert (#114917)
* Unskipping test

* Commenting out fix and fixing another test

* Fixing functional test

* Fixing functional test agaaaiiinn

* Fixing the actual flake

* Splitting into two tests

* Maybe this time
2021-11-04 13:00:25 -04:00
Zacqary Adam Xeper e4982fe4b7
[Metrics UI] Add docs link to redundant groupBy detection (#116822)
* [Metrics UI] Fix OR logic on redundant groupBy detection

* Switch regex change to doc change

* Fix core docs links

* Update x-pack/plugins/infra/public/alerting/metric_threshold/components/expression.tsx

Co-authored-by: Sandra G <neptunian@users.noreply.github.com>

Co-authored-by: Sandra G <neptunian@users.noreply.github.com>
2021-11-04 16:54:12 +00:00
Xavier Mouligneau b0110d8bff
[SECURITY] Flaky api keys grid (#116991)
* fix flaky test + adding functional test

* review + remove more jest flaky test

* fix type

* fix review/confusion

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 12:49:38 -04:00
Frank Hassanabad f7761d9fca
[Security Solutions] Replaces console logging with the correct e2e logger in the e2e tests (#116872)
## Summary

This replaces the `console.log` we have with `ToolingLog` which is what the e2e tests want to use. Right now they're producing a lot of `console.log` debugging information and noise which we don't want. Instead we want to use the standard tool logging that e2e has for the FTR tests.

The two most important files with changes are:
* x-pack/test/detection_engine_api_integration/utils.ts 
* x-pack/test/lists_api_integration/utils.ts

From there everything else is just a repeating pattern of:

```ts
const log = getService('log');
```

And then pushing the log into the utilities:

such as:

```ts
await deleteListsIndex(supertest, log);
```

For reviewers, if you want to, checkout this branch and just ensure I didn't miss a `console.log` statement within the e2e tests anywhere. Also double check I did the correct `log.debug` vs `log.error` or if you think I misinterpreted one, point it out. I use `log.debug` where I have retries and then I use `log.error` where I thought it would be most useful to call out a very probable or unexpected statement happening when the tests begin to go sideways or have issues.

### Checklist

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
2021-11-04 16:10:16 +00:00
Mikhail Shustov 93197414aa
remove unnecessary global typings (#117408)
* remove unnecessary global typings

* clanup index.ts

* put storybook typings back
2021-11-04 16:59:14 +01:00
Christos Nasikas d38fb03820
[Cases] Align cases lint rules with security solution (#117177)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 17:51:02 +02:00
Joe Reuter 4c5e59db56
unskip rollup (#116567)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 16:37:11 +01:00
Søren Louv-Jansen 18b2395236
[APM] Improve service inventory performance (#116258)
* [APM] Improve service inventory perf

* Remove optimization for transaction groups api

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 16:36:53 +01:00
Andrew Tate 37571a441f
fix alignment (#117378)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 09:52:05 -05:00
Frank Hassanabad d735b7dc0f
Increases the timeout for the test from default 1 second. (#117389)
## Summary

Fixes https://github.com/elastic/kibana/issues/115624

by increasing the timeout from 1 second to 5 seconds. Although jest is 5 seconds by default the `waitForNextUpdate` is by default 1 second. This adds a simple configuration to have it wait for 20 seconds before timing out which is what the flake is hinting at is a timeout that is beyond 1 second.
2021-11-04 08:35:01 -06:00
Dmitry Tomashevich c7866c360b
[Discover] Move truncate-by-height into Discover (#114320)
* [Discover] move source field formatter to discover

* [Discover] cleanup source field from field formatters

* [Discover] return source field format

* [Discover] move truncate by height to discover settings category, apply css via emotion

* [Discover] improve code readability, fix i18n

* [Discover] fix remaining i18n

* [Discover] fix unit tests

* [Discover] return truncate-by-height setting to general

* [Discover] return i18n naming

* [Discover] apply suggestions

* [Discover] fix i18n

* Update src/plugins/discover/server/ui_settings.ts

Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>

* [Discover] fix embeddable and discover grid truncation styles

* [Discover] fix tests

* [Discover] get rid of emotion

* [Discover] apply suggestions

* [Discover] inject emotion styles properly

* [Discover] remove console.log

* [Discover] revert react router changes

* [Discover] fix truncate max height reset

* [Discover] simplify

* [Discover] return injection to the right place

* [Discover] remove unused import

* [Discover] apply suggestions

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>
2021-11-04 17:29:22 +03:00
Dominique Clarke 3a096788d2
increase timeout for long running test (#117375)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 10:22:47 -04:00
Carlos Delgado 3638a50990
Enterprise Search - Fix event structure name change (#117502) 2021-11-04 15:18:23 +01:00
Søren Louv-Jansen 2e35260012
[APM] E2E script improvements (#116972) 2021-11-04 14:05:54 +00:00
James Gowdy faba43576d
[File data visualizer] Disabling create data view based on capabilities (#117347)
* [File data visualizer] Disabling create data view based on capabilities

* removing data view management card based on permissions

* fixing reset button and index data viz link
2021-11-04 13:53:43 +00:00
Tiago Costa 03999ab3a4
skip flaky suite (#117462) 2021-11-04 13:35:43 +00:00
Steph Milovic 5eeb5b8dbe
[Security Solution] Fix ip.replace error on Network/HTTP Tab (#116288) 2021-11-04 07:30:50 -06:00
Tiago Costa b121681d8e
skip flaky suite (#117404, 117403) 2021-11-04 13:30:07 +00:00
Dmitry Tomashevich a285a913da
[Discover] fix context loading view (#115710)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 15:59:20 +03:00
Ashokaditya d422da5919
[Security Solution][Endpoint] Use a feature flag to use the new pending actions logic (#117219)
* use a feature flag to use the new pending actions logic

refs elastic/kibana/issues/116715

* switch off pending actions for endpoints when feature flag is disabled

review suggestions

* update/add tests to use FF

* correctly override the FF

`parseExperimentalConfigValue` method sets feature flag key values to `true` if passed as arg

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-04 12:08:46 +00:00
Dario Gieselaar f647fb352c
[APM] Use synthtrace for /internal/apm/services API tests (#117083) 2021-11-04 11:47:05 +01:00
Michael Olorunnisola a0530e1592
[Security Solution][Investigations] - Default enable copy icon tooltip (#117412) 2021-11-04 06:46:02 -04:00
Michael Olorunnisola 3b63d2f93b
[Security Solution][Investigations] Fix filter out of empty values (#117422) 2021-11-04 06:45:48 -04:00
Michael Olorunnisola dc5ac17d8c
[Security Solution][Investigations] - Update timeline host and ip fields to be clickable (#117403) 2021-11-04 06:45:17 -04:00