Sha256: 5497eea18bf13e1da4830990f7ac78f08757ac4ca5fdee111d39a4e73d995d45

Contents?: true

Size: 909 Bytes

Versions: 4

Compression:

Stored size: 909 Bytes

Contents

Feature: Plain filtering of metadata

Scenario: Metadata is filtered through the default filters
  When I run the service "plain-ruby" with the command "bundle exec ruby filters/default_filters.rb"
  And I wait to receive a request
  Then the request is valid for the error reporting API version "4.0" for the "Ruby Bugsnag Notifier"
  And the event "metaData.filter" matches the JSON fixture in "features/fixtures/plain/json/filters_default_metadata_filters.json"

Scenario: Additional filters can be added to the filter list
  Given I set environment variable "BUGSNAG_META_DATA_FILTERS" to "filter_me"
  When I run the service "plain-ruby" with the command "bundle exec ruby filters/additional_filters.rb"
  And I wait to receive a request
  Then the request is valid for the error reporting API version "4.0" for the "Ruby Bugsnag Notifier"
  And the event "metaData.filter.filter_me" equals "[FILTERED]"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bugsnag-6.15.0 features/plain_features/filters.feature
bugsnag-6.14.0 features/plain_features/filters.feature
bugsnag-6.13.1 features/plain_features/filters.feature
bugsnag-6.13.0 features/plain_features/filters.feature