Commit graph

50520 commits

Author SHA1 Message Date
Kibana Machine
eb178a860b
Typescript upgrade to 4.6.2 (#126935) (#127163)
(cherry picked from commit 192309fc27)

Co-authored-by: Spencer <spencer@elastic.co>
2022-03-08 12:20:57 -07:00
Kaarina Tungseth
28088b75a9
[DOCS] Removes links (#127179) 2022-03-08 11:44:24 -06:00
Devon Thomson
6c8d119b2a
Use debounce instead of async url update to remove app state from URL (#127083) (#127159)
(cherry picked from commit ed4c19c692)
2022-03-08 10:38:09 -07:00
Spencer
b6055b60ef
[eslint] automatically determine dev packages (#127089) (#127147)
* [eslint] automatically determine dev packages

* remove old eslint overrides that are not needed anymore

(cherry picked from commit 1f514d7c00)

# Conflicts:
#	.eslintrc.js
#	packages/kbn-type-summarizer/package.json
2022-03-08 08:25:12 -07:00
Kibana Machine
af85c511c8
removes flakiness from prebuilt rules (#127137) (#127145)
(cherry picked from commit 0a06242647)

Co-authored-by: Gloria Hornero <gloria.hornero@elastic.co>
2022-03-08 08:14:16 -07:00
Kaarina Tungseth
642103fee8
[DOCS] Removes 8.1.0 coming tags (#126967)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-08 08:23:36 -06:00
Gloria Hornero
7930fa6889
[8.1] skipping failing tests (#126039) (#127052)
* skipping failing tests (#126039)

(cherry picked from commit 11839299aa)

# Conflicts:
#	x-pack/plugins/security_solution/cypress/integration/users/user_details.spec.ts

* fixes merge conflict
2022-03-08 03:22:45 -07:00
István Zoltán Szabó
5ae6c1bb88
[8.1][DOCS] Adds ML and ResponseOps related release highlights (#127005)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2022-03-08 10:50:39 +01:00
Kibana Machine
fa8b2805ca
Hide Enterprise search panel when no nodes are present (#127100) (#127113)
(cherry picked from commit fc3aedcf78)

Co-authored-by: Mat Schaffer <mat@elastic.co>
2022-03-08 02:36:36 -07:00
Kibana Machine
585aa8b8aa
[Lens] Fixed flakiness on runtime fields' appearance on the list (#126945) (#127109)
(cherry picked from commit 962347fdf2)

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2022-03-08 01:46:01 -07:00
Kibana Machine
4a4319e075
[Security Solution][Lists] - Add missing privileges callout to exception lists page (#126874) (#127104)
Resolves #126330

(cherry picked from commit e86d7aef80)

Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
2022-03-08 00:43:35 -07:00
Joe Portner
05d90e7b51
Fix session cleanup test (#126966) (#127086)
(cherry picked from commit 2f83c6516d)

# Conflicts:
#	x-pack/plugins/security/server/session_management/session_index.ts
2022-03-07 18:15:11 -07:00
Yara Tercero
71df371aef
[8.1] [Security Solution][Lists] - Hide exception list delete icon if Kibana read only (#126710) (#127061)
* [Security Solution][Lists] - Hide exception list delete icon if Kibana read only (#126710)

Addresses bug #126313

Even if user is given index privileges to lists, UI should follow Kibana privileges. Checks if user is a read only Kibana user and hides the delete icon from exception list view if true.

(cherry picked from commit 7af9c37016)

# Conflicts:
#	x-pack/plugins/security_solution/cypress/integration/exceptions/exceptions_table.spec.ts

* update test
2022-03-07 13:46:01 -07:00
Kibana Machine
406f935dfe
Use execution context for Fullstory (#126780) (#127053)
* fix a couple bugs in context management
add execution context to fullstory

* Update execution_context_service.ts

* stop and app name tests

* Use execution context in fullstory

* Fix user hash
Report org id to FS

* Use setUserVars for esorgid

* pass orgid into identify

* fix

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit ff90bd4d86)

Co-authored-by: Liza Katz <liza.katz@elastic.co>
2022-03-07 12:10:38 -07:00
Kibana Machine
60d56be43e
Add retries (#126480) (#127049)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit f85f809efb)

Co-authored-by: Quynh Nguyen <43350163+qn895@users.noreply.github.com>
2022-03-07 11:35:25 -07:00
Kibana Machine
ef673b7b29
Fix Pagination is not working correctly for host by risk under hosts tab (#126609) (#127044)
* Fix Pagination is not working correctly for host by risk under hosts tab

* Fix changing items per page doesn't work
* Fix next page button enabled when the table is empty

(cherry picked from commit 73f7ac419f)

Co-authored-by: Pablo Machado <pablo.nevesmachado@elastic.co>
2022-03-07 11:12:38 -07:00
Kibana Machine
88c383e72a
Update dependency chromedriver to ^98.0.1 (main) (#126724) (#127039)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
(cherry picked from commit 8e7a7925f2)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-03-07 10:11:22 -07:00
Kibana Machine
34b1f0944e
fix data view load err msg (#126974) (#127021)
(cherry picked from commit 0807b53d75)

Co-authored-by: Matthew Kime <matt@mattki.me>
2022-03-07 07:59:11 -07:00
Kibana Machine
50c79043d2
[Fleet] Retry Saved Object import on conflict error (#126900) (#127007)
* retry SO import on conflict errors

* add jitter + increase retries

* Apply suggestions from code review

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
(cherry picked from commit 7c6d314cb0)

Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
2022-03-07 05:58:09 -07:00
Lisa Cawley
027ca22dea
Edits dateFormat settings (#126858) (#126964)
(cherry picked from commit 5f8f4d7c4f)
2022-03-04 15:52:55 -07:00
Kibana Machine
2d9893e292
[Dashboard] Close toolbar popover for log stream visualizations (#126840) (#126959)
* Fix close popover on click

* Fix close popover on click - second attempt

* Add functional test to ensure menu closes

(cherry picked from commit f974150c7b)

Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
2022-03-04 15:26:11 -07:00
Kibana Machine
a13af769cb
[jest/cli] stop iterating up at the repo_root and error if no config found (#126853) (#126867)
(cherry picked from commit f2150ebaf5)

Co-authored-by: Spencer <spencer@elastic.co>
2022-03-04 21:00:06 +00:00
Kaarina Tungseth
fb4e1f6dcd
[DOCS] Adds the 8.1.0 release notes (#126718)
* [DOCS] Adds the 8.1.0 release notes

* Update docs/CHANGELOG.asciidoc

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

* Update docs/CHANGELOG.asciidoc

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

* Update docs/CHANGELOG.asciidoc

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

* Review comment

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2022-03-04 14:57:10 -06:00
Lisa Cawley
692fe38ff6
[DOCS] Add license expiration for searchable snapshot (#126865) (#126929)
Co-authored-by: Leaf-Lin <39002973+Leaf-Lin@users.noreply.github.com>
(cherry picked from commit 2fe4dcb3c2)
2022-03-04 11:28:13 -05:00
Xavier Mouligneau
bf65054f21
[8.1] [RAM] Fix bulk action for o11y for 7.17 (#126686) (#126852)
* [RAM] Fix bulk action for o11y for 7.17 (#126686)

* fix bulk action for o11y

* review I

* discuss it more with Devin

* clean up

(cherry picked from commit 8f277d4677)

* fix es client

* fix function
2022-03-04 09:00:13 -07:00
Kibana Machine
9984fc26e9
Skip apm overview tests on cloud (#126877) (#126887)
(cherry picked from commit 6c0526b67c)

Co-authored-by: Mat Schaffer <mat@elastic.co>
2022-03-04 03:00:35 -07:00
Kibana Machine
1c8a4500ee
Unskip flaky tests (#126743) (#126884)
Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 77ac1d822f)

Co-authored-by: Muhammad Ibragimov <53621505+mibragimov@users.noreply.github.com>
2022-03-04 02:41:41 -07:00
Spencer
1fc5a7d3fc
[8.1] [yarn] download prebuilt artifacts for re2 and node-sass from custom mirrors (#126820) (#126855)
* [yarn] download prebuilt artifacts for re2 and node-sass from custom mirrors (#126820)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit c509fda3fb)

# Conflicts:
#	yarn.lock

* update kbn/pm dist
2022-03-03 16:24:55 -07:00
Kibana Machine
aba6ebdfa3
Execution context jest tests (#126777) (#126857)
* fix a couple bugs in context management
add execution context to fullstory

* Update execution_context_service.ts

* stop and app name tests

* code review

(cherry picked from commit 93a95fd023)

Co-authored-by: Liza Katz <liza.katz@elastic.co>
2022-03-03 16:18:08 -07:00
Kibana Machine
ccaaadb1d5
[docs/es-snapshot] add note to docs about skipping tests (#126843) (#126847)
(cherry picked from commit 0099591143)

Co-authored-by: Spencer <spencer@elastic.co>
2022-03-03 15:08:45 -05:00
Kibana Machine
666ef3117a
Update osquery.asciidoc (#126712) (#126835)
* Update osquery.asciidoc

Add a note about the requirement that the Osquery Manager integration does not work for Elastic Agents in standalone mode.

* Update docs/osquery/osquery.asciidoc

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

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
(cherry picked from commit 15b6f8ec11)

Co-authored-by: Melissa Burpo <melissa.burpo@elastic.co>
2022-03-03 14:14:59 -05:00
Kibana Machine
c9e2d49617
[functional/security/test-user] remove naked boolean (#126652) (#126808)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit be1028c345)

Co-authored-by: Spencer <spencer@elastic.co>
2022-03-03 10:36:40 -07:00
Kibana Machine
fdd2cbe291
[Cases] Fix bug when pushing a case and the closure option is set to automatic (#126705) (#126781)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 0c806e9e41)

Co-authored-by: Christos Nasikas <christos.nasikas@elastic.co>
2022-03-03 10:00:23 -07:00
Kibana Machine
aadb4d9792
[ToolingLog] remove some manual indent management (#126636) (#126794)
* [ToolingLog] remove some manual indent management

* improve log message

* [dev/build] write the newline after a failed step

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 4f2321d34c)

Co-authored-by: Spencer <spencer@elastic.co>
2022-03-03 09:53:57 -07:00
Kibana Machine
b85da84a5c
[DOCS] Updated link to Embed code doc (#126734) (#126791)
* [DOCS] Fixes link to embedded content

* [DOCS] Updated text for link

(cherry picked from commit a7deb8ddd2)

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2022-03-03 10:28:37 -05:00
Kibana Machine
4aaeda23ae
Fix multi terms performance bottleneck (#126575) (#126758)
(cherry picked from commit 555ec91f51)

Co-authored-by: Joe Reuter <email@johannes-reuter.de>
2022-03-03 04:35:15 -07:00
Kibana Machine
d164f21946
FTR simulate mocha dry run (#126702) (#126753)
This PR works around a bug in mocha's dry run execution by collecting the tests without actually running mocha.

(cherry picked from commit 954e3d3eaa)

Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
2022-03-03 03:55:23 -07:00
Liza Katz
bb9ebc2265
APM execution context - app, page, entitiy id (#124996) (#126751)
* Client side execution app level context propagation

* context$ + apm rum integration

* invert the context parent \ child relationship (cc @mikhail)
move more things to top level context

* Pass down context to apm on server

* types

* eslint

* parent <> child

* docs + eslint + jest

* execution context mock

* eslint

* jest

* jest

* server jest

* check

* jest

* storybook

* jest

* report the current space

* fix server side context container

* Remove spaces for now

* docssss

* jest

* lint

* test

* docs

* revert file

* doc

* all context params are optional

* clear on page change

* lint

* ts

* skipped test again

* testing fixes

* oops

* code review #1

* code review #2

* getAsLabels

* maps inherit dashboard context

* docs

* ts

* Give common context to all vis editors

* fix test

* ts \ es \ tests

* labels

* missing types

* docsy docs

* cr #3

* improve jest

* Use editor name

* Update src/plugins/visualizations/public/visualize_app/components/visualize_editor.tsx

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>

* fix maps context

* jest tests for maps

* cr

* docs

* Update execution_context.test.ts

* docs

* lint

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
(cherry picked from commit d5416ed4ae)

# Conflicts:
#	src/plugins/discover/public/application/context/context_app.tsx
#	x-pack/plugins/lens/public/app_plugin/app.tsx
2022-03-03 03:40:02 -07:00
Kibana Machine
573f60eacd
Add Internal Alert/Signal ID to Endpoint Alert telemetry (#126216) (#126739)
* Attach the internal signal_id to the endpoint alert to join with insights

* Ensure we forward signal_id field properly

* Don't think we need to explicitly define the field in the top-level since it satisfies the key:string

* Updated unit test to check for signal id enrichment

* Addressed some comments about alert_id enrichment

* Refactored send_telemetry_events to be more performant and idiomatic

* Added test cases with a non-matching enrichment or non-existing enrichment

* Broke some tests that don't assume QueueTelemetryEvents are endpoint.alerts

* my types were still off

* Addressed comments to use more idiomatic 'toString' function

* Fixed 'Cannot access signalIdMap before initialization name' in reduce by instatiating map prior to reduce

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 2f083bfcc7)

Co-authored-by: Chris Donaher <christopher.donaher@elastic.co>
2022-03-02 19:47:24 -07:00
Kibana Machine
626e08d301
Fixed some typos (#125802) (#126733)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
(cherry picked from commit fc6897c17b)

Co-authored-by: Tobias Stadler <ts.stadler@gmx.de>
2022-03-02 17:54:51 -05:00
Kibana Machine
ac7da149a2
[Stack Monitoring] More typescript conversion (#126654) (#126719)
* Converts monitoring_bulk to TS

* Converts routes/alerts to TS, closes #117755

* Converts check_access route to TS

* Converts clusters routes to TS

Also changes some overly restrictive types that weren't accurate

* Fixes lowercase method for legacy server route

(cherry picked from commit 0bd772432a)

Co-authored-by: Jason Rhodes <jason.rhodes@elastic.co>
2022-03-02 15:07:07 -07:00
Kibana Machine
edbe18475e
[DOCS] Add settings for Enterprise Search (#126711) (#126726)
* [DOCS] Add settings for Enterprise Search

* Update docs/settings/enterprise-search-settings.asciidoc

Co-authored-by: Rich Kuzsma <62522248+richkuz@users.noreply.github.com>

Co-authored-by: Rich Kuzsma <62522248+richkuz@users.noreply.github.com>
(cherry picked from commit 2fc7ad44a8)

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2022-03-02 16:11:54 -05:00
Kyle Pollich
2ec37a0aa3
Remove bundled packages in 8.1 (#126699) 2022-03-02 16:05:41 -05:00
gchaps
18c436861d
[DOCS] Adds links to docs landing page (#126721) 2022-03-02 12:59:56 -08:00
Tim Sullivan
8637578418
[Reporting/Screenshotting] Add libnss3 to the list of package dependencies (#126384) (#126714)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 7a19d89645)
2022-03-02 14:57:57 -05:00
Kibana Machine
a608f1d117
[ci] Ensure every kibana pipeline has a non-default queue defined (#126641) (#126694)
(cherry picked from commit c365e60819)

Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2022-03-02 10:36:02 -07:00
Kibana Machine
a71cdbeefa
[ftr/config] require servers.elasticsearch.port config (#126650) (#126690)
(cherry picked from commit 0bb021199e)

Co-authored-by: Spencer <spencer@elastic.co>
2022-03-02 10:23:48 -07:00
Devon Thomson
8b03da62b9
replace references (#126647) (#126681)
(cherry picked from commit f72419889f)
2022-03-02 09:40:56 -07:00
Kibana Machine
ee1b4f5c71
Fix timeline newsfeed css (#126628) (#126653)
(cherry picked from commit 87a2cfa2df)

Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
2022-03-01 17:40:14 -07:00
Kibana Machine
a90d0e53e3
[Canvas] Update canvas function docs to match in app and vice versa (#125259) (#126646)
* Update canvas function docs to match in app and vice versa

* Update src/plugins/expressions/common/expression_functions/specs/math_column.ts

Co-authored-by: Catherine Liu <catherineqliu@outlook.com>

* Update src/plugins/expressions/common/expression_functions/specs/math_column.ts

Co-authored-by: Catherine Liu <catherineqliu@outlook.com>

* Fix translations

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
Co-authored-by: Catherine Liu <catherineqliu@outlook.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 933f43d166)

Co-authored-by: Corey Robertson <corey.robertson@elastic.co>
2022-03-01 15:33:46 -07:00