Commit graph

69601 commits

Author SHA1 Message Date
Brandon Kobel
182cd19e8d
Emergency Release - Revert "[Fleet] Fix get file handler for bundled package (#172182)" (#172638)
This reverts commit 4d52ad2cd5.
2023-12-05 18:51:08 -05:00
Cauê Marcondes
7470d2136d
[Profiling] Use CO2 and Cost values provided by the ES Profiling APIs (#170612)
- Removes old flamegraph code replacing it with the ES Flamegraph API
- Creates new user settings
- Adds a feature flag to use the kibana CO2/Cost calculations instead of
the new version
- Reads CO2 and Cost from /Stacktraces and /Flamegraph APIs

Where do we show the CO2 and Cost values?
- Flamegraph toolip
- Flamegraph Frame information flyout
- Diff Flamegraph Summary
- Functions table
- Function information flyout
- Diff Functions Summary

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-12-04 04:59:30 +00:00
Kibana Machine
3aac9bd56d
[api-docs] 2023-12-03 Daily api_docs build (#172425)
Generated by
https://buildkite.com/elastic/kibana-api-docs-daily/builds/540
2023-12-03 00:53:01 -05:00
Kibana Machine
b19a9f432b
[api-docs] 2023-12-02 Daily api_docs build (#172423)
Generated by
https://buildkite.com/elastic/kibana-api-docs-daily/builds/539
2023-12-02 01:12:57 -05:00
Mark Hopkin
f08f40a97e
[Entity Analytics] Use docLinks service for documentation links (#172172)
## Summary

Using the docLinks service means documentation links will always point
to the correct version of the docs for the current Kibana version, not
just the latest docs.

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-12-01 22:54:54 -06:00
Adam Demjen
7ad94e9c4b
[Enterprise Search] Model state change error handling (#172409)
## Summary

This PR adds error handling to model actions (deploy, start) in the ML
model selection list. If either of these API calls fail, an error is
displayed. The error stays on the screen until the flyout is reopened or
another model action succeeds.

Unfortunately there's no straightforward way to surface the root cause,
so we display a generic error message to check the Kibana logs (which do
contain the cause).

<img width="1443" alt="Screenshot 2023-12-01 at 17 50 52"
src="d9fe2633-33ee-47ef-a47a-3bd401216853">

### Checklist

- [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
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [x] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [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))
2023-12-01 17:16:08 -07:00
Adam Demjen
c88d4a7e49
[Enterprise Search] Fetch and filter ELSER/E5 to compatible variants (#172398)
## Summary

We offer two variants for each curated (ELSER and E5) ML models:
- Cross-platform (e.g. model ID `.elser_model_2`)
- Linux-optimized (e.g. `.elser_model_2_linux-x86_64`)

This PR adds some logic to filter these curated models to the proper
variants in the pipeline configuration -> model selection list, so that
for these models only those are shown that are compatible with the
current platform's architecture.

Manually tested on a Mac M1:

* All available trained models:
<img width="1375" alt="Screenshot 2023-12-01 at 15 41 51"
src="ace1850a-ed33-48f5-ac98-8dfadff9b5ef">

* Model selection list only shows the cross-platform variants
<img width="1226" alt="Screenshot 2023-12-01 at 15 42 15"
src="f5d6dea2-ed4e-4ad2-9c5d-2f3dcbe5fd92">

* If we temporarily override the ML client's call to tag the Linux
variants as compatible, then those variants show up in the list instead
<img width="1219" alt="Screenshot 2023-12-01 at 15 48 00"
src="987e47f7-3186-47ed-baf0-550e9680a967">

* I also tested that the Deploy and Start buttons trigger the action on
the shown variant of the model (the Linux ones could not actually start
on my Mac, which is expected)

### Checklist

Delete any items that are not applicable to this PR.

- [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
2023-12-01 19:00:05 -05:00
Paulo Henrique
0d17a94d30
[Cloud Security] [Misconfiguration] Add Grouping custom renderers (#172256)
## Summary

This PR adds custom rendering for each of the default Grouping
visualizations:

- #168543
- #169043
- #169044
- #169045

**It also adds:**

- Fix error handling (follow up from [this
comment](https://github.com/elastic/kibana/pull/169884#issuecomment-1824332654))
- Change the Findings page to have the Misconfiguration tab in the first
position.
- Added `size` property to the `ComplianceScoreBar` component
- Custom message for groups that don't have value (ex. No Cloud
accounts)
- Changed the sort order of grouping components to be based on the
compliance score
- Added compliance score for custom renderers

### Screenshot

Resource

<img width="1492" alt="image"
src="596f8bdb-abcc-4325-8512-23c919c727a9">

Rule name

<img width="1489" alt="image"
src="787138e3-b3b2-4e15-811a-84c583831469">

Cloud account

<img width="1490" alt="image"
src="9a48145d-dba5-4eda-bd7d-a97ed8f78a2d">

<img width="1492" alt="image"
src="399d0be0-4bc0-4090-ac20-e4b016cc4be5">



Kubernetes

<img width="1499" alt="image"
src="3745498a-969a-4769-b4ae-3c932511a5a9">

Custom field:

<img width="1488" alt="image"
src="8c75535d-2248-4cf9-b1cb-9b0d318114e9">

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-12-01 14:13:22 -08:00
Nathan Reese
d3a8699f65
fix Failing test: X-Pack Saved Object Tagging Functional Tests.x-pack/test/saved_object_tagging/functional/tests/dashboard_integration·ts (#172395)
Fixes https://github.com/elastic/kibana/issues/160583

Test failed because combobox trying to select already selected tag. PR
fixes test by using combobox service to set element. Combobox service
includes logic to only select value when not selected.


![image](e4d04854-b147-4d88-a7e5-5a7bc5fa3f38)

```
[00:07:27]           │ debg Find.clickByCssSelector('[data-test-subj="savedObjectTagSelector"]') with timeout=10000
[00:07:27]           │ debg Find.findByCssSelector('[data-test-subj="savedObjectTagSelector"]') with timeout=10000
[00:07:27]           │ debg TestSubjects.click(tagSelectorOption-tag-1)
[00:07:27]           │ debg Find.clickByCssSelector('[data-test-subj="tagSelectorOption-tag-1"]') with timeout=10000
[00:07:27]           │ debg Find.findByCssSelector('[data-test-subj="tagSelectorOption-tag-1"]') with timeout=10000
[00:07:37]           │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tagSelectorOption-tag-1"])
[00:07:37]           │      Wait timed out after 10003ms
[00:07:38]           │ debg Find.findByCssSelector('[data-test-subj="tagSelectorOption-tag-1"]') with timeout=10000
[00:07:48]           │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tagSelectorOption-tag-1"])
[00:07:48]           │      Wait timed out after 10038ms
[00:07:48]           │ debg Find.findByCssSelector('[data-test-subj="tagSelectorOption-tag-1"]') with timeout=10000
[00:07:58]           │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tagSelectorOption-tag-1"])
[00:07:58]           │      Wait timed out after 10054ms
[00:07:59]           │ debg Find.findByCssSelector('[data-test-subj="tagSelectorOption-tag-1"]') with timeout=10000
[00:08:09]           │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tagSelectorOption-tag-1"])
[00:08:09]           │      Wait timed out after 10013ms
[00:08:09]           │ debg Find.findByCssSelector('[data-test-subj="tagSelectorOption-tag-1"]') with timeout=10000
[00:08:19]           │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tagSelectorOption-tag-1"])
[00:08:19]           │      Wait timed out after 10038ms
[00:08:20]           │ debg Find.findByCssSelector('[data-test-subj="tagSelectorOption-tag-1"]') with timeout=10000
[00:08:30]           │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tagSelectorOption-tag-1"])
[00:08:30]           │      Wait timed out after 10005ms
[00:08:30]           │ debg Find.findByCssSelector('[data-test-subj="tagSelectorOption-tag-1"]') with timeout=10000
[00:08:40]           │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tagSelectorOption-tag-1"])
[00:08:40]           │      Wait timed out after 10034ms
[00:08:41]           │ debg Find.findByCssSelector('[data-test-subj="tagSelectorOption-tag-1"]') with timeout=10000
[00:08:51]           │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tagSelectorOption-tag-1"])
[00:08:51]           │      Wait timed out after 10037ms
[00:08:51]           │ debg Find.findByCssSelector('[data-test-subj="tagSelectorOption-tag-1"]') with timeout=10000
[00:09:01]           │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tagSelectorOption-tag-1"])
[00:09:01]           │      Wait timed out after 10007ms
[00:09:02]           │ debg Find.findByCssSelector('[data-test-subj="tagSelectorOption-tag-1"]') with timeout=10000
[00:09:12]           │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tagSelectorOption-tag-1"])
[00:09:12]           │      Wait timed out after 10054ms
[00:09:13]           │ debg Find.findByCssSelector('[data-test-subj="tagSelectorOption-tag-1"]') with timeout=10000
[00:09:23]           │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tagSelectorOption-tag-1"])
[00:09:23]           │      Wait timed out after 10037ms
[00:09:23]           │ debg Find.findByCssSelector('[data-test-subj="tagSelectorOption-tag-1"]') with timeout=10000
[00:09:33]           │ debg --- retry.try error: Waiting for element to be located By(css selector, [data-test-subj="tagSelectorOption-tag-1"])
[00:09:33]           │      Wait timed out after 10042ms
[00:09:34]           │ debg --- retry.try error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="tagSelectorOption-tag-1"])
[00:09:34]           │      Wait timed out after 10042ms
[00:09:34]           │          at /var/lib/buildkite-agent/builds/kb-n2-4-spot-ee2d6153f1c6deeb/elastic/kibana-on-merge/kibana/node_modules/selenium-webdriver/lib/webdriver.js:929:17
[00:09:34]           │          at processTicksAndRejections (node:internal/process/task_queues:95:5)
[00:09:34]           │ info Taking window screenshot "/var/lib/buildkite-agent/builds/kb-n2-4-spot-ee2d6153f1c6deeb/elastic/kibana-on-merge/kibana/x-pack/test/saved_object_tagging/functional/screenshots/failure/saved objects tagging - functional tests dashboard integration creating allows t-29814279444f4d298f24b012c2e451886d9c481ab2ec65240025329c4f56ba13.png"
[00:09:34]           │ info Current URL is: http://localhost:5620/app/dashboards#/create?_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:now-15m,to:now))
[00:09:34]           │ info Saving page source to: /var/lib/buildkite-agent/builds/kb-n2-4-spot-ee2d6153f1c6deeb/elastic/kibana-on-merge/kibana/x-pack/test/saved_object_tagging/functional/failure_debug/html/saved objects tagging - functional tests dashboard integration creating allows t-29814279444f4d298f24b012c2e451886d9c481ab2ec65240025329c4f56ba13.html
[00:09:34]           └- ✖ fail: saved objects tagging - functional tests dashboard integration creating allows to select tags for a new dashboard
[00:09:34]           │      Error: retry.try timeout: Error: retry.try timeout: TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="tagSelectorOption-tag-1"])
[00:09:34]           │ Wait timed out after 10042ms
[00:09:34]           │     at /var/lib/buildkite-agent/builds/kb-n2-4-spot-ee2d6153f1c6deeb/elastic/kibana-on-merge/kibana/node_modules/selenium-webdriver/lib/webdriver.js:929:17
[00:09:34]           │     at processTicksAndRejections (node:internal/process/task_queues:95:5)
[00:09:34]           │     at onFailure (retry_for_success.ts:17:9)
[00:09:34]           │     at retryForSuccess (retry_for_success.ts:59:13)
[00:09:34]           │     at RetryService.try (retry.ts:31:12)
[00:09:34]           │     at Proxy.clickByCssSelector (find.ts:417:5)
[00:09:34]           │     at TestSubjects.click (test_subjects.ts:164:5)
[00:09:34]           │     at DashboardPageObject.selectDashboardTags (dashboard_page.ts:560:7)
[00:09:34]           │     at DashboardPageObject.enterDashboardTitleAndClickSave (dashboard_page.ts:544:7)
[00:09:34]           │     at dashboard_page.ts:481:7
[00:09:34]           │     at runAttempt (retry_for_success.ts:29:15)
[00:09:34]           │     at retryForSuccess (retry_for_success.ts:68:21)
[00:09:34]           │     at RetryService.try (retry.ts:31:12)
[00:09:34]           │     at DashboardPageObject.saveDashboard (dashboard_page.ts:480:5)
[00:09:34]           │     at Context.<anonymous> (dashboard_integration.ts:87:9)
[00:09:34]           │     at Object.apply (wrap_function.js:73:16)
[00:09:34]           │       at onFailure (retry_for_success.ts:17:9)
[00:09:34]           │       at retryForSuccess (retry_for_success.ts:59:13)
[00:09:34]           │       at RetryService.try (retry.ts:31:12)
[00:09:34]           │       at DashboardPageObject.saveDashboard (dashboard_page.ts:480:5)
[00:09:34]           │       at Context.<anonymous> (dashboard_integration.ts:87:9)
[00:09:34]           │       at Object.apply (wrap_function.js:73:16)
[00:09:34]           │ 
[00:09:34]           │ 
```
2023-12-01 15:12:57 -07:00
Adam Demjen
2c4d0a38d7
[Enterprise Search] Replace model selection dropdown with list (#171436)
## Summary

This PR replaces the model selection dropdown in the ML inference
pipeline configuration flyout with a cleaner selection list. The model
cards also contain fast deploy action buttons for promoted models
(ELSER, E5). The list is periodically updated.

Old:
![Screenshot 2023-11-16 at 12 31
50](0b46f766-4423-4b70-be99-8cfe9fe26cfd)

New:
<img width="1442" alt="Screenshot 2023-11-30 at 15 13 46"
src="fd439280-6dce-4973-b622-08ad3e34e665">

### Checklist

- [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] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [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))

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-12-01 16:50:21 -05:00
Lukas Olson
1533f304a8
[UnifiedDocViewer] Remove usage of KibanaContextProvider (#167202)
## Summary

Removes usages of `KibanaContextProvider` to simplify the API of the
`UnifiedDocViewer` component. Instead, necessary services are accessed
from the plugin itself (via `getUnifiedDocViewerServices`). Removes the
`useUnifiedDocViewerServices` hook since it's no longer needed.

Resolves #168380

### Checklist

- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [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

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-12-01 14:21:16 -07:00
Sean Story
8fdfa633e5
Add native connector definition for oracle (#172102)
## Summary

Part of https://github.com/elastic/enterprise-search-team/issues/6308
This adds a default configuration for Oracle connectors, which will
allow them to be used as Native Connectors.


### Checklist


- [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]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials


### 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)
2023-12-01 14:59:46 -06:00
Steph Milovic
fed4af1f31
[Security solution] Bedrock token tracking - dashboard link added to connector UI (#172115) 2023-12-01 11:53:45 -07:00
Bryce Buchanan
33c74aeb03
[APM] Mobile crashes & errors (#165892)
## Summary

This PR adds back the `Errors` tab to mobile apm services under the
title `Errors & Crashes`. This new page is split into too sections:
errors, and crashes.

Error Tab:
<img width="1456" alt="Screenshot 2023-10-25 at 10 57 00"
src="20277c31-d88c-44ae-b896-1da4223cb392">

Crashes Tab:
<img width="1454" alt="Screenshot 2023-10-25 at 10 57 35"
src="2b0dea23-cbab-4e68-a14a-c3b14d4bd860">


### 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]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [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] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [x] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [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))
- [x] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)


### Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to
identify risks that should be tested prior to the change/feature
release.

When forming the risk matrix, consider some of the following examples
and how they may potentially impact the change:

### 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)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Katerina <kate@kpatticha.com>
2023-12-01 11:28:49 -07:00
renovate[bot]
eac36e8024
Update ftr (main) (#172237)
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/chromedriver](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chromedriver)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`^81.0.2` ->
`^81.0.5`](https://renovatebot.com/diffs/npm/@types%2fchromedriver/81.0.2/81.0.5)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fchromedriver/81.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fchromedriver/81.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fchromedriver/81.0.2/81.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fchromedriver/81.0.2/81.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/selenium-webdriver](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/selenium-webdriver)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`^4.1.13` ->
`^4.1.20`](https://renovatebot.com/diffs/npm/@types%2fselenium-webdriver/4.1.13/4.1.20)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fselenium-webdriver/4.1.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fselenium-webdriver/4.1.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fselenium-webdriver/4.1.13/4.1.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fselenium-webdriver/4.1.13/4.1.20?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[geckodriver](https://togithub.com/webdriverio-community/node-geckodriver)
| [`^4.0.0` ->
`^4.2.1`](https://renovatebot.com/diffs/npm/geckodriver/4.0.0/4.2.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/geckodriver/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/geckodriver/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/geckodriver/4.0.0/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/geckodriver/4.0.0/4.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[selenium-webdriver](https://togithub.com/SeleniumHQ/selenium/tree/trunk/javascript/node/selenium-webdriver#readme)
([source](https://togithub.com/SeleniumHQ/selenium)) | [`^4.9.1` ->
`^4.15.0`](https://renovatebot.com/diffs/npm/selenium-webdriver/4.9.1/4.15.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/selenium-webdriver/4.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/selenium-webdriver/4.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/selenium-webdriver/4.9.1/4.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/selenium-webdriver/4.9.1/4.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>webdriverio-community/node-geckodriver (geckodriver)</summary>

###
[`v4.2.1`](https://togithub.com/webdriverio-community/node-geckodriver/releases/tag/v4.2.1):
Release 4.2.1

[Compare
Source](https://togithub.com/webdriverio-community/node-geckodriver/compare/v4.2.0...v4.2.1)

- Bump [@&#8203;types/unzipper](https://togithub.com/types/unzipper)
from 0.10.6 to 0.10.7
([#&#8203;218](https://togithub.com/webdriverio-community/node-geckodriver/issues/218))
([`949ad67`](949ad67))
- Fix bug when specifying customGeckoDriverPath
([#&#8203;222](https://togithub.com/webdriverio-community/node-geckodriver/issues/222))
([`345f3f9`](345f3f9))
- Bump
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)
from 6.5.0 to 6.6.0
([#&#8203;228](https://togithub.com/webdriverio-community/node-geckodriver/issues/228))
([`f16458d`](f16458d))
- Bump [@&#8203;types/node](https://togithub.com/types/node) from 20.5.9
to 20.6.0
([#&#8203;225](https://togithub.com/webdriverio-community/node-geckodriver/issues/225))
([`6a40638`](6a40638))
- Bump
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
from 6.5.0 to 6.6.0
([#&#8203;224](https://togithub.com/webdriverio-community/node-geckodriver/issues/224))
([`17f183e`](17f183e))
- Bump eslint from 8.48.0 to 8.49.0
([#&#8203;229](https://togithub.com/webdriverio-community/node-geckodriver/issues/229))
([`77c13f5`](77c13f5))
- Bump https-proxy-agent from 7.0.1 to 7.0.2
([#&#8203;227](https://togithub.com/webdriverio-community/node-geckodriver/issues/227))
([`0d1dfb3`](0d1dfb3))
- Bump vitest from 0.34.3 to 0.34.4
([#&#8203;226](https://togithub.com/webdriverio-community/node-geckodriver/issues/226))
([`c59f558`](c59f558))
- Bump webdriverio from 8.16.3 to 8.16.6
([#&#8203;223](https://togithub.com/webdriverio-community/node-geckodriver/issues/223))
([`107941c`](107941c))
- Bump webdriverio from 8.15.9 to 8.16.3
([#&#8203;217](https://togithub.com/webdriverio-community/node-geckodriver/issues/217))
([`efe7247`](efe7247))
- Bump
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
from 6.4.1 to 6.5.0
([#&#8203;221](https://togithub.com/webdriverio-community/node-geckodriver/issues/221))
([`13c0430`](13c0430))
- Bump
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)
from 6.4.1 to 6.5.0
([#&#8203;219](https://togithub.com/webdriverio-community/node-geckodriver/issues/219))
([`f35d697`](f35d697))
- Bump [@&#8203;types/node](https://togithub.com/types/node) from 20.5.7
to 20.5.9
([#&#8203;220](https://togithub.com/webdriverio-community/node-geckodriver/issues/220))
([`25efec0`](25efec0))
- Bump which from 3.0.1 to 4.0.0
([#&#8203;216](https://togithub.com/webdriverio-community/node-geckodriver/issues/216))
([`9554f02`](9554f02))
- Bump webdriverio from 8.15.4 to 8.15.9
([#&#8203;215](https://togithub.com/webdriverio-community/node-geckodriver/issues/215))
([`c2a4603`](c2a4603))
- Bump [@&#8203;types/node](https://togithub.com/types/node) from 20.5.1
to 20.5.7
([#&#8203;214](https://togithub.com/webdriverio-community/node-geckodriver/issues/214))
([`08221d4`](08221d4))
- Bump typescript from 5.1.6 to 5.2.2
([#&#8203;210](https://togithub.com/webdriverio-community/node-geckodriver/issues/210))
([`60abd52`](60abd52))
- Bump
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
from 6.4.0 to 6.4.1
([#&#8203;213](https://togithub.com/webdriverio-community/node-geckodriver/issues/213))
([`e3bfa8a`](e3bfa8a))
- Bump vitest from 0.34.2 to 0.34.3
([#&#8203;212](https://togithub.com/webdriverio-community/node-geckodriver/issues/212))
([`454e256`](454e256))
- Bump
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)
from 6.4.0 to 6.4.1
([#&#8203;211](https://togithub.com/webdriverio-community/node-geckodriver/issues/211))
([`9642c85`](9642c85))
- Bump eslint from 8.47.0 to 8.48.0
([#&#8203;209](https://togithub.com/webdriverio-community/node-geckodriver/issues/209))
([`07e67dd`](07e67dd))
- Bump [@&#8203;types/node](https://togithub.com/types/node) from 20.5.0
to 20.5.1
([#&#8203;208](https://togithub.com/webdriverio-community/node-geckodriver/issues/208))
([`abb7417`](abb7417))
- Bump
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
from 6.3.0 to 6.4.0
([#&#8203;207](https://togithub.com/webdriverio-community/node-geckodriver/issues/207))
([`f193a4d`](f193a4d))
- Bump vitest from 0.34.1 to 0.34.2
([#&#8203;206](https://togithub.com/webdriverio-community/node-geckodriver/issues/206))
([`384fa35`](384fa35))
- Bump
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)
from 6.3.0 to 6.4.0
([#&#8203;205](https://togithub.com/webdriverio-community/node-geckodriver/issues/205))
([`3bc59b6`](3bc59b6))
- Bump eslint-plugin-import from 2.28.0 to 2.28.1
([#&#8203;203](https://togithub.com/webdriverio-community/node-geckodriver/issues/203))
([`691b064`](691b064))
- Bump webdriverio from 8.14.6 to 8.15.4
([#&#8203;204](https://togithub.com/webdriverio-community/node-geckodriver/issues/204))
([`cec7c0f`](cec7c0f))
- Bump
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)
from 6.2.1 to 6.3.0
([#&#8203;200](https://togithub.com/webdriverio-community/node-geckodriver/issues/200))
([`81c54c1`](81c54c1))
- Bump
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
from 6.2.1 to 6.3.0
([#&#8203;202](https://togithub.com/webdriverio-community/node-geckodriver/issues/202))
([`83d1cca`](83d1cca))
- Bump eslint from 8.46.0 to 8.47.0
([#&#8203;197](https://togithub.com/webdriverio-community/node-geckodriver/issues/197))
([`a4067d7`](a4067d7))
- Bump webdriverio from 8.14.3 to 8.14.6
([#&#8203;201](https://togithub.com/webdriverio-community/node-geckodriver/issues/201))
([`a454a07`](a454a07))
- Bump release-it from 16.1.3 to 16.1.5
([#&#8203;199](https://togithub.com/webdriverio-community/node-geckodriver/issues/199))
([`61a3db9`](61a3db9))
- Bump [@&#8203;types/node](https://togithub.com/types/node) from 20.4.8
to 20.5.0
([#&#8203;198](https://togithub.com/webdriverio-community/node-geckodriver/issues/198))
([`4094cfb`](4094cfb))

###
[`v4.2.0`](https://togithub.com/webdriverio-community/node-geckodriver/releases/tag/v4.2.0):
Release 4.2.0

[Compare
Source](https://togithub.com/webdriverio-community/node-geckodriver/compare/v4.1.3...v4.2.0)

- Document websocket-port arg, set it to random
([#&#8203;196](https://togithub.com/webdriverio-community/node-geckodriver/issues/196))
([`0abe390`](0abe390))
- Bump vitest from 0.33.0 to 0.34.1
([#&#8203;195](https://togithub.com/webdriverio-community/node-geckodriver/issues/195))
([`21fd29b`](21fd29b))
- Bump [@&#8203;types/node](https://togithub.com/types/node) from 20.4.5
to 20.4.8
([#&#8203;194](https://togithub.com/webdriverio-community/node-geckodriver/issues/194))
([`f0d8ee6`](f0d8ee6))
- Bump webdriverio from 8.13.13 to 8.14.3
([#&#8203;193](https://togithub.com/webdriverio-community/node-geckodriver/issues/193))
([`bb3d568`](bb3d568))
- Bump
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
from 6.2.0 to 6.2.1
([#&#8203;192](https://togithub.com/webdriverio-community/node-geckodriver/issues/192))
([`3c0ca31`](3c0ca31))
- Bump
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)
from 6.2.0 to 6.2.1
([#&#8203;191](https://togithub.com/webdriverio-community/node-geckodriver/issues/191))
([`a785e82`](a785e82))
- Bump
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
from 6.1.0 to 6.2.0
([#&#8203;188](https://togithub.com/webdriverio-community/node-geckodriver/issues/188))
([`96f1c3d`](96f1c3d))
- Bump eslint-plugin-unicorn from 48.0.0 to 48.0.1
([#&#8203;190](https://togithub.com/webdriverio-community/node-geckodriver/issues/190))
([`0485df1`](0485df1))
- Bump eslint from 8.45.0 to 8.46.0
([#&#8203;189](https://togithub.com/webdriverio-community/node-geckodriver/issues/189))
([`cdbbc4b`](cdbbc4b))
- Bump octokit from 3.0.0 to 3.1.0
([#&#8203;187](https://togithub.com/webdriverio-community/node-geckodriver/issues/187))
([`43f0870`](43f0870))
- Bump
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)
from 6.1.0 to 6.2.0
([#&#8203;182](https://togithub.com/webdriverio-community/node-geckodriver/issues/182))
([`7adc3dc`](7adc3dc))
- Bump webdriverio from 8.13.4 to 8.13.13
([#&#8203;186](https://togithub.com/webdriverio-community/node-geckodriver/issues/186))
([`caf8f1e`](caf8f1e))
- Bump [@&#8203;types/node](https://togithub.com/types/node) from 20.4.4
to 20.4.5
([#&#8203;185](https://togithub.com/webdriverio-community/node-geckodriver/issues/185))
([`6bf8db0`](6bf8db0))
- Bump node-fetch from 3.3.1 to 3.3.2
([#&#8203;184](https://togithub.com/webdriverio-community/node-geckodriver/issues/184))
([`bc99d93`](bc99d93))
- Bump eslint-plugin-import from 2.27.5 to 2.28.0
([#&#8203;183](https://togithub.com/webdriverio-community/node-geckodriver/issues/183))
([`2a1392b`](2a1392b))

###
[`v4.1.3`](https://togithub.com/webdriverio-community/node-geckodriver/releases/tag/v4.1.3):
Release 4.1.3

[Compare
Source](https://togithub.com/webdriverio-community/node-geckodriver/compare/v4.1.2...v4.1.3)

- don't propagate cacheDir to driver
([`e4ad2a9`](e4ad2a9))

###
[`v4.1.2`](https://togithub.com/webdriverio-community/node-geckodriver/releases/tag/v4.1.2):
Release 4.1.2

[Compare
Source](https://togithub.com/webdriverio-community/node-geckodriver/compare/v4.1.1...v4.1.2)

- log driver start
([`de01d35`](de01d35))

###
[`v4.1.1`](https://togithub.com/webdriverio-community/node-geckodriver/releases/tag/v4.1.1):
Release 4.1.1

[Compare
Source](https://togithub.com/webdriverio-community/node-geckodriver/compare/v4.1.0...v4.1.1)

- double mkdir call
([`48c38a4`](48c38a4))
- minor docs updates
([`eab499e`](eab499e))

###
[`v4.1.0`](https://togithub.com/webdriverio-community/node-geckodriver/releases/tag/v4.1.0):
Release 4.1.0

[Compare
Source](https://togithub.com/webdriverio-community/node-geckodriver/compare/v4.0.5...v4.1.0)

- allow to set custom cacheDir
([`296f4d4`](296f4d4))
- Bump [@&#8203;types/node](https://togithub.com/types/node) from 20.4.2
to 20.4.4
([#&#8203;180](https://togithub.com/webdriverio-community/node-geckodriver/issues/180))
([`a9eeaf1`](a9eeaf1))
- Bump
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
from 6.0.0 to 6.1.0
([#&#8203;179](https://togithub.com/webdriverio-community/node-geckodriver/issues/179))
([`a73f68c`](a73f68c))
- Bump webdriverio from 8.13.1 to 8.13.4
([#&#8203;181](https://togithub.com/webdriverio-community/node-geckodriver/issues/181))
([`5589e16`](5589e16))
- Bump
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)
from 6.0.0 to 6.1.0
([#&#8203;178](https://togithub.com/webdriverio-community/node-geckodriver/issues/178))
([`4d3619b`](4d3619b))
- Bump release-it from 16.1.2 to 16.1.3
([#&#8203;177](https://togithub.com/webdriverio-community/node-geckodriver/issues/177))
([`8f950b4`](8f950b4))
- Bump word-wrap from 1.2.3 to 1.2.4
([#&#8203;176](https://togithub.com/webdriverio-community/node-geckodriver/issues/176))
([`8d6d169`](8d6d169))
- Bump eslint-plugin-unicorn from 47.0.0 to 48.0.0
([#&#8203;174](https://togithub.com/webdriverio-community/node-geckodriver/issues/174))
([`033c05f`](033c05f))
- Bump release-it from 16.1.0 to 16.1.2
([#&#8203;175](https://togithub.com/webdriverio-community/node-geckodriver/issues/175))
([`6a1c5f7`](6a1c5f7))

###
[`v4.0.5`](https://togithub.com/webdriverio-community/node-geckodriver/releases/tag/v4.0.5):
Release 4.0.5

[Compare
Source](https://togithub.com/webdriverio-community/node-geckodriver/compare/v4.0.4...v4.0.5)

- omit dev deps in audit
([`8a1c63b`](8a1c63b))
- Bump eslint from 8.42.0 to 8.43.0
([#&#8203;154](https://togithub.com/webdriverio-community/node-geckodriver/issues/154))
([`d2abc17`](d2abc17))
- Bump octokit from 2.0.19 to 2.0.22
([#&#8203;151](https://togithub.com/webdriverio-community/node-geckodriver/issues/151))
([`3003eac`](3003eac))
- Bump
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
from 5.59.9 to 5.59.11
([#&#8203;157](https://togithub.com/webdriverio-community/node-geckodriver/issues/157))
([`6da5f59`](6da5f59))
- Bump [@&#8203;types/node](https://togithub.com/types/node) from 20.3.0
to 20.3.1
([#&#8203;149](https://togithub.com/webdriverio-community/node-geckodriver/issues/149))
([`4f388a7`](4f388a7))
- Bump tar-fs from 2.1.1 to 3.0.2
([#&#8203;155](https://togithub.com/webdriverio-community/node-geckodriver/issues/155))
([`1e2226b`](1e2226b))
- Bump webdriverio from 8.11.1 to 8.11.2
([#&#8203;153](https://togithub.com/webdriverio-community/node-geckodriver/issues/153))
([`932e10a`](932e10a))
- Bump vitest from 0.32.0 to 0.32.2
([#&#8203;152](https://togithub.com/webdriverio-community/node-geckodriver/issues/152))
([`430632f`](430632f))
- Bump
[@&#8203;vitest/coverage-c8](https://togithub.com/vitest/coverage-c8)
from 0.32.0 to 0.32.2
([#&#8203;150](https://togithub.com/webdriverio-community/node-geckodriver/issues/150))
([`814c71f`](814c71f))
- Bump vitest from 0.31.4 to 0.32.0
([#&#8203;146](https://togithub.com/webdriverio-community/node-geckodriver/issues/146))
([`6544b84`](6544b84))
- Bump
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
from 5.59.8 to 5.59.9
([#&#8203;147](https://togithub.com/webdriverio-community/node-geckodriver/issues/147))
([`33874cb`](33874cb))
- Bump webdriverio from 8.10.7 to 8.11.1
([#&#8203;144](https://togithub.com/webdriverio-community/node-geckodriver/issues/144))
([`df94ac3`](df94ac3))
- Bump
[@&#8203;vitest/coverage-c8](https://togithub.com/vitest/coverage-c8)
from 0.31.4 to 0.32.0
([#&#8203;148](https://togithub.com/webdriverio-community/node-geckodriver/issues/148))
([`2ee55f3`](2ee55f3))
- Bump release-it from 15.10.5 to 15.11.0
([#&#8203;142](https://togithub.com/webdriverio-community/node-geckodriver/issues/142))
([`08f32ce`](08f32ce))
- Bump [@&#8203;types/node](https://togithub.com/types/node) from 20.2.5
to 20.3.0
([#&#8203;145](https://togithub.com/webdriverio-community/node-geckodriver/issues/145))
([`4ce2cd4`](4ce2cd4))
- Bump
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)
from 5.59.8 to 5.59.9
([#&#8203;143](https://togithub.com/webdriverio-community/node-geckodriver/issues/143))
([`b977525`](b977525))
- Bump [@&#8203;wdio/logger](https://togithub.com/wdio/logger) from
8.10.6 to 8.11.0
([#&#8203;141](https://togithub.com/webdriverio-community/node-geckodriver/issues/141))
([`1eeca9c`](1eeca9c))

###
[`v4.0.4`](https://togithub.com/webdriverio-community/node-geckodriver/releases/tag/v4.0.4):
Release 4.0.4

[Compare
Source](https://togithub.com/webdriverio-community/node-geckodriver/compare/v4.0.3...v4.0.4)

- Update the bin-script reference
([#&#8203;124](https://togithub.com/webdriverio-community/node-geckodriver/issues/124))
([`07babfa`](07babfa))

###
[`v4.0.3`](https://togithub.com/webdriverio-community/node-geckodriver/releases/tag/v4.0.3):
Release 4.0.3

[Compare
Source](https://togithub.com/webdriverio-community/node-geckodriver/compare/v4.0.2...v4.0.3)

- Bump typescript from 5.0.4 to 5.1.3
([#&#8203;135](https://togithub.com/webdriverio-community/node-geckodriver/issues/135))
([`d96c5a7`](d96c5a7))
- Bump
[@&#8203;vitest/coverage-c8](https://togithub.com/vitest/coverage-c8)
from 0.31.1 to 0.31.4
([#&#8203;140](https://togithub.com/webdriverio-community/node-geckodriver/issues/140))
([`e0cbcd6`](e0cbcd6))
- Bump vitest from 0.31.1 to 0.31.4
([#&#8203;138](https://togithub.com/webdriverio-community/node-geckodriver/issues/138))
([`5551266`](5551266))
- Bump
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)
from 5.59.7 to 5.59.8
([#&#8203;137](https://togithub.com/webdriverio-community/node-geckodriver/issues/137))
([`56d5168`](56d5168))
- Bump webdriverio from 8.10.5 to 8.10.7
([#&#8203;133](https://togithub.com/webdriverio-community/node-geckodriver/issues/133))
([`fae4f10`](fae4f10))
- Bump
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
from 5.59.7 to 5.59.8
([#&#8203;136](https://togithub.com/webdriverio-community/node-geckodriver/issues/136))
([`db9f086`](db9f086))
- Bump release-it from 15.10.3 to 15.10.5
([#&#8203;134](https://togithub.com/webdriverio-community/node-geckodriver/issues/134))
([`002f497`](002f497))
- Bump eslint from 8.41.0 to 8.42.0
([#&#8203;132](https://togithub.com/webdriverio-community/node-geckodriver/issues/132))
([`88cd697`](88cd697))

###
[`v4.0.2`](https://togithub.com/webdriverio-community/node-geckodriver/releases/tag/v4.0.2):
Release 4.0.2

[Compare
Source](https://togithub.com/webdriverio-community/node-geckodriver/compare/v4.0.1...v4.0.2)

- Bump http-proxy-agent from 6.1.0 to 7.0.0
([#&#8203;126](https://togithub.com/webdriverio-community/node-geckodriver/issues/126))
([`b857475`](b857475))
- Bump
[@&#8203;typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
from 5.59.6 to 5.59.7
([#&#8203;130](https://togithub.com/webdriverio-community/node-geckodriver/issues/130))
([`78ffc90`](78ffc90))
- Bump webdriverio from 8.10.4 to 8.10.5
([#&#8203;131](https://togithub.com/webdriverio-community/node-geckodriver/issues/131))
([`425d80b`](425d80b))
- Bump octokit from 2.0.16 to 2.0.19
([#&#8203;128](https://togithub.com/webdriverio-community/node-geckodriver/issues/128))
([`6994029`](6994029))
- Bump
[@&#8203;typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)
from 5.59.6 to 5.59.7
([#&#8203;129](https://togithub.com/webdriverio-community/node-geckodriver/issues/129))
([`8e48611`](8e48611))
- Bump https-proxy-agent from 6.2.0 to 7.0.0
([#&#8203;127](https://togithub.com/webdriverio-community/node-geckodriver/issues/127))
([`afbc8c1`](afbc8c1))
- Bump [@&#8203;types/node](https://togithub.com/types/node) from 20.2.3
to 20.2.5
([#&#8203;125](https://togithub.com/webdriverio-community/node-geckodriver/issues/125))
([`a2488a7`](a2488a7))

###
[`v4.0.1`](https://togithub.com/webdriverio-community/node-geckodriver/releases/tag/v4.0.1)

[Compare
Source](https://togithub.com/webdriverio-community/node-geckodriver/compare/v4.0.0...v4.0.1)

Changelog:

- Add relative path to `types.ts` import
([#&#8203;122](https://togithub.com/webdriverio-community/node-geckodriver/issues/122))
([`c54728e`](c54728e))
- Bump http-proxy-agent from 6.0.1 to 6.1.0
([#&#8203;119](https://togithub.com/webdriverio-community/node-geckodriver/issues/119))
([`91609aa`](91609aa))
- Bump octokit from 2.0.14 to 2.0.16
([#&#8203;121](https://togithub.com/webdriverio-community/node-geckodriver/issues/121))
([`1698373`](1698373))
- Bump eslint from 8.40.0 to 8.41.0
([#&#8203;120](https://togithub.com/webdriverio-community/node-geckodriver/issues/120))
([`45f8a66`](45f8a66))
- Bump webdriverio from 8.10.2 to 8.10.4
([#&#8203;118](https://togithub.com/webdriverio-community/node-geckodriver/issues/118))
([`a07f9e6`](a07f9e6))
- Bump [@&#8203;types/node](https://togithub.com/types/node) from 20.1.7
to 20.2.3
([#&#8203;117](https://togithub.com/webdriverio-community/node-geckodriver/issues/117))
([`262589f`](262589f))
- Bump https-proxy-agent from 6.1.0 to 6.2.0
([#&#8203;116](https://togithub.com/webdriverio-community/node-geckodriver/issues/116))
([`3885dd6`](3885dd6))
- minor docs update
([`8dcdab3`](8dcdab3))

</details>

<details>
<summary>SeleniumHQ/selenium (selenium-webdriver)</summary>

###
[`v4.15.0`](e5a96349ce...1d14b5521b)

[Compare
Source](e5a96349ce...1d14b5521b)

###
[`v4.14.0`](66b3a2ade2...e5a96349ce)

[Compare
Source](66b3a2ade2...e5a96349ce)

###
[`v4.13.0`](249f2a7d1b...66b3a2ade2)

[Compare
Source](249f2a7d1b...66b3a2ade2)

###
[`v4.12.0`](00b6089b93...249f2a7d1b)

[Compare
Source](00b6089b93...249f2a7d1b)

###
[`v4.11.1`](040bc5406b...00b6089b93)

[Compare
Source](040bc5406b...00b6089b93)

###
[`v4.11.0`](c14d967899...040bc5406b)

[Compare
Source](c14d967899...040bc5406b)

###
[`v4.10.0`](8e0c968e38...c14d967899)

[Compare
Source](8e0c968e38...c14d967899)

###
[`v4.9.2`](eb2032df7f...8e0c968e38)

[Compare
Source](eb2032df7f...8e0c968e38)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/elastic/kibana).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 11:08:08 -06:00
Patrick Mueller
4b7dbc3a25
[ResponseOps][Task Manager] fix infinite recursion in taskPool recursion (#172191)
resolves https://github.com/elastic/kibana/issues/172116

Prevents `taskPool.run()` from getting into an infinite recursive loop,
by limiting the number of times it can recurse.

### Checklist

- [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

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-12-01 11:11:01 -05:00
Janki Salvi
d31a15807b
[Actions][ServiceNow] Allow to close serviceNow incident when alert resolves (#171760)
## Summary

Fixes: https://github.com/elastic/kibana/issues/170522

This PR allows to `close service now incident` when alert is `recovered`

SN connector form shows only `correlation_id` field as it is mandatory
field to close an incident.

![Screenshot 2023-11-27 at 11 52
36](1d722153-f77a-484a-b17b-13489f9d7666)

**How to test:**
- Create a rule and select serviceNow ITSM action with Run when option
as Recovered
- Verify that it closes an incident in SN when Alert is recovered


### Checklist

Delete any items that are not applicable to this PR.

- [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

### For maintainers

- [x] 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)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-12-01 08:56:37 -07:00
Cristina Amico
b06980c8d8
[Fleet] Unskip upgrade integration test and fix date error (#172362)
Fixes https://github.com/elastic/kibana/issues/172337

## Summary
Integration test unskipped, there was an error in the way the date was
calculated. It should be fixed now.
2023-12-01 16:48:08 +01:00
Mark Hopkin
18f8a959b7
[Entity Analytics] Move all entity analytics API schemas into entity_analytics folder. (#172363)
## Summary

Create `security_solution/common/api/entity_analytics` to house all
entity analytics related apis, in this case `risk_score`, `risk_engine`
and `asset_criticality`.

This makes ownership clearer, simplifies the codeowners file, and will
enable the entity analytics team to have shared schema components in
`security_solution/common/api/entity_analytics/common` (something I want
to do in an upcoming PR)

I have removed `@elastic/security-threat-hunting-explore`'s ownersip of
`/x-pack/plugins/security_solution/common/api/risk_score` let me know if
you want to keep it!
2023-12-01 15:46:48 +00:00
Maryam Saeidi
59982bfa5c
[Custom threshold] Add viewInApp URL to the custom threshold rule type (#171985)
Closes #171613

## Summary

This PR adds the viewInApp URL to the custom threshold rule type. This
URL will send the user to the log explorer with the selected data view
and the rule's query filter. If there is only one document aggregation,
then the filter related to this aggregation will be added as shown
below:

|Rule|Discover with pre-fill data|
|---|---|

|![image](2f08b4f4-e6cc-4d25-a48a-098db63b9ce6)|

For the ad-hoc data view, you should be able to see the selected index
pattern in discover similar to this:

<img
src="046493ae-ba59-46b7-a40f-68d1836d43f1"
width=400 />

### 🧪 How to test
- Check the viewInApp URL both in action variables and the alert table
for the following scenarios:
    - A rule with a persisted data view
    - A rule with an ad-hoc data view
    - A rule with count aggregation and filter
    - A rule with an optional query filter
    - A rule with non-count aggregation

In all the above scenarios, the starting time in the Discover should be
before the alert's start time.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-12-01 16:44:10 +01:00
Marta Bondyra
d83955dcdd
[Unified Search] [Lens] [Dashboard Controls] Middle truncation for data view pickers and field lists (#172296)
Adds middle truncation to the following:
Fixes https://github.com/elastic/kibana/issues/168753
Fixes https://github.com/elastic/kibana/issues/170398 

Unified Search:
<img width="554" alt="Screenshot 2023-11-30 at 16 06 49"
src="38d95de5-78d3-4c33-8287-897876422886">

Lens layer data view picker:
<img width="620" alt="Screenshot 2023-11-30 at 16 06 58"
src="68c6f0d6-7496-4db9-a0c0-0596350a4e90">

Create control field list:
<img width="843" alt="Screenshot 2023-11-30 at 16 15 12"
src="7ac4fb32-bdd4-44b0-ab49-2967e3d54fe2">

Create control data view list:

<img width="584" alt="Screenshot 2023-11-30 at 16 33 10"
src="a3b53c24-c363-4d72-b3e2-d4073ae4b3cf">
2023-12-01 08:35:26 -07:00
Gloria Hornero
7b7f19f565
[Security Solution] Adding missing rule management groups to the flaky test suite runner (#172354) 2023-12-01 08:26:58 -07:00
Ievgen Sorokopud
1ebdbc380d
[Security Solution][Alerts] Alert (+Investigation) User Assignment (#2504) (#170579)
## Summary

With this PR we introduce a new Alert User Assignment feature:
- It is possible to assign a user/s to alert/s
- There is a new "Assignees" column in the alerts table which displays
avatars of assigned users
- There is a bulk action to update assignees for multiple alerts
- It is possible to see and update assignees inside the alert details
flyout component
- There is an "Assignees" filter button on the Alerts page which allows
to filter alerts by assignees

We decided to develop this feature on a separate branch. This gives us
ability to make sure that it is thoroughly tested and we did not break
anything in production. Since there is a data scheme changes involved we
decided that it will be a better approach. cc @yctercero

## Testing notes

In order to test assignments you need to create a few users. Then for
users to appear in user profiles dropdown menu you need to activate them
by login into those account at least once.


8eeb13f3-2d16-4fba-acdf-755024a59fc2

Main ticket https://github.com/elastic/security-team/issues/2504

## Bugfixes
- [x] https://github.com/elastic/security-team/issues/8028
- [x] https://github.com/elastic/security-team/issues/8034
- [x] https://github.com/elastic/security-team/issues/8006
- [x] https://github.com/elastic/security-team/issues/8025

## Enhancements
- [x] https://github.com/elastic/security-team/issues/8033

### Checklist

- [x] Functional changes are hidden behind a feature flag. If not
hidden, the PR explains why these changes are being implemented in a
long-living feature branch.
- [x] Functional changes are covered with a test plan and automated
tests.
  - [x] https://github.com/elastic/kibana/issues/171306
  - [x] https://github.com/elastic/kibana/issues/171307
- [x] Stability of new and changed tests is verified using the [Flaky
Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner).
- [x]
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4091
- [x] Comprehensive manual testing is done by two engineers: the PR
author and one of the PR reviewers. Changes are tested in both ESS and
Serverless.
- [x] Mapping changes are accompanied by a technical design document. It
can be a GitHub issue or an RFC explaining the changes. The design
document is shared with and approved by the appropriate teams and
individual stakeholders.
   * https://github.com/elastic/security-team/issues/7647
- [x] Functional changes are communicated to the Docs team. A ticket or
PR is opened in https://github.com/elastic/security-docs. The following
information is included: any feature flags used, affected environments
(Serverless, ESS, or both). **NOTE: as discussed we will wait until docs
are ready to merge this PR**.
   * https://github.com/elastic/security-docs/issues/4226
* https://github.com/elastic/staging-serverless-security-docs/pull/232

---------

Co-authored-by: Marshall Main <marshall.main@elastic.co>
Co-authored-by: Xavier Mouligneau <xavier.mouligneau@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Sergi Massaneda <sergi.massaneda@gmail.com>
2023-12-01 16:26:03 +01:00
Achyut Jhunjhunwala
d24d43c7c1
Fix credentials leak from synthtrace (#172294)
The PR fixes creds leaking in console logs when running Synth.
Synthtrace runs on CI as well where this is not secure to leak
credentials

## Before -

<img width="854" alt="image"
src="41aaeed7-6a2a-4cc6-aabd-d9f4261b861a">

## After

<img width="851" alt="image"
src="1da1392f-c6d3-4604-a802-c906ecd4de23">
2023-12-01 08:06:30 -07:00
James Gowdy
1598ed8761
[ML] Adding capabilities and ML node check to create job button in dashboard (#172022)
Fixes https://github.com/elastic/kibana/issues/163575
When no jobs are available for selection the `Create job` button should
be disabled for users who cannot create jobs and when no ML nodes are
available.

**When user has insufficient permissions**
<img width="1372" alt="image"
src="9fedc721-6e50-425f-b3b2-c7480146e1e1">

**When no ML nodes are available**

![image](d77b3491-1f39-4956-8eb3-f060db3b7e6b)
2023-12-01 14:47:45 +00:00
renovate[bot]
7f0e025968
Update dependency elastic-apm-node to ^4.2.0 (main) (#172308)
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [elastic-apm-node](https://togithub.com/elastic/apm-agent-nodejs) |
[`^4.1.0` ->
`^4.2.0`](https://renovatebot.com/diffs/npm/elastic-apm-node/4.1.0/4.2.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/elastic-apm-node/4.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/elastic-apm-node/4.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/elastic-apm-node/4.1.0/4.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/elastic-apm-node/4.1.0/4.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>elastic/apm-agent-nodejs (elastic-apm-node)</summary>

###
[`v4.2.0`](https://togithub.com/elastic/apm-agent-nodejs/releases/tag/v4.2.0)

[Compare
Source](https://togithub.com/elastic/apm-agent-nodejs/compare/v4.1.0...v4.2.0)

For more information, please see the
[changelog](https://www.elastic.co/guide/en/apm/agent/nodejs/current/release-notes-4.x.html#release-notes-4.2.0).

##### Elastic APM Node.js agent layer ARNs

|Region|ARN|
|------|---|

|af-south-1|arn:aws:lambda:af-south-1:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|ap-east-1|arn:aws:lambda:ap-east-1:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|ap-northeast-1|arn:aws:lambda:ap-northeast-1:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|ap-northeast-2|arn:aws:lambda:ap-northeast-2:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|ap-northeast-3|arn:aws:lambda:ap-northeast-3:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|ap-south-1|arn:aws:lambda:ap-south-1:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|ap-southeast-1|arn:aws:lambda:ap-southeast-1:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|ap-southeast-2|arn:aws:lambda:ap-southeast-2:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|ap-southeast-3|arn:aws:lambda:ap-southeast-3:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|ca-central-1|arn:aws:lambda:ca-central-1:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|eu-central-1|arn:aws:lambda:eu-central-1:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|eu-north-1|arn:aws:lambda:eu-north-1:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|eu-south-1|arn:aws:lambda:eu-south-1:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|eu-west-1|arn:aws:lambda:eu-west-1:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|eu-west-2|arn:aws:lambda:eu-west-2:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|eu-west-3|arn:aws:lambda:eu-west-3:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|me-south-1|arn:aws:lambda:me-south-1:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|sa-east-1|arn:aws:lambda:sa-east-1:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|us-east-1|arn:aws:lambda:us-east-1:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|us-east-2|arn:aws:lambda:us-east-2:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|us-west-1|arn:aws:lambda:us-west-1:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

|us-west-2|arn:aws:lambda:us-west-2:267093732750:layer:elastic-apm-node-ver-4-2-0:1|

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/elastic/kibana).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co>
2023-12-01 15:28:37 +01:00
Alex Szabo
1208a8e6b5
[Ops] Buildkite job for serverless deployment (#170655)
## Summary
Connected to: https://github.com/elastic/kibana-operations/issues/18
Pre-requisite for:
https://github.com/elastic/kibana-operations/issues/30

You can test the current assistant from the branch:
https://buildkite.com/elastic/kibana-serverless-release-1/builds?branch=buildkite-job-for-deployment
- use `DRY_RUN=1` in the runtime params to not trigger an actual release
:)

This PR creates the contents of a Buildkite job to assist the Kibana
Serverless Release initiation process at the very beginning and lay some
groundwork for further additions to the release management.

At the end of the day, we would like to create a tag deploy@<timestamp>
which will be picked up by another job that listens to these tags:
https://buildkite.com/elastic/kibana-serverless-release. However,
several parts of the preparation for release require manual research,
collecting information about target releases, running scripts, etc.

Any further addition to what would be useful for someone wanting to
start a release could be contained here.

Furthermore, we could also trigger downstream jobs from here. e.g.:
https://buildkite.com/elastic/kibana-serverless-release is currently set
up to listen for a git tag, but we may as well just trigger the job
after we've created a tag.

Check out an example run at:
https://buildkite.com/elastic/kibana-serverless-release-1/builds/72
(visible only if you're a
member of @ elastic/kibana-release-operators) 

Missing features compared to the git action:

- [x] Slack notification about the started deploy
- [x] full "useful links" section

Missing features:
- [x] there's a bit of useful context that should be integrated to the
display of the FTR results (*)
- [x] skip listing and analysis if a commit sha is passed in env


(*) - Currently, we display the next FTR test suite that ran after the
merge of the PR. However, the next FTR that will contain the changes,
and show useful info related to the changeset is ONLY in the FTR that's
ran after the first successful onMerge after the merge commit. Meaning:
if main is failing when the change is merged, an FTR suite won't pick up
the change right after.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Thomas Watson <w@tson.dk>
Co-authored-by: Thomas Watson <watson@elastic.co>
2023-12-01 07:10:52 -07:00
Ash
a27f10e553
[Security Solution][Endpoint] Re-enable responder FTR test (#172303)
## Summary

Re-enable responder FTR tests
fixes  elastic/kibana/issues/170435

related to 
- elastic/kibana/pull/169239
- elastic/kibana/pull/171711

**Flaky runner**
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4112
x 100 ( all fail )

 _with tour popup fix_
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4120
x 100 ( all pass )

### Checklist

- [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
2023-12-01 06:11:42 -07:00
Shahzad
4fd75a9436
[SLO] Fix card view title overlap (#172344) 2023-12-01 05:03:20 -07:00
Gergő Ábrahám
abac134908
[Defend Workflows] Handling message signing decryption fail during Fleet setup (#172072)
## Summary

When encryption key is rotated improperly, Message Signing key retrieval
is retried infinitely, and because this is done in Fleet setup, none of
the Fleet pages are loaded when the user tries to visit any of them.

This PR re-configures the retry logic so it now attempts significantly
less times than infinite.
Also, it changes the errors to non-fatal from the Fleet setup point of
view, similarly to these PRs:
- #171998
- #172058

## Reproducing the encryption key issue
- setup a Kibana, add at least one policy (probably Fleet policy is
enough)
- modify (or add a new) encryption key in your `kibana.dev.yml`:
```yml
xpack.encryptedSavedObjects.encryptionKey: "some-random-encryption-key-min-32-bytes"
```

## Screenshots

After ~15 sec of loading spinner, this is what the user sees:

![image](2a29d0d9-4975-46b5-b662-bfbb6e888b0f)



### Checklist

Delete any items that are not applicable to this PR.

- [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
2023-12-01 04:49:02 -07:00
Mark Hopkin
991b5f6f8c
[Entity Analytics] Implement Asset Criticality Create, Read & Delete APIs (#172073)
## Summary

Adds upsert, read and delete APIs for asset criticality records. I have
used the OpenAPI code generation to create the types and zod schemas.

The APIs added are as follows:

**POST /internal/risk_score/criticality**
Request Body:
```
{
    id_value: "host-1",
    id_field: "host.name",
    criticality_level: "very_important"
}
```

If the record already exists it will be overwritten, otherwise created

**GET
/internal/risk_score/criticality?id_field=host.name&id_value=host-1**
Response body:
```
{
    id_value: "host-1",
    id_field: "host.name",
    criticality_level: "very_important"
    @timestamp: "2023-11-29T11:43:43.175Z"
}
```

**DELETE
/internal/risk_score/criticality?id_field=host.name&id_value=host-1**

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-12-01 03:50:48 -07:00
Dima Arnautov
823552fea5
[ML] Add E5 model configs (#172053)
## Summary

- Adds E5 model configurations available for download, portable and x86
linux optimized.
- Adds `getCuratedModelConfig` shared service to retrieve the model ID
and configuration appropriate for the current cluster architecture.
- Updates description for the ELSER model 
- Renames tabs in the "Add trained model" flyout 
- Renames the `name` property in the `ModelDefinitionResponse` interface
with `model_id`

<img width="1835" alt="image"
src="abaf4f47-d581-493a-af1b-c663a0af9da6">

### Checklist

- [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)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [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
2023-12-01 11:04:47 +01:00
Marco Liberati
1f8c816901
[Lens] Handle invalid values gracefully for static value operation (#172198)
## Summary

Fixes #171959 

I've extended valid static value check to 15 digits (which is the max
support by JS as implementing the [64-bit IEEE
574](https://en.wikipedia.org/wiki/Double-precision_floating-point_format)).

<img width="1224" alt="Screenshot 2023-11-30 at 10 23 13"
src="bf88c0c8-9e51-4c8f-912d-abd82f292eda">

Note: an alternative approach would be to make it pass nonetheless and
trunc the numeric value at 15th digit.

### 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)
- [ ] [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

---------

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2023-12-01 10:45:42 +01:00
Ash
5ad3eec222
[Security Solution][Endpoint] Re-enable authz API tests (#172278)
## Summary

Re-enable endpoint autz api test suite

**Flaky runner**
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4108
x 100 ( all pass )

### Checklist
- [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
2023-12-01 10:35:00 +01:00
Vitalii Dmyterko
f59ac2916d
[Security Solution]{Detection Engine] unskip ES|QL tests (#172279)
Tests were skipped in https://github.com/elastic/kibana/pull/172260 due
to errors related to ES API changes
https://github.com/elastic/elasticsearch/pull/102767

Errors originated in DIscover component and have been fixed in
https://github.com/elastic/kibana/pull/172220
2023-12-01 08:50:24 +00:00
Kibana Machine
a9465c7b83
[api-docs] 2023-12-01 Daily api_docs build (#172338)
Generated by
https://buildkite.com/elastic/kibana-api-docs-daily/builds/538
2023-12-01 00:57:27 -05:00
Mark Hopkin
43f13c7532
[Entity Analytics] Enable risk engine privileges callout + API (#172163) 2023-12-01 05:53:51 +00:00
Matthew Kime
d85ebc5c42
[discover ] Remove extra field list request (#168315)
## Summary

The data view picker reloads the field list when the data view is
changed. Discover also does this. It doesn't need to happen twice so
this removes the discover field list reload call.

Addresses https://github.com/elastic/kibana/issues/167221
2023-11-30 23:22:22 -06:00
Kibana Machine
a5cde4ae29 skip failing test suite (#172337) 2023-11-30 22:01:39 -05:00
Jon
6fceda6351
Revert "Update page for missing Short URL (#171679)" (#172334)
This reverts commit e6f3f06f82.

See
https://buildkite.com/elastic/kibana-artifacts-snapshot/builds/3610#018c22ec-6c1e-4b63-92de-58d63d688f94
2023-11-30 19:40:45 -06:00
Tim Sullivan
e6f3f06f82
Update page for missing Short URL (#171679)
## Summary

Closes https://github.com/elastic/kibana/issues/169935

### Screenshots
<details>
<summary>Before</summary>
<img width="1259" alt="image"
src="dbc91683-4088-48df-a402-1432615a2ff4">
</details>

<details>
<summary>After</summary>
<img width="1260" alt="image"
src="a1efabba-9402-4e97-935e-93656069c650">
</details>


### Testing

1. Create a simple dashboard
2. Use the Share > Short URL feature to create a short link to the
dashboard.
3. Copy the shortened URL link to the clipboard, create a browser
bookmark using the link.
4. Navigate to Saved Objects Management and delete the backing saved
object of the short link
5. Click the new bookmark to try to open the shortened URL
6. Land on this new page

### 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] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [x] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [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))
- [x] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-11-30 14:22:46 -07:00
christineweng
2e52943bc7
[Security Solution] Fix analyzer panel width (#172026)
## Summary

Fixes column not breaking correctly in analyzer. 3 places where this bug
occured: node details, event details and control panel. Event details
panel was fixed in [PR](https://github.com/elastic/kibana/pull/170329).
This PR covers the other two.


![image](e0bf64d2-06f9-42e9-b3fd-d26be1a1a48c)

After

![image](bb5b3061-6b3b-4701-acf5-cf8db292ef4e)

### Checklist

- [x] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)
2023-11-30 15:14:57 -06:00
Matthew Kime
2403bc8c88
[data views] Stored fields are always requested, we don't need logic around it (#171815)
## Summary

Stored field handling is basically a dead code path. `['*']` is always
sent so lets push this closer to the query.

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-11-30 14:29:12 -06:00
Davis McPhee
f98f282388
[ES|QL] Unskip remaining tests that no longer fail after #172220 (#172307)
## Summary

This PR unskips the remaining skipped tests that no longer fail after
the fix to ES|QL `time_zone` param in #172220.

Resolves #172247.
Resolves #172246.
Resolves #172248.

### Checklist

- [ ] 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)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [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
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] 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))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

### 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)
2023-11-30 15:56:58 -04:00
Lisa Cawley
462bb3a290
[Connectors][PagerDuty] Edit labels for optional fields and generate docs (#172123) 2023-11-30 12:20:21 -07:00
Kibana Machine
6910845901 skip failing test suite (#172304) 2023-11-30 14:00:27 -05:00
Jonathan Budzenski
042974fda8 Revert "[Security]Grouping steps/functional scripts (#172151)"
This reverts commit c96b63c5a2.
2023-11-30 12:57:26 -06:00
Yulia Čech
ee991020b4
[Index Management] Add templates tests for serverless (#171972)
## Summary

Fixes https://github.com/elastic/kibana/issues/170980
Fixes https://github.com/elastic/kibana/issues/171345

This PR fixes the failing api integration test for index templates, adds
a test for `simulate` route and adds missing tests for serverless.


### Checklist

Delete any items that are not applicable to this PR.

- [ ] 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)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [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
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] 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))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)


### Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to
identify risks that should be tested prior to the change/feature
release.

When forming the risk matrix, consider some of the following examples
and how they may potentially impact the change:

| Risk | Probability | Severity | Mitigation/Notes |

|---------------------------|-------------|----------|-------------------------|
| Multiple Spaces&mdash;unexpected behavior in non-default Kibana Space.
| Low | High | Integration tests will verify that all features are still
supported in non-default Kibana Space and when user switches between
spaces. |
| Multiple nodes&mdash;Elasticsearch polling might have race conditions
when multiple Kibana nodes are polling for the same tasks. | High | Low
| Tasks are idempotent, so executing them multiple times will not result
in logical error, but will degrade performance. To test for this case we
add plenty of unit tests around this logic and document manual testing
procedure. |
| Code should gracefully handle cases when feature X or plugin Y are
disabled. | Medium | High | Unit tests will verify that any feature flag
or plugin combination still results in our service operational. |
| [See more potential risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) |


### 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)
2023-11-30 11:39:43 -07:00
Kathleen DeRusso
1453b4d7ca
[Search] Reorganize ML pipeline card for indices pipeline view (#172209)
Reorganizes the ML Pipeline card on the Indices Pipelines view. 

Note: Displaying source fields within this card is out of scope of this
PR.

Before: 
<img width="506" alt="pipeline-card-before"
src="9b41e4c0-cb19-4bc8-b33a-31c85797b6e2">

After: 
<img width="517" alt="image"
src="2a15df6c-3564-4957-a847-cf1859c8bd65">

Example of multiple pipeline cards: 
<img width="520" alt="image"
src="ff6dfc1a-c45c-4bd3-b456-c633b3794175">

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-11-30 13:15:33 -05:00
Lola
af28af8635
Compliance dashboard UI and API (#171312)
## Summary

Summarize your PR. If it involves visual changes include a screenshot or
gif.

- Add benchmarks to Compliance Dashboard API.
- Add `score_by_benchmark_id` to the Benchmark Scores Index this will
show posture stats for each benchmark id
- Add  benchmark aggregation query using  benchmark id and version
- Add BWC API versioning 
- STATS API V1 should show clusters 
- STATS API V2 should show benchmarks 
- Add unit tests
- Added integration tests with API versioning test cases.


To test PR with API versioning, in Kibana client -
`x-pack/plugins/cloud_security_posture/public/common/api/use_stats_api.ts`
- Change version value to 1 to see clusters 
```
http.get<ComplianceDashboardData>(getStatsRoute(CSPM_POLICY_TEMPLATE), { version: '1' }),
```
- Change version value to 2 to see versions
```
http.get<ComplianceDashboardData>(getStatsRoute(CSPM_POLICY_TEMPLATE), { version: '2' })
```

<img width="1721" alt="image"
src="7fb53dec-c405-49e5-aa22-7788b4d1d5c0">

Uploading Untitled 2.mov…
2023-11-30 09:21:57 -08:00