Skip to content

[9.4] [EA] Add Chat-First experience to Entity Analytics (#264985)#265572

Merged
hop-dev merged 3 commits intoelastic:9.4from
hop-dev:backport/9.4/pr-264985
Apr 24, 2026
Merged

[9.4] [EA] Add Chat-First experience to Entity Analytics (#264985)#265572
hop-dev merged 3 commits intoelastic:9.4from
hop-dev:backport/9.4/pr-264985

Conversation

@hop-dev
Copy link
Copy Markdown
Contributor

@hop-dev hop-dev commented Apr 24, 2026

Backport

This will backport the following commits from main to 9.4:

Questions ?

Please refer to the Backport tool documentation

Note: This is a combined work of
elastic#264849 and
elastic#264939

## Summary

Introduces a rich visual renderer for `security.entity` attachments in
Agent Builder, gated behind the `entityAttachmentRichRenderer`
experimental flag.

Key changes:
- Supports both single-entity (card) and multi-entity (table) payload
shapes in the UI and server-side validation.
- Updates the `security.get_entity` tool to automatically persist a
`security.entity` attachment as a side effect when a single entity is
resolved.

## Screenshots

### Entity Analytics Table Attachment

<img width="601" height="665" alt="image"
src="https://github.com/user-attachments/assets/08502c67-fb5a-4143-96d1-03a445b5fc7d"
/>

### Entity Analytics Card Attachment

<img width="668" height="699" alt="image"
src="https://github.com/user-attachments/assets/f83fb6ab-138b-493e-9f19-9facbd533138"
/>

### Entity Analytics Dashboard Attachment

<img width="1221" height="826" alt="image"
src="https://github.com/user-attachments/assets/dd300123-e72d-4979-8b49-ee855fb5bfbc"
/>

---------

Co-authored-by: YulNaumenko <jo.naumenko@gmail.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: jaredburgettelastic <jared.burgett@elastic.co>
(cherry picked from commit bd98c9f)

# Conflicts:
#	x-pack/solutions/security/plugins/security_solution/moon.yml
#	x-pack/solutions/security/plugins/security_solution/public/plugin.tsx
#	x-pack/solutions/security/plugins/security_solution/tsconfig.json
@hop-dev hop-dev added the backport This PR is a backport of another PR label Apr 24, 2026
@hop-dev hop-dev requested a review from kibanamachine as a code owner April 24, 2026 15:39
@hop-dev hop-dev enabled auto-merge (squash) April 24, 2026 15:39
hop-dev and others added 2 commits April 24, 2026 17:00
The workflows/step_types module was added to main in a separate commit
that was not part of this backport. Drop the unused import to fix the
TypeScript build error.

Made-with: Cursor
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
securitySolution 9325 9351 +26

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 11.8MB 12.0MB +158.0KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
elasticAssistant 266.0KB 266.2KB +188.0B
securitySolution 151.1KB 146.3KB -4.8KB
total -4.6KB
Unknown metric groups

API count

id before after diff
@kbn/elastic-assistant 210 211 +1

async chunk count

id before after diff
securitySolution 98 107 +9

ESLint disabled in files

id before after diff
securitySolution 105 104 -1

References to deprecated APIs

id before after diff
securitySolution 543 545 +2

Total ESLint disabled count

id before after diff
securitySolution 858 857 -1

Unreferenced deprecated APIs

id before after diff
securitySolution 543 545 +2

History

@hop-dev hop-dev merged commit 438da62 into elastic:9.4 Apr 24, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants