Crate relay_filter

source ·
Expand description

Implements event filtering.

Events may be filtered base on the following configurable criteria.

  • localhost (filter events originating from the local machine)
  • browser extensions (filter events caused by known problematic browser extensions)
  • web crawlers (filter events sent by user agents known to be web crawlers)
  • legacy browsers (filter events originating from legacy browsers, can be configured)

Re-exports

Modules

  • Implements filtering for events caused by problematic browsers extensions.
  • Implements event filtering based on the client ip address.
  • Implements event filtering for events originating from CSP endpoints
  • Implements event filtering based on the error message
  • Implements generic filtering based on the [RuleCondition] DSL.
  • Implements filtering for events originating from legacy browsers.
  • Implements filtering for events originating from the localhost
  • Implements event filtering based on whether the endpoint called is a healthcheck endpoint.
  • Filters events coming from user agents known to be web crawlers.

Structs

Enums

  • Identifies which filter dropped an event for which reason.
  • A browser class to be filtered by the legacy browser filter.

Functions

  • Checks whether an event should be filtered for a particular configuration.