Skip to content

[8.19] [Security Solution] [AI Assistant] Remove advanced esql generation feature flag (#226740)#227449

Merged
KDKHD merged 1 commit intoelastic:8.19from
KDKHD:backport/8.19/pr-226740
Jul 11, 2025
Merged

[8.19] [Security Solution] [AI Assistant] Remove advanced esql generation feature flag (#226740)#227449
KDKHD merged 1 commit intoelastic:8.19from
KDKHD:backport/8.19/pr-226740

Conversation

@KDKHD
Copy link
Member

@KDKHD KDKHD commented Jul 10, 2025

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

…ature flag (elastic#226740)

## Summary

Summarize your PR. If it involves visual changes include a screenshot or
gif.

Remove feature flag for advanced ESQL generation. This will enable ESQL
generation with validation in the Security AI assistant.

### 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]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [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] 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)
- [X] 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.
- [X] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [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)
- [X] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

### 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: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
(cherry picked from commit 2928bdf)

# Conflicts:
#	x-pack/platform/packages/shared/kbn-elastic-assistant-common/impl/capabilities/index.ts
@KDKHD KDKHD requested a review from kibanamachine as a code owner July 10, 2025 13:39
@KDKHD KDKHD added the backport This PR is a backport of another PR label Jul 10, 2025
@KDKHD KDKHD enabled auto-merge (squash) July 10, 2025 13:39
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Page load bundle

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

id before after diff
elasticAssistant 264.3KB 264.3KB -26.0B
securitySolution 85.8KB 85.7KB -26.0B
total -52.0B

@KDKHD KDKHD merged commit 6ef13f8 into elastic:8.19 Jul 11, 2025
11 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.

3 participants