zeek/scripts
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
..
base intel: Add indicator_inserted and indicator_removed hooks 2025-05-16 12:02:51 +02:00
policy Merge branch 'topic/mohan/intel-event-groups' of https://github.com/Mohan-Dhawan/zeek 2025-05-16 11:57:00 +02:00
site telemetry: Deprecate prometheus.zeek policy script 2024-07-23 10:05:46 +02:00
spicy Spicy: Provide runtime API to access Zeek-side globals. 2024-06-20 12:02:54 +02:00
zeekygen test-all-policy: Do not load iso-9660.zeek 2024-02-26 17:58:26 +01:00
CMakeLists.txt Use the same rules as cmake submodule to reformat Zeek 2023-05-09 08:31:43 -07:00
test-all-policy.zeek test-all-policy: Do not load iso-9660.zeek 2024-02-26 17:58:26 +01:00