Commit graph

45042 commits

Author SHA1 Message Date
Kibana Machine 29f32413a8
[RAC] Store rule params in the alert document (#113429) (#113965)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Alejandro Fernández Gómez <alejandro.fernandez@elastic.co>
2021-10-05 18:45:00 +00:00
Kibana Machine b2024f5c6d
Rename Fleet User Guide (#113867) (#113963)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: DeDe Morton <dede.morton@elastic.co>
2021-10-05 14:43:17 -04:00
Yuliia Naumenko 8e8c8f852e
[Alerting] Allow rule types to specify custom timeout values (#113487) (#113957)
* [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>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-10-05 14:24:07 -04:00
Kibana Machine 748677ead0
[SECURITY] Add Privilege deprecations services in security plugin (#113151) (#113955)
* 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>

Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-10-05 18:18:40 +00:00
Tre ffeefb5f94
[Archive Migration] xpack..so_mgmt_feat_ctrls_security (#112314) (#112433)
# Conflicts:
#	x-pack/test/functional/es_archives/saved_objects_management/feature_controls/security/mappings.json

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 14:18:17 -04:00
Kibana Machine 2997a69939
[Stack Monitoring] Convert cluster listing view to React (#113585) (#113953)
* [Stack Monitoring] Covnert cluster listing view to React

* Fixing localStorage

Co-authored-by: Chris Cowan <chris@chriscowan.us>
2021-10-05 14:16:07 -04:00
Kibana Machine 6d685411d8
fix policies version overlap (#113913) (#113941)
Co-authored-by: juliaElastic <90178898+juliaElastic@users.noreply.github.com>
2021-10-05 12:49:09 -04:00
Kibana Machine e870b6fe3d
App Search Automated Curation Suggestion Detail View (#113342) (#113640)
Co-authored-by: Davey Holler <daveyholler@gmail.com>
2021-10-05 16:31:35 +00:00
Kibana Machine 0761e6576c
[Dashboard] Adding timelion panel without asking for the index pattern (#113896) (#113933)
* [Dashboard] Adding timelion panel without asking for the index pattern

* Adds a functional test

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-10-05 12:11:41 -04:00
Kibana Machine d286ba951c
Remove APM Alerts subfeature privilege (#113469) (#113930)
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.

Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
2021-10-05 15:44:49 +00:00
Kibana Machine 8586f8ac3c
[7.x] [APM] Fleet: Update "switch to datastreams" wording for apm migration (#113574) (#113843)
* [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>

* Update schema_overview.tsx

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
Co-authored-by: Brandon Morelli <brandon.morelli@elastic.co>
2021-10-05 15:35:13 +00:00
Kibana Machine a8b0548a8c
[ML] Auto-scalable ML node integrations improvements (#112264) (#113927)
* [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>

Co-authored-by: James Gowdy <jgowdy@elastic.co>
2021-10-05 11:29:18 -04:00
Kibana Machine 1212a095b9
[Workplace Search] Add read views for Source Sync Scheduling (#113199) (#113889)
* 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>

Co-authored-by: Scotty Bollinger <scotty.bollinger@elastic.co>
Co-authored-by: Vadim Yakhin <yakhin.v@gmail.com>
2021-10-05 15:03:57 +00:00
Kibana Machine bdb572c873
[Observability] Add tooltips to alert table row action buttons (#113782) (#113924)
Co-authored-by: Milton Hultgren <milton.hultgren@elastic.co>
2021-10-05 10:53:03 -04:00
Kibana Machine b5163cc356
[APM] Add link to officials docs for APM UI settings (#113396) (#113490)
Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>
2021-10-05 14:49:41 +00:00
CJ Cenizal 3042c1115c
Refactor reindex routes into separate single and batch reindex files. Apply version precheck to batch routes. (#113822) 2021-10-05 07:24:17 -07:00
Kibana Machine 5b12abc9c1
[Security Solution] Minimizes the number of environment variables used in Cypress (#113854) (#113917)
* cleans parameters

* updates readme

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Gloria Hornero <snootchie.boochies@gmail.com>
2021-10-05 10:08:20 -04:00
Kibana Machine 6a841c5eb1
[Discover] Fix navigation to a new from saved search and saved query, fix discover:searchOnPageLoad (#112262) (#113916)
* [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>

Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
2021-10-05 09:36:09 -04:00
Kibana Machine e4a401dc00
🐛 fix duplicate suggestion issue + missing over time (#113449) (#113915)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2021-10-05 09:12:47 -04:00
Kibana Machine a873767d62
[Lens] Unskips the heatmap functional tests suite (#113728) (#113914)
* Stabilizes the lens heatmap functional tests

* Uncomment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2021-10-05 12:58:49 +00:00
Kibana Machine 7f5cd8ece6
[ci-stats] Collects additional timings for cli tools (#113030) (#113908)
* [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>

Co-authored-by: Liza Katz <lizka.k@gmail.com>
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>
2021-10-05 08:25:32 -04:00
Kibana Machine ac14e64d55
[Fleet] Remove enterprise license requirement for custom registry URL (#113858) (#113909)
Co-authored-by: Jen Huang <its.jenetic@gmail.com>
2021-10-05 08:22:07 -04:00
Kibana Machine 352695e656
[Fleet] Set code editor height to solve an overlap in default policy settings (#113763) (#113906)
Co-authored-by: Cristina Amico <criamico@users.noreply.github.com>
2021-10-05 08:15:47 -04:00
Tiago Costa 6072b5e12e
skip flaky suite (#60559) 2021-10-05 12:51:48 +01:00
Kibana Machine 4b4ea845fe
[ML] Remove unused code. (#113263) (#113691)
- Removes unused code in server/lib/correlations.
- The only remaining file get_filters.ts was moved to lib/search_strategies/queries. (Note at the moment Kibana search strategies are only used for correlations, but at some point we might want to restructure that possibly to lib/search_strategies/correlations/queries to make it more clear).

Co-authored-by: Walter Rafelsberger <walter@elastic.co>
2021-10-05 11:33:16 +00:00
Kibana Machine 8b32279f97
Refactor (#113699) (#113902)
* refactors timeline test

* tries to remove flakiness on indicator match test

* fixes issues

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Gloria Hornero <snootchie.boochies@gmail.com>
2021-10-05 07:22:36 -04:00
Jean-Louis Leysens 5745dcab40
Partial revert "[DOCS] Adds #112562 known issue to 7.14.2 release notes" (#113441) (#113724)
* Revert "[DOCS] Adds #112562 known issue to 7.14.2 release notes (#112744)"

This reverts commit 819c670425.

* Keep removal of "coming" copy
# Conflicts:
#	docs/CHANGELOG.asciidoc
2021-10-05 12:08:33 +02:00
Ignacio Rivas 6b3eb50e6a
[Upgrade Assistant] Hide system indices from es deprecations list (#113627) 2021-10-05 10:10:44 +02:00
Ignacio Rivas 66742934a4
[Upgrade Assistant] Use skipFetchFields when creating the indexPattern in order to avoid errors if index doesn't exist (#113821)
* Use skipFetchFields when creating the indexPatter in order to avoid errors when index doesnt exist

* Address CR feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 07:48:13 +02:00
Kibana Machine 8236569ffb
[Security Solution][Timelines] - Timeline resolve api (#113157) (#113887)
Co-authored-by: Michael Olorunnisola <michael.olorunnisola@elastic.co>
2021-10-05 00:40:51 -04:00
Kibana Machine 5ce7267567
[ci] Add branch to failed test reporter github comments (#113860) (#113877)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-10-04 23:36:37 -04:00
Caroline Horn e5bc62f812
[Getting Started] Added “Add data” button to Global Nav Drawer (#113648) (#113875)
* Adding EUI as code-owners to KibanaPageTemplate
# Conflicts:
#	.github/CODEOWNERS
2021-10-04 22:30:52 -04:00
Kibana Machine 3c59b9de7e
[buildkite] Fix off-by-one problem for test failure annotations (#113852) (#113869)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-10-04 21:55:29 -04:00
Kibana Machine ed02505f31
[Security Solution] create task for auto restarting failed OLM transforms (#113686) (#113770)
Co-authored-by: Joey F. Poon <joey.poon@elastic.co>
2021-10-05 01:22:27 +00:00
Kibana Machine 8fe6b7d4ab
[buildkite] Speed up OSS misc tests by removing TS refs and bumping instance (#113855) (#113879)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-10-04 21:19:56 -04:00
Stacey Gammon c9673e4153
Update doc slugs to improve analytic tracking, move to appropriate folders (#113630) (#113862)
* Update the slugs to improve google analytics drilldown tracking

* more slug updates

* Fix some formatting issues in building blocks

* update paths

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	dev_docs/key_concepts/persistable_state.mdx
#	legacy_rfcs/README.md
2021-10-04 20:43:23 -04:00
Kibana Machine 85ef6207ba
[App Search] Detail Page for Automated Curations (#113550) (#113861)
Co-authored-by: Byron Hulcher <byronhulcher@gmail.com>
2021-10-04 20:26:14 -04:00
Kibana Machine 2111eddde0
[fleet] Add component story smoke test (#113634) (#113859)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
2021-10-04 20:18:22 -04:00
Kibana Machine 77021f586c
Fix issue with incorrect policy response attachment. (#113430) (#113850)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Pete Hampton <pjhampton@users.noreply.github.com>
2021-10-04 20:04:32 -04:00
Kibana Machine 81329ce6e4
[Fleet] Fix integration category redirect after loading categories (#113812) (#113847)
Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
2021-10-04 19:03:15 -04:00
Kibana Machine 76c31dafe4
don't wait for nav:not(.ng-hide) on status page (#113674) (#113845)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2021-10-04 18:37:07 -04:00
Yuliia Naumenko 2fec59867a
[Alerting][Docs] Elasticsearch setting search.allow_expensive_queries should be set as true. (#113062) (#113863)
* [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 18:29:30 -04:00
Kibana Machine 6be9fbe9c7
Fix bulkResolve for duplicate requests (#113798) (#113826)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-10-04 22:08:36 +00:00
Cauê Marcondes 88ded09bfa
[APM] Disabling apm e2e test (#113618) (#113787)
# Conflicts:
#	vars/tasks.groovy
2021-10-04 18:02:54 -04:00
Matthew Kime 0d2fcbc1de
[7.x] [data views] Move data views api from data plugin and into its own (#113497) (#113833)
* [data views] Move data views api from data plugin and into its own (#113497)

* initial pass at moving data views into own plugin

* require expressions plugin, fix META_FIELDS reference

* bundle limits and localization

* fix integration test

* update plugin list and jest config

* type fixes

* search fixes

* fix localization

* fix mocks

* fix mocks

* fix stub

* type fixes

* fix import on test file

* path fixes

* remove shorted dotted from data plugin

* more todo removal

* eslint fixes

* eslint fix

* simplify data views server plugin

* simplify data views server plugin

* simplify data views server plugin

* fix imports on api routes

* fix imports on api routes

* update plugin list

* ts fixes

* ts fixes

* add deprecation notice

* fix circular dependency and api integration test

* fix circular dependency and api integration test

* rename types for better clarity

* path fixes

* jest.config and tsconfig cleanup

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* localization fix

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-04 17:55:53 -04:00
Kibana Machine c689608b5e
[Stack Monitoring] Node Advanced View (#113628) (#113839)
* add template navigation

* implement advanced node view

* fix I18N titles

Co-authored-by: Sandra G <neptunian@users.noreply.github.com>
2021-10-04 17:54:44 -04:00
Michael Dokolin 74a4adc481
[Expressions] Remove the any type usages (#113477) (#113799)
* Update ESLint config to disallow usage of the any type
* Remove the any type usages from the expressions plugin
* Update plugins using expressions according to the updated public API
2021-10-04 17:48:18 -04:00
Kibana Machine 9f95a44fe3
[@kbn/securitysolution-es-utils] remove transport API in favour of typed public API (#113717) (#113831)
* remove transport API in favour of typed public API

* put elasticsearch_client back

* fix create index call

* fix setpolicy

* fix unit tests in SecuritySolution

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2021-10-04 17:41:09 -04:00
Dzmitry Lemechko 4d80db3ad9
[test/page_objects] validate selected dates for timepicker (#113597) (#113837)
* [test/page_objects] validate selected dates for timepicker

* unskip flaky test

* fix types check failure

* update tests

* update message

* unskip more tests
2021-10-04 17:27:48 -04:00
Kibana Machine eee20307ad
[Uptime] Refactor snapshots into RTL (#113727) (#113836)
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-10-04 17:26:38 -04:00