v12 - fix(soc-ai): update capability group prefixes to match backend MCP tool names#2301
Merged
Kbayero merged 2 commits intoJul 1, 2026
Merged
Conversation
🛑 AI review — Engineer review requiredThis PR touches critical paths or introduces changes the model cannot judge with sufficient confidence. @Kbayero @osmontero please review. 🛑
|
Kbayero
approved these changes
Jul 1, 2026
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.
Descripción:
Closes #2300
What
The
capabilityGroupsmap in the soc-ai plugin had stale prefixes for thecorrelationanddashboardsgroups that didn't match the actual MCP toolnames registered by the backend.
Why it broke
groupOf()extracts the segment before the first.from a tool name:correlation_rule.create→ prefixcorrelation_rulefilter.create→ prefixfilterThe old prefixes (
eventprocessing,event_processing) matched nothing,so every mutating tool in the correlation group was silently filtered out.
The LLM never received those tools and correctly reported it had no permission
to create/update/delete correlation rules.
Changes
plugins/soc-ai/internal/agent/groups.gocorrelationprefixes:eventprocessing,event_processing→correlation_rule,regex_pattern,tenant_config,filter. Extendeddashboardswithvisualizations,dashboard_layouts.Test plan
correlationcapability in Settings → SOC-AI