[Entity Analytics] Showing Add Connector button on entity highlight summary when no AI connectors are available#249932
Conversation
|
Pinging @elastic/security-entity-analytics (Team:Entity Analytics) |
| isLoading: isLoadingConnectors, | ||
| data: aiConnectors, | ||
| refetch: refetchAiConnectors, | ||
| } = useLoadInferenceConnectors({ |
There was a problem hiding this comment.
this removes the dependency from useLoadConnectors and useAssistantContext which are hooks provided by the ai assistant in favor of directly loading inference connectors from the inference plugin.
|
|
||
| const QUERY_KEY = ['entity-analytics', 'load-inference-connectors']; | ||
|
|
||
| export function useLoadInferenceConnectors({ |
There was a problem hiding this comment.
The inference plugin exposes a method getConnectors to call this API, should we use that?
@abhishekbhatia1710 The toast language is controlled by the |
Nope, not a blocking or strong comment from my end. Thanks |
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Module Count
Async chunks
History
cc @ymao1 |

Summary
This PR updates the entity highlight summary to check whether any inference connectors exist.
Add connectorbutton and hide the settings menu since everything in the menu will be disabled except for the ability to add a connectorAdd connectorwill bring up a connector modalGeneratebutton should show.To Verify
kibana.dev.ymlAdd connectorgradient buttonAdd connectorand follow the add connector flowGeneratebutton and be able to click it.Screen.Recording.2026-01-21.at.3.02.08.PM.mov