kibana icon indicating copy to clipboard operation
kibana copied to clipboard

[EDR Workflows]Automatic troubleshooting usage callout

Open szwarckonrad opened this issue 6 months ago β€’ 2 comments

Tracks https://github.com/elastic/kibana/pull/221566 Closes https://github.com/elastic/security-team/issues/12824

With this change, whenever a user selects the Elastic LLM connector within the Automatic Troubleshooting feature, they'll see a callout informing them about the potential costs of using it. Once the callout is acknowledged, it will be dismissed and the closed state will be stored in local storage, so it won’t appear again on future visits.

To enable EIS locally:

export VAULT_ADDR=https://secrets.elastic.co:8200/
vault login --method=oidc
node scripts/eis.js

and run ES server with provided env + start kibana with .dev.yaml entry from the output of the command above.

https://github.com/user-attachments/assets/51a2ce77-ed25-4611-9d62-72e9d09bb789

szwarckonrad avatar Jun 16 '25 09:06 szwarckonrad

Pinging @elastic/security-defend-workflows (Team:Defend Workflows)

elasticmachine avatar Jun 16 '25 14:06 elasticmachine

@angorayc

Thanks for adding the tour! It just fallback to default when it is part of localstorage key can really cause a problem. I'd recommend not to render relevant component when spaceId is not available. https://github.com/elastic/kibana/pull/224030/files#diff-cdae15c1cd82b4489da67cded901d3bad7fa75e7fa9b0895de2d05c8ceefd819R46

Thanks, that makes sense. Changed.

szwarckonrad avatar Jun 16 '25 16:06 szwarckonrad

:green_heart: Build Succeeded

Metrics [docs]

Async chunks

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

id before after diff
securitySolution 9.3MB 9.3MB +369.0B

History

  • :broken_heart: Build #308906 failed c3dbff75708a3265ad835c40233d377a82e914b0

cc @szwarckonrad

elasticmachine avatar Jun 16 '25 18:06 elasticmachine

Starting backport for target branches: 9.0

https://github.com/elastic/kibana/actions/runs/15702592295

kibanamachine avatar Jun 17 '25 08:06 kibanamachine

πŸ’” All backports failed

Status Branch Result
❌ 9.0 Backport failed because of merge conflicts

You might need to backport the following PRs to 9.0:
- [Security Assistant] EIS usage callout (#221566)

Manual backport

To create the backport manually run:

node scripts/backport --pr 224030

Questions ?

Please refer to the Backport tool documentation

kibanamachine avatar Jun 17 '25 08:06 kibanamachine

πŸ’š All backports created successfully

Status Branch Result
βœ… 9.0

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

szwarckonrad avatar Jun 17 '25 14:06 szwarckonrad