mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

- policy/frameworks/intel/seen is the new location for the scripts that push data into the intel framework for checking. - The new policy/frameworks/intel/do_notice script adds an example mechanism for data driven notices.
12 lines
353 B
Text
12 lines
353 B
Text
@load base/frameworks/intel
|
|
@load base/protocols/http/utils
|
|
@load ./where-locations
|
|
|
|
event http_message_done(c: connection, is_orig: bool, stat: http_message_stat)
|
|
{
|
|
if ( is_orig && c?$http )
|
|
Intel::seen([$indicator=HTTP::build_url(c$http),
|
|
$indicator_type=Intel::URL,
|
|
$conn=c,
|
|
$where=HTTP::IN_URL]);
|
|
}
|