zeek/scripts/base
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
..
files Copy timestamp from file object 2024-05-17 15:03:06 +02:00
frameworks intel: Add indicator_inserted and indicator_removed hooks 2025-05-16 12:02:51 +02:00
misc Parse and store localversion string 2024-04-17 14:17:22 -07:00
packet-protocols Merge remote-tracking branch 'origin/topic/timw/vntag-in-vlan' 2025-03-18 16:18:13 -07:00
protocols Update mozilla-ca-list.zeek and ct-list.zeek to NSS 3.109 2025-03-18 17:59:01 -07:00
utils Clarify membership in the Site::private_address_space prefix list. [skip ci] 2024-05-04 11:21:26 -07:00
init-bare.zeek Merge remote-tracking branch 'origin/topic/awelzel/3936-pop3-and-redis' 2024-09-23 11:12:54 -07:00
init-default.zeek utils: Introduce packages.zeek with can_load() helper 2024-02-22 11:41:50 +01:00
init-frameworks-and-bifs.zeek Add necessary script-land changes 2024-05-31 13:30:31 -07:00
init-supervisor.zeek Establish a separate init script when using the supervisor 2021-07-08 13:12:53 -07:00