mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Update files
This commit is contained in:
@@ -1 +1,13 @@
|
|||||||
# Placeholder
|
hook Files::log_policy(rec: Files::Info, id: Log::ID, filter: Log::Filter)
|
||||||
|
{
|
||||||
|
# Turn off a specific mimetype
|
||||||
|
if (rec?$mime_type && ( /soap+xml/ | /json/ | /xml/ | /x509/ )in rec$mime_type)
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
event zeek_init()
|
||||||
|
{
|
||||||
|
Log::remove_default_filter(Files::LOG);
|
||||||
|
local filter: Log::Filter = [$name="files-filter"];
|
||||||
|
Log::add_filter(Files::LOG, filter);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user