Commit graph

55638 commits

Author SHA1 Message Date
Kibana Machine
b101c4c3b4
[ML] Docs screenshots - log out after suite is done (#139562) (#139611)
This PR adds a logout after the ML docs screenshot creation suite.

(cherry picked from commit 93e157d992)

Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
2022-08-29 00:44:40 -07:00
Kibana Machine
25fb19e88b
[Fleet] Preconfigured output should allow to delete fields causing too many bump revision (#139564) (#139581)
(cherry picked from commit 6ff5d595fa)

Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
2022-08-26 11:58:06 -07:00
Kibana Machine
226e16bebf
[Security Solution][Detections] Fix selected rules count and clear selection label on bulk unselect rules with checkbox (#139461) (#139576)
Fixes: https://github.com/elastic/kibana/issues/136616

## Summary

### Behaviour before fix
Selected rules count doesn't update in the special case of a user having selected all rules via the "Select all XXX rules" bulk action button from the Utility bar, and later trying to unselect rules via the "Select/Unselect All rows" checkbox of the table.

In this specific case, the selected rules label got stuck at "Selected XXX Rules" and the the "Select All XXX rules" bulk action button got stuck on "Clear selection".

See video below for details:

https://user-images.githubusercontent.com/5354282/186687704-c1a4a36b-6f49-4347-abf3-6cfc648b586e.mp4

### Behaviour after fix
If, after selection all rules with the bulk select all rules button, the user clicks on the "Select/Unselect All rows" checkbox of the table:
- the selected rules label resets to "Selected 0 Rules"
- the "bulk select all rules" button from the Utility bar switches back from its "Clear selection" state back to its "Select all XXX rules"  state.

https://user-images.githubusercontent.com/5354282/186687602-815ef9a0-53be-4476-a8bb-9edcc5df7db4.mov

## Other changes
- Create constant for API route `/api/detection_engine/rules/_find` as `DETECTION_ENGINE_RULES_URL_FIND` and replaces its uses.

### Checklist

Delete any items that are not applicable to this PR.

- [x] This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

(cherry picked from commit 05d3d76c1e)

Co-authored-by: Juan Pablo Djeredjian <jpdjeredjian@gmail.com>
2022-08-26 11:28:13 -07:00
Kibana Machine
b20926a870
[DOCS] Update rule name to match query my* (#139563) (#139573)
(cherry picked from commit 031c34e947)

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2022-08-27 02:36:01 +09:30
Kibana Machine
415cecc1c6
Allow to bump rule version for prebuilt rules (#139287) (#139498)
(cherry picked from commit 7429f78cfa)

Co-authored-by: Dmitrii Shevchenko <dmitrii.shevchenko@elastic.co>
Co-authored-by: Pedro Jaramillo <pedro.jaramillo@elastic.co>
2022-08-25 12:47:52 -07:00
Kibana Machine
9e319d1782
Overwrite default download source to prevent collisions (#139494) (#139504)
(cherry picked from commit dbcee0cc73)

Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
2022-08-25 11:34:45 -07:00
Kibana Machine
39fdc66ca7
Bump linux bazel cache timeout to 30 minutes (#139491) (#139495)
We're seeing some timeouts recently in the 15 minute range.
Mac timeouts are already at 60 min.

(cherry picked from commit a2f3e3bd7c)

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-08-25 10:21:53 -07:00
doakalexi
711ff3a47d
[ResponseOps][Alerting] Unable to upgrade to 8.4.0 when I have snoozed rules (#139427) (#139486)
* Adding migration

* Removing timer

* Adding functional test

* Adding another test

(cherry picked from commit 8991e046a2)

# Conflicts:
#	x-pack/plugins/alerting/server/saved_objects/migrations.ts
#	x-pack/test/alerting_api_integration/spaces_only/tests/alerting/migrations.ts
#	x-pack/test/functional/es_archives/alerts/data.json
2022-08-25 09:20:03 -07:00
Kibana Machine
3c025a6f23
[Enterprise Search] Fix connector id yml block indentation (#139459) (#139474)
(cherry picked from commit 1e175c7279)

Co-authored-by: Sander Philipse <94373878+sphilipse@users.noreply.github.com>
2022-08-25 06:32:42 -07:00
Kibana Machine
6f7ac5a34a
[Security Solution] Fixes the position of popover when presenting dynamic content (#139079) (#139454)
## Summary

Issue #133186 ( as shown in below video) demonstrates couple of issues and this PR tries to fix those.

https://user-images.githubusercontent.com/61860752/171141631-f633a223-af76-457d-bed2-6bd8ea418a0e.mp4

**ISSUE - 1**

When in host details flyout, clicking on `show Top N`, the datagrid will flicker scrolling from right to left and then back to its original position.

**Solution** : This issue was not reproducible so I am assuming this has been already resolved. ( See below video for more details)

**ISSUE - 2**

When in host details flyout, clicking on `show Top N`, the popup hides behind the bottom screen edge. This is because initially the popup was small but when `Show TopN` is clicked, the content of Popup is changed and popup becomes bigger in size forcing it to exceed out of the screen's real estate.

**Solution** : This PR makes sure that, if hover actions Popup's content changes, Popup is re-positioned according to its new dimensions. Checkout below demonstration.

https://user-images.githubusercontent.com/7485038/185380538-d8fb159a-d666-4be2-b3b0-161a21d1b9d6.mov
(cherry picked from commit acf675c15c)

Co-authored-by: Jatin Kathuria <jatin.kathuria@elastic.co>
2022-08-25 02:00:24 -07:00
Kibana Machine
f9dace4f26
[Actionable Observability][ResponseOps] Fix alert tab crash on rule details page (#139372) (#139452)
(cherry picked from commit e1e9a1ab7e)

Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>
2022-08-25 01:58:34 -07:00
Brandon Morelli
67327709e7
[8.4] docs: add 8.4 known issue (#139437)
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
Co-authored-by: Ying Mao <ying.mao@elastic.co>
2022-08-25 07:11:56 +09:30
Tiago Costa
4915fc9639
chore(NA): bump version to 8.4.1 (#139381)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-24 19:07:48 +01:00
Kibana Machine
cab7b4d430
Update docs on branching. (#139057) (#139419)
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
(cherry picked from commit 9326c53baa)

Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
2022-08-25 03:20:04 +09:30
Kibana Machine
88254a1b49
synthetics - add read docs links for private locations no agent policy flow (#139331) (#139390)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit ee12c73098)

Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
2022-08-24 09:43:05 -07:00
Kibana Machine
a493773f71
Fix notifyWhen UI label for "everytime alert is active" (#139310) (#139378)
* Fix label referencing alert as rule

* Fix another label too

(cherry picked from commit 38642fbbe4)

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
2022-08-24 07:08:47 -07:00
Kaarina Tungseth
08219499ba
[DOCS] Removes tags from 8.4.0 release docs (#139219) 2022-08-24 08:41:52 -04:00
Kibana Machine
f50e0ce0cd
[Lens][Agg based] Fix table pagination bug for both lens and agg based (#139160) (#139330)
(cherry picked from commit 90f2c80379)

Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-08-23 17:37:23 -07:00
Kibana Machine
e03fa06716
[Archive Migration] batch 3 of removing es_archives/empty_kibana (#139319) (#139329)
* replace es_archiver/empty_kibana with cleanStandardList

* [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 8d412c6ac6)

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2022-08-23 16:55:41 -07:00
Kibana Machine
86790ec1ca
Updated for Human readable Dataview names (#139308) (#139325)
* Updated for Human readable dataview names

* Update docs/maps/asset-tracking-tutorial.asciidoc

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

* Update docs/maps/asset-tracking-tutorial.asciidoc

* Update docs/maps/asset-tracking-tutorial.asciidoc

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

Co-authored-by: James Garside <james@jgarside.co.uk>
2022-08-24 07:33:22 +09:30
Kibana Machine
6da1b243c9
Update docs for KQL autocomplete when DLS is enabled (#139248) (#139321)
(cherry picked from commit 908a01b5a6)

Co-authored-by: Lukas Olson <lukas@elastic.co>
2022-08-23 14:24:46 -07:00
suchcodemuchwow
c6cc6b8581 skip flaky suite #136836 2022-08-23 23:26:54 +03:00
Kibana Machine
4fb56ba7eb
[Archive Migration] batch 2 of removing es_archives/empty_kibana (#138208) (#139318)
* replace es_archives/empty_kibana with kibanaServer.savedObjects.cleanStandardList

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

* add missing kibanaServer

* add a tearDown

* revert changes that don't pass

* revert fleet_setup, delete spaces in tearDown

* Don't fail on deleting spaces

* revert file for failing test

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

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2022-08-23 13:21:14 -07:00
Kaarina Tungseth
9e3d1a1833
[DOCS] Adds 131762 to the 8.4.0 release notes (#139311) 2022-08-23 12:38:00 -05:00
Kibana Machine
f8c3ffa39e
[Security Solution] fix flaky metadata transforms test (#139224) (#139303)
(cherry picked from commit 4a1e3e32d4)

Co-authored-by: Joey F. Poon <joey.poon@elastic.co>
2022-08-23 08:34:45 -07:00
Kibana Machine
8dbabe54ee
[DOCS] New option for users to run a query pack (#138853) (#139306)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
(cherry picked from commit 201820d718)

Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>
2022-08-24 00:58:35 +09:30
Kibana Machine
2cde6732d6
Bump undici sub-dependency from v5.5.1 to v5.8.2 (#138877) (#139299)
(cherry picked from commit 84e8e54a6e)

Co-authored-by: Thomas Watson <watson@elastic.co>
2022-08-23 08:02:51 -07:00
Kibana Machine
367015cecf
Bump a number of the user profile activation attempts from 3 to 10. (#139276) (#139289)
(cherry picked from commit 97a9e8d57d)

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>
2022-08-23 05:54:57 -07:00
Kibana Machine
66b6aaad19
Add 'fork' to child_process hardening tests (#139222) (#139292)
(cherry picked from commit bdbd227bb1)

Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
2022-08-23 05:48:33 -07:00
Kibana Machine
664885967e
[Security Solution][Detections] Update rules count indicator in the Rules table to show pagination info (#138902) (#139288)
**Fixes:** https://github.com/elastic/kibana/issues/121754

## Summary

Changes rules count pagination count to format:

**"Showing 1-10 of 596 rules"** -> when page 1, rules per page is 10 and total rules is 596
**"Showing 6-6 of 6 rules"** -> when page 2, rules per page is 5 and total rules is 6
See other cases in tests.

**Before changes**
![image](https://user-images.githubusercontent.com/5354282/184883106-118f0041-5567-4cf8-bfd5-8383e8146018.png)
![image](https://user-images.githubusercontent.com/5354282/184884145-22d30482-cc2d-4796-8f84-d809a8ca6d8a.png)

**After changes**
![image](https://user-images.githubusercontent.com/5354282/184882149-d6c55dff-39a0-4a72-94a9-217b2e5ca7ac.png)
![image](https://user-images.githubusercontent.com/5354282/184886334-a107a2c5-31dc-4a7b-9e70-54c87c1630e0.png)

## Codebase changes

- Refactors `AllRulesUtilityBar` component to separate usage of the utility bar between the all-rules table use-case and the Exceptions table use-case, by creating a new `ExceptionsTableUtilityBar` component.

### Checklist

Delete any items that are not applicable to this PR.

- [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [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
- [x] This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

(cherry picked from commit 147e4142c8)

Co-authored-by: Juan Pablo Djeredjian <jpdjeredjian@gmail.com>
2022-08-23 05:47:06 -07:00
Kibana Machine
7ffc375be6
[Security Solution] Preview button is disable when create a rule by adding only a filter without adding any query (#139179) (#139226) (#139275)
(cherry picked from commit 0212338e4e)

Co-authored-by: Ievgen Sorokopud <ievgen.sorokopud@elastic.co>
2022-08-23 04:03:37 -07:00
Thomas Watson
247bcc6cb2
Upgrade micromatch from v3.1.10 to v4.0.5 (#139187) (#139267)
(cherry picked from commit 491a461f3e)

# Conflicts:
#	yarn.lock
2022-08-23 02:59:13 -07:00
liza-mae
28c5a8c647
Fix cloud test failures for 8.4 (#139155) (#139259)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 6e87b01f85)
2022-08-22 19:20:44 -07:00
Nick Partridge
53debb7665
Update dependency @elastic/charts to v47.2.0 (#138093) (#139243)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nick Partridge <nick.ryan.partridge@gmail.com>
(cherry picked from commit 20be5a8782)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 15:02:17 -07:00
Kibana Machine
5fcccfebe6
adding a note about skipped upgrade test (#139241) (#139244)
(cherry picked from commit 321e06a963)

Co-authored-by: Bhavya RM <bhavya@elastic.co>
2022-08-22 14:55:27 -07:00
Kibana Machine
593c45d2cb
[DOCS] Updates maps reverse geocoding tutorial (#139058) (#139223)
* [DOCS] Updates maps reverse geocoding tutorial

* [DOCS] Adds name of file to download

* [DOCS] Updates images and code for tutorial

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

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

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2022-08-23 01:19:03 +09:30
Kibana Machine
af68f00c44
[Security Solution] increase timeout + unskip tests (#139146) (#139221)
(cherry picked from commit 16483dee4c)

Co-authored-by: Joey F. Poon <joey.poon@elastic.co>
2022-08-22 08:45:33 -07:00
gchaps
9264f08da6
[DOCS] Updates Kibana guides landing page (#139148) 2022-08-22 08:42:03 -07:00
Kibana Machine
f5523d0ac0
Upgrade set-getter from v0.1.0 to v0.1.1 (#139182) (#139205)
(cherry picked from commit 3bf016aadc)

Co-authored-by: Thomas Watson <watson@elastic.co>
2022-08-22 07:30:58 -07:00
Kibana Machine
2caa739d95
Upgrade tmpl from v1.0.4 to v1.0.5 (#139178) (#139201)
(cherry picked from commit 3275cd32cd)

Co-authored-by: Thomas Watson <watson@elastic.co>
2022-08-22 06:54:14 -07:00
Dmitry Tomashevich
df4fa4d954
[8.4] [Discover] Improve error message for CSV Reports menu option in readonly Discover state (#129300) (#138710)
* [Discover] Improve error message for `CSV Reports` menu option in readonly Discover state  (#129300)

* [Discover] hide CSV reports menu option for readonly state

* [Discover] fix the case without saved search

* [Discover] improve error message

* [Discover] fix build checks

* [Discover] update snapshot

* [Discover] apply suggestions

* [Discover] fix unit test

* [Discover] update snapshot

* [Discover] apply suggestions

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

# Conflicts:
#	packages/kbn-doc-links/src/get_doc_links.ts
#	packages/kbn-doc-links/src/types.ts

* [Discover] provide docLinks

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-22 05:41:35 -07:00
Kibana Machine
0ff45c4fc7
[ResponseOps] Docs screenshots - adjust login credentials (#139085) (#139177)
This PR adjusts the login credentials for the automated ResponseOps docs screenshots.

(cherry picked from commit 45107b1d68)

Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
2022-08-22 02:26:40 -07:00
Kaarina Tungseth
9b67642f4c
[DOCS] Adds 8.4.0 release notes (#137621)
* [DOCS] Adds 8.4.0 release notes

* Updates the 8.4.0 release notes

* Adds 8.0.1 to 8.3.x links

* Adds 8.0.1 to 8.3.x content

* Fixes known issue broken link

* Final changes

* 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: Gidi Meir Morris <github@gidi.io>

* Update docs/CHANGELOG.asciidoc

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

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>

* Update docs/CHANGELOG.asciidoc

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>

* Review comments

* Updates description

* Review comments

* Review comment

Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>
Co-authored-by: Gidi Meir Morris <github@gidi.io>
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-21 20:58:41 -05:00
Kibana Machine
1922ab0b6f
synthetics - adjust message for failed stale project monitors (#139133) (#139144)
(cherry picked from commit 685ef35fc6)

Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
2022-08-18 14:07:25 -07:00
Kibana Machine
c29c4a61a0
[DOCS] Fixes typo in maps tutorial (#139138) (#139139)
(cherry picked from commit fabbd42451)

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2022-08-19 05:40:54 +09:30
gchaps
2e4cbd8a02
[DOCS] Updates what's new in 8.4 (#138847)
* [DOCS] Updates what's new in 8.4

* [DOCS] Edits to What's New doc

* Update docs/user/whats-new.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/whats-new.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/whats-new.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/whats-new.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/whats-new.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* [DOCS] Incorporates review comments

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2022-08-18 12:42:10 -07:00
Kibana Machine
e531796d90
[DOCS] Documents unit of measure for Frozen search:timeout default (#138438) (#139131)
* [DOCS] Documents unit of measure for Frozen search:timeout default

* Review comments

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

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2022-08-19 03:53:10 +09:30
Kibana Machine
ae57b8a683
add a timeout to buildkite artifact downloads (#139046) (#139115)
(cherry picked from commit ab576bb6c1)

Co-authored-by: Spencer <spencer@elastic.co>
2022-08-18 11:17:06 -07:00
Kibana Machine
207ee7ef8b
[DOCS] Updates getting started for Maps (#139050) (#139125)
* [DOCS] Updates getting started for Maps

* [DOCS] Updates images as per review comments

(cherry picked from commit 89d8802571)

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2022-08-19 03:44:11 +09:30
Kibana Machine
ca089488f3
[DOCS] Updates quick start and presentation sections with sample data changes (#138945) (#139116)
* [DOCS] Updates Quick start with sample data changes

* Updates dashboard and editors with sample data changes

* Review comments

(cherry picked from commit ced8978e89)

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2022-08-19 02:41:43 +09:30