Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement protection against user error during filter generation #177

Open
Alex-302 opened this issue Apr 24, 2023 · 0 comments
Open

Implement protection against user error during filter generation #177

Alex-302 opened this issue Apr 24, 2023 · 0 comments
Labels
feature request Request a new feature

Comments

@Alex-302
Copy link
Member

Alex-302 commented Apr 24, 2023

Problem

Currently, the filters compiler allows for accidental and non-obvious mistakes, such as

  • deleting a large number of rules (for example, mistakenly taken as incorrect)
  • adding rules with incorrect regular expressions (catastrophic backtracking).

Proposed solution

To prevent such errors, we need a protection mechanism which will warn us if a significant change in volume occurred during filter building. Also, add a function to test the speed of regular expressions used in the rules (unescaped).

Related to ADG-6782

@Alex-302 Alex-302 added the feature request Request a new feature label Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request a new feature
Projects
None yet
Development

No branches or pull requests

1 participant