zeek/testing/btest/scripts/base/frameworks/intel
Arne Welzel 0e191b25fe intel: Add indicator_inserted and indicator_removed hooks
This change adds two new hooks to the Intel framework that can be used
to intercept added and removed indicators and their type.

These hooks are fairly low-level. One immediate use-case is to count the
number of indicators loaded per Intel::Type and enable and disable the
corresponding event groups of the intel/seen scripts.

I attempted to gauge the overhead and while it's definitely there, loading
a file with ~500k DOMAIN entries takes somewhere around ~0.5 seconds hooks
when populated via the min_data_store store mechanism. While that
doesn't sound great, it actually takes the manager on my system 2.5
seconds to serialize and Cluster::publish() the min_data_store alone
and its doing that serially for every active worker. Mostly to say that
the bigger overhead in that area on the manager doing redundant work
per worker.

Co-authored-by: Mohan Dhawan <mohan@corelight.com>
(cherry picked from commit 3366d81e98ef381d843f6d76628834fdcd622e25)
2025-05-16 12:02:51 +02:00
..
path-prefix Rename all BRO-prefixed environment variables 2019-05-22 00:12:31 -05:00
cluster-indicator-inserted-new-min-store.zeek intel: Add indicator_inserted and indicator_removed hooks 2025-05-16 12:02:51 +02:00
cluster-indicator-inserted.zeek intel: Add indicator_inserted and indicator_removed hooks 2025-05-16 12:02:51 +02:00
cluster-transparency-with-proxy.zeek Simplify btests using cluster_started event. 2023-04-26 20:00:44 +02:00
cluster-transparency.zeek Simplify btests using cluster_started event. 2023-04-26 20:00:44 +02:00
expire-item.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
filter-item.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
input-and-match.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
match-subnet.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
read-file-dist-cluster.zeek Revert "Merge remote-tracking branch 'origin/topic/vern/at-if-analyze'" 2023-05-31 09:20:33 +02:00
remove-item-cluster.zeek Simplify btests using cluster_started event. 2023-04-26 20:00:44 +02:00
remove-non-existing.zeek Intel: Introduce Intel::seen_policy() hook 2024-01-25 12:22:47 +01:00
seen-policy.zeek Intel: Introduce Intel::seen_policy() hook 2024-01-25 12:22:47 +01:00
updated-match.zeek Improve an Intel framework btest 2020-08-25 14:36:52 -07:00