Commit graph

84684 commits

Author SHA1 Message Date
Viduni Wickramarachchi
9c0e4b0bfb
[Obs AI Assistant] Share conversations (#211854)
Closes https://github.com/elastic/kibana/issues/206590
Closes https://github.com/elastic/kibana/issues/211710
Closes https://github.com/elastic/kibana/issues/211604
Closes https://github.com/elastic/obs-ai-assistant-team/issues/215

## Summary

This PR implements conversation sharing for Obs AI Assistant
conversations.

The features included are as follows:

1. Refactored `ChatActionsMenu` - Removed Copy Conversation and
Duplicate options
2. Removed the banner added in
https://github.com/elastic/kibana/issues/209382
3. Removed the conversation input box (`PromptEditor`), if the user who
is viewing the conversation cannot continue it.
4. Implemented a `ChatBanner` - This will show whether a conversation is
shared with the team (The banner content differs based on who is viewing
the conversation)
5. Implemented `ChatContextMenu` for conversation specific actions. This
includes "Duplicate", "Copy conversation", "Copy URL" and "Delete".
"Delete" functionality is only available to the conversation owner.
(This menu is only included in the `ChatHeader` at the moment because
`Eui` doesn't support passing a node to `EuiListGroupItem` to include
this in the `ConversationList`. This will be refactored in
https://github.com/elastic/kibana/issues/209386)
6. Implemented `useConversationContextMenu` for "copy" and "delete"
functionalities.
7. Implemented `ChatSharingMenu` to mark a conversation as
`shared/private`. This is only enabled for the owner of the
conversation. For other users, a disabled badge will be shown stating
whether the conversation is Private or Shared.
8. Implemented `updateConversationAccess` route.
9. Updated the Chat Item Actions Inspect Prompt Button to `Inspect`.
This was `eye` before.
10. Implemented a custom component `ConversationListItemLabel` to show
the shared icon in `ConversationList`.
11. Re-named "Copy conversation" to "Copy to clipboard" to avoid
ambiguity with "Duplicate".
12. Added success toast on "Copy to clipboard"

Note: If a conversation started from contextual insights, and then the
user continue the conversation --> The conversation will be stored.
However, if the user deletes the continued conversation, they will be
reverted to the initial messages from the contextual insights.

### Screen recording


https://github.com/user-attachments/assets/50b1fd3c-c2f5-406f-91bc-2b51bb58833e


### 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/src/platform/packages/shared/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] 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: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-11 10:27:40 -04:00
Alex Prozorov
2fd0bea441
[Cloud Security] add cleanup to rules v2 integrations and fix data views, compliance d… (#213669)
## Summary

This PR tries to fix the following issues:

- https://github.com/elastic/kibana/issues/201686
- https://github.com/elastic/kibana/issues/210678
- https://github.com/elastic/kibana/issues/168904
- https://github.com/elastic/kibana/issues/191017


### 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] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
2025-03-11 16:26:58 +02:00
Konrad Szwarc
e0bf98e45a
[EDR Workflows] Rename Endpoint Insights to Automatic Troubleshooting (#213876)
Updated Endpoint Insight UI label to Automatic Troubleshooting.
![Screenshot 2025-03-11 at 10 05
23](https://github.com/user-attachments/assets/2981c1dc-525c-4c85-8e02-8977d3efad32)
![Screenshot 2025-03-11 at 10 05
35](https://github.com/user-attachments/assets/6f2d3b50-9178-4e99-8dad-d524a2dc5722)
![Screenshot 2025-03-11 at 10 13
12](https://github.com/user-attachments/assets/201aa773-5ad9-4450-85fb-e1f90bfd88bd)
2025-03-11 15:09:19 +01:00
elastic-renovate-prod[bot]
45f19b769e
Update lru-cache (main) (#206225)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| @&#8203;types/lru-cache | devDependencies | major | [`^5.1.0` ->
`^7.10.10`](https://renovatebot.com/diffs/npm/@types%2flru-cache/5.1.0/7.10.10)
|
| [lru-cache](https://redirect.github.com/isaacs/node-lru-cache) |
dependencies | major | [`^4.1.5` ->
`^11.0.2`](https://renovatebot.com/diffs/npm/lru-cache/4.1.5/11.0.2) |

---

### Release Notes

~Changelog~ _cringe lorg_ is here:
https://github.com/isaacs/node-lru-cache/blob/main/CHANGELOG.md

TL;DR:
* Named export
* Renamed some APIs (during 7.0):
https://github.com/isaacs/node-lru-cache/blob/main/CHANGELOG.md#70---2022-02
* TS is embedded now, so `@types/lru-cache` are not needed.

I'm addressing all these changes locally and will release the PR when
fixed.

<details>
<summary>isaacs/node-lru-cache (lru-cache)</summary>

###
[`v11.0.2`](https://redirect.github.com/isaacs/node-lru-cache/compare/v11.0.1...v11.0.2)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v11.0.1...v11.0.2)

###
[`v11.0.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v11.0.0...v11.0.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v11.0.0...v11.0.1)

###
[`v11.0.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.4.3...v11.0.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.4.3...v11.0.0)

###
[`v10.4.3`](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.4.2...v10.4.3)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.4.2...v10.4.3)

###
[`v10.4.2`](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.4.1...v10.4.2)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.4.1...v10.4.2)

###
[`v10.4.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.4.0...v10.4.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.4.0...v10.4.1)

###
[`v10.4.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.3.1...v10.4.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.3.1...v10.4.0)

###
[`v10.3.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.3.0...v10.3.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.3.0...v10.3.1)

###
[`v10.3.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.2.2...v10.3.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.2.2...v10.3.0)

###
[`v10.2.2`](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.2.1...v10.2.2)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.2.1...v10.2.2)

###
[`v10.2.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.2.0...v10.2.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.2.0...v10.2.1)

###
[`v10.2.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.1.0...v10.2.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.1.0...v10.2.0)

###
[`v10.1.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.0.3...v10.1.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.0.3...v10.1.0)

###
[`v10.0.3`](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.0.2...v10.0.3)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.0.2...v10.0.3)

###
[`v10.0.2`](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.0.1...v10.0.2)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.0.1...v10.0.2)

###
[`v10.0.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.0.0...v10.0.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v10.0.0...v10.0.1)

###
[`v10.0.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v9.1.2...v10.0.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v9.1.2...v10.0.0)

###
[`v9.1.2`](https://redirect.github.com/isaacs/node-lru-cache/compare/v9.1.1...v9.1.2)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v9.1.1...v9.1.2)

###
[`v9.1.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v9.1.0...v9.1.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v9.1.0...v9.1.1)

###
[`v9.1.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v9.0.3...v9.1.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v9.0.3...v9.1.0)

###
[`v9.0.3`](https://redirect.github.com/isaacs/node-lru-cache/compare/v9.0.2...v9.0.3)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v9.0.2...v9.0.3)

###
[`v9.0.2`](https://redirect.github.com/isaacs/node-lru-cache/compare/v9.0.1...v9.0.2)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v9.0.1...v9.0.2)

###
[`v9.0.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v9.0.0...v9.0.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v9.0.0...v9.0.1)

###
[`v9.0.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v8.0.5...v9.0.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v8.0.5...v9.0.0)

###
[`v8.0.5`](https://redirect.github.com/isaacs/node-lru-cache/compare/v8.0.4...v8.0.5)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v8.0.4...v8.0.5)

###
[`v8.0.4`](https://redirect.github.com/isaacs/node-lru-cache/compare/v8.0.3...v8.0.4)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v8.0.3...v8.0.4)

###
[`v8.0.3`](https://redirect.github.com/isaacs/node-lru-cache/compare/v8.0.2...v8.0.3)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v8.0.2...v8.0.3)

###
[`v8.0.2`](https://redirect.github.com/isaacs/node-lru-cache/compare/v8.0.1...v8.0.2)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v8.0.1...v8.0.2)

###
[`v8.0.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v8.0.0...v8.0.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v8.0.0...v8.0.1)

###
[`v8.0.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.18.3...v8.0.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.18.3...v8.0.0)

###
[`v7.18.3`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.18.2...v7.18.3)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.18.2...v7.18.3)

###
[`v7.18.2`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.18.1...v7.18.2)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.18.1...v7.18.2)

###
[`v7.18.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.18.0...v7.18.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.18.0...v7.18.1)

###
[`v7.18.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.17.2...v7.18.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.17.2...v7.18.0)

###
[`v7.17.2`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.17.1...v7.17.2)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.17.1...v7.17.2)

###
[`v7.17.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.17.0...v7.17.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.17.0...v7.17.1)

###
[`v7.17.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.16.2...v7.17.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.16.2...v7.17.0)

###
[`v7.16.2`](https://redirect.github.com/isaacs/node-lru-cache/blob/HEAD/CHANGELOG.md#7162)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.16.1...v7.16.2)

-   Fail fetch() promises when they are aborted

###
[`v7.16.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.16.0...v7.16.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.16.0...v7.16.1)

###
[`v7.16.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.15.0...v7.16.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.15.0...v7.16.0)

###
[`v7.15.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.14.1...v7.15.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.14.1...v7.15.0)

###
[`v7.14.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.14.0...v7.14.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.14.0...v7.14.1)

###
[`v7.14.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.13.2...v7.14.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.13.2...v7.14.0)

###
[`v7.13.2`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.13.1...v7.13.2)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.13.1...v7.13.2)

###
[`v7.13.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.13.0...v7.13.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.13.0...v7.13.1)

###
[`v7.13.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.12.1...v7.13.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.12.1...v7.13.0)

###
[`v7.12.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.12.0...v7.12.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.12.0...v7.12.1)

###
[`v7.12.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.11.0...v7.12.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.11.0...v7.12.0)

###
[`v7.11.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.10.3...v7.11.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.10.3...v7.11.0)

###
[`v7.10.3`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.10.2...v7.10.3)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.10.2...v7.10.3)

###
[`v7.10.2`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.10.1...v7.10.2)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.10.1...v7.10.2)

###
[`v7.10.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.10.0...v7.10.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.10.0...v7.10.1)

###
[`v7.10.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.9.1...v7.10.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.9.1...v7.10.0)

###
[`v7.9.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.9.0...v7.9.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.9.0...v7.9.1)

###
[`v7.9.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.8.2...v7.9.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.8.2...v7.9.0)

###
[`v7.8.2`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.8.1...v7.8.2)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.8.1...v7.8.2)

###
[`v7.8.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.8.0...v7.8.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.8.0...v7.8.1)

###
[`v7.8.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.7.4...v7.8.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.7.4...v7.8.0)

###
[`v7.7.4`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.7.3...v7.7.4)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.7.3...v7.7.4)

###
[`v7.7.3`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.7.2...v7.7.3)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.7.2...v7.7.3)

###
[`v7.7.2`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.7.1...v7.7.2)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.7.1...v7.7.2)

###
[`v7.7.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.7.0...v7.7.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.7.0...v7.7.1)

###
[`v7.7.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.6.1...v7.7.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.6.1...v7.7.0)

###
[`v7.6.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.6.0...v7.6.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.6.0...v7.6.1)

###
[`v7.6.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.5.2...v7.6.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.5.2...v7.6.0)

###
[`v7.5.2`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.5.1...v7.5.2)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.5.1...v7.5.2)

###
[`v7.5.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.5.0...v7.5.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.5.0...v7.5.1)

###
[`v7.5.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.4.5...v7.5.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.4.5...v7.5.0)

###
[`v7.4.5`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.4.4...v7.4.5)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.4.4...v7.4.5)

###
[`v7.4.4`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.4.3...v7.4.4)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.4.3...v7.4.4)

###
[`v7.4.3`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.4.2...v7.4.3)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.4.2...v7.4.3)

###
[`v7.4.2`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.4.1...v7.4.2)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.4.1...v7.4.2)

###
[`v7.4.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.4.0...v7.4.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.4.0...v7.4.1)

###
[`v7.4.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.3.3...v7.4.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.3.3...v7.4.0)

###
[`v7.3.3`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.3.2...v7.3.3)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.3.2...v7.3.3)

###
[`v7.3.2`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.3.1...v7.3.2)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.3.1...v7.3.2)

###
[`v7.3.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.3.0...v7.3.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.3.0...v7.3.1)

###
[`v7.3.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.2.3...v7.3.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.2.3...v7.3.0)

###
[`v7.2.3`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.2.2...v7.2.3)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.2.2...v7.2.3)

###
[`v7.2.2`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.2.1...v7.2.2)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.2.1...v7.2.2)

###
[`v7.2.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.2.0...v7.2.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.2.0...v7.2.1)

###
[`v7.2.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.1.3...v7.2.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.1.3...v7.2.0)

###
[`v7.1.3`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.1.2...v7.1.3)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.1.2...v7.1.3)

###
[`v7.1.2`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.1.1...v7.1.2)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.1.1...v7.1.2)

###
[`v7.1.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.1.0...v7.1.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.1.0...v7.1.1)

###
[`v7.1.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.0.4...v7.1.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.0.4...v7.1.0)

###
[`v7.0.4`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.0.3...v7.0.4)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.0.3...v7.0.4)

###
[`v7.0.3`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.0.2...v7.0.3)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.0.2...v7.0.3)

###
[`v7.0.2`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.0.1...v7.0.2)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.0.1...v7.0.2)

###
[`v7.0.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.0.0...v7.0.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v7.0.0...v7.0.1)

###
[`v7.0.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v6.0.0...v7.0.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v6.0.0...v7.0.0)

###
[`v6.0.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v5.1.1...v6.0.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v5.1.1...v6.0.0)

###
[`v5.1.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v5.1.0...v5.1.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v5.1.0...v5.1.1)

###
[`v5.1.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v5.0.1...v5.1.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v5.0.1...v5.1.0)

###
[`v5.0.1`](https://redirect.github.com/isaacs/node-lru-cache/compare/v5.0.0...v5.0.1)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v5.0.0...v5.0.1)

###
[`v5.0.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v4.1.5...v5.0.0)

[Compare
Source](https://redirect.github.com/isaacs/node-lru-cache/compare/v4.1.5...v5.0.0)

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOkNvcmUiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->

---------

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jean-Louis Leysens <jeanlouis.leysens@elastic.co>
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2025-03-11 15:00:09 +01:00
Nicolas Chaulet
c686695cdd
[Fleet] Merge status and version column in integration table (#213779) 2025-03-11 09:53:41 -04:00
Robert Jaszczurek
cbcb7edb94
[ML] Anomaly Detection: Show Switch to apply time range when opening job selector from left nav (#213382)
Fix for: https://github.com/elastic/kibana/issues/211018 and
https://github.com/elastic/kibana/issues/212407

Note: Previously, the `apply time range` setting was saved in local
storage even if the changes were not applied. After the fix, the setting
is saved in local storage only if the user applies the new selection.

After:


https://github.com/user-attachments/assets/1657f0f4-c580-4941-9582-bf5f9dc3cd55
2025-03-11 14:50:52 +01:00
Nikita Indik
122c7e12e6
[Security Solution]: Add banner to promote prebuilt rule customization in ESS (#213750)
**Resolves: https://github.com/elastic/kibana/issues/205594**

## Summary

**Changes:**
- Adds a banner to promote prebuilt rule customization in ESS. Link
currently leads to a 404 page since the blog post is not yet published.
(Serverless banner to be added later, after April 1, when the blog post
is published). Banner is dismissible. It's state is stored in
localStorage.
<img width="1006" alt="Scherm­afbeelding 2025-03-11 om 12 25 45"
src="https://github.com/user-attachments/assets/41d83db9-4bc4-433e-a7e2-c5ef1049a20c"
/>


 - A couple unrelated small changes:
- Fixes spelling of singular/plural for "require" in the upgrade flyout
- Fixes horizontal line misalignment in upgrade flyout. It was caused by
an incorrect `css` function import: `import { css } from
'@emotion/css';` instead of `import { css } from '@emotion/react';`

<img width="653" alt="Scherm­afbeelding 2025-03-10 om 12 12 33"
src="https://github.com/user-attachments/assets/ab5f3b9e-73b2-4938-bda2-401eece5407d"
/>
<img width="676" alt="Scherm­afbeelding 2025-03-10 om 12 13 17"
src="https://github.com/user-attachments/assets/37bbff65-326f-415c-aab8-c9c661ef14ce"
/>

<img width="1966" alt="Scherm­afbeelding 2025-03-10 om 12 26 05"
src="https://github.com/user-attachments/assets/16ac2b9e-13ba-45d8-adcd-c9fb74f8db6e"
/>
<img width="1966" alt="Scherm­afbeelding 2025-03-10 om 12 24 54"
src="https://github.com/user-attachments/assets/c53e7642-26f5-490f-b1bc-6f3961aef71a"
/>
2025-03-11 09:45:30 -04:00
Ido Cohen
aa850d4b9f
Deprecate Cloud Defend 2025-03-11 15:45:13 +02:00
Georgiana-Andreea Onoleață
ec3b18662a
[ResponseOps] consistent-type-imports linting rule for RO packages/plugins - PR1 (#212348)
- Enabled @typescript-eslint/consistent-type-imports eslint rule for
ResponseOps packages and plugins:
- this rule ensures that imports used only for type declarations are
consistently written using `import type ` syntax
   
- fixed eslint errors for:
    - `src/platform/packages/shared/response-ops`
    - `x-pack/platform/plugins/shared/alerting`

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-11 13:56:45 +01:00
elastic-renovate-prod[bot]
914533f4d3
Update dependency @redocly/cli to ^1.32.0 (main) (#212624) 2025-03-11 13:56:06 +01:00
Stratoula Kalafateli
0addb3fd6d
[ES|QL] Fixes warnings with escaped quotes (#213685)
## Summary

Fixes a big where the warning appear wrong when the warning message has
escaped quotes.

**Before**
![image
(84)](https://github.com/user-attachments/assets/db7eaca1-bb04-4785-ae3e-2ecb3da694ee)


**Now**

![image](https://github.com/user-attachments/assets/afc107e1-b83d-4d3b-862c-6c2bffc27656)



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


Brought at my attention from @nik9000 ❤️

---------

Co-authored-by: Dima Arnautov <arnautov.dima@gmail.com>
2025-03-11 13:48:45 +01:00
Dario Gieselaar
ba13e86a70
[Streams] Replay loghub data with synthtrace (#212120)
Download, parse and replay loghub data with Synthtrace, for use in the
Streams project. In summary:

- adds a `@kbn/sample-log-parser` package which parses Loghub sample
data, creates valid parsers for extracting and replacing timestamps,
using the LLM
- add a `sample_logs` scenario which uses the parsed data sets to replay
Loghub data continuously as if it were live data
- refactor some parts of Synthtrace (follow-up work captured in
https://github.com/elastic/kibana/issues/212179)

## Synthtrace changes

- Replace custom Logger object with Kibana-standard ToolingLog
- Report progress and estimated time to completion for long-running jobs
- Simplify scenarioOpts (allow comma-separated key-value pairs instead
of just JSON)
- Simplify client initialization
- When using workers, only bootstrap once (in the main thread)
- Allow workers to gracefully shutdown
- Downgrade some logging levels for less noise

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-11 13:30:06 +01:00
Alejandro Fernández Haro
bdf7823c54
[SSE] Fix EventSource streams (#213151)
## Summary

Resolves #212919

We noticed that setting the header `'Content-Type':
'text/event-stream',` didn't work as the browser's native EventSource
implementation.

```JS
      return res.ok({
        headers: {
          'Content-Type': 'text/event-stream',
          'Cache-Control': 'no-cache',
        },
        body: observableIntoEventSourceStream(events$ as unknown as Observable<ServerSentEvent>, {
          signal: abortController.signal,
          logger,
        }),
      });
```

The reason, apparently, is that we need to flush the compressor's buffer
negotiated in the HTTP request.

### How to test it:

Run Kibana with examples `yarn start --no-base-path --run-examples
--http2` and open the SSE example app in Kibana. You should see a clock
updating every second in the UI (the clock is coming from the server).

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-11 11:33:11 +01:00
elastic-renovate-prod[bot]
c348bd1df5
Update dependency cytoscape to ^3.31.1 (main) (#213334)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [cytoscape](http://js.cytoscape.org)
([source](https://redirect.github.com/cytoscape/cytoscape.js)) |
dependencies | patch | [`^3.31.0` ->
`^3.31.1`](https://renovatebot.com/diffs/npm/cytoscape/3.31.0/3.31.1) |

---

### Release Notes

<details>
<summary>cytoscape/cytoscape.js (cytoscape)</summary>

###
[`v3.31.1`](https://redirect.github.com/cytoscape/cytoscape.js/releases/tag/v3.31.1)

[Compare
Source](https://redirect.github.com/cytoscape/cytoscape.js/compare/v3.31.0...v3.31.1)

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

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: jennypavlova <dzheni.pavlova@elastic.co>
2025-03-11 11:29:18 +01:00
Arturo Lidueña
56219f1c90
[Obs AI Assistant] remove AdHocInstruction (#212621)
## Refactor Instruction Handling: Remove Adhoc Instructions and
Standardize API
Closes #211190

## Summary  
This PR removes the concept of *Adhoc Instructions* and standardizes how
instructions are handled across the system. The `/complete` API now
explicitly accepts **user instructions**, and redundant functions have
been removed or replaced.

## Changes Implemented  

### Renamed API Parameter  
- The `/complete` API’s `instructions` parameter is now
`userInstructions`.
- Application instructions can no longer be sent via the API (future
support can be added if needed).

### Removed Redundant Functions  
- Deleted `getAdhocInstructions` and `registerAdhocInstruction`.  
- API-passed instructions are now treated as **user instructions**.  
- Updated function calls to use `getInstructions` and
`registerInstruction` instead.

### Refactored Function Calls  
- Replaced `registerAdhocInstruction` with `registerInstruction`.  

## Impact & Benefits  
- **Simplifies** instruction handling by removing unnecessary
complexity.
- **Aligns** API behavior with internal instruction management.
2025-03-11 11:24:16 +01:00
Stratoula Kalafateli
b9472b6ade
[ES|QL] Hides the actions and the "View problem" from the editor (#213325)
## Summary

Hides the actions and the view problem from the hover. (I didnt remove
the code, we might want to enable it again in the future but we need to
fix the bug I mention below)

**Now**

<img width="719" alt="image"
src="https://github.com/user-attachments/assets/423cfbdd-e067-409c-8eb4-1e2c2cc17649"
/>


**Before**

<img width="617" alt="image"
src="https://github.com/user-attachments/assets/7ec5f48d-af8b-4676-84f4-9fa4a0d8f220"
/>

1. Quick fixes has a lot of bugs such as:
- https://github.com/elastic/kibana/issues/180491
- It is not easy to select it 


![meow](https://github.com/user-attachments/assets/59856c5f-08cd-4205-96f3-b2a8a1da7c60)

2. View problem doesn't appear correctly and it just repeats the error
that exists already in the hover


![meow](https://github.com/user-attachments/assets/a3ab0c95-5997-4104-816a-97c249acafb6)

3. Quick fixes are fixing now typos such as
- index patterns
- policies
- field names
- metadata options
- quotes 

Our autocomplete is good enough to solve these so this is not so
helpful.


This PR hides the actions as they don't work correctly. We should
reconsider displaying them again but for more sophisticated fixes such
as:

https://github.com/elastic/kibana/issues/177554 (not for enrich but for
joins)

We should fix the bug first (quick fix is not clickable)
2025-03-11 09:40:26 +01:00
Irene Blanco
84d29b51a0
[Discover][APM] Switch to document profile and split into spans/transactions (#213116)
## Summary

Closes https://github.com/elastic/kibana/issues/211778 and
https://github.com/elastic/kibana/issues/211871

This PR is a follow-up to issue
[#208693](https://github.com/elastic/kibana/issues/208693) and
incorporates the suggestions from its associated PR
[#210612](https://github.com/elastic/kibana/pull/210612).

>[!NOTE]
> Please note that most of the changes in this PR involve moving files,
renaming `data-test-subj` attributes, updating imports, and not creating
the files from scratch.

**What's happening in this PR?**
- Transitioning from data source profile to document profile.
- Splitting the traces document viewer into separate span and
transaction viewers.
- Enhancing the `useTransaction` hook to abort requests on component
unmount.

As noted in the `TODOs`, a follow-up issue will focus on using for
APM-configured indexes to enable the experience and retrieve the
`transaction.name` for spans.


### How to test

Add this to your kibana.dev.yml:

```
discover.experimental.enabledProfiles:
  - observability-traces-span-document-profile
  - observability-traces-transaction-document-profile
`````

- Go to Discover page
- Select APM data view
- Check your traces data
- Spans and transactions should show the new overview tabs when opening
the flyout

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
Co-authored-by: Carlos Crespo <crespocarlos@users.noreply.github.com>
2025-03-11 09:37:17 +01:00
Maria Iriarte
9d6ec7dc90
[Lens] [Dashboard] Remove metric chart progress bar rounded border (#211189)
## Summary

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

1. Removes rounded border shown in metric chart progress bar border
2. Makes the panel heading highlight fit the container
3. Removes rounded border from loader horizontal bar

## Screenshots and screen recordings

1. Removes rounded border shown in metric chart progress bar border

#### Before
<img width="874" alt="Screenshot 2025-02-14 at 21 05 29"
src="https://github.com/user-attachments/assets/ada89180-0cb1-4385-b58d-a6ca068376b7"
/>

#### After

<img width="647" alt="Screenshot 2025-02-14 at 20 30 58"
src="https://github.com/user-attachments/assets/9048a1a5-6afd-418f-994c-69fd68b969b1"
/>/

2. Makes the panel heading highlight fit the container

#### Before

<img width="950" alt="Screenshot 2025-02-14 at 20 34 31"
src="https://github.com/user-attachments/assets/eb4df553-bace-4ce2-b2c0-93829235c5ce"
/>

#### After

<img width="154" alt="Screenshot 2025-02-14 at 20 36 53"
src="https://github.com/user-attachments/assets/2887de13-198d-4ea4-a7a9-57bfd657746f"
/>/

3. Removes rounded border from loader horizontal bar

#### Before


https://github.com/user-attachments/assets/a091f3a1-9d0e-4a55-a45e-9930e6d54983


#### After


https://github.com/user-attachments/assets/5e6fd8d4-407e-45c0-b3ff-ba1884c413c1

### Considerations

We need to make sure that these styles changes do not affect the rest of
the visualizations. I checked different visualizations and it looks like
there are no side effects, e.g metric chart - break down by

<img width="653" alt="Screenshot 2025-02-14 at 20 48 15"
src="https://github.com/user-attachments/assets/d21b6e5d-af53-48be-ac20-646468949fea"
/>
<img width="650" alt="Screenshot 2025-02-14 at 21 03 29"
src="https://github.com/user-attachments/assets/c60d1ca4-671b-492d-8629-5a69e273dc89"
/>

### Checklist

- [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-03-11 09:34:54 +01:00
Kibana Machine
fe80777b6f
[api-docs] 2025-03-11 Daily api_docs build (#213861)
Generated by
https://buildkite.com/elastic/kibana-api-docs-daily/builds/1008
2025-03-11 07:17:48 +01:00
Mason Herron
9d99f821ff
[Fleet] Add {package}@custom component template support (#213431)
Closes [212086](https://github.com/elastic/kibana/issues/212086)

## Summary


Adds support for `{package}@custom` on component templates in Fleet
installed integrations. Similar to [PR
192731](https://github.com/elastic/kibana/pull/192731).


![image](https://github.com/user-attachments/assets/ffe123e7-f8f6-4a59-8907-496ff0bf0a64)


### Acceptance Criteria

- [x] All index templates for data streams associated with an
integration installed through Fleet include a reference to
{package}@custom in their composed_of array.
- _Example: All index templates for the nginx integration's data streams
should include nginx@custom._

- [x] {package}@custom appears after {type}@custom in the composed_of
array.
- _Example: system@custom should be listed after logs@custom._

- [x] {package}@custom is included in the
ignore_missing_component_templates array since it is optional.


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

N/A

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-03-10 23:32:26 -06:00
Patryk Kopyciński
0b77522dc1
[Security Assistant] Fix timeout during Knowledge Base setup (#213738)
## Summary

Cluster with autoscaling for ML nodes can take couple minutes to
properly allocate ML node on Cloud, so increasing timeout by 10min
should improve the UX and make the process more streamlined.

However it's still just arbitrary value, so in the future we should
think about more reliable solution
2025-03-11 02:30:44 +01:00
Matthew Kime
5b6dbf2b27
[data views] data views + rollup index referenced by alias (#212592)
## Summary

Upgrading to 9.x involves reindexing indices created in 7.x, which does
include rollup indices. Reindexing means relying on aliases to preserve
existing index names. As it turns out, our existing code did not work
with rollups that referenced aliases, rather than indices. This is
because the index name is used as an object key even if it was retrieved
via alias.


Note - I need to verify this on 9.0 from scratch. I used upgraded data
and need to verify the steps to make this work when testing.

To test
1. Add sample data
2. Create a rollup job that references the sample data. 
3. Create a data view that references the rollup index. It may take a
few minutes for the rollup index to be populated.
4. Create an alias from the dev console, like such - 

```
POST _aliases
{
  "actions": [
    {
      "add": {
        "index": "rollup",
        "alias": "my-alias"
      }
    }
  ]
}
``` 
5. Create a rollup data view based in the alias you just created.

Part of https://github.com/elastic/kibana/issues/211850

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-10 18:16:04 -07:00
Christiane (Tina) Heiligers
85baab2431
only transform legend if present (#213814)
The inventory_view saved object allows the legend attribute to be
optional and limits and/or sets the number of steps during an upgrade
between model version 1 and 2. The transform function needs to handle
cases where legend is not set to prevent migration failures.

Related to https://github.com/elastic/kibana/pull/207007

- [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-03-10 15:03:56 -07:00
elastic-renovate-prod[bot]
88e41edf1a
Update docker.elastic.co/wolfi/chainguard-base:latest Docker digest to a37e513 (main) (#213660)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| docker.elastic.co/wolfi/chainguard-base | digest | `10f7cda` ->
`a37e513` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJiYWNrcG9ydDpza2lwIiwicmVsZWFzZV9ub3RlOnNraXAiXX0=-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2025-03-10 16:40:56 -05:00
Kevin Qualters
61327446e3
[Security Solution] Fix notes selectors, and alerts table onload, other reselect related issues (#213609)
## Summary

This pr fixes a few very different but compounding upon one another
issues with how redux/reselect is currently being used across a range of
places in the security app. To start, I will focus on the notes
selectors.

The first issue was our use of filter. filter creates a shallow copy of
an array every time it runs, even if nothing matches, creating a new
reference quite often, even just in the flyout with 0 notes. This is
explicitly mentioned in the docs:
https://reselect.js.org/usage/handling-empty-array-results . Using a
static reference if filter returns 0 items with the fallbackToEmptyArray
reduces a lot of references changing everywhere notes selectors are
used, especially in the alerts table, which I will get to in a bit. The
next issue was with how we were extracting arguments, namely this
pattern:

```
createSelector(
  [
    selectAllNotes,
    (_: State, { documentId, savedObjectId }: { documentId: string; savedObjectId: string }) => ({
      documentId,
      savedObjectId,
    }),
  ],
  (notes, { documentId, savedObjectId }) =>
    fallbackToEmptyArray(
      notes.filter((note) => note.eventId === documentId && note.timelineId === savedObjectId)
    )
);
```
will not actually work as expected, because the 2nd input selector
function is creating a new object reference every time it's called, All
arguments are actually passed to all input selectors, so changing this
to something like
```
  createSelector(
    [
      selectAllNotes,
      (_: State, documentId: string) => documentId,
      (_: State, documentId: string, savedObjectId: string) => savedObjectId,
    ],
    (notes, documentId, savedObjectId) =>
      fallbackToEmptyArray(
        notes.filter((note) => note.eventId === documentId && note.timelineId === savedObjectId)
      )
  );
```
where documentId and savedObjectId are both primitives, will work as
expected...if you are expecting to only call it with a small number of
documentIds. Would work well with just the flyout, but when using it
with 50 different doc ids in the alerts table, and a different set of 50
in the timeline, not only is the memoization doing nothing, we are
looping over all the document ids x 100 constantly, rough on the app
performance, less so with very few notes, but would scale terribly. To
fix this, we use the selector creator pattern in the components, like
action cells in the table, where there would be lots of different
document ids, that don't change through the life of the component.
```
  const selectNotesByDocumentId = useMemo(() => makeSelectNotesByDocumentId(), []);
  const documentBasedNotes = useSelector((state: State) => selectNotesByDocumentId(state, eventId));
```

The final issue was the sort, we were creating a new object reference
every time, which was a problem, but also didn't actually make use of
sorting on different fields, just always on created. I changed the state
logic for this a bit, we fetch the notes from the api on the management
page just as before, only now we use an optional argument to
redux-toolkit's createEntityAdapter that allows us to sort the notes
whenever the reducer runs. If the user changes the sort direction, a
different selector runs that reverses the notes, and renders those in
the table. selectAllReversed, it works exactly as the built in
selectAll, just makes use of .reverse().

Also changed some things in the recently alerts table package changes
that were not referentially stable, fixed a useEffect that was calling
the useFetchNotes logic way too often in each tab of the timeline, and
cleaned up various selectors, some of which were completely unneeded in
the first place, or didn't work (read: didn't actually memoize anything)
at all. Finally, we fetch the notes for the alerts table correctly once
again, that is only when the data fetching query completes and is
successful, for a while now it's been running way too often, in onUpdate
instead of onLoaded


### 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
2025-03-10 16:50:44 -04:00
Alexi Doak
eed986162b
[ResponseOps][OnWeek] Investigate isolating flapping feature in the code (#212454)
Part of https://github.com/elastic/kibana/issues/194222

## Summary

This PR moves the flapping and alert delay features into two new
functions in the alerts client `determineFlappingAlerts` and
`determineDelayedAlerts`. They will be called in the rule_type_runner
after `processAlerts`.
- I removed `recoveredCurrent` and `activeCurrent` 😌 . This PR
simplifies them to be activeAlerts, recoveredAlerts,
trackedRecoveredAlerts, and trackedActiveAlerts. trackedRecoveredAlerts
and trackedActiveAlerts are the alerts that will be stored in the task
state.
- I also updated the logic so that the AAD docs and state match to help
with ongoing work to use AAD docs instead of the state.
- I removed an optimization for the task state to stop tracking a
recovered alert if it wasn't flapping and doesn't have state changes. We
won't need this optimization with using AAD docs instead of the state.

### Checklist

Check the PR satisfies following conditions. 

- [ ] [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-03-10 13:01:10 -07:00
Nikita Indik
03ede39a25
[Security Solution] Remove prebuilt rule changelog link for v9 (#213711)
**Resolves: https://github.com/elastic/kibana/issues/213103**

## Summary
This PR removes a link to prebuilt rule changelog from rule installation
and upgrade tables. With the migration to the new docs system, there
will be no
[page](https://www.elastic.co/guide/en/security/8.17/prebuilt-rules-downloadable-updates.html)
with the downloadable rule updates initially in the 9.0 version. We'll
add this link back
([issue](https://github.com/elastic/kibana/issues/213709)) once the v9
page is live.


![Image](https://github.com/user-attachments/assets/2ffbb758-9902-4117-93ed-d259f4ca825f)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-10 20:14:49 +01:00
Christos Nasikas
2839562b8a
[ResponseOps][Connectors] Fix bug with OAuth form in the ServiceNow connector (#213658)
## Summary

This PR fixes a bug where users could not create a ServiceNow connector
with OAuth configuration. In addition to the fix, I decided to improve
the error messages and show the callout to install our SN applications
only on CORS errors. The rest of the errors will be shown on a generic
error callout.

<img width="1246" alt="Screenshot 2025-03-08 at 1 54 56 PM"
src="https://github.com/user-attachments/assets/5dac9662-be9b-474a-a0ca-d6d1a14baa53"
/>
<img width="1248" alt="Screenshot 2025-03-08 at 1 55 16 PM"
src="https://github.com/user-attachments/assets/fc548263-ebd3-4ce6-aac1-725236b626b5"
/>


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

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

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

## Release notes
Fix a bug with ServiceNow where users could not create the connector
from the UI form using OAuth.
2025-03-10 20:53:48 +02:00
jennypavlova
662c30a260
[APM] Fix: Span Links with OTel data (#212806)
Closes #212796 

This PR fixes OTel span links

## Testing

- Using the edge oblt go to Service inventory and find the `accounting`
service and click on it
- Click on the transactions tab and scroll to the waterfall
- Click on the Span link inside the Span
- Navigate to the linked service 
- Then try the navigation back by finding the span link again in the
waterfall and go back to the accounting service / its trace




https://github.com/user-attachments/assets/83bb6ec3-86d5-45ad-8b81-6df73751fa31

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-10 19:47:07 +01:00
Umberto Pepato
f57ff0ad4a
[ResponseOps][Rules] Add filter by rule type ids to get rule tags API (#213546)
## Summary

- Adds a filter by rule type ids to the `/internal/alerting/rules/_find`
API endpoint, with the same logic as other similar endpoints.
- Updates unit and API integration tests to cover the new filter.

## To verify

1. Create rules of different types with common and exclusive tags
2. Use the `Stack Management > Dev Console` to call the endpoint with
different combinations of rule type ids:

    ```
GET
kbn:/internal/alerting/rules/_tags?rule_type_ids=[".es-query",".index-threshold",
...]
    ```
4. Verify that the returned tags correspond to the filtered rule types

## Implementation details

Adds the filter to the v1 schema for the get tags endpoint since it's an
additive change to an internal API.

## References

Closes #213057

### 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-03-10 19:29:39 +01:00
Quynh Nguyen (Quinn)
77b87dff61
[ML] Fix data frame analytics job fails to delete after being upgraded to 9.0.0 (#213306)
This PR fixes https://github.com/elastic/kibana/issues/212096 by first
checking if the index name is an alias. If it is, get the reindexed
destination index name and delete that instead.



After


https://github.com/user-attachments/assets/31cc2084-6a26-462f-bf38-556a6b9f5ea5

### 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-03-10 19:24:29 +01:00
jennypavlova
55fec23360
[ObsUx][APM] Remove visual regression testing (#213787)
Relates to #208729 

## Summary

This PR removed the visual regression service map tests and the
screenshots used there. Unfortunately, we won't be able to use
screenshots for testing as it is not supported.

The tests should still pass and there shouldn't be an error in the CI
like:
   

![image](https://github.com/user-attachments/assets/f0e941a4-e197-49c5-bac4-fc9a2684f4b7)
2025-03-10 19:22:36 +01:00
Maria Iriarte
3cd8a4c007
[Lens/SCSS] Migrate xy_chart.scss file to JS (#210379)
## Summary

Part of https://github.com/elastic/kibana/issues/208908

Replaces scss to css-in-js.

### Checklist

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

---------

Co-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-10 19:02:09 +01:00
Maria Iriarte
d7df44f308
[Lens/SCSS] Migrate _expression_renderer.scss file to JS (#210408)
## Summary

Part of https://github.com/elastic/kibana/issues/208908

Replaces scss to css-in-js.

### Checklist

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

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com>
2025-03-10 18:53:32 +01:00
Drew Tate
7721d7034e
[ES|QL] Separate LIMIT and MV_EXPAND autocomplete routines (#213500)
## Summary

Part of https://github.com/elastic/kibana/issues/195418

Gives `LIMIT` and `MV_EXPAND` autocomplete logic its own home 🏡

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

### Identify risks

- [ ] As with any refactor, there's a possibility this will introduce a
regression in the behavior of commands. However, all automated tests are
passing and I have tested the behavior manually and can detect no
regression.

---------

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2025-03-10 18:41:09 +01:00
Alexi Doak
1692e9f59a
[ResponseOps] Some places refer to xpack.alerting.maxScheduledPerMinute when it should be xpack.alerting.rules.maxScheduledPerMinute (#213487)
Related to https://github.com/elastic/response-ops-team/issues/291

## Summary

This PR updates `xpack.alerting.maxScheduledPerMinute` to be
`xpack.alerting.rules.maxScheduledPerMinute`.
2025-03-10 10:36:53 -07:00
Steph Milovic
c3b3810eee
[Stack Connectors] Lift feature flag to show organizationId and projectId OpenAI headers in UI (#213760) 2025-03-10 17:52:30 +01:00
Cauê Marcondes
a6fd5b7e10
[APM] Breakdown Top dependencies API (#211441)
closes https://github.com/elastic/kibana/issues/210552

Before:
- Top dependencies API returned baseline and comparison timeseries data.

<img width="1208" alt="Screenshot 2025-02-14 at 14 27 28"
src="https://github.com/user-attachments/assets/f7770395-0575-4950-9acd-8808de5794b7"
/>


After:
- Removing timeseries and comparison data.
- The API is ~2s faster than before.
- Response size is also smaller after removing the timeseries data.

<img width="1203" alt="Screenshot 2025-02-14 at 14 26 34"
src="https://github.com/user-attachments/assets/5bd2ed09-1d2e-4ef1-8e55-6c3e9fba6348"
/>

Created a new API: `POST
/internal/apm/dependencies/top_dependencies/statistics` to fetch the
statistics for the visible dependencies.

---------

Co-authored-by: Carlos Crespo <crespocarlos@users.noreply.github.com>
Co-authored-by: Milosz Marcinkowski <38698566+miloszmarcinkowski@users.noreply.github.com>
2025-03-10 13:24:37 -03:00
Stratoula Kalafateli
3e78503858
[ES|QL] Supports date_nanos in bucket (#213319)
## Summary

Supports date_nanos in BUCKET. (Fixes this
https://github.com/elastic/kibana/issues/192255#issuecomment-2682565258)

Create a date_nanos field like here
https://www.elastic.co/guide/en/elasticsearch/reference/current/date_nanos.html
Test it with bucket

<img width="776" alt="image"
src="https://github.com/user-attachments/assets/3ba7d1b6-9000-4fc9-8bf0-74fb6c335596"
/>


### 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
2025-03-10 16:58:55 +01:00
Bailey Cash
311417d78e
[SLO] file reorg, improvements to badge (#213597) 2025-03-10 11:53:03 -04:00
Andrew Macri
ecdea5abaa
[Security Solution] [Attack discovery] Fixes overflow styling for markdown with XL badges (#213666)
### [Security Solution] [Attack discovery] Fixes overflow styling for markdown with XL badges

This PR fixes an overflow styling issue when markdown contains badges that exceed the width of the container, as reported in <https://github.com/elastic/kibana/issues/213228>.

It also hides the `Load query` and `Save query` menu items from the filter popup menu in the settings flyout.

![scrollable details](https://github.com/user-attachments/assets/bb895de2-cade-4f89-8dcd-643349eca115)

#### Details

- The overflow issue is fixed by enabling horizontal scrolling when badges exceed the width of the markdown container, as illustrated by the before and after screenshots below:

**Before**

![details before](https://github.com/user-attachments/assets/e6698b38-2899-4ded-84f1-ad0d00418245)

**After**

![details after](https://github.com/user-attachments/assets/35e387aa-659a-4b6e-b5a9-d2b0972c98b0)

- The`Load query` and `Save query` menu items in the filter popup menu are now hidden, as illustrated by the before and after screenshots of the settings flyout below:

**Before**

![filter menu before](https://github.com/user-attachments/assets/8e930247-3fec-4ff2-b4dc-0d49f7248b8f)

**After**

![filter menu after](https://github.com/user-attachments/assets/b874ff2c-8000-4f0f-a542-0366acbdcce2)
2025-03-10 09:34:35 -06:00
Faisal Kanout
cf06906ab1
[Observability] [Rules] Enable recovery context for APM Anomaly rule (#213252)
## Summary

It fixes #212014 by adding a recovery context to the APM anomaly rule.

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

## How to test the PR:

- Run Kibana locally and use oblt-edge
- From the Service Inventory, create an anomaly detection job for
`elastic-co-frontend` and `packetbeat` services
- Create an APM Anomaly rule for all services with severity warning 
- Create an action with Log, then select when recovered
<img width="1188" alt="Screenshot 2025-03-10 at 12 45 36"
src="https://github.com/user-attachments/assets/4b356981-f5dc-4493-ac7a-061b0a1a98f8"
/>

- Once the rule fires an alert, edit the rule and change the severity
level to something else to recover the alert.

- Watch the logs where Kibana is running; you should see the recovery
message printed with all the variable values.
2025-03-10 16:32:30 +01:00
Paul Tavares
df78cbbedd
[Security Solution][Endpoint] Updates to Endpoint artifacts Find API in support of spaces (#212696)
## Summary

Changes in support of Spaces, which is currently behind feature flag
`endpointManagementSpaceAwarenessEnabled`:

- Artifacts `find` API (via `lists` plugin extension points) were
updated to append additional filtering criteria to the request that
ensure only data scoped to the active space is returned. The Find API
will return:
    - global artifacts
- per-policy artifacts currently assigned to policies that are visible
in the current space
- per-policy artifacts currently NOT assigned to any policies that have
an owner space id that matches the active space (dangling artifats)
- Artifacts `get`-one API was updated to validate that user can read
artifact in active space. Read of single artifact will be allowed:
    - artifact is global
- If per-space artifact is assigned to policies and at least one policy
is visible in active space
- if per-space artifact is not assigned to any policies but its owner
space matches the active space
    - if user has the global artifact management privilege
- In addition to API integration tests for the `find`/`get` APIs, tests
were also added for endpoint exceptions
- Consolidated endpoint exceptions generator
(`endpoint_exceptions_generator.ts`) into `EndpointListItemGenerator`
for better reuse
2025-03-10 11:00:19 -04:00
Carlos Crespo
4a67b8b3af
[APM] Fix service maps when root transaction has a parent.id (#212998)
fixes [212931](https://github.com/elastic/kibana/issues/212931)

## Summary

>[!WARNING]
> This can only be merged after
https://github.com/elastic/elasticsearch-serverless/pull/3579. Service
map tests running against serverless will fail until the aforementioned
PR gets merged and deployed. It should happen Thursday/Friday next week
(13/14 Feb)

Fixes a bug on the service map causing it not to build the paths when
the root transaction of the trace had a `parent.id`

Global service map
| Before | After |
|--------|------|
|<img width="599" alt="image"
src="https://github.com/user-attachments/assets/cce72dea-822b-46e2-938c-65ec3f4600da"
/>|<img width="599" alt="image"
src="https://github.com/user-attachments/assets/68b344fb-2e75-46b8-9401-9fce08bfb860"
/>|


`Ad` service map

| Before | After |
|--------|------|
|<img width="1469" alt="image"
src="https://github.com/user-attachments/assets/e960a390-4a38-43d5-9445-853ced34bb15"
/>|<img width="1459" alt="image"
src="https://github.com/user-attachments/assets/566e3cf0-3805-4bf2-a511-fffed3480332"
/>|


### How to test
- Connect to an `edge-obl` cluster
- Navigate the Application > Services inventory > Service Map
- Inspect the service map of the `Ad` service

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-03-10 15:57:54 +01:00
Shahzad
4b05bbc955
[Synthetics] Show inspect configuration button always !! (#213619)
## Summary

Just like SLO https://github.com/elastic/kibana/pull/210734

Show inspect configuration button always, there is no point hiding it,
it adds value while debugging.

Also fixed the id being auto generated even for monitor being edited !!

<img width="1724" alt="image"
src="https://github.com/user-attachments/assets/31bd7a68-08d5-4a1e-a5c3-d52f58e793fd"
/>


Changed default format to YAML and added a switch to show as JSON 

<img width="1728" alt="image"
src="https://github.com/user-attachments/assets/7b4ef88e-5f9e-4ec2-a9da-9606c743f3af"
/>


### Testing 

Inspect configuration continue to work as expected.
2025-03-10 15:53:28 +01:00
Krzysztof Kowalczyk
9d07b875e1
[Global Search] Remove keywords weighting penalty (#213359)
## Summary

This PR removes weighting penalty for keywords in Global Search so
they're more likely to show up above term matches.
This PR also adds "ai" keyword to `AI Assistants` plugin so it shows
above results which have "ai" as a letter combination in their name
(which is quite common).

| Before | After |
|-----------------|-----------------|
|![Screenshot 2025-03-06 at 18 12
22](https://github.com/user-attachments/assets/013c3b26-6512-46fe-a875-16a3595cac75)
| ![Screenshot 2025-03-06 at 18 12
02](https://github.com/user-attachments/assets/0524f4a1-8bfc-45c9-b268-a05b2f80e4ff)




Closes: #213197 https://github.com/elastic/kibana-team/issues/904
2025-03-10 15:48:53 +01:00
Francesco Fagnani
a4ce19e02f
docs(synthetics): add test plan (#213535)
Added test plan for synthetics
2025-03-10 15:06:59 +01:00
Kibana Machine
7f8a05f061 skip failing test suite (#212743) 2025-03-11 01:03:32 +11:00
Joey F. Poon
44f072bbe5
[Security Solution] add ai4soc metering (#213388)
## Summary

Adds serverless security AI4SOC add-on metering.
- emits a ai4soc metering usage record with the corresponding tier every
~20 minutes
	- records are unique to the project + hour
	- records are backfilled up to a week
- adds usage record backfill functionality to the shared usage reporting
task


### 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-03-10 22:52:37 +09:00
Stratoula Kalafateli
90a345b21a
[ES|QL] Follow ups on variables (#213040)
## Summary

This PR:

- add an extra information when hovering over a variable
<img width="479" alt="image"
src="https://github.com/user-attachments/assets/331f7faf-89e9-468d-9887-9d58a2f66ff7"
/>

- passes the variables on the fields retrieval endpoint in the editor to
get the fields correctly when there are variables in the query


### 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: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-10 14:45:27 +01:00