mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
Convert some redef-able constants to runtime options
This commit is contained in:
parent
0e6913fba0
commit
dc0904a7f3
20 changed files with 37 additions and 37 deletions
|
@ -16,7 +16,7 @@ export {
|
|||
};
|
||||
|
||||
## Size of the packet segment to display in the DPD log.
|
||||
const packet_segment_size: int = 255 &redef;
|
||||
option packet_segment_size: int = 255;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ export {
|
|||
## A/V engines. Team Cymru returns a percentage to indicate how
|
||||
## many A/V engines flagged the sample as malicious. This threshold
|
||||
## allows you to require a minimum detection rate.
|
||||
const notice_threshold = 10 &redef;
|
||||
option notice_threshold = 10;
|
||||
}
|
||||
|
||||
function do_mhr_lookup(hash: string, fi: Notice::FileInfo)
|
||||
|
|
|
@ -19,7 +19,7 @@ export {
|
|||
## Some software is more interesting when the version changes and this
|
||||
## is a set of all software that should raise a notice when a different
|
||||
## version is seen on a host.
|
||||
const interesting_version_changes: set[string] = { } &redef;
|
||||
option interesting_version_changes: set[string] = {};
|
||||
}
|
||||
|
||||
event Software::version_change(old: Software::Info, new: Software::Info)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue