Skip to content

[Agent Builder] Dashboard skill: Guard against editing non-ESQL based panels#260714

Merged
rbrtj merged 2 commits intoelastic:mainfrom
rbrtj:agent-builder/guard-editing-non-esql-based-charts
Apr 2, 2026
Merged

[Agent Builder] Dashboard skill: Guard against editing non-ESQL based panels#260714
rbrtj merged 2 commits intoelastic:mainfrom
rbrtj:agent-builder/guard-editing-non-esql-based-charts

Conversation

@rbrtj
Copy link
Copy Markdown
Contributor

@rbrtj rbrtj commented Apr 1, 2026

Summary

Resolves #259707

  • Updated dashboard management skill prompts to distinguish between ESQL and non ESQL backed panels
  • edit_visualization_panels is now explicitly scoped to ESQL Based lens panels only
  • The agent must inform the user and ask for confirmation before replacing a non-ESQL panel with a new ESQL based lens panel.

@rbrtj rbrtj self-assigned this Apr 1, 2026
@rbrtj rbrtj marked this pull request as ready for review April 1, 2026 13:40
@rbrtj rbrtj requested a review from a team as a code owner April 1, 2026 13:40
@rbrtj rbrtj added :ml release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:ML Team label for ML (also use :ml) t// v9.4.0 labels Apr 1, 2026
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ml-ui (:ml)

@rbrtj rbrtj merged commit 9f08b9b into elastic:main Apr 2, 2026
18 checks passed
mbondyra added a commit to mbondyra/kibana that referenced this pull request Apr 2, 2026
…heck

* commit 'af66aadafa7470ca8ba3e3edd3793bde81fa4596': (31 commits)
  [Scout] Update test config manifests (elastic#260850)
  [SLO]: register alerts schema embeddable (elastic#256570)
  [Discover][Flyout] Update overview fields table with new prop headerVisibility set to false (elastic#260692)
  [AiButton/Security] Migrate ai-related buttons to use custom styles (elastic#259847)
  [One Workflow] Fix connector step icons falling back to generic plugs in YAML editor (elastic#260785)
  [Agent Builder] Dashboard skill: Guard against editing non-ESQL based panels (elastic#260714)
  Security quality gate Cypress cleanup - Periodic Pipeline (elastic#260820)
  [Search] Deprecate search indices in favour of index management (elastic#260210)
  Upgrade dependency @elastic/charts to v71.4.0 (elastic#260593)
  [Security Solution] [HDQ]: integration-based targeting and descriptor versioning (elastic#258418)
  docs(saved-objects): consolidate docs and document scoped vs system client (elastic#260743)
  Fix observability UIAM config and add CPS observability variant (elastic#260485)
  [Security Solution] Add "matched_indices_count" rule execution metric (elastic#259938)
  [SigEvents] Add callout with working promote action. (elastic#260433)
  [Alerting V2] Episode table actions (elastic#260195)
  [Automatic Migration] Add ability to skip Reference Set step in QRadar upload workflow (elastic#259959)
  [Rules] KQL-to-DSL conversion without data view produces incorrect queries for keyword fields for Metric threshold rule (elastic#260046)
  Update dependency lightningcss to v1.32.0 (main) (elastic#259017)
  Update postcss (main) (elastic#255420)
  Migrate server-side apm.addLabels to OTel dual-write helpers (elastic#259619)
  ...
paulinashakirova pushed a commit to paulinashakirova/kibana that referenced this pull request Apr 2, 2026
… panels (elastic#260714)

## Summary

- Updated dashboard management skill prompts to distinguish between ESQL
and non ESQL backed panels
- `edit_visualization_panels` is now explicitly scoped to ESQL Based
lens panels only
- The agent must inform the user and ask for confirmation before
replacing a non-ESQL panel with a new ESQL based lens panel.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting :ml release_note:skip Skip the PR/issue when compiling release notes Team:ML Team label for ML (also use :ml) t// v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Dashboards in chat] Don't allow the Agent to edit DSL and other types of charts

3 participants