mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Move spicy/misc
scripts to policy and clarify purpose.
This commit is contained in:
parent
a62e153dd3
commit
ecf00295c2
6 changed files with 12 additions and 4 deletions
|
@ -23,7 +23,8 @@ export {
|
||||||
# doc-options-end
|
# doc-options-end
|
||||||
|
|
||||||
# doc-types-start
|
# doc-types-start
|
||||||
## Result type for `Spicy::resource_usage()`.
|
## Result type for `Spicy::resource_usage()`. The values reflect resource
|
||||||
|
## usage as reported by the Spicy runtime system.
|
||||||
type ResourceUsage: record {
|
type ResourceUsage: record {
|
||||||
user_time : interval; ##< user CPU time of the Zeek process
|
user_time : interval; ##< user CPU time of the Zeek process
|
||||||
system_time :interval; ##< system CPU time of the Zeek process
|
system_time :interval; ##< system CPU time of the Zeek process
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Saves all input traffic in Spicy's batch format.
|
##! Saves all input traffic in Spicy's batch format.
|
||||||
|
|
||||||
module SpicyBatch;
|
module SpicyBatch;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
##! Logs Spicy-related resource usage continously for debugging purposes.
|
||||||
|
|
||||||
module Spicy;
|
module Spicy;
|
||||||
|
|
||||||
event print_usage()
|
event print_usage()
|
|
@ -72,6 +72,8 @@
|
||||||
@load frameworks/packet-filter/shunt.zeek
|
@load frameworks/packet-filter/shunt.zeek
|
||||||
@load frameworks/software/version-changes.zeek
|
@load frameworks/software/version-changes.zeek
|
||||||
@load frameworks/software/vulnerable.zeek
|
@load frameworks/software/vulnerable.zeek
|
||||||
|
# @load frameworks/spicy/record-spicy-batch.zeek
|
||||||
|
# @load frameworks/spicy/resource-usage.zeek
|
||||||
@load frameworks/software/windows-version-detection.zeek
|
@load frameworks/software/windows-version-detection.zeek
|
||||||
@load frameworks/telemetry/log.zeek
|
@load frameworks/telemetry/log.zeek
|
||||||
@load integration/collective-intel/__load__.zeek
|
@load integration/collective-intel/__load__.zeek
|
||||||
|
|
|
@ -13,6 +13,11 @@
|
||||||
@load policy/misc/dump-events.zeek
|
@load policy/misc/dump-events.zeek
|
||||||
@load policy/protocols/conn/speculative-service.zeek
|
@load policy/protocols/conn/speculative-service.zeek
|
||||||
|
|
||||||
|
@if ( have_spicy() )
|
||||||
|
@load frameworks/spicy/record-spicy-batch.zeek
|
||||||
|
@load frameworks/spicy/resource-usage.zeek
|
||||||
|
@endif
|
||||||
|
|
||||||
@load ./example.zeek
|
@load ./example.zeek
|
||||||
|
|
||||||
event zeek_init()
|
event zeek_init()
|
||||||
|
|
|
@ -10,8 +10,6 @@
|
||||||
-./frameworks/netcontrol/cluster.zeek
|
-./frameworks/netcontrol/cluster.zeek
|
||||||
-./frameworks/openflow/cluster.zeek
|
-./frameworks/openflow/cluster.zeek
|
||||||
-./frameworks/packet-filter/cluster.zeek
|
-./frameworks/packet-filter/cluster.zeek
|
||||||
-./frameworks/spicy/misc/record-spicy-batch.zeek
|
|
||||||
-./frameworks/spicy/misc/resource-usage.zeek
|
|
||||||
-./frameworks/sumstats/cluster.zeek
|
-./frameworks/sumstats/cluster.zeek
|
||||||
-./frameworks/telemetry/cluster.zeek
|
-./frameworks/telemetry/cluster.zeek
|
||||||
-./init-supervisor.zeek
|
-./init-supervisor.zeek
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue