mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Include Notice Policy shortcuts in the Scripting User Manual.
Include two tests and baselines for the RST output.
This commit is contained in:
parent
59405af804
commit
cb3e05edd4
5 changed files with 51 additions and 0 deletions
11
testing/btest/doc/manual/framework_notice_shortcuts_01.bro
Normal file
11
testing/btest/doc/manual/framework_notice_shortcuts_01.bro
Normal file
|
@ -0,0 +1,11 @@
|
|||
# @TEST-EXEC: bro %INPUT
|
||||
# @TEST-EXEC: btest-diff .stdout
|
||||
|
||||
@load policy/protocols/ssh/interesting-hostnames.bro
|
||||
@load base/protocols/ssh/
|
||||
|
||||
redef Notice::emailed_types += {
|
||||
SSH::Interesting_Hostname_Login,
|
||||
SSH::Login
|
||||
};
|
||||
|
10
testing/btest/doc/manual/framework_notice_shortcuts_02.bro
Normal file
10
testing/btest/doc/manual/framework_notice_shortcuts_02.bro
Normal file
|
@ -0,0 +1,10 @@
|
|||
# @TEST-EXEC: bro %INPUT
|
||||
# @TEST-EXEC: btest-diff .stdout
|
||||
|
||||
@load policy/protocols/ssh/interesting-hostnames.bro
|
||||
@load base/protocols/ssh/
|
||||
|
||||
redef Notice::type_suppression_intervals += {
|
||||
[SSH::Interesting_Hostname_Login] = 1day,
|
||||
[SSH::Login] = 12hrs,
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue