Commit graph

86753 commits

Author SHA1 Message Date
Brad White
d0fd87e6c5
[Build] Parallel artifact builds (#217929)
## Summary

Closes #218143
Reverts #39292

This PR parallelizes the artifact outputs and archive creation tasks to
reduce build runtime by about 49% (104min down to 53min). It required
buffering the logs as they were all interweaved from each task and were
not easily parsed by a human. So, the PR also cleans up the logging a
little bit by utilizing the dropdowns available in Buildkite.


### Testing
https://buildkite.com/elastic/kibana-artifacts-snapshot/builds/6253

I also tried bumping the machine to `c2-standard-30` which increases
vCPU from 16 to 30 and Memory from 64GB to 120GB:
https://buildkite.com/elastic/kibana-artifacts-snapshot/builds/6254

This results in a 13% reduction in run time for the parallel builds but
is about twice the cost, which isn't worth it.
2025-06-03 03:49:02 +03:00
Brad White
3a879d46fb
[Scout] Run if Streams changes match (#222126)
## Summary

Streams Scout tests were not running when they should be. See
https://elastic.slack.com/archives/C5UDAFZQU/p1748638204357009
2025-06-03 03:41:10 +03:00
Tiago Costa
e79097290b
skip flaky suite (#216570) 2025-06-03 01:24:06 +01:00
Tiago Costa
5565043213
skip flaky suite (#221933) 2025-06-03 01:22:33 +01:00
christineweng
7141bdafc4
[Security Solution] Update highlighted fields button and enable feature flag (#221862)
## Summary

Updated button styling and enabled feature flag

Before


![image](https://github.com/user-attachments/assets/8ac30927-8227-47f9-af2d-25f572855104)



After


![image](https://github.com/user-attachments/assets/ca0334b1-6d5f-4584-9f26-53f76ace7616)

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [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/src/platform/packages/shared/kbn-i18n/README.md)
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
2025-06-03 02:13:24 +03:00
Kibana Machine
9d7de76469 skip failing test suite (#222247) 2025-06-03 00:42:54 +02:00
Joe Reuter
03f7112374
🌊 Streams: Test migration properly and refactor migration on read (#221533)
This PR moves the migration-on-read logic into the storage adapter so
it's not possible to accidentally read unmigrated `_source` objects and
adds tests for this for asset links (dashboards and queries). While
there is no migration on read currently ongoing for dashboards and
queries, this test will highlight problems in this area, avoiding an
issue like the one we had with streams definitions themselves.
2025-06-03 01:12:26 +03:00
Philippe Oberti
ab6b2e85e4
[Security Solution] remove sessionview as overlay (#220596)
## Summary

This PR is a follow up of [this previous
one](https://github.com/elastic/kibana/pull/220590) that removed the
advanced setting allowing users to switch between the Session View
component rendered in the expandable flyout and as an overlay to the
alerts table.

This PR focuses on removing all code related to the Session View
component when displayed as an overlay of the Alerts page alerts table
and in Timeline.

**_As the previous PR had removed the ability to switch back to this
overlay mode, this PR does not introduces any visible changes in the UI.
If anything looks different or behaves differently, then there is an
issue and this PR should not be merged._**


Session View in expandable flyout remains unchanged:


https://github.com/user-attachments/assets/54107185-ff9b-4090-ac0d-7c4f3f1a421f

### 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
2025-06-02 16:46:18 -05:00
christineweng
e4e5158aab
[Security Solution] Fix banner title in event preview (#222266)
## Summary

Ref: https://github.com/elastic/kibana/issues/222265

This PR fixes a bug in the event preview banner. Before the fix, upon
navigating to a different tab, the banner text changes to `Preview alert
details`.


![image](https://github.com/user-attachments/assets/e3afc33a-703d-4ec3-92df-8157b3c102cd)


### 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/src/platform/packages/shared/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
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
2025-06-03 00:38:56 +03:00
Kris Gross
73087dddc1
Security quality gate error to warn proxy message (#221706)
When reviewing failed build stages for their feature team, developers
often react to the earliest error(s) in the UI and presume it's causing
the failure. In the case of the project initialization errors before
tests execute, this is actually misleading. Here is the current example:


![init_error](https://github.com/user-attachments/assets/b75e1621-04fc-4878-b2d5-aee3e563a7f0)

This PR proposes to change the log entry from an error to a warning, so
as to reduce the likelihood of confusion. Here is the new formatting:


![init_warning](https://github.com/user-attachments/assets/e48e46c8-4581-4a0e-8e7c-706f5e94c4eb)
2025-06-02 17:12:36 -04:00
Paul Tavares
69930892ff
[Security Solution][Endpoint] Update creation of datastreams backing DOT indexes to support spaces (#222070)
## Summary

### Fleet changes

- Update type of `packagePolicy.listIds()`


### Security Solution

- The logic that is triggered on plugin start as well as when fleet
policies (integration + agent) are updated and ensures that internal DOT
indices associated with endpoint data streams are created was updated to
ensure it supports spaces


### 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
2025-06-02 23:25:56 +03:00
christineweng
8066cd7b0f
[Security Solution] Update data view manager code owner (#222123)
## Summary

Add investigations as code owner for data view manager folder
2025-06-02 23:07:20 +03:00
Jared Burgett
fd00c314b5
Small update to Security Entity Risk Scoring text for clarity (#222116)
# Summary

Clarified in the Entity Analytics dashboard that Entity Risk scoring is
for entity types other than just "users"

# How to test

Open the Entity Analytics dashboard, click "Enable", and notice that the
text is updated.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-06-02 22:48:13 +03:00
Devon Thomson
e6c246f799
[Dashboard] Add panels manager test (#221969)
Adds simple jest tests to ensure that the Dashboard panels manager always serializes the last known panel state
2025-06-02 15:39:09 -04:00
Philippe Oberti
9b4f96731b
[Security Solution] move detection_engine files out of the detections folder (#221867)
## Summary

This PR is only moving files and update file paths. No code changes are
implemented whatsoever.
The PR focuses on moving a bunch of folders and files that lived under
the `detections` folder but were actually only used within the
`detection_engine` folder.
- if the files/folders were used within a single `detection_engine`
folder (like for example `rule_actions_overflow` is only used within
`rule_details_ui`) then things were moved closest to where it was used)
- if the files/folders were used within multiple `detection_engine`
folders, then things were moved into a `components` folder under the
existing `common` folder at the root of `detection_engine`

**_If there are any folders or files that you feel should live in a
specific folder, let me know. I'm happy to move things around some
more!_**

### 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
2025-06-02 14:08:18 -05:00
Nastasha Solomon
dbe3a5d769
[Docs][9.0.x] Add known issue about maintenance windows (#222097)
## Summary

Contributes to https://github.com/elastic/response-ops-team/issues/320
by updating the Kibana 9.0.2 and 9.1.0 release notes to include a known
issue about maintenance windows.

**Corresponding PRs**
- Kibana 8.18.x known issues:
https://github.com/elastic/kibana/pull/222096

## Preview
- [Known
issues](https://docs-v3-preview.elastic.dev/elastic/kibana/pull/222097/release-notes/known-issues)

---------

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2025-06-02 14:38:04 -04:00
Nicholas Peretti
b00bb6c85d
[Security Solution] Fix field translation (#222091)
Fixes [153254](https://github.com/elastic/kibana/issues/153254).

Add human-readable translation key to the "alerts by rule" chart.
2025-06-02 21:23:34 +03:00
elastic-renovate-prod[bot]
3ea8a16ae1
Update dependency @launchdarkly/node-server-sdk to ^9.9.2 (main) (#221824)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[@launchdarkly/node-server-sdk](https://redirect.github.com/launchdarkly/js-core/tree/main/packages/sdk/server-node)
([source](https://redirect.github.com/launchdarkly/js-core)) |
dependencies | patch | [`^9.9.1` ->
`^9.9.2`](https://renovatebot.com/diffs/npm/@launchdarkly%2fnode-server-sdk/9.9.1/9.9.2)
|

---

### 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 [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

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

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
2025-06-02 21:03:34 +03:00
Nick Partridge
15e60c1f9c
[Security] Fix styled-components theming (#222099)
## Summary

This fixes an issue caused by changes in #220141, specifically
[here](https://github.com/elastic/kibana/pull/220141/files#diff-e5bb3127661b2bd4a13f88f8793ee5e7cfdabe3a6deb5332064d28f7363eeb13L49-L51),
which prevented the style components from receiving the correct
`colorMode`. Similar issue fixed in #221979.

In short we cannot call `useKibanaIsDarkMode` outside of the global
theme provider. This usage of the `useDarkMode` utility is needed in
this one case, hopefully soon to be removed with styled-components.
2025-06-02 20:38:26 +03:00
Tim Sullivan
450b233eb9
Remove clickable invisible item in Serverless Observability side nav (#221711)
## Summary

Close https://github.com/elastic/kibana/issues/219601

An invisible item appeared in the side nav for Serverless Observability
(within the "Infrastructure" secondary panel). I tracked it down to the
inclusion of a `'metrics:assetDetails'` deepLink.

Removing the deepLink solves the problem, however I'm unsure if
including the deepLink is the correct configuration of the code. If it
is, then the `'metrics:assetDetails'` deepLink definition needs to be
adjusted. I'm unsure where that definition lives in the codebase.

### Identify risks

- [x] Need someone from Observability UX Mgmt to double-check the
requirements.
2025-06-02 19:29:00 +03:00
Nikita Indik
8fc54d5d73
[Security Solution] Fix DW related failures in MKI pipeline (#222181)
**Follow-up to: https://github.com/elastic/kibana/pull/221615**

## Summary
This PR fixes the following error in MKI pipelines ([example
pipeline](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-defend-workflows/builds/2835#01972415-5489-4236-a3ee-6176a89600d1)).

```
CypressError: `cy.then()` failed because you are mixing up async and sync code.
```

## Fix
- MKI pipeline for Defend Workflows:
[passed](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-defend-workflows/builds/2848)

## Cause
A recent [PR](https://github.com/elastic/kibana/pull/221615/files) added
a cookie count assertion into the `login` function used by Defend
Workflows.

```js
cy.task('getSessionCookie', user)
  .then(
    // ...
  )
  .then(() => {
    cy.getCookies().then((cookies) => {
      const sessionCookies = cookies.filter((cookie) => cookie.name === 'sid');
      expect(sessionCookies).to.have.length(1);
    });

    return { username, password };
  });
```

It turned out Cypress doesn't allow having a sync return in a `then`
that also does async actions.
2025-06-02 19:07:51 +03:00
Eyo O. Eyo
a887cd687b
Separate export menu from share (#217109)
## Summary

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

This PR extracts the share export functionality into a standalone
triggered UI action, and builds mostly off of the work that's been done
in https://github.com/elastic/kibana/pull/211665 as such any share
integration type that's registered under the groupId `export` will show
up within the afore mentioned standalone export type.

Registering a new export type would happen like so; 

```js
share.registerShareIntegration({
	groupId: 'export',
	...
	config: () => ({
		...
	}),
	prerequisiteCheck({ license, capabilities, objectType }) {
		// The prerequisiteCheck callback will get passed the license, app capabilities and the objectType
		// of the current caller, this can then be used to determine if this integration should be available,
		// returning false in here disables the integration, 
	}
})
```

*P.S.* This registration can also be scoped to a particular object type
(i.e. lens, dashboard etc.) if said integration is intended to only be
available for only a particular object type.


## Visuals for new export experience

#### _visualize_

##### (_lens_)
<img width="768" alt="Screenshot 2025-04-24 at 10 53 25"
src="https://github.com/user-attachments/assets/31966ded-b1f7-417e-840e-4596b310d6bc"
/>

#####  (_others_)
<img width="1720" alt="Screenshot 2025-04-25 at 09 04 50"
src="https://github.com/user-attachments/assets/8b675974-9a4b-4dcc-9aca-77cea5a25654"
/>


#### _dashboard_
##### _(user with all reporting permissions)_
<img width="640" alt="Screenshot 2025-04-24 at 10 53 40"
src="https://github.com/user-attachments/assets/d16da148-3c25-4a58-a847-d4d5a3736106"
/>

##### _(user with no pdf, png, csv privileges doesn't have the export
button visible)_
<img width="1728" alt="Screenshot 2025-05-02 at 13 11 21"
src="https://github.com/user-attachments/assets/e47426fb-db5b-4c2a-bee5-557fefbb40ec"
/>

#### _discover_
<img width="626" alt="Screenshot 2025-04-04 at 20 18 50"
src="https://github.com/user-attachments/assets/f4bdd2a3-2527-4334-b253-7686e4131d87"
/>
<img width="1728" alt="Screenshot 2025-05-02 at 13 11 43"
src="https://github.com/user-attachments/assets/9a6e7fa2-260d-4b68-a1ae-61c499849fb8"
/>


### Test scenarios

- Pull this PR and run it locally, or test in the provision environment
linked to this PR.
- Navigate to the dashboard, discover, and visualize app. The nav menu
should display icon buttons for sharing and export.
- Clicking the "Share" icon (up arrow) opens the familiar share modal
without export. The "Export" icon (down arrow) opens a new popover with
available options.
- Export Functionality Test;
- Single Export Option: When there's only one export option, the flyout
opens automatically.
- Disabled Reporting Features: Create a new role with reporting
subPrivileges and test it by creating a user assigned to that role. Log
in as the user, and the export popover should reflect the limited
reporting features.
- In the case where the current user has no registered integrations
available to them, the export functionality will not be displayed


<!--
### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [ ] 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/src/platform/packages/shared/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
- [ ] 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 was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- [ ] ...

-->

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-06-02 17:54:38 +02:00
Sebastian Delle Donne
db763477d9
[ES|QL] COMPLETION command parsing support (#221609)
Partially addresses https://github.com/elastic/kibana/issues/218052

Adds parsing support for `COMPLETION` command.
Add support for completion API.

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
2025-06-02 18:30:35 +03:00
Robert Jaszczurek
1e7d418b35
[ML] AIOps: Enhance No Results state for Change Point Detection (#219072)
This PR introduces new 'empty' states for Change Point Detection page
and embeddable.
Previously, if no change point was found, we displayed an Empty State
screen. Now, we plot a sample metric instead. For partitioned fields, we
select the first partition value and plot a metric for it. If there is
no data to plot for the selected time range, this PR introduces a new
empty state screen.

Note: Warnings in the embeddable will be displayed in the bottom-left
corner, similar to how Lens embeddable warnings are shown. Currently, we
are waiting for the ability to push custom errors to the lens embeddable
- see https://github.com/elastic/kibana/issues/220208

* Embeddable (charts): No change point found, with a reason
<img width="966" alt="image"
src="https://github.com/user-attachments/assets/88d4f920-6739-4af7-9903-1fb210dfa089"
/>

* Embeddable (charts): No change point found, without a reason
<img width="991" alt="image"
src="https://github.com/user-attachments/assets/6bef28e0-19f3-46f5-af63-e31b4e77d575"
/>

* Embeddable (table): No change point found, with a reason
<img width="883" alt="image"
src="https://github.com/user-attachments/assets/628ba7fb-000c-45c3-9f23-2fd0535e5106"
/>


* Embeddable (table): No change point found, without a reason
<img width="983" alt="image"
src="https://github.com/user-attachments/assets/567c6127-267f-47a0-b280-52fb00c6c749"
/>

* Change Point Page: No change point found, with a reason
<img width="1217" alt="image"
src="https://github.com/user-attachments/assets/ab2fbeef-e4f6-4fa9-8cbe-c44abe0357b4"
/>

* Change Point Page: No change point found, without a reason
<img width="1225" alt="image"
src="https://github.com/user-attachments/assets/c16dd55a-37eb-45c2-a3eb-51ea9744e0d7"
/>


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

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-06-02 17:09:46 +02:00
Kevin Lacabane
d15643b743
[streams] inherited fields api test (#222080)
## Summary

- API test that verifies whether fields are correctly inherited
- update an assertion that fails on Cloud because a cluster may have
existing streams in place
2025-06-02 17:03:32 +02:00
Joe Reuter
c956b308d8
🌊 Streams: Improve state update for .kibana_streams (#221510)
The handling of `.kibana_streams` documents in the execution plan wasn't
optimal because it would update the definition docs of ancestors and
descendants of all changed streams as well, even if no change actually
happened.

This PR fixes this problem by checking whether a stream got actually
changed or not.

It also switches the bulk operation for changed definitions from the
implicit `"wait_for"` refresh param to `true`. Since concurrent access
is anyways not supported by the streams API (there are plans to
introduce an explicit lock), this won't change make things less
efficient in practice but return the request faster to the user.
2025-06-02 17:42:10 +03:00
Yngrid Coello
382b7913c7
[Dataset quality] unskipping tests (#222180)
Closes https://github.com/elastic/kibana/issues/213289.

The test were already unskipped when merging failure store, we just
missed removing the comment
2025-06-02 17:19:10 +03:00
Maxim Palenov
d853886250
[Security Solution] Fix MKI tests for prebuilt rules (#222170)
**Relates to:** https://github.com/elastic/kibana/pull/219831

## Summary

This PR fixes MKI tests configuration for prebuilt rules after performing refactoring in https://github.com/elastic/kibana/pull/219831. Since shorthand script in `x-pack/test/security_solution_api_integration/package.json` are used only for running MKI tests and local development it didn't cause PR pipeline failures and became prominent after running MKI tests. 

## Pipelines

[Kibana / Serverless / Security Solution Quality Gate / Rule Management](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management) pipeline was manually ran against this PR.

-   [Periodic pipeline](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management/builds/2786)
-   [Quality gate pipeline](https://buildkite.com/elastic/kibana-serverless-security-solution-quality-gate-rule-management/builds/2786)
2025-06-02 17:16:42 +03:00
Sebastian Delle Donne
515bda32e1
[ES|QL] fix: hide rrf command (#222201)
## Summary
`RRF` command should be hidden for now.
2025-06-02 17:15:01 +03:00
Kibana Machine
7abb0d7c6e skip failing test suite (#222182) 2025-06-02 16:03:30 +02:00
Efe Gürkan YALAMAN
732379bd32
[Query Rules]Query rule flyout metadata editor (#220760)
## Summary

Adds a metadata editor to Query Rule Flyout. Document selector and
validations are going to be added as a followup PR.



https://github.com/user-attachments/assets/dcbb790a-855b-4ae1-bdca-206ce948c624




### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [ ] 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/src/platform/packages/shared/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
- [ ] 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 was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-06-02 15:28:16 +02:00
Sergi Romeu
5bd0911a2b
[APM] Skip failing test (#222185) 2025-06-02 15:22:40 +03:00
Alejandro Fernández Haro
97c137b7f1
chore(): unify solution id type definition (#222008)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-06-02 14:43:25 +03:00
Yngrid Coello
6d8fe76513
[Dataset quality] unskipping stats api tests (#222178)
Closes https://github.com/elastic/kibana/issues/211517 and
https://github.com/elastic/kibana/issues/213290
2025-06-02 14:42:09 +03:00
Yngrid Coello
21b1af33ee
[Dataset quality] unskipping summary tests (#222172)
Closes https://github.com/elastic/kibana/issues/211516
2025-06-02 14:31:34 +03:00
jennypavlova
8a40c53263
[APM] Fix error count waterfall navigation reload issue (#221664)
Closes #82154 

## Summary

This PR fixes the error count navigation reload issue in the APM
waterfall. To fix that, it combines the prevent default action needed
because of the flyout opening and the navigation using the
`navigateToUrl` action to create a SPA-like experience:


https://github.com/user-attachments/assets/43faf3b9-2038-40d0-89c9-62c37087386d

Testing ⬆️ 
- The navigation to the errors tab should not cause a full page refresh
- The flyout should open without issues on click 

+ Now the errors link supports keyboard navigation (fixed that part
here, it was skipped before)


https://github.com/user-attachments/assets/82c2d0b7-caef-4c24-8af9-d6b1d7f75eef
2025-06-02 14:02:22 +03:00
Sergi Romeu
5824c557f6
[ObsUX][APM][Infra] Use profiling plugin configuration instead of feature flags (#219904)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-06-02 12:56:43 +02:00
Julia Bardi
9dcd896f84
[Fleet] show loading until package title loads (#221784)
## Summary

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

Replace package name with loading spinner until package info is loaded



https://github.com/user-attachments/assets/bb5612c9-95e9-4a77-9e12-f03f117583aa

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-06-02 12:52:35 +02:00
Kibana Machine
2ca5580797
[ES|QL] Update grammars (#222142)
This PR updates the ES|QL grammars (lexer and parser) to match the
latest version in Elasticsearch.

---------

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2025-06-02 11:23:02 +02:00
Dima Arnautov
9628845c13
[ML] Trained Models: Fix inference endpoints assignment (#222076)
## Summary

Fixes the inference endpoint assignment to the trained model object. The
`elser` service was replaced with `elasticsearch`, so the check for
assigning endpoints wasn’t working.

It fixes the check for the Stop deployment action on the Trained Models
page, preventing the user from stopping an inference endpoint.


<img width="771" alt="image"
src="https://github.com/user-attachments/assets/1c76a716-971f-410a-a82a-141dc3d9b9fc"
/>


### Checklist

- [ ] [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: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-06-02 11:22:50 +02:00
Marta Bondyra
685eda712f
[Maps] migrate vector to emotion (#217531)
## Summary
For core changes, exported 'EmotionStyles' type since it allows us to do
early ts check.

Part of https://github.com/elastic/kibana/issues/207852
2025-06-02 11:20:08 +02:00
Agustina Nahir Ruidiaz
3a7e5f63b1
[Security Solution][Network Page] a11y: Radio button options instantly closes when navigating through them (#220338)
## Summary

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


https://github.com/user-attachments/assets/762a3a01-90f8-4741-8ddd-b5b9a7fe65cc

Changes:

**Removed closing logic from `onChange`**
Deleted the `closePopover()` invocation in the radio-group’s `onChange`
Now selecting a radio option leaves the popover open as expected.

**Preserved Escape behavior**
The popover still closes when pressing Escape, per standard overlay
patterns.

**Accessibility alignment**
Followed the ARIA radio-group
[pattern](https://www.w3.org/WAI/ARIA/apg/patterns/radio/):
`Space/Enter` should select without closing, arrow keys move focus &
selection.
This matches both screen-reader usage and standard keyboard navigation.


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [ ] [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: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-06-02 12:18:22 +03:00
Elena Shostak
f5f3fbdaec
Revert "[CodeQL] Switched to a larger runner" (#222148)
Reverts elastic/kibana#222060
2025-06-02 08:45:10 +00:00
Drew Tate
748638d4a9
[ES|QL] support SAMPLE command (#221446)
## Summary

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

<img width="820" alt="Screenshot 2025-05-28 at 11 38 57 AM"
src="https://github.com/user-attachments/assets/fcee1c7c-3c90-4d1d-9e10-0453a8c3307f"
/>

### Open questions
- Should we be suggesting anything for `seed`?
- ~Do the suggestions for sampling rate make sense?~ (approved)

---------

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2025-06-02 09:09:40 +02:00
Kibana Machine
cbf104e059
[api-docs] 2025-06-02 Daily api_docs build (#222144)
Generated by
https://buildkite.com/elastic/kibana-api-docs-daily/builds/1091
2025-06-02 09:08:12 +03:00
Kibana Machine
d7405f9252
[ES|QL] Update function metadata (#222143)
This PR updates the function definitions and inline docs based on the
latest metadata from Elasticsearch.

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2025-06-02 07:40:31 +02:00
Matthias Wilhelm
931e277e4a
[Inspect] Fix indexpattern parsing leading to incomplete index pattern values being displayed (#221084)
Fixes the parsing of index patterns in the Inspect feature. Previously, certain index pattern strings were not
being parsed and displayed correctly.
2025-06-02 08:35:51 +03:00
Kibana Machine
129f46aaf3
[api-docs] 2025-06-01 Daily api_docs build (#222138)
Generated by
https://buildkite.com/elastic/kibana-api-docs-daily/builds/1090
2025-06-01 09:21:28 +03:00
Shahzad
616db37896
[Synthetics] Remove run soon for sync private location task !! (#222062)
## Summary

Remove run soon for sync private location task !!

It's not needed since it's a scheduled task running every 10 minutes .

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-05-31 11:41:41 +02:00
Kibana Machine
f015ead79e
[api-docs] 2025-05-31 Daily api_docs build (#222134)
Generated by
https://buildkite.com/elastic/kibana-api-docs-daily/builds/1089
2025-05-31 09:17:09 +03:00