Skip to content

Filter bot  #569

@sebix

Description

@sebix

During a workshop we collected some feedback on needed filtering possibilities. We now came up with this list of useful comparisons. Could be implemented by an abstract base class and derived specific classes.

I used pseudo code for easier reading.

Generic filter

The filter bot shall support these generic filtering comparisons:

Match any key in the event against a value with these comparison operators:

Ip specific filtering

In particular, the filter bot shall have a derived class "IPAddressFilter" which can compare:
source.ip, destination.ip, source.network, destination.network against a value with these comparators:

  • ip = '192.0.2.1'
  • ip in '192.0.2.1-192.0.2.10'
  • ip in ['192.0.2.1', '192.0.2.2']
  • ip in '192.0.2.0/24'
  • ip in ['192.0.2.1-192.0.2.10', '192.0.2.100/28']
  • for source.ip and destination.ip

Time specific filtering:

Again this is a derived class.
Compare time.source, time.observation via:

  • <,>
  • <=,>=
  • ==
  • !=
  • absolute
  • relative

comments appreciated

EDIT 2016-07-18: Added exists
EDIT 2016-09-07: ip-filtering: different entries in lists

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: botsfeatureIndicates new feature requests or new featureshelp wantedIndicates that a maintainer wants help on an issue or pull request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions