Commit graph

57276 commits

Author SHA1 Message Date
Kibana Machine
08a85996e8
Bump nwsapi from v2.2.0 to v2.2.2 (#144001) (#144119)
(cherry picked from commit db6f06eaec)

Co-authored-by: Thomas Watson <watson@elastic.co>
2022-10-27 12:00:41 -07:00
Kibana Machine
5a80d963f7
Bump chromedriver to 107 (#144073) (#144117)
(cherry picked from commit e6a3507d94)

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-10-27 13:29:03 -05:00
Kibana Machine
c5269b50e3
[8.5][DOCS] Add support for differential logs (#143242) (#144120)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
(cherry picked from commit 61505e5edd)

Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>
2022-10-27 13:49:29 -04:00
Kibana Machine
deaf2322f5
Adding content type (#143800) (#144102)
Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
(cherry picked from commit bbbf9f8985)

Co-authored-by: Kurt <kc13greiner@users.noreply.github.com>
2022-10-27 06:56:42 -07:00
Mark Hopkin
978ab78f26
[Fleet] Make asset tags space aware (#144066) (#144088)
* fix: use space ID in managed tag SO ID

* Add SO migration

* add integration test for installing pkg in 2 spaces

* Revert "Add SO migration"

This reverts commit 4aeeea658c79d30cfb7ad96090b87418a3b72ad2.

* use legacy tags if they exist

* add tags integration test

* test working in isolation

* neaten tests

* remove test pkg

* revert test file

* tidy for PR

* fix type errors

(cherry picked from commit 2a8e93311b)
2022-10-27 04:06:02 -07:00
Kibana Machine
88c5de7d8e
[DOCS] Redesigns Kibana docs landing page (#138051) (#144071)
* [DOCS] Another landing page design

* [DOCS] Uses cards in landing page

* [DOCS] Updates list of docs

* [DOCS] Emphasizes solutions

* html, css updates

use one column on medium screens and smaller

clean up

clean up again

* [DOCS] Incorporates review comments

* [DOCS] Updates text and link for search

* format headings in cards, ensure cards are always the same height

* remove unused css, align images

* [DOCS] Fixes links to images

* [DOCS] Uses images with transparent background

* Fixes wording in cards

* Update docs/index-custom-title-page.html

Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>

* Update docs/index-custom-title-page.html

Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>

* Update docs/index-custom-title-page.html

Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>

* [DOCS] Add content to describe Kibana

* [DOCS] Minor edits

* Update docs/index-custom-title-page.html

Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>

* [DOCS] Copy edits to landing page

Co-authored-by: Colleen McGinnis <colleen.mcginnis@elastic.co>
Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>
(cherry picked from commit 5d2b2e5922)

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2022-10-26 17:16:49 -04:00
Devin W. Hurley
72a5b750c5
[8.5] [Security Solution] [Exceptions] Bug Fix: Import rule + exceptions route removes all references to all imported exception lists (#143882) (#144040)
* [Security Solution] [Exceptions] Bug Fix: Import rule + exceptions route removes all references to all imported exception lists (#143882)

* If the first exceptions_list array was empty, the code to get all of the referenced exceptions lists would only get the references for the first exception list (none) and remove any references to every other exception list. I've updated the code to resovle this bug and another incidental bug related to the way the reduce function would yield an array of arrays which would not have worked

* update jest test

* adds tests and splits out parsing logic from logic for fetching data for referenced lists

(cherry picked from commit bcb2d942f4)

# Conflicts:
#	x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/logic/import/gather_referenced_exceptions.test.ts
#	x-pack/plugins/security_solution/server/lib/detection_engine/rule_management/logic/import/gather_referenced_exceptions.ts

* removes files that should not have been added via backport

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-26 09:19:31 -07:00
Kibana Machine
4982b338fe
Restore link to spatial relation operator (#144032) (#144041)
(cherry picked from commit faa10dc727)

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
2022-10-26 10:24:39 -04:00
Cauê Marcondes
3f8f521566
[APM] aws lambda checks for undefined value (#143987) 2022-10-26 09:03:33 -04:00
Kibana Machine
f2a83ac745
update kpi user authentication area configs (#144011) (#144017)
(cherry picked from commit 2e03c3a60b)

Co-authored-by: Angela Chuang <6295984+angorayc@users.noreply.github.com>
2022-10-26 05:18:55 -07:00
Kibana Machine
6d3922722e
[Files] Add files management privilege to find and metrics endpoints (#143274) (#143998)
* added files management privileges definition and locked down metrics and find endpoint to management role

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

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

Co-authored-by: Jean-Louis Leysens <jeanlouis.leysens@elastic.co>
2022-10-26 00:51:46 -07:00
Kibana Machine
f784831ac1
[Dashboard] Fix help documentation link for dashboard (#143894) (#143985)
* Modify help link for dashboard

* Fix stub

(cherry picked from commit 94fe0047f7)

Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
2022-10-25 13:24:36 -07:00
Kibana Machine
f5253d082f
Temporarily remove broken link (#143965) (#143971)
(cherry picked from commit a0d237b62c)

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
2022-10-25 12:51:15 -04:00
Kibana Machine
75595ce8e3
refactor getHitCount, use Last_1 year (#143912) (#143954)
* refactor getHitCount, use Last_1 year

* revert change to heartbeat test

(cherry picked from commit 1cd4c4892d)

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2022-10-25 08:31:01 -07:00
Nicolas Chaulet
794da3f676
[Fleet] Fix error in agent policy duplication (#143884) (#143935)
(cherry picked from commit d75015c620)

# Conflicts:
#	x-pack/test/fleet_api_integration/apis/agent_policy/agent_policy.ts
2022-10-25 05:36:41 -07:00
Kibana Machine
e758c80e76
[Profiling] allow negative numbers in formatter (#143420) (#143925)
* Update as_number.ts

allow negative numbers in formatter. Currently all negative values get truncated to `~0.00`
closes https://github.com/elastic/prodfiler/issues/2707

* Update as_number.ts

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Update as_number.ts

change negative condition to abs

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tim Rühsen <tim.ruhsen@elastic.co>
(cherry picked from commit 003bbf7f2d)

Co-authored-by: Luca Wintergerst <luca.wintergerst@elastic.co>
2022-10-25 03:59:57 -07:00
Kibana Machine
61561078e5
Removing docs about multi-tenancy (#143698) (#143903)
* Removing docs about multi-tenancy

* Removing link to multi tenancy

(cherry picked from commit 7d10edcc8f)

Co-authored-by: Kurt <kc13greiner@users.noreply.github.com>
2022-10-24 16:23:15 -04:00
Kibana Machine
896166585e
[Expressions] Fix the execution pipeline not to stop on a flaky subexpression (#143852) (#143887)
* Fix the execution pipeline not to stop on a flaky subexpression
* Fix the execution pipeline not to stop on an invalid or incorrect value

(cherry picked from commit ee6aeba68f)

Co-authored-by: Michael Dokolin <mikhail.dokolin@elastic.co>
2022-10-24 12:19:55 -07:00
Kibana Machine
3db77af5d7
[Dev tools] Fix performance issue with autocomplete suggestions (#143428) (#143813)
* Fix performance issue with autocomplete suggestions

* Add unit tests for streamToString function

* Address CR change

Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 220f867b09)

Co-authored-by: Muhammad Ibragimov <53621505+mibragimov@users.noreply.github.com>
2022-10-21 03:36:01 -07:00
Lisa Cawley
af288128e6
[8.5] [DOCS] Add assignees to case APIs (#143610) (#143810)
(cherry picked from commit 6eb02d096f)
2022-10-20 19:31:58 -07:00
Lisa Cawley
4bab938fdb
[8.5] [DOCS] Automate docs for create/update/delete case APIs (#142929) (#143806) 2022-10-20 17:57:57 -07:00
Lee Drengenberg
eb2030c80e
resolve merge conflict (#143790) 2022-10-20 15:45:26 -07:00
Søren Louv-Jansen
9265b3db75
Update ftr_configs.yml (#143753) 2022-10-21 00:00:33 +02:00
Lee Drengenberg
cbd5f31a2e
backport https://github.com/elastic/kibana/pull/141842 (#143797)
Co-authored-by: Spencer <spencer@elastic.co>
2022-10-20 14:25:54 -07:00
Lisa Cawley
f6b2b4aacc
[8.5] [DOCS] Automate output for 4 case APIs (#142173) (#143798) 2022-10-20 14:16:26 -07:00
Kibana Machine
cd13abf07d
Adds legacy URL alias function to test data loader. Fixes test setup for SO bulk create. (#143688) (#143763)
(cherry picked from commit 9d479d44b1)

Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
2022-10-20 09:32:38 -07:00
Kibana Machine
73c6353817
[TSVB] should call renderComplete once for multi-values visualizations (#143638) (#143749)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
(cherry picked from commit b1a88f5c61)

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2022-10-20 07:55:07 -07:00
Liam Thompson
600d24903b
[8.5] [Enterprise Search] Remove unused crawlerGettingStarted doclink (#143690) (#143737)
* [Enterprise Search] Remove unused `crawlerGettingStarted` doclink (#143690)

(cherry picked from commit 610d7ea4ef)

# Conflicts:
#	api_docs/kbn_doc_links.devdocs.json

* Fix backport error

* Fix indentation
2022-10-20 15:31:37 +02:00
Kibana Machine
0147ec5396
[ML] Fix date picker for the Log pattern analysis (#143684) (#143732)
* url state provider

* update url state provider for explain_log_rate_spikes_app_state.tsx

(cherry picked from commit f61dec4c3d)

Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
2022-10-20 03:47:52 -07:00
Tim Sullivan
8ab7e717a8
Puppeteer v18.1 (#143485) (#143711)
* use build options for smaller build

* update to puppeteer@18.1.0

* increase timeouts

- reporting.queue.timeout: 4m
- screenshotting.timeouts.openUrl: 1m
- screenshotting.timeouts.waitForElements: 1m
- screenshotting.timeouts.renderComplete: 2m

* update docs and refs for timeouts

* add arm64 info

* fix binaryChecksum for linux_x64

* restore comment?

* Build script changes from #143022

(cherry picked from commit 53d07a2283)
2022-10-19 16:34:53 -07:00
Kibana Machine
8a9a635d73
[Synthetics UI] Prefer custom_heartbeat_id to monitor.id for Uptime detail link when present (#143128) (#143707)
* Prefer `custom_heartbeat_id` to `monitor.id` when present.

* Prefer `ConfigKey`.

(cherry picked from commit c25eedc402)

Co-authored-by: Justin Kambic <jk@elastic.co>
2022-10-19 15:45:50 -07:00
Kibana Machine
8a9da5065d
[ML] Fix job wizard when converting to different wizard type (#143347) (#143636)
* [ML] Fix job wizard when converting to different wizard type

* using url constants

* fix validation issue and the MML check

* fix dependencies in react hooks

Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
(cherry picked from commit b5cb3f6a22)

Co-authored-by: James Gowdy <jgowdy@elastic.co>
2022-10-19 05:30:52 -07:00
Kibana Machine
d4118a4ae0
[Security Solution] - Fix boolean check for threat intel summary view (#143534) (#143597)
* update boolean to show threat intel data

* pr review

(cherry picked from commit 2b11ca723e)

Co-authored-by: Michael Olorunnisola <michael.olorunnisola@elastic.co>
2022-10-18 15:19:22 -07:00
Kibana Machine
8b24cd7d87
Append DevTool commands automatically prefix Space (#140443) (#143593)
In DevTools, if you go to run `kbn:/s/foo/api/MY_REQUEST` then IF default space you effectively run `KIBANA/s/foo/api/MY_REQUEST` BUT IF non-default space e.g. `admin` you end up running `KIBANA/s/admin/s/foo/api/MY_REQUEST` which is invalid.

This is not pointed out in Dev Tools and since this page updated to the emphasize the DevTools example, this is tripping up more users who think it should work via this page.

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

Co-authored-by: Stef Nestor <steffanie.nestor@gmail.com>
2022-10-18 16:44:25 -04:00
Kaarina Tungseth
aed5182938
[DOCS] Adds 8.5.0 release notes (#143134)
* [DOCS] Adds 8.5.0 release notes

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: DeDe Morton <dede.morton@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: DeDe Morton <dede.morton@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: DeDe Morton <dede.morton@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: DeDe Morton <dede.morton@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>

* Update docs/CHANGELOG.asciidoc

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

* Update docs/CHANGELOG.asciidoc

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

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: DeDe Morton <dede.morton@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: DeDe Morton <dede.morton@elastic.co>

* Review comments

* Update docs/CHANGELOG.asciidoc

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

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>
Co-authored-by: DeDe Morton <dede.morton@elastic.co>
Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>
Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>
Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-18 13:50:26 -06:00
Kurt
305424b816
[8.5] Feature/upgrade mocha 10.1 (#143468) (#143565)
* Feature/upgrade mocha 10.1 (#143468)

* upgrade mocha to 10.1

(cherry picked from commit c365988e0d)

# Conflicts:
#	yarn.lock

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-18 12:14:25 -07:00
Kibana Machine
405e701af0
[DOCS] Clarify why Fleet settings might be grayed out in UI (#143146) (#143576)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit c9bb23ad8d)

Co-authored-by: DeDe Morton <dede.morton@elastic.co>
2022-10-18 14:36:54 -04:00
Kibana Machine
dda8863562
[DOCS] Edits load balancing section of production docs (#143481) (#143575)
(cherry picked from commit 8741acef54)

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2022-10-18 14:18:20 -04:00
Kibana Machine
815c5708db
fixed output aggregate query. bucket_sort options incorrect. was always running max 10 results. (#143486) (#143560)
Co-authored-by: Karl Godard <karlgodard@elastic.co>
(cherry picked from commit aed3a07422)

Co-authored-by: Karl Godard <karl.godard@elastic.co>
2022-10-18 10:21:26 -07:00
Kibana Machine
893f31d3cf
[DOCS] Clarify deletion sub-feature privileges for cases (#143133) (#143551)
(cherry picked from commit d666c13228)

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2022-10-18 11:04:24 -04:00
Kibana Machine
160cb99f27
Add steps to docs to fix Corrupt Saved Objects (#143479) (#143541)
* upgrade mocha to 10.1

(cherry picked from commit ba61ce4a2d)

Co-authored-by: Kurt <kc13greiner@users.noreply.github.com>
2022-10-18 10:08:13 -04:00
Kibana Machine
5deedc56ca
[Security Solution] Fixes a bug with timeline sourcerer state (#143237) (#143476)
(cherry picked from commit 8fba39c2da)

Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
2022-10-17 15:56:46 -07:00
Kibana Machine
68032d27c8
[Profiling] Check caches before querying (#143089) (#143475)
* Add LRU cache for stackframes

* Add LRU cache for executables

* Remove splitting mgets into chunks

* Move LRU cache for stacktraces before query

* Summarize cache and query results

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

Co-authored-by: Joseph Crail <joseph.crail@elastic.co>
2022-10-17 15:34:21 -07:00
Kibana Machine
806e4901e6
[DOCS] Updates links in landing page (#143469) (#143478)
* [DOCS] Updates linkes

* [DOCS] Adds link to release notes

(cherry picked from commit 834a3c375c)

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2022-10-17 17:50:28 -04:00
Kibana Machine
ceee97a835
Adding testdataloader method to remove all SO from the kibana index (#143400) (#143464)
* Adding testdataloader method to remove all SO from the kibana index

* Changing call order per PR review feedback

(cherry picked from commit 227288e726)

Co-authored-by: Kurt <kc13greiner@users.noreply.github.com>
2022-10-17 11:51:42 -07:00
Kibana Machine
498d2f2152
[DOCS] Vis Editors 8.5 (#142520) (#143463)
* [DOCS] Vis Editors 8.5

* Review comments

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

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2022-10-17 13:58:47 -04:00
Kibana Machine
4685f580f8
[SecuritySolution] [Bug] save timeline unexpected prompt issue. (#143262) (#143432)
## Issue Summary

One edge case was detected as part of bug #119593 where if user followed below workflow :

1. User modifies the timeline
2. Navigates to a page where timeline is disabled ( eg. manage )
3.  User is presented with `AppLeave` dialog to save the timeline
4. User confirms the navigation without saving
5. Navigation is successfull and user is now on `Manage` page where timeline is disabled
6. Now user leaves the security solution app.
7. **_Unexpected_** : User is presented again with `AppLeave` dialog event though timeline is not present on the `Manage` page.

Below is the video demonstrating that.

https://user-images.githubusercontent.com/61860752/195523104-6577c924-71e5-414b-aacc-5fefe3ca7b41.mp4

## Solution Summary
Timeline save confirmation dialog will only be presented if below conditions are met:
1. Timeline is enabled on the page where user is navigating `from`.
2. User has unsaved changes in timeline.
3. User is navigated `to` a page where timeline is disabled.

Corresponding tests have been added.

https://user-images.githubusercontent.com/7485038/195600383-fdebae52-af07-478d-9d07-9f5acf4d24fe.mov
(cherry picked from commit 5b269e3a47)

Co-authored-by: Jatin Kathuria <jatin.kathuria@elastic.co>
2022-10-17 04:30:48 -07:00
Kibana Machine
0a8405d490
Unskip remote clusters test 138129 (#143329) (#143401)
* Removed comment of the issue that was referenced for the skip. But the tests were already skipped.

* Unskipping test as a fix has been made. 138510

Co-authored-by: cuffs <cuffs@cuffss-Office-MacBook-Pro.local>
(cherry picked from commit 4229010937)

Co-authored-by: John Dorlus <jsdorlus@elastic.co>
2022-10-14 15:23:42 -07:00
Kibana Machine
5db45c6bac
[Fleet] Fix package archive bug + reenable Endpoint tests (#143120) (#143398)
* Reenable endpoint tests to debug in CI

* Revert removal of skip in trusted apps

* Try enabling Fleet debug logs

* Fix missing archive path in bundled packages

* Remove Fleet debug logs in endpoint tests

* Reenable endpoint suites

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

Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
2022-10-14 14:18:14 -07:00
Kibana Machine
42bc2eb40b
[UA] Remove Ex from global search bar (#142916) (#143395)
(cherry picked from commit 5a535ed0ec)

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2022-10-14 11:59:57 -07:00