zeek/testing/btest/scripts/base/frameworks
Arne Welzel 7eb849ddf4 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>
2025-06-02 09:50:48 +02:00
..
analyzer Fix policy/protocols/conn/failed-service-logging.zeek 2025-05-06 13:37:12 +01:00
cluster btest/frameworks/cluster: Use generic cluster-layout.zeek 2025-05-20 20:30:01 +02:00
config btest/frameworks/config: Use generic cluster-layout.zeek 2025-05-20 20:30:01 +02:00
control testing/btest/*zeek: Comment all @TEST lines 2025-04-17 16:30:23 +02:00
file-analysis testing/btest/*zeek: Comment all @TEST lines 2025-04-17 16:30:23 +02:00
input testing/btest: Fix double commented @TEST- lines 2025-05-06 14:06:29 +02:00
intel intel: Add indicator_inserted and indicator_removed hooks 2025-06-02 09:50:48 +02:00
logging logging/ascii/json: Make TS_MILLIS signed, add TS_MILLIS_UNSIGNED 2025-05-30 17:23:29 +02:00
netcontrol btest remaining: Use generic cluster-layout.zeek 2025-05-20 20:30:01 +02:00
notice btest/frameworks/notice: Use generic cluster-layout.zeek 2025-05-20 20:30:01 +02:00
openflow btest remaining: Use generic cluster-layout.zeek 2025-05-20 20:30:01 +02:00
packet-filter General btest cleanup 2020-08-11 11:26:22 -07:00
reporter General btest cleanup 2020-08-11 11:26:22 -07:00
software updates to btests to support switch to expression-based initialization 2022-03-23 15:36:35 -07:00
storage Redis: return proper error if connection fails 2025-05-23 12:13:13 -07:00
sumstats btest/frameworks/sumstats: Use generic cluster-layout.zeek 2025-05-20 20:30:01 +02:00
telemetry testing/btest/*zeek: Comment all @TEST lines 2025-04-17 16:30:23 +02:00