mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
Workaround type ambiguity w/ default record field.
This commit is contained in:
parent
aed9943c95
commit
a9a245e017
1 changed files with 3 additions and 1 deletions
|
@ -41,6 +41,8 @@ export {
|
||||||
ACTION_ALARM,
|
ACTION_ALARM,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
type ActionSet: set[Notice::Action];
|
||||||
|
|
||||||
## The notice framework is able to do automatic notice supression by
|
## The notice framework is able to do automatic notice supression by
|
||||||
## utilizing the $identifier field in :bro:type:`Notice::Info` records.
|
## utilizing the $identifier field in :bro:type:`Notice::Info` records.
|
||||||
## Set this to "0secs" to completely disable automated notice suppression.
|
## Set this to "0secs" to completely disable automated notice suppression.
|
||||||
|
@ -113,7 +115,7 @@ export {
|
||||||
peer_descr: string &log &optional;
|
peer_descr: string &log &optional;
|
||||||
|
|
||||||
## The actions which have been applied to this notice.
|
## The actions which have been applied to this notice.
|
||||||
actions: set[Notice::Action] &log &default=set();
|
actions: ActionSet &log &default=ActionSet();
|
||||||
|
|
||||||
## By adding chunks of text into this element, other scripts can
|
## By adding chunks of text into this element, other scripts can
|
||||||
## expand on notices that are being emailed. The normal way to add text
|
## expand on notices that are being emailed. The normal way to add text
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue