[Security Solution][Detections] Implement hybrid approach to writing rule execution event logs#114852
Conversation
|
Pinging @elastic/security-solution (Team: SecuritySolution) |
|
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
banderror
left a comment
There was a problem hiding this comment.
LGTM 👍
Mostly nitpicking, but I left one suggestion for fixing the sum(undefined). I'd ideally fix it this PR, but I could do it in a follow-up myself.
Approving so you could merge at will. Thank you!
There was a problem hiding this comment.
Nit: can be imported as src/core/server or kibana/server. I think kibana/server is stricter in terms of what can be imported for some reason.
There was a problem hiding this comment.
I usually don't write import statements manually. Instead, VS Code adds them automatically. In this case it thinks that '../../../../../../../../src/core/server' is the best place to import SavedObjectsClientContract from, so who am I to argue 🙂
...lution/server/lib/detection_engine/rule_execution_log/event_log_adapter/event_log_adapter.ts
Outdated
Show resolved
Hide resolved
...lution/server/lib/detection_engine/rule_execution_log/event_log_adapter/event_log_adapter.ts
Outdated
Show resolved
Hide resolved
189a085 to
c36aff3
Compare
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: cc @xcrzx |
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
…) (#114955) Co-authored-by: Dmitry Shevchenko <dmshevch@gmail.com>
…mple/introduce-baseline-tests * 'master' of github.com:elastic/kibana: (55 commits) [Fleet] Improve Functionality around Managed Package Policies (elastic#114526) cleanup (elastic#114902) remove stray semicolon (elastic#114969) [Security Solution] Edit host isolation exception IP UI (elastic#114279) [ML] APM Correlations: Round duration values to be used in range aggregations. (elastic#114833) [Index Management] Added `data-test-subj` values to the index context menu buttons (elastic#114900) [Stack monitoring] Fix logstash functional tests for react (elastic#114819) Implement hybrid approach to writing rule execution event logs (elastic#114852) [Detection Rules] Add 7.16 rules (elastic#114939) Fixing exceptions export format (elastic#114920) Clean up inaccurate comments (elastic#114935) chore(NA): fixes a typo on persist_bazel_cache.sh comment (elastic#114943) [ci] Fixes Bazel cache writes (elastic#114915) fix package.json: (elastic#114936) [Controls] Redux Toolkit and Embeddable Redux Wrapper (elastic#114371) [APM] Fixes incorrect index config names (elastic#114901) (elastic#114904) [Workplace Search] Fix button order and remove extra source name label (elastic#114899) [Actions] Fixed actions telemetry for multiple namespaces usage (elastic#114748) docs: fix config names (elastic#114903) Update kibana to EMS 7.16 (elastic#114865) ...
Related to: #106469
Summary
Implement getting statuses and metrics from the legacy rule status SOs via the new EventLogAdapter.