[GenAi] Clean up default LLM setting feature flag.#242543
[GenAi] Clean up default LLM setting feature flag.#242543KDKHD merged 10 commits intoelastic:mainfrom
Conversation
|
/ci |
| settings.SECURITY_SOLUTION_DEFAULT_VALUE_REPORT_MINUTES, | ||
| settings.SECURITY_SOLUTION_DEFAULT_VALUE_REPORT_RATE, | ||
| settings.SECURITY_SOLUTION_DEFAULT_VALUE_REPORT_TITLE, |
There was a problem hiding this comment.
@stephmilovic, while cleaning up x-pack/solutions/security/plugins/security_solution_serverless/server/plugin.ts and removing the old default llm setting, I noticed that the other value report settings were not whitelisted in here. Were these intentionally not whitelisted before?
| uiSettings.register(orderSettings(securityUiSettings)); | ||
| }; | ||
|
|
||
| export const getDefaultAIConnectorSetting = ( |
There was a problem hiding this comment.
The old default LLM setting has been replaced with the global one.
|
@elasticmachine merge upstream |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
## Summary Summarize your PR. If it involves visual changes include a screenshot or gif. Removes the `aiAssistant.defaultLlmSettingEnabled` feature flag and associated cleanup. ### Changes - **Removed feature flag**: Deleted `AI_ASSISTANT_DEFAULT_LLM_SETTING_ENABLED` and `AI_ASSISTANT_DEFAULT_LLM_SETTING_ENABLED_VALUE` constants from both `gen_ai_settings` and `security_solution` plugins - **Simplified code**: Removed all feature flag checks - now always uses the new default connector behavior - **Centralized constants**: Moved `DEFAULT_VALUE_REPORT_*` settings to `@kbn/management-settings-ids` package to avoid duplication - **Fixed serverless**: Added value report settings to `SECURITY_PROJECT_SETTINGS` whitelist and removed unnecessary async wrapper in `security_solution_serverless` plugin - Serverless settings properly whitelisted for value report features ### 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 2c75d4f) # Conflicts: # x-pack/solutions/security/plugins/security_solution_serverless/tsconfig.json
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
## Summary Summarize your PR. If it involves visual changes include a screenshot or gif. Removes the `aiAssistant.defaultLlmSettingEnabled` feature flag and associated cleanup. ### Changes - **Removed feature flag**: Deleted `AI_ASSISTANT_DEFAULT_LLM_SETTING_ENABLED` and `AI_ASSISTANT_DEFAULT_LLM_SETTING_ENABLED_VALUE` constants from both `gen_ai_settings` and `security_solution` plugins - **Simplified code**: Removed all feature flag checks - now always uses the new default connector behavior - **Centralized constants**: Moved `DEFAULT_VALUE_REPORT_*` settings to `@kbn/management-settings-ids` package to avoid duplication - **Fixed serverless**: Added value report settings to `SECURITY_PROJECT_SETTINGS` whitelist and removed unnecessary async wrapper in `security_solution_serverless` plugin - Serverless settings properly whitelisted for value report features ### 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 2c75d4f) # Conflicts: # src/platform/packages/shared/kbn-management/settings/setting_ids/index.ts # src/platform/packages/shared/serverless/settings/security_project/index.ts # x-pack/platform/plugins/private/gen_ai_settings/public/components/gen_ai_settings_app.test.tsx # x-pack/platform/plugins/private/gen_ai_settings/public/components/gen_ai_settings_app.tsx # x-pack/solutions/security/plugins/security_solution/common/constants.ts # x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_default_ai_connector_id.test.ts # x-pack/solutions/security/plugins/security_solution/public/reports/components/ai_value/executive_summary.tsx # x-pack/solutions/security/plugins/security_solution/public/reports/components/ai_value/index.test.tsx # x-pack/solutions/security/plugins/security_solution/public/reports/components/ai_value/index.tsx # x-pack/solutions/security/plugins/security_solution/server/ui_settings.ts # x-pack/solutions/security/plugins/security_solution/tsconfig.json # x-pack/solutions/security/plugins/security_solution_serverless/server/plugin.ts # x-pack/solutions/security/plugins/security_solution_serverless/tsconfig.json
## Summary Summarize your PR. If it involves visual changes include a screenshot or gif. Removes the `aiAssistant.defaultLlmSettingEnabled` feature flag and associated cleanup. ### Changes - **Removed feature flag**: Deleted `AI_ASSISTANT_DEFAULT_LLM_SETTING_ENABLED` and `AI_ASSISTANT_DEFAULT_LLM_SETTING_ENABLED_VALUE` constants from both `gen_ai_settings` and `security_solution` plugins - **Simplified code**: Removed all feature flag checks - now always uses the new default connector behavior - **Centralized constants**: Moved `DEFAULT_VALUE_REPORT_*` settings to `@kbn/management-settings-ids` package to avoid duplication - **Fixed serverless**: Added value report settings to `SECURITY_PROJECT_SETTINGS` whitelist and removed unnecessary async wrapper in `security_solution_serverless` plugin - Serverless settings properly whitelisted for value report features ### 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 2c75d4f) # Conflicts: # src/platform/packages/shared/kbn-management/settings/setting_ids/index.ts # src/platform/packages/shared/serverless/settings/security_project/index.ts # x-pack/platform/plugins/private/gen_ai_settings/public/components/gen_ai_settings_app.test.tsx # x-pack/platform/plugins/private/gen_ai_settings/public/components/gen_ai_settings_app.tsx # x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_default_ai_connector_id.test.ts # x-pack/solutions/security/plugins/security_solution/public/common/hooks/use_default_ai_connector_id.ts # x-pack/solutions/security/plugins/security_solution/public/flyout/ai_for_soc/components/connector_missing_callout.test.tsx # x-pack/solutions/security/plugins/security_solution/public/flyout/ai_for_soc/components/connector_missing_callout.tsx # x-pack/solutions/security/plugins/security_solution/public/reports/components/ai_value/executive_summary.tsx # x-pack/solutions/security/plugins/security_solution/public/reports/components/ai_value/index.test.tsx # x-pack/solutions/security/plugins/security_solution/public/reports/components/ai_value/index.tsx # x-pack/solutions/security/plugins/security_solution/server/ui_settings.ts # x-pack/solutions/security/plugins/security_solution/tsconfig.json # x-pack/solutions/security/plugins/security_solution_serverless/server/plugin.ts # x-pack/solutions/security/plugins/security_solution_serverless/tsconfig.json
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
…243234) # Backport This will backport the following commits from `main` to `9.2`: - [[GenAi] Clean up default LLM setting feature flag. (#242543)](#242543) <!--- Backport version: 10.2.0 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Kenneth Kreindler","email":"42113355+KDKHD@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-11-17T15:35:04Z","message":"[GenAi] Clean up default LLM setting feature flag. (#242543)\n\n## Summary\n\nSummarize your PR. If it involves visual changes include a screenshot or\ngif.\n\nRemoves the `aiAssistant.defaultLlmSettingEnabled` feature flag and\nassociated cleanup.\n\n### Changes\n\n- **Removed feature flag**: Deleted\n`AI_ASSISTANT_DEFAULT_LLM_SETTING_ENABLED` and\n`AI_ASSISTANT_DEFAULT_LLM_SETTING_ENABLED_VALUE` constants from both\n`gen_ai_settings` and `security_solution` plugins\n- **Simplified code**: Removed all feature flag checks - now always uses\nthe new default connector behavior\n- **Centralized constants**: Moved `DEFAULT_VALUE_REPORT_*` settings to\n`@kbn/management-settings-ids` package to avoid duplication\n- **Fixed serverless**: Added value report settings to\n`SECURITY_PROJECT_SETTINGS` whitelist and removed unnecessary async\nwrapper in `security_solution_serverless` plugin\n- Serverless settings properly whitelisted for value report features\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [X] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [X]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas added for features that require explanation or tutorials\n- [X] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [X] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud and added to the [docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n- [X] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\n`release_note:breaking` label should be applied in these situations.\n- [X] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [X] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n- [X] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this PR introduce any risks? For example, consider risks like hard\nto test bugs, performance regression, potential of data loss.\n\nDescribe the risk, its severity, and mitigation for each identified\nrisk. Invite stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See some risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n- [ ] ...\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"2c75d4f550dc5a8308d291e542a8728296ed7d4e","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.1.0","v8.19.0","v9.2.0","v9.3.0"],"title":"[GenAi] Clean up default LLM setting feature flag.","number":242543,"url":"https://github.com/elastic/kibana/pull/242543","mergeCommit":{"message":"[GenAi] Clean up default LLM setting feature flag. (#242543)\n\n## Summary\n\nSummarize your PR. If it involves visual changes include a screenshot or\ngif.\n\nRemoves the `aiAssistant.defaultLlmSettingEnabled` feature flag and\nassociated cleanup.\n\n### Changes\n\n- **Removed feature flag**: Deleted\n`AI_ASSISTANT_DEFAULT_LLM_SETTING_ENABLED` and\n`AI_ASSISTANT_DEFAULT_LLM_SETTING_ENABLED_VALUE` constants from both\n`gen_ai_settings` and `security_solution` plugins\n- **Simplified code**: Removed all feature flag checks - now always uses\nthe new default connector behavior\n- **Centralized constants**: Moved `DEFAULT_VALUE_REPORT_*` settings to\n`@kbn/management-settings-ids` package to avoid duplication\n- **Fixed serverless**: Added value report settings to\n`SECURITY_PROJECT_SETTINGS` whitelist and removed unnecessary async\nwrapper in `security_solution_serverless` plugin\n- Serverless settings properly whitelisted for value report features\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [X] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [X]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas added for features that require explanation or tutorials\n- [X] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [X] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud and added to the [docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n- [X] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\n`release_note:breaking` label should be applied in these situations.\n- [X] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [X] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n- [X] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this PR introduce any risks? For example, consider risks like hard\nto test bugs, performance regression, potential of data loss.\n\nDescribe the risk, its severity, and mitigation for each identified\nrisk. Invite stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See some risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n- [ ] ...\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"2c75d4f550dc5a8308d291e542a8728296ed7d4e"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19","9.2"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/242543","number":242543,"mergeCommit":{"message":"[GenAi] Clean up default LLM setting feature flag. (#242543)\n\n## Summary\n\nSummarize your PR. If it involves visual changes include a screenshot or\ngif.\n\nRemoves the `aiAssistant.defaultLlmSettingEnabled` feature flag and\nassociated cleanup.\n\n### Changes\n\n- **Removed feature flag**: Deleted\n`AI_ASSISTANT_DEFAULT_LLM_SETTING_ENABLED` and\n`AI_ASSISTANT_DEFAULT_LLM_SETTING_ENABLED_VALUE` constants from both\n`gen_ai_settings` and `security_solution` plugins\n- **Simplified code**: Removed all feature flag checks - now always uses\nthe new default connector behavior\n- **Centralized constants**: Moved `DEFAULT_VALUE_REPORT_*` settings to\n`@kbn/management-settings-ids` package to avoid duplication\n- **Fixed serverless**: Added value report settings to\n`SECURITY_PROJECT_SETTINGS` whitelist and removed unnecessary async\nwrapper in `security_solution_serverless` plugin\n- Serverless settings properly whitelisted for value report features\n\n### Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers should verify this PR satisfies this list as well.\n\n- [X] Any text added follows [EUI's writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\nsentence case text and includes [i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n- [X]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas added for features that require explanation or tutorials\n- [X] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [X] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud and added to the [docker\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\n- [X] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\n`release_note:breaking` label should be applied in these situations.\n- [X] [Flaky Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\nused on any tests changed\n- [X] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n- [X] Review the [backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand apply applicable `backport:*` labels.\n\n### Identify risks\n\nDoes this PR introduce any risks? For example, consider risks like hard\nto test bugs, performance regression, potential of data loss.\n\nDescribe the risk, its severity, and mitigation for each identified\nrisk. Invite stakeholders and evaluate how to proceed before merging.\n\n- [ ] [See some risk\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\n- [ ] ...\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>","sha":"2c75d4f550dc5a8308d291e542a8728296ed7d4e"}}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Garrett Spong <spong@users.noreply.github.com>
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
7 similar comments
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
## Summary Summarize your PR. If it involves visual changes include a screenshot or gif. Removes the `aiAssistant.defaultLlmSettingEnabled` feature flag and associated cleanup. ### Changes - **Removed feature flag**: Deleted `AI_ASSISTANT_DEFAULT_LLM_SETTING_ENABLED` and `AI_ASSISTANT_DEFAULT_LLM_SETTING_ENABLED_VALUE` constants from both `gen_ai_settings` and `security_solution` plugins - **Simplified code**: Removed all feature flag checks - now always uses the new default connector behavior - **Centralized constants**: Moved `DEFAULT_VALUE_REPORT_*` settings to `@kbn/management-settings-ids` package to avoid duplication - **Fixed serverless**: Added value report settings to `SECURITY_PROJECT_SETTINGS` whitelist and removed unnecessary async wrapper in `security_solution_serverless` plugin - Serverless settings properly whitelisted for value report features ### 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>
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
2 similar comments
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
Summary
Summarize your PR. If it involves visual changes include a screenshot or gif.
Removes the
aiAssistant.defaultLlmSettingEnabledfeature flag and associated cleanup.Changes
AI_ASSISTANT_DEFAULT_LLM_SETTING_ENABLEDandAI_ASSISTANT_DEFAULT_LLM_SETTING_ENABLED_VALUEconstants from bothgen_ai_settingsandsecurity_solutionpluginsDEFAULT_VALUE_REPORT_*settings to@kbn/management-settings-idspackage to avoid duplicationSECURITY_PROJECT_SETTINGSwhitelist and removed unnecessary async wrapper insecurity_solution_serverlesspluginChecklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
release_note:breakinglabel should be applied in these situations.release_note:*label is applied per the guidelinesbackport:*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.