mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +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
334 B
Text
12 lines
334 B
Text
@load base/frameworks/intel
|
|
@load ./where-locations
|
|
|
|
event http_header(c: connection, is_orig: bool, name: string, value: string)
|
|
{
|
|
if ( is_orig && name == "USER-AGENT" )
|
|
Intel::seen([$indicator=value,
|
|
$indicator_type=Intel::SOFTWARE,
|
|
$conn=c,
|
|
$where=HTTP::IN_USER_AGENT_HEADER]);
|
|
}
|
|
|