[Security Solution] Alternative mechanism for distributing prebuilt rules #187649
Labels
Feature:Prebuilt Detection Rules
Security Solution Prebuilt Detection Rules area
needs product
Team:Detection Rule Management
Security Detection Rule Management Team
Team:Detections and Resp
Security Detection Response Team
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Epics: https://github.com/elastic/security-team/issues/1974 (internal), #174168
NOTE: This might be converted to an epic when we have more understanding of the scope and requirements.
Summary
Recently we had an incident in Serverless where Kibana instances would crash with an OOM because of an installation of the
security_detection_engine
Fleet package that Security Solution uses to distribute prebuilt detection rules. Fleet loads whole packages into memory before installing their assets, and this package had become too big for that. The incident has been mitigated by temporarily decreasing the number of assets in the package by ~50%.Mid-term measures for the 8.16 release cycle will be stream-based package installation and smart limits for it.
As a long-term measure, we should consider moving away from Fleet as a mechanism for distributing prebuilt rules. Such a mechanism should support Out-Of-Band rule updates decoupled from Kibana releases.
Ideas
The text was updated successfully, but these errors were encountered: