-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Description
Describe the bug:
When all integrations are removed from an AI for SOC project, the Alerts page is cleared (as expected). However, if the user reinstalls only one of the previous integrations, the Alerts page unexpectedly displays all alerts, including those from the integrations that are still removed. These unrelated alerts appear with an empty integration field.
Screen.Recording.2025-07-28.at.9.21.57.AM.mov
privateRuleRegistryAlertsSearchStrategy response logs: privateRuleRegistryAlertsSearchStrategy.json.txt
Kibana/Elasticsearch Stack version:
VERSION: 9.2.0
BUILD: 88867
COMMIT: a48f653d01e8a48d9e8d18d804a18cb9ff07744a
Functional Area (e.g. Endpoint management, timelines, resolver, etc.):
AI4SOC Alerts
Steps to reproduce:
- Create an AI for SOC project with 3 integrations:
- SentinelOne
- Microsoft Sentinel
- CrowdStrike
- Generate alerts for all three integrations.
- Delete all 3 integrations from the project.
- Go to the Alerts page:
- ✅ No alerts are shown — expected behavior.
- Reinstall only the CrowdStrike integration.
- Open the Alerts page again:
- ✅ CrowdStrike alerts are correctly displayed with the integration name.
- ❌ Alerts from SentinelOne and Microsoft Sentinel also reappear, even though these integrations are still removed.
Current behavior:
- Alerts from previously deleted integrations resurface after installing one unrelated integration.
- These alerts are incorrectly shown with no integration context.
- The behavior suggests that re-adding any integration triggers loading of all historical alerts, regardless of their origin.
Expected behavior:
Only alerts from currently installed integrations should be displayed after reinstallation.
Any additional context (logs, chat logs, magical formulas, etc.):