[RAC][Security Solution] Register Security Detection Rules with Rule Registry#96015
[RAC][Security Solution] Register Security Detection Rules with Rule Registry#96015spong merged 63 commits intoelastic:masterfrom
Conversation
|
After playing around in here, I'd suggest a couple of new rule type factories: |
d47bc97 to
1ab31aa
Compare
|
Pinging @elastic/security-solution (Team: SecuritySolution) |
|
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
justinkambic
left a comment
There was a problem hiding this comment.
Unsure why @elastic/uptime was pinged, but I have built this locally and all appears well with our products, and none of the files in the diff are owned by my team.
LGTM
smith
left a comment
There was a problem hiding this comment.
👍🏻 from me once the APM change is reverted.
...ns/security_solution/server/lib/detection_engine/signals/threshold/find_threshold_signals.ts
Show resolved
Hide resolved
…DEFAULT_ALERT_INDEX on plugin start
…uery alerts as data index if configured
💚 Build SucceededMetrics [docs]Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
References to deprecated APIs
History
To update your PR or re-run it, just comment with: |
💔 Backport failed
To backport manually run: |
Summary
This PR starts the migration of the Security Solution rules to use the rule-registry introduced in #95903. This is a pathfinding effort in porting over the existing Security Solution rules, and may include some temporary reference rules for testing out different paradigms as we move the rules over. See #95735 for details
Enable via the following feature flags in your
kibana.dev.yml:Three reference rule types have been added (
query,eql,threshold), along with scripts for creating them located in:Main Detection page TGrid queries have been short-circuited to query
.alerts-security-solution*for displaying alerts from the new alerts as data indices.To test, checkout, enable the above feature flag(s), and run one of the scripts from the above directory, e.g.
./create_reference_rule_query.sh(ensure your ENV vars as set! :)Alerts as data within the main Detection Page 🎉
cc @madirey @dgieselaar @pmuellr @yctercero @dhurley14 @marshallmain