elastic / detection-rules

https://www.elastic.co/guide/en/security/current/detection-engine-overview.html
Other
1.92k stars 492 forks source link

[Rule Tuning] Simple KQL to EQL Conversion #3948

Closed w0rk3r closed 2 months ago

w0rk3r commented 2 months ago

Issues

Resolves #3392

Summary - What I changed

Converts some KQL queries to EQL (in rules that don't benefit from it like new_terms/threshold) to simplify rule tunings and solve case sensitiveness problems.

How To Test

Copy and paste the query in the SDE cluster removing the event.code for the AD ones.

protectionsmachine commented 2 months ago

Rule: Tuning - Guidelines

These guidelines serve as a reminder set of considerations when tuning an existing rule.

Documentation and Context

Rule Metadata Checks

Testing and Validation