mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
A few more small fixes.
This commit is contained in:
parent
f31de38c9b
commit
ed36f37643
3 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@ export {
|
|||
};
|
||||
|
||||
## The frequency of logging the stats collected by this script.
|
||||
const break_interval = 1min &redef;
|
||||
const break_interval = 15mins &redef;
|
||||
}
|
||||
|
||||
function app_metrics_rollup(index: Metrics::Index, vals: table[string, string] of Metrics::ResultVal)
|
||||
|
|
|
@ -34,7 +34,7 @@ export {
|
|||
## Interval at which to watch for the
|
||||
## :bro:id:`ICMPTimeExceeded::icmp_time_exceeded_threshold` variable to be crossed.
|
||||
## At the end of each interval the counter is reset.
|
||||
const icmp_time_exceeded_interval = 1min &redef;
|
||||
const icmp_time_exceeded_interval = 3min &redef;
|
||||
|
||||
## The log record for the traceroute log.
|
||||
type Info: record {
|
||||
|
|
|
@ -74,7 +74,7 @@ event bro_init() &priority=3
|
|||
$email_body_sections=vector(format_sqli_samples(val$samples)),
|
||||
$src=index$host,
|
||||
$identifier=cat(index$host)]);
|
||||
}, $log=F]);
|
||||
}]);
|
||||
|
||||
Metrics::add_filter("http.sqli.victim",
|
||||
[$every=sqli_requests_interval,
|
||||
|
@ -87,7 +87,7 @@ event bro_init() &priority=3
|
|||
$email_body_sections=vector(format_sqli_samples(val$samples)),
|
||||
$src=index$host,
|
||||
$identifier=cat(index$host)]);
|
||||
}, $log=F]);
|
||||
}]);
|
||||
}
|
||||
|
||||
event http_request(c: connection, method: string, original_URI: string,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue