[Security AI Assistant][8.19] Fix Elastic Managed LLM connector missing from AI Settings connector dropdown#273423
Merged
jonwalstedt merged 1 commit intoJun 16, 2026
Conversation
…m AI Settings connector dropdown The `useLoadConnectors` hook filters connectors by action type. The `.inference` action type (used by the Elastic Managed LLM preconfigured connector) is only included when `inferenceEnabled: true` is passed. The Security AI Settings page was calling the hook without this flag, causing the connector to be silently excluded from the dropdown. Fixes: connector dropdown showing empty / "You've selected all available options" when Elastic Managed LLM is the only available connector on 8.19.x deployments. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
e40pud
approved these changes
Jun 15, 2026
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
Page load bundle
cc @jonwalstedt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the Elastic Managed LLM connector not appearing in the Security → Security AI Settings → Connectors dropdown on 8.19.x deployments.
Root cause
useLoadConnectorsfilters connectors byactionTypes, a module-level array initialised to['.bedrock', '.gen-ai', '.gemini']. The.inferenceaction type (used by the Elastic Managed LLM preconfigured connector) is only appended to that array wheninferenceEnabled: trueis passed as a prop.SearchAILakeConfigurationsSettingsManagementwas calling the hook without that flag, so the connector was silently excluded before even reaching theisInferenceEndpointExistscheck.The Observability AI Assistant is unaffected because it uses a completely different hook (
useGenAIConnectors) that has noactionTypesgate.Fix
Pass
inferenceEnabled: truetouseLoadConnectorsin the Security AI Settings component — matching whatuse_chat_complete.tsandevaluation_settings.tsxalready do.Verification
Confirmed on a Cloud 8.19.x deployment:
GET /api/actions/connectorsreturns the Elastic Managed LLM connector (connector_type_id: ".inference") but the dropdown is emptyTest plan
🤖 Generated with Claude Code