Commit graph

68602 commits

Author SHA1 Message Date
Cee Chen
71e0e066c3
[Shared UX] Remove color="ghost" on EuiBottomBar children (#169307)
## Summary

👋 Hey y'all - EUI will shortly be deprecating the `ghost` color in all
button components (see
https://eui.elastic.co/v89.0.0/#/navigation/button#ghost-vs-dark-mode).

In this PR, all components using `color="ghost"` are being used within
an `EuiBottomBar` and as such already automatically inherit dark mode
coloring.

I'm opening this PR ahead of time for your team so you can test this
migration and ensure no UI regressions have occurred as a result.

### Checklist

- [x] Tested in light and dark mode
2023-10-25 14:39:22 -07:00
Kevin Logan
886203bdef
Add junit reports to Defend Workflows Serverless cypress tests (#169717)
## Summary

Add junit reports to Defend Workflows cypress tests. We had the reports
configured, but were missing a required change in the buildkite script

Here's an example test failure that I forced with an earlier commit to
show the reports being generated now:
https://buildkite.com/elastic/kibana-pull-request/builds/170777#018b66ec-013a-4430-ba98-26ab911ae653

Resolves: https://github.com/elastic/kibana/issues/169711

### 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-10-25 16:59:26 -04:00
James Rodewig
9caea77ee4
[DOCS] Deprecate rollups (#169670) 2023-10-25 16:51:49 -04:00
Jonathan Budzenski
a6efaf5221 skip failing test suite (#169875) 2023-10-25 15:25:06 -05:00
Paul Tavares
c75efd24bf
[Security Solution][Endpoint] New script to stand up a VM with SentinelOne and Elastic Agent (#169462)
## Summary

- New CLI script for standing up a Virtual Machine with SentinelOne
agent installed as well as Elastic Agent with SentinelOne integration
2023-10-25 15:49:22 -04:00
Ignacio Rivas
9d0c7d7df2
[ES UI Shared] Remove old ace based EuiCodeEditor (#169613) 2023-10-25 21:14:43 +02:00
Tiago Costa
c2d24724ad
skip flaky suite (#168509) 2023-10-25 20:09:55 +01:00
Tiago Costa
0a3c320534
skip flaky suite (#168508) 2023-10-25 20:09:37 +01:00
Tiago Costa
cb0bc971f4
skip flaky suite (#168507) 2023-10-25 20:09:18 +01:00
Tiago Costa
f5bf0541c5
skip flaky suite (#168506) 2023-10-25 20:08:02 +01:00
Tiago Costa
4a37b20143
skip flaky suite (#168505) 2023-10-25 20:05:50 +01:00
Tiago Costa
e7dbc9e79f
skip flaky suite (#142496) 2023-10-25 19:20:44 +01:00
christineweng
c68ecf8a28
[Security Solution]Expandable flyout - Replace rule sections with new components (#169029)
This PR updates rule preview panel in the document expandable flyout:

- Replaced rule details sections with the simplified components from
https://github.com/elastic/kibana/pull/166158
- Added `itemRenderer` to allow custom render of the description list
- Removed `isPanelView` props from the rule detail read only components.
It was added to accommodate the preview styling
(https://github.com/elastic/kibana/pull/163027)

**No UI change from this PR**

**How to test**
- Go to alerts page and generate some alerts
- Expand a row in the table, a flyout should appear
- Click `Show rule summary` to expand the rule preview panel
2023-10-25 13:02:33 -05:00
Tiago Costa
76bd0ef2fd
skip flaky suite (#169747) 2023-10-25 18:54:18 +01:00
Tiago Costa
389ff73614
skip flaky suite (#169828) 2023-10-25 18:53:00 +01:00
Tiago Costa
a0cf2b6e78
skip flaky suite (#169459) 2023-10-25 18:51:51 +01:00
Tiago Costa
d610e88a99
skip flaky suite (#169458) 2023-10-25 18:45:17 +01:00
Tiago Costa
820c7b9af6
skip flaky suite (#162545) 2023-10-25 18:44:05 +01:00
Tiago Costa
e0a120b80b
skip flaky suite (#169820) 2023-10-25 18:33:11 +01:00
jennypavlova
fbc1a49869
[infra UI] Fix: Processes tab is showing error when cpu is null (#169272)
Closes #168196 

## Summary

This PR handles the case when `process_list` API returns `null` value
for `cpu`.

## Investigation
I checked when that happened and my first assumption was that the API
would return null in case the process data is not fully available for
all processes (in case of restarting metricbeat for example) but I saw
some hosts also on `edge lite` that have null values (only for some
processes - not all of them). I tried the same query on the edge lite
and then I saw documents with the cpu value `null` and some processes
that have the cpu value available for the same timeframe:

![image](175e2b98-c95c-46f4-a619-a4ef680de58a)
I don't think it's related to certain processes or indices as it is
reproducible using different ones. This could be considered an edge case
but as mentioned in [the
comment](https://github.com/elastic/kibana/issues/168196#issuecomment-1752967009)
having the null values is likely to happen when using the auto-refresh
option.

## The fix
To fix the issue we agreed on handling the case when `null` cpu value is
present by showing a `N/A` with an explanation and a CPU chart
placeholder with the same explanation in the process list table instead
of throwing an error

| Before | After |
| ------ | ------ |
|
![image](fb70a69b-62fe-466a-93ae-3313c3b7ba5b)
|
![image](4fb6cf39-8840-4a78-886b-9293aba7b521)
![image](6a804fe8-a564-48e8-a00b-60d83457600d)
|

## Testing


- Go to infra -> Hosts -> open the hosts flyout and select the processes
tab:
- It can be tricky to reproduce the issue locally some options are:
- Remote cluster: In case egde **lite** cluster is used the host who I
find to have this issue is
[gke-edge-lite-oblt-edge-lite-oblt-poo-c1d12345-sbnt](https://edge-lite-oblt.kb.us-west2.gcp.elastic-cloud.com/app/metrics/hosts?waffleTime=(currentTime:1697469375748,isAutoReloading:!f)&_a=(dateRange:(from:now-2m,to:now-1m),filters:!(),limit:50,panelFilters:!(),query:(language:kuery,query:%27%27))&controlPanels=(cloud.provider:(explicitInput:(fieldName:cloud.provider,id:cloud.provider,title:%27Cloud%20Provider%27),grow:!f,order:1,type:optionsListControl,width:medium),host.os.name:(explicitInput:(fieldName:host.os.name,id:host.os.name,title:%27Operating%20System%27),grow:!f,order:0,type:optionsListControl,width:medium))&tableProperties=(detailsItemId:gke-edge-lite-oblt-edge-lite-oblt-poo-c1d12345-sbnt-Ubuntu,pagination:(pageIndex:0,pageSize:20),sorting:(direction:asc,field:name))&assetDetails=(dateRange:(from:%272023-10-17T09:18:11.097Z%27,to:%272023-10-17T09:19:11.097Z%27),name:gke-edge-lite-oblt-edge-lite-oblt-poo-c1d12345-sbnt,tabId:processes)&waffleFilter=(expression:%27%27,kind:kuery)&waffleOptions=(accountId:%27%27,autoBounds:!t,boundsOverride:(max:1,min:0),customMetrics:!(),customOptions:!(),groupBy:!(),legend:(palette:cool,reverseColors:!f,steps:10),metric:(type:cpu),nodeType:host,region:%27%27,sort:(by:name,direction:desc),source:url,timelineOpen:!f,view:map))
- Metricbeat: It can be reproduced by stoping metricbeat for around a
minute then stating it again and refreshing the interval to `now` until
data with `null` CPU values are displayed.
- Look at the processes and find a process with `N/A` value in the CPU
column (A tooltip should appear after clicking on the question mark icon
next to `N/A`) and extend the process:

![image](4fb6cf39-8840-4a78-886b-9293aba7b521)
- The same tooltip should appear after clicking on the question mark
icon next to the "No results found" placeholder:

![image](6a804fe8-a564-48e8-a00b-60d83457600d)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-10-25 10:28:11 -07:00
Zacqary Adam Xeper
3a5d6cc92b
[RAM] Reset rule settings modal on cancel (#169720)
## Summary

Fixes #169296 

- Resets the rule settings modal when the user clicks Cancel, but caches
the initial pull from the server so that a second request isn't
necessary on reopen
- Updates this cache on save so that the reset on modal close remains
accurate


### 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-10-25 12:12:06 -05:00
christineweng
8500600393
[Security Solution] Add version header to alert table actions (#169731)
## Summary

Some add to timeline actions are missing version header when sending
requests. This is preventing user from adding alerts (of the rule types
below) to timeline - clicking `investigate in timeline` will throw a
`failed to create ... timeline` error. This PR adds version header to
api calls related to:

1. alert suppression
2. threshold rule
3. new term rule

### 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-10-25 11:48:36 -05:00
Konrad Szwarc
abcab94762
[EDR Workflows] Unskip CY tests (#168457)
Unskipped tests:
1. `endpoint_alerts.cy.ts`
2. `response_console_mocked_data.cy.ts` -
https://github.com/elastic/security-team/issues/7763
3. `no_license.cy.ts` -
https://github.com/elastic/security-team/issues/7763
4. `endpoints.cy.ts`


Changes:
1. Introduced interval for `cy.waitUntill` calls, I've noticed locally
that running these request without throttling can cause API issues
2. Increased timeout for CI `burn` jobs - with this PR as an example,
when burning 3 test suites one hour might not be enough at this point.
We should think about splitting these.

---------

Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
2023-10-25 09:28:17 -07:00
Sergi Massaneda
c40c2e6f59
[Security Solution] Enable shared-ux nav (#169499)
## Summary

Makes the shared-ux navigation the default side navigation component for
Security projects.

The old Security navigation component and the experimental flag will be
removed altogether in a separate PR.

There is no visual difference from the previous navigation:


![snapshot](2896e8de-45eb-412f-b319-e919e65a0ae7)

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-10-25 09:20:04 -07:00
Walter Rafelsberger
5c578a06b3
[ML] AIOps: Improve flushFix for Log Rate Analysis (#165069)
Improves the `flushFix` behaviour for Log Rate Analysis. Previously the
setting would add a 4KB size additional dummy payload to each object
returned as ndjson. For the dataset used for testing this, this would
result in an overall response payload of ˜900Kbytes. For comparison,
without `flushFix` the response size would be ˜40Kbytes in this case.
This PR changes the behaviour to only send a dummy payload every 500ms
if the real data sent in the last 500ms wasn't bigger than 4Kbytes.
Depending on the speed of the response, this can bring down the overall
response payload to ˜300Kbytes (Cloud uncached), ˜150Kbytes (Cloud
cached) or even ˜70Kbytes (local cluster) for the same dataset.
2023-10-25 18:09:08 +02:00
Coen Warmer
8938a5778a
Handle array values in i18nrc (#169637) 2023-10-25 18:04:02 +02:00
Gerard Soldevila
310ae23378
Add smart logic to log information about plugin status changes (#168207)
## Summary

New attempt at fixing https://github.com/elastic/kibana/issues/116718
Inspired on https://github.com/elastic/kibana/pull/126320

Here's what the newly logged `[status]` information looks like on a
fresh startup:
<img width="1834" alt="image"
src="d78d7f88-139f-4daf-9dc0-c4e6724ea412">

The first 2 entries are logs from Core services 🆕 .
The next 5 entries are emitted due to `taskManager` plugin emitting a
degraded status right at startup.
I have created an issue to tackle that one:
https://github.com/elastic/kibana/issues/168237

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-10-25 17:19:24 +02:00
Cee Chen
551e4f0552
[osquery] Remove unnecessary ghost colors from EuiBottomBar (#169309)
## Summary

👋 Hey y'all - EUI will shortly be deprecating the `ghost` color in all
button components (see
https://eui.elastic.co/v89.0.0/#/navigation/button#ghost-vs-dark-mode).

In this PR, all components using `color="ghost"` are being used within
an `EuiBottomBar` and as such already automatically inherit dark mode
coloring.

I'm opening this PR ahead of time for your team so you can test this
migration and ensure no UI regressions have occurred as a result.

### Checklist

- [x] Tested in light and dark mode
2023-10-25 08:12:32 -07:00
Melissa Alvarez
7e97dd90e7
[ML][AIOps] Telemetry: Track change point detection runs (#169158)
## Summary

This PR adds UI tracking for Change Point Detection for AIOps.

- tracks type of analysis and source (where the analysis is being run
from)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Quynh Nguyen (Quinn) <43350163+qn895@users.noreply.github.com>
2023-10-25 08:34:06 -06:00
Dzmitry Lemechko
13d1792544
[ftr] read username from config (#169755)
## Summary

Similar to #169639

The tests fail on MKI because username is hardcoded to
`elastic_serverless`. Reading value from FTR config should fix it.
2023-10-25 07:01:46 -07:00
amyjtechwriter
0993ce4db9
[DOCS] 8.11.0 release notes targeting elastic:main (#169819)
## Summary

Adds the release notes for 8.11.0, and incorporates the feedback from
the original draft [PR](https://github.com/elastic/kibana/pull/168593).
The merged in [PR](https://github.com/elastic/kibana/pull/168710)
targeted the wrong branch, so no release notes are visible for 8.11.0.
2023-10-25 14:50:27 +01:00
Philippe Oberti
70dff2ac3e
[Security Solution] remove code related to alert details page (#169172) 2023-10-25 08:35:19 -05:00
Mark Hopkin
4461f5b95a
[Fleet] Fix flaky output secrets test (#169792)
## Summary

Closes #169744

Replaced the search calls with get by ID calls to prevent refresh race
condition
2023-10-25 06:33:28 -07:00
Saarika Bhasi
fe22ff0e41
[Search experience] Fix links is WS gated form (#169699)
## Summary

1. Updates Workplace search gated form links: 
- Blogs url -
https://www.elastic.co/blog/evolution-workplace-search-private-data-elasticsearch
- Terms of service -
https://www.elastic.co/legal/elastic-cloud-account-terms
- Contact you-
https://www.elastic.co/legal/privacy-statement#how-we-use-the-information
- Privacy statement - https://www.elastic.co/legal/privacy-statement/
2. Assign respective variable in docs for the urls

## Screen recording


941ac635-7caa-4a60-905b-45b3610ed9fa
2023-10-25 08:58:15 -04:00
Anton Dosov
f378b87cad
[Serverless] Improve fleet and integrations serverless breadcrumbs (#169772)
## Summary

This fixes deeper context breadcrumbs in serverless navigation for fleet
and integration apps.
This builds on top of https://github.com/elastic/kibana/pull/169513
where we added merging of navigational project breadcrumbs with deeper
context breadcrumbs set by `chrome.setBreadcrumbs`. The merging is based
on `deepLinkId`, so we're adding it to base breadcrumbs. The
`deepLinkId` is type checked.


Example Before/After: 

Before:

![Screenshot 2023-10-25 at 12 05
33](4a6a0bab-1cef-4b24-8349-246b9612563e)

![Screenshot 2023-10-25 at 12 05
37](63435c3c-1397-4b41-8d46-3d0e9bd32515)


After:
![Screenshot 2023-10-25 at 12 06
10](a7519fdd-b21a-40e7-a774-d867bb4e79ec)

![Screenshot 2023-10-25 at 12 06
14](1e99e005-1317-4c62-af1e-c445c9038fc4)
2023-10-25 14:43:20 +02:00
Konrad Szwarc
1fdcb41f29
[EDR Workflows][E2E] Recreate agent on createEndpointHost task fail (#169092)
Restart vagrant vm on error during `beforeAll` task `createEndpointHost`

Defend Workflows Cypress suite ran 300 times through flaky test runner:
1. 100x
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3699
2. 50x
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3707
3. 50x
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3708
4. 50x
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3709
5. 50x
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3710


Flaky test runner runs with `createEndpointHost` task failure with
successful recovery:
1.
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3710#018b62fd-9ae9-4988-b1e0-ab0f04d8efdc
2.
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3710#018b62fd-9ae6-4340-992b-1474ee0f114b
3.
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3708#018b62fd-578e-4817-ae1c-8c58e8774eec
4.
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3708#018b62fd-5787-4245-85a6-cb446e42bc73
5.
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3707#018b62fc-fc17-407e-88de-d0b43b6b1d44
(failed due to unrelated issue)
6.
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3699#018b61d9-d2c3-430c-b3e3-72b9fbb22d24
7.
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3699#018b61d9-d2c6-4315-b828-b3218a70f209
8.
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3699#018b61d9-d2c7-4ff7-9a70-7354f90179e0
9.
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3699#018b61d9-d2d7-418f-b043-049e5effb26f
10.
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3699#018b61d9-d2da-47cc-b4ea-a4d4de3ba0a0

New errors not spotted before that got to do with env set up:

1. `vagrant up` failed:
1.1
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3708#018b62fd-5787-4245-85a6-cb446e42bc73
1.2
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3699#018b61d9-d2d0-4a52-87d9-34caa8927465

2. `CypressError: `cy.task('indexFleetEndpointPolicy')` timed out after
waiting `60000ms`.:
2.1
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3707#018b62fc-fc04-40d4-b155-46f094681edb
2.2
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3699#018b61d9-d2c9-4ebb-9174-eb9d79d04d02
2.3
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3699#018b61d9-d2dc-438f-94b0-9f94ae95701c
    

Closes:
https://github.com/elastic/kibana/issues/168284
https://github.com/elastic/kibana/issues/169343
https://github.com/elastic/kibana/issues/169468
https://github.com/elastic/kibana/issues/169469
https://github.com/elastic/kibana/issues/169467
https://github.com/elastic/kibana/issues/169465
https://github.com/elastic/kibana/issues/169466
https://github.com/elastic/kibana/issues/169157
https://github.com/elastic/kibana/issues/168719
https://github.com/elastic/kibana/issues/168427
https://github.com/elastic/kibana/issues/168359
https://github.com/elastic/kibana/issues/168340
https://github.com/elastic/kibana/issues/169689

---------

Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
2023-10-25 05:13:41 -07:00
Efe Gürkan YALAMAN
980162b0b0
[Enterprise Search]Disable syncs for native connectors when EnterpriseSearch is down (#169671)
## Summary

Disable syncs when Enterprise Search is down for native connectors.

<img width="1227" alt="Screenshot 2023-10-24 at 17 15 00"
src="d1bca68a-a746-4ee3-9dbd-a79ab1cac205">
<img width="1546" alt="Screenshot 2023-10-24 at 17 15 07"
src="48aea67f-d857-4bd8-bbfc-c1fd35eac7a9">
<img width="1235" alt="Screenshot 2023-10-24 at 17 15 32"
src="7e45c0cd-2551-4cca-a040-84ab959c81ac">
<img width="1244" alt="Screenshot 2023-10-24 at 17 15 20"
src="bceb8792-5a4f-487b-a8f1-0d6758473e49">


### 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)
- [ ]
[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
- [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-10-25 05:02:28 -07:00
Mark Hopkin
eaddc54f6c
[Fleet] Output secrets UI (#169429)
## Summary

Continuation of #169221. Part of
https://github.com/elastic/kibana/issues/157458

_Note: The experimental feature flag `outputSecretsStorage` must be
enabled to see these changes._

Introduces the UI components to create and edit output secrets,
currently there are only 3 output secrets:

- Kafka output password
- Kafka output SSL key
- Logstash output SSL key

Some key behaviours of the new UI:

- on creating an output, the user can opt to revert to using plain text
values if they want
- once an output has been created with a secret, when editing the
output, the secret values can only be replaced, never viewed
- If an output uses plain values, there currently isn't a way to convert
to using secrets.

**Create**
<img width="1639" alt="Screenshot 2023-10-24 at 14 48 49"
src="4f1d6715-70bb-4a91-a619-78cbc37106d7">


**Edit**



d8d44911-81d3-4a06-a0ff-ece981a36496

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-10-25 04:53:51 -07:00
Rudolf Meijering
560006f444
Reindexing into a new index might convince ES it cannot complete in 0s (#169650)
## Summary

Fixes https://github.com/elastic/kibana/issues/166190 🤞 

We were reusing an existing index as the reindex target. Maybe if we
force ES to create a new index it would take a bit more time and stop
the flakiness.


### 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-10-25 13:08:13 +02:00
James Gowdy
aff871a84a
[ML] Always sync before serverless trained model tests (#169658)
Ensuring saved objects are synced before running the tests for the
trained models. This should fix the occasional test failure where the
build in `lang_ident_model_1` is missing from the list due to a sync
being needed.
 
Flaky test runner, all have passed.
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3703
2023-10-25 11:45:28 +01:00
Thomas Watson
9505fa9754
[Ops] create-deploy-tag workflow: Add link to deployed commits overview (#169496) 2023-10-25 12:34:47 +02:00
Antonio
31accd60a0
[Cases] Change the error message for missing required custom fields. (#169758)
## Summary

Updated the error message when the user tried to update a case with
missing required custom fields.

<details><summary>Before</summary><img width="606" alt="Screenshot
2023-10-24 at 14 42 18"
src="999272cb-b558-4b89-a100-6c5a80ec714c"></details>

<details><summary>After</summary>
<img width="393" alt="Screenshot 2023-10-25 at 10 38 14"
src="ea10b349-03cd-4ed3-bc52-7d1feb82abac"></details>
2023-10-25 12:33:50 +02:00
Cauê Marcondes
1d66dcad4c
[Profiling] Self-managed set up (#168488)
Profiling running in a self-managed environment:
<img width="1586" alt="Screenshot 2023-10-12 at 13 47 30"
src="a1c3adfa-4fa9-46c7-b249-5555d4634a40">
<img width="1583" alt="Screenshot 2023-10-12 at 13 47 42"
src="f094becd-d33f-4da4-bbb1-8de8b61bff05">

---------

Co-authored-by: Francesco Gualazzi <inge4pres@users.noreply.github.com>
2023-10-25 03:19:07 -07:00
Vadim Kibana
9a9a51b454
Remove unused sharedux avatar components (#168686)
## Summary

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

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-10-25 03:07:55 -07:00
Miriam
6f334cd510
[ObsUX] Change link from instances table of java agent to open new Metrics pa… (#169672)
Closes https://github.com/elastic/kibana/issues/169085

BEFORE


da089db4-9164-4eb6-8542-03ec8233cea6

AFTER


544ed491-1b69-4fa7-8053-0f711d9ecdb2
2023-10-25 11:03:02 +01:00
Ignacio Rivas
bccfaafa7c
[Snapshot Restore] Remove duped version in snapshot details flyout (#169615) 2023-10-25 12:00:57 +02:00
Sergi Massaneda
d06b98b880
[Security Solution] Management landing cards added (#169625)
## Summary

issue: https://github.com/elastic/kibana/issues/167453

Adds the Security-specific project cards to the Management cards landing
page:

- Entity Risk Score
- Maps
- Visualize library


### Screenshot
<img width="1353" alt="management_cards"
src="11811d93-d14f-41a4-8f7c-d5e7fc41aca7">

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-10-25 02:59:43 -07:00
Anton Dosov
ce9a765d8e
Improve ML serverless breadcrumbs for oblt and security (#169513)
## Summary

close https://github.com/elastic/kibana/issues/167337

It introduces a new way to automatically set the deeper context
breadcrumbs in serverless navigation. Instead of using the
`serverless.setBreadcrumbs` for setting deeper context breadcrumbs in
serverless, the project navigation service merges navigational
breadcrumbs with regular chrome's breadcrumbs by deepLinkId
2023-10-25 11:42:45 +02:00
Walter Rafelsberger
443cf43442
[ML] Transforms: Serverless functional tests for transform list. (#169612)
Adds basic functional tests for serverless for the transform list. Since
transforms are available in all project types, this adds the tests to
`common` so they are run in all three project types.

- Navigates to the empty transform list and asserts the page.
- Checks `transform` is available as a search feature.
2023-10-25 11:36:26 +02:00
Maxim Palenov
906987c286
[Security Solituon] Unskip search bar Serverless Cypress tests (#169347)
**Addreses:** https://github.com/elastic/kibana/issues/161540

## Summary

This PR unskips `search_bar.cy.ts` Serverless Cypress tests.

## Details

Besides just unskipping `search_bar.cy.ts` this PR also makes sure the test isn't flaky by making `operator` required in `fillAddFilterForm()`. It turned out the test works only if the Cypress window is in focus when an operator isn't set. Such behavior can lead to test flakiness in CI. This way choosing an operator via keyboard is a safer option.

## Flaky test runner

`search_bar.cy.ts` [150 runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3614)
2023-10-25 11:24:32 +02:00