- Add filters to include and exclude strings
- Use filters to include and exclude sessions (user and databases supported)
- Add tests to filters and terminator
Signed-off-by: Julien Riou <julien@riou.xyz>
When a session User matches the exclude-users-regex pattern, it is
probably not found in exclude-users list.
The current OR condition makes the user filtered.
We expect a AND condition here (user not in exclude-users AND not in
exclude-users-regex)
Signed-off-by: Nicolas Payart <npayart@gmail.com>