IDR Custom Alerts now support the latest LEQL features used in log search queries!! Prior to this regex was needed in order to create more advanced custom alerts…well not anymore! With the LEQL operators, you can now easily create those custom alerts without having to re-write your regex!!
Example Query Before Change:
where(signature=/.*brute force.*/i AND (source_ip!=/0\..*|10\..*|127\..*|172\..*|192\.168\..*/))
This would work in log search and custom alerting as its regex based.
After Change:
where(signature contains "brute force" and (source_ip not starts-with-any [0, 10, 127, 172, 192, 168]))
Instead of relying on regex, the equivalent above query can be represented using LEQL operators. Check out the updated documentation below:
https://docs.rapid7.com/insightidr/use-a-search-language/#operators
https://docs.rapid7.com/insightidr/create-and-manage-custom-alerts/