tenzir / public-roadmap

The public roadmap of Tenzir
https://docs.tenzir.com/roadmap
4 stars 0 forks source link

Case-insensitive Strings #127

Open dominiklohmann opened 7 months ago

dominiklohmann commented 7 months ago

Many security use cases require searching with case-insensitive strings. One popular example is Sigma, which uses case-insensitive strings by default. We want to enable this in our language, and have a few options for doing so:

  1. Use a custom literal for case-insensitive comparison, similar to /pattern/i for regular expressions.
  2. Use a custom operator for case-insensitive comparison, e.g., field ~ "string".
  3. Use a custom field type for case-insensitive string values, e.g., istring_type, and make that always compare and index case-insensitively.
### Definition of Done
- [ ] Agree on the approach we want to take
- [ ] Implement the required changes