Commit graph

46773 commits

Author SHA1 Message Date
Corey Robertson
b26968dbe8
[Canvas] Use SavedObjectResolve (#110848)
* Make Canvas Workpads Share Capable

* Address some PR feedback

* Fix types

* Fix reporting view

* Fix unused import

* Fix lint issue

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 12:30:40 -04:00
Alejandro Fernández Gómez
685f58579d
[RAC] Store rule params in the alert document (#113429)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 18:21:30 +02:00
DeDe Morton
dd2065fd52
Rename Fleet User Guide (#113867)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 09:15:02 -07:00
Yuliia Naumenko
b204b911e7
[Alerting] Allow rule types to specify custom timeout values (#113487)
* [Alerting] Allow rule types to specify custom timeout values

* fixed tests and docs

* -

* fixed due to comments

* Update x-pack/plugins/alerting/README.md

Co-authored-by: ymao1 <ying.mao@elastic.co>

* fixed tests and docs

* Update plugin.test.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-10-05 08:55:13 -07:00
Xavier Mouligneau
77675d9f5e
[SECURITY] Add Privilege deprecations services in security plugin (#113151)
* non-working POC for privilege deprecations

* wip to be bale to deprecated sub feature case in security solutions

* finalyze deprecations of cases sub feature in security solutions

* only adding the deprecation servces in security

* add test + translation

* Update x-pack/plugins/security/server/deprecations/privilege_deprecations.ts

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* joe reviews

* renaming + double check

Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 11:48:32 -04:00
Chris Cowan
141a88bf62
[Stack Monitoring] Convert cluster listing view to React (#113585)
* [Stack Monitoring] Covnert cluster listing view to React

* Fixing localStorage
2021-10-05 09:24:20 -06:00
Shahzad
b8cdc6fd1b
[Exploratory View] Embedddable component (#113108)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 17:23:44 +02:00
Jonathan Buttner
93d1a7fbcc
[Cases][Timeline] Toast an error when unable to retrieve timeline (#113795)
* Displaying a toaster error message when a timeline fails to load

* Adding tests
2021-10-05 10:31:32 -04:00
Dominique Clarke
940149c1b6
[Observability] [Exploratory View] Fix calendar cut off, change title, and close accordions on apply changes (#113824)
* fix header

* fix calendar is cut off

* close accordions on apply changes

* adjust types
2021-10-05 10:18:17 -04:00
Stacey Gammon
cc00f3f279
Update kibana plugin, platform and package overview doc (#112894)
* udpate

* Update kibana_platform_plugin_intro.mdx

* Update kibana_platform_plugin_intro.mdx

* Update kibana_platform_plugin_intro.mdx

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 10:02:46 -04:00
Esteban Beltran
9902cbdc07
[Security Solution] host isolation exceptions delete item UI (#113541)
Co-authored-by: David Sánchez <davidsansol92@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 09:50:44 -04:00
juliaElastic
a4f209e6f0
fix policies version overlap (#113913) 2021-10-05 15:44:36 +02:00
Stratoula Kalafateli
65df961b5c
[Dashboard] Adding timelion panel without asking for the index pattern (#113896)
* [Dashboard] Adding timelion panel without asking for the index pattern

* Adds a functional test
2021-10-05 16:31:39 +03:00
Nathan L Smith
433a0e3927
Remove APM Alerts subfeature privilege (#113469)
This was not being used (`alerts_all` and `alerts_read`) and will not be used in the future and can be safely removed.

Fixes #112274.
2021-10-05 08:19:46 -05:00
Byron Hulcher
81046f171e
[App Search] Detail Page for Automated Curations (#113885) 2021-10-05 09:08:03 -04:00
James Gowdy
02ca808dc2
[ML] Auto-scalable ML node integrations improvements (#112264)
* [ML] Lazy ML node integrations improvements

* adding checks to metric and uptime

* updating callout

* adding callout to security

* cleaning up logs changes

* further clean up

* cleaning up callout code

* reverting churn

* linting

* improvements to bundle size

* adding link to cloud

* text changes

* fixing test

* translation id

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 14:02:18 +01:00
Kevin Lacabane
cf6bb10bb1
[Stack Monitoring ] Migrate kibana instances page to react (#113874)
* kibana instances page component

* kibana instances route

* extract SetupModeProps to remove duplication
2021-10-05 14:44:32 +02:00
Milton Hultgren
308068407d
[Observability] Add tooltips to alert table row action buttons (#113782) 2021-10-05 14:26:21 +02:00
Søren Louv-Jansen
853c588626
[APM] Add documentation for APM data and queries (#113542) 2021-10-05 14:00:19 +02:00
Tiago Costa
9920e63a25
skip flaky suite (#60559) 2021-10-05 12:50:31 +01:00
Dario Gieselaar
79f841e5d3
[APM] Display all properties by default in flyout (#113221)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 13:38:51 +02:00
Gloria Hornero
699de6b603
[Security Solution] Minimizes the number of environment variables used in Cypress (#113854)
* cleans parameters

* updates readme

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 07:34:44 -04:00
Pierre Gayvallet
a4b74bd398
[8.0] Remove legacy logging (#112305)
* remove kbn-legacy-logging package

* remove legacy service

* remove legacy appender

* remove LegacyObjectToConfigAdapter

* gix types

* remove @hapi/good / @hapi/good-squeeze / @hapi/podium

* remove `default` appender validation for `root` logger

* remove old config key from kibana-docker

* fix FTR config

* fix dev server

* remove reference from readme

* fix unit test

* clean CLI args and remove quiet option

* fix type

* fix status test config

* remove from test config

* fix snapshot

* use another regexp

* update generated doc

* fix createRootWithSettings

* fix some integration tests

* another IT fix

* yet another IT fix

* (will be reverted) add assertion for CI failure

* Revert "(will be reverted) add assertion for CI failure"

This reverts commit 78d5560f9e.

* switch back to json layout for test

* remove legacy logging config deprecations

* address some review comments

* update documentation

* update kibana.yml config examples

* add config example for `metrics.ops`

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-05 13:30:56 +02:00
Dmitry Tomashevich
158b396ae1
[Discover] Fix navigation to a new from saved search and saved query, fix discover:searchOnPageLoad (#112262)
* [Discover] fix saved search become active

* [Discover] add another fix to be consistent with data fetching code

* [Discover] simplify solution

* [Discover] add functionals

* [Discover] fix saved query bug, add functionals

* [Discover] fix functionals

* [Discover] fix functional test

* [Discover] split saved query tests

* [Discover] preselect logstash index pattern

* [Discover] remove saved query after test complete

* [Discover] change query fill order

* [Discover] try to fix unrelated functional test

* [Discover] one more fix

* [Discover] try to fix one more problem

* [Discover] fix commonly used time range test

* [Discover] revert uisettings init in before statement, do small adjustments

* [Discover] fix unit test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 14:08:54 +03:00
Marco Liberati
35e9f6ad6b
🐛 fix duplicate suggestion issue + missing over time (#113449)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 12:45:56 +02:00
Stratoula Kalafateli
1e7d4e1adf
[Lens] Unskips the heatmap functional tests suite (#113728)
* Stabilizes the lens heatmap functional tests

* Uncomment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 13:32:28 +03:00
Jen Huang
a2ac439f56
[Fleet] Remove enterprise license requirement for custom registry URL (#113858) 2021-10-05 11:58:01 +02:00
Liza Katz
b62566da33
[ci-stats] Collects additional timings for cli tools (#113030)
* [ci-stats] Collects additional metrics about bootstrap

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* test reporting

* [ci-stats] Collects additional metrics about bootstrap

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Move ts timing to build_ts_refs_cli script

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Add timings to run

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* info debug level

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* fix build

* Move report function to dev-utils
align name of tests
report from functional test runner

* report snapshot install \ ready times
fix event names

* Report memory usage and branch hash

* fix eslint

* fix integration test

* build

* mergy merge

* mergy merge 2

* eslint

* eslint

* ready events

* Update packages/kbn-es/src/cli_commands/snapshot.js

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-es/src/cluster.js

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-es/src/cli_commands/snapshot.js

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-test/src/functional_tests/cli/start_servers/cli.js

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update src/dev/run_check_published_api_changes.ts

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-test/src/jest/run.ts

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update src/dev/run_i18n_check.ts

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-test/src/functional_test_runner/cli.ts

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* code review

* pm

* merge

* dist

* jest fix

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>
2021-10-05 12:57:40 +03:00
Cristina Amico
ae7a6cffeb
[Fleet] Set code editor height to solve an overlap in default policy settings (#113763) 2021-10-05 11:50:52 +02:00
Gloria Hornero
723370ab23
Refactor (#113699)
* refactors timeline test

* tries to remove flakiness on indicator match test

* fixes issues

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 09:52:31 +01:00
Shahzad
00bb59713e
[Uptime] Annotate waterfall chart with additional metrics (#103642)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 09:13:14 +02:00
Mat Schaffer
dbad35f1cc
Apm pages (#113716)
* Apm overview page

* APM instances page

* Add APM instance page

* Add ignores on js components

* One more ts-ignore
2021-10-05 08:16:21 +02:00
Scotty Bollinger
8f7dd3f5cb
[Workplace Search] Add read views for Source Sync Scheduling (#113199)
* Add constants

Placeholders in place whle content is being written

* Update mock to match API and add types

The weird typing around `DaysOfWeek` was taken from this SO answer to get an array from a union type:

https://stackoverflow.com/a/45486495/1949235

* Add routes and stubbed docs urls

* Add components for list items

These components are the repeatable components in each of the frequency tabs.

- FrequencyItem
- BlockedWindowItem

Form changes methods are stubbed for now.

* Add tab components for Frequency page

* Add Frequency page component

* Add synchronization logic

This is just the basics. More will be added in a future PR

* Add Synchronization op-level page

* Add Synchronization router and subnav

* Add `Objects and assets` page stub

This is merely a placeholder page so the routes could be built out. Section will be moved from settings in a future PR

* Add name and new nav item to source sub nav

* Add SynchronizationRouter nav to Source router

* Fix a couple of typos

* Add callout and disable subnav for disabled sync

This was added to the API after the rest of the work was done, so adding it here.

https://github.com/elastic/workplace-search-team/issues/2043

* Update frequency item to account for edge case

There was a very long discussion about the edge case that is covered here.

https://github.com/elastic/ent-search/pull/4715

Basically here is what we landed on:

In most cases, the user will use the form to set the sync frequency, in which case the duration will be in the format of "PT3D" (ISO 8601). However, if an operator has set the sync frequency via the API, the duration could be a complex format, such as "P1DT2H3M4S". It was decided that in this case, we should omit seconds and go with the least common denominator from minutes.

Example: "P1DT2H3M4S" -> "1563 Minutes"

* Fix failing tests and add key

* Update constants with note for translators

* Fix typo

Co-authored-by: Vadim Yakhin <yakhin.v@gmail.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Vadim Yakhin <yakhin.v@gmail.com>
2021-10-04 23:43:54 -04:00
Michael Olorunnisola
7446e0755a
[Security Solution][Timelines] - Timeline resolve api (#113157) 2021-10-04 21:43:35 -04:00
Brian Seeders
083eb24876
[buildkite] Speed up OSS misc tests by removing TS refs and bumping instance (#113855) 2021-10-04 21:08:01 -04:00
Brian Seeders
5216442d6c
[ci] Add branch to failed test reporter github comments (#113860) 2021-10-04 21:07:49 -04:00
Brian Seeders
7ad30eda15
Revert "[App Search] Detail Page for Automated Curations (#113550)"
This reverts commit 4d2a9c59a4.
2021-10-04 21:02:49 -04:00
Brian Seeders
fc89528c40
[buildkite] Fix off-by-one problem for test failure annotations (#113852) 2021-10-05 00:29:43 +01:00
Brandon Morelli
55bd942a1f
Update schema_overview.tsx (#113848) 2021-10-04 18:47:10 -04:00
Yuliia Naumenko
73f232f5b3
[Alerting][Docs] Elasticsearch setting search.allow_expensive_queries should be set as true. (#113062)
* [Alerting][Docs] Elasticsearch setting search.allow_expensive_queries should be set to true.

* fixed text

* fixed text

* fixed due to comments

* Update alerting-setup.asciidoc
2021-10-04 15:20:11 -07:00
Byron Hulcher
4d2a9c59a4
[App Search] Detail Page for Automated Curations (#113550) 2021-10-04 17:57:18 -04:00
Clint Andrew Hall
5ca923772d
[fleet] Add component story smoke test (#113634)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-04 14:49:44 -07:00
Kellen
6f665004cb
correct relativity in images (#113834) 2021-10-04 14:19:30 -07:00
Pete Hampton
a565fa02f3
Fix issue with incorrect policy response attachment. (#113430)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-04 17:00:21 -04:00
Nicolas Chaulet
3efad94646
[Fleet] Fix integration category redirect after loading categories (#113812) 2021-10-04 16:34:05 -04:00
Lee Drengenberg
d038f1e214
don't wait for nav:not(.ng-hide) on status page (#113674)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-04 21:07:04 +01:00
Tre
240716d2ee
[QA][SO INFO SVC] Drop in-test jq filtering (#113655) 2021-10-04 21:02:51 +01:00
Cauê Marcondes
432a8492c8
[APM] Fleet: Update "switch to datastreams" wording for apm migration (#113574)
* removing data stream in favor of Elastic agent

* fixing i18n

* addressing pr changes

* capitalization

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-04 15:41:03 -04:00
Sandra G
6f2757dfea
[Stack Monitoring] Node Advanced View (#113628)
* add template navigation

* implement advanced node view

* fix I18N titles
2021-10-04 15:28:17 -04:00
Caroline Horn
2fad6e92c6
[Getting Started] Added “Add data” button to Global Nav Drawer (#113648)
* Adding EUI as code-owners to KibanaPageTemplate
2021-10-04 15:25:24 -04:00