Skip to content

[Security AI Assistant][8.19] Fix Elastic Managed LLM connector missing from AI Settings connector dropdown#273423

Merged
jonwalstedt merged 1 commit into
elastic:8.19from
jonwalstedt:fix/elastic-managed-llm-connector-8.19
Jun 16, 2026
Merged

[Security AI Assistant][8.19] Fix Elastic Managed LLM connector missing from AI Settings connector dropdown#273423
jonwalstedt merged 1 commit into
elastic:8.19from
jonwalstedt:fix/elastic-managed-llm-connector-8.19

Conversation

@jonwalstedt

Copy link
Copy Markdown
Contributor

Summary

Fixes the Elastic Managed LLM connector not appearing in the Security → Security AI Settings → Connectors dropdown on 8.19.x deployments.

Root cause

useLoadConnectors filters connectors by actionTypes, a module-level array initialised to ['.bedrock', '.gen-ai', '.gemini']. The .inference action type (used by the Elastic Managed LLM preconfigured connector) is only appended to that array when inferenceEnabled: true is passed as a prop.

SearchAILakeConfigurationsSettingsManagement was calling the hook without that flag, so the connector was silently excluded before even reaching the isInferenceEndpointExists check.

The Observability AI Assistant is unaffected because it uses a completely different hook (useGenAIConnectors) that has no actionTypes gate.

Fix

Pass inferenceEnabled: true to useLoadConnectors in the Security AI Settings component — matching what use_chat_complete.ts and evaluation_settings.tsx already do.

Verification

Confirmed on a Cloud 8.19.x deployment:

  • Before: GET /api/actions/connectors returns the Elastic Managed LLM connector (connector_type_id: ".inference") but the dropdown is empty
  • After: connector appears in the Default AI Connector dropdown immediately

Test plan

  • Deploy to a Cloud 8.19.x environment with EIS enabled (Elastic Managed LLM preconfigured connector present)
  • Navigate to Security → Security AI Settings → Connectors tab
  • Confirm "Elastic Managed LLM" appears in the Default AI Connector dropdown without any workaround

🤖 Generated with Claude Code

…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>
@jonwalstedt jonwalstedt added release_note:fix backport:skip This PR does not require backporting Team:Threat Hunting Security Solution Threat Hunting Team labels Jun 15, 2026
@jonwalstedt jonwalstedt self-assigned this Jun 15, 2026
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

Pinging @elastic/security-threat-hunting (Team:Threat Hunting)

@kibanamachine

Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #85 / Home page feature controls security global all privileges shows all available solutions

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.5MB 9.5MB +20.0B

Page load bundle

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

id before after diff
kbnUiSharedDeps-srcJs 3.6MB 3.6MB +127.0B

cc @jonwalstedt

@jonwalstedt jonwalstedt merged commit d52b106 into elastic:8.19 Jun 16, 2026
82 checks passed
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 release_note:fix Team:Threat Hunting Security Solution Threat Hunting Team v8.19.17

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants