Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use consistent zeek_init priority for Log::create_stream calls #746

Merged
merged 1 commit into from Jan 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/base/frameworks/signatures/main.zeek
Expand Up @@ -140,7 +140,7 @@ global count_per_orig: table[addr, string] of count
global did_sig_log: set[string] &read_expire = 1 hr;


event zeek_init()
event zeek_init() &priority=5
{
Log::create_stream(Signatures::LOG, [$columns=Info, $ev=log_signature, $path="signatures"]);
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/policy/files/x509/log-ocsp.zeek
Expand Up @@ -39,7 +39,7 @@ export {
global log_ocsp: event(rec: Info);
}

event zeek_init()
event zeek_init() &priority=5
{
Log::create_stream(LOG, [$columns=Info, $ev=log_ocsp, $path="ocsp"]);
Files::register_for_mime_type(Files::ANALYZER_OCSP_REPLY, "application/ocsp-response");
Expand Down
2 changes: 1 addition & 1 deletion scripts/policy/protocols/conn/known-hosts.zeek
Expand Up @@ -145,7 +145,7 @@ event Known::host_found(info: HostsInfo)
event known_host_add(info);
}

event zeek_init()
event zeek_init() &priority=5
{
Log::create_stream(Known::HOSTS_LOG, [$columns=HostsInfo, $ev=log_known_hosts, $path="known_hosts"]);
}
Expand Down