zeek/testing/btest/scripts/base/frameworks
Seth Hall 2d85ab9818 Duplicate notice suppression.
- Duplicate notices are discovered with the new Notice::Info
  field $identifier.  It's a string that is left up to the
  notice implementor to define which would indicate a
  fundamentally duplicate notice.  The field is optional and
  if it's not included it's not possible for notice
  suppression to take place.

- Duplicate notices are suppressed by default for the interval
  defined by the Notice::default_suppression_interval variable
  (1 hour by default).

- A new notice action was defined ACTION_NO_SUPPRESS to prevent
  suppression for a specific notice instance.  A convenience set
  named not_suppressed_types was also created to not suppress
  entire notice types.

- A new field was added to the PolicyItem type to modify the length
  of time a notice should be suppressed if the predicate matches.
  The field is named $suppress_for.  This name makes the code more
  readable like this: $suppress_for = 1day

- New events were created to give visibility into the notice
  framework's suppression activity.
  - event Notice::begin_suppression(n: Notice::Info)
  - event Notice::suppressed(n: Notice::Info)
  - event Notice::end_suppression(n: Notice::Info)

- The suppression.bro script doesn't have a baseline because
  it is causing a segfault in Bro.  This one test is the
  reason that this is being integrated into a branch instead
  of master.
2011-09-11 08:44:48 -04:00
..
cluster Reorganizing btest/policy directory to match new scripts/ organization 2011-08-11 10:43:11 -05:00
control Reorganizing btest/policy directory to match new scripts/ organization 2011-08-11 10:43:11 -05:00
intel Reorganizing btest/policy directory to match new scripts/ organization 2011-08-11 10:43:11 -05:00
logging Merge remote branch 'origin/topic/jsiwek/ascii-log-rotate-fix' 2011-09-04 09:00:28 -07:00
metrics Fixing an accidently abandoned test. 2011-08-25 16:53:39 -04:00
notice Duplicate notice suppression. 2011-09-11 08:44:48 -04:00
packet-filter Add a Reporter::fatal BIF. 2011-08-25 13:13:39 -05:00
software Reorganizing btest/policy directory to match new scripts/ organization 2011-08-11 10:43:11 -05:00