mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Coverage test fixes and whitespace/doc tweaks.
This commit is contained in:
parent
ca5abbf13a
commit
325f0c2a3f
4 changed files with 42 additions and 40 deletions
|
@ -164,9 +164,12 @@ rest_target(${psd} base/protocols/ssl/main.bro)
|
||||||
rest_target(${psd} base/protocols/ssl/mozilla-ca-list.bro)
|
rest_target(${psd} base/protocols/ssl/mozilla-ca-list.bro)
|
||||||
rest_target(${psd} base/protocols/syslog/consts.bro)
|
rest_target(${psd} base/protocols/syslog/consts.bro)
|
||||||
rest_target(${psd} base/protocols/syslog/main.bro)
|
rest_target(${psd} base/protocols/syslog/main.bro)
|
||||||
|
rest_target(${psd} base/utils/active-http.bro)
|
||||||
rest_target(${psd} base/utils/addrs.bro)
|
rest_target(${psd} base/utils/addrs.bro)
|
||||||
rest_target(${psd} base/utils/conn-ids.bro)
|
rest_target(${psd} base/utils/conn-ids.bro)
|
||||||
|
rest_target(${psd} base/utils/dir.bro)
|
||||||
rest_target(${psd} base/utils/directions-and-hosts.bro)
|
rest_target(${psd} base/utils/directions-and-hosts.bro)
|
||||||
|
rest_target(${psd} base/utils/exec.bro)
|
||||||
rest_target(${psd} base/utils/files.bro)
|
rest_target(${psd} base/utils/files.bro)
|
||||||
rest_target(${psd} base/utils/numbers.bro)
|
rest_target(${psd} base/utils/numbers.bro)
|
||||||
rest_target(${psd} base/utils/paths.bro)
|
rest_target(${psd} base/utils/paths.bro)
|
||||||
|
|
|
@ -15,7 +15,7 @@ export {
|
||||||
type Response: record {
|
type Response: record {
|
||||||
## Numeric response code from the server.
|
## Numeric response code from the server.
|
||||||
code: count;
|
code: count;
|
||||||
## String response messgae from the server.
|
## String response message from the server.
|
||||||
msg: string;
|
msg: string;
|
||||||
## Full body of the response.
|
## Full body of the response.
|
||||||
body: string &optional;
|
body: string &optional;
|
||||||
|
@ -29,7 +29,7 @@ export {
|
||||||
## The HTTP method/verb to use for the request.
|
## The HTTP method/verb to use for the request.
|
||||||
method: string &default=default_method;
|
method: string &default=default_method;
|
||||||
## Data to send to the server in the client body. Keep in
|
## Data to send to the server in the client body. Keep in
|
||||||
## mind that you will probably need to set the $method field
|
## mind that you will probably need to set the *method* field
|
||||||
## to "POST" or "PUT".
|
## to "POST" or "PUT".
|
||||||
client_data: string &optional;
|
client_data: string &optional;
|
||||||
## Arbitrary headers to pass to the server. Some headers
|
## Arbitrary headers to pass to the server. Some headers
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
##! A module for executing external command line programs.
|
##! A module for executing external command line programs.
|
||||||
##! This requires code that is still in topic branches and
|
|
||||||
##! definitely won't currently work on any released version of Bro.
|
|
||||||
|
|
||||||
@load base/frameworks/input
|
@load base/frameworks/input
|
||||||
|
|
||||||
|
@ -8,15 +6,13 @@ module Exec;
|
||||||
|
|
||||||
export {
|
export {
|
||||||
type Command: record {
|
type Command: record {
|
||||||
## The command line to execute.
|
## The command line to execute. Use care to avoid injection attacks.
|
||||||
## Use care to avoid injection attacks!
|
## I.e. if the command uses untrusted/variable data, sanitize it.
|
||||||
cmd: string;
|
cmd: string;
|
||||||
## Provide standard in to the program as a
|
## Provide standard in to the program as a string.
|
||||||
## string.
|
|
||||||
stdin: string &default="";
|
stdin: string &default="";
|
||||||
## If additional files are required to be read
|
## If additional files are required to be read in as part of the output
|
||||||
## in as part of the output of the command they
|
## of the command they can be defined here.
|
||||||
## can be defined here.
|
|
||||||
read_files: set[string] &optional;
|
read_files: set[string] &optional;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#empty_field (empty)
|
#empty_field (empty)
|
||||||
#unset_field -
|
#unset_field -
|
||||||
#path loaded_scripts
|
#path loaded_scripts
|
||||||
#open 2013-07-10-21-18-31
|
#open 2013-07-22-16-01-22
|
||||||
#fields name
|
#fields name
|
||||||
#types string
|
#types string
|
||||||
scripts/base/init-bare.bro
|
scripts/base/init-bare.bro
|
||||||
|
@ -90,12 +90,17 @@ scripts/base/init-bare.bro
|
||||||
scripts/base/init-default.bro
|
scripts/base/init-default.bro
|
||||||
scripts/base/utils/site.bro
|
scripts/base/utils/site.bro
|
||||||
scripts/base/utils/patterns.bro
|
scripts/base/utils/patterns.bro
|
||||||
|
scripts/base/utils/active-http.bro
|
||||||
|
scripts/base/utils/exec.bro
|
||||||
scripts/base/utils/addrs.bro
|
scripts/base/utils/addrs.bro
|
||||||
scripts/base/utils/conn-ids.bro
|
scripts/base/utils/conn-ids.bro
|
||||||
|
scripts/base/utils/dir.bro
|
||||||
|
scripts/base/frameworks/reporter/__load__.bro
|
||||||
|
scripts/base/frameworks/reporter/main.bro
|
||||||
|
scripts/base/utils/paths.bro
|
||||||
scripts/base/utils/directions-and-hosts.bro
|
scripts/base/utils/directions-and-hosts.bro
|
||||||
scripts/base/utils/files.bro
|
scripts/base/utils/files.bro
|
||||||
scripts/base/utils/numbers.bro
|
scripts/base/utils/numbers.bro
|
||||||
scripts/base/utils/paths.bro
|
|
||||||
scripts/base/utils/queue.bro
|
scripts/base/utils/queue.bro
|
||||||
scripts/base/utils/strings.bro
|
scripts/base/utils/strings.bro
|
||||||
scripts/base/utils/thresholds.bro
|
scripts/base/utils/thresholds.bro
|
||||||
|
@ -129,8 +134,6 @@ scripts/base/init-default.bro
|
||||||
scripts/base/frameworks/intel/__load__.bro
|
scripts/base/frameworks/intel/__load__.bro
|
||||||
scripts/base/frameworks/intel/main.bro
|
scripts/base/frameworks/intel/main.bro
|
||||||
scripts/base/frameworks/intel/input.bro
|
scripts/base/frameworks/intel/input.bro
|
||||||
scripts/base/frameworks/reporter/__load__.bro
|
|
||||||
scripts/base/frameworks/reporter/main.bro
|
|
||||||
scripts/base/frameworks/sumstats/__load__.bro
|
scripts/base/frameworks/sumstats/__load__.bro
|
||||||
scripts/base/frameworks/sumstats/main.bro
|
scripts/base/frameworks/sumstats/main.bro
|
||||||
scripts/base/frameworks/sumstats/plugins/__load__.bro
|
scripts/base/frameworks/sumstats/plugins/__load__.bro
|
||||||
|
@ -195,4 +198,4 @@ scripts/base/init-default.bro
|
||||||
scripts/base/protocols/tunnels/__load__.bro
|
scripts/base/protocols/tunnels/__load__.bro
|
||||||
scripts/base/misc/find-checksum-offloading.bro
|
scripts/base/misc/find-checksum-offloading.bro
|
||||||
scripts/policy/misc/loaded-scripts.bro
|
scripts/policy/misc/loaded-scripts.bro
|
||||||
#close 2013-07-10-21-18-31
|
#close 2013-07-22-16-01-22
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue