[Security Solution] Extend event_log plugin with functionality required for Rule Execution Log #106347
Labels
Feature:EventLog
Feature:RAC
label obsolete
Feature:Rule Management
Security Solution Detection Rule Management area
Team:Detection Rule Management
Security Detection Rule Management Team
Team:Detections and Resp
Security Detection Response Team
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Theme: rac
label obsolete
Parent ticket: #118324
Summary
The Security Solution needs to store rule execution events and metrics to power various rule monitoring workflows. Based on all the previous discussions, we decided that Kibana
event_log
plugin is a good fit for this purpose. We will need to extend it to fully support Security Solution use cases.We anticipate that we will need to be able to execute the following types of queries to event log:
This list is not full or final, we might not need some of these queries, and we might need others. It depends on the final requirements and UX wireframes. What we can see from these types of queries, though, is:
_source
, sorting by multiple fields, etc) on the Security Solution side.event_log
require developers to provide references to at least 1 saved object (in our case it would be at least 1 rule) when fetching from the log, which makes it impossible to execute such queries.We think that
event_log
plugin should be a good fit for these rule monitoring needs but it will need to be extended to provide additional functionality.Requirements
TBD. We will define technical requirements and a proposal for software design in a dedicated RFC for extending
event_log
plugin with RBAC and flexible search API. This section will be updated.Draft:
event_log
, we should be able to execute free-formed Elasticsearch DSL queries. The plugin should provide a flexible.search()
method ideally with the same signature thatElasticsearchClient
exposes.event_log
should support RBAC based on Alerting feature privileges. We should be able to grant those privileges via our existing "Security" feature privileges:Sub-tasks
The text was updated successfully, but these errors were encountered: